Update of SharpHamilton: use C# to control STAR

  • Add sequence and sequence supporting in SharpHamilton, now we can write code like venus style.
  • Add git supporting and diff view for RosylnPad, with which we can write simple C# script to control STAR/STARlet/STARplus. Also we can use WinForm/WPF or nuget to achieve more functions.
var tip = ML_STAR.Deck.GetSequence("Tip1");
var rgt = ML_STAR.Deck.GetSequence("Reagent1");
var plate1 = ML_STAR.Deck.GetSequence("Plate1");
var plate2 = ML_STAR.Deck.GetSequence("Plate2");

plate1.End=37;
ML_STAR.Channel.PickupTip(tip);
while(plate1.Current>0)
{
    ML_STAR.Channel.Aspirate(rgt, 100, parameter, autoCounting:false);
    ML_STAR.Channel.Dispense(plate1,100, dparameter);
}
ML_STAR.Channel.EjectTip();

plate1.Current=1;
while (plate1.Current > 0)
{
    ML_STAR.Channel.PickupTip(tip);
    ML_STAR.Channel.Aspirate(plate1, 100, parameter);
    ML_STAR.Channel.Dispense(plate2, 100, dparameter);
    ML_STAR.Channel.EjectTip();
}

4 Likes

Update for smart steps. We add some smart steps to SharpHamilton, with which we can write complex operation, including simple (1 to 1), replicate (1 to n), pool (n to 1) and aliquot.

ML_STAR.Aliquot(rgt, plate1, 100, parameter, dparameter, tip, "11");
ML_STAR.Simple(plate1, plate2, 100, parameter, dparameter, tip);

I uploaded the RoslynPad editor to github, you can download it and try it.

2 Likes

put everything together, C# script editor, sequence, smart step and 3D simulation.

6 Likes