92
8163A/B, 8164A/B & 8166A/B Mainframes Programming Guide
4
Measurement Operations & Settings
command:
:READ[
n
][:CHANnel[
m
]]:POWer:ALL:CONFig?
syntax:
:READ[
n
]:[CHANnel[
m
]]:POWer[:DC]:ALL:CONFig?
description:
Returns the slot and channel numbers for all available power meter channels.
Use this command to match returned power values to the appropriate slot and channel number.
parameters:
none
response:
A binary block (Intel byte order) consisting of 2-byte unsigned integer value pairs (so each pair has 4 bytes). The first
member of the pair represents the the slot number, the second member of the pair represents the channel number.
example:
read1:pow:all:conf?
->
interpreted as
1|1|1|2|12|1<END>
This 12-byte block means that there are three powermeters present:
Slot 1, Channel 1
Slot 1, Channel 2
Slot 12, Channel 1
affects:
All power meters (v3.0x firmware or later).
dual sensors:
command:
:READ[
n
][:CHANnel[
m
]][:SCALar]:POWer[:DC]?
syntax:
:READ[
n
]:[CHANnel[
m
]][:SCALar]:POWer[:DC]?
description:
Reads the current power meter value, or for a return loss module the power value at the return loss diode (back reflection
path). It provides its own software triggering and does not need a triggering command.
If the software trigger system operates continuously (see
:INITiate[n]:[CHANnel[m]]:CONTinuous?
page 91), this command is identical to
:FETCh[n][:CHANnel[m]][:SCAlar]:POWer[:DC]?
If the software trigger system does not operate continuously, this command is identical to generating a software trigger
(
:INITiate[n]:[CHANnel[m]][:IMMediate]
on page 89) and then reading the power meter value.
The power meter must be running for this command to be effective.
parameters:
none
response:
The current power meter reading as a
float
value in dBm, W or dB.
If the reference state is absolute, units are dBm or W.
If the reference state is relative, units are dB.