Gets 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 GetNumberOfCarriers(string selectorString, out int value)

Remarks

This method gets 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.

valueout int

Upon return, contains 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.