TUnits (Time Units)
The TUnits argument is the time unit in which to report the Timer. A numeric or alphabetical code can be entered.
Code | Alphanumeric Code | Description |
---|---|---|
0 | usec | microseconds |
1 | msec | milliseconds |
2 | sec | seconds |
3 | min | minutes |
4 | hr | hours |
Note, when using microseconds:
- The datalogger does not go into quiescent mode. This increases the power consumption of the datalogger. If a microsecond timer is needed within the program, stop the timer after its use to allow the datalogger to go into quiescent mode when it is not actively running its program.
- The datalogger uses a 32-bit counter, so the maximum amount of elapsed time that can be tracked when using microseconds is 2147 seconds or approximately 35 minutes. Furthermore, the results are stored as a float that has 24-bits of resolution, so precision will be lost after 8 seconds.
Type: Constant