Sets 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 SetCarrierOffset(string selectorString, double value)

Remarks

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

valuedouble

Specifies 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.