SetChannelizationCode(string, int)

Sets the channelization code of the user-defined channel. This method is used only when you set the SetChannelConfigurationMode(string, RFmxTdscdmaMXChannelConfigurationMode) method to UserDefined. Use "channel(n)" as the selector string to configure or read this method.

Syntax

Namespace: NationalInstruments.RFmx.TdscdmaMX

public int SetChannelizationCode(string selectorString, int value)

Remarks

This method sets the value of ChannelizationCode attribute.The default value is 1.

Parameters

NameTypeDescription
selectorStringstring

Specifies the channel number.
Example: "channel0".
You can use the BuildChannelString(string, int) method to build the selector string.

valueint

Specifies the channelization code of the user-defined channel. This method is used only when you set the SetChannelConfigurationMode(string, RFmxTdscdmaMXChannelConfigurationMode) method to UserDefined. Use "channel(n)" as the selector string to configure or read this method.

Returns

Returns the status code of this method. The status code either indicates success or describes a warning condition.