RobotStudio event

Sending User RECORD over RMQSendMessage

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.