IEEE-488 Reference
3-86
3.17
:ROUTe subsystem
The commands in this subsystem are used to configure and control switching and are summa-
rized in Table 3-9.
:CLOSe <list>
:ROUTe:CLOSe <list>
Close specified channel
<list> = (@ chanlist)
Specify channel to be closed
where; chanlist is the channel (1 to 10) to be closed
:CLOSe? <list>
Query specified channel.
The :CLOSe <list> command is used to close a channel on the Model 2001-SCAN scanner card.
Only one channel can be closed at a time. Thus, for this command, the chanlist must consist of
only one channel. When this command is sent, any other closed channel will first open and then
the specified channel will close.
The :CLOSe? <list> query command is used to determine the state (closed or not closed) of each
channel specified by the list parameter. For this command, the chanlist can consist of multiple
channels. The following examples demonstrate the various forms for expressing the channel list.
List = (@ 2)
Single channel.
(@ 2,4,6)
Multiple channels separated by commas (,).
(@ 1:10)
Range of channels (1 though 10). Range limits separated by a colon (:).
(@ 1:5,7)
Range entry and single entry separated by a comma.
After sending this query command and addressing the Model 2002 to talk, the values for the
specified channels are sent to the computer. A value of “1” indicates that the channel is closed,
and a “0” indicates that the channel is not closed.
PRINT #1, "output 16; :rout:clos (@ 10); clos? (@10)"
' Close and query chan-
nel 10
PRINT #1, "enter 16"
' Get response message
from 2002
STATe?
:ROUTe:CLOSe:STATe?
Query closed channel.
This query command is used to determine which (if any) channel on the Model 2001 SCAN is
closed. After sending this command and addressing the Model 2002 to talk, the channel list is
sent to the computer.
PRINT #1, "output 16; :rout:clos:stat?"
' Query closed channel
PRINT #1, "enter 16"
' Get response message from 2002
:OPEN <list>
:ROUTe:OPEN <list>
<list> = (@ chanlist)
Specify channel to open
ALL
Open all channels
where; chanlist = 1 to 10
3.17.1
Parameters
Query
Description
Program fragment
Description
Program fragment
3.17.2
Parameters
Summary of Contents for 2002
Page 123: ...Front Panel Operation 2 106...
Page 145: ...IEEE 488 Reference 3 22...
Page 167: ...IEEE 488 Reference 3 44...
Page 284: ...A Specifications A 1...
Page 362: ......
Page 364: ...This page left blank intentionally...
Page 365: ......