Sets either the relative or absolute threshold power level based on the value of the NationalInstruments.RFmx.SpecAnMX.RFmxSpecAnMXAmpmConfiguration.GetThresholdType(string,NationalInstruments.RFmx.SpecAnMX.RFmxSpecAnMXAmpmThresholdType@) method.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int SetThresholdLevel(string selectorString, double value)

Remarks

This method maps to the RFmxSpecAn_AMPMSetThresholdLevel() function in C.

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

valuedouble

Contains either the relative or absolute threshold power level based on the value of the NationalInstruments.RFmx.SpecAnMX.RFmxSpecAnMXAmpmConfiguration.GetThresholdType(string,NationalInstruments.RFmx.SpecAnMX.RFmxSpecAnMXAmpmThresholdType@) method.

Returns

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