SetDetectionThreshold(string, double)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| value | double | 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.