Sets whether the measurement calibrates the noise floor of analyzer or performs the spectrum measurement. Refer to the measurement guidelines section in the Noise Compensation Algorithm topic for more information.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int SetMeasurementMode(string selectorString, RFmxSpecAnMXSpectrumMeasurementMode value)

Remarks

This method sets the value of SpectrumMeasurementMode attribute.The default value is Measure.

Parameters

NameTypeDescription
selectorStringstring

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

valueRFmxSpecAnMXSpectrumMeasurementMode

Specifies whether the measurement calibrates the noise floor of analyzer or performs the spectrum measurement. Refer to the measurement guidelines section in the Noise Compensation Algorithm topic for more information.

Returns

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