Command Reference - Base Software
R&S
®
CMW500
265User Manual 1173.9463.02 ─ 06
However the extended commands provide more comfort by mapping bit values to the
corresponding status register mnemonics whenever possible. Thus they allow to control
the STATus:OPERation register hierarchy without knowing it by heart at bit level.
For a complete overview of the mnemonics used in the register hierarchy see STA-
Tus:OPERation and SYSTem:HELP:STATus[:REGister]?, SYSTem:HELP:
STATus:BITS?.
Settings
Assume that you want to set the enable mask for the states OFF and RDY of the GPRF
external power sensor measurement 1, up to the highest level of the hierarchy. You can
do this by studying the hierarchy and setting the correct bits using the following elemen-
tary commands:
STATus:OPERation:TASK:A:GPRF:MEAS1:EPSensor:ENABle 9
STATus:OPERation:TASK:A:GPRF:MEAS1:ENABle 4
STATus:OPERation:TASK:A:GPRF:ENABle 1
STATus:OPERation:TASK:A:ENABle 2
STATus:OPERation:TASK:ENABle 1
STATus:OPERation:ENABle 512
Or you use the following extended commands. Knowing the first command is sufficient
to write down all subsequent commands correctly, because the first (lowest level) com-
mand reflects the entire register path up to the highest level and contains all mnemonics:
STATus:OPERation:TASK:A:GPRF:MEAS1:EPSensor:XENable (OFF,RDY)
STATus:OPERation:TASK:A:GPRF:MEAS1:XENable (EPSensor)
STATus:OPERation:TASK:A:GPRF:XENable (MEAS1)
STATus:OPERation:TASK:A:XENable (GPRF)
STATus:OPERation:TASK:XENable (A)
STATus:OPERation:XENable (TASK)
Extended commands accept also decimal numbers in addition to mnemonics. If you use
a mixture of numbers and mnemonics, both the decimal numbers and the mnemonics
are internally translated into bits and the sum of all bits is set. Example: To set the enable
mask for the GPRF measurements POWer (bit 0), EPSensor (bit 2) and IQRecorder (bit
3) you can e.g. use one the following commands. All commands yield the same result.
STATus:OPERation:TASK:A:GPRF:MEAS1:XENable (POWer,EPSensor,IQRecorder)
STATus:OPERation:TASK:A:GPRF:MEAS1:XENable (POWer,EPSensor,8)
STATus:OPERation:TASK:A:GPRF:MEAS1:XENable (POWer,EPSensor,12)
STATus:OPERation:TASK:A:GPRF:MEAS1:XENable (POWer,12)
STATus:OPERation:TASK:A:GPRF:MEAS1:XENable (13)
Queries
A query using an extended command returns a list of mnemonics, i.e. the returned bit
pattern is translated into the corresponding mnemonics. If the bit pattern contains also
bits set to true that can not be translated because they have no mnemonics assigned in
the register hierarchy, these bits are summed up and listed as an additional decimal
number. If no bit at all is set, empty brackets are returned.
Instrument-Control Commands