Gets the carrier offset when you set the SetAutoCarrierDetectionEnabled(string, RFmxSpecAnMXAmpmAutoCarrierDetectionEnabled) method to False. This value is expressed in Hz.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int GetCarrierOffset(string selectorString, out double value)

Remarks

This method gets the value of AmpmCarrierOffset attribute.The default value is 0.

Parameters

NameTypeDescription
selectorStringstring

Specifies the carrier number.
Example: "carrier0".
You can use the BuildCarrierString2(string, int) method to build the selector string.

valueout double

Upon return, contains the carrier offset when you set the SetAutoCarrierDetectionEnabled(string, RFmxSpecAnMXAmpmAutoCarrierDetectionEnabled) method to False. This value is expressed in Hz.

Returns

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