Although possible, it is not easy to save all the data in a single file. The easiest way would be to separate the channels and to decimate the data according to your division/channel, before saving in SEPARATE files.
But apparently that's not what you intended to do.
Here is a way of storing data easily in a single file.
Assumming that you have 2 channels (works also on n channels), channel 2 being (virtually) sampled at half rate, if you replace your "unwanted" data with �empty string- but leave the Tab separators, your saved file will look something like
ch 1 TAB ch 2 RETURN
ch 1 TAB RETURN
ch1 TAB ch2 RETURN
ch 1 TAB RETURN
and so on�
Writing the file is not a problem.
Retrieving the data back is a bit more difficult, since you have to avoi
d confusing empty strings with zero values !
See the example.below for 3 channels.
If file size is really a problem, you should also consider saving your data in binary format, and not in ASCII.
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left...