LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing pictures to represent different values

Hi,
I have little knowledge of LabVIEW but only need to create a basic program. Basically, I have changing values (currently as a numeric indicator) which are updated real-time dependent on sensors connected to the computer via an A/D card.

However, I wish to display different images (either from *.bmp or *.jpg format, etc) on the front panel which are dependent on the values i am getting through the A/D card. Hence the value changes, and a different picture is displayed.

From using the help file, I think the relevant VI's I need are 'Read JPEG' or 'Read BMP' and 'Draw Flattened BITMAP'. However the wiring seems confusing!

Does anyone know any VI's already created to do this, suggestions, or relevant tutorials
to read.

Any help would be greatly appreciated.

Many thanks

PS I am using LabVIEW 6 on a 1GHz Win98 machine.
0 Kudos
Message 1 of 4
(2,831 Views)
I have attached an example. You will need to unzip the folder "pix" to c:\ for it to work (or change the paths)
Message 2 of 4
(2,831 Views)
draw flatten jpg to picture control.vi


regards
ian
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 3 of 4
(2,831 Views)
many thanks, has worked.
0 Kudos
Message 4 of 4
(2,831 Views)