Example Code

Graphical Analogue Clock Using LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview
This VI displays the system computer time as a graphical analogue clock.

 
Description

The front panel can be set to be non-rectangular and semi-transparent, currently set too transparent, it also has holes (you can directly click through), this application can be run as a service. This VI will work only on XP, Vista, Win7 (32&64bit).


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Open Clock.lvproj, open Clock.vi.
  2. Run the VI, you can see a graphical analogue clock with transparent background.
  3. To move the clock just click the bubble and move.
  4. To exit the VI, remember to use 'Ctrl+.'.

 

Additional Information or References
VI Snippet

008.png

**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.

Comments
ssingh1
Member
Member
on

"Display Clock.vi" sub vi is missing. Please upload again.

harper
Member
Member
on

Hello, have now looked into this issue, have now updated the files and include a Labview 8.6 version.

Sorry for the inconvenience.

Andy H

harper
Member
Member
on

Enjoy!

ssingh1
Member
Member
on

Working Perfectly now .  Thanks for such nice upload.