Establish a connection to the equipment.
- msl.equipment.factory.connect(record, demo=None)[source]
Factory function to establish a connection to the equipment.
EquipmentRecord) – A record from an Equipment-Register Database.
bool, optional) –
Whether to simulate a connection to the equipment by opening a connection in demo mode. This allows you to test your code if the equipment is not physically connected to a computer.
Nonethen the demo value is determined from the
Find the interface enum.
str) – The address of a
constants.Interface– The interface to use for address.