RobotStudio event

Accessing user-defined RECORD types


How are instances of user-defined RAPID data structures accessed using GetRapidData in PC SDK? 

RapidData rd = myController.Rapid.GetRapidData("T_ROB1","MyMod","mydata");

Attempting to do so fails to fill the Value property in the RapidData instance.  Documentation provides information about how to cast the value to a user-defined type in .NET, but this info does little good because my RapidData instance Value property is always null.

In my case I am using the latest 5.06 PC Robot Application Builder with 5.06.0085 baseware.  The RAPID data structure is defined in a shared RAPID module.
Bryan Johnson
Wolf Robotics
4600 Innovation Dr.
Fort Collins, CO 80525