LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I make an EXE (App.Builder)including VIs called dynamically

I want to make an EXE with:
A VI ("Vi principal") which called dynamically an other("Vi called"), thanks to the refnum of this later.
The matter is that the "Vi principal" can't find "Vi called" and send a message error.
Thanks for your help.
0 Kudos
Message 1 of 3
(2,471 Views)
When you call vis from an executable (exe) you do it as you normally call vi from llb, but insted of *.llb you give *.exe.
If for example your vi a.vi was placed in c:\my.llb\a.vi, you will call it after it has been compiled as: c:\my.exe\a.vi
Remember though, that you must include a.vi as "dynamic" vi in application builder.

regards
Pawel
0 Kudos
Message 2 of 3
(2,471 Views)
Thanks for your notices,"Pawel".
But I haven't successed in explaining the problem, so the answer is not what I was looking for!
In fact, I was trying to make a single EXE including 2 VIs(see attached files); now,I have found the answer and my EXE works.
Thanks for any suggestions.
Download All
0 Kudos
Message 3 of 3
(2,471 Views)