Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

labview memory full when exporting array data to excel

Myself sibeesh,As a part of my project I have edited a program to store images and raw image data from a machine vision camera. During each 5s gap program will capture one image and store Raw image data in a 2D array. images will be taken over more than one hour so that there will be many images and of course raw image data will be very huge. Array need to be exported into excel sheet,text file or a csv file. If I am Capturing only  4 or 5  images, I can export data from 2D array to an excel sheet but for more images it is showing some message like "labview memory is full".  Software Details: LabVIEW Professional Development System  version 2017
NI Hardware:  None
Operating System:  Windows 10

RAM 8GB. attached code and it's screenshot. This code will work with web cam also.

0 Kudos
Message 1 of 3
(2,310 Views)

It all depends on the amount of data you are working with. If you collect too much data, any program will overflow.

1) How large are your images?

2) How many do you take / in which time?

 

Some helpful tips:

- Save your images as png instead of JPEG. It's lossless, which is better for later image processing.

- If possible, write your data to a disk WHILE you are acquiring.. and then create a large Excel-file afterwards. You have multiple ways of doing that. A fast and easy one is streaming to a TDMS file. But even text files (maybe in CSV format?) can work. Depends on how fast your acquisition is.

- If you have the report generation toolkit, you can write to an Excel file and "append" data at the end.

0 Kudos
Message 2 of 3
(2,277 Views)

image resolution 640x480 (approx. 900kb)

images will capture around one and half hours. 

I'll try your suggestion

0 Kudos
Message 3 of 3
(2,273 Views)