Sets the Walsh code number of a specific user-defined channel. This method is used only when you set the SetChannelConfigurationMode(string, RFmxCdma2kMXChannelConfigurationMode) method to UserDefined.Use "channel(n)" as the Selector Strings to configure or read this method.

Syntax

Namespace: NationalInstruments.RFmx.Cdma2kMX

public int SetWalshCodeNumber(string selectorString, int value)

Remarks

This method sets the value of WalshCodeNumber attribute.The default value is 0.

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 Walsh code number of a specific user-defined channel. This method is used only when you set the SetChannelConfigurationMode(string, RFmxCdma2kMXChannelConfigurationMode) method to UserDefined.Use "channel(n)" as the Selector Strings 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.