07-11-2005 03:24 PM
07-11-2005 04:06 PM
Sounds like an event structure would be perfect. An event for each button, and a timeout event to service the timer--and you're done.
Mike...
07-11-2005 04:23 PM
07-11-2005 04:28 PM
Thanks for the reply.
Charlie
07-11-2005 04:50 PM
07-11-2005 05:00 PM
07-11-2005 05:02 PM
Brian,
Exactly right....
Charlie
07-11-2005 05:13 PM
07-11-2005 05:17 PM
Charlie,
Also, you may want to add a little wait (like 50 milliseconds) in the while loop inside case 1 to reduce cpu utilization if it is using to much cpu cycles.
Brian
07-11-2005 05:46 PM
Actually I will be using the second button, because when I click it I want the time stamp put in a seperate indicator, but this is very close and I appreciate your help!
Thanks Very Much,
Charlie
P.S. I will add the 50ms to the while loop. Thanks!