02-26-2009 01:55 PM
Hi,
I have a stand-alone system working with 7 serial ports.
I need to store a huge amount of data ( 115.200 Kbaud / port ) because the system must keep working during a week.
In two days I have a file size of more than 500Mbytes. The problem is that I am storing the data in a .txt file and then, when i want to process the data, the notebook can´t open a file with so size.
I can´t find a way in which the vi can change in real time (itself) the file to store the data.
Maybe the way is create the 3-4 files before the while loop (in which i read the data) and then change the file in which i store the data, but I can´t find a way to do this. With the get_file_size.vi i know when i must change the file, but how do i to do this without get out the while loop? I think is necessary to keep the visa_read.vi working...
or maybe another format or way to store data is better?
It doesnt matter to lose data while changing the file.
Does anybody any idea?
Thanks
Solved! Go to Solution.
02-26-2009 02:11 PM - edited 02-26-2009 02:12 PM
A quick one...
02-26-2009 02:45 PM
Another option could be to have a case statement that, when the file is too large, closes the existing file and creates a new file? (see the attached screenshot)
Shaun
03-17-2009 02:45 PM
Hi,
thank you for your ideas,
they really help me.