LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cluster question

Please have a look at the vi. I have a cluster array with multiple elements. I also have a array of strings. How can I index this cluster with the array of strings? What I want is the sting of array will have lets say Loadprofile0, Loadprofile1, positionprofile0 etc..for each profiles, I want to select the corresponding cluster data. THanks
0 Kudos
Message 1 of 5
(3,378 Views)
There are two ways you  can do this. maintain a 1 to 1 correspondence with the string array and clustr or you can search the profile cluster with the name. Maintianing a 1 to 1 correspondence is the easiest but requires a bit more up front work.
0 Kudos
Message 2 of 5
(3,371 Views)
Another method is to use the OpenG Variant library. You can see an example of this here.
0 Kudos
Message 3 of 5
(3,355 Views)
Seems like it is a perfect solution for my problem. Problem is I cant get this Open G library. I went to the OpenG website but somehow I cant get the package. Can you pls upload the vis in here?
0 Kudos
Message 4 of 5
(3,321 Views)
What were you trying to get? The easiest way to install the OpenG libraries is with the VI Package Manager that they distribute.
0 Kudos
Message 5 of 5
(3,315 Views)