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_am_ext(depth, log)Setup external AM mode.
configure_cw(freq, power[, reset])Setup Continuous Wave output with fixed freq and power.
configure_fm_ext(deviation)Setup external FM mode.
configure_iq_ext()Setup external IQ modulation mode.
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_am(on)If on is True turn on AM (Amplitude Modulation).
set_am_depth(depth, log)Set AM depth.
set_am_ext_opts(DC_coupling, impedance)set_am_source(source)Set AM source.
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_fm(on)If on is True turn on FM (Frequency Modulation).
set_fm_deviation(deviation_Hz)Set FM deviation in Hz.
set_fm_ext_opts(DC_coupling, impedance)set_fm_source(source)Set FM 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[, silent])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_SOURCEFREQ_MODEPOWER_MODETRIG_OUT_ROUTETRIG_SOURCE