아래의 제품을 비롯한 NI 소프트웨어를 다운로드하시려면 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.**
NI 커뮤니티에 있는 예제 코드 교환의 예제 코드는 MIT 라이센스로 라이센스가 부여됩니다.
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