17-22
SCPI Command Reference
Calculate subsystems
There are three Calculate Subsystems. The CALC1 Subsystem is used for math expressions,
CALC2 is used for limit tests, and CALC3 provides statistical data on readings stored in the
buffer. The commands in these subsystems are summarized in Table 17-1.
CALCulate[1]
Con
fi
gure and control math expressions
NOTE
Percent deviation (%DEV) is included in the catalog as a built-in math expression
but is only available from the front panel. However, percent deviation can be added
as a user-defined math expression for remote operation. See “Program examples.”
Select (create) math expression name
:CATalog?
:CALCulate[1]:MATH[:EXPression]:CATalog?
Query list of expression names
Description
This query command is used to list the math expression names. This list
includes the built-in expression names as well as the names of expressions
de
fi
ned by the user. The names for the built-in expressions are as follows:
“
POWER
”
,
“
OFFCOMPOHM
”
,
“
VOLTCOEF
”
,
“
VARALPHA
”
,
“
%DEV
”
Thus, the :CATalog? command will return the above names as well as the
names of any user-de
fi
ned expressions. See :NAME to assign names to user-
de
fi
ned expressions.
:NAME <name>
:CALCulate[1]:MATH[:EXPression]:NAME <name>
Select math expression
Parameters
<name> =
“
POWER
”
Instantaneous power equation
“
OFFCOMPOHM
”
Offset compensated ohms equation
“
VOLTCOEF
”
Resistor voltage coef
fi
cient equation
“
VARALPHA
”
Varistor alpha equation
“
user-name
”
Assigned name for user-de
fi
ned
expression where the user name is made
up of ASCII characters (up to 10).
Query
:NAME?
Query selected math expression
Description
This command can be used to select a math expression that already exists
(built-in or user-de
fi
ned). Math expression names that already exist can be
listed using the :CATalog? command. The actual math expression can be
read using the :MATH? command. The built-in math expressions (except
POWER) require a two-point sweep in order to perform the calculation. The
“
Program fragments
”
show how to con
fi
gure the SourceMeter for these
math expressions.
Содержание 6430
Страница 26: ......
Страница 32: ......
Страница 78: ...2 14 Connections ...
Страница 98: ...3 20 Basic Source Measure Operation ...
Страница 138: ...5 30 Source Measure Concepts ...
Страница 156: ...6 18 Range Digits Speed and Filters ...
Страница 168: ...7 12 Relative and Math ...
Страница 176: ...8 8 Data Store ...
Страница 202: ...9 26 Sweep Operation ...
Страница 248: ...11 22 Limit Testing ...
Страница 310: ...16 6 SCPI Signal Oriented Measurement Commands ...
Страница 418: ...17 108 SCPI Command Reference ...
Страница 450: ...18 32 Performance Verification ...
Страница 477: ...A Specifications ...
Страница 489: ...B StatusandErrorMessages ...
Страница 498: ...B 10 Status and Error Messages ...
Страница 499: ...C DataFlow ...
Страница 503: ...D IEEE 488BusOverview ...
Страница 518: ...D 16 IEEE 488 Bus Overview ...
Страница 519: ...E IEEE 488andSCPI ConformanceInformation ...
Страница 523: ...F MeasurementConsiderations ...
Страница 539: ...G GPIB488 1Protocol ...
Страница 557: ......