Agilent B1500 User’s Guide, Edition 7 6- 37
Application Test Definition
GPIB I/O
Example 2 After performing Example 1, enter the following query command and read the
response by using Write String and Read String functions as shown below. Use
Write String to send the command, after that use Read String to read the response.
:ROUT:SYMB:CHAN? 0, 1
This command returns the string assigned to the output 1 of the B2200A in the auto
configurati
on mode.
• Write String:
Address 22
String :ROUT:SYMB:CHAN? 0, 1
Terminator LF+EOI
• Read String:
Address 22
String ReturnedValue
Length To Read 10
Length Actually Read Length1
Terminator LF+EOI
Terminated Term
Timeout 1.00 s
where, ReturnedValue is a string variable to
store the r
esponse of the
:ROUT:SYMB:CHAN? 0, 1 command, Length1 is a numeric variable to store the
byte length of the ReturnedValue value, and Term is a numeric variable to store the
execution result. They must be defined in the Local Variables Definition statement.
Comments to this Manuals