09-09-2014 08:21 AM
I have a array of cluster .In which i have 1 Ring control and a string control.I want to name different string element property of ring for every index of array. For Example In the first Array the ring display choice is (a,b,c) and 2nd Array the ring display choice (b,d,e). Is this possible ? i am able to only give a common choice display.
Solved! Go to Solution.
09-09-2014 08:31 AM
Sorry, but every element of an array must have the same properties. They can have different values, but everything else has to be exactly the same.
09-09-2014 08:36 AM
Do i have any other way to create a array of cluster with diffrerent Ring display ?
09-09-2014 08:48 AM
Hi sibin,
again: in an array all elements share the same properties. So you CANNOT use an array when your rings should have different strings!
You can use a cluster of clusters - with a fixed number of clusters in your main cluster…
09-09-2014 08:57 AM
It's all a question of how many items you put into your cluster 😉
Add label strings or an array of string and your done:)
In your control, you can disable the strings
09-09-2014 10:13 AM
It's more coding, but you could use something like this, and then change the items in the ring control each time you show that control at a different location in the table.
09-09-2014 11:21 PM
Its again , you won't be able to change for the particular string property of ring in an array.
09-09-2014 11:25 PM
My application doesn't know how many element will be there untill the data is inserted when application starts.so I need to change the ring display as per the input to the string control . It can have min of 20 array elements.
09-10-2014 10:05 AM
Sure this can be done with some voodoo magic. Oh and using a Combo Box instead of a ring. I think the same is possible with a ring but I wasn't sure if values would get changed where I knew a Combo Box it wouldn't.
Attatched is an example where there is an array of a cluster, with a combo box and a string in the cluster. Set the string to something and the Combo Box will be populated with names that start with the string in String. This will create the illusion of different drop downs for each element in the array, but really it is changing the drop down in each element as needed.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-11-2014 12:16 AM
Thank you Hooovahh ,This solution is working for me.