msl.equipment.constants module

MSL-Equipment constants.

class msl.equipment.constants.Backend(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

The software backend to use for the communication system.

UNKNOWN = 0
MSL = 1
PyVISA = 2
NIDAQ = 3
class msl.equipment.constants.Interface(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

The interface to use for the communication system that transfers data between a computer and the equipment. Only used if Backend.MSL is chosen as the backend.

NONE = 0
SDK = 1
SERIAL = 2
SOCKET = 3
PROLOGIX = 4
TCPIP_VXI11 = 5
TCPIP_HISLIP = 6
ZMQ = 7
GPIB = 8
class msl.equipment.constants.Parity(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

The parity type to use for Serial communication.

NONE = 'N'
ODD = 'O'
EVEN = 'E'
MARK = 'M'
SPACE = 'S'
class msl.equipment.constants.StopBits(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

The number of stop bits to use for Serial communication.

ONE = 1
ONE_POINT_FIVE = 1.5
TWO = 2
class msl.equipment.constants.DataBits(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

The number of data bits to use for Serial communication.

FIVE = 5
SIX = 6
SEVEN = 7
EIGHT = 8