AFL.automation.loading.LabJackDigitalOut#
Classes
|
|
|
- class AFL.automation.loading.LabJackDigitalOut.LabJackDigitalOut(devicetype='ANY', connection='ANY', deviceident='ANY', port_to_write='DAC0', polling_rate=200, shared_device=None, intermittent_device_handle=False)[source]#
- __init__(devicetype='ANY', connection='ANY', deviceident='ANY', port_to_write='DAC0', polling_rate=200, shared_device=None, intermittent_device_handle=False)[source]#
Initialize a LabJack connection
Params:
devicetype (str): series/type of LJ to connect to “T4” “T7” etc. connection (str): “ANY”, “USB”, “TCP”, “ETHERNET”, or “WIFI” deviceident (str): serial number OR IP OR device name OR “ANY” port_to_write (str): LabJack port for device shared_device (LabJack class): device to share the handle of intermittent_device_handle (bool): if True, closes the device on each communication. not compatible with shared_device