Gets the peak amplitude, in dBm, of the averaged spectrum.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int GetPeakAmplitude(string selectorString, out double value)

Remarks

This method maps to the RFmxSpecAn_SpectrumGetResultsPeakAmplitude() function in C.

Parameters

NameTypeDescription
selectorStringstring

Specifies the result name. Example: "", "result::r1". You can use the BuildResultString(string) method to build the selector string.

valueout double

Upon return, contains the peak amplitude, in dBm, of the averaged spectrum.

Returns

Returns the status code of this method. The status code either indicates success or describes an error or warning condition.