msl.equipment.connection_sdk module
Base class for equipment that use the SDK provided by the manufacturer for the connection.
- class msl.equipment.connection_sdk.ConnectionSDK(record, libtype, path=None)[source]
Bases:
Connection
Base class for equipment that use the SDK provided by the manufacturer for the connection.
The
backend
value must be equal toMSL
to use this class for the communication system. This is achieved by setting the value in the Backend field for a connection record in the Connections Database to beMSL
.Do not instantiate this class directly. Use the
connect()
method to connect to the equipment.- Parameters:
record (
EquipmentRecord
) – A record from an Equipment-Register Database.libtype (
str
) – The library type. SeeLoadLibrary
for more information.path (
str
, optional) – The path to the SDK (if record.connection.address does not contain this information).
- Raises: