Sets the array of effective noise ratio (ENR) values of the noise source as a function of the frequency. This value is expressed in dB. The corresponding frequencies are specified by the SetYFactorNoiseSourceEnrFrequency(string, double[]) method. This method is used only when you set the SetMeasurementMethod(string, RFmxSpecAnMXNFMeasurementMethod) method to YFactor.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int SetYFactorNoiseSourceEnr(string selectorString, double[] value)

Remarks

This method sets the value of NFYFactorNoiseSourceEnr attribute.The default value is an empty array.

Parameters

NameTypeDescription
selectorStringstring

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

valuedouble[]

Specifies the array of effective noise ratio (ENR) values of the noise source as a function of the frequency. This value is expressed in dB. The corresponding frequencies are specified by the SetYFactorNoiseSourceEnrFrequency(string, double[]) method. This method is used only when you set the SetMeasurementMethod(string, RFmxSpecAnMXNFMeasurementMethod) method to YFactor.

Returns

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