LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cycling through images folder in external window

Goodmorning everyone,

I would implement a structure in my VI allowing to cycle through an image folder, displaying those .jpg images in an external window. Moreover, I'd like to choose for how many seconds each pic would be displayed until the next one (sometime like a control in the front panel could work).

It's the first time I work in LabVIEW to import picture, so please be indulgent Smiley Happy

 

0 Kudos
Message 1 of 4
(3,348 Views)

Use List folder to get individual images file names array and then use build path inside for loop and use IMAQ Read file or Read JPEG File.vi

 

Edit: For delay it should be easy with having slide which defines the loop delay.

Thanks
uday
0 Kudos
Message 2 of 4
(3,342 Views)

Thank you.
I used a VI found on this forum to open the folder and to cycle all the pics using a button (next and previous). Any tips on how to temporize this process, so that the user doesn't need to press the button, but just to wait x (10 for example) seconds for the interface to show a new picture?

0 Kudos
Message 3 of 4
(3,281 Views)

Use a timed loop and/or a wait state set to 10000 ms. 

0 Kudos
Message 4 of 4
(3,278 Views)