SCPI.CALCulate(Ch).SELected.MATH.FUNCtion

Object type

Property (Read-Write)

Syntax

SCPI.CALCulate(Ch).SELected.MATH.FUNCtion = Param

Param = SCPI.CALCulate(Ch).SELected.MATH.FUNCtion

Description

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).

Variable

Parameter

Param

Description

Math method between measurement data and memory trace data

Data type

Character string type (String)

Range

Select from the following:

  • "NORMal": Specifies Data (no math).

  • "DIVide": Specifies Data / Mem.

  • "MULTiply": Specifies Data × Mem.

  • "SUBTract": Specifies Data - Mem.

  • "ADD": Specifies 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"

Examples

Dim MathFunc As String
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).SELected.MATH.FUNCtion = "div"
MathFunc = SCPI.CALCulate(1).SELected.MATH.FUNCtion

Related objects

SCPI.CALCulate(Ch).PARameter(Tr).SELect

Equivalent key

Display > Data Math > OFF | Data / Mem | Data * Mem |Data - Mem | Data + Mem

Equivalent SCPI command

Syntax

:CALCulate{[1]-4}[:SELected]:MATH:FUNCtion {NORMal|
SUBTract|DIVide|ADD|MULTiply}

:CALCulate{[1]-4}[:SELected]:MATH:FUNCtion?

Query response

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

Example of use

10 OUTPUT 717;":CALC1:MATH:FUNC DIV"
20 OUTPUT 717;":CALC1:MATH:FUNC?"
30 ENTER 717;A$