LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fast image acquisition and save

Hi guys,

 

I work with a camera which acquire images every 100 ms and I want to save all the images generated in 1 minute. It is no problem for me to acquire these images, but how can I save all these images? I tried to save it after acquisition in one loop, but it cost longer than 100 ms. If I configure a buffer, a lot space is needed. I am currently using a standard desktop, and those images are about 5 MB each (4096x3072 resolution). Any suggestions? Thanks in advance!

 

 

 

0 Kudos
Message 1 of 4
(2,314 Views)

Try a producer / consumer design.

 

What kind of storage are you writing to? You want 10 frames or 50MB per second. A 7200RPM hard drive should be able to write ~100MB/s. If your hard drive is not capable, switching to an SSD should give you a couple hundred MB/s

0 Kudos
Message 2 of 4
(2,300 Views)

Try a non-compressed format.   Your images will be bigger, but you won’t be spending the time compressing.  In a project I’m currently working on saving 4 MB uncompressed images (2000x1000x16-bit) is 12 ms.

0 Kudos
Message 3 of 4
(2,290 Views)
Try saving the images as binary files, if it's not required to open the files outside LabVIEW.
Thanks
uday
0 Kudos
Message 4 of 4
(2,262 Views)