08-24-2021 04:39 PM
Just updated a cRIO (and the project) to begin testing the 3.1 tool kit. My application/cRIO now crash and reboot while loading the application. Setting breakpoints it appears the reboot is happening before the application makes any calls into the DDS library. Is anyone else seeing this?
08-25-2021 02:14 AM
Hi FireflyAutomatix,
Can you provide more details about your system and application? What cRIO & Real Time do you have? Did you regenerate the VIs using Complex Type Generator? Is updating the toolkit the only difference? Every detail could help.
08-25-2021 10:38 AM
Sorry about the lack of details. After I posted this I realized that I had left those out.
cRIO 9045, RT 20.0.0
The only thing I did was update the tool kit on both the dev environment and cRIO. Then redeploy the application. I did not regenerate any of the complex data types.
08-25-2021 10:48 AM - edited 08-25-2021 10:49 AM
When updating to 3.1.1 is necessary to regenerate the complex types VIs since that version adds some internal changes.
08-25-2021 01:32 PM
OK, so I just regenerated all the complex types. Now instead of rebooting the cRIO my application now crashes when an calls into the library are made. Digging deeper to see if I can narrow it down. No errors are being reported via the error clusters.
08-26-2021 02:11 AM
Could you provide more information about the complex type that causes the crash? Does it have all the arrays initialized to the desired size when generating them with Complex Type Generator? Are you using the forceArrayMapping option? If you could provide us ther ctl file that would be a great help.
08-26-2021 05:17 PM
Resolved. After digging through each vi that used DDS I found one that, for some reason, did not save after the regeneration process.
08-27-2021 01:17 AM
Great! I'm glad to hear that. Thanks for letting us know it.