05-07-2024 05:14 AM
Having an odd issue here now that the RT SW we've written runs absolutely fine (i.e. Right click run on the main vi or via the LV GUI) and builds without error but does not run when deployed nor does it start when you've set "Run at Startup".
No errors popping up anywhere.
How can I diagnose this?
Thanks!
05-07-2024 07:48 AM
Try the steps in Startup Executable Does Not Launch on Real-Time (RT) Target
05-07-2024 08:02 AM - edited 05-07-2024 08:03 AM
When trying to open the error log in MAX from the PXI RT I get this, even after a reboot:
However getting the logs manually doesn't show anything obvious other than:
2024-05-07T13:00:02.441+00:00 NI-PXIe-8861-xxxx kernel: [ 27.220475] process 'local/natinst/labview/lvrt' started with executable stack
When I deploy the code...
04-14-2026 10:27 AM
Was this ever resolved? I'm seeing the same symptoms with an LabVIEW 2026 deploying to a PXI target
04-14-2026 10:28 AM
Nope.
Does your code run completely OK when deployed normally?
04-16-2026 09:21 AM
Good point, we were not able to run from source and the error pointed us to the solution.
In our situation we were porting a legacy application from an old PXI running Phar Lap OS to a modern PXI running NI RealTime OS (Linux). The application had some VIs making low-level calls to DLL's which work on Phar Lap but not the the newer NI Realtime OS as DLLs aren't compatible with Linux. Ripping out the DLL calls has allowed us to run from source and for our application to run successfully.