25-11
Waveform Commands
XDISplay?
NORMAL data consists of the last data point in each time bucket. RAW data consists of one
data point in each time bucket with no interpolation. In the INTERPOLATE acquisition type,
the last data point in each time bucket is stored, and additional data points are filled in
between the acquired data points by interpolation. AVERAGE data consists of the average of
the first n hits in a time bucket, where n is the value in the count portion of the preamble.
Time buckets that have fewer than n hits return the average of the data they contain. VER-
SUS data consists of two arrays of data: one containing the X-axis values, and the other con-
taining the Y-axis values. Versus waveforms can be generated using the FUNCtion subsystem
commands.
Returned Format [:WAVeform:TYPE] {NORMal | RAW | INTerpolate | AVERage | VERSus}<NL>
Example 10 OUTPUT 707;":WAVEFORM:TYPE?"
XDISplay?
Query :WAVeform:XDISplay?
This query returns the X-axis value at the left edge of the display. For time domain signals, it
is the time at the start of the display. For VERSus type waveforms, it is the value at the center
of the X-axis of the display. This value is treated as a double precision 64-bit floating point
number.
Returned Format [:WAVeform:XDISplay] <value><NL>
<value> A real number representing the X-axis value at the left edge of the display.
Example 10 OUTPUT 707;":SYSTEM:HEADER OFF”
20 OUTPUT 707;":WAVEFORM:XDISPLAY?"
XINCrement?
Query :WAVeform:XINCrement?
This query returns the duration between data points on the X axis. For time domain signals,
this is the time difference between consecutive data points for the currently specified wave-
form source. For VERSus type waveforms, this is the duration between levels on the X axis.
For voltage waveforms, this is the voltage corresponding to one level.
Returned Format [:WAVeform:XINCrement] <value><NL>
<value> A real number representing the duration between data points on the X axis.
Example 10 OUTPUT 707;":SYSTEM:HEADER OFF”
20 OUTPUT 707;":WAVEFORM:XINCREMENT?"
See Also You can obtain the Xincrement value through the WAVeform:PREamble query.
XORigin?
Query :WAVeform:XORigin?
This query returns the X-axis value of the first data point in the data record for the currently
specified source . For time domain signals, it is the time of the first point. For VERSus type
waveforms, it is the X-axis value at level zero. For voltage waveforms, it is the voltage at level
zero. The value returned by this query is treated as a double precision 64-bit floating point
number.