:WAVeform:YFORmat:ASCii:YDATa?
Query Syntax
:WAVeform:YFORmat:ASCii:YDATa?
Description
Returns the y-axis data in Y-formatted data as ASCII comma-separated values. The returned amplitude values are in volts or Watts and do not require scaling. The data is sent in linear format starting from the graticule's left side and progressing to the right side. Use the :WAVeform:SOURce
command to select data from a channel, differential channel, waveform memory, or a function.
The time at any data point can be calculated as:
where,
- Xincrement is the time spacing between the data points and is returned with the
:WAVeform:YFORmat:XINCrement?
query. - Xindex is the data point count, starting at zero and ending at the number of points minus one. Use the
:WAVeform:YFORmat:POINts?
query to return the number of points. - Xorigin is the time value of the first data point and is returned using the
:WAVeform:YFORmat:XORigin?
query.
Pattern waveforms or waveforms captured when using a precision timebase have unequal time separations between the samples. In this situation, return the data in XY-format using the :WAVeform:XYFormat:ASCii:XDATa?
and :WAVeform:XYFormat:
ASCii
:YDATa?
queries.
In TDR Mode, this command can be used to return data for time-domain S-parameters such as a T11 trace in Ohms. Before sending the :WAVeform:YFORmat:ASCii:YDATa?
query, use the :TRACe1:UNAMe?
query to confirm that the query response is "T11 Ohms"
and send :WAVeform:SOURce TRACe1
to select the source waveform:
if FlexDCA.query(':TRACe1:UNAMe?') in 'T11 Ohms': FlexDCA.write(':WAVeform:SOURce TRACe1') wdata = FlexDCA.query(':WAVeform:YFORMat:ASCii:YDATA?')