# PCSDK static controller will not connect without RobotStudio running

**URL:** <https://tech-community.robotics.abb.com/t/pcsdk-static-controller-will-not-connect-without-robotstudio-running/8399>\
**Category:** Developer Tools\
**Tags:** pcsdk\
**Created:** [August 3, 2018, 1:35pm UTC](https://tech-community.robotics.abb.com/t/pcsdk-static-controller-will-not-connect-without-robotstudio-running/8399 "2018-08-03T13:35:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bgrant](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@bgrant](https://tech-community.robotics.abb.com/u/bgrant)\
**Post date:** [August 3, 2018, 1:35pm UTC](https://tech-community.robotics.abb.com/t/pcsdk-static-controller-will-not-connect-without-robotstudio-running/8399/1 "2018-08-03T13:35:34Z")

</div>

When testing a PCSDK application, I can only connect to a real controller if the controller shows up in the RobotStudio ‘Recent Controllers’ list. How do I runt a PCSDK application independant of RobotStudio? I have installed PCSDK 6.07 as well as Robot Communication Runtime 6.07. Yes, I have verified that the specified GUID of the robot is correct.

Here is the line of code that throws an exception:

Controller @static = new Controller(ControllerFactory.FormatControllerId(new Guid(sysID)));

---

<div class="post-metadata">

**Author:** ![bgrant](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@bgrant](https://tech-community.robotics.abb.com/u/bgrant)\
**Post date:** [August 3, 2018, 1:50pm UTC](https://tech-community.robotics.abb.com/t/pcsdk-static-controller-will-not-connect-without-robotstudio-running/8399/2 "2018-08-03T13:50:01Z")

</div>

Attached a picture of the API references in my project

 ![image.jpg](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/1X/616ecb2f34d7fbbc27265c49e5afac449af9309a.jpeg)
