02-22-2009 12:14 PM
hi,
I am a beginner in labview. I am now designing a program with play and stop button. When the play is pressed, the system begins and the play button becomes disabled .It turns enabled when the stop button is pressed. How can I realize it. It seems easy but hard for me. So discouraging.
thanks
jessie
Solved! Go to Solution.
02-22-2009 12:39 PM
02-22-2009 02:56 PM
02-22-2009 05:21 PM
Hi,
thanks for your information. I used an event structure. It seems that disabled and greyed button is not disabled. Attached the two picture of the event structure.It turns out that the tank's level can not be always changing after the play button is pressed. And more strange, if the play button is pressed even disabled and greyed, the tank's level can still be changed.
02-22-2009 05:56 PM
02-22-2009 06:49 PM
02-22-2009 07:43 PM
hi,
I found that I made a mistake. The stop condition of the while loop should be connected to true value. Attached are the corrected ones.
02-22-2009 07:58 PM
02-22-2009 09:22 PM
hi, Dennis
Thanks for your answer and the example. My programm has been changed and it can work now. I really learned a lot from this example. Labview is really a quite different language.
Regards
Jessie