RFmxSpecAnMXAmpmConfiguration.GetCompressionPointGainReferencePower Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
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.
Namespace: NationalInstruments.RFmx.SpecAnMX
Assembly: NationalInstruments.RFmx.SpecAnMX.Fx40 (in NationalInstruments.RFmx.SpecAnMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)
Syntax
public int GetCompressionPointGainReferencePower( string selectorString, out double value )
Public Function GetCompressionPointGainReferencePower ( selectorString As String, <OutAttribute> ByRef value As Double ) As Integer
Parameters
- selectorString String
- Pass an empty string. The signal name that is passed when creating the signal configuration is used.
- value 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.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.
Remarks
This method gets the value of AmpmCompressionPointGainReferencePower attribute.The default value is -20.