10-27-2014 03:10 AM
Hello all,
I have large csv File. I want to convert to array (by Spreadsheet String to Array.vi).
Could you please tell me which one is more faster & Better. Sometimes if my file size is very big then Spreadsheet String to Array is not working (as per approach 2 & 3) because of Out of memory.
10-27-2014 05:39 AM
10-27-2014 07:41 PM
Hi GerdW,
Thanks for your reply.
I want to know if there is any other method better than this.
10-27-2014 08:18 PM
It really depends on what you are doing with the data. Sometimes it is just best to read part of the file, process it, and then overwrite with the next section of the data. But you definately need to read the file in parts.
10-27-2014 08:33 PM
What are you doing with the data that requires you to read such a large data set?
When the second and third options don't error out, are they faster?
10-28-2014 12:29 AM
I have files looks like left side (old Type). I need to replace it by right side Image (New Type).
Here, I need to check,
where values getting started --- > before this value I need to replace empty cells by NaN.
Where values got ended -- > after that value I need to replace empty cells by NaN.
In between I need to take previous values.
10-28-2014 06:56 AM
Are you just saving this data to another file or are you doing something else with it?
But definately read the file in parts and use shift registers to keep your "previous" values. A simple check for a blank and Replace Array Subset is all you really need.
10-28-2014 07:32 AM
This all has been discussed before…
10-28-2014 08:11 PM
Hi GerdW,
Yes, we have already discussed about this before. Here, I’m not discussing again.
Just I want to know best way to deal with Large data.
10-28-2014 08:16 PM
Hi Crossrulz,
As per my understanding reading file with parts is not possible in this case (with one time file reading).
Because, I have to get where signal got stopped & where started.
for more details:
http://forums.ni.com/t5/LabVIEW/Reading-Large-Text-file/td-p/3022697