:WAVeform:YFORmat:ASCii:YDATa?
Query Syntax
:WAVeform:YFORmat:ASCii:YDATa? [<starting_point_index>,[<number_of_points>]]
- <starting_point_index>
- Optional zero-based integer that is the starting point index.
- <number_of_points>
- Optional integer that is the number of point values to return. When using this parameter, the
<starting_point_index>parameter is required. If this parameter is not used, it means the number of points to the end of the record.
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.