Gets the threshold used for pulse detection. The unit dB or dBm is based on the value you set to the SetDetectionReference(string, RFmxPulseMXPulseDetectionReference) method.

Syntax

Namespace: NationalInstruments.RFmx.PulseMX

public int GetDetectionThreshold(string selectorString, out double value)

Remarks

This method gets the value of PulseDetectionThreshold attribute.The default value is -20. Valid values are -100 to 100, inclusive.

Parameters

NameTypeDescription
selectorStringstring

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

valueout double

Upon return, contains the threshold used for pulse detection. The unit dB or dBm is based on the value you set to the SetDetectionReference(string, RFmxPulseMXPulseDetectionReference) method.

Returns

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