Status Tutorial; Status Registers; Operation Status Group - Keysight N6705C Operating And Service Manual

Dc power analyzer
Table of Contents

Advertisement

Status Tutorial

This section provides a detailed description of the individual registers and register groups. The status
diagram at the end of this topic shows how the status registers and groups are interconnected.

Status Registers

Operation Status Group

Questionable Status Group
Standard Event Status Group
Status Byte Register
Error and Output Queues
Status Diagram
Status Registers
The Operation and Questionable status groups use four different type of registers to track qualify, flag,
and enable instrument events.
A Condition register continuously monitors the state of the instrument. The bits in the condition
l
register are updated in real time and the bits are not latched or buffered
An PTR/NTR register qualifies the signal that passes to the event register. When a PTR bit is set,
l
signals with positive edge transition pass to the event register. When an NTR bit is set, signals
with a negative edge transition pass to the event register. When both bits are set, all signal pass.
When neither bits are set, no signals pass.
An Event register latches the various events from the condition register. There is no buffering in
l
this register; while an event bit is set, subsequent events corresponding to that bit are ignored.
This is a read-only register
An Enable register defines which bits in the event register will be reported to the Status Byte
l
register group. You can write to or read from an enable register.
To program individual bits in any register group, you must send a value that corresponds to the binary-
weighted value of all the bits that you wish to enable. For example, to enable bit 2 (decimal value = 4)
and bit 4 (decimal value = 16), the corresponding decimal value would be 20 (4 + 16).Similarly, any
register queries return the binary-weighted value of the bits that have been set. For example, with bit
3 (value 8) and bit 5 (value 32) being set, the query returns +40.
Operation Status Group
These registers record signals that occur during normal operation. The group consists of a Condition,
PTR/NTR, Event, and Enable register. The outputs of the Operation Status register group are logically-
Keysight N6705C Operating and Service Guide
7 SCPI Programming Reference
349

Advertisement

Table of Contents
loading

Table of Contents