LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Polymorphic selection

If a polymorphic vi has ten function is there a way to select correct function base on user input without a case structure?  Thanks!

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 7
(831 Views)
Highlighted

A ploymorphic VI is the one that "can adapt itself to diffrent data types".

 

So why the case structure is required? You have to select the option "Automatic" or Auto and just wire the input... 

Regards
Guru (CLA)
Message 2 of 7
(819 Views)
Highlighted

hmm, the auto option sounds interesting.

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 3 of 7
(798 Views)
Highlighted
You do know there's a manual right?
0 Kudos
Message 4 of 7
(786 Views)
Highlighted

I knew about the auto option, but I just never connected the dot.  Anyway, I can't use the auto option, since the input for all of my instances are of the same type, only the outputs are of different type.

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 5 of 7
(780 Views)
Highlighted
It would probably be best to keep this discussion in one place so people know what this is all about.
0 Kudos
Message 6 of 7
(778 Views)
Highlighted

I split that out, because I thought it is a side question, but I will try to keep it together next time.

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 7 of 7
(773 Views)