AFL.automation.loading.ChemyxSyringePump#
This is largely duplicated from the reference code provided by Chemyx. Their package is a GUI and direct import of the module would be problematic.
Functions
|
On macOS and Linux, selects only usbserial options and parses the 8 character serial number. |
Classes
|
|
|
|
|
- class AFL.automation.loading.ChemyxSyringePump.ChemyxSyringePump(port, syringe_id_mm, syringe_volume, baud=9600, flow_delay=5)[source]#
- __init__(port, syringe_id_mm, syringe_volume, baud=9600, flow_delay=5)[source]#
Initializes and verifies connection to a Chemyx syringe pump.
port = serial port reference
- syringe_id_mm = syringe inner diameter in mm, used for absolute volume.
(will re-program the pump with this diameter on connection)
syringe_volume = syringe volume in mL
baud = baudrate for connection
- wait_dosage_finished(timeout_seconds=60)[source]#
The function waits until the last dosage command has finished until the timeout occurs.
- blockUntilStatusStopped(pollingdelay=0.2)[source]#
This is a deprecated function from old serial logic. It should work, but do not use.
- AFL.automation.loading.ChemyxSyringePump.parsePortName(portinfo)[source]#
On macOS and Linux, selects only usbserial options and parses the 8 character serial number.