Example Code

Programmaticaly Change Front Panel Color 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

Overview

This example shows  how to change Front panel color.

 

Description

This example  change Front panel color by calling front panel properties to realize color changing at runtime.

 

Requirements

  • LabVIEW 2012( (or compatible)


Steps to Implement or Execute Code

  1. Run the vi.
  2. Click "Color Box" to change the color

 

Additional Information or References

Front Panel of running VI
Change Color.PNG

 

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

 

Regards
Prabhakant Patil

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