Technical data

622 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
24 Measure Commands
Example This example places the current average voltage in the numeric variable,
varAverage, then prints the contents of the variable to the computer's
screen.
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":MEASURE:VAVERAGE? DISPLAY,CHANNEL1 CHANNEL1"
varAverage = myScope.ReadNumber
Debug.Print FormatNumber(varAverage, 0)