Sets the reference for the power level used for thresholding.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int SetThresholdType(string selectorString, RFmxSpecAnMXAmpmThresholdType value)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

valueRFmxSpecAnMXAmpmThresholdType

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