Example Code

LabVIEW - Advent Calendar

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 is to check the current date and disable/enable the correct buttons. And each button launches a link in your default browser.

 

Description

The example is to check the current date and disable/enable the correct buttons. If you click the one of twenty-five button, it will link to a website about a mix of YouTube clips, festive images and so on. 

 

Requirements

  • LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code

  1. Run the VI.
  2. Click one of the date to launch a link in the default browser.
  3. If you feel like Scrooge McDuck. Hit F5 to enable all buttons.
  4. Press Esc to exit.

 

Additional Information or References

Front Panel

Advent_FP.png

 

VI Snippet

138.png

 

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


Regards,

Peter D

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