LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment / Run at Start Doesn't work

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!

0 Kudos
Message 1 of 6
(1,149 Views)

Try the steps in Startup Executable Does Not Launch on Real-Time (RT) Target

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 2 of 6
(1,109 Views)

When trying to open the error log in MAX from the PXI RT I get this, even after a reboot:

 

A339_Flyer_1-1715086435189.png

 

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...

0 Kudos
Message 3 of 6
(1,100 Views)

Was this ever resolved? I'm seeing the same symptoms with an LabVIEW 2026 deploying to a PXI target

0 Kudos
Message 4 of 6
(117 Views)

Nope.

 

Does your code run completely OK when deployed normally?

0 Kudos
Message 5 of 6
(114 Views)

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.

0 Kudos
Message 6 of 6
(67 Views)