How to make a maker based on participant's response and the trial's branch?


How to make a maker based on participant's response and the trial's...
Author
Message
Yufan
Yufan
New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)New Member (13 reputation)
Group: Forum Members
Posts: 3, Visits: 18
In my experiment, I have three conditions: old, similar, and new. I’d like to create a marker based on the participant's response, but I am unsure how to proceed. Furthermore, I also want to create a marker for the participant's confidence rating, which follows the old/similar/new judgment.
Below is my code.

//7 for confidence rating
<port rating>
/ port = LPT2
/ subport = data
/ items = ("00000111")
</port>

//8 for old response
<port oldr>
/ port = LPT2
/ subport = data
/ items = ("00001000")
</port>

//9 for similar response
<port simr>
/ port = LPT2
/ subport = data
/ items = ("00001001")
</port>

//10 for new response
<port newr>
/ port = LPT2
/ subport = data
/ items = ("00001010")
</port>

<trial testing_old_G1>
/ stimulustimes = [0=fixation; 500=Testing_Old_G1, oldtest; 1500=white, old, similar, new]
/ beginresponsetime = 1500
/ validresponse = (values.key_old,values.key_similar, values.key_new)
/ correctresponse = (values.key_old)
/ responseinterrupt = immediate
/ posttrialpause = 500
/ branch = [
  trial.confidence
]
</trial>

How to combine port 7,8,9,10 and trial test_old_G1?
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