RobotStudio event

"PC Interface option not found"

I wrote a program in Visual Studio.

When I execued it I could not log on and got the following Exception

System.Exception was unhandled
  HResult=-2146233088
  Message=PC Interface option not found
  Source=ABB.Robotics.Controllers
  StackTrace:
       at ABB.Robotics.Controllers.Controller.Logon(UserInfo user)
       at WindowsFormsApplication1.Form1.lstControllerView_DoubleClick(Object sender, EventArgs e) in c:\Users\admin\Desktop\SPRAY PAINTING\Arduino&Kinect\Visual_studio\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs:line 50
       at System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
       at System.Windows.Forms.ListView.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at WindowsFormsApplication1.Program.Main() in c:\Users\admin\Desktop\SPRAY PAINTING\Arduino&Kinect\Visual_studio\WindowsFormsApplication1\WindowsFormsApplication1\Program.cs:line 19
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:

at

ctrl.Logon(UserInfo.DefaultUser);

Its urgent could anybody help.
Thanks in Advance

Comments

  • Hello,

    At first, please make sure that your controller has the "PC Interface" option installed.

    This should be present in the control module key.

     

    Best regards

    Stefan Westberg

  • @Stefan Westbeg: How to check it. Please tell me. Thanks in Advance
  • If you go to system info in flex pendant and open control module options you will see if PC interface is enabled. Same thing you can see in backup folder, there shoud be .xml file with all installed options.