Technical data
Waveform Commands 32
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 905
:WAVeform:XINCrement?
Query :WAVeform:XINCrement?
The :WAVeform:XINCrement? query returns the duration between
consecutive data points for the currently specified waveform source. For
time domain waveforms, this is the time difference between consecutive
data points. 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 This example places the current X- increment value for the currently
specified source in the numeric variable, varValue, then prints the contents
of the variable to the computer's screen.
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":WAVEFORM:XINCREMENT?"
varValue = myScope.ReadNumber
Debug.Print FormatNumber(varValue, 0)
See Also You can obtain the X-increment value through the :WAVeform:PREamble?
query.
NOTE
A "Waveform data is not valid" error occurs when there is no data available for a channel.
When this occurs, a zero value is returned.