photons.equipment.dmm_3458A module
Keysight 3458A digital multimeter.
- class photons.equipment.dmm_3458A.Keysight3458A(record, **kwargs)[source]
Bases:
DMMKeysight 3458A digital multimeter.
- Parameters:
record (
EquipmentRecord) – The equipment record.**kwargs – Keyword arguments. Can be specified as attributes of an XML element in a configuration file (with the tag of the element equal to the alias of record).
- check_errors()[source]
Query the error queue.
Raises an exception if there is an error.
- Return type:
- clear()[source]
Clears the event registers in all register groups and the error queue.
- Return type:
- configure(*, function=Function.DCV, range=10, nsamples=10, nplc=10, auto_zero=Auto.ON, trigger=Mode.IMMEDIATE, edge=Edge.FALLING, ntriggers=1, delay=None)[source]
Configure the digital multimeter.
- Parameters:
range (
Range|str|float) – The range to use for the measurement.nsamples (
int) – The number of samples to acquire after a trigger event.nplc (
float) – The number of power-line cycles.ntriggers (
int) – The number of triggers that are accepted before returning to the wait-for-trigger state.delay (
float) – The number of seconds to wait after a trigger event before acquiring samples. A value ofNoneis equivalent to zero.
- Return type:
- Returns:
The result of
settings()after applying the configuration.
- fetch(initiate=False)[source]
Fetch the samples.
- Parameters:
initiate (
bool) – Whether to callinitiate()before fetching the samples.- Return type: