08-21-2025 11:58 AM
I have developed an application over the several years that includes multiple cRIOs and host VIs all in the same project. Recently, I updated to LabVIEW 2025 from 2023 and ran into an issue while attempting to deploy RT applications to the cRIO through the LabVIEW project. The RT application would build fine, but I would receive the “LabVIEW: (Hex 0x80004005) Unspecified error, NI System Configuration: (Hex 0x80004005) Miscellaneous operation failure" when attempting to deploy. This is about as useless of an error description as you could get, and there is not much information online about it. My attempts at debugging led me to try older versions of the software, reformat and reinstall everything on the cRIO and even uninstall all of LabVIEW and reinstall on my development PC. None of this fixed the issue.
The last thing I tried was to make a simple RT VI and try to deploy it to the cRIO. To my surprise, this worked. Upon inspecting the build spec properties, I noticed that the build spec I had been using for the life of the project had it’s target destination directory changed to “/c/ni-rt/startup”. When I changed it back to “/home/lvuser/natinst/bin”, it built and deployed as expected.
I thought this quite strange as I have never changed the target destination in the build spec. I then looked at the .lvproj file in Notepad++ of the previous version of my project (developed in LabVIEW 2025), and it has “/home/lvuser/natinst/bin” as the target destination. As a test, I then opened it in LabVIEW 2025, and opened the dialog for the build specs and the target destination was changed to “/c/ni-rt/startup”! This seems to only happen to the one previous version that was saved in LabVIEW 2025. Any older versions of the project developed in LabVIEW 2023, don’t seem to change the target destination when the project is opened.
My situation is likely not super common, but I still wanted to throw this out there in case anyone else is going through the same situation. Hopefully it could help someone save the several days I lost trying to figure out the original issue.
08-21-2025 12:52 PM
Thanks for "identifying a potential problem" when moving a LabVIEW-RT Project from LabVIEW 2023 to 2025.
I must confess (partly because I'm not currently working on any Real-Time projects) I'm a little confused by your description. You mention two paths -- “/c/ni-rt/startup” and “/home/lvuser/natinst/bin”. I vaguely recall that the latter is where the .rtexe files are stored, and I'm guessing that former points to the Linux startup code.
It might be helpful if you could take a screen-shot of where you see these paths as you are configuring the Build Specification. Circle the "wrong one" in red, and say "Change this to .....".
One more question -- when you got the "wrong" build, were you trying to build, say, a copy of the LabVIEW 2023 project with LabVIEW 2025, without having saved the Project so that the Project File, itself, pointed to the "wrong" LabVIEW version?
Bob Schor
08-21-2025 01:23 PM - edited 08-21-2025 01:24 PM
Thanks for the reply Bob.
My understanding is that "/home/lvuser/natinst/bin" is the location on NI-Linux RT systems where the rtexe is located and "/c/ni-rt/startup" is the location on Phar Lap/VxWorks systems where the rtexe is located. I am using a cRIO-9040 which is an NI-Linux RT system.
Here is a screenshot that shows the property in the build spec dialog that is getting automagically changed. If I use a text editor to view the .lvprog file before opening it, the target directory is "/home/lvuser/natinst/bin". After I open the project in LabVIEW and open the build spec dialog, the target destination is changed to "/c/ni-rt/startup".
For this particular project, I had already worked on a revision in LabVIEW 2025 (revision previous to this was LabVIEW 2023) which built and deployed fine. A copy of this revision was then saved on a network drive. Early last week, I pulled this revision off the network drive and this is where the problem begins. As the .lvproj sits when I pull it off the network, the target destination is "/home/lvuser/natinst/bin" when I look at it with a text editor before opening the project with LabVIEW. It then changes to /c/ni-rt/startup" after I open the project with LabVIEW.
08-21-2025 03:45 PM
Can you say "That sounds like a Big Fat Bug!"? (Wow -- three punctuation marks in a row!).
Bob Schor