ConfigureThreshold(string, RFmxSpecAnMXMarkerThresholdEnabled, double)
- Updated2025-10-13
- 1 minute(s) read
Configures the threshold to use for peak search.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int ConfigureThreshold(string selectorString, RFmxSpecAnMXMarkerThresholdEnabled thresholdEnabled, double threshold)
Remarks
This method maps to the RFmxSpecAn_MarkerCfgThreshold() function in C.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| thresholdEnabled | RFmxSpecAnMXMarkerThresholdEnabled | Specifies whether to enable the threshold for the trace while finding the peaks. |
| threshold | double | Specifies the threshold for finding the peaks on the trace. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.