Update: decoder now capable to decode specified # of events instead of ALL events in data file. Correct 4bit shifting -> 3bit shifting in trigger frame number in the FEM header --kazu