SetCarrierMode(string, RFmxSpecAnMXAcpCarrierMode)
- Updated2025-10-13
- 1 minute(s) read
Sets whether to consider the carrier power as part of total carrier power measurement. The total relative power of a carrier is measured with reference to the total power of all active carriers. The relative power of an offset channel is measured with reference to the total carrier power when you set the RFmxSpecAnMXAcpOffsetPowerReferenceCarrier to Composite.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int SetCarrierMode(string selectorString, RFmxSpecAnMXAcpCarrierMode value)
Remarks
This method maps to the RFmxSpecAn_ACPSetCarrierMode() function in C.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies the carrier number. Example: "carrier0". You can use the BuildCarrierString2(string, int) method to build the selector string. |
| value | RFmxSpecAnMXAcpCarrierMode | Specifies whether to consider the carrier power as part of total carrier power measurement. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.