Technical data
890 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
32 Waveform Commands
:WAVeform:POINts?
Query :WAVeform:POINts?
The :WAVeform:POINts? query returns the points value in the current
waveform preamble. The points value is the number of time buckets
contained in the waveform selected with the :WAVeform:SOURce command.
If the Sin(x)/x interpolation filter is enabled, the number of points can be
larger than the oscilloscope's memory depth setting because the waveform
includes the interpolated points.
Returned Format
[:WAVeform:POINts] <points><NL>
<points> An integer. See the :ACQuire:POINts command for a table of possible
values.
Example This example places the current acquisition length in the numeric variable,
varLength, then prints the contents of the variable to the computer's
screen.
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":WAVEFORM:POINTS?"
varLength = myScope.ReadNumber
Debug.Print FormatNumber(varLength, 0)
See Also The :ACQuire:POINts command in the ACQuire Commands chapter.
NOTE
Turn Headers Off
When you are receiving numeric data into numeric variables, you should turn the headers
off. Otherwise, the headers may cause misinterpretation of returned data.