LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unused vi compiled into exe

Solved!
Go to solution

May you give the details.

 

If I only install LV runtime engine, will the engine cover it? Just wonder where they are?

0 Kudos
Message 11 of 13
(681 Views)
What do you mean? They aren't anywhere. They've been deleted from the exe. Why should the run-time engine have to cover a function that you aren't calling? Do you understand how a polymorphic VI is created?
Message 12 of 13
(679 Views)
Solution
Accepted by topic author alex.

"turbot" <x@no.email> wrote in message
news:1234318211590-850685@exchange.ni.com...
> 'If you disconnect them', where will they be placed, in which file
format.&nbsp;Thanks,

If you disconnect them, they won't be in the executable. Basically, the
controls will become normal controls with the type of the type defs. The
original type defs will still be on there original locations, of course,
just like all the other VI's.

If you don't disconnect them, they will be embedded in the executable, like
the VI's.

Think of an executable as a .llb, where all the VI's block diagrams are
removed (by default anyway). This is actually pretty much what happens (a
llb is build, and a exe stub is placed before it as a "starter"). For
subvi's the front panels are also removed (if they don't have locals or
local property nodes or event structures). So if the exe loads a dynamic VI,
the type def is in memory, and the vi will be loaded with that type def.

Regards,

Wiebe.


Message 13 of 13
(661 Views)