Gets the channel type 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 GetChannelType(string selectorString, out RFmxTdscdmaMXChannelType value)

Remarks

This method gets the value of ChannelType attribute.The default value is Idle.

Parameters

NameTypeDescription
selectorStringstring

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

valueout RFmxTdscdmaMXChannelType

Upon return, contains the channel type 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.