photons.equipment.dmm_3458A module

Keysight 3458A digital multimeter.

class photons.equipment.dmm_3458A.Keysight3458A(record, **kwargs)[source]

Bases: DMM

Keysight 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).

abort()[source]

Abort a measurement in progress.

Return type:

None

check_errors()[source]

Query the error queue.

Raises an exception if there is an error.

Return type:

None

clear()[source]

Clears the event registers in all register groups and the error queue.

Return type:

None

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:
  • function (Function | str) – The measurement function.

  • 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.

  • auto_zero (Auto | bool | int | str) – The auto-zero mode.

  • trigger (Mode | str) – The trigger mode.

  • edge (Edge | str) – The edge to trigger on.

  • 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 of None is equivalent to zero.

Return type:

Settings

Returns:

The result of settings() after applying the configuration.

fetch(initiate=False)[source]

Fetch the samples.

Parameters:

initiate (bool) – Whether to call initiate() before fetching the samples.

Return type:

Samples

reset()[source]

Resets the digital multimeter to the factory default state.

Return type:

None

settings()[source]

Returns the configuration settings of the digital multimeter.

Return type:

Settings

temperature()[source]

Returns the temperature (in Celsius) of the digital multimeter.

Return type:

float

zero()[source]

Reset the zero value.

When the multimeter is configured with auto_zero set to OFF, the multimeter may gradually drift out of specification. To minimize the drift, you may call this method to take a new zero measurement.

Return type:

None