delta-time-copy2

hio/nwt-gus-hi/delta-time-copy2

Outputs time difference between the current and previous updates.
delta-time-copy2
@/delta-time-copy2
Outputs time difference between the current and previous updates.
UPDpulse
Triggers new update
RSTpulse
Resets the output to 0
delta-time-copy2
OUT
UPD
RST
OUTnumber
Time difference in seconds between the current and previous updates. Always equals to 0 on the first update.
To use the node in your project you should have the hio/nwt-gus-hi library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.

Tabular tests

__time(ms)UPDRSTOUT
0pulseno-pulse0
1000pulseno-pulse1
3000pulseno-pulse2
3600pulseno-pulse0.6~
4000no-pulsepulse0
6000pulseno-pulse2
6500pulseno-pulse0.5
7000pulsepulse0
8000pulsepulse0
9000pulseno-pulse1
12000pulseno-pulse3
20000no-pulseno-pulse3