10-15-2005 09:22 AM
10-15-2005 02:34 PM - edited 10-15-2005 02:34 PM
You wrote
"
It is definitly loaded into memory.
Curious, in development eniroment, this works fine.
"
I will assume the VI path is correct and the VI that is supposed to load the dynamic VI is working correctly and that "False" constant you have wired to your case selector is really true in the EXE.
Message Edited by Ben on 10-15-2005 02:34 PM
10-15-2005 07:41 PM - edited 10-15-2005 07:41 PM
Also check the remove FP setting in the builder.
Ben
Message Edited by Ben on 10-15-2005 07:42 PM
10-16-2005 03:37 AM
10-16-2005 03:55 AM
10-16-2005 07:52 AM
Hi CleanerTM,
I read through your doc and from what you said "I tried to turn the "Remove Panel" option to "No", but after starting the exe application, it hangs up now... don't know why
" that you are no longer dealing with 1013 error.
Since you have a true wired to the "wait until done" the hanging could be correct if the dynamic VI is hung.
Ben
10-16-2005 09:06 AM
The following was posted to Info-LabVIEW about 2 years ago.
This may help.
"
Michael,
As far as I can see, you have problem similar to one I met during beta testing. I reported it to NI staff and got rather good clarification. By default, LV7 AppBuilder does not include type definitions and unused instances of polymorphic VIs into executable in order to decrease size of application. If some VI in your exe calls a VI outside (that was not planned by AppBuilder) and uses a type definition in order to pass parameters, you will meet such kind of problem for sure.
I was offered a few ways to solve the problem but I really like only one. There is undocumented ini setting that disables this new feature. Put the following line to your labview.ini file:
BldApp.RemovePolyVIsandTypedefs=False
Then restart LV and rebuild your application.
[ another ways assume explicit including of all VIs into a build project, but it is unapplicable if you need support plug-ins, for example ]
Hope this helps.
regards,
Konstantin Shifershteyn
10-16-2005 09:44 AM
10-16-2005 10:06 AM
Ouch!
Well try the switch mentioned in my previous post.
Otherwise try stripping things down to a minimum and posting a zip of the files required to demo this issue.
Trying to help,
Ben
10-16-2005 01:14 PM