Technical data
Waveform Commands 32
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 915
:WAVeform:YUNits?
Query :WAVeform:YUNits?
The :WAVeform:YUNits? query returns the Y- axis units of the currently
selected waveform source. The currently selected source may be a channel,
function, or waveform memory.
Returned Format
[:WAVeform:YUNits] {UNKNown | VOLT | SECond | HITS | DECibels | CONStant
| AMP}<NL>
Example This example returns the Y- axis units of the currently selected waveform
source to the string variable, strUnit, then prints the contents of the
variable to the computer's screen.
Dim strUnit As String ' Dimension variable.
myScope.WriteString ":WAVEFORM:YUNITS?"
strUnit = myScope.ReadString
Debug.Print strUnit