RC Commands
R&S
®
OSP
261
User Manual 1178.7100.02 ─ 05
Also, you can control attenuators by the standard command
, allowing
joint control of attenuators and relays, and saving their target states in joint path defini-
tions.
Similar to
ROUTe:CLOSe
, the parameter
<channel list>
uses the following syntax:
(@FxxMyy(sssee))
●
xx
= 01, 02, 03,...,99 (frame ID in, e.g., switch unit name F01)
●
yy
= 01, 02, 03,...,20 (module ID in, e.g., slot position M02)
●
sss
= 000 ... n (
s
tate of the attenuator to be controlled in a module)
●
ee
= 01 ... m (
e
lement number of the attenuator to be controlled)
For example, in the
:
●
sss
= 000 ... 015 (attenuator steps)
●
ee
= 01 ... 02 (attenuator number in module version .42)
ee
= 01 ... 04 (attenuator number in module version .44)
Note that in the string "sss", you can omit leading zeros.
Parameters for setting and query:
<channel list>
Channel list string as described above, selecting a module and
attenuator and specifying the attenuation level to be set.
The query also requires the element number "
ee
", but it ignores
the state information "
sss
". You can submit the value of "
sss
"
as 000 (or any arbitrary 3-digit value), or you can omit it, enter-
ing only ee.
The range and interpretation of the state value
sss
depends on
the specific attenuator used in the module. For details, refer to
the module description.
Example:
Setting
:
ROUT:ATT (@F01M01(01102))
Sets the step attenuator number 2 of the module in slot M01 in
the switch unit with name "F01" to an attenuation level, which is
encoded by the state 011.
Example:
Query
:
ROUT:ATT? (@F01M01(00001,00002,00003))
Or shorter:
ROUT:ATT? (@F01M01(01,02,03))
Response:
010,011,008
Returns the attenuation level states of the step attenuator ele-
ments 6, 7 and 8 of the module in slot M01 in the switch unit with
name "F01". In this example, these attenuators are in states sss
= 010, 127 and 234.
ROUTe:PHASe
<channel list>
Sets or queries the phase angle, if a phase shifter is available in the module.
Also, you can control phase shifters by the standard command
ing joint control of phase shifters and relays, and saving their target states in joint path
definitions.
ROUTe Commands