AFL.automation.loading.CetoniMultiPosValve#

Classes

CetoniMultiPosValve(parentpump[, portlabels])

FlowSelector()

class AFL.automation.loading.CetoniMultiPosValve.CetoniMultiPosValve(parentpump, portlabels={})[source]#
__init__(parentpump, portlabels={})[source]#

connect to valve and query the number of positions

Parameters:
  • to (port - string describing the serial port the actuator is connected)

  • use (baud - baudrate to)

  • naming (portlabels - dict for smart port) – 3,’instrument’:4,’rinse’:5,’waste’:6}

  • {'sample' (of the form) – 3,’instrument’:4,’rinse’:5,’waste’:6}

selectPort(port, direction=None)[source]#

moves the selector to portnum

if direction is set to either “CW” or “CCW” it moves the actuator in that direction. if unset or other value, will move via most efficient route.

getPort(as_str=False)[source]#

query the current selected position