Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Dumping more than 2 GB of data in a file

Hi all,
 
    I have an application in IMAQ whereby I need to write more than 2GB of data in a file at a go. I am writing the data in binary format. I am using the the "write to binary (I16)" wiget to write the data. However as soon as the data size exceeds a little bit more than 2GB the program generates an error saying "Enf of File encountered". I am afraid that instead of writing data to the hard disk its just accumulating the data in the Cache memory of the Hard drive. Is there any way I can avoid this situation, so that I can write all the data at a go.
 
Manish
0 Kudos
Message 1 of 2
(2,902 Views)
Hi Manish,

this sounds like a limitiation of the file system you are using. If the partition of your harddrive that you are logging data to is formatted with the FAT32 file system 2 GB is the exact limit of the allowed file size. There are two options:
  1. split your data to multiple files
  2. log your data to a partition that is formatted with NTFS (supported by Windows XP, 2000 and NT)
Just a little piece of advice: You have posted this question to the Motion Control forum but the question itself is not really related to this topic. A better place for this question would have been the forum of the programming environment that you are using (LabVIEW, CVI, Measurement Studio, DIAdem,...)

Best regards,

Jochen Klier
National Instruments Germany
0 Kudos
Message 2 of 2
(2,891 Views)