Waveform

src.waveform.waveform(oscope, source: Optional[Union[int, str]] = None, mode: Optional[str] = None, format: Optional[str] = None, start: Optional[int] = None, stop: Optional[int] = 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 fields corresponding to the named arguments of this function. All fields are queried regardless of which arguments were initially provided. The data field 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.