ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
07-11-2022 09:08 AM
Has anyone successfully gotten PPLs (i.e. LVLIBP) working with Raspberry PI with a startup rt exe? I have not had any luck deploying apps and getting them to run on startup if they use PPLs. I created a very simple project that builds a very simple PPL for the Raspberry PI target. It is one VI that simply outputs a string constant "PPL works!!!". Once built, I drop the PPL VI onto a test VI block diagram (in a new project for the raspberry pi target). On the test VI block diagram, I write the string output of the PPL VI to file along with a loop counter so when it runs headless as a startup rt exe, I know that the VI runs successfully.
Weirdly, I can successfully run the test VI in development mode (via the run button) on the Raspberry PI target and it deploys the test VI and the PPL and then executes it all successfully, i.e. I see the string and loop counter update in the output file; however, I cannot get the startup rt exe version of test VI (and PPL) to run when I deploy it as startup and reboot. Remove the PPL and boom the test VI runs, add it back and it fails.
I know for PXI equipment it is possible to look at the controller in NI MAX and see if there were any issues during the launch of the startup rt exe, but I dont know how to check the Raspberry PI to see why the VI may not be running successfully. Any ideas?
In addition, I have tried to modify test VI to open and call the PPL subVI dynamically and this enables the startup rt exe to run, but it returns an error out of the open VI reference. The error is error code 74, which is "Memory or data structure corrupt". I will reiterate that the PPL is built for the raspberry PI and does work when run in development mode (via the run button) so I know the data structure is good.
NI technical support was unable to troubleshoot this issue since it is technically an issue with a hobbyist toolkit - meaning it is not covered under normal support. Any help is much appreciated.
Can you make a PPL and use it on the PI? If so, how?!?
02-11-2026 03:27 PM
Found this thread trying to get packed libraries working on a raspberry pi, however, I'm unable to even build a packed library for a raspberry pi target. When right clicking build specifications -> new under the raspberry pi target, the packed library option is not available. Is this not an option for raspberry pi's, or am I missing a necessary component?
If I add a "NI Linux Real-Time PXI" target, I can build a packed library for it. If I add the packed library to this target, it will load properly and I can view its contents. If I try to add this to the raspberry pi target, it will not load properly, and I can't view its contents. I was figuring since the packed library build is platform specific, building it on a linux system might be close enough for it to be compatible with the raspberry pi, but no dice.
Anyone know of any way to get packed libraries on a raspberry pi working?