ConfigureCarrierAndOffsets(string, double, int, double)
- Updated2025-10-13
- 1 minute(s) read
Configures a carrier channel with offset channels on both sides of the carrier as specified by the number of offsets. The offset channels are separated by +/- (n*channel) spacing from the center of the carrier. Power is measured over the integration bandwidth for each channel.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int ConfigureCarrierAndOffsets(string selectorString, double integrationBandwidth, int numberOfOffsets, double channelSpacing)
Remarks
This method maps to the RFmxSpecAn_ACPCfgCarrierAndOffsets() function in C.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| integrationBandwidth | double | Specifies the frequency range, in hertz (Hz), over which the measurement integrates the carrier channel power. |
| numberOfOffsets | int | Specifies the number of offset channels. |
| channelSpacing | double | Specifies the spacing between offset channels. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.