Establish a connection to the equipment., demo=None)[source]

Factory function to establish a connection to the equipment.

  • record (EquipmentRecord) – A record from an Equipment-Register Database.

  • demo (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.

    If None then the demo value is determined from the DEMO_MODE attribute.


A Connection subclass. str) Interface[source]

Find the interface for address.


address – The address of a ConnectionRecord.