How to get original stimuli to appear again after response stimuli duration is over, when they are...


Author
Message
nidhi_desai
nidhi_desai
Partner Member (566 reputation)Partner Member (566 reputation)Partner Member (566 reputation)Partner Member (566 reputation)Partner Member (566 reputation)Partner Member (566 reputation)Partner Member (566 reputation)Partner Member (566 reputation)Partner Member (566 reputation)
Group: Forum Members
Posts: 42, Visits: 287
In this example from another post, I changed the response message text position to overlap with the stimulus times text in this trial. When the duration of text response is over, it covers the area of the text with a white rectangle. Instead, I am interested in having the original text mentioned in the stimulus times to be displayed again after the response duration is over. I need the stimulus times text and response tex to overlap in my experiment for some reason. Is there a way to achieve this without having to write multiple trials connected through branching?


<block myblock>
/ trials = [1=mytrial]
</block>

<trial mytrial>
/ stop = [
trial.mytrial.elapsedtime >= 10000;
]
/ stimulustimes = [0=clearscreen,mytext]
/ validresponse = ("E", "I")
/ responsemessage = ("E", Epress, 100)
/ responsemessage = ("I", Ipress, 100)
</trial>

<text mytext>
/ items = ("Press the E and I keys. You have 10 seconds.")
/ position = (50%, 50%)
/ erase = false
</text>

<text Epress>
/ items = ("Pressed E")
/ position = (50%, 50%)
</text>

<text Ipress>
/ items = ("Pressed I")
/ position = (50%, 50%)
</text>


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search