Gets the average linear gain, in dB, of the device under test, computed by rejecting signal samples containing gain compression.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int GetMeanLinearGain(string selectorString, out double value)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

valueout double

Returns the average linear gain, in dB, of the device under test, computed by rejecting signal samples containing gain compression.

Returns

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