11-03-2011 11:30 AM
VI server methods and properties have many characteristics, and one of these is whether or not they will work in the run-time engine. Generally, anything which modifies code (i.e. scripting) will not work in the run-time engine, because a recompile is needed before running and the run-time engine does not contain a compiler. If in doubt, look in the LabVIEW help for the property or method and this characteristic will be listed, as there are properties and methods which do not modify code but will not work in the run-time engine.
11-04-2011 02:54 AM
Thanks for your answer.
And what if there is the Labview Developper Environement installed on the machine, would it be still possible to have a problem to build an .exe?
11-04-2011 03:21 AM
Thanks for your answer.
And what if there is the Labview Developper Environement installed on the machine, would it be still possible to have a problem to build an .exe?
Besides, when you call a VI by propertie node, is this called VI integrated as a dependency of the main one?
Because when I run the main one (in the developpment environnement), everything goes perferctly. But when I build the exe and launch it, a pop up window tells the called VI and its dependencies are being loaded and finally it isn't executable any more. I don't know why.
11-04-2011 07:17 AM - edited 11-04-2011 07:17 AM
When you build an EXE, it will use the run-time engine, regardless of the presence or absence of a development environment on the machine. So it is subject to the same limitations.
If you call a VI by opening it with Open VI Reference and running it with the Run VI method, there is no dependency in the calling VI.
You probably have one of three issues:
I would guess you have problem 2.
11-04-2011 08:37 AM
Thank you very much for your help.
I will investigate the second way.
Luc