Technical data

Introduction to Programming 3
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 73
String Variable Example
The output of the oscilloscope may be numeric or character data
depending on what is queried. Refer to the specific commands for the
formats and types of data returned from queries.
This example shows the data being returned to a string variable:
Dim strRang As String
myScope.WriteString ":CHANNEL1:RANGE?"
strRang = myScope.ReadString
Debug.Print strRang
After running this program, the computer displays:
+8.00000E- 01
NOTE
Express String Variables Using Exact Syntax
In Visual Basic, string variables are case sensitive and must be expressed exactly the same
each time they are used.