Example Code

Convert Time String of Format HHMMSS to Nearest Next 5 Minute Multiple

Code and Documents

Attachment

Functional Description

This VI takes a string input in the format HHMMSS and rounds it up to the nearest multiple of 5 minutes.

Caveats and Additional Notes

Note that this program takes into consideration the rounding issues of changing hours or days.

processHHMMSS.png

Jeff | LabVIEW Software Engineer

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Todd S.
NI Employee (retired)
on

Very useful!  I've doing this by hand in Excel for a while, this is going to save me a bunch of time!

Todd S.
LabVIEW Community Manager
National Instruments
Contributors