for (long i = 1; i <= runs; i += batchSize) {
excerpt.startExcerpt(13 * batchSize);
for (int k = 0; k < batchSize; k++) {
excerpt.writeUnsignedByte('M'); // message type
excerpt.writeLong(i); // e.g. time stamp
excerpt.writeFloat(i);
}
excerpt.finish();
}
ic.close();
} catch (IOException e) {