Sets the mathematical operation between the configured S-Parameter and its active measurement memory. All mathematical operations are applied on complex data before being formatted.

Syntax

Namespace: NationalInstruments.RFmx.VnaMX

public int SetMathFunction(string selectorString, RFmxVnaMXSParamsMathFunction value)

Remarks

This method sets the value of SParamsMathFunction attribute.The default value is Off.

Parameters

NameTypeDescription
selectorStringstring

Specifies the sparam number and signal number.
Example:
"signal0" or
"signal0/sparam0".
You can use the BuildSParameterString(string, int) method to build the selector string.

valueRFmxVnaMXSParamsMathFunction

Specifies the mathematical operation between the configured S-Parameter and its active measurement memory. All mathematical operations are applied on complex data before being formatted.

Returns

Returns the status code of this method. The status code either indicates success or describes a warning condition.