How to send multiple variable via pcsdk
erict90
✭
Hi,
i am able to send one parameter from my pc to irc5 controller using the pcsdk messaging domain example. But i want to send a variable of type bool and also a num variable to my rapid task from my computer.
data = new UTF8Encoding().GetBytes("bool;TRUE");
angolo_byte = new UTF8Encoding().GetBytes("num;" + angolo);
sendMessage.SetData(data);
sendMessage.SetData(angolo_byte);
this is the code that i use in my c# program.
"angolo" is a variable of type double.
How can i get angolo_byte in my rapid task?
i am able to get "data" in my rapid task, but when i try to send both my rapid task is not working.
Thanks
i am able to send one parameter from my pc to irc5 controller using the pcsdk messaging domain example. But i want to send a variable of type bool and also a num variable to my rapid task from my computer.
data = new UTF8Encoding().GetBytes("bool;TRUE");
angolo_byte = new UTF8Encoding().GetBytes("num;" + angolo);
sendMessage.SetData(data);
sendMessage.SetData(angolo_byte);
this is the code that i use in my c# program.
"angolo" is a variable of type double.
How can i get angolo_byte in my rapid task?
i am able to get "data" in my rapid task, but when i try to send both my rapid task is not working.
Thanks
Tagged:
0
Answers
-
In your rapid task, do you use interrupt or synchronous modus? Can you show your Rapid code?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)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings