Chapter 3 Programming Your Universal Counter for Remote Operation
How to Program the Counter for Status Reporting
3-40
Programming Guide
Questionable Data Status Register
:STAT:QUES:PTR 100; NTR 0
:STAT:QUES:ENABLE 100
*SRE 8
Detect transition from non-questionable to
questionable data.
Enable to detect for auto cal off.
Assert SRQ on Questionable Summary bit.
Using the Operation Status Register to Alert the Computer When
Measuring has Completed—
Example 4
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. For
example, a frequency measurement with a gate time of 10 seconds. 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
:STAT:OPER:ENABLE 16
*SRE 128
Detect transition from measuring to non-
measuring.
Enable to detect measuring.
Assert SRQ on Operation Summary bit.
Summary of Contents for 53131A
Page 1: ...Programming Guide HP 53131A 132A 225 MHz Universal Counter ...
Page 2: ......
Page 13: ...1 1 Before You Start ...
Page 24: ...Chapter 1 Before You Start Related Documentation 1 12 Programming Guide ...
Page 25: ...2 2 Command Summary A Quick Reference ...
Page 68: ...Chapter 2 Command Summary RST Response 2 44 Programming Guide ...
Page 69: ...3 3 Programming Your Universal Counter for Remote Operation ...
Page 167: ...4 4 Command Reference A Dictionary ...
Page 310: ...Chapter 4 Command Reference WAI Wait to Continue Command 4 144 Programming Guide ...
Page 311: ...5 5 Errors ...
Page 329: ......
Page 330: ...H Manual Part Number 53131 90044 Printed in U S A NOVEMBER 1996 ...