132
Read the Status Byte. Returns the decimal value of the binary-weighted sum of bits.
*SRE <value>
Service Request enable register controls which bits from the Status Byte should be
use to generate a service request when the bit value = 1.
*SRE?
Queries the Service Request enable register. Returns the decimal value of binary-
weighted sum of bits.
7.4.8. Status Reporting
The status reporting system is a way of determining the condition of the tester and is
configured using two types of registers. An Event register and a Summary register.
The Summary register is known as the Status Byte register and records high-level
summary information acquired by the Event registers.
An Event register report defines conditions or messages at each bit. The bits are
latched and remain in an active state until the register is either Read or Cleared.
Reading the Event register automatically clears the register and sets all bits to an
inactive state or 0. When querying an Event register the information is returned as a
decimal number representing the binary-weighted sum of all bits within the register.
The Enable register bits represent the selection of bits that will be logically OR’d
together to form the summary bit in the Status Byte. The *CLS command will not clear
the Enable registers and if you wish to clear the register you must set it to a value of 0.
Like the Event register, the Enable register is represented as a decimal number that
equals the binary-weighted sum of all bits.
The Enable register will clear to a value of 0 at power-on unless the *PSC 0 command
has been executed before power-off. The *PSC command tells the device whether or
not it should clear the Enable registers at power-on. Using this command will allow
SQRs to function immediately after power-on.