RobotType Property

Description
Returns the type of the current robot.

Syntax
ReadOnly Property RobotType As SpelRobotType

Return Value
SpelRobotType value

See Also
Robot Property, RobotModel Property

RobotType Example
VB Example:

Select Case m_spel.RobotType  
  Case RCAPINet.SpelRobotType.Scara  
    lblRobotType.Text = "Scara"  
  Case RCAPINet.SpelRobotType.Cartesian  
    lblRobotType.Text = "Cartesian"  
End Select      

C# Example:

switch (m_spel.RobotType)  
{  
    case SpelRobotType.Scara:  
         lblRobotType.Text = "Scara";  
break;  
case SpelRobotType.Cartesian:  
         lblRobotType.Text = "Cartesian";  
break;  
    default:  
         break;  
}