Configures the power reference to use for measuring the relative power of the offset channel.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureOffsetPowerReference(string selectorString, RFmxSpecAnMXAcpOffsetPowerReferenceCarrier offsetReferenceCarrier, int offsetReferenceSpecific)

Remarks


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

Parameters

NameTypeDescription
selectorStringstring

Specifies the offset number. Example: "offset0". You can use the BuildOffsetString2(string, int) method to build the selector string.

offsetReferenceCarrierRFmxSpecAnMXAcpOffsetPowerReferenceCarrier

Specifies the carrier to be used as the power reference to measure the offset channel relative power. The offset channel power is measured only if you set RFmxSpecAnMXAcpOffsetPowerReferenceCarrier to Active.

offsetReferenceSpecificint

Specifies the index of the carrier to be used as the reference carrier. The power measured in this carrier is used as the power reference for measuring the offset channel relative power, when you set the RFmxSpecAnMXAcpOffsetPowerReferenceCarrier to Specific.

Returns

This method maps to the RFmxSpecAn_ACPCfgOffsetPowerReference() function in C.