Keysight33521B#

class Keysight33521B(
visa_resource: str | VisaConfig,
)[source]#

Bases: AWGDriverBase

SCPI driver for the Keysight 33521B arbitrary waveform generator.

Methods

align_phase

Sync the phase of all channels.

burst_enable

Enable or disable burst mode on the given channel.

close

Close the underlying transport.

fire_burst_trigger

Fire a burst trigger on channel now; the trigger source must already be MANUAL.

fire_sweep_trigger

Fire a sweep trigger on channel now; the trigger source must already be MANUAL.

get_amplitude

Get the current output amplitude and voltage unit on channel.

get_burst_delay

Get the burst trigger delay (seconds) on channel.

get_burst_gate_polarity

Get the gate polarity for GATED bursts on channel.

get_burst_ncycles

Get the number of cycles per trigger for NCYCLE bursts on channel.

get_burst_period

Get the internal burst period (seconds) on channel.

get_burst_state

Return True if burst mode is enabled on channel.

get_burst_trigger

Get the burst trigger source on channel.

get_burst_type

NCYCLE reads back as INFINITE when BURS:NCYC is the hardware's high-water sentinel for INF.

get_modulation_state

Get the modulation enabled state currently active on channel.

get_modulation_type

Returns modulation type currently enabled, or the last type set by the user when modulation is not enabled.

get_offset

Get the DC offset (volts) on channel.

get_output_load

Get the output load impedance; None means high-Z.

get_output_state

Return True if the output on channel is enabled.

get_sweep_end_freq

Get the sweep end frequency (Hz) on channel.

get_sweep_return_time

Get the sweep return time (seconds) on channel.

get_sweep_start_freq

Get the sweep start frequency (Hz) on channel.

get_sweep_start_hold_time

Get the sweep start hold time (seconds) on channel.

get_sweep_state

Return True if sweep mode is enabled on channel.

get_sweep_stop_hold_time

Get the sweep stop hold time (seconds) on channel.

get_sweep_time

Get the sweep time (seconds) on channel.

get_sweep_trigger

Get the sweep trigger source on channel.

get_sweep_type

Get the sweep type currently configured on channel.

get_waveform

Get the current waveform on channel.

modulation_enable

Enables the most recently configured modulation type, or disables modulation.

open

Open the underlying transport.

output_enable

Enable or disable the output on channel.

set_amplitude

Set the output amplitude on channel.

set_burst

Configure channel's burst type.

set_burst_delay

Set the burst trigger delay (seconds) on channel.

set_burst_gate_polarity

Set the gate polarity for GATED bursts on channel.

set_burst_ncycles

Set the number of cycles per trigger for NCYCLE bursts on channel.

set_burst_period

Set the internal burst period (seconds) on channel.

set_burst_trigger

Set the burst trigger source on channel.

set_modulation

Configures modulation.

set_offset

Set the DC offset (volts) on channel.

set_output_load

Set the output load impedance; None means high-Z.

set_sweep

Configure the sweep type on channel.

set_sweep_end_freq

Set the sweep end frequency (Hz) on channel.

set_sweep_return_time

Set the sweep return time (seconds) on channel.

set_sweep_start_freq

Set the sweep start frequency (Hz) on channel.

set_sweep_start_hold_time

Set the sweep start hold time (seconds) on channel.

set_sweep_stop_hold_time

The 33521B has no SWEep:HTIMe:STARt; HTIMe only holds at the stop frequency.

set_sweep_time

Set the sweep time (seconds) on channel.

set_sweep_trigger

Set the sweep trigger source on channel.

set_waveform

Program channel with the waveform definition.

sweep_enable

Enable or disable sweep mode on channel.