GetDetectedWalshCodeNumber(string, out int)
- Updated2025-10-13
- 1 minute(s) read
Gets the Walsh code number of the detected channel. If you set the SetChannelConfigurationMode(string, RFmxCdma2kMXChannelConfigurationMode) method to UserDefined, the method returns the Walsh code number of the configured channel.Use "channel(n)" as the Selector Strings to read this method.
Syntax
Namespace: NationalInstruments.RFmx.Cdma2kMX
public int GetDetectedWalshCodeNumber(string selectorString, out int value)
Remarks
This method gets the value of ModAccResultsDetectedWalshCodeNumber attribute.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies the result name and Channel number. Example: "Channel0", "result::r1/Channel0". You can use the BuildChannelString(string, int) method to build the selector string. |
| value | out int | Upon return, contains the Walsh code number of the detected channel. If you set the SetChannelConfigurationMode(string, RFmxCdma2kMXChannelConfigurationMode) method to UserDefined, the method returns the Walsh code number of the configured channel.Use "channel(n)" as the Selector Strings to read this method. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.