Remote Operation
CALCulate Subsystem Commands
CALCulate[123456]:MATH[:EXPRession][:DEFine] (<expression>)
CALCulate[123456]:MATH[:EXPRession][:DEFine]?
<expression> ::= | <trace_name><operator><trace_name>[<operator><numeric_value>] |
<operator> ::= |
Note
The parentheses in the above expression are required for proper operation of this com- mand.
Defines a math expression to be used when the math operations are turned ON. The <expression> can contain a <trace_name> as operands. The math operations will be performed in linear units. If, for example, the desired operation is TRA – TRB in log units, the expression should be defined as TRA / TRB. Each CALCulate subsystem can have one expression defined. Recursive expressions are not allowed.
Example Statements:
For the equivalent of the front panel C = Alog – B key:
OUTPUT 723 "CALC3:MATH:EXPR (TRA / TRB)"
For the equivalent of the front panel C = Alog + B key:
OUTPUT 723 "CALC3:MATH:EXPR (TRA * TRB)"
For the equivalent of the front panel C = Alin – B key:
OUTPUT 723 "CALC3:MATH:EXPR (TRA – TRB)"
For the equivalent of the front panel C = Alin + B key:
OUTPUT 723 "CALC3:MATH:EXPR (TRA + TRB)"
For the equivalent of the front panel F = Clog – D key:
OUTPUT 723 "CALC6:MATH:EXPR (TRC / TRD)"
Note
CALC1 controls TRA, CALC2 controls TRB, CALC3 controls TRC, CALC4 controls TRD,
CALC5 controls TRE, and CALC6 controls TRF.