Creating an Array of Pictures in LabVIEW

Publish Date: Feb 21, 2018 | 0 Ratings | 0.00 out of 5 | Print | Submit your review


This example explains how to create an array of pictures in LabVIEW.

1. Introduction

An easy method of creating an array of pictures in LabVIEW uses a combination of VIs from the Programming»Graphics & Sound»Graphics Formats and Programming»Graphics & Sound»Picture Functions sub-palettes.

First, use one or more path controls to select the locations of the pictures you want to build into the array.  Pass these paths into one or more Read JPEG File, Read PNG File, or Read BMP File functions from the Graphics Formats sub-palette. Currently, LabVIEW only supports these three file types. Pass the outputs from these functions into one or more Draw Flattened Pixmap VIs from the Picture Functions palette.  The outputs from these VIs can then be passed into a Build Array function and on to an array of Picture controls from the Modern»Graph»Controls sub-palette.

The VI attached to this article illustrates this method.  Below is a snippet of the Block Diagram.



Back to Top

2. Additional Resources

Back to Top

Bookmark & Share



Rate this document

Answered Your Question?
Yes No