Overview:
This VI is a modification in the elapsed time functional global by outputting the time in a custom numerical format.
Description:
The double output is in the following format: MM.SS.
For example, 1.10 is 1 minute 10 seconds. 0.56 is 0 minutes 56 seconds. This is done by converting the appropriate unit values into strings and concatenating the string results into the custom format. The final string is converted back to a double value.
Requirements:
Steps to Implement or Execute Code:
Additional Information or References
"**This document has been updated to meet the current required format for the NI Code Exchange.**"
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
That's a lot of effort to convert the time as the numeric control can be formatted to display a relative time including the delimiter between minutes and seconds.
Tim
This is quite helpful for temperature, time statistics. We have some boil-sense operations that require a timer resolution of 1/10th of a minute and VI time stamps have been combined in minutes and seconds, making manual conversion quite difficult for repetitive statistical operations requiring the single unit of measure. Thanks for the tip and the VI.