08-09-2009 03:16 AM
09-12-2012 01:26 PM - edited 09-12-2012 01:27 PM
@Alain S wrote:
No comment
Note that in LabVIEW 2012 we now have conditional tunnels, significantly simplifying your code. 😄
01-23-2013 08:38 AM - edited 01-23-2013 08:42 AM
I ran into the same problem. I have several cluster arrays and need to search them on different occasions.
The idea of adding a for loop to my code every time seemed a bit cumbersome and just wouldn't look good, so a SubVI was needed. But every one of these arrays contains different cluster types, so I needed a sub-VI that I could use for any type of cluster array.
In the end, I found a very usefull VI in the OpenG toolkit, named "Get Cluster Element by Name". Using that, I made a SubVI with variant inputs.
So far, it seems to be working just fine.
ElementLabel is the label.text of the cluster element you want to select on
SearchValue is the requested value of the element
Maybe this can be of some use to anyone.