herosdevices.core.templates.visa¶
Templates for devices connected via a visa interface.
Module Contents¶
- class herosdevices.core.templates.visa.VisaDeviceTemplate(resource: str, keep_alive: bool = True, **kwargs)[source]¶
Template (base class) for devices which are controlled or read out through a visa interface.
The interface must be accessible by pyvisa via TCP/IP.
Inheriting your device driver from this class allows to use herosdevices.core.DeviceCommandQuantity to define the serial commands within your device driver class.
- resource¶
- connection¶