Add new comment

You should call open() on

You should call open() on each iteration:

for(x=0; ; x++) {
RawProcessor.open(filename);
if(x>P1.raw_count) break;
RawProcessor.unpack();
process();

}

-- Alex Tutubalin