4- 8 Keysight B2961A/B2962A SCPI Command Reference, Edition 6
Subsystem Commands
CALCulate Subsystem
:CALCulate:MATH[:EXPRession]:DELete[:SELected]
Deletes an user-defined math expression. This command cannot delete a predefined
math expression.
Syntax :CALCulate[c]:MATH[:EXPRession]:DELete[:SELected] name
Parameter name Name of the math expression to delete. Up to 32 ASCII
characters. Parameter data type is SPD.
Example :CALC2:MATH:EXPR:DEL:SEL “TempExpression1”
:CALCulate:MATH[:EXPRession]:NAME
Selects a math expression used for calculation. A predefined math expression or an
user-defined math expression can be specified by the name parameter.
See “Predefined math expressions” on page 4-6 for the definition of predefined
math expressions.
A new user-defined math expression can be added by executing this command with
a new name, and executing the
:CALCulate:MATH[:EXPRession][:DEFine]
command with a new definition.
Existing user-defined math expression can be changed by executing this command
with its name, and executing the
:CALCulate:MATH[:EXPRession][:DEFine]
command with a new definition.
Syntax :CALCulate[c]:MATH[:EXPRession]:NAME name
:CALCulate[c]:MATH[:EXPRession]:NAME?
Parameter name Name of a math expression. Up to 32 ASCII characters without
any control characters, space characters, single and double
quotes, and comma. Parameter data type is SPD.
Query response name <newline>
name returns the name of the math expression currently selected. For example,
name returns “Expression_for_ch2”. Response data type is SRD.
Example :CALC2:MATH:EXPR:NAME “Expression_for_ch2”
:CALC2:MATH:NAME?