5-49
After *OPC? is executed, additional commands cannot be sent to the Model 7001 until the pend-
ing overlapped commands have finished. For example, :INITiate:CONTinuous ON followed by
*OPC? will lock up the instrument and will require a device clear (DCL or SDC) before it will
accept any more commands.
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
ENTER 707; A$
90
PRINT A$
100
OUTPUT 707; “*STB?”
110
ENTER 707; B$
120
PRINT B$
130
END
Line 10
Opens all channels.
Line 20
Selects default configuration (see Table 5-5).
Line30
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
Place a “1” in the Output Queue after the scan ends.
Line 80
Address the 7001 to talk.
Line 90
Display the contents of the Output Queue (“1”).
Line 100
Request value of Status Byte Register.
Line 110
Address 7001 to talk.
Line 120
Display value of register (B4 will be set).
When the above program is run, channels 1 through 10 will be scanned and then, at the end of
the scan, an ASCII “1” will be placed in the Output Queue. The Output Queue and Status Byte
Register will then be read to verify the contents.
Programming
example
Artisan Scientific - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisan-scientific.com
Summary of Contents for 7001
Page 284: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Page 285: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Page 286: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Page 287: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Page 288: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Page 293: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Page 294: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Page 295: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Page 296: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Page 299: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Page 300: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Page 301: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Page 304: ......
Page 305: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Page 308: ......
Page 309: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Page 312: ......
Page 313: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...
Page 315: ...Artisan Scientific Quality Instrumentation Guaranteed 888 88 SOURCE www artisan scientific com...