Example: Using The Scan Complete Bit - HP E1368A/69A/70A User Manual

Microwave switch and driver modules
Table of Contents

Advertisement

Example: Using the
Scan Complete Bit
Chapter 3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Figure 3-9. Example: Multiple Channel Scanning
You can use the Scan Complete Bit (bit 8) in the Operation Status Register
of a switchbox to determine when a scanning cycle completes (no other bits
in the register apply to the switchbox). Bit 8 has a decimal value of 256 and
you can read it directly with the
STATus:OPERation[:EVENt]?
When enabled by the
Bit will be reported as bit 7 of the Status Register. Use the HP-IB Serial
Poll or the IEEE 488.2 Common Command
Register.
When bit 7 of the Status Register is enabled by the
Command to assert an HP-IB Service Request (SRQ), you can interrupt the
computer when the Scan Complete Bit is set, after scanning cycle
completes. This allows the controller to do other operations while the
scanning cycle is in progress.
The following example monitors bit 7 in the Status Register to determine
when the scanning cycle completes. For the example, use:
an HP-IB select code of 7, primary address of 09, and secondary
address of 15 for the Microwave Switch
an HP Series 200/300 Computer with HP BASIC
STAT:OPER?
command (refer to the
command in Chapter 4 for an example).
STAT:OPER:ENAB 256
command, the Scan Complete
*STB?
Using the HP E1368A/69A/70A Modules 41
to read the Status
Common
*SRE 128

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1368aE1369aE1370a

Table of Contents