LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Naming convention

Solved!
Go to solution

I am a little confused with the wording of the post.

 

I have to create a dynamic static VI and add this to the poly (outside) the class?

What is "mark as inlined" mean?

0 Kudos
Message 11 of 13
(532 Views)
Solution
Accepted by topic author s.h._tech

If I remember correctly, you create a private VI as wrapper inside the class. This VI could be made inline I guess but I haven't bothered. Its in the execution properties of the VI. This VI then has a protected VI inside that is one of the polymorphic instances with dynamic dispatch terminals. The private VI is the one you choose from the poly-VI.

 

It may sound like a lot of work but once you get it it is pretty simple. But have a look at VIMs and see if you can use them, they do all that magically (although are not the same thing as poly VIs for all circumstances, but since VIMs came, my use of poly-VIs have gone to zero).

Certified LabVIEW Architect
Message 12 of 13
(528 Views)

After your suggestion I started reading on VIMs. This is probably what I am going to use (if and when I understand them correctly).

 

I thought when using the type "Class" I can have all the benefits I am used to from text-programming language. I will worry about abstract classes in another post.

 

Thanks for the help

 

0 Kudos
Message 13 of 13
(521 Views)