SetCompressionPointUserGain(string, double)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| value | double | 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.