IEEE-488 Reference
4-95
4.18.1 :CLOSe <list>
:ROUTe:CLOSe <list> Close specified channel
Parameter <list> = (@ chanlist) Specify channel to be closed
where; chanlist is the channel (1 to 10) to be closed
Format :rout:clos <list>
Defaults Power-up All channels open
*RST No effect
:SYSTem:PRESet No effect
Query :CLOSe? <list> Query specified channel.
Short-form format: :rout:clos? <list>
where; chanlist is the list of channels to be queried.
Response message: 1 (Specified channel is closed)
0 (Specified channel is not closed)
Description 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. Sending more than one channel parameter will result in an error.
For example, to close channel 5, send the following command:
:rout:clos (@ 5)
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
for this query command:
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 2001 to talk, the values for the
specified channels will be sent to the computer. A value of “1” indicates that the channel is
closed, and a “0” indicates that the channel is not closed.
For example, assume channel 5 is closed and the following query command is sent:
:rout:clos? (@ 1:10)
After the addressing the Model 2001 to talk, the following response message will be sent to the
computer:
0, 0, 0, 0, 1, 0, 0, 0, 0, 0
NOTE: Sending the :CLOSe or :CLOSe? command with the scanner card missing will result in
an error.