Agilent Technologies 87130A Switch User Manual


 
4-8 Agilent 87130A Operating and Service Manual
Remote Operation
Programming Syntax
Query commands are also used to get results of switch status made by the
switch driver, with the query actually activating the switch.
Example ROUTe:CLOSE? <channel spec>
instructs the driver to sense the status of the switch and place the result in the
output queue.
The output queue must be read before the next program message is sent.
Example When the query
ROUTE:VERIFY:ON?
is sent, that query must be followed with a program statement like,
ENTER 709;Verify$
to read the result of the query and place the result in a BASIC variable
(Verify$).
Sending another command before reading the result of the query will cause
the output buffer to be cleared and the current response to be lost. This will
also generate an error in the error queue.