STATus Subsystem
AM700 Audio Measurement Set Programmer Manual 3–141
A portion of the register structure is illustrated in Figure 3–1. The example shows
the bit progression through the registers when the Waiting for Multitone 1 bit
changes from a 0 to a 1 state to show that multitone 1 was detected. To detect that
event you can use the following commands to set the masking registers:
STAT:OPER:TRIG:ENAB 8
STAT:OPER:TRIG:PTR 8
STAT:OPER:ENAB 32
STAT:OPER:PTR 32
You would then query the STAT:OPER:EVENT register looking for an event to
occur in the Trig bit (bit 5). The resulting return must be converted to binary to
determine which bits are set and which are not. The status registers are 16 bit
registers (bit 0 to bit 15). When all the bits are 1, the returned value is 32767 (215).
In the example, when the Waiting for Multitone 1 bit (bit 3) transitions from 0 to 1,
the STAT:OPER:TRIG:PTR register for that bit sets to 1, the
STAT:OPER:TRIG:ENAB register bit sets to 1, and the corresponding bit in the
STAT:OPER:TRIG:EVENT results register sets to 1. That transition, and any other
transition in the STAT:OPER:TRIG register, is seen in bit 6 of the
STAT:OPER:COND register as it transitions from 0 to 1.
The state change moves through the STAT:OPER:PTR register and the
STAT:OPER:ENAB register to the STAT:OPER:EVENT register to signal that a
trigger event occurred. You can then query the STAT:OPER:TRIG:EVENT register
to see the exact trigger event that occurred.