Open:all; Scan Commands - Keithley 2002 User Manual

Hide thumbs Also See for 2002:
Table of Contents

Advertisement

Query
Description
Program fragment
3.17.3
Description
Program fragment
3.17.4
Parameters
Query
Description
Program fragment
:OPEN? <list> Query specified channel.
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 can only consist of one
channel. An alternate way to open a closed channel is to simply use the ALL parameter. It opens
whichever channel is closed.
The :OPEN? <list> query command is used to determine the state (opened or not opened) of
each channel specified by the list parameter. For this command, the chanlist can consist of mul-
tiple channels. See the :CLOSe command for examples to express a chanlist.
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 open,
and a "0" indicates that the channel is not open.
PRINT #1, "output 16; :rout:clos(@ 5); open? (@ 1:10)"
PRINT #1, "enter 16"

:OPEN:ALL

:ROUTe:OPEN:ALL
Open closed channel
This action command is used to open a closed channel on the Model 2001-SCAN. Note that this
command performs the same function as the :ROUTe:OPEN ALL command that was previous-
ly discussed.
PRINT #1, "output 16; :rout:open:all"

:SCAN commands

[:INTernal] <list>
:ROUTe:SCAN[:INTernal] <list> Define internal scan list and enable scan.
<list> = (@ scanlist)
where; scanlist is the specified list of channels (1 to 10) to be scanned.
[:INTernal]? Query programmed scan list
This command is used to define the scan list for the internal Model 2001-SCAN scanner card.
The scan list can contain 2 to 10 channels. The following examples demonstrate the various
forms for expressing a scan list:
list = (@ 2,4,6)
Channels separated by commas (,).
(@ 1:8)
Range of channels (1 though 8). Range limits separated by a colon (:).
(@ 1:5,7)
Range entry and single entry separated by a comma.
See paragraph 2.11 and the Model 2001-SCAN instruction manual for details on scanning.
PRINT #1, "output 16; :rout:scan (@ 1:5)"
IEEE-488 Reference
' Close channel and
query
' Get response message
from 2002
' Open all channels
' Define scan list and scan chan-
nels
3-87

Advertisement

Table of Contents
loading

Table of Contents