how to use the "message"method to communicate?

how to use the "message"method to communicate with rapid task?can somebody give me some example to learn,please!i am hurry,looking forward for somebody`s help!Any other method to communicate with the controller or the VC are welcome!

Hi doc-zee!

I dot not have a sample at hand, but I would like to suggest that you start reading the chapter “Messaging Domain” in the PC SDK Application Manual which you find under RobotStudio 5.14/SDK on the Start Menu.

That is about how send and recieve a message from RAPID, on the PC SDK side of your application.

For information on how to write the corresponding RAPID code thake a look at the instruction RMQSendWait in the RAPID reference manual which you can find from the Help menu in the RobotStudio User Interface, for example.

Thank you very much!