Endtrial after response given


Author
Message
Reshan
Reshan
Partner Member (671 reputation)Partner Member (671 reputation)Partner Member (671 reputation)Partner Member (671 reputation)Partner Member (671 reputation)Partner Member (671 reputation)Partner Member (671 reputation)Partner Member (671 reputation)Partner Member (671 reputation)
Group: Forum Members
Posts: 4, Visits: 78
Hello,

I want to present a fixation cross for 500 ms, and then a stimulus for 500 ms, and allow the participant as much time as they want to respond.
However, I would also like to end the trial as soon as the participant responds (if they respond after the presentation of the stimulus- i.e. after 500 ms) 
What command line do I need to add?

<trial labelAright>

/stimulustimes = [0= fixation; 500=stimuliA; 1000= blankshape]
/validresponse = (18, 23)
/correctresponse = (23)

</trial>

Thank you very much for the help! 
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
By default, a <trial> will start accepting responses ony after all stimuli specified in /stimulustimes or -frames have been displayed.

To override this, you use the /beginresposetime attribute, i.e., in your case you specify:

<trial labelAright>
/stimulustimes = [0= fixation; 500=stimuliA; 1000= blankshape]
/validresponse = (18, 23)
/correctresponse = (23)
/ beginresponsetime = 500
...
</trial>
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search