Technical data

910 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
32 Waveform Commands
:WAVeform:YDISplay?
Query :WAVeform:YDISplay?
The :WAVeform:YDISplay? query returns the Y- axis value at the center of
the display. For voltage waveforms, it is the voltage at the center of the
display.
Returned Format
[:WAVeform:YDISplay] <value><NL>
<value> A real number representing the Y- axis value at the center of the display.
Example This example returns the current Y- display value to 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:YDISPLAY?"
varValue = myScope.ReadNumber
Debug.Print FormatNumber(varValue, 0)
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.