Simulator: RTC (Real Time Clock)

Top  Previous  Next

The "Real Time Clock" window simulates the on-board clock of the RTCU platform.

 

Simulator-RTC

 

In this window, the time that the application should see can be set. For example, if the application is scheduled to do some action at a specified time in the future, the clock can be set to a convenient time for the simulation, e.g. a minute before the time occurs.

 

By using the slider for the "Clock speedup factor", it is possible to let the clock run at a faster speed. This can be very useful if an application uses the built-in clock to determine when a certain action should occur or when a value should be logged in the Datalogger etc..

The speedup factor is only an approximate value and not 100% precise. The range of it is 1 to 120 with 1 being normal speed.

 

The speedup factor only affects the absolute time of the device, it does not affect other functions such as boardTimeSinceReset or Sleep.