10-24 SCPI Command Reference Models 2510 and 2510-AT User’s Manual
Status register format
:SREGister <name>
:FORMat:SREGister <name> Set data format for reading status registers
Parameters <name> = ASCii Decimal format
HEXadecimal Hexadecimal format
OCTal Octal format
BINary Binary format
Query :SREGister? Query format for reading status registers
Description Query commands are used to read the contents of the status event regis-
ters. This command is used to set the response message format for those
query commands.
When a status register is queried, the response message is a value that
indicates which bits in the register are set. For example, if bits B5, B4,
B2, B1, and B0 of a register are set (110111), the following values will
be returned for the selected data format:
ASCii 55 (decimal value)
HEXadecimal #H37 (hexadecimal value)
OCTal #Q67 (octal value)
BINary #B110111 (binary value)
See Section 7, Status Structure, and “STATus subsystem,” page 10-46,
for more information.