Ive Posted Friday at 08:33 AM Report Posted Friday at 08:33 AM I have a piece of code that calls and runs VI by opening the VI reference. It can be executed normally before being packaged as exe, but it will report an error after packaging. May I ask if you can help me solve this problem? TESTX.zip Quote
Bryan Posted Friday at 12:19 PM Report Posted Friday at 12:19 PM (edited) Your build specification didn't have a startup VI selected, so I worked with what you provided. My assumption is that the error you're seeing is represented below? "Excute Process Driver.vi" in your "timerA.lvclass" for some reason is being required to have the front panel available once built into an EXE. I haven't had the change to really investigate why. I found something interesting when I built your application with Debug enabled to troubleshoot. With debug enabled, the EXE executes without error. So then, I went into the build spec and disabled debugging, and then un-checked "Remove front panel" for the troublesome VI, recompiled the EXE and again, no issues : This is at least a workaround if it's something that's holding you up. I currently don't have the time to find the root cause, but someone else can take over if they want as I have to start my work day. Knowing myself the way I do, it may be something glaringly obvious that my coffee-lacking brain couldn't pick up on this early in my day. I hope this helps! Edited Friday at 12:23 PM by Bryan Not enough coffee to form coherent sentences. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.