Example Code

Set an Image as a Front Panel Background in LabVIEW 8.0 or Earlier

Code and Documents

Attachment

Introduction

In LabVIEW 8.2, the functionality was introduced in which you could set an image as the background of your VI.  Prior to this version of LabVIEW the only way to do this is to load an image to a picture control and stretch this control over the entire background of the front panel.  This is illustrated in the following VI.

backgroundimage71.jpg

Steps to Complete

Select image type (JPG, PNG, or BMP)

Select picture file in the "path to picture file" control.

Run VI once to load image.

Create remainder of VI on top of the "new picture" indicator.

Additional Notes

See KnowledgeBase 3HGEI6L2: How to Set an Image as a Front Panel Background for more information on how to do this in LabVIEW 8.2 and later.

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

Contributors