LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with disabling items of a menu ring control in a 2D-array

I try to disable items of a control, which is placed in an 2D-array. If I create an arry with a menu ring with some disable items in, they become able in the array. How can I resolve this.
0 Kudos
Message 1 of 7
(3,457 Views)
I'm not sure how you created your 2-D array of the ring control. From what I did, it seems that if you placed the exact ring control into the array, then the rings in the array will retain the same property as the one you place in. I attached a little example here. Hopefully this is what you are trying to do....
0 Kudos
Message 2 of 7
(3,457 Views)
I did run your proposition, but when I change the property of an item (from disable to enable or from enable to disable) and I run it again this changes are not transmitted to the array. The property's rest the same as I create it for the first time.
0 Kudos
Message 3 of 7
(3,457 Views)
When you say "run it again," do you mean that it worked the first time? Are they disabled when you run the VI the first time, but not the second? By "the property's rest" do you mean the other elements in the array?
J.R. Allen
0 Kudos
Message 4 of 7
(3,457 Views)
I mean that even the first time the disable items don't pass to the array.
0 Kudos
Message 6 of 7
(3,457 Views)
Perhaps I misunderstood what you were trying to do. For your reply, it seems like you want to be able to have the array control enable/disable just like the object being input into it. So when you disable Item 1 in the single object, then all the Item 1 in the array will be disabled as well. Is that correct? That's an intriguing problem..I'll play around and see what I can do. Maybe someone else will have a solution before I do.

-Patrick
0 Kudos
Message 5 of 7
(3,457 Views)
That is correct Patrick.
0 Kudos
Message 7 of 7
(3,457 Views)