RFmxPulseMXPulseConfiguration.GetDetectionThreshold Method
- Updated2024-07-17
- 1 minute(s) read
RFmxPulseMXPulseConfigurationGetDetectionThreshold Method
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.
Namespace: NationalInstruments.RFmx.PulseMX
Assembly: NationalInstruments.RFmx.PulseMX.Fx40 (in NationalInstruments.RFmx.PulseMX.Fx40.dll) Version: 24.5.0.49283 (24.5.0.49283)
Syntax
public int GetDetectionThreshold( string selectorString, out double value )
Public Function GetDetectionThreshold ( selectorString As String, <OutAttribute> ByRef value As Double ) As Integer
Parameters
- selectorString
- Type: SystemString
Pass an empty string. The signal name that is passed when creating the signal configuration is used. - value
- Type: SystemDouble
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.
Return Value
Type: Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.
Remarks
This method gets the value of PulseDetectionThreshold attribute.The default value is -20. Valid values are -100 to 100, inclusive.