02-07-2005 05:48 PM
02-08-2005 12:23 PM
02-08-2005 12:44 PM
You open the file and get the EOF (which is the file length). Then you read that many bytes, as one long string, and close the file. That's only one file read, which is better than many.
If you know how many columns are in the file, you're golden - just set up a SCAN FROM STRING inside a WHILE loop. Keep track of the offset, and start each loop at an offset past the end of the last one. Each output of the SCAN function is one sample of one channel. Do your peak detection, or averaging, or whatever there.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
02-09-2005 01:26 AM
02-09-2005 04:45 AM
02-09-2005 03:14 PM
02-24-2005 03:54 PM