:CALC<Ch>:MATH:FUNC

Type

Command/Query

Syntax

:CALCulate<Ch>[:SELected]:MATH:FUNCtion {NORMal|DIVide|MULTiply|SUBTract|ADD}

:CALCulate<Ch>[:SELected]:MATH:FUNCtion?

 

The following syntax is also supported:

:CALCulate<Ch>:TRACe<Tr>:MATH:FUNCtion {NORMal|DIVide|MULTiply|SUBTract|ADD}

:CALCulate<Ch>:TRACe<Tr>:MATH:FUNCtion?

Description

This command sets/gets the data trace display method (math method between measurement data and memory trace data).

Variable

Parameter

Selection Option

Description

Math method between measurement data and memory trace data

Data Type

Character string type (String)

Range

"NORMal": Data (no math).

"DIVide": Data / Mem.

"MULTiply": Data × Mem.

"SUBTract": Data - Mem.

"ADD": Data + Mem.

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"

Query Response

{NORM|DIV|MULT|SUBT|ADD}<newline><^END>

Examples

Dim Var as String
Var= "NORMal"
Ena.WriteString ":CALC1:MATH:FUNC " & Var, True
Ena.WriteString ":CALC1:MATH:FUNC?", True
Var=Ena.ReadString

Related Commands

:CALC:MATH:MEM

Equivalent Softkey

Display > Data Math

COM Command Syntax (Internal Control Only)

SCPI.CALCULATE(Ch).SELECTED.MATH.FUNCTION

SCPI.CALCULATE(Ch).TRACE(Tr).MATH.FUNCTION