The sync issue is probably caused by a conversion to a newer version of eprime. You could probably fix it by enabling the blanking interval sync or the
WaitForRespons object.
Attached is a matlab script that performs some postprocessing on the raw data. It recalculates some basic statistics and total times that are corrected for performing the same action again after an error. You can use the script to create a single output file with all totals:
all_stats = [];
all_stats = get_toh_stats('file1.txt', all_stats);
all_stats = get_toh_stats('file2.txt', all_stats);
...
writetable(all_stats, ['TOH_stats.xls']);
Or use a for-loop to scan all output files in a specific folder:
all_stats = [];
files = dir('*.txt');
for iFile =1:length(files)
theFile = files(iFile).name;
all_stats = get_toh_stats(theFile, all_stats);
end
writetable(all_stats, ['TOH_stats.xls']);
Best,
Paul