Logo

“To be great is to be misunderstood.” - Ralph Waldo Emerson

Clock Program

Here is a clock program. This program displays an analog time using either the system's time, or a user specified time. There is added functionality that allows the user to change the color of the Minute, and Hour hands. The user can also specify the color of the clock, and its background.

Contents

Executable\Clock Program.exe Compiled Windows Binary

Source\Accent Color.vi Sub-VI finds an accent color to a base color.

Source\Draw Circle.vi Sub-VI which draws the face of the clock.

Source\Draw Hour.vi Sub-VI which draws the hour hand.

Source\Draw Minute.vi Sub-VI which draws the minute hand.

Source\Draw Seconds.vi Sub-VI which draws the seconds hand.

Source\Main.vi Main VI which draws an analog clock, based on user input.

Source\System Time.vi Sub-VI which determines the system time.

Download

The Download comes in 2 flavors, the first is the one you should download if you don't know what to download. It includes the source and program, with the 7.1 run time so you can run the executable without having to install any thing. Just run the exe in the Executable folder.

Download Clock Program

The second flavor is you can download the executable with the source, but no run time, you can download the run time seperatly. This is incase you already have the run time engine and don't want to download it again. If you already have the LabVIEW 7.1 runtime engine just download the executable, and put it in the folder with the 7.1 run time engine. Place it in the same folder as the LVShellExt.dll file (along with all the others).

Download Clock Program (No Run Time)

LabVIEW 7.1 Run-Time Engine (no install)

Photo Albums

All examples, instructions, tutorials, custom code, and documents created by Brian Hoover on this site are in acordance with the Createive Commons Attribution 3.0 license.

This means you are free to take, and modify any thing on this site, even for commercial use, as long as Brian Hoover is cited as the original creator, and that http://www.brian-hoover.com is the original source.

About Me

Everything on this site is taken as-is, and no support contract or warrantees are in place for obligated continued support. If you have questions about the content on the site feel free to contact the Webmaster.

Creative Commons License
This work by Brian Hoover is licensed under a Creative Commons Attribution 3.0 United States License.
Based on a work at www.brian-hoover.com.