False alarms in simple reaction time task


Author
Message
Andrea_j
Andrea_j
Partner Member (503 reputation)Partner Member (503 reputation)Partner Member (503 reputation)Partner Member (503 reputation)Partner Member (503 reputation)Partner Member (503 reputation)Partner Member (503 reputation)Partner Member (503 reputation)Partner Member (503 reputation)
Group: Forum Members
Posts: 2, Visits: 15
Hi,
I want to use the simple visual reaction time task as found here: http://www.millisecond.com/download/library/SimpleReactionTime/

The task consists of the presentation of a fixation cross (focus) followed by the target (a red circle).
Subjects have to press the spacebar when the target appears and the latency is logged.

I want to be able to identify false starts, where the subjects presses the spacebar before the red circle stimulus appears. It currently only logs the RT after the red circle appears, since that is the last stimulus.
When I adjust the beginresponseframe to start at the presentation of the focus stimulus it skips to the next trial when the subject presses the key. I want to log that the false start happened but the trial should continue and the RT should be recorded from the moment the target stimulus appears.
How can I add this to the script?

Thanks, I hope my question is clear.

original code:
<trial SRTT>
/ ontrialbegin = [if (values.fixed == 1)
{values.targetx = list.targetposition.nextvalue;
values.targety= list.targetposition.nextvalue}]

/ ontrialbegin = [values.stiminterval = list.stimulusinterval.nextvalue]
/ontrialbegin = [trial.SRTT.insertstimulustime(shape.targetcircle, values.stiminterval)]
/ stimulustimes = [0 = focus]
/ validresponse = (57)
/ correctresponse = (57)
/ ontrialend = [trial.SRTT.resetstimulusframes()]
/ branch = [trial.SRTT]
/ pretrialpause = values.pause
</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