SiglentSDS1000XE#

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

Bases: ScopeDriverBase

SCPI driver for Siglent SDS1000X-E series oscilloscopes (SDS1104X-E and family).

Methods

check_errors

Poll CMR? then EXR? and raise on the first non-zero code (no error queue on Siglent).

close

Close the underlying transport.

digitize

Arm a single acquisition then poll INR? bit 0 (new signal acquired) until set or timeout.

fetch_waveform

Fetch the full waveform from channel over C{n}:WF? DAT2 (signed 8-bit codes).

force_trigger

Force a trigger event immediately, regardless of the configured conditions.

get_acquisition_mode

Read back the current acquisition mode.

get_acquisition_state

Read back the acquisition run state (RUNNING / STOPPED).

get_average_count

Read back the waveforms-to-average count.

get_coupling

Read back input coupling on channel.

get_horizontal_scale

Read back the timebase (seconds/div).

get_probe_attenuation

Read back channel's probe attenuation ratio.

get_sample_rate

Read back the current sample rate (samples per second).

get_trigger_status

Read back the trigger status (ARMED / READY / TRIGGERED / …).

get_vertical_offset

Read back channel's vertical offset (volts).

get_vertical_scale

Read back channel's vertical scale (V/div).

load_settings

Recall a panel setup from a USB file (RCPN) or push host bytes back (PNSU).

measure

Query a built-in parameter via C{n}:PAVA?; unavailable/sentinel results map to NaN.

open

Open the transport and disable comm headers so query replies are bare values.

run

Start continuous (free-running) acquisition.

save_screenshot

Transfer a screen dump (SCDP, a raw BMP) to the host and write it to filepath.

save_settings

Save the panel setup to a USB file (STPN) or transfer it to the host (PNSU?).

set_acquisition_mode

Set the acquisition mode.

set_average_count

Set the number of waveforms to average.

set_coupling

Set AC/DC input coupling on channel.

set_horizontal_scale

Set the timebase to seconds_per_div.

set_probe_attenuation

Set channel's probe attenuation ratio (e.g. 1, 10, 100, 1000).

set_trigger_level

Set the trigger threshold to level (volts).

set_trigger_mode

Set the trigger sweep mode (AUTO / NORMAL).

set_trigger_slope

Set the trigger edge slope (RISING / FALLING / EITHER).

set_trigger_source

Set the trigger source to analog channel.

set_trigger_type

Set the trigger type (EDGE, PULSE, …).

set_vertical_offset

Set channel's vertical offset to offset (volts).

set_vertical_scale

Set channel's vertical scale to volts_per_div (V/div).

setup_measurement

Ensure a measurement slot exists for measurement_type/channel before the scope triggers.

single

Arm a single-shot acquisition.

stop

Stop acquisition.