Configures the RF methods of the signal specified by the selector string.

Syntax

Namespace: NationalInstruments.RFmx.PulseMX

public int ConfigureRF(string selectorString, double centerFrequency, double referenceLevel, double externalAttenuation)

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

centerFrequencydouble

Specifies the expected carrier frequency, in Hz, of the RF signal to acquire. The signal analyzer tunes to this frequency. The default of this method is hardware dependent.

referenceLeveldouble

Specifies the reference level which represents the maximum expected power of an RF input signal. This value is configured in dBm for RF devices and as Vpk-pk for baseband devices. The default of this method is hardware dependent.

externalAttenuationdouble

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.

Returns

Returns the status code of this method. The status code either indicates success or describes a warning condition.