Sets the gain to be used as the gain reference for compression point calculation when you set the AmpmCompressionPointGainReference attribute to <bold>User Defined</bold>. This value is expressed in dB.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int SetCompressionPointUserGain(string selectorString, double value)

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

valuedouble

Specifies the gain to be used as the gain reference for compression point calculation when you set the AmpmCompressionPointGainReference attribute to <bold>User Defined</bold>. This value is expressed in dB.

Returns

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