devices.visadevice:VisaDevice
The VISA device class of matr1x.
Usage
devices.visadevice:VisaDevice(
interface,
cmdpers=None,
**kwargs,
)Note: Do NOT implement new devices based on this class. Use pymeasure Instrument instead. Pull requests with new devices will not be merged in the future.
The connection is established upon initialization and closed by the close method, after which the device can be reinitialized even within the same Python process.
Parameters
interface: str-
The used interface as VISA address, e.g. ‘TCPIP::192.98.143.1::5025::SOCKET’.
cmdpers: int = None-
Maximum amount of commands to be sent per second. If None (default), no limit is imposed.
**kwargs: dict-
- pts : bool Print read and written strings to the console (debugging).
- visadebug : bool Enable the output of debugging information from pyVISA.
- All other kwargs are passed to the VISA resource connection, e.g. write_termination, read_termination, timeout, query_delay, baud_rate, data_bits, stop_bits, parity, flow_control.
Attributes
interface: str-
The used interface.
connection: pyVISA resource- The pyVISA resource used for communication with the device.