autosweep.instruments.AbsInstrument#
- class autosweep.instruments.AbsInstrument(com)[source]#
The base class for every instrument that is managed by the instrument manager. Every instrument driver should derive from this base class.
- __init__(com)[source]#
- Parameters:
com – An instance of an object which can send commands and receive data from the instrument
Methods
__init__
(com)- param com:
An instance of an object which can send commands and receive data from the instrument
close
()Closes the instrument's communication port.
get_idn
()Queries the instrument using "*IDN?" for it's identifying string
Attributes
idn
The "*IDN?" string of the instrument or equivalent