34
Waveform Commands
:WAVeform:YRANge?
Query
:WAVeform:YRANge?
The :WAVeform:YRANge? query returns the Y- axis duration of the
displayed waveform. For voltage waveforms, it is the voltage across the
entire display.
A "Waveform data is not valid" error occurs when there is no data available for a channel.
N O T E
When this occurs, a zero value is returned.
Returned Format
[:WAVeform:YRANge] <value><NL>
<value>
A real number representing the Y- axis duration of the displayed waveform.
Example
This example returns the current Y- range value to the numeric variable,
varValue, then prints the contents of the variable to the computer's screen.
myScope.WriteString ":SYSTEM:HEADER OFF"
myScope.WriteString ":WAVEFORM:YRANGE?"
varValue = myScope.ReadNumber
Debug.Print FormatNumber(varValue, 0)
988
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
' Response headers off.