From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Image Acquisition

Is there a method that allows a VI to get and display a file, specifically a jpeg image, on the front panel?
0 Kudos
Message 1 of 8
(2,575 Views)
You can use Picture Control to display an image (bmp, jpg, and png).
Use Read Jpeg File.vi to load the file, and then use Draw Flattened Pixmap.vi
to display the image in Picture Control.
 
George Zou
http://gtoolbox.yeah.net
George Zou
0 Kudos
Message 2 of 8
(2,571 Views)

I am very new to LabVIEW so what you wrote makes sense, but I am having trouble implementing it.  I placed the two VIs on my VI, and when I run it, I get a dialog box to select the image I want, but when I select it, I get an error at read JPEG File.vi.  What could I be doing wrong?  Thank you for your time.

-Tek

0 Kudos
Message 3 of 8
(2,550 Views)
Try the attached VI.
 
 
George Zou
George Zou
Message 4 of 8
(2,542 Views)
is it possible to  make our digital camera capture images using  labview
0 Kudos
Message 5 of 8
(2,247 Views)
Hi 9443972427,
it should be possible. Please see this link for further informations.
 
Hope it helps.
Mike
0 Kudos
Message 6 of 8
(2,242 Views)
thank you very much mike..i need to use a single camera to capture two images and i need to compare them to calculate the distance of a moving object.can u give me a link for learnin the procedure from scratch..my experience in labview is just a week..:(..thanks for the help
0 Kudos
Message 7 of 8
(2,238 Views)

Hi BHARATHINDIAN,

you can start with this free online labview courses.
http://www.ni.com/academic/lv_training/d/how_learn_lv.htm

Mike



Message Edited by MikeS81 on 05-21-2008 01:23 PM
Message 8 of 8
(2,232 Views)