34
Table 6. CALCulate command summary
Command
Description
Default
param.
SCPI
CALCulate[1]
:FORMat <name>
:FORMat?
:KMATh
:MMFactor <NRf>
:MMFactor?
:MBFactor <NRf>
:MBFactor?
:MUNits <name>
:MUNits?
:PERCent <NRf>
:ACQuire
:PERCent?
:STATe <b>
:STATe?
:DATA?
:CALCulate2
:FORMat <name>
:FORMat?
:STATe <b>
:STATe?
:IMMediate
:IMMediate?
:DATA?
CALCulate3
:LIMit[1]
:UPPer
[:DATA] <n>
[:DATA]?
:LOWer
[:DATA] <n>
[:DATA]?
:STATe <b>
:STATe?
:FAIL?
Subsystem to control CALC 1:
Select math format (NONE,
MXB, PERCent).
Query math format.
Path to configure math calcula-
tions:
Set “m” factor for mx+b
(-100e6 to 100e6).
Query “m” factor.
Set “b” factor for mx+b
(-100e6 to 100e6).
Query “b” factor.
Specify units for mx+b reading
(two characters ‘A’ through
‘Z’).
Query “mx+b” units.
Set target value for PERCent
calculation (-100e6 to
100e6).
Use input signal as target
value.
Query percent.
Enable or disable kmath calcula-
tion.
Query state of kmath function.
Read result of kmath calculation.
Subsystem to control CALC 2:
Select math format: (MEAN,
SDEViation, MAXimum,
MINimum, or NONE).
Query math format.
Enable or disable calculation.
Query state of math function.
Recalculate raw input data in
buffer.
Perform calculation and read
result.
Read math result of CALC 2.
Subsystem to control CALC 3
(limit test):
Path to control LIMIT 1 test:
Path to configure upper limit:
Set upper limit (-100e6 to
100e6).
Query upper limit.
Path to configure lower limit:
Set lower limit (-100e6 to
100e6).
Query lower limit.
Enable or disable limit test.
Query state of limit test.
Query test result (1 = pass,
0 = fail).
PERCent
1
0
MX
1
(Note)
NONE
(Note)
1
-1
Off
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√