From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Creating a Unique Interface to Impress

Code and Documents

Attachment

Whether you're designing for a client with strict guidelines or creating a unique interface to make your application stand out, LabVIEW has the ability to keep users and developers guessing. Here is a simple example written to show off some subtle tricks that create a spectacular interface.

Using a button and a color box we've created an interface that shows off the functionality not easily recreated with other languages.

Download the VI to see if you can pinpoint how it was done. Otherwise the answers are posted below along with some related links.

Lamp.jpglamp2.PNG

Related Links:

Customizing Controls in LabVIEW

https://decibel.ni.com/content/docs/DOC-4819 

A transparent pictures is pasted over a colorbox.

Kyle Hartley
Senior Embedded Software Engineer

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

Contributors