Technical data

896 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
32 Waveform Commands
:WAVeform:SEGMented:COUNt?
Query :WAVeform:SEGMented:COUNt?
The :WAVeform:SEGMented:COUNt? query returns the index number of the
last captured segment. A return value of zero indicates that the
:ACQuire:MODE is not set to SEGMented.
<index_number> An integer number representing the index value of the last segment.
Returned Format [:WAVeform:SEGMented:COUNt] <index_number><NL>
Example This example returns the number of the last segment that was captured in
the variable varIndex and prints it to the computer screen.
myScope.WriteString ":WAVEFORM:SEGMENTED:COUNT?"
varIndex = myScope.ReadNumber
Debug.Print FormatNumber(varIndex, 0)