LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView limitation : working with File > 2 Go

Hi,

I'm acquiriring data in real time from several cards et high frequencies (102400 Hz).

The acquisition can last 10 hours and so the file can have size like 150 Go.

All labview file functions work with int32 to set offset, size of file... in byte.

How Can I do ?? (example : I have a 6 Go file : how can I know it's size with labview ???)
Eddy DUCHENE
12 F Chemin de Boutary
69300 CALUIRE ET CUIRE

educhene@laposte.net
0 Kudos
Message 1 of 11
(3,565 Views)
There is a file library that you can use to work with larger files, check out the following page:

http://zone.ni.com/devzone/learningcenter.nsf/webmain/E4E8EAB77D50AD6A86256E6800571306
0 Kudos
Message 2 of 11
(3,556 Views)
Thanks for your answer Mads.

It's very interresting.

But I have a problem with the H5Screate_simple.vi and H5E_GetError.vi Vis : a zlib.dll is missing.
Eddy DUCHENE
12 F Chemin de Boutary
69300 CALUIRE ET CUIRE

educhene@laposte.net
0 Kudos
Message 3 of 11
(3,550 Views)
Go to openg. It is a collection of LV toolkits. One of those should be a compression toolkit, which will also have zlib.dll installed.

___________________
Try to take over the world!
0 Kudos
Message 4 of 11
(3,539 Views)
I'm using a loop with Read Vi to seek in the file. It works well, But When my file is greater than 2 GB, I got a memory error (mémoire insuffisante pour terminer l'opération) when I try to read for example 263000 singles data.

This error appears when I want to read my 263000 values (not when seeking).
I don't understand why, because it runs well with a file less than 2 Gb even if I want to read more values.

Please find attached the example vi. Choose a file and run it : if your file size is less than 2 Gb (but have enough datas (ex : file size 10 Mb), it's ok, but if you run it with a file size more than 2 Gb you have the memory error.

Help please ...
Eddy DUCHENE
12 F Chemin de Boutary
69300 CALUIRE ET CUIRE

educhene@laposte.net
0 Kudos
Message 5 of 11
(3,520 Views)
Hello,

2 Gb is a restriction of your operating systems (see KB). You have to split your file.

Moreover what is your file system of your operating system ?

Anyway, I advice you to split your file.

Regards,
Isabelle
Ingénieur d'applications
National Instruments France
0 Kudos
Message 6 of 11
(3,490 Views)
</