12-21-2010 12:17 AM
Hello,
I got the feeling this is something simple but I just cant seem to get it to work. I am not at my work computer right now so I will follow up tommorow with a more detailed update. The problem generalized is that running the project from the project manager i can click on a button and a vi will popup, but after I build it and run the same process it shows loading and then nothing, The vi never pops up. I think I might be missing something in the build options but not sure where. I have included everything needed in the Always Include section. If any one has an idea let me know. Tomorow I can give more details.
Thanks,
Solved! Go to Solution.
12-21-2010 02:30 AM
Hi,
I guess there is some error thrown out just before pop up window. May be you are reading a file and you have not included it in the right place.
Check your error handling.
Regards,
Prashant
12-21-2010 08:26 AM
12-21-2010 11:28 AM
12-21-2010 01:47 PM
12-21-2010 04:05 PM
Hey NJS_Prog,
I have found a couple other Discussion Forum Posts that are similar to this one. Please take a look at these suggestions from them and let me know if they work for you.
1) Knowledge Base Article: Why Does My Executable Not Work When Using the Current VI's Path Constant?
2)One other thing to mention is that KB is for LabVIEW 8.2. In 2009 and 2010 a built EXE by default may have VIs referenced deeper than just one level. You can keep stripping the path until a directory is found, or an easier solution is to check the box in the Advanced section that is "Use LabVIEW 8.x file layout" which then makes that KB valid again.
3) Discussion Forum: Strip Path VI error on exe version?
Have a good holiday!
Ricky V
12-21-2010 05:18 PM
12-21-2010 08:49 PM
I have the Write Key.VI disabled and the vi works in the stand alone once removed the vi doesnt pop up.
12-22-2010 12:24 AM
What are you doing after parsing? are you exiting the VI? if so, then try the following..
After Building your EXE, Put the file that your reading in the folder where your EXE is present. and then try it.
Regards,
Prashant
12-22-2010 12:32 AM
Could u upload the VI??