Configures the threshold level for the samples that need to be considered for the transmit power (TXP) measurement. Enable the threshold when analyzing burst signals or signals with dead time.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureThreshold(string selectorString, RFmxSpecAnMXTxpThresholdEnabled thresholdEnabled, double thresholdLevel, RFmxSpecAnMXTxpThresholdType thresholdType)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

thresholdEnabledRFmxSpecAnMXTxpThresholdEnabled

Specifies whether to enable thresholding of the acquired samples to be used for the measurement.

thresholdLeveldouble

Specifies either the relative or absolute threshold power level based on the value of the SetThresholdType(string, RFmxSpecAnMXTxpThresholdType) method.

thresholdTypeRFmxSpecAnMXTxpThresholdType

Specifies the reference for the power level used for thresholding.

Returns

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