Sets whether to enable an intermod for the IM measurement. This method is not used when you set the NationalInstruments.RFmx.SpecAnMX.RFmxSpecAnMXIMConfiguration.GetAutoIntermodsSetupEnabled(string,NationalInstruments.RFmx.SpecAnMX.RFmxSpecAnMXIMAutoIntermodsSetupEnabled@) method to True.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int SetIntermodEnabled(string selectorString, RFmxSpecAnMXIMIntermodEnabled value)

Remarks

This method sets the value of IMIntermodEnabled attribute.The default value is True.

Parameters

NameTypeDescription
selectorStringstring

Specifies the imintermod number.
Example: "imintermod0".
You can use the BuildIntermodString(string, int) method to build the selector string.

valueRFmxSpecAnMXIMIntermodEnabled

Specifies whether to enable an intermod for the IM measurement. This method is not used when you set the NationalInstruments.RFmx.SpecAnMX.RFmxSpecAnMXIMConfiguration.GetAutoIntermodsSetupEnabled(string,NationalInstruments.RFmx.SpecAnMX.RFmxSpecAnMXIMAutoIntermodsSetupEnabled@) method to True.

Returns

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