GetControllerInfo Method
Description
Returns information about the current Controller.
Syntax
Function GetControllerInfo() As SpelControllerInfo
Return Value
A SpelControllerInfo instance.
See Also
GetErrorMessage Method, GetRobotInfo Method, GetTaskInfo Method
Remarks
GetControllerInfo returns a new instance of the SpelControllerInfo class, which contains Controller information properties.
GetControllerInfo Example
VB Example:
Dim info As SpelControllerInfo
Dim msg As String
info = m_spel.GetControllerInfo()
msg = "Project Name: " & info.ProjectName & vbCrLf _
& "Project ID: " & info.ProjectID
MsgBox(msg)
C# Example:
SpelControllerInfo info;
string msg;
info = m_spel.GetControllerInfo();
msg = "Project Name:" + info.ProjectName + "\r\n ProjectID :" +
"info.ProjectID";
MessageBox.Show(msg);