6-6 Averaging Filter, Math, and Buffer Model 6220/6221 User’s Manual
Return to Section 6 topics
Configuring mX+b and m/X+b
To select and configure mX+b and m/X+b from the front panel, press CONFIG
then MATH. Select the math function (MX+B or M/X+B), then enter the required
parameters (m and b). Once a math function is selected, press the MATH key to
toggle math on or off. The MATH annunciator will turn on to indicate that the math
function is enabled.
Remote programming – Math
Commands for mX+b and m/X+b math calculations are listed in Table 6-3.
Programming example — mX+b
This command sequence performs a single mX+b calculation and displays the
result on the computer CRT. Note that Delta, Pulse Delta, or Differential Conduc-
tance must be running when the CALC1 read command is sent.
Table 6-3
Math commands
Command Description Default
CALCulate[1]:FORMat <name> Select math format.
<name> = NONE, MXB or RECiprocal
MXB
CALCulate[1]:KMATh:MMFactor <NRf> Set “m” factor for mX+b and m/X+b.
<NRf> = -9.99999e20 to 9.99999e20
1.0
CALCulate[1]:KMATh:MA1Factor <NRf> Set “m” factor for mX+b and m/X+b.
(same as MMFactor)
1.0
CALCulate[1]:KMATh:MBFactor <NRf> Set “b” factor for mX+b and m/X+b.
<NRf> = -9.99999e20 to 9.99999e20
0.0
CALCulate[1]:KMATh:MA0Factor <NRf> Set “b” factor for mX+b and m/X+b.
(same as MBFactor)
0.0
CALCulate[1]:STATe <b> Enable or disable CALC1 calculation OFF
CALCulate[1]:DATA[:LATest]? Return the latest CALC1 result.
CALCulate[1]:DATA:FRESh? Same as CALC1:DATA? except a reading
can only be returned once.
CALC1:FORM MXB ‘ Select mX+b math format.
CALC1:KMAT:MMF 2e-3 ‘ Set scale factor (M) to 2e-3.
CALC1:KMAT:MBF 5e-4 ‘ Set offset (B) to 5e-4.
CALC1:STAT ON ‘ Enable CALC1 (math).
CALC1:DATA? ‘ Request latest CALC1 reading.