Sets the reference level which represents the maximum expected power of the RF input signal.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int SetReferenceLevel(string selectorString, double value)

Remarks

This method maps to the RFmxSpecAn_SetReferenceLevel() function in C.

Parameters

NameTypeDescription
selectorStringstring

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

valuedouble

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

Returns

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