def Command(self): valves.vars['pump/pressure'].Set('closed') valves.vars['pressure'].Set('closed') valves.vars['anions liquids'].Set(anionsBGE) valves.vars['cations liquids'].Set(cationsBGE) spellmanMinus.vars['I'].Set(spellmanMinus.vars['I'].range[1]) spellmanPlus.vars['I'].Set(spellmanPlus.vars['I'].range[1]) spellmanMinus.vars['enable'].Set('on') spellmanPlus.vars['enable'].Set('on') ecorder.vars['trigger'].Set('on') spellmanMinus.vars['V'].Set(self.kVoltsMinus.Get()) spellmanPlus.vars['V'].Set(self.kVoltsPlus.Get()) cfg.Sleep(self.seconds.Get()) spellmanMinus.vars['V'].Set(0) spellmanPlus.vars['V'].Set(0) ecorder.vars['trigger'].Set('off') spellmanMinus.vars['enable'].Set('off') spellmanPlus.vars['enable'].Set('off') spellmanMinus.vars['I'].Set(0) spellmanPlus.vars['I'].Set(0)
def Command(self): # Connect container to pressure controller valves.vars['V1'].Set(valvePortPressure) # Start pressure pressureController.vars['P'].Set(self.psi.Get()) # Wait some time cfg.Sleep(self.seconds.Get()) # Close container valves.vars['V1'].Set('closed')
def Command(self): # Set pins analPins.vars['A'].Set(self.pinA.Get()) analPins.vars['B'].Set(self.pinB.Get()) # Wait some time cfg.Sleep(self.seconds.Get()) # Zero pins analPins.vars['A'].Set(0) analPins.vars['B'].Set(0)
def Command(self): mfc1.vars['Flow'].Set(self.flow1.Get()) mfc2.vars['Flow'].Set(self.flow2.Get()) mfc3.vars['Flow'].Set(self.flow3.Get()) mfc4.vars['Flow'].Set(self.flow4.Get()) cfg.Sleep(self.seconds.Get()) mfc1.vars['Flow'].Set(0) mfc2.vars['Flow'].Set(0) mfc3.vars['Flow'].Set(0) mfc4.vars['Flow'].Set(0)
def Command(self): # Stop pressure pressureController.vars['P'].Set(0) # Connect container to pressure controller valves.vars['V1'].Set(valvePortExhaust) # Wait some time cfg.Sleep(2) # Close container valves.vars['V1'].Set('closed')
def Command(self): valves.vars['anions liquids'].Set('closed') valves.vars['cations liquids'].Set('closed') valves.vars['pressure'].Set(pressureVenting) valves.vars['pump/pressure'].Set(pressureToInterfaces) valves.vars['pressure'].Set(pressureOn) if self.trigger.Get(): ecorder.vars['trigger'].Set('on') setPressure(self.prs.Get()) cfg.Sleep(self.seconds.Get()) pressureController.vars['P'].Set(0) print 0 if self.trigger.Get(): ecorder.vars['trigger'].Set('off') valves.vars['pressure'].Set(pressureVenting) valves.vars['pump/pressure'].Set(pumpToInterfaces) valves.vars['pressure'].Set('closed')
def TriggerPulse(self): self.vars['trigger'].Set('on') cfg.Sleep(0.01) self.vars['trigger'].Set('off')
def Pause(self, value): if value == 'off': cfg.Sleep(1)
def Command(self): cfg.Sleep(self.seconds.Get())