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
Associate Member (74 reputation)Associate Member (74 reputation)Associate Member (74 reputation)Associate Member (74 reputation)Associate Member (74 reputation)Associate Member (74 reputation)Associate Member (74 reputation)Associate Member (74 reputation)Associate Member (74 reputation)
Group: Forum Members
Posts: 8, Visits: 46
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?
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
Yufan - 11/29/2024
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?

You use /responsemessage attributes in the trial to display the applicable <port> stimulus upon response.

https://www.millisecond.com/support/docs/v6/html/language/attributes/responsemessage.htm

See the Auditory Oddball Task available in the library as an example.


Yufan
Yufan
Associate Member (74 reputation)Associate Member (74 reputation)Associate Member (74 reputation)Associate Member (74 reputation)Associate Member (74 reputation)Associate Member (74 reputation)Associate Member (74 reputation)Associate Member (74 reputation)Associate Member (74 reputation)
Group: Forum Members
Posts: 8, Visits: 46
Dave - 11/29/2024
Yufan - 11/29/2024
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?

You use /responsemessage attributes in the trial to display the applicable <port> stimulus upon response.

https://www.millisecond.com/support/docs/v6/html/language/attributes/responsemessage.htm

See the Auditory Oddball Task available in the library as an example.


Thank you! I've solved this problem!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search