Waveform
- src.waveform.waveform(oscope, 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 fields corresponding to the named arguments of this function. All fields are queried regardless of which arguments were initially provided. The
datafield is additionally provided as a result of the query:WAVeform:DATA?. There are several other fields provided as well which are required for post-processing.