11-18
Status Structure
Model 2701 User’s Manual
Event registers
As Figure 11-1 shows, each status register set has an event register. When an event occurs,
the appropriate event register bit sets to 1. The bit remains latched to 1 until the register is
reset. Reading an event register clears the bits of that register. *CLS resets all four event
registers.
The commands to read the event registers are listed in Table 11-5. For details on reading
registers, see “Reading registers,” page 11-7.
Event enable registers
As Figure 11-1 shows, each status register set has an enable register. Each event register
bit is logically ANDed (&) to a corresponding enable bit of an enable register. Therefore,
when an event bit is set and the corresponding enable bit is set (as programmed by the
user), the output (summary) of the register will set to 1, which in turn sets the summary bit
of the Status Byte Register.
The commands to program and read the event enable registers are listed in Table 11-6. For
details on programming and reading registers, see “Programming enable registers,”
page 11-5, and “Reading registers,” page 11-7.
NOTE
The bits of any enable register can be reset to 0 by sending the 0
parameter value with the appropriate enable command (i.e.
STATus:OPERation:ENABle 0).
Table 11-5
Event register commands
Command
Description
*ESR?
Read Standard Event Status Register.
STATus:OPERation:[:EVENt]?
Read Operation Event Register.
STATus:MEASurement:[:EVENt]?
Read Measurement Event Register.
STATus:QUEStionable:[:EVENt]?
Read Questionable Event Register.
Notes:
1. The format of the response messages for the above queries is set by the FORMatt:SREGister
command.
2. Power-up and *CLS resets all bits of all event registers to 0. STATus:PRESet has no effect.
2701-900-01.book Page 18 Wednesday, August 3, 2011 9:43 AM
Summary of Contents for 2701
Page 344: ...12 CommonCommands 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 366: ...15 SCPIReferenceTables 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 393: ...A Specifications 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 399: ...B Model7700ConnectionGuide 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 410: ...C StatusandErrorMessages 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 417: ...D SignalProcessing SequenceandDataFlow 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 430: ...E MeasurementConsiderations 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 450: ...G KE2700InstrumentDriver Examples 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...