Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

Accessing an arrayed UDT from PC SDK App?

I'm trying to access an arrayed variable from a PC SDK app. The UDT is of the following type in an AllTask module called Library

RECORD RobMotionCtrl
num pkAccel
num plAccel
ENDRECORD

I have an array declared as:
PERS RobMotionCtrl RobMotionForCnvPars{2,6}

I tried obtaining the rapid symbol for it using:

            RapidSymbolSearchProperties sProp = RapidSymbolSearchProperties.CreateDefault();
            sProp.Types = SymbolTypes.Data;
            RapidSymbol[] rs = module.SearchRapidSymbol(sProp, "RAPID/T_ROB1/LIBRARY/robmotionctrl", string.Empty);

however it does not return anything.  I have tried case variations of RobMotionCtrl to no avail.  I just get a zero length array back from SearchRapidSymbol.

I didn't have any luck accessing it directly either which is why I'm resorting to doing a symbol search. Any help would be appreciated.


-Sean