Group: Forum Members
Posts: 9,
Visits: 35
|
I have set up an experiment in Inquisit where participants see, on each trial, a fixation cross followed by 5 different stimuli, presented subsequently one at the time. It then saves all participants' responses during the trial in 'values.responses'. Currently, the times when each stimulus comes on the screen during a trial is set in stimulustimes in milliseconds (see below). However, I was wondering if it is possible to set it up in such a way that the trial continues to the next stimulus in the trial only when the participant pressed a button, e.g. the space bar. in other words, that 'learning2' stimulus would not onset at 7000 milliseconds but would wait until the participant has pressed the button, etc. Thanks!
<trial learning> / ontrialbegin = [values.responses="";] / stimulustimes = [1=fixation; 1000=learning1; 7000=learning2; 27000=learning3; 58000=learning4; 84000=learning5] / isvalidresponse = [{values.responses=concat(concat(values.responses, ","), trial.learning.response); false;}] / recorddata = true / beginresponsetime = 0 / inputdevice = keyboard / responseinterrupt = trial / timeout = 50000 </trial>
|