8163A/B, 8164A/B & 8166A/B Mainframes Programming Guide
115
Measurement Operations & Settings
4
command:
:SENSe[
n
]:[CHANnel[
m
]]:POWer:UNIT
syntax:
:SENSe[
n
]:[CHANnel[
m
]]:POWer:UNIT<wsp>DBM|0|Watt|1
description:
Sets the sensor power unit
parameters:
An
integer
value:
0: dBm
1: Watt
or DBM or Watt
response:
none
example:
sens1:pow:unit 1
affects:
All power meters
dual sensors:
Master and slave channels are independent.
command:
:SENSe[
n
]:[CHANnel[
m
]]:POWer:UNIT?
syntax:
:SENSe[
n
]:[CHANnel[
m
]]:POWer:UNIT?
description:
Inquires the current sensor power unit
parameters:
none
response:
An
integer
value:
0: Current power units are dBm.
1: Current power units are Watts.
example:
sens1:pow:unit?
->
+1<END>
affects:
All power meters
dual sensors:
Master and slave channels are independent.
command:
:SENSe[
n
]:[CHANnel[
m
]]:POWer:WAVelength
syntax:
:SENSe[
n
]:[CHANnel[
m
]]:POWer:WAVelength<wsp><value>|MIN|MAX|DEF [PM|NM|UM|MM|M]
description:
Sets the sensor wavelength. Frequent use of this command can conflict with the timing of autoranging in some
configurations. Autorange can be disabled before and enabled after the command if needed.
parameters:
The wavelength as a
float
value in meters.