Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

How to send multiple variable via pcsdk

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

Tagged:

Answers

  • In your rapid task, do you use interrupt or synchronous modus? Can you show your Rapid code?