# Creating a Controller for PC Interface

**URL:** <https://tech-community.robotics.abb.com/t/creating-a-controller-for-pc-interface/3409>\
**Category:** Developer Tools\
**Created:** [March 5, 2010, 8:24am UTC](https://tech-community.robotics.abb.com/t/creating-a-controller-for-pc-interface/3409 "2010-03-05T08:24:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/system/32/6_2.png) [@system](https://tech-community.robotics.abb.com/u/system)\
**Post date:** [March 5, 2010, 8:24am UTC](https://tech-community.robotics.abb.com/t/creating-a-controller-for-pc-interface/3409/1 "2010-03-05T08:24:02Z")

</div>

Hi

I have been trying to create a controller on PC interface, I have used the example for network scanner. I cannot get to a point where I can scan and then use the found controller in the application. What I would like to do is to scan and find the controller and then use the signal module of the application by monitoring the status of the robot statuses. Please assist on how I can search for a controller on the network and then capture it and then start monitoring of the system.

I am using RAB 5.11

Many Thanks

---

<div class="post-metadata">

**Author:** ![SaleemJaved](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@SaleemJaved](https://tech-community.robotics.abb.com/u/SaleemJaved)\
**Post date:** [March 8, 2010, 3:00pm UTC](https://tech-community.robotics.abb.com/t/creating-a-controller-for-pc-interface/3409/2 "2010-03-08T15:00:46Z")

</div>

Hi,  
To use PC Interface, make sure while creating a System you have selected PC Interface option. Then to access all controllers on your network you can use networkscanner class.

NetworkScanner aScanner = new NetworkScanner();  
aScanner.Scan();  
ControllerInfo aCollection = aScanner.GetControllers();  
now you can use any ControllerInfo to create controller instance.  
Constructor :

```auto
**public** Controller(ControllerInfo controller); ( Please refer RAB Html Help)

```

```auto
Regards

```
