IEEE-488 Reference
5-77
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 initially open.
10 OUTPUT 707; “:clos (@ 1!2, 1!3, 1!6); clos? (@ 1!1:1!10)”
20 ENTER 707; A$
30 PRINT A$
40 END
Line 10 Closes 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).
:STATe?
[:ROUTe]:CLOSe:STATe? Query closed channels
:clos:stat?
This query command is used to request the channels that are currently closed. For example if
channels 1!2!3 and 2!36 are closed, the following message will be sent to the computer after
sending this command and addressing the Model 7001 to talk:
(@1!2!3, 2!36)
10 OUTPUT 707; “:clos (@ 1!1, 1!5:1!10); clos:stat?”
20 ENTER 707; A$
30 PRINT A$
40 END
Line 10 Two commands on this line. CLOSe closes the listed channels and STATe? queries
the list of closed channels.
Line 20 Addresses the Model 7001 to talk.
Line 30 Displays (on the CRT) the list of closed channels.
Programming
example
Short-form
formats
Description
Programming
example
[:ROUTe] subsystem
Artisan Scientific - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisan-scientific.com