05-03-2012 12:52 AM - edited 05-03-2012 12:52 AM
I have a cluster that holds a string control and a DBL control.
An array consists of that cluster.
The array looks like the lines below.
"min" 3.55
"max" 10.33
"average" 7.33
How can I extract the value of "min" without having to inspect every element of that array in my LabVIEW code?
In C, C++, and java, there is "map", but there doesn't seem to be an equivalent to map in LabVIEW.
Solved! Go to Solution.
05-03-2012 03:33 AM - edited 05-03-2012 03:35 AM
You can take the reference of the cluster and find which control is having the name "min" and can extract the value. See the attached example.
Good luck
05-03-2012 03:47 AM
Try giving a look here:
http://forums.ni.com/t5/LabVIEW/How-do-I-create-an-associative-array/td-p/764454
Regards,
Marco