Math Operation Commands
See also “Math Operations,” starting on page 63 in chap ter 3.
There are five math operations available, only one of which can be
enabled at a time. Each math operation performs a mathematical
operation on each reading or stores data on a series of readings.
The selected math operation remains in effect until you disable it,
change functions, turn off the power, or perform a remote interface
reset. The math operations use one or more internal registe rs. You can
preset the values in some of the registers, while others hold the results
of the math operation.
The following table shows the math/measurement function combinations
allowed. Each “X” indicates an allowable combination. If you choose a
math operation that is not allowed with the present measurement
function, math is turned off. If you select a valid math operation and
then change to one that is invalid, a “Settings conflict” error is generated
over the remote interface. For null and dB measurements, you must turn
on the math operation bef ore writing to their math re gisters.
CALCulate:FUNCtion {NULL|DB|DBM|AVERage|LIMit}
Select the math function. Only one function can be enabled at a time.
The default function is null. [Stored in volatile memory]
CALCulate:FUNCtion?
Query the present math function. Returns NULL, DB, DBM, AVER, or LIM.
CALCulate:STATe {OFF|ON}
Disable or enable the selected math function. [Stor ed in volatile memory]
CALCulate:STATe?
Query the state of the math function. Returns “0” (OFF) or “1” ( ON).
Null
Min-Max
dB
dBm
Limit
DC V
X
X
X
X
X
AC V
X
X
X
X
X
DC I
X
X
X
AC I
X
X
X
2W
X
X
X
4W
X
X
X
Freq
X
X
X
Per
X
X
X
Cont Diode Ratio
X
X
Chapter 4 Remote Interface Reference
Math Operation Commands
124