02-12-2014 09:55 AM
Hi guys, I am Kinni. I am currectly working with my assignment and I am struggling with my Labview project. May I request help from you guys?
The question is, I am doing a single button to perform different task. To make it simple, the button should perform the task as below:
Click = LED 1 =T LED 2 = F LED 3 = F
Click again = LED 1 =F LED 2 = T LED 3 = F
Click again = LED 1 =F LED 2 = F LED 3 = T
Click again = LED 1 =T LED 2 = F LED 3 = F
and so on......
Solved! Go to Solution.
02-12-2014 10:35 AM
Why are you asking this question again, since you received a good answer and have not replied to it on your other thread?
02-12-2014 10:43 AM
Looks like what you really want is a counter. Each time the button is pressed, increment the counter and pass that new value on to the client. The client can then convert the number into a boolean array and light the appropriate LEDs.
I recommend storing the counter in a feedback node or a shift register.
02-12-2014 11:05 AM
02-12-2014 12:52 PM
I am so sorry about this. He is really helped me out of the question that I have asked. Because I having some problem on it. So I think to find other methods to do it before I can solve the problem. Really sorry.
02-12-2014 12:54 PM
Yea, this was what I thought at the beginning but I have failed on doing this. The number doesn't increase as I expected after I added a increment.
02-12-2014 01:08 PM
Hi, thank you for your reply and this is the way people told me before but I couldn't understand how does it work and how to do. 😞
02-12-2014 04:15 PM
This will also get it done.
02-13-2014 08:33 AM
Thank you so much mate 🙂 this work very well. This can be my second method to do