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:SOURce

  • mode (str) – :WAVeform:MODE

  • format (str) – :WAVeform:FORMat

  • start (int) – :WAVeform:STARt

  • stop (int) – :WAVeform:STOP

Returns:

A namedtuple with a field for each argument, queried back regardless of which were provided. The data field holds the captured samples (:WAVeform:DATA?); points, count, and the X/Y scaling factors (for post-processing) are parsed from :WAVeform:PREamble?.