skrf.vi.vna.HP8510C

class skrf.vi.vna.HP8510C(address='GPIB::16::INSTR', visa_library='@py', **kwargs)[source]

Slightly more sophisticated 8510 driver than the one in vna_old.py, which is preserved for compatibility.

Features: * Chunked Sweep – sweep with any number of points, emulated by sweeping in chunks or list mode if necessary. * Tested with AD007 (a VXI11-compliant GPIB-Ethernet adapter) and pyvisa-py (not dependent on NI VISA or Keysight IO)

Attributes

averaging

Averaging factor for AVERON

continuous

True iff sweep mode is continuous.

delay_seconds_before_readback

error

Error from OUTPERRO

idn

Instrument ID string

s11

s12

s21

s22

Methods

__init__

Initialize a network analyzer object

ask_for_cmplx

Like ask_for_values, but use FORM2 binary transfer, much faster than ASCII.

clear

close

get_frequency

get_list_of_traces

The 8510 doesn't really support multiple traces, so we just list S params.

get_oneport

convenience wrapper for get_snp_network enforcing 1-port only

get_snp_network

return n-port network as an Network object

get_ssn

Get (start_hz, stop_hz, n_points) tuple

get_switch_terms

create new traces for the switch terms and return as a 2-length list of forward and reverse terms

get_traces

retrieve traces as 1-port networks from a list returned by get_list_of_traces

get_twoport

convenience wrapper for get_snp_network enforcing 2-ports only

one_port

Performs one or more sweeps as per set_frequency_*, returns network.

reset

Preset instrument.

set_frequency_ramp

Ramp (fast, not synthesized) sweep.

set_frequency_step

Step (slow, synthesized) sweep + logic to handle lots of npoint.

set_frequency_sweep

Set the frequency sweep parameters on the specified or active channel

set_hz

List sweep using hz, an array of frequencies.

switch_terms

measures forward and reverse switch terms and returns them as a pair of one-port networks.

to_hz

A simple convenience function to create frequency in Hz if it is in a different unit

two_port

Performs one or more sweeps per set_frequency_*, returns network.

wait_until_finished