Command Reference - Base Software
R&S
®
CMW500
271User Manual 1173.9463.02 ─ 06
STATus:OPERation:TASK:A:<netw_std>:<func_grp>:XWEVent? <Wait>[,
<Timeout>]
STATus:OPERation:TASK:A:<netw_std>:<func_grp>:<appl>:XWEVent? <Wait>[,
<Timeout>]
Waits until at least one bit is set to true in the EVENt part of the status register, that is
also set to true in the bit pattern corresponding to the <Wait> list. In other words, waits
until an AND operation between the bit patterns yields a positive result.
An optional timeout can be defined. When the AND operation yields a positive result or
the timeout is reached, the command returns the result of the AND operation. The bits
corresponding to this result are cleared in the EVENt part.
For a description of the variables <netw_std>, <func_grp> and <appl> refer to table 6-1.
Query parameters:
<Wait> Comma separated list of mnemonics (and/or decimal numbers
between 0 and 65535) enclosed in brackets
<Timeout> Timeout in ms
Return values:
<Result> Result of the AND operation, as a comma separated list of mne-
monics (and/or decimal numbers between 0 and 65535) enclosed
in brackets. Empty brackets indicate that a timeout occured.
Example:
STAT:OPER:TASK:A:GPRF:MEAS:POW:XPTR ()
STAT:OPER:TASK:A:GPRF:MEAS:POW:XNTR (RUN)
Configure the transition registers so that the EVENt part of the
status register reports only transitions from 1 to 0 for the bit cor-
responding to the measurement state RUN.
INIT:GPRF:MEAS:POW
STAT:OPER:TASK:A:GPRF:MEAS:POW:XWEV? (RUN),1000
Initiate a GPRF power measurement and wait until it has left the
state RUN. The timeout is set to 1000 ms.
The returned value is () or (RUN) (timeout occurred or state RUN
left).
Usage:
Query only
Firmware/Software: V2.0.10
6.3.13.4 STATus:OPERation (Overall Evaluation)
Information about the current state of tasks and state transitions of tasks can be derived
from evaluation of the STATus:OPERation register hierarchy. This can be a laborious
task if you have to query the registers one by one, tracing events top down and inter-
preting the decimal representation of bit values.
The commands listed below offer a much more comfortable way to evaluate the STA-
Tus:OPERation register hierarchy. They allow to query the current states or state tran-
sitions of all tasks. You can even display all measurement or generator tasks being in a
certain state. And you can use the command STATus:EVENt:BITS:NEXT? within pro-
grams reacting on state transitions.
Instrument-Control Commands