RigolDG1022Z#
- class RigolDG1022Z(
- visa_resource: str | VisaConfig,
Bases:
AWGDriverBaseSCPI driver for the Rigol DG1022Z two-channel arbitrary waveform generator.
Methods
Sync the phase of all channels.
Enable or disable burst mode on the given channel.
Close the underlying transport.
Fire a burst trigger on channel now; the trigger source must already be MANUAL.
Fire a sweep trigger on channel now; the trigger source must already be MANUAL.
Get the current output amplitude and voltage unit on channel.
Get the burst trigger delay (seconds) on channel.
Get the gate polarity for GATED bursts on channel.
Get the number of cycles per trigger for NCYCLE bursts on channel.
Get the internal burst period (seconds) on channel.
Return True if burst mode is enabled on channel.
Get the burst trigger source on channel.
Get the burst type currently active on channel.
Get the modulation enabled state currently active on channel.
Get the modulation type currently active on channel.
Get the DC offset (volts) on channel.
Get the output load impedance; None means high-Z.
Return True if the output on channel is enabled.
Get the sweep end frequency (Hz) on channel.
Get the sweep return time (seconds) on channel.
Get the sweep start frequency (Hz) on channel.
Get the sweep start hold time (seconds) on channel.
Return True if sweep mode is enabled on channel.
Get the sweep stop hold time (seconds) on channel.
Get the sweep time (seconds) on channel.
Get the sweep trigger source on channel.
Get the sweep type currently configured on channel.
Get the current waveform on channel.
Enable or disable modulation on the given channel.
Open the underlying transport.
Enable or disable the output on channel.
Set the output amplitude on channel.
Configure channel's burst type.
Set the burst trigger delay (seconds) on channel.
Set the gate polarity for GATED bursts on channel.
Set the number of cycles per trigger for NCYCLE bursts on channel.
Set the internal burst period (seconds) on channel.
Set the burst trigger source on channel.
Configure channel's carrier modulation with modulator shape.
Set the DC offset (volts) on channel.
Set the output load impedance; None means high-Z.
Configure the sweep type on channel.
Set the sweep end frequency (Hz) on channel.
Set the sweep return time (seconds) on channel.
Set the sweep start frequency (Hz) on channel.
Set the sweep start hold time (seconds) on channel.
Set the sweep stop hold time (seconds) on channel.
Set the sweep time (seconds) on channel.
Set the sweep trigger source on channel.
Program channel with the waveform definition.
Enable or disable sweep mode on channel.
- get_waveform(
- channel: int,
Get the current waveform on channel.
- set_amplitude(
- channel: int,
- amplitude: float,
- unit: AmplitudeMeasurementUnit,
Set the output amplitude on channel.
- get_amplitude(
- channel: int,
Get the current output amplitude and voltage unit on channel.
- set_output_load(channel: int, load: float | None) None[source]#
Set the output load impedance; None means high-Z.
- get_output_load(channel: int) float | None[source]#
Get the output load impedance; None means high-Z.
- set_modulation(
- channel: int,
- mod_type: ModulationType,
- shape: Sine | Square | Sawtooth | Triangle | Pulse | Arbitrary | StaticValue,
- magnitude: float,
Configure channel’s carrier modulation with modulator shape.
- modulation_enable(channel: int, enable: bool) None[source]#
Enable or disable modulation on the given channel.
- get_modulation_type(
- channel: int,
Get the modulation type currently active on channel.
- get_modulation_state(channel: int) bool[source]#
Get the modulation enabled state currently active on channel.
- burst_enable(channel: int, enable: bool) None[source]#
Enable or disable burst mode on the given channel.
- set_burst_trigger(
- channel: int,
- source: BurstTriggerSource,
Set the burst trigger source on channel.
- get_burst_trigger(
- channel: int,
Get the burst trigger source on channel.
- fire_burst_trigger(channel: int) None[source]#
Fire a burst trigger on channel now; the trigger source must already be MANUAL.
- set_burst_delay(channel: int, delay_s: float) None[source]#
Set the burst trigger delay (seconds) on channel.
- set_burst_gate_polarity(
- channel: int,
- gate_polarity: GatePolarity,
Set the gate polarity for GATED bursts on channel.
- get_burst_gate_polarity(
- channel: int,
Get the gate polarity for GATED bursts on channel.
- set_burst_ncycles(channel: int, n_cycles: int) None[source]#
Set the number of cycles per trigger for NCYCLE bursts on channel.
- get_burst_ncycles(channel: int) int[source]#
Get the number of cycles per trigger for NCYCLE bursts on channel.
- set_burst_period(channel: int, period: float) None[source]#
Set the internal burst period (seconds) on channel.
- set_sweep_trigger(
- channel: int,
- source: SweepTriggerSource,
Set the sweep trigger source on channel.
- get_sweep_trigger(
- channel: int,
Get the sweep trigger source on channel.
- set_sweep_time(channel: int, sweep_time: float) None[source]#
Set the sweep time (seconds) on channel.
- get_sweep_stop_hold_time(channel: int) float[source]#
Get the sweep stop hold time (seconds) on channel.
- get_sweep_start_hold_time(channel: int) float[source]#
Get the sweep start hold time (seconds) on channel.