LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open Image and SuperImpose a Control on Top of a section in Image

This is a loaded question, because, I cant seem to find a single VI
that opens and displays a jpg, bmp, etc!

But assuming, I find a toolbox or create my own that will open/display
an image, lets say an picture of a car's
dash panel.. could I place a gauge/dial meter ON TOP of the place in
the image where the real gauge exists??

If it can be done in Labview, how difficult would it be for a
beginner??

0 Kudos
Message 1 of 5
(3,371 Views)

Ist this to be a dynamic display.  If not copy and paste the image directly on the Front pannle and place the controls ontop of it.  Otherwise, open and display the picture in a picture box.  There are vis for opening many types of graphics and putting it in a picture box, then move the controld using property nodes to the correct location.  The dynamic case is alot of work.

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 5
(3,368 Views)
Easy!
 
Display your background image and then place gauges on to of it. You can make the background of the gauge transparent.
 
(If this is a real gauge on the image, just photoedit the needle out of the background image and then hide even the scale of the LabVIEW gauge, showing only the needle.)
 
Here's a quick draft:

Message Edited by altenbach on 06-27-2007 12:52 PM

Message 3 of 5
(3,360 Views)
Sweet!

Now looking at your Block Diagram, are those 3 VIs outside of the loop
part of Labview 8.2 or
something you made?

What about the gauge, I dont see any "appearance property" for
transparency in the version I have (v5+) .
Is the transparent feature elatively new?



altenbach wrote:
> Easy!
>  
> Display your background image and then place gauges on to of it. You can make the background of the gauge transparent.
>  
> (If this is a real gauge on the image, just photoedit the needle out of the background image and then hide even the scale of the LabVIEW gauge, showing only the needle.)
>  
> Here's a quick draft:
> <img src="http://forums.ni.com/attachments/ni/170/255637/1/GaugeOverImage.png"> Message Edited by altenbach on 06-27-2007 12:52 PM
>
>
> GaugeOverImage.png:
> http://forums.ni.com/attachments/ni/170/255637/1/GaugeOverImage.png

0 Kudos
Message 4 of 5
(3,352 Views)
Everything is part of LabVIEW but I don't know what is available in version 5.
 
left to right outside the loop: "read PNG file" (there is also a similar one for JPG and BMP), "draw flattened pixmap", "Image terminal".
 
Transparency is part of the color palette. Just use the color tool and select the transparent color.
0 Kudos
Message 5 of 5
(3,348 Views)