06-15-2007 10:33 PM
Have you seen the price of copper lately? A 1/4 mile of wire costs twice as much as it did a year or so ago!
@altenbach wrote:
. For example you have 24 different comparison operations and 1/4 mile of wire for no real purpose.
07-11-2007 03:24 PM
07-11-2007 04:14 PM
07-11-2007 04:23 PM
Your upper structure has an outer while loop (not the largest program loop) that never stops because its stop node is wired with a false. You never see the elapsed time because it is outside of that loop. You may want to move the elapsed time indicator inside so you can see it update.
I think you may want to eliminate the inner while loop on the lower one.
Try the attachment. I put two timers in there. When the button is pressed true the first time, it resets the timer. While true, it updates the indicator with the new elapsed time. When false, the indicator stops.
07-11-2007 04:27 PM
Hi Christian,
You got me beat 3 indicators to 2 and by a few minutes. I think I had learned about the implies boolean function from one of your older posts. I never knew what was a practical use for it until then.
07-11-2007 04:33 PM
07-11-2007 05:21 PM
I think it could be made simpler, without the implies even needed. 🙂
Attached is a comparison of three versions. Do you see a fundamental functional difference?
(Also, since we take a tick count at each iteration, we can place it outside the loop. ;))
07-11-2007 09:29 PM
07-20-2007 04:49 AM
07-20-2007 10:41 AM