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:
ConnectionBase class for equipment that use the SDK provided by the manufacturer for the connection.
The
backendvalue must be equal toMSLto 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. SeeLoadLibraryfor more information.path (
str, optional) – The path to the SDK (if record.connection.address does not contain this information).
- Raises: