03-29-2015 10:19 AM - edited 03-29-2015 10:20 AM
03-29-2015 11:51 AM
03-29-2015 11:54 AM
This is how far i got....
could you show me how to connect the elapsed time function?
Thanks!
03-29-2015 04:19 PM
You have a While loop, so you can put Shift Registers on the loop. When you push the Start button, put the Tick Count (on the Timer Palette, a free-running 1KHz clock value) on the "Start Time" Shift Register. When you push the Stop button, put the Tick Count on the "Stop Time" Shift Register. Note that you need to know how to do this only when you push these buttons, i.e. when they go from False to True,
Now you have a stable "Start Time" and "Stop Time" (both in milliseconds), and you should have no problem subtracting them and doing whatever manipulation you need to get the value of Elapsed Time into the proper units. This works as long as your elapsed time is less than 49 weeks (otherwise the Elapsed Time will "roll over").
Bob Schor