58542 VXIbus Universal Power Meter
2-26 Publication 21555, Rev. E, September 2002
Example programs for Channel Configuration are contained in Appendix A.
CALC#:UNIT
Syntax:
CALCulate<channel 1 to 2>:UNIT[:POWer]space<data units selection, dBm or Watt>
Example:
OUTPUT @PWR_MTR;CALC1:UNIT W ! SELECTS CHANNEL 1 LINEAR UNITS, WATTS
Example 2:
OUTPUT @PWR_MTR;CALC1:UNIT DBM ! SELECTS CHANNEL 1 LOG UNITS, DBM
Description:
This command configures a channel to report power measurements in either linear Watts
units or logarithmic dBm units. When UNIT is dBm, the RATio configuration produces
measurements in dB, and POWer and DIFF measurements in dBm. When UNIT is Watts, the
RATio configuration measurements are percentages, and POWer and DIFF measurements
are in Watts.
CALC#:STAT
Syntax:
CALCulate<channel 1 to 2>:STATespace<ON | OFF>
Example:
OUTPUT @PWR_MTR;CALC1:STAT OFF ! DISABLES CHANNEL 1 MEASUREMENT
Description:
This command turns a channel off or on. Default is ON. During Normal and Swift modes,
measurement speed increases when only one sensor (Channel Configuration is
CALC#:POW) is performing measurements.
CALC#:STAT?
Syntax:
CALCulate<channel 1 to 2>:STATe?
Example:
OUTPUT @PWR_MTR;CALC1:STAT? ! QUERIES CHANNEL 1 MEASUREMENT STATUS
Response:
0 = off, 1 = on
Description:
This command is the query format of the command above.