01-27-2005 12:01 PM
01-27-2005 12:31 PM
01-27-2005 12:49 PM
01-28-2005 04:51 PM
01-31-2005 02:05 PM
02-01-2005 03:20 AM
02-03-2005 01:46 PM
02-03-2005 02:33 PM
02-03-2005 03:35 PM
02-03-2005 08:47 PM
There's your problem.
If you have access to the data used to write those files, consider writing it as a 2-D array of SGL (or DBL) indstead of a spreadsheet. That will save considerable time, both on writing and later reading. The conversion from a number to a string, and from a string to a number, takes time.
If you have to keep them as spreadsheet files, consider reading the file yourself. If they're not too big, read the whole file as a string (Open it, get the EOF, then read that nany bytes). Then use "spreadsheet string to array" to convert to numbers.
If that's not practical, then read it in chunks (of 1024 or 2048 bytes, for example), then extract the lines from that and build an array.
You want to minimize the number of FILE READ operations.
If you can do your analysis on a line-by-line basis, then don't convert to a 2-D array. Read the whole file as a string, then extract from that string a line at a time, and convert that to a 1-D array of channels.
Just some thoughts.
Blog for (mostly LabVIEW) programmers: Tips And Tricks