The ag_34401a module¶
Module for Agilent E3631A multimeters. Compatible with the multimeter module.
API¶
-
cmd_ag_34401a.
init_ag_34401a
(ag_34401a_id, conf_string)[source]¶ Initialize ag_34401a power supply identified by ag_34401_id
conf_string must include the parameter:
- bus: conf_string of the underlying link module (GPIB, TCP, ...)
- channel: channel on which the id will act
-
cmd_ag_34401a.
get_dc_voltage_ag_34401a
(ag_34401a_id, range='undef', resolution='undef')[source]¶ Get DC voltage in Volts. The optional range can be: auto, 0.1, 1, 10, 100 or 1000 Volts. When range is undef or absent, it fallbacks to autorange. The optional resolution can be expressed either as a tolerance in Volts (e.g. 0.01), or by the number of power-line cycles that will be used to integrate, followed by PLC (e.g. 10PLC). The following values are accepted: 0.02, 0.2, 1, 10, 100. When resolution is undef or absent, the default value of the instrument (10PLC) is used. MIN or MAX can be used for both parameters (for resolution, MAX means the highest resolution).
-
cmd_ag_34401a.
get_ac_voltage_ag_34401a
(ag_34401a_id, range='undef', resolution='undef')[source]¶ Get AC voltage in Volts. The optional range can be: auto, 0.1, 1, 10, 100 or 1000 Volts. When range is undef or absent, it fallbacks to autorange. The optional resolution can be expressed either as a tolerance in Volts (e.g. 0.01), or by the number of power-line cycles that will be used to integrate, followed by PLC (e.g. 10PLC). The following values are accepted: 0.02, 0.2, 1, 10, 100. When resolution is undef or absent, the default value of the instrument (10PLC) is used. MIN or MAX can be used for both parameters (for resolution, MAX means the highest resolution).
-
cmd_ag_34401a.
get_dc_current_ag_34401a
(ag_34401a_id, range='undef', resolution='undef')[source]¶ Get DC current in Ampers. The optional range can be: auto, 0.01, 0.1, 1, 3 Ampers. When range is undef or absent, it fallbacks to autorange. The optional resolution can be expressed either as a tolerance in Ampers (e.g. 0.01), or by the number of power-line cycles that will be used to integrate, followed by PLC (e.g. 10PLC). The following values are accepted: 0.02, 0.2, 1, 10, 100. When resolution is undef or absent, the default value of the instrument (10PLC) is used. MIN or MAX can be used for both parameters (for resolution, MAX means the highest resolution).
-
cmd_ag_34401a.
get_ac_current_ag_34401a
(ag_34401a_id, range='undef', resolution='undef')[source]¶ Get AC current in Ampers. The optional range can be: auto, 0.01, 0.1, 1, 3 Ampers. When range is undef or absent, it fallbacks to autorange. The optional resolution can be expressed either as a tolerance in Ampers (e.g. 0.01), or by the number of power-line cycles that will be used to integrate, followed by PLC (e.g. 10PLC). The following values are accepted: 0.02, 0.2, 1, 10, 100. When resolution is undef or absent, the default value of the instrument (10PLC) is used. MIN or MAX can be used for both parameters (for resolution, MAX means the highest resolution).
-
cmd_ag_34401a.
get_2w_resistance_ag_34401a
(ag_34401a_id, range='undef', resolution='undef')[source]¶ Get 2-wire resistance in Ohms. The optional range can be: auto, 100, 1e3, 10e3, 100e3, 1e6, 10e6 or 100e6 Ohms. When range is undef or absent, it fallbacks to autorange. The optional resolution can be expressed either as a tolerance in Ohms (e.g. 0.01), or by the number of power-line cycles that will be used to integrate, followed by PLC (e.g. 10PLC). The following values are accepted: 0.02, 0.2, 1, 10, 100. When resolution is undef or absent, the default value of the instrument (10PLC) is used. MIN or MAX can be used for both parameters (for resolution, MAX means the highest resolution).
-
cmd_ag_34401a.
get_4w_resistance_ag_34401a
(ag_34401a_id, range='undef', resolution='undef')[source]¶ Get 4-wire resistance in Ohms. The optional range can be: auto, 100, 1e3, 10e3, 100e3, 1e6, 10e6 or 100e6 Ohms. When range is undef or absent, it fallbacks to autorange. The optional resolution can be expressed either as a tolerance in Ohms (e.g. 0.01), or by the number of power-line cycles that will be used to integrate, followed by PLC (e.g. 10PLC). The following values are accepted: 0.02, 0.2, 1, 10, 100. When resolution is undef or absent, the default value of the instrument (10PLC) is used. MIN or MAX can be used for both parameters (for resolution, MAX means the highest resolution).
-
cmd_ag_34401a.
get_frequency_ag_34401a
(ag_34401a_id, resolution='undef')[source]¶ Get frequency in Hertzs. The optional resolution can be expressed either as a tolerance in Hertzs (e.g. 0.01), or by the time aperture that will be used to integrate, followed by s (e.g. 0.1s for 100 milliseconds). The following values are accepted: 0.01, 0.1, 1. When resolution is undef or absent, the default value of the instrument (10PLC) is used. MIN or MAX can be used for both parameters (for resolution, MAX means the highest resolution).
-
cmd_ag_34401a.
get_period_ag_34401a
(ag_34401a_id, resolution='undef')[source]¶ Get frequency in seconds. The optional resolution can be expressed either as a tolerance in seconds (e.g. 0.01), or by the time aperture that will be used to integrate, followed by s (e.g. 0.1s for 100 milliseconds). The following values are accepted: 0.01, 0.1, 1. When resolution is undef or absent, the default value of the instrument (10PLC) is used. MIN or MAX can be used for both parameters (for resolution, MAX means the highest resolution).