Example Code

Binary Clock - The Ultimate Digital Watch 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

Download All

Overview

This VI displays an ultimate digital watch, which is also known as binary clock.

 
Description

The clock in this VI is the ultimate digital clock in every sense of the term digital as the time is displayed in binary. Each vertical array (column) of LEDs is a binary representation of each digit from a normal digital clock display.  

The VI also employs property nodes to flash the screen color on every multiple of 10 minutes and on the hour.


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Run the VI, a binary clock is running in the front panel.
  2. Click "STOP" button to stop the VI.

 Additional Information or References
VI Snippet

010.png

**This document has been updated to meet the current required format for the NI Code Exchange.**

Liam A.
National Instruments
Applications Engineer

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.