Chapter 3 Programming Your Counter for Remote Operation
Programming the Counter for Status Reporting
3-44
Programming Guide
3
Figure 3-14. Status Reporting Flowchart (1 of 2)
Reset and initialize the Counter
as follows:
Device Clear
*
RST
*
CLS
*
SRE 0
*
ESE 0
:STAT:PRES
continue program
Do you want
to do Status
Reporting?
NO
Skip this section ("Status Reporting").
YES
Do you
want to report events
monitored by the Standard
Event Status
Register?
YES
Use the following:
*
ESE 189
This enables any of the available
bits to generate a summary bit to
the Status Byte Register.
(See Note 1)
YES
Use the following:
:STAT:OPER:ENAB 6704
This enables any of the available bits to
generate a summary bit to the Status Byte
Register. (See Note 1)
Do you
want to report a
measurement complete
event from the
Operation Status
Group?
YES
Use the following:
:STAT:OPER:PTR 6688
:STAT:OPER:NTR 16
This enables the negative transition of the
"measuring event" bit to generate a summary
bit to the Status Byte Register.
Do you want
to report events
monitored by the
Questionable Data/Signal
Status Group?
YES
Use the following:
:STAT:QUES:ENAB 20 520
This enables any of the available bits to
generate a summary bit to the Status Byte
Register. (See Note 1)
NO
NO
NO
NO
Go to sheet 2 of 2
NOTES:
1. All of the enable commands, used on this figure, enable all of the active
bits for each event register and the Status Byte Register. You do not have
to enable all bits. Read the description of each register to determine which
bits you want to enable.
2. Additional analysis should be performed if more than one bit is set.
Do you
want to report events
monitored by the
Operation Status
Group?
Summary of Contents for 53150A Series
Page 1: ... Programming Guide HP 53150A 151A 152A Microwave Frequency Counter ...
Page 2: ......
Page 10: ...Contents x Programming Guide ...
Page 11: ...1 Before You Start ...
Page 20: ...Chapter 1 Before You Start Related Documentation 1 10 Programming Guide 1 ...
Page 21: ...2 Command Summary A Quick Reference ...
Page 41: ...3 Programming Your Counter for Remote Operation ...
Page 101: ...4 Command Reference A Dictionary ...
Page 162: ...Chapter 4 Command Reference Common Commands 4 62 Programming Guide 4 ...
Page 163: ...5 Errors ...
Page 174: ...Chapter 5 Errors Error Types 5 12 Programming Guide 5 ...
Page 184: ......
Page 186: ... Manual Part Number 53150 90002 Printed in U S A NOVEMBER 1997 ...