ConfigureOffsetArray(string, double[], RFmxSpecAnMXAcpOffsetSideband[], RFmxSpecAnMXAcpOffsetEnabled[])
- Updated2025-10-13
- 1 minute(s) read
Configures an offset channel on one or both sides of carrier with center-to-center spacing as specified by the offset frequency and offset frequency definition. In case of multiple carriers, offset frequency is relative to the closest carrier.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int ConfigureOffsetArray(string selectorString, double[] offsetFrequency, RFmxSpecAnMXAcpOffsetSideband[] offsetSideband, RFmxSpecAnMXAcpOffsetEnabled[] offsetEnabled)
Remarks
This method maps to the RFmxSpecAn_ACPCfgOffsetArray() 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. |
| offsetFrequency | double[] | Specifies an array of center or edge frequencies, in hertz (Hz), of the offset channel, relative to the center frequency of the closest carrier as determined by the SetOffsetFrequencyDefinition(string, RFmxSpecAnMXAcpOffsetFrequencyDefinition) method. The sign of offset frequency is ignored and the offsetSideband parameter determines whether the upper, lower, or both offsets are measured. |
| offsetSideband | RFmxSpecAnMXAcpOffsetSideband[] | Specifies whether the offset segment is present on one side, or on both sides of the carriers. |
| offsetEnabled | RFmxSpecAnMXAcpOffsetEnabled[] | Specifies whether to enable the offset channel for ACP measurement. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.