Example Code

Creating Digital Display 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 example VI creates a digital display similar to the one you see on old digital clocks.

 
Description
This example VI can take any positive integer less than 99999 and convert to the digital display by breaking down the number into its component parts and then placing them into an array. The VI uses custom controls consisting of LEDs and clusters to create the digital display.

 
Requirements

  • LabVIEW Base Development System 2012 (or compatible)


Steps to Implement or Execute Code

  1. Unzip the attached folder to your computer.
  2. Open the VI "Digital Display 2012 NIVerified.vi".
  3. Run the program.

 

Additional Information or References
VI Front Panel

pic.png

 

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

 


Larry Colvin
Associate Principal Engineer
Dyson Technology Ltd.

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