Reply To: Displaying RT data after each trial

Home Forums Support Displaying RT data after each trial Reply To: Displaying RT data after each trial


Hi Erwin,

Thanks so much for this explanation – it’s super helpful!

I was able to replace the innerHTML with ‘testtext’ but when I tried to do this with the trial RT, the text shown on the screen was “undefined”. I suppose this is because something is wrong with my use of getTrialData(), or because “PressKey[RT]” hadn’t been defined at the time the getTrialData function was called (i.e. at the time that the onShowFn() function ran for my RT feedback stimulus).

Do you have any thoughts as to why this is happening? I tried adding a 1000 ms blank interval between the RT stimulus and the RT feedback questions, thinking that perhaps there needed to be a buffer between the key response and when the getTrialData function was called, but this didn’t solve the problem.

Thanks again for your help!