Property (Read-Write)
SCPI.CALCulate(Ch).SELected.MATH.FUNCtion = Param
Param = SCPI.CALCulate(Ch).SELected.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 the selected channel ( Ch).
The math result according to this setting is displayed on the data trace.
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
:CALCulate{[1]-4}[:SELected]:MATH:FUNCtion {NORMal|
SUBTract|DIVide|ADD|MULTiply}
:CALCulate{[1]-4}[:SELected]: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$