RFmxTdscdmaMX.SetChannelType Method
- Updated2024-07-17
- 1 minute(s) read
RFmxTdscdmaMXSetChannelType Method
Sets 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.
Namespace: NationalInstruments.RFmx.TdscdmaMX
Assembly: NationalInstruments.RFmx.TdscdmaMX.Fx40 (in NationalInstruments.RFmx.TdscdmaMX.Fx40.dll) Version: 24.5.0.49284 (24.5.0.49284)
Syntax
public int SetChannelType( string selectorString, RFmxTdscdmaMXChannelType value )
Public Function SetChannelType ( selectorString As String, value As RFmxTdscdmaMXChannelType ) As Integer
Parameters
- selectorString
- Type: SystemString
Specifies the channel number.
Example: "channel0".
You can use the BuildChannelString(String, Int32) method to build the selector string. - value
- Type: NationalInstruments.RFmx.TdscdmaMXRFmxTdscdmaMXChannelType
Specifies 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.
Return Value
Type: Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.
Remarks
This method sets the value of ChannelType attribute.The default value is Idle.