Agilent 4284A LCR Meter

class pymeasure.instruments.agilent.Agilent4284A(adapter, name='Agilent 4284A LCR meter', **kwargs)

Bases: SCPIMixin, Instrument

Represents the Agilent 4284A precision LCR meter.

agilent = Agilent4284A("GPIB::1::INSTR")

agilent.reset()                         # Return instrument settings to default
                                          values
agilent.frequency = 10e3                # Set frequency to 10 kHz
agilent.voltage = 0.02                  # Set AC voltage to 20 mV
agilent.mode = 'ZTR'                    # Set impedance mode to measure
                                          impedance magnitude [Ohm] and phase
                                          [rad]
agilent.sweep_measurement(
    'frequency', [1e4, 1e3, 100]        # Perform frequency sweep measurement
)                                       # at 10 kHz, 1 kHz, and 100 Hz
agilent.enable_high_power()             # Enable upper current, voltage, and
                                          bias limits, if properly configured.

agilent.correction.open_enabled = True     # Enable the OPEN correction
agilent.correction.spot1.enabled = True    # Enable the correction for SPOT1
agilent.correction.spot1.frequency = 10e3  # Set SPOT1 frequency to 10 kHz
agilent.correction.spot1.measure_open()    # Measure the OPEN structure for SPOT1
correction
Channel:

Agilent4284ACorrection

property ac_current: Any

Control AC current level in Amps. Valid range is 50 uA to 20 mA for default, 50 uA to 200 mA in high-power mode.(dynamic)

property ac_voltage: Any

Control AC voltage level in Volts. Range is 5 mV to 2 V for default, 5 mV to 20 V in high-power mode.(dynamic)

property auto_range_enabled: Any

Control whether the impedance auto range is enabled.

property bias_current: Any

Control the DC bias current in Amps. Requires Option 001 (power amplifier / DC bias) to be installed. Maximum is 100 mA.(dynamic)

property bias_enabled: Any

Control whether DC bias is enabled.

property bias_voltage: Any

Control the DC bias voltage in Volts. Maximum is 2 V by default, 40 V in high-power mode.(dynamic)

property frequency: Any

Control AC frequency in Hertz, from 20 Hz to 1 MHz.(dynamic)

property high_power_enabled

Control whether high power mode is enabled. Enabling requires option 001 (power amplifier / DC bias) to be installed.

property impedance_mode: Any

Control impedance measurement function.

  • CPD: Parallel capacitance [F] and dissipation factor [number]

  • CPQ: Parallel capacitance [F] and quality factor [number]

  • CPG: Parallel capacitance [F] and parallel conductance [S]

  • CPRP: Parallel capacitance [F] and parallel resistance [Ohm]

  • CSD: Series capacitance [F] and dissipation factor [number]

  • CSQ: Series capacitance [F] and quality factor [number]

  • CSRS: Series capacitance [F] and series resistance [Ohm]

  • LPQ: Parallel inductance [H] and quality factor [number]

  • LPD: Parallel inductance [H] and dissipation factor [number]

  • LPG: Parallel inductance [H] and parallel conductance [S]

  • LPRP: Parallel inductance [H] and parallel resistance [Ohm]

  • LSD: Series inductance [H] and dissipation factor [number]

  • LSQ: Seriesinductance [H] and quality factor [number]

  • LSRS: Series inductance [H] and series resistance [Ohm]

  • RX: Resistance [Ohm] and reactance [Ohm]

  • ZTD: Impedance, magnitude [Ohm] and phase [deg]

  • ZTR: Impedance, magnitude [Ohm] and phase [rad]

  • GB: Conductance [S] and susceptance [S]

  • YTD: Admittance, magnitude [Ohm] and phase [deg]

  • YTR: Admittance magnitude [Ohm] and phase [rad]

property impedance_range: Any

Control the impedance measurement range. The 4284A will select an appropriate measurement range for the setting value.

sweep_measurement(sweep_mode, sweep_values)

Run list sweep measurement using sequential trigger.

Parameters:
  • sweep_mode (str) – parameter to sweep across. Must be one of frequency, voltage, current, bias_voltage, or bias_current.

  • sweep_values – list of parameter values to sweep across.

Returns:

values as configured with impedance_mode and list of sweep parameters in format ([val A], [val B], [sweep_values])

trigger()

Execute a bus trigger, regardless of trigger state. Can be used when trigger_source is set to BUS. Returns result of triggered measurement.

property trigger_continuous_enabled: Any

Control whether trigger state automatically returns to WAIT FOR TRIGGER after measurement.

property trigger_delay: Any

Control trigger delay in seconds. Valid range is 0 to 60, with 1 ms resolution.

trigger_immediate()

Execute a bus trigger, regardless of trigger state. Can be used when trigger_source is set to BUS. Measurement result must be retrieved with FETCH? command.

trigger_initiate()

Change the trigger state from IDLE to WAIT FOR TRIGGER for one trigger sequence.

property trigger_source: Any

Control trigger mode. Valid options are INT, EXT, BUS, or HOLD.

class pymeasure.instruments.agilent.agilent4284A.Agilent4284ACorrection(parent, id, **kwargs)

Bases: Channel

A class representing the correction functions.

property cable_length: Any

Control the correction setting for cable length in meters, (int strictly 0, 1, 2 or 4).

property load_enabled: Any

Control the LOAD correction (bool).

property load_function: Any

Control the spot LOAD standard.

Type:

str, strictly in CPD, CPQ, CPG, CPRP, CSD, CSQ, CSRS, LPQ, LPD, LPG, LPRP, LSD, LSQ, LSRS, RX, ZTD, ZTR, GB, YTD, YTR

See Agilent4284A.impedance_mode for detailed explanation.

measure_load()

Measure the LOAD correction standard.

measure_open()

Measure the OPEN correction standard.

measure_short()

Measure the SHORT correction standard.

property open_enabled: Any

Control the OPEN correction (bool).

property short_enabled: Any

Control the SHORT correction (bool).

class pymeasure.instruments.agilent.agilent4284A.Agilent4284ASpot(parent, id, **kwargs)

Bases: Channel

A class representing the spot correction functions.

property enabled: Any

Control this spot correction (bool).

property frequency: Any

Control the frequency of this spot in Hz.

property load_function: Any

Control the LOAD standard of this spot.

Type:

str, strictly in CPD, CPQ, CPG, CPRP, CSD, CSQ, CSRS, LPQ, LPD, LPG, LPRP, LSD, LSQ, LSRS, RX, ZTD, ZTR, GB, YTD, YTR

See Agilent4284A.impedance_mode for detailed explanation.

measure_load()

Measure the LOAD correction standard of this spot.

measure_open()

Measure the OPEN correction standard of this spot.

measure_short()

Measure the SHORT correction standard of this spot.