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

NameTypeDescription
selectorStringstring

Specifies a selector string comprising of marker number.
Example:
"marker0"
You can use the BuildMarkerString(string, int) method to build the selector string.

thresholdEnabledRFmxVnaMXMarkerPeakSearchThresholdEnabled

Specifies whether Marker Search method finds a peak above specified Threshold or finds a peak without considering any Threshold constraint.

thresholddouble

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.