LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to display jpeg?

y I want to display aprox. 500 .jpeg files in labview. So help me how can i do tht?? Without much time delay??
0 Kudos
Message 1 of 7
(3,421 Views)

Hi PRASAD19,

do you mean all at once? Can you explain a bit more? What size do the images have?

 

Mike

Message Edited by MikeS81 on 06-16-2010 11:14 AM
0 Kudos
Message 2 of 7
(3,417 Views)
actually i have video files tht i converted in frames of image around 500 image in jpeg format.Size of my image is 600to650 kb.I want to display all tht frames one by one when i run the program but time delay for executing this image should be as less as poss...
0 Kudos
Message 3 of 7
(3,410 Views)

I guess the better way of displaying the video is by using IMAQ VI's available with the Vision Development module rather than  displaying frame by frame.

You can check out the example for the same as well the example in NI Example finder.

 

Shreyas Hebbare
Shreyas Technologies
India
0 Kudos
Message 4 of 7
(3,397 Views)
If all the files are there in a single folder use a "list file" from file functions and display all the images one after the other.
0 Kudos
Message 5 of 7
(3,374 Views)

If the set of images is fixed, the fast pure LV method of cycling through them is to use a picture ring. Yes, lots of work to add 500 images but once done fast.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 7
(3,355 Views)

Completely agree your way is more efficient in the long run, Ben. But to the OP, if you want to programmatically do it this is a way using a picture control. You just need to implement your own logic for moving forward and backwards through the pictures, and of course, need to add logic so you don't index out of the array bounds (which I didnt do). If there is a better way, someone let me know. I don't use pictures too often. Also, if you do it this way it will take a few seconds to load all the picture data. Make sure you set the cursor to the hour glass so the user can't interact with the front panel while data is loading and think that it is not responding.

 

Message Edited by for(imstuck) on 06-16-2010 08:21 AM
Message Edited by for(imstuck) on 06-16-2010 08:23 AM
0 Kudos
Message 7 of 7
(3,343 Views)