LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

selecting item in the menu ring will disable in the another menu ring

hi everyone,
                      I using 8 dialog check box and 8 menu ring (Items 1,2,3,4).If i make the 8 dialog check box 'true' condition the corresponding  menu rings will enabled .In that menu ring  the selected item (1 or 2 or 3 or 4) will disable in the another menu ring.how to get an optimum solution?
 
 
                                                      Thanking you,
 
 
Regards,
Kumar.
Message 1 of 6
(3,426 Views)
Dear Kumar,
 
The information you provided is a bit vague, and makes it difficult to help you.  Please clarify your requirements and add a diagram if applicable.  Also, please keep in mind that there are property nodes which allow enabling and disabling of controls.  I believe these property nodes can be useful for your application.
 
I look forward to hearing back from you,
AG
0 Kudos
Message 2 of 6
(3,403 Views)
hi ag,
 
          I attached the basic vi of my application.what should be the action is the selected number in the menu ring(1 or 2 or 3 or 4 or 5 or 6 or 7 or 😎 disaable in another menu ring.
for example,
                    If i select the numer 1 in the menu ring 4 the other 7 menu rings disable the numer 1.after fourth selection the other four menu rings disable the numbers 1,2,3,4.The selected four menu rings does not disable the number 0 it will consists the selected value & 0.
If i choose the 0 in the  menu ring 4 .the other menu rings visible the number 1.
 
By,
kumar.
0 Kudos
Message 3 of 6
(3,390 Views)
Hi Muthu Kumar,
 
You will be able to realise what you are trying using a property for the ring called Disable Items ( look at attached pic)
 
using this property node, I am sure that you can think of a logic/program to achieve what you are trying to do
 
Regards
 
Dev
 
 
 
0 Kudos
Message 4 of 6
(3,388 Views)
hi devchander,
 
                      By making any 4 rings with values(1,2,3,4) the disable items property  works correctly in that application . But after make all menu rings value to 0 the other numbers(1,2,3,4) are disable in first click(mouse down event).it appear after the second mouse down event only why? and
 
eg:
 
 rings              values
ring 1               4
ring 2               3
ring 3               1
ring 4               2
 
 
ring 1              0
 
 
but still  other menu rings are disable the value 1.how i enable it?
 
 
by,
kumar.
 
 
0 Kudos
Message 5 of 6
(3,382 Views)

If i Understood your query correctly, you are asking 'why is not the change disable/enable happening instantly once you perform a mouse down? '

Understand this funda: In the ring, first the mouse down event occurs and only then, value of the ring changes.

so when you do mouse down, the event case is entered and the code in it is executed.

However since the value change has not yet occured, your local variable will still be holding the previous value of the ring

hence you observe your desired result on the next mouse down operation

I suggest you keep this 'all ring indexes =0' check in the time out case and give a finite time out value ( Ex: 100 milli sec), instead of keeping it in a 'mouse down' case

Hope this helps

Regards

Dev

Message Edited by devchander on 08-11-2006 02:51 AM

0 Kudos
Message 6 of 6
(3,374 Views)