SetCompressionPointGainReferencePower(string, double)
- Updated2025-10-13
- 1 minute(s) read
Sets the reference power corresponding to the gain reference to be used for compression point calculation when you set the SetCompressionPointGainReference(string, RFmxSpecAnMXAmpmCompressionPointGainReference) method to ReferencePower. The reference power can be configured as either input or output power based on the value of the SetReferencePowerType(string, RFmxSpecAnMXAmpmReferencePowerType) method. This value is expressed in dBm.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int SetCompressionPointGainReferencePower(string selectorString, double value)
Remarks
This method sets the value of AmpmCompressionPointGainReferencePower attribute.The default value is -20.
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 reference power corresponding to the gain reference to be used for compression point calculation when you set the SetCompressionPointGainReference(string, RFmxSpecAnMXAmpmCompressionPointGainReference) method to ReferencePower. The reference power can be configured as either input or output power based on the value of the SetReferencePowerType(string, RFmxSpecAnMXAmpmReferencePowerType) method. This value is expressed in dBm. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.