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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.