GetCompressionPointGainReferencePower(string, out double)
- Updated2025-10-13
- 1 minute(s) read
Gets 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 GetCompressionPointGainReferencePower(string selectorString, out double value)
Remarks
This method gets 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 | out double | Upon return, contains 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.