Technical data

Waveform Commands 32
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 873
:WAVeform:COUNt?
Query :WAVeform:COUNt?
The :WAVeform:COUNt? query returns the fewest number of hits in all of
the time buckets for the currently selected waveform. For the AVERage
waveform type, the count value is the fewest number of hits for all time
buckets. This value may be less than or equal to the value specified with
the :ACQuire:AVERage:COUNt command.
For the NORMal, RAW, INTerpolate, and VERSus waveform types, the
count value returned is one, unless the data contains holes (sample points
where no data is acquired). If the data contains holes, zero is returned.
Returned Format
[:WAVeform:COUNt] <number><NL>
<number> An integer. Values range from 0 to 1 for NORMal, RAW, or INTerpolate
types, and VERSus type. If averaging is on values range from 0 to 65536.
Example This example places the current count field value in the string variable,
strCount, then prints the contents of the variable to the computer's screen.
Dim strCount As String ' Dimension variable.
myScope.WriteString ":WAVEFORM:COUNT?"
strCount = myScope.ReadString
Debug.Print strCount