![background image](http://html1.mh-extra.com/html/racal-instruments/3152a/3152a_manual_3134749118.webp)
3152A User Manual
SCPI and HS Command Reference 4-26 Racal Instruments
©
2001
Clearing the
Status Byte
Register
The entire Status Byte register can be cleared by removing the
reasons for service from Auxiliary Status registers. Sending the
*CLS command to the device after a SCPI command terminator
and before a Query clears the Standard Event Status Register
and clears the output queue of any unread messages. With the
output queue empty, the MAV summary message is set to
FALSE. Methods of clearing other auxiliary status registers are
discussed in the following paragraphs.
Service Request
Enable Register
(SRE)
The Service Request enable register is an 8-bit register that
enables corresponding summary messages in the Status Byte
Register. Thus, the application programmer can select reasons
for the synthesizer to issue a service request by altering the
contents of the Service Request Enable Register.
The Service Request Enable Register is read with the *SRE?
common query. The response to this query is a number that
represents the sum of the binary-weighted value of the Service
Request Enable Register. The value of the unused bit 6 is
always zero.
The Service Request Enable Register is written using the *SRE
command followed by a decimal value representing the bit
values of the Register. A bit value of 1 indicates an enabled
condition. Consequently, a bit value of zero indicates a disabled
condition. The Service Request Enable Register is cleared by
sending *SRE0. The synthesizer always ignores the value of bit
6. Summary of *SRE commands is given in the following.
*SRE0
- Clears all bits in the register.
*SRE1
- Not used.
*SRE2
- Not used.
*SRE4
- Not used.
*SRE8
- Not used.
*SRE16
- Service request on MAV.
*SRE32
- Service request on ESB summary bit.
*SRE128
- Not used.