Example Code

Trinary (Ternary) Clock

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 example demonstrates how to get the LabVIEW Binary Clocks .

 

Description
The main code is very simple, using quotient and remainder functions to extract the base 3 representation.  Adding in a few other features would be useful, such as converting a user selected time, and programmatically showing the labels.

 

Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

 

  1. Download the attachment
  2. Hit Run, the rest should be self-explanatory

 

Additional Information or References
VI Block Diagram

 1.png

 

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

 

 

Ian S
Applications Engineer CLA
National Instruments UK&Ireland

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

Comments
Gearmiester
Member
Member
on

love this! I will definately be tweeking the appearance to go with the Steampunk theme.

Nice work!