
4- 16 Agilent B2900 SCPI Command Reference, Edition 2
Subsystem Commands
:CALCulate:MATH[:EXPRession]:CATalog?
: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-17. Also see “Predefined math expressions” on page 4-18 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]?
Parameter definition Definition of a math expression. Up to 256 ASCII characters.
Parameter data type is Expr. The expression must be enclosed
by parentheses. For example, definition=(SOUR2/CURR2).
Maximum of 32 math expressions can be defined including the
predefined math expressions.
Query response definition <newline>
definition returns the definition of the math expression currently selected. For
example, definition returns (SOUR2/CURR2). Response data type is Expr.
Example :CALC:MATH:EXPR:NAME “Expression_for_ch1”
:CALC:MATH:EXPR:DEF
((CURR[1]-CURR[0])*(RES[1]-RES[0]))
:CALC:MATH?
Komentarze do niniejszej Instrukcji