Programming Examples 5
Keysight Models 6811C, 6812C, and 6813C Programming Guide 267
Servicing questionable status events
This example assumes you want a service request generated whenever the ac
source's overvoltage, overcurrent, or overtemperature circuits have tripped. From
Figure 5-5, note the required path for Questionable Status conditions at bits 0, 1,
and 4 to generate a service request (RQS) at the Status Byte register. The required
register programming is as follows:
Step 1 Program the Questionable Status PTR register to allow a positive
transition at bits 0, 1, or 4 to be latched into the Status Event register.
Use:
STATus:QUEStionable:PTR 19 (1 + 2 + 16 = 19)
Step 2 Program the Questionable Status Enable register to allow the latched
events to be summed into the QUES summary bit. Use:
STATus:QUEStionable:ENABle 19
Step 3 Program the Service Request Enable register to allow the QUES
summary bit from the Status Byte register to generate RQS. Use:
*SRE 8
Step 4 When you service the request, read the event register to determine
which Questionable Status Event register bits are set and clear the
register for the next event. Use:
STATus:QUEStionable:EVENt?