To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example takes the current time and displays the time in hours, minutes and seconds.
Description
The time stamp is first converted to a string, the string is then split into the seperate hour, minute and second categories, this is then also displayed as an array.
Requirements
Steps to Implement or Execute Code
Press Run and wait a few seconds. When you press stop the string and array indicators will be updated.
Additional Information or References
VI Snippet
**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.