IEEE-488 Reference
5-79
ues for the specified channels will be sent to the computer. A value of “1” indicates that the
channel is open, and a “0” indicates that the channel is not open (closed).
For example, assume channels 2, 3 and 6 are open and the following query command is sent:
:open? (@ 1:10)
After addressing the Model 7001 to talk, the following response message will be sent to the
computer:
0,1,1,0,0,1,0,0,0,0
This example assumes that all channels are closed.
10 OUTPUT 707; “:open (@ 1!2, 1!3, 1!6); open? (@ 1!1:1!10)”
20 ENTER 707; A$
30 PRINT A$
40 END
Line 10 Open channels 2, 3 and 6, and then queries all ten channels.
Line 20 Addresses the Model 7001 to talk.
Line 30 Displays the state of all ten channels (0,1,1,0,0,1, 0,0,0,0).
:SCAN <list>
[:ROUTe]:SCAN <list> Define scan list
<list> = (@ scanlist)
where; scanlist is the specified list of channels (scan list) to be scanned.
:scan (@ scanlist)
Power-up Last defined scan list
*RST No effect
:SYSTem:PRESet No effect
:SCAN? Query scan list
Short-form formats: :scan?
Response message: Currently defined scan list
The :SCAN command is used to define a scan list. The list of channels to be scanned (scanlist)
are included in the <list> parameter.
Programming
example
5.13.3
Parameter
Short-form
formats
Defaults
Query
command
Description
[:ROUTe] subsystem
Artisan Scientific - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisan-scientific.com