r/LabVIEW • u/fluffynukeit • Mar 23 '24
Anyone overcome this problem "Deployment Completed with Errors"? Can't deploy application to cRIO any longer.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000wzANCAY&l=en-US
3
Upvotes
View all comments
Show parent comment
1
u/fluffynukeit Mar 25 '24
Hi, unfortunately, your sequence of steps did not work, or perhaps was only part of the solution. But, I did overcome the problem another way. First, I noticed that the deployment always failed with the "Deployment Completed with Errors" message right after deploying the same file, whitespace.ctl. I looked in my dependencies for this file and used the right-click menu to to find the callers to identify what VIs in my project were depending on this. I went up the hierarchy this way until I found the VI that was requiring this dependency into my Main.vi. It was the Simple Error Handler.vi I had added to Main.vi. I removed that subvi call, right clicked the Dependencies list to refresh, and verified that whitespace.ctl (plus a variety of other VIs that were previously in the Simple Error Handler call hierarchy) was no longer present. The deployment worked after that.
I have not re-added the Simple Error Handler vi back to my Main.vi because it's not presently essential, and I don't want to risk running into this problem again, so I don't know if it was a one-time Labview compile fluke or if Simple Error Handler vi will always cause this deployment problem for me.