4- 4 Keysight B2961A/B2962A SCPI Command Reference, Edition 6
Subsystem Commands
CALCulate Subsystem
:CALCulate:MATH:DATA:LATest?
Returns the latest calculation result data. Elements of the returned data are specified
by the
:FORMat:ELEMents:CALCulate command. Math expression for the
calculation is defined by the :CALCulate:MATH[:EXPRession]:NAME and
:CALCulate:MATH[:EXPRession][:DEFine]commands.
Syntax :CALCulate[c]:MATH:DATA:LATest?
Query response data <newline>
Response data type is NR3. See “Data Output Format” on page 1-12.
Example :CALC2:MATH:DATA:LAT?
:CALCulate:MATH[:EXPRession]:CATalog?
Returns the list of all the predefined and user-defined math expression names.
Syntax :CALCulate[c]:MATH[:EXPRession]:CATalog?
Query response catalog <newline>
catalog returns all of the predefined and user-defined math expression names.
Response data type is AARD. For example, if the instrument stores the math
expressions POWER, OFFCOMPOHM, VOLTCOEF, and VARALPHA, catalog
returns “POWER”,“OFFCOMPOHM”,“VOLTCOEF”,“VARALPHA”.
Example :CALC2:MATH:EXPR:CAT?
:CALCulate:MATH[:EXPRession][:DEFine]
Defines a math expression which will be a user-defined math expression. For the
resources effective for the expression, see
“Resources used in the expressions” on
page 4-5. Also see “Predefined math expressions” on page 4-6 for the definition of
predefined expressions.
Before executing this command, the math expression must be selected by
the
:CALCulate:MATH[:EXPRession]:NAME command.
Syntax :CALCulate[c]:MATH[:EXPRession][:DEFine] definition
:CALCulate[c]:MATH[:EXPRession][:DEFine]?