mahos.inst.fg.RIGOL_DG2000#
- class mahos.inst.fg.RIGOL_DG2000(name, conf, prefix=None)#
RIGOL DG2000 series Function Generator.
- Parameters:
ext_ref_clock (bool) – use external reference clock source.
gate.source (str) – trigger source for gated burst. one of TRIG_SOURCE.
gate.polarity (bool) – gate polarity. True for positive.
gate.idle_level (str) – idle level. one of IDLE_LEVEL.
burst.source (str) – trigger source for cycle burst. one of TRIG_SOURCE.
burst.polarity (bool) – burst trigger polarity. True for positive.
burst.idle_level (str) – idle level. one of IDLE_LEVEL.
- __init__(name, conf, prefix=None)#
Methods
__init__
(name, conf[, prefix])align_phase
()configure
(params[, label])Configure the instrument settings.
configure_burst
(wave, freq, ampl_Vpp, ...[, ...])Configure Cycle Burst output.
configure_cw
(wave, freq, ampl_Vpp[, offset, ...])Configure Continuous Wave output.
configure_gate
(wave, freq, ampl_Vpp, phase_deg)Configure Gated Burst output.
configure_output
(params)get
(key[, args, label])Get an instrument setting or measurement data.
get_amplitude
([ch])get_bounds
([ch])get_freq
([ch])get_function
([ch])get_high
([ch])get_low
([ch])get_offset
([ch])get_output
([ch])get_output_impedance
([ch])Get output impedance.
get_param_dict
([label])Get ParamDict for label.
get_param_dict_labels
()Get list of available ParamDict labels.
get_phase
([ch])reset
([label])Reset the instrument settings.
set
(key[, value, label])Set an instrument setting or commanding value.
set_amplitude
(ampl_Vpp[, ch])set_burst
(on[, ch])set_burst_cycle
(cycle[, ch])set_burst_delay
(delay[, ch])set_burst_gate_polarity
(positive[, ch])set_burst_idle_level
(level[, ch])set_burst_mode
(mode[, ch])set_burst_trig_slope
(positive[, ch])set_burst_trig_source
(source[, ch])set_freq
(freq[, ch])set_function
(func[, ch])set_high
(volt[, ch])set_low
(volt[, ch])set_offset
(offset[, ch])set_output
(on[, ch])set_output_impedance
(imp_ohm[, ch])Set output impedance.
set_period
(t[, ch])set_phase
(phase_deg[, ch])set_reference_clock
(external)set_square_duty
(duty_percent[, ch])start
([label])Start the instrument operation.
stop
([label])Stop the instrument operation.
trigger
()update_all_bounds
()update_amplitude_bounds
(ch)update_freq_bounds
(ch)update_offset_bounds
(ch)Attributes
IDLE_LEVEL
OUTPUT_HighZ
TRIG_SOURCE