Sending User RECORD over RMQSendMessage

Evanmj
✭
Hi,
I'm finally able to send IPC messages from the controller to my PC SDK vb client...
This code works:
PROC sendAMessage()
stProcessData.sDate := CDate();
stProcessData.sTime := CTime();
stProcessData.sPoint_Name := "TestPoint";
stProcessData.sPoint_Type := "Force_Actual";
stProcessData.fPoint_Value := 15.9;
stProcessData.sTool := "NA";
RMQFindSlot vbclient, "PC_SDK_Q";
RMQSendMessage vbclient, stProcessData.sPoint_Name;
ENDPROC
However, if I try to send the entire structure of stProcessData, the send seems to go fine, but the receive side's myQueue.Receive() call posts an immediate timeout.
Examples in the manuals show sending user "records" in this way, but I'm unable to receive them. What do I need to do to get VB to be happy with them? I really need a record to come across in a single message for logging purposes.
Maybe it has trouble with mixed types in a record?
Thanks.
0
Categories
- All Categories
- 5.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 335 IRC5
- 67 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 827 RAPID Programming
- 10 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 106 Collaborative Robots
- 5 Job listings