LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Polymorphic VIs and executables

I have recently created a polymorhic VI for a project. Now when I  tried to convert it to an executable I was told by LabVIEW that "You cannot include a polymorphic VI in the Startup VIs or Dynamic VIs and Support Files listboxes." and the help file stated that "Use an instance of the polymorphic VI instead."

 

What does "Use an instance of the polymorphic VI instead." mean? Can anyone translate it into a simple langusge that may be understandable  by me?

 

I'll be grateful!

 

Have a nice weekend!

0 Kudos
Message 1 of 3
(2,797 Views)

Hi C.DOT,

every polymorphic vi consists of different vi´s. You can´t use the real polymorphic vi, because it only describes which other vi´s are part of it. You can only use instance (the "subvi´s" from the polymorphic vi) in your program. If you don´t wanna start your program with the polymorphic vi  and don´t want to load it dynamically, then you don´t need to think about it while creating an executable. 

 

Hope it helps.

Mike 

Message 2 of 3
(2,788 Views)

Dearest Mike,

 

Thanks for the great explanation. That solved the problem.

0 Kudos
Message 3 of 3
(2,782 Views)