mahos.inst.sg.N5182B#
- class mahos.inst.sg.N5182B(name, conf, prefix=None)#
Keysight N5182B/N5172B Vector Signal Generator.
- Parameters:
power_bounds (tuple[float, float]) – Power bounds in dBm (min, max).
freq_bounds (tuple[float, float]) – Frequency bounds in Hz (min, max).
point_trig_freq_sweep.trig (str) – point trigger source on freq sweep. one of TRIG_SOURCE.
point_trig_freq_sweep.ext_trig (str) – ext trig source on freq sweep. one of EXT_TRIG_SOURCE.
point_trig_freq_sweep.sweep_out_ch (int) – sweep output channel on freq sweep. one of (1, 2).
- __init__(name, conf, prefix=None)#
Methods
__init__
(name, conf[, prefix])abort
()configure
(params[, label])Configure the instrument settings.
configure_cw
(freq, power)Setup Continuous Wave output with fixed freq and power.
configure_cw_iq
(freq, power)Setup Continuous Wave output with fixed freq and power and external IQ modulation.
configure_point_trig_freq_sweep
(start, stop, ...)Convenient function to set up triggered frequency sweep.
get
(key[, args, label])Get an instrument setting or measurement data.
get_bounds
()get_freq_bounds
()get_power_bounds
()initiate
()query_power_condition
()set
(key[, value, label])Set an instrument setting or commanding value.
set_dm
(on)If on is True turn on digital modulation.
set_dm_invert
(invert)Set digital (IQ) modulation polarity.
set_dm_source
(source)Set digital (IQ) moduration source.
set_freq_CW
(freq)set_freq_list
(freq_list)set_freq_mode
(mode)Set Frequency mode.
set_freq_range
(start, stop)set_init_cont
(on)set_list_type
([stepped])set_modulation
(on)If on is True turn on modulation.
set_output
(on)set_point_trig_source
(source[, ext])Set the stepped sweep point-to-point trigger source.
set_power
(power_dBm)set_power_mode
(mode)Set Power mode.
set_route_trig_out
(ch, route)set_sweep_points
(num)set_trig_source
(source[, ext])Set the sweep trigger source.
start
([label])Start the instrument operation.
stop
([label])Stop the instrument operation.
trigger
()Attributes
EXT_TRIG_SOURCE
FREQ_MODE
POWER_MODE
TRIG_OUT_ROUTE
TRIG_SOURCE