ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Example Code

Change Graph Background to Image

Code and Documents

Attachment

Overview:

Shows how to add a background image to a waveform graph.

Description:

This code makes usage of property nodes to load an image into a waveform graph after being flattened.

Requirements:

LabVIEW 2012 (or compatible).

Steps to Implement or Execute Code:
1. Select the .PNG image you want to use.
2. Run the VI.

Additional Information or References: 

The image needs to be within scale before being load.
You can adjust the size of the waveform graph as well.

Graph Background Image FP- LV 2012 NI Verified.PNG
Graph Background Image - LV 2012 NI Verified.PNG
"**This document has been updated to meet the current required format for the NI Code Exchange.**".

Caleb W

National Instruments

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