LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
JICHFI

Case Tunel "Variant to Data"

Status: Declined

Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined. 

 Variant-Tunel.PNG

Wouldn't be nice to have a configurable tunel in case structure which receives a Variant?

 

Regarding each case we could specify which datatype it is, by right-clicking the tunel and getting a new window to define the type.

 

Then we wouldn't need to wire a "Variant to Data" sub-vi and a control/constant to define the datatype.

5 Comments
crelf
Trusted Enthusiast
IMHO, that's a little too obfuscated for me...




Copyright © 2004-2023 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.
Knight of NI
I agree. Sometimes minimalism simply makes things too confusing. Reminds of my stochastic process texbooks from grad school "and we can clearly see (without showing you how to perform the 48 steps to get there) that..."
tst
Knight of NI Knight of NI
Knight of NI
You also didn't leave any room for the error I/O (which is important, as the primitive will throw an error if the type is wrong).

___________________
Try to take over the world!
JICHFI
Member

I have to confess that I didn't think about the error handling. And the fact that we would have to "right click", "define type",... for each case is a bit annoying.

 

I should find a better way to pass data from producer loop to consumer loop for each case.

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined.