Download Agilent Technologies 6834B User`s guide

Transcript
Programming Examples - 4
Questionable Status Group
The Questionable Status registers record signals that indicate abnormal operation of the ac source. As
shown in the figure 4-5, the group consists of the same type of registers as the Status Operation group.
Register
Command
Description
Condition
STAT:QUES:COND?
A register that holds real-time status of the circuits
being monitored. It is a read-only register.
PTR Filter
STAT:QUES:PTR <n>
A positive transition filter that functions as
described under STAT:QUES:NTR|PTR
commands in Chapter 3. It is a read/write register.
NTR Filter
STAT:QUES:NTR <n>
A negative transition filter that functions as
described under STAT:QUES:NTR|PTR
commands in Chapter 3. It is a read/write register.
Event
STAT:QUES:EVEN?
A register that latches any condition that is passed
through the PTR or NTR filters. It is a read-only
register that is cleared when read.
Enable
STAT:QUES:ENAB? <n>
A register that functions as a mask for enabling
specific bits from the Event register. It is a
read/write register.
The outputs of the Questionable Status group are logically-ORed into the QUEStionable summary bit (3)
of the Status Byte register.
NOTE:
In a three-phase ac source, each signal that is fed into the Questionable Status
Condition register is logically-ORed from three corresponding status signals that originate
from each phase. Figure 4-5 illustrates this for the OV bit; the same illustration also
applies to the other bits in the Condition register.
Questionable Instrument Isummary Status Group
Although only one group of Questionable Instrument Isummary Status registers is shown in figure 4-4,
there are actually three identical register groups. With the exception of bit 13, the register structure is the
same as the Questionable Status group. These three register groups monitor the status signals of each
individual phase of the three-phase ac source. To determine which phase of the ac source is currently
selected, use:
INSTrument:NSELect?
To set or read the status registers of another phase, first use:
INSTrument:NSELect <n>
where <n> is the phase number. Then send the appropriate register commands.
145