05-26-2009 03:05 AM
Hallo!
I am using a cRio 9014 for a remote monitoring application
I have to periodically store data in files in order to read back them using a TCP-IP connection , and store on a remote PC.
File size is about 250K.
I have noticed that after several write operation (about 1000) cRio becomes slow and, finally, stops working.
Using FTP server Data directory results no more accessible (it can be renamed but I cannot access it) . Also the size shown looks small (about the size of one file, 250k).
As I can specify a maximum file number in data directory (my program deletes old files when needed), I have experienced this problem only when file number is greater than 1000 -or about- in the same directory.
Is there any suggestion?
Thank you
Luca Nitopi
05-27-2009 07:28 AM
Hi Luca,
Are you sure that, after a read function, you close correctly the file's referecences?
Bye
M
05-27-2009 07:45 AM
Yes, I do close and, before closing, I flush the file...
Some new trials gives me a lower limit of 500 files.
With up to this number system speed is "normal"
With more than 1200 - 1500 files it looks slower znd slower in saving data
Luca
05-28-2009 02:47 AM
Hi Luca,
and what about to trasfert datas from cRIO to host PC and stored that datas directly on it?
M
05-28-2009 03:29 AM - edited 05-28-2009 03:31 AM
I do transfer data via TCP-IP on a panel PC in order to view and store them (it is a remote monitoring system, I must guarantee several years of data) . The high number of file is needed in order to cover panel pc possible problems (reliability of Windows O.S. and hardware in harsh environmet) . Then it has been asked to me the possibility to use the system as "stand alone" , i.e. to leave it alone for one month or so and then recover data...
In this moment the only way I see is to limit file numbers into a directory and to save them in another for backup...
Data->Data1->Data2->..->DataN until memory is nearly full....
Hi
Luca
05-29-2009 02:28 AM
Hi Luca,
and what about using NI 9802 module? You can mount 2 memory card and expand you cRIO memory for data storage.
M