LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic vi in exe

Solved!
Go to solution

Hello,

 

I am trying to call a dynamic VI in an exe.  I put the dynamic VI in the "Always included" in the source files in the application builder.  When I build my exe my application can't find the dynamic vi.

 

What is the path to a dynamic vi that is built into an exe?

 

Thanks

Dan Shangraw, P.E.


   

0 Kudos
Message 1 of 2
(2,895 Views)
Solution
Accepted by topic author ASTDan

Try doing it this way:

Call Dynamic VI.png

Some advantages are:

  • You don't have to explicitly wire in the Path -- LabVIEW gets it for you.
  • You don't need to do anything special in the Build.  The Static VI Reference pulls the Dynamic VI into the Build for you.
  • When you drop down the (blank) Static VI Reference, right-click and Browse for Path to find the right VI.
  • If you create your Dynamic VI with an Icon, the icon will appear in place of the "generic" LabVIEW icon, "self-documenting" the code.

Bob Schor

Message 2 of 2
(2,887 Views)