Waveform
- src.waveform.waveform(oscope: Rigol_DS1000Z, source: int | str | None = None, mode: str | None = None, format: str | None = None, start: int | None = None, stop: int | None = None)[source]
Send commands to control an oscilloscope’s waveform data capturing. All arguments are optional.
- Parameters:
source (int, str) –
:WAVeform:SOURcemode (str) –
:WAVeform:MODEformat (str) –
:WAVeform:FORMatstart (int) –
:WAVeform:STARtstop (int) –
:WAVeform:STOP
- Returns:
A namedtuple with a field for each argument, queried back regardless of which were provided. The
datafield holds the captured samples (:WAVeform:DATA?);points,count, and the X/Y scaling factors (for post-processing) are parsed from:WAVeform:PREamble?.