RFmxDemodMX.ConfigureRF Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Configures the RF properties of the signal by specifying the selector string.
Namespace: NationalInstruments.RFmx.DemodMX
Assembly: NationalInstruments.RFmx.DemodMX.Fx40 (in NationalInstruments.RFmx.DemodMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)
Syntax
public int ConfigureRF( string selectorString, double centerFrequency, double referenceLevel, double externalAttenuation )
Public Function ConfigureRF ( selectorString As String, centerFrequency As Double, referenceLevel As Double, externalAttenuation As Double ) As Integer
Parameters
- selectorString String
- Pass an empty string. The signal name passed when creating the signal configuration is used.
- centerFrequency Double
- Specifies the carrier frequency, in hertz (Hz), of the RF signal that needs to be acquired. The signal analyzer tunes to this frequency.
- referenceLevel Double
- Specifies the reference level which represents the maximum expected power of the RF input signal. This value is expressed in dBm for RF devices and Vpk-pk for baseband devices.
- externalAttenuation Double
- Specifies the attenuation, in dB, of a switch (or cable) connected to the RF IN connector of the signal analyzer. For more information about attenuation, refer to the Attenuation and Signal Levels topic for your device in the NI RF Vector Signal Analyzers Help.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.
Remarks
This method maps to the RFmxDemod_CfgRF() function in C.