:WAVeform:SOURce

Command Syntax

:WAVeform:SOURce <source_waveform>

Where <source_waveform> can be one of the following:

  • CHANnel<connection1-8>_<ch1-8>; With connection 1, the "1_" part is optional, and you can simply use CHANnel<ch1-8>.
  • DIFF{1:4}
  • CGMemory{1:8}
  • FUNCtion{1:64}
  • WMEMory{1:8}

Query Syntax

:WAVeform:SOURce?

Description

Selects the source waveform from which to return the waveform data points.

Use the queries shown in the following table to actually return the data. These queries return data in different formats requiring scaling of the data.

Waveform Queries
Data Format Query
64-bit floating point Y values :WAVeform:XYFormat:DOUBle:YDATa?
64-bit floating point X values :WAVeform:XYFormat:DOUBle:XDATa?
32-bit floating point Y values :WAVeform:XYFormat:DOUBle:YDATa?
32-bit floating point X values :WAVeform:XYFormat:DOUBle:XDATa?
64-bit floating point Y values :WAVeform:YFORmat:DOUBle:YDATa?
32-bit floating point Y values :WAVeform:YFORmat:FLOat:YDATa?
16-bit integer Y values :WAVeform:YFORmat:WORD:YDATa?