Gets the peak power of the acquired signal, relative to the GetMeanPower(string, out double) method.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int GetPeakPower(string selectorString, out double value)

Remarks

This method maps to the RFmxSpecAn_CCDFGetResultsPeakPower() 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 power of the acquired signal, relative to the GetMeanPower(string, out double) method.

Returns

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