annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

Edit a array of Cluster element property

Résolu !
Accéder à la solution

 

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.

 

With Regards

Sibin K Mathew



Email: sibin.is.here@gmail.com
Mobile No:+1215-406-6545
http://in.linkedin.com/pub/sibin-mathew/48/846/446
0 Compliments
Message 1 sur 10
5 752 Visites

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.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 sur 10
5 739 Visites

Do i have any other way to create a array of cluster with diffrerent Ring display ?

With Regards

Sibin K Mathew



Email: sibin.is.here@gmail.com
Mobile No:+1215-406-6545
http://in.linkedin.com/pub/sibin-mathew/48/846/446
0 Compliments
Message 3 sur 10
5 735 Visites

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Compliments
Message 4 sur 10
5 721 Visites

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

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Compliments
Message 5 sur 10
5 714 Visites

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.

0 Compliments
Message 6 sur 10
5 691 Visites

Its again , you won't be able to change for the particular string property of ring in an array.

With Regards

Sibin K Mathew



Email: sibin.is.here@gmail.com
Mobile No:+1215-406-6545
http://in.linkedin.com/pub/sibin-mathew/48/846/446
0 Compliments
Message 7 sur 10
5 662 Visites

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.

With Regards

Sibin K Mathew



Email: sibin.is.here@gmail.com
Mobile No:+1215-406-6545
http://in.linkedin.com/pub/sibin-mathew/48/846/446
0 Compliments
Message 8 sur 10
5 660 Visites
Solution
Accepté par Sibin

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.

Message 9 sur 10
5 617 Visites

Thank you Hooovahh ,This solution is working for me.

With Regards

Sibin K Mathew



Email: sibin.is.here@gmail.com
Mobile No:+1215-406-6545
http://in.linkedin.com/pub/sibin-mathew/48/846/446
0 Compliments
Message 10 sur 10
5 590 Visites