IEEE-488 Reference
3-67
3.12
Calculate subsystems
The commands in this subsystem are used to configure and control the three Calculate sub-
systems and are summarized in Table 3-4.
:CALCulate[1]
This subsystem is used to configure and control the Polynomial and Percent math calculations.
Detailed information on math calculations is provided in paragraph 2.10.
:FORMat <name>
:CALCulate[1]:FORMat <name> Specify CALC 1 format
<name> = NONE No calculation
POLynomial Polynomial math calculation
PERCent Percent math calculation
PDEViation Percent deviation math calculation
:FORMat? Query programmed math format
This command is used to specify the format for the CALC 1 math calculation. With NONE
selected, no CALC 1 calculation is performed. With one of the other formats selected and
CALC 1 enabled (see :STATe), the result of the calculation is displayed. The calculated reading
is refreshed every time the instrument takes a reading.
PRINT #1, "output 16; :calc:form perc; form?" ' Select percent and query
format
PRINT #1, "enter 16" ' Get response message from
2002
:KMATh commands
:MA0Factor <NRf>
:CALCulate[1]:KMATh:MA0Factor <NRf> Specify “a0” factor
<NRf> = -9.999999e30 to +9.999999e30
:MA0Factor Query “a0” factor
This command is used to define the “a0” factor for the polynomial calculation.
PRINT #1, "output 16; :calc:kmat:ma0f 6; ma0f?" ' Set "a0" and query.
PRINT #1, "enter 16" ' Get response from 2002
:MA1Factor <NRf>
:CALCulate[1]:KMATh:MA1Factor <NRf> Specify “a1” factor
<NRf> = -9.999999e20 to +9.999999e20
:MA1Factor Query “a1” factor
3.12.1
Parameters
Query
Description
Program fragment
Parameters
Query
Description
Program fragment
Parameters
Query