03-20-2014 05:50 PM
Julian,
See attached pictures.
It doesn't matter whether or not I "Always Include" the two folders shown. I have the same problems.
Nor does it matter whether or not I "Always Include" the two dynamic VIs. Pathnames to those two VIs are hardcoded, anyway.
Thanks again!
03-20-2014 11:09 PM
i had similar issues using the report tool kit to geneterate a word template report.
the solution was to include the class in there...
i made some power points slide to not forget how to do it.. it might be something similar to what you have been experimenting.
03-21-2014 05:44 AM
buton,
Thanks for the suggestion.
When I remove Report Generation functions from my dynamic VI, but still call a couple of functions from the Advanced File Functions palette (File/Directory Info, and Create Folder), I get the same behavior. In a built application, the dynamic VI loads into a subpanel but can't execute.
Originally I thought the problem was specific only to the Report Generation toolkit, but now I think it's deeper--maybe nothing is wrong with NI's application build process itself, but maybe there's a problem with my particular environment. Hopefully the solution is something simple that I've missed. Maybe I'm just omitting some library from my build.
If I can't solve this, I'll have to use some very ugly workarounds.
03-21-2014 03:57 PM
Hi mws64,
I've opened up your program and built it, and noticed that in development mode the VI's seem to load okay, but then when it's in an executable, they don't. I tried building it a few different ways and can't seem to get it to work right. I'm going to keep playing around with this and see what I can figure out. Let's keep each other informed of our progress.
03-21-2014 05:56 PM
Julian,
Thanks--you're seeing the same behavior I've seen.
I'll keep trying things too and keep you informed.