ConfigurePeakSearchThreshold(string, RFmxVnaMXMarkerPeakSearchThresholdEnabled, double)
- Updated2025-10-13
- 1 minute(s) read
Configures the peak-search threshold. When peak-thresholding is enabled, Marker Search method in peak search mode finds the peaks that exceed this value and discards all other peaks.
Use "marker(n)" as the selector string to configure this method.
Syntax
Namespace: NationalInstruments.RFmx.VnaMX
public int ConfigurePeakSearchThreshold(string selectorString, RFmxVnaMXMarkerPeakSearchThresholdEnabled thresholdEnabled, double threshold)
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies a selector string comprising of marker number. |
| thresholdEnabled | RFmxVnaMXMarkerPeakSearchThresholdEnabled | Specifies whether Marker Search method finds a peak above specified Threshold or finds a peak without considering any Threshold constraint. |
| threshold | double | Specifies the threshold value that a valid peak must exceed when you use Marker Search method to find peaks. The threshold is expressed in the same units as the source data. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.