HP E1368A/69A/70A User Manual page 43

Microwave switch and driver modules
Table of Contents

Advertisement

Comments
42 Using the HP E1368A/69A/70A Modules
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Execute:
10 OUTPUT 70915;"*CLS"
20 OUTPUT 70915;"STAT:OPER:ENAB 256"!Enable Scan Complete Bit to
30 OUTPUT 70915;"*SRE 128"
40 OUTPUT 70915;"TRIG:SOUR EXT" !Set to external trigger mode.
50 OUTPUT 70915;"SCAN (@100:103)" !Select channels to be scanned.
60 OUTPUT 70915;"INIT"
70 WHILE NOT BIT (SPOLL(70915),7) !Waiting for scan complete.
80 PRINT "DO OTHER OPERATION HERE"!Enter program lines for
90 END WHILE
100 PRINT "INTERRUPT GENERATED" !Program goes to this line after
110END
Channel List Can Be Extended Across Boundaries. For multiple module
switchbox instruments, the channels to be scanned can extend across switch
modules. For example, for a two module switchbox instrument,
(@100:203)
will scan all channels of both Microwave Switch modules.
Setting Multiple Continuous Scans. Use
1 to 32767 scans. Use
INITiate:CONTinuous ON
!Clear all switchbox status
structure.
set bit 7 in Status Register.
!Enable bit 7 of Status Register to
assert SRQ.
!Start scanning cycle.
computer to do other operations.
interrupt is generated by a
completed scanning cycle.
!Terminate program.
SCAN
ARM:COUNt
number to set from
to set continuous scanning.
Chapter 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1368aE1369aE1370a

Table of Contents