Jump to content

Recommended Posts

  • MVP 2023

They count down by design.

If you want to see the value increase then select "elapsed time" on the timer variable display.

A better option may be to make your own timer by incrementing an ML with the SB 13 one second pulse.  You didn't say how long you want to time for, but this gives you more flexibility.

Joe T.

Link to comment
Share on other sites

  • MVP 2023

SDW 0 is a free-running accumulator with 10 ms precision.   You could use that by making a copy of the value at some time and then doing a continuous subtraction of the current value minus the copy .

SDW 3 counts instances of 2.5 ms.  So it's count at 10 ms is 4.  You could use this and do some math to get real time.

Or you could increment an ML with a self resetting 0.01 s timer:

image.png

 

Now my OCD is kicking in.....

It would be interesting to let it run and compare the accumulated value to a real chronometer and see what the accuracy of the timers are.  Here's one I found online:

http://online-stopwatch.chronme.com/

The maximum value of an ML is 2,147,483,248, so if you let your accumulator run up to 2,000,000,000  (2 billion) you will have accumulated 231.48 days worth of seconds.

On second thought, that's too long to wait. 

If you let it go for 6 hours your ML should be equal to 2,160,000.  If you ran the online chronometer for 6 hours and you have fast hands you could put a  bit in front of the timer so you could stop and start it from the screen.  Then you could look at the value of the ML when the online chronometer stops compare the two.

Joe T.

 

 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...