Hi
I am working on an eye tracking experiment and am trying to figure out the best way to send triggers to the recording HDF5 file for later analysis. My goal is to be able to easily find a range of "event id"s in the HDF5 file to extract only tracking data during trials, and also to sort trials depending on the type of stimuli presented.
I have tried ioServer.sendMessageEvent(text=“trial_start”) and similar to send messages, to the file, which works, but as everything ends up in the same column, it is not ideal, but workable I suppose - but I am thinking there is a better way?
I have also tried ioServer.addTrialHandlerRecord(thisTrial) which does give me a copy of the conditions file in the HDF5, but here I don’t get corrosponding "event id"s, which will allow me to easily pick out a range in the eye tracking data.
Does anyone have a good solution?