AFL.automation.loading.PneumaticPressureSampleCell#
Classes
|
|
|
Class for a sample cell consisting of a push-through, pneumatically-closed sample loader. |
|
|
|
defaultdict(default_factory=None, /, [...]) --> dict with default factory |
- class AFL.automation.loading.PneumaticPressureSampleCell.PneumaticPressureSampleCell(pctrl, relayboard, digitalin=None, rinse1_tank_level=950, rinse2_tank_level=950, waste_tank_level=0, load_stopper=None, robot_interlock_host=None, overrides=None)[source]#
Class for a sample cell consisting of a push-through, pneumatically-closed sample loader.
Driven by a variable-pressure regulator.
- defaults = {'arm_move_delay': 0.2, 'blowout_pressure': 20, 'external_load_complete_trigger': False, 'load_mode': 'static', 'load_pressure': 2, 'load_timeout': 60, 'ramp_load_duration': 20, 'ramp_load_stop_pressure': 7, 'rinse_program': [('rinse1', 5), (None, 2), ('rinse2', 5), ('blow', 5), (None, 0.5), ('blow', 5)], 'vent_delay': 0.5}#
- __init__(pctrl, relayboard, digitalin=None, rinse1_tank_level=950, rinse2_tank_level=950, waste_tank_level=0, load_stopper=None, robot_interlock_host=None, overrides=None)[source]#
- pctrl: a pressurecontroller object supporting the set_P method() and the optional p_ramp() method.
e.g. pctrl = DigitalOutPressureController(LabJackDigitalOut(…))
- relayboard: a relay board object supporting string-based setChannels() method
required channels are ‘arm-up’,’arm-down’, ‘rinse1’,’rinse2’,’blow’,’enable’,’piston-vent’,’postsample’ e.g. selector = SainSmartRelay(port,portlabels={‘catch’:1,’cell’:2,’rinse’:3,’waste’:4,’air’:5})
- property app#
- property data#
- loadSample(cellname='cell', sampleVolume=None, load_dest_label='')[source]#
Load a sample into the cell
Params cellname and sampleVolume are kept for backward compat, but are deprecated and unused.
- advanceSample(load_dest_label='')[source]#
Move a sample from one measurement cell to the next
- Params:
- load_dest_label (str, default ‘’): a ‘destination label’ for this load.
labeled sensors will only stop the load if their name is in this destination label. example:
sensor 1 labeled ‘afterSANS’ sensor 2 labeled ‘beforeSPEC’ sensor 3 labeled ‘’ (default)
advanceSample(load_dest_label=’afterSANS’) –> sensor 1 or sensor 3 can stop it advanceSample(load_dest_label=’beforeSPEC afterSANS’) –> sensor 1, sensor 2, or sensor 3 can stop it advanceSample(load_dest_label=’’) –> only sensor 3 can stop it