LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the best way to store a large file?

 
0 Kudos
Message 1 of 3
(2,784 Views)
Give us some more information. What type of file, how big is it anticipated to be, do you save it at the end or incrementally?

P.M.
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 3
(2,778 Views)
Basically I am saving data at 200KSamples/sec for 20 sec.
That works out to 4000Ksamples.
Since I am using a 16 bit card, 6035E(low cost version), that works out to be 2 Bytes per sample.
Hence 8000Kb for the whole file.

I save the file at the end of the aquisition.I have tried using the lvm format.But this just blows up the file size to about 6 or 7 times because of the number to string conversion.

Typically when i use the lvm format it takes about more than 10 mins to store a file of this size on my computer(2.4Ghz,1GB Ram)and computer just seems to go into a hang mode.

I am trying to use the TDM file format but even that has some complains .It gives me a Error -2500 Occurred at Close data storage.This error seems to disappear when I decrease the acquistion period., say to 10 sec.

Some one suggested using low level vis to for writing the aquistion data, but I wuld like to preserve my time channel. If I use these how would I get the time accurately, for the sampling rate that I am using?

Any help?
0 Kudos
Message 3 of 3
(2,768 Views)