PCSDK connect to remote controller
Hi,
I try to connect to different address from
127.0.0.1<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" />
I do something like:
AddressIp = "10.95.176.75";
NetworkScanner
networkScanner = new NetworkScanner();
System.Net.IPAddress ip = System.Net.IPAddress.Parse(AddressIp);
NetworkScanner.AddRemoteController(ip);
networkScanner.Scan();
ControllerInfoCollection
controllers = networkScanner.Controllers;
I have a working simulator at : 10.95.176.75
That dose not work, I get only one controller in controllers IPAddress = 127.0.0.1
Someone know how to do it ?
one more question, is there a definition when i need to perform AddRemoteController ?
if my application run at 10.95.176.94 do i need to it ?
Thanks
Avi
John Wiberg2012-03-27 14:21:46
Comments
-
Hi avicohen,Virtual Controllers does not broadcast themselves on the LAN so they can't be found using NetScan. So the only way to 'talk' to a VC is on the same PC.AddRemoteController is used when the controller you want is on a different subnet than the PC SDK application. Subnets are defined by the subnet mask on your PC LAN.John
Developer Center0 -
Thanks John,If i understand you correctly i can not run my application (the one that use PC SDK) in one PC and the simulator in another PC ?0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings