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.4K RobotStudio
- 384 UpFeed
- 15 Tutorials
- 12 RobotApps
- 290 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 241 ScreenMaker
- 2.7K Robot Controller
- 283 IRC5
- 44 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 746 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings