IEEE-488 Reference
4-96
Programming example This example assumes that the Model 2001 SCAN is installed.
10 OUTPUT 716; “:rout:clos (@ 10); clos? (@ 1:10)”
20 ENTER 716; A$
30 PRINT A$
40 END
Line 10 Two commands in this program message; the first closes channel 10, and the second
queries all 10 channels.
Line 20 Addresses the Model 2001 to talk.
Line 30 Displays the state of all 10 channels (0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
STATe?
:ROUTe:CLOSe:STATe? Query closed channel.
Format :rout:clos:stat?
Description This query command is used to determine which (if any) channel on the Model 2001 SCAN is
currently closed. After sending this command and addressing the Model 2001 to talk, the code
identifying the closed channel will be sent to the computer. For example, if channel 10 is cur-
rently closed, the following channel list will be sent to the computer:
(@10)
If all channels are open, the following empty channel list will be sent:
(@)
Programming example 10 OUTPUT 716; “:rout:clos:stat?”
20 ENTER 716; A$
30 PRINT A$
40 END
Line 10 Queries closed channels.
Line 20 Addresses the Model 2001 to talk.
Line 30 Displays the closed channels.
4.18.2 :OPEN <list>
:ROUTe:OPEN <list>
Parameters <list> = (@ chanlist) Specify channel to open
= ALL Open all channels
where; chanlist = 1 to 10
Format :rout:open <list>
Defaults Power-up All channels open
*RST No effect
:SYSTem:PRESet No effect