RFmxSpecAnMXNFConfiguration.RecommendReferenceLevel Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Computes and sets an appropriate reference level based on the expected maximum DUT gain, maximum DUT noise figure, and other measurement and analyzer methods. You must not set Mixer Level, Mixer Level Offset, IF Output Power Level Offset, and IF Filter Bandwidth methods in order to obtain an appropriate recommended reference level.
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 RecommendReferenceLevel( string selectorString, double dutMaxGain, double dutMaxNoiseFigure, out double referenceLevel )
Public Function RecommendReferenceLevel ( selectorString As String, dutMaxGain As Double, dutMaxNoiseFigure As Double, <OutAttribute> ByRef referenceLevel As Double ) As Integer
Parameters
- selectorString String
-
Specifies a selector string comprising of the result name. If you do not specify the result name, the default result instance is used.
Example:
""
""
"result::r1"
You can use the BuildResultString(String) method to build the selector string. - dutMaxGain Double
-
Upon return, contains the expected maximum gain from the DUT. This value is expressed in dB.
- dutMaxNoiseFigure Double
-
Upon return, contains the expected maximum noise figure of the DUT. This value is expressed in dB.
- referenceLevel Double
-
Upon return, contains the recommended reference level for the NF measurement. This value is configured in dBm for RF devices and as Vpk-pk for baseband devices.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.