p5control.drivers.keysight34461A
Driver for KEYSIGHT 34461A Digit Multimeter
- class p5control.drivers.keysight34461A.Keysight34461A(name: str, address: str, refresh_delay: float = 0.5)
Bases:
ThreadSafeBaseDriverDriver for the Keysight34461A. Since it is MessageBased, we can use much of the BaseDriver class.
- open()
Open connection to the device.
Overwritten to add the termination characters and reset the device after it has been connected.
- setup_measuring()
Setup the device prior to measurement, for example the rate of acquisition etc…
- start_measuring()
Start the measurement
- get_data()
Request data from the device and process it. This can for example include the creation of time stamps for the corresponding time points.
- _save_data(hdf5_path, array, dgw)
save data and set attributes for default values for buffers.
- stop_measuring()
In this method, write the commands necessary to restore the original state of the device after a measurement has been completed.