04-30-2010 08:54 AM
Hi,
I am trying to save 200 million double-precision numbers to a text file, (to do further treatment with afterwards), and Labview keeps telling me it doesn't have enough memory. I have 8GB of Ram, but here's what I've heard - I've heard that Labview tries to keep the entire dataset in memory when using "Write to a Spreadsheet File", and I've also heard that 32-Labview 2009 can actually only use around 1G of RAM for holding your data in memory (please correct my misunderstandings)
So my question: I need the 200M points. How do I get them from my PCI-5122 Digitizer into a text file?
Thanks
04-30-2010 09:50 AM - edited 04-30-2010 09:53 AM
Hi noli,
make a FOR loop, run the loop 200 times and write 1 million DBLs each iteration...
Let's do some math:
200e6 DBL = 1600e6 byte = 1.6Gbyte. Just the DBL array.
Now convert that to ASCII, using 10 chars per number: 200e6 numbers *10bytes = 2Gbyte.
In summary your conversion would need (at least) 3.6Gbyte of RAM. No 32bit program/OS can handle that...