User manual

IEEE-488 Reference
4-92 2001-900-01 Rev. K / August 2010
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
Query :OPEN? <list> Query specified channel.
Short-form format: :rout:open? <list>
where; chanlist is the list of channels to be queried.
Response message: 1 (Specified channel is open)
0 (Specified channel is not open)
Description The :OPEN <list> command is used to open a channel on the Model 2001-SCAN scanner card.
Since only one channel can be closed, the chanlist for this command need only consist of one