LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you store Imaq create images into an array

Hello I am wondering how I would go about storing images created with the Imaq create function and storing them into an array. I have tried by just creating an image array and sending in the images I acquire with my camera. The image format is the imaq image.ctl format and not a gif,jpeg,tif or anything like that. I am able to put two images into the array and any image I input after is a repitition of the second image. Any help would be most appreciated. My goal is to not have to create a picture that is stored in a local folder but just keep the .ctl image in memory. If this is not possible, is there anyway to create a temporary folder on the harddrive using labview and  then delete the folder once the program stops running.
0 Kudos
Message 1 of 2
(2,788 Views)
Hello dcharlot,

I think the right way to do that is to first create all your images, put them in an array an d then, when you start to acquire image from your amera, just replave one image after the other in the array using a shit register and the index.

Refer to the attached VI, I hope this will help you.


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 2
(2,785 Views)