# Urgent PC Interface option not found

**URL:** <https://tech-community.robotics.abb.com/t/urgent-pc-interface-option-not-found/4349>\
**Category:** Developer Tools\
**Created:** [August 11, 2011, 2:31pm UTC](https://tech-community.robotics.abb.com/t/urgent-pc-interface-option-not-found/4349 "2011-08-11T14:31:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joaopsf](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@joaopsf](https://tech-community.robotics.abb.com/u/joaopsf)\
**Post date:** [August 11, 2011, 2:31pm UTC](https://tech-community.robotics.abb.com/t/urgent-pc-interface-option-not-found/4349/1 "2011-08-11T14:31:41Z")

</div>

Hi all.

I have developed a program in C# to interect between the computer and the controller. It all works very well in the simulation mode, but when I try to logon to the real controller using from the manual pc sdk:

ListViewItem item = this.listView1.SelectedItems[0];  
if (item.Tag != null)  
{  
ControllerInfo controllerInfo = (ControllerInfo)item.Tag;  
if (controllerInfo.Availability.ToString() == “Available”)  
{  
if (this.controller != null)  
{  
this.controller.Logoff();  
this.controller.Dispose();  
this.controller = null;  
}  
this.controller = ControllerFactory.CreateFrom(controllerInfo);  
------\> this.controller.Logon(UserInfo.DefaultUser);  
}  
else  
{  
MessageBox.Show(“Selected controller not available.”);  
}  
}

I get the error showed above. I have no idea what to do. Can anybody help, it is urgent.

Thank you all in advance.

System.Exception was unhandled  
Message=PC Interface option not found  
Source=ABB.Robotics.Controllers  
StackTrace:  
at ABB.Robotics.Controllers.Controller.Logon(UserInfo user)  
at ABB\_Virtual\_Test.KTH\_ABB\_IRB120Library.LogonController() in D:MyPhDProgrammingABB Virtual TestABB Virtual TestKTH\_ABB\_IRB120Library.cs:line 152  
at ABB\_Virtual\_Test.Form1.button2\_Click(Object sender, EventArgs e) in D:MyPhDProgrammingABB Virtual TestABB Virtual TestForm1.cs:line 335  
at System.Windows.Forms.Control.OnClick(EventArgs e)  
at System.Windows.Forms.Button.OnClick(EventArgs e)  
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)  
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)  
at System.Windows.Forms.Control.WndProc(Message& m)  
at System.Windows.Forms.ButtonBase.WndProc(Message& m)  
at System.Windows.Forms.Button.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(Int32 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 ABB\_Virtual\_Test.Program.Main() in D:MyPhDProgrammingABB Virtual TestABB Virtual TestProgram.cs:line 18  
at System.AppDomain.\_nExecuteAssembly(Assembly 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.Run(ExecutionContext executionContext, ContextCallback callback, Object state)  
at System.Threading.ThreadHelper.ThreadStart()  
InnerException:

---

<div class="post-metadata">

**Author:** ![Klaus](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@Klaus](https://tech-community.robotics.abb.com/u/Klaus)\
**Post date:** [August 11, 2011, 10:49pm UTC](https://tech-community.robotics.abb.com/t/urgent-pc-interface-option-not-found/4349/2 "2011-08-11T22:49:08Z")

</div>

in you backup off the real controller you will find af file named system.xlm.

Look for:

If it’s not there you have to contact your local ABB for new license key

---

<div class="post-metadata">

**Author:** ![joaopsf](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@joaopsf](https://tech-community.robotics.abb.com/u/joaopsf)\
**Post date:** [August 12, 2011, 6:05pm UTC](https://tech-community.robotics.abb.com/t/urgent-pc-interface-option-not-found/4349/3 "2011-08-12T18:05:39Z")

</div>

Thank you for the help.

I have checked and it is not there. So probably I have to talk with ABB.  
just one more question. I was using the service port, not the lan port, thus that make any difference, because I havenA?t been able to use the lan port and could not test.

Thank you

---

<div class="post-metadata">

**Author:** ![Klaus](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@Klaus](https://tech-community.robotics.abb.com/u/Klaus)\
**Post date:** [August 13, 2011, 9:54am UTC](https://tech-community.robotics.abb.com/t/urgent-pc-interface-option-not-found/4349/4 "2011-08-13T09:54:42Z")

</div>

Just happy to help

You can only use lan port if PC interface option is in the System.Serviceport is only to be used with RS online.
