Property (Read-Write)
All revision:
SCPI.CALCulate(Ch).SELected.MATH.FUNCtion = Param
Param = SCPI.CALCulate(Ch).SELected.MATH.FUNCtion
In revision A.9.60 and above, the following syntax is also supported:
SCPI.CALCulate(Ch).TRACe(Tr).MATH.FUNCtion = Param
Param = SCPI.CALCulate(Ch).TRACe(Tr).MATH.FUNCtion
This command sets/gets the data trace display method (math method between measurement data and memory trace data), for the active trace of selected channel (Ch).
The math result according to this setting is displayed on the data trace.
In revision A.9.60 and above, you can select the trace and set/get the data trace display method for the trace just by executing the above TRACe(Tr) command. You do not need to execute SCPI.CALCulate(Ch).PARameter(Tr).SELect.
Parameter |
Param |
Description |
Math method between measurement data and memory trace data |
Data type |
Character string type (String) |
Range |
Select from the following:
Where Data is the measurement data (corrected data array) and Mem is the data stored in the memory trace (corrected memory array). |
Preset value |
"NORMal" |
Dim MathFunc As String
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).SELected.MATH.FUNCtion = "div"
MathFunc = SCPI.CALCulate(1).SELected.MATH.FUNCtion
SCPI.CALCulate(Ch).PARameter(Tr).SELect
Display > Data Math > OFF|Data / Mem|Data * Mem|Data - Mem|Data + Mem
All revision:
:CALCulate{[1]-160}[:SELected]:MATH:FUNCtion {NORMal|
SUBTract|DIVide|ADD|MULTiply}
:CALCulate{[1]-160}[:SELected]:MATH:FUNCtion?
In revision A.9.60 and above, the following syntax is also supported:
:CALCulate{[1]-160}:TRACe{[1]-16}:MATH:FUNCtion {NORMal|
SUBTract|DIVide|ADD|MULTiply}
:CALCulate{[1]-160}:TRACe{[1]-16}:MATH:FUNCtion?
{NORM|DIV|MULT|SUBT|ADD}<newline><^END>
10 OUTPUT 717;":CALC1:MATH:FUNC DIV"
20 OUTPUT 717;":CALC1:MATH:FUNC?"
30 ENTER 717;A$