How to accept input during the stimulusframe?


Author
Message
jzhuang8
jzhuang8
Respected Member (474 reputation)Respected Member (474 reputation)Respected Member (474 reputation)Respected Member (474 reputation)Respected Member (474 reputation)Respected Member (474 reputation)Respected Member (474 reputation)Respected Member (474 reputation)Respected Member (474 reputation)
Group: Forum Members
Posts: 2, Visits: 13
I am implementing a flashing "x" on the screen, and the user will need to tap on the "x" as soon as it shows up on the screen. However, in order for the "x" to flash, I defined as following:  
<trial target>
/ stimulusframes = [1 = crossRed,beepsound; 20 = crossGreen, beepsound;
                               40 = crossRed,beepsound; 60 = crossGreen, beepsound;
                               80 = crossRed,beepsound; 100 = crossGreen, beepsound;
                               120 = crossRed,beepsound; 140 = crossGreen, beepsound;]
/ validresponse = (crossRed,crossGreen)
/ correctresponse = (crossRed,crossGreen)
/ timeout = parameters.timeOut
</trial>
In this script, I have the cross to be flashing between red and green. But the inquisit does not accept the tap input until the 140 frames are completed. 
I am asking if there is any way to let the inquisit accept users' input during the defined stimulus frames? So the user can tap on the cross while the cross is flashing. If not, is there anyway to create a flashing object?

Thanks,

Jia





GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Reading This Topic

Explore
Messages
Mentions
Search