Agilent34401A#
- class Agilent34401A(
- visa_resource: str | VisaConfig,
Bases:
DMMDriverBaseAgilent/HP/Keysight 34401A DMM.
Methods
Close the underlying transport.
Trigger an AC-current measurement and return the value (amperes RMS, vendor-dependent).
Trigger an AC-voltage measurement and return the value (volts RMS, vendor-dependent).
Trigger a DC-current measurement and return the value (amperes).
Trigger a DC-voltage measurement and return the value (volts).
Trigger a 4-wire-resistance measurement and return the value (ohms).
Trigger a 2-wire-resistance measurement and return the value (ohms).
Open transport,
*CLS, thenSYST:REMto disable the front panel and RS-232 echo.Set AC-current integration time to
nplcpower-line cycles.Cache the range for
MEAS:...?calls.Set AC-voltage integration time to
nplcpower-line cycles.Cache the range for
MEAS:...?calls.Set integration time directly in seconds.
Set DC-current integration time to
nplcpower-line cycles.Cache the range for
MEAS:...?calls.Set DC-voltage integration time to
nplcpower-line cycles.Cache the range for
MEAS:...?calls.Set the digits (4, 5, or 6) used as the resolution argument in
MEAS:...?commands.Set 4-wire-resistance integration time to
nplcpower-line cycles.Cache the range for
MEAS:...?calls.Configure the function for subsequent reads via a dummy measurement.
Set 2-wire-resistance integration time to
nplcpower-line cycles.Cache the range for
MEAS:...?calls.- open() None[source]#
Open transport,
*CLS, thenSYST:REMto disable the front panel and RS-232 echo.
- set_measurement_function(
- function: MeasurementFunction,
Configure the function for subsequent reads via a dummy measurement.
- set_digits(n: int) None[source]#
Set the digits (4, 5, or 6) used as the resolution argument in
MEAS:...?commands.
- set_dc_voltage_range(value: float | None) None#
Cache the range for
MEAS:...?calls. The 34401A’s cache is shared across functions, so everyset_*_rangedelegates here.
- set_ac_voltage_range(value: float | None) None#
Cache the range for
MEAS:...?calls. The 34401A’s cache is shared across functions, so everyset_*_rangedelegates here.
- set_dc_current_range(value: float | None) None#
Cache the range for
MEAS:...?calls. The 34401A’s cache is shared across functions, so everyset_*_rangedelegates here.
- set_ac_current_range(value: float | None) None#
Cache the range for
MEAS:...?calls. The 34401A’s cache is shared across functions, so everyset_*_rangedelegates here.
- set_two_wire_resistance_range(value: float | None) None#
Cache the range for
MEAS:...?calls. The 34401A’s cache is shared across functions, so everyset_*_rangedelegates here.
- set_four_wire_resistance_range( ) None#
Cache the range for
MEAS:...?calls. The 34401A’s cache is shared across functions, so everyset_*_rangedelegates here.
- measure_dc_current() float[source]#
Trigger a DC-current measurement and return the value (amperes).
- measure_resistance() float[source]#
Trigger a 2-wire-resistance measurement and return the value (ohms).
- measure_four_wire_resistance() float[source]#
Trigger a 4-wire-resistance measurement and return the value (ohms).
Default raises
NotImplementedError; override on drivers whose instrument has dedicated sense leads (e.g. Agilent 34401A).
- measure_ac_voltage() float[source]#
Trigger an AC-voltage measurement and return the value (volts RMS, vendor-dependent).
- measure_ac_current() float[source]#
Trigger an AC-current measurement and return the value (amperes RMS, vendor-dependent).
- set_aperture_seconds(seconds: float) None#
Set integration time directly in seconds.
Default raises
NotImplementedError. Mutually exclusive withset_aperture_nplcon a given driver — vendors typically expose one or the other.