Sets the number of carriers in the reference waveform when you set the SetAutoCarrierDetectionEnabled(string, RFmxSpecAnMXAmpmAutoCarrierDetectionEnabled) method to False.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int SetNumberOfCarriers(string selectorString, int value)

Remarks

This method sets the value of AmpmNumberOfCarriers attribute.The default value is 1.

Parameters

NameTypeDescription
selectorStringstring

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

valueint

Specifies the number of carriers in the reference waveform when you set the SetAutoCarrierDetectionEnabled(string, RFmxSpecAnMXAmpmAutoCarrierDetectionEnabled) method to False.

Returns

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