12-02-2022 10:38 AM
Are you out of memory or out of disk space? Are you using 64bit LabVIEW? (Hopefully).
12-02-2022 11:13 AM
i have 113GB of memory on my computer disk, and I use LabView 32bit..
12-02-2022 11:53 AM - edited 12-02-2022 11:55 AM
LabVIEW 32bit can only use 4GB RAM or less. Disk space is irrelevant for this error message.
12-02-2022 11:55 AM
ok.. that means that if I work with a set of 3000 images, LabView 32bit doesn't work? I need the version of 64 bit?
12-02-2022 12:00 PM
Of course maybe you can program it more elegantly and only have a few images in memory at any given time.
12-02-2022 12:01 PM
ok, how can i solve?
12-02-2022 12:04 PM
ok, thank you fot the help. now I talk about it with my professor and I decide what to do. In case, I have to disinstallate the program and do again the download of Labview 64 bit. Right?
12-02-2022 04:01 PM - edited 12-02-2022 04:05 PM
No, you can also install both.
Still with only 8GB of RAM, you won't gain that much. There is no way to process 3000 images simultaneously in memory. Can't you process one at a time? Correctly done, that should work easily in 32bit LabVIEW.
What is the size of one image (W x H x color depth)?
Who wrote the program you attached earlier? Seems extremely convoluted and inefficient. Also we are missing all the subVIs. I also don't have IMAQ.
12-03-2022 03:42 AM
ok, so the problem is the 8 GB of RAM of my PC? I don't think i can elaborate some images for time... because the file which provides me labview, i have to analysed with matlab...
the images are in black and white, and the dimension are modeste.
moreover i can't change the program because it's written by my professor for my work of thesis.
12-03-2022 07:05 AM - edited 12-03-2022 07:08 AM
Hi,
@altenbach wrote:
Of course maybe you can program it more elegantly and only have a few images in memory at any given time.
Of course surely you can program it more elegantly!
There is one loop to read all those image files using IMAQReadFile, which creates an array of image references (with all image data in memory).
And there is a second loop which processes all those images one after the other.
Why not combine both loops so you only need to load one (or two) image(s) into memory in each iteration???
moreover i can't change the program because it's written by my professor for my work of thesis.
Why can't you change a VI when you know/heard it is written in a (very) bad way?
It is your thesis, not the one of your professor!