Write/Read
About Math Operations

TraceMath Property


Description

Performs math operations on the measurement object and the trace stored in memory. (There MUST be a trace stored in Memory to perform math. See Meas.DataToMemory method.)

 VB Syntax

meas.TraceMath = value

Variable

(Type) - Description

meas

A Measurement (object)

value

(enum NAMathOperation) - Choose from:

0 - naDataNormal
1
- naDataMinusMemory
2
- naDataPlusMemory
3
- naDataDivMemory
4
- naDataTimesMemory

Return Type

NAMathOperation

Default

Normal (0)

Examples

meas.TraceMath = naDataMinusMemory 'Write

mathOperation = meas.TraceMath 'Read

C++ Syntax

HRESULT get_TraceMath(tagNAMathOperation* pMathOp)
HRESULT put_TraceMath(tagNAMathOperation mathOp)

Interface

IMeasurement