ConfigureOffsetPowerReference(string, RFmxSpecAnMXAcpOffsetPowerReferenceCarrier, int)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies the offset number. Example: "offset0". You can use the BuildOffsetString2(string, int) method to build the selector string. |
| offsetReferenceCarrier | RFmxSpecAnMXAcpOffsetPowerReferenceCarrier | 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. |
| offsetReferenceSpecific | int | 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.