lm_timer_stopwatch

This is an old revision of the document!


The Stopwatch node measures the time passed since the Input connector value is 1 and sends it to the Partial time output connector, the Total time output connector value represent the total time measured since the last reset.
There are two modalities to determine how the Stopwatch should start counting time which are specified by the Trigger policy property:

  • Switch The Stopwatch counts for all the time the Input connector value is 1.
  • Toggle The Stopwatch starts counting when it receives a pulse on the Input connector and stops when it receives another pulse.

When the Reset connector value is 1, the node stops counting the time and sends 0 to both Partial time and Total time, it will start counting again only after the Reset value goes to 0.

 Behaviour of Stopwatch with Trigger policy //Switch//

Behaviour of Stopwatch with Trigger policy Switch

 Behaviour of Stopwatch with Trigger policy //Toggle//

Behaviour of Stopwatch with Trigger policy Toggle

  • lm_timer_stopwatch.1506675574.txt.gz
  • Last modified: 2019/03/20 17:03
  • (external edit)