31
Table 6. CALCulate command summary
Command Description
:CALCulate[1]
:FORMat <name>
:FORMat?
:KMATh
:MMFactor <NRf>
:MMFactor?
:MBFactor <NRf>
:MBFactor?
:MUNits <name>
:MUNits?
:PERCent <NRf>
:ACQuire
:PERCent?
:STATe <b>
:STATe?
:DATA?
Subsystem to control CALC 1:
Select math format (NONE, MXB, PER-
Cent).
Query math format.
Path to configure math calculations:
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 (three
characters ‘A’ through ‘Z’).
Query “mx+b” units.
Set target value for PERCent calcula-
tion (-100e6 to 100e6).
Use input signal as target value.
Query percent.
Enable or disable kmath calculation.
Query state of kmath function.
Read result of kmath calculation.
:CALCulate2
:FORMat <name>
:FORMat?
:STATe <b>
:STATe?
:IMMediate
:IMMediate?
:DATA?
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.
2000-903-01A Page 31 Thursday, December 23, 1999 7:52 AM