MotoHawk:Blocks:Absolute Time
From MotoHawk
Jump to navigationJump to searchAbsolute Time
This MotoHawk™ block outputs the current time since reset.
Block ID
motohawk_abs_time
Library
MotoHawk_lib/Extra Development Blocks
Description
If Output Mode is set to Seconds, the output will be a double data type, and the precision will be in floating point. This means that as time progresses, the exponent will grow and the precision of the mantissa will shift toward more significant bits.
If set to Microseconds, the output will be a uint32 data type, and the precision will always be in microseconds.
NOTE: Be aware that, if set to microseconds, after 4294967295 microseconds (the largest 32-bit value), or a little under 72 minutes, the time value starts over at zero. Prepare to handle this accordingly.
Block Parameters
Parameter Field | Values | Comments/Description |
Output Mode | Seconds | Data type is double |
Milliseconds | Data type is uint32 |