Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

number of files stored into a cRio

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

0 Kudos
Message 1 of 6
(4,076 Views)

Hi Luca,

 

Are you sure that, after a read function, you close correctly the file's referecences?

 

Bye

M

Matteo Brunella
Application Engineer
NI Italy
0 Kudos
Message 2 of 6
(4,062 Views)

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 

 

0 Kudos
Message 3 of 6
(4,060 Views)

Hi Luca,

 

and what about to trasfert datas from cRIO to host PC and stored that datas directly on it?

 

M

Matteo Brunella
Application Engineer
NI Italy
0 Kudos
Message 4 of 6
(4,047 Views)

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

Message Edited by Luca Nitopi on 05-28-2009 03:31 AM
0 Kudos
Message 5 of 6
(4,044 Views)

Hi Luca,

 

and what about using NI 9802 module? You can mount 2 memory card and expand you cRIO memory for data storage.

 

M

Matteo Brunella
Application Engineer
NI Italy
0 Kudos
Message 6 of 6
(4,028 Views)