Communication using socket Program
ravi
✭
Hi,
I am using sockets for communication between Robot Studio Rapid program and another program from MS VS2008 Csharp.I would like to recieve the data from the Csharp program and used it in the rapid code.
For example : I will send a number of type double and would like to receive it as type "num" in RAPID .Is this possible? If so How do I do it.
If you need further details/calirifactions let me know.
Br
Ravi
I am using sockets for communication between Robot Studio Rapid program and another program from MS VS2008 Csharp.I would like to recieve the data from the Csharp program and used it in the rapid code.
For example : I will send a number of type double and would like to receive it as type "num" in RAPID .Is this possible? If so How do I do it.
If you need further details/calirifactions let me know.
Br
Ravi
0
Comments
-
Hi Ravi.I have worked with raw bytes but gets some problems. There for i'm only using textstrings with socket. Convert your double to string in c#. Send it by socket to the robot and then convert it to num( StrToNum). Remember to replace , with . (Ascii 46 and ascii 44).If you need more help just askBr. KlausBest Regards
Klaus Soenderhegn
www.cadalysator.dk0
Categories
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings