I am having difficulty using the Messaging functionality of the PC SDK. In particular, I can send messages to the controller, but am unable to receive messages sent from the controller to my PC application.
I am trying to implement the basic demo application from the RAB Application Manual. The myQueue.Receive(…) call seems to always return immediately with a Timeout response. It definitely isn’t waiting the specified 5 seconds I have indicated as the desired timeout value.
Please review the attached example code that demonstrates this behavior. Regardless of how I send the messages, I always get a “timeout” response immediately after pressing the “Send Message” button.
webwiz/2811/RAB_Messaging_timeout.zip
If it helps, my configuration is:
RAB (PC SDK) 5.11
RobotStudio 5.10.2400.147
running a simulated robot based on RobotWare 5.11.0160
Thanks for any help you can give!
- Jeremy Zoss
Southwest Research Institute