02-01-2012 03:08 PM
I'm calling a re-entrant vi. How do I have to setup the vi to run in the runtime environment? It works in the developement environment, but not when I build the executable to run in the runtime environment.
Thanks
02-01-2012 03:22 PM
when you say it's not working, what do you mean exactly? is the front panel not opening? if that is the case, make sure in the build that you are telling LV to include the target VI's front panel.
Mike...
02-01-2012 03:28 PM - edited 02-01-2012 03:31 PM
I had to force it to include the vi in the executable. Since it was only a reference, it did not include it in the build until I forced it to include the vi. Under source files, Move the vi into the always included column.
Thanks for your help!
02-01-2012 03:35 PM - edited 02-01-2012 03:37 PM
Glad to see you got things going. Something you can do to avaid the problem is to insure that the VI is always loaded into memory somewhere. Check out the examples for the new asynchronous call function for an idea for how to do it.
Mike...
PS: Since you have a solution to your problem, you might want to mark your problem as being solved. That will help folks in the future that run into the same issue.