07-31-2018 11:54 AM - edited 07-31-2018 11:59 AM
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.
08-01-2018 05:08 AM
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.
08-01-2018 06:36 AM
image resolution 640x480 (approx. 900kb)
images will capture around one and half hours.
I'll try your suggestion