11-10-2009 11:12 AM
Hi guys,
I'm new to here and LabVIEW, and I'm trying to design a program with multiple timers. The user clicks the first button to start the timer, and upon clicking the second button, it stops the first timer, logs it, and starts a second timer. And so on with the third and fourth buttons.
I have a VI designed, but it doesn't really work, and I'm not sure why. Could anyone suggest possible fixes? Thanks a lot.
Solved! Go to Solution.
11-10-2009 11:23 AM
11-10-2009 11:30 AM
11-10-2009 11:38 AM
the reason you are having errors is:
your events are not filled you have to chooses acontrol to go with a event such as:
ok button, value change
11-10-2009 11:45 AM
this is an error:
11-10-2009 12:01 PM
11-10-2009 12:17 PM
Thanks for the tip.
I filled in the empty event structures, but I think there's something wrong with the design of the program in general.
I'm getting 0.00 0.00 0.00 on the log, instead of actual times.
Is there something wrong with my timer design?
11-10-2009 12:37 PM
In case anyone wants to try running it, I have the "fixed" version attached.
11-10-2009 12:37 PM
Yep-
time isn't an integer its a number of mSec.
11-10-2009 12:43 PM
Woah!
OK- its not good to have the same event handled by two different loops and I cannot understand why you would change the timeout value when "Button" goes true. Back to the drawing board for this.