Sets 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 SetDetectionThreshold(string selectorString, double value)

Remarks

This method sets 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.

valuedouble

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