
2201R Mobile Tester SCPI Reference Guide
Chapter 6 Status commands
47090/323
Copyright © 2016 Aeroflex Limited. All rights reserved.
64
:STATus:OPERation[:EVENt]?
Syntax
:STATus:OPERation[:EVENt]?
Parameters
There are no parameters.
Description
Reads out the current contents of the General Operation Event Register.
Note: Event-type registers are read-only and self-destructive. They are cleared after any query.
Query
There is only a query form of this command available. The query returns a string containing one integer.
The value returned represents all general operation events that have occurred since the last query of this register. As
with any event-type register, the single bits remain set even when the reason for the bits to be set is no longer valid.
Please note that this is the main difference between event-type and condition-type registers. Condition-type
registers reflect the current state of the 2201R. Consequently, condition-type registers are updated continuously.
Note: In case a certain event is trapped in a loop within a program, always query the event-type register.
Example
:STATus:OPERation:EVENt?
Value returned: "32".
This means that bit 5 (the "waiting for a trigger" bit) has been set. This indicates that a "waiting for a trigger" event did
occur. If you want to know whether the 2201R is still waiting for the trigger to occur, read out the related
condition-type register (see command explained below).
:STATus:OPERation:CONDition?
Syntax
:STATus:OPERation:CONDition?
Parameters
There are no parameters.
Description
This command reads out the current contents of the General Operation Condition Register. This register reflects the
current operational state of the 2201R and is updated continuously.
Note: This register is nondestructive. This means that it keeps its contents after any query.
Query
There is only a query form of this command available. The query returns a string containing one integer. The integer
expresses all bits currently set in the 16-bit general operation condition register.
Note: Bit 15 (the MSB) of this register is not used. Therefore, the maximum value returned is "32767".
Example
:STATus:OPERation:CONDition?
Value returned: "512".
This means that bit 9 (the MEASure summary bit) has been set, indicating that some measurement is currently in
progress. Bit 9 is reset as soon as the measurement has been completed.