HP 53150A Series Programming Manual page 83

Microwave frequency counter
Table of Contents

Advertisement

Chapter 3 Programming Your Counter for Remote Operation
Programming the Counter for Status Reporting
Using the Operation Status Register to Alert the
Computer When Measuring has
Completed—Example 3
The following command grouping illustrates how to use the Operation
Status register and the Status Byte register to alert the computer when
measuring has completed. This is useful if the Counter is making a long
measurement. When the measurement is complete, the Counter can alert
the computer.
The first line tells the Counter to watch for a negative transition from true
(measuring) to false (non-measuring) of bit 4. This negative transition
indicates that the Counter has completed a measurement. The next line
tells the Counter to summarize the detected event (bit 4 of the Operation
Status Register) in the Status Byte Register. The command *SRE 128 tells
the Counter to assert SRQ when the summary bit for the Operation
Status register is set to 1. A serial poll will return 192 when a
measurement has completed.
Operation Status Register
:STAT:OPER:PTR 0; NTR 16 Detect transition from measuring to
:STAT:OPER:ENABLE 16
*SRE 128
Programming Guide
non-measuring.
Enable to detect measuring.
Assert SRQ on Operation Summary bit.
3-43

Advertisement

Table of Contents
loading

This manual is also suitable for:

53152a series53151a series

Table of Contents