13-16
IM 2560A-01EN
13-16
13.7 STATus Group
The commands in this group are used to make settings and queries related to the communication status feature.
There are no front panel dials and switches that correspond to the commands in this group.
For information about status reports, see chapter 14.
:STATus?
Function
Queries all the settings of the communication
status feature.
Syntax
:STATus?
:STATus:CONDition?
Function
Queries the contents of the condition register.
Syntax
:STATus:CONDition?
Example
:STATUS:CONDITION?
-> :STATUS:CONDITION 16
Description For information about the condition register, see
chapter 14, “Status Reports.”
:STATus:EESE
Function
Sets or queries the extended event enable
register.
Syntax
:STATus:EESE {<Register>}
:STATus:EESE?
<Register> = 0 to 65535
Example
:STATUS:EESE #7659
:STATUS:EESE? -> :STATUS:EESE #7659
Description For information about the extended event enable
register, see chapter 14, “Status Reports.”
:STATus:EESR?
Function
Queries the contents of the extended event
register and clears the register.
Syntax
:STATus:EESR?
Example
:STATUS:EESR? -> :STATUS:EESR 1
Description For information about the extended event register,
see chapter 14, “Status Reports.”
:STATus:ERRor?
Function
Queries the error code and message of the last
error that has occurred (top of the error queue).
Syntax
:STATus:ERRor?
Example
:STATUS:ERROR?
-> 113,"Undefined header"
:STATus:FILTer<x>
Function
Sets or queries the transition filter.
Syntax
:STATus:FILTer<x> {BOTH|FALL|NEVer|
RISE}
:STATus:FILTer<x>?
<x> = 1 to 16
Example
:STATUS:FILTER2 RISE
:STATUS:FILTER2?
-> :STATUS:FILTER1 RISE
Description • Set how each bit in the condition register must
change to trigger the setting of an event. For
example, if you specify RISE, a change from 0
to 1 triggers the setting of an event.
• For information about the transition filter, see
chapter 14, “Status Reports.”
:STATus:QENable
Function
Sets or queries whether messages other than
errors will be stored to the error queue (ON) or
not (OFF).
Syntax
:STATus:QENable {<Boolean>}
:STATus:QENable?
Example
:STATUS:QENABLE ON
:STATUS:QENABLE?
-> :STATUS:QENABLE 1
:STATus:QMESsage
Function
Sets or queries whether message information
will be attached to the response to the
STATus:ERRor? query (ON/OFF).
Syntax
:STATus:QMESsage {<Boolean>}
:STATus:QMESsage?
Example
:STATUS:QMESSAGE OFF
:STATUS:QMESSAGE?
-> :STATUS:QMESSAGE 0