Example Code

Countdown Timer (Set for Christmas 2012!)

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 is an example that shows how to get specific time information from a countdown timer.

 

Description

Sometimes people need to know the remaining time from a specific time. Here is an example that shows how to get time information including minutes, hours, days and weeks from a countdown timer.

 

Requirements

  • LabVIEW 2012(or compatible)

 

Steps to Implement or Execute Code

  1. Run the VI.
  2. Click the “stop” button to stop the timer early.

 

Additional Information or References

VI Snippet

 

 Block Diagram.png

 

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

Regards,


Imtiaz Chowdhury
Project Manager
Green Running / Austin Consultants

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

Comments
PaulG.
Active Participant
Active Participant
on

Missing subvis.

PaulG.

LabVIEW versions 5.0 - 2020

“All programmers are optimists”
― Frederick P. Brooks Jr.
alpha1
Active Participant
Active Participant
on

sub VI attached now, thanks... but a 1-star rating is harsh for a missing sub VI that's not imperative for the operation of the example, as that bit can be taken out completely

Regards,


Imtiaz Chowdhury
Project Manager
Green Running / Austin Consultants