HP 8753E Vector Network Analyzer

class pymeasure.instruments.hp.HP8753E(adapter=None, name=None, min_frequency=30000.0, max_frequency=6000000000.0, min_power=-70, max_power=10, **kwargs)

Bases: Instrument

Represents the HP8753E Vector Network Analyzer and provides a high-level interface for taking sweeps of the scattering or measurement parameters.

Parameters:
  • name – Optional set the name of the instrument (str). (default: None)

  • min_frequency – Optional set the minimum validator for HP8753E.start_frequency, HP8753E.stop_frequency, HP8753E.span_frequency, HP8753E.center_frequency on initialization (float in Hz). (default: 30000.0)

  • max_frequency – Optional set the maximum validator for HP8753E.start_frequency, HP8753E.stop_frequency, HP8753E.span_frequency, HP8753E.center_frequency on initialization (float in Hz). (default: 6000000000.0)

  • min_power – Optional set the minimum validator for HP8753E.power on initialization (float in dBm). (default: -70)

  • max_power – Optional set the maximum validator for HP8753E.power on initialization (float in dBm). (default: 10)

property IFBW: Any

Control the IF Bandwidth of the instrument for a scan sweep. (int from the set [10, 30, 100, 300, 1000, 3000, 3700, 6000]).

property averages: Any

Control the number of averages for a scan sweep. (int truncated from 1 to 999).

property averaging_enabled: Any

Control whether or not averaging is enabled. (boolean)

averaging_restart()

Restart sweep averaging.

property center_frequency: Any

Control the center frequency in Hz (float).(dynamic)

property correction_enabled: Any

Control whether or not correction is enabled. (boolean)

property data_complex

Get the complex s-parameter measurements from the last scan. This function is blocking until it is completed.

Parameters:

timeout – Optional value in seconds to wait until a timeout occurs. (default: 10)

Raises:

TimeoutError – If the VNA fails to complete the sweep before timeout occurs.

Returns:

An array of s-parameters for the measurement_parameter.

Return type:

numpy.ndarray

emit_beep()

Make the VNA emit a beep

property frequencies

Get a list of frequencies from the last scan.

Returns:

An array of frequencies sized by number of points in sweep)

Return type:

numpy.ndarray

property fw

Get the firmware of the instrument.

property id: Any

Get the identification of the instrument (list of strings)

property manu

Get the manufacturer of the instrument.

property measuring_parameter

Get the active Scattering or Measuring Parameter being measured. (str from [‘S11’, ‘S21’, ‘S12’, ‘S22’, ‘A’, ‘B’, ‘R’])

property model

Get the model of the instrument.

property options: Any

Get the installed options for the instrument

property output_enabled: Any

Control RF Output State (boolean)

property power: Any

Control the output RF power of the instrument’s active port. (float).(dynamic)

reset()

Reset the instrument. May cause RF Output power to be enabled!

scan(timeout=10)

Initiates a scan with the number of averages specified and blocks until the operation is complete.

Parameters:

timeout – Optional value in seconds to add to the sweep time before timeout occurs. (default: 10)

Raises:

TimeoutError – If the VNA fails to complete the sweep before timeout occurs.

Returns:

None.

property scan_points: Any

Control the number of points used for a scan sweep. From the set [3, 11, 21, 26, 51, 101, 201, 401, 801, 1601]

scan_single()

Initiates a single scan or N scans averaged based on averaging This function is not blocking.

set_fixed_frequency(frequency)

Set the sweep to be a fixed frequency in Hz.

set_sweep_time_fastest()

Set instrument scan sweep time to select fastest possible time.

shutdown()

Shutdown - Disables RF Output.

property sn: Any

Get the serial number for the instrument

property span_frequency: Any

Control the span of the sweep frequency in Hz (float).(dynamic)

property start_frequency: Any

Control the start frequency in Hz. (float).(dynamic)

property stop_frequency: Any

Control the stop frequency in Hz. (float).(dynamic)

property sweep_time: Any

Control the sweep time in seconds. (float truncated from 0.0 to 36_400.0)

property trigger_continuous: Any

Control Sweep Scan Trigger State (boolean)

property trigger_hold: Any

Control Sweep Scan Trigger State (boolean)