From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(2,487 Views)

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
(2,475 Views)

hmm, the auto option sounds interesting.

 

Yik

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

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 3 of 7
(2,454 Views)
You do know there's a manual right?
0 Kudos
Message 4 of 7
(2,442 Views)

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
(2,436 Views)
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
(2,434 Views)

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
(2,429 Views)