RFmx WCDMA C

Table of Contents

RFmxWCDMA_CfgChannelConfigurationMode

  • Updated2024-10-14
  • 1 minute(s) read

RFmxWCDMA_CfgChannelConfigurationMode

int32 __stdcall RFmxWCDMA_CfgChannelConfigurationMode (niRFmxInstrHandle instrumentHandle, char selectorString[], int32 channelConfigurationMode);

Purpose

Configures the channel configuration mode.

Parameters

Input
Name Type Description
instrumentHandle niRFmxInstrHandle Specifies the instrument session. The RFmx driver obtains this parameter from the RFmxWCDMA_Initialize function.
selectorString char[] Specifies a selector string comprising of the signal name. If you do not specify the signal name, the default signal instance is used.
Example:
"signal::sig1"
You can use the RFmxWCDMA_BuildSignalString function to build the selector string.
channelConfigurationMode int32 Specifies the channel configuration mode.
RFMXWCDMA_VAL_CHANNEL_CONFIGURATION_MODE_AUTO_DETECT (0) The measurement detects the channels.
RFMXWCDMA_VAL_CHANNEL_CONFIGURATION_MODE_USER_DEFINED (1) Configure the channels using the RFMXWCDMA_ATTR_NUMBER_OF_CHANNELS attribute and the RFmxWCDMA_CfgUserDefinedChannelArray function.
RFMXWCDMA_VAL_CHANNEL_CONFIGURATION_MODE_TEST_MODEL (2) Choose from the standard-defined channel configurations using the UL Test Model attribute.

Return Value

Name Type Description
status int32 Returns the status code of this operation. The status code either indicates success or describes an error or warning condition. Examine the status code from each call to an RFmx function to determine if an error has occurred.

To obtain a text description of the status code and additional information about the error condition, call the RFmxWCDMA_GetError function.

The general meaning of the status code is as follows:

Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors

Log in to get a better experience