def setSystemPressure(self, sysP, target, decrement): # SET SYSTEM PRESSURE - BPR caput("BL11I-EA-GIR-01:BPR:SETPOINT:WR", target) while sysP > target: #final system pressure in bar target -= decrement #increments in bar caput("BL11I-EA-GIR-01:BPR:SETPOINT:WR", target) sleep(7) #sleep time in seconds
def setSystemPressure(self, sysP,target,flow): #SET STARTING SAMPLE PRESSURE caput("BL11I-EA-GIR-01:DVPC:SETPOINT:WR", sysP) caput("BL11I-EA-GIR-01:MFC1:SETPOINT:WR", flow) caput("BL11I-EA-GIR-01:BPR:SETPOINT:WR", target) self.waitForGreaterThan(target) caput("BL11I-EA-GIR-01:MFC1:SETPOINT:WR", 0)
def setSamplePressure(self, SampleP, target, decrement): # SET FINAL SAMPLE PRESSURE AND INCREMENTS - DVPC while SampleP > target: #final sample pressure in bar SampleP -= decrement #increments in bar caput("BL11I-EA-GIR-01:DVPC:SETPOINT:WR", SampleP) sleep(2) #sleep time in seconds
def setSamplePressure(self,SampleP, target, increment): # SET FINAL SAMPLE PRESSURE AND INCREMENTS while SampleP <= target: #final sample pressure in bar SampleP += increment #increments in bar caput("BL11I-EA-GIR-01:DVPC:SETPOINT:WR", SampleP) sleep(5) #wait time in seconds