06-01-2007 10:46 AM
06-02-2007 12:32 AM
06-02-2007 05:02 AM
06-02-2007 10:27 AM
AutoTEC wrote:
I got this but my problem is i have a file size of 2.8GB and i am unable to read them it takes long time and it completely utilze 100% CPU usage so i want to reduce this. So pls guide me
06-04-2007 04:20 AM
Ah, so the problem is not parsing the file, rather, just working with a large data set?
Hmmm... Depending on how often you have to process the file, it may be worthwhile preprocessing it. Save the data obtained by the supplied VI out to a binary file. This should reduce your subsequent read times. Maybe by about 90% since you've discarded most of the data.
...of course, if you only need to read it once, this will be a complete waste of time.
The other thing is you're trying to plot this on a graph. 2Gb of data is a lot of points. Too many, in fact. I'd guess that if all you want is a visual representation of your data, then 100 points would be too much. You might consider using the "start of read offset" input of the file read VI to skip over large quantities of your input data.
06-04-2007
05:37 AM
- last edited on
04-05-2024
01:54 PM
by
Content Cleaner
06-04-2007 05:39 AM