IEEE-488 Reference
5-47
NOTE
See *OPC?, *TRG and *WAI for more information.
10 OUTPUT 707; “:open all”
20 OUTPUT 707; “*RST”
30 OUTPUT 707; “:scan (@ 1!1:1!10)”
40 OUTPUT 707; “:trig:coun:auto on”
50 OUTPUT 707; “:trig:del 0.5”
60 OUTPUT 707; “:init”
70 OUTPUT 707; “*OPC”
80 OUTPUT 707; “*ESR?”
90 ENTER 707; A$
100 PRINT A$
110 END
Line 10 Opens all channels.
Line 20 Selects default configuration (see Table 5-6).
Line 30 Defines scan list (channels 1 through 10).
Line 40 Enables automatic scan-list-length for channel count.
Line 50 Sets a 0.5 second delay between each channel.
Line 60 Starts the scan (takes 7001 out of idle state).
Line 70 Set OPC bit after the scan ends.
Line 80 Request value of Standard Event Status Register.
Line 90 Address 7001 to talk.
Line 100 Display value of register (Bit 0 will be set).
When the above program is run, channels 1 through 10 will be scanned and then, at the end of
the scan, Bit 0 in the Standard Event Status Register will set. The register is then read to verify
that Bit 0 is set.
Programming
example
Artisan Scientific - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisan-scientific.com