beautypg.com

Teledyne LeCroy PXA125 User Manual

Page 201

background image

User Manual PXA125

Programming Reference 4-83

Reading the Status
Byte Register

The Status Byte summary register can be read with the *STB?
common query. The *STB? common query causes the generator to
send the contents of the Status Byte register and the MSS (Master
Summary Status) summary message as a single Response Message> element. The response represents the sum of
the binary-weighted values of the Status Byte Register. The *STB?
common query does not alter the status byte.

Clearing the Status
Byte Register

Removing the reasons for service from Auxiliary Status registers can
clear the entire Status Byte register. 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.