RFmxTdscdmaMX.GetSlotIndex Method
- Updated2024-07-17
- 1 minute(s) read
RFmxTdscdmaMXGetSlotIndex Method
Gets the slot index 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 GetSlotIndex( string selectorString, out int value )
Public Function GetSlotIndex ( selectorString As String, <OutAttribute> ByRef value As Integer ) 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: SystemInt32
Upon return, contains the slot index 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 gets the value of SlotIndex attribute.The default value is 0.