5
Programming Examples
Monitoring both phases of a status transition
You can monitor a status signal for both its positive and negative transitions. For
example, to generate RQS when the ac source either enters the CLrms (rms
current limit) condition or leaves that condition, program the Questionable Status
PTR/NTR filter as follows:
The PTR filter will cause the QUES summary bit to set RQS when CLrms occurs.
When the controller subsequently reads the event register with
STATus:QUEStionable:EVEN?, the register is cleared. When CLrms subsequently
goes false, the NTR filter causes the QUES summary bit to again set RQS.
268
STATus:QUEStionable:PTR 4096;NTR 4096
STATus:QUEStionable:ENABle 4096;*SRE 8
Keysight Models 6811C, 6812C, and 6813C Programming Guide