To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This is an example that fulfills the function of analog clock using XControl.
Description
This VI demonstrates how to achieve the analog clock by using XControl.
Requirements
Steps to Implement or Execute Code
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.
I know this is quite old, but a word of caution for anyone using this. I suspect this has what will appear to be a memory leak, where as the application continues to run it will continue to use up resources. This is because the clock is a 2D picture control, and the image is just continually redrawn on top of the old one. I don't fully know how resources are kept or not between runs of an XControl but this type of thing should be avoided in normal VIs. I explored this in a thread years ago here.
On top of this there are other issues like not having any labels on controls in VIs such as this one.
And lastly this doesn't actually use the value passed in at all. The time displayed will always be the time on the system. If you wire a constant of any number to it, it will always display the system time and not the time wired.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord