Trigger problem
Posted: Tue Feb 18, 2025 8:57 am
Hi, I am having problems sending triggers to biosemi active two system. ı use inquisit script. here is my code
<shape incentivecue>
/ shape = rectangle
/ size = (values.stimsize * 0.75, values.stimsize)
/ position = (50%, 50%)
/ color = red
</shape>
<port incentivecueeeg>
/ port = COM6
/ subport = data
/ items = ("00000001")
</port>
<shape nonincentivecue>
/ shape = rectangle
/ size = (values.stimsize * 0.75, values.stimsize)
/ position = (50%, 50%)
/ color = red
</shape>
<port nonincentivecueeeg>
/ port = COM6
/ subport = data
/ items = ("00000011")
</port>
<shape eraser>
/ shape = rectangle
/ size = (values.stimsize * 2 * 0.75, values.stimsize * 2)
/ position = (50%, 50%)
/ color = black
</shape>
<port erasereeg>
/ port = COM6
/ subport = data
/ items = ("00000000")
</port>
<shape target>
/ shape = rectangle
/ size = (values.stimsize * 0.75, values.stimsize)
/ position = (50%, 50%)
/ color = white
</shape>
<port targeteeg>
/ port = COM6
/ subport = data
/ items = ("00000111")
</port>
<text feedback>
/ items = feedback
/ select = values.feedback
/ vjustify = center
/ fontstyle = ("Arial", 5%, false, false, false, false, 5, 1)
</text>
<port feedbackeeg>
/ port = COM6
/ subport = data
/ items = ("00001111")
</port>
<text total>
/ items = (" Total = <%values.total%> TL ")
/ vjustify = center
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ txcolor = gray
/ erase = false
</text>
<port totaleeg>
/ port = COM6
/ subport = data
/ items = ("00011111")
</port>
**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************
Note: list.baselineRT fills during runtime with all baseline latencies
<list baselineRT>
</list>
Note: the following lists store the success (1) and failures (0) for each experimental condition, separately for incentive/nonincentive trials
<list successIncentive_Reward>
</list>
<list successNonIncentive_Reward>
</list>
<list successIncentive_Punishment>
</list>
<list successNonIncentive_Punishment>
</list>
<list successIncentive_Control>
</list>
<list successNonIncentive_Control>
</list>
ıs there a problem with port?
<shape incentivecue>
/ shape = rectangle
/ size = (values.stimsize * 0.75, values.stimsize)
/ position = (50%, 50%)
/ color = red
</shape>
<port incentivecueeeg>
/ port = COM6
/ subport = data
/ items = ("00000001")
</port>
<shape nonincentivecue>
/ shape = rectangle
/ size = (values.stimsize * 0.75, values.stimsize)
/ position = (50%, 50%)
/ color = red
</shape>
<port nonincentivecueeeg>
/ port = COM6
/ subport = data
/ items = ("00000011")
</port>
<shape eraser>
/ shape = rectangle
/ size = (values.stimsize * 2 * 0.75, values.stimsize * 2)
/ position = (50%, 50%)
/ color = black
</shape>
<port erasereeg>
/ port = COM6
/ subport = data
/ items = ("00000000")
</port>
<shape target>
/ shape = rectangle
/ size = (values.stimsize * 0.75, values.stimsize)
/ position = (50%, 50%)
/ color = white
</shape>
<port targeteeg>
/ port = COM6
/ subport = data
/ items = ("00000111")
</port>
<text feedback>
/ items = feedback
/ select = values.feedback
/ vjustify = center
/ fontstyle = ("Arial", 5%, false, false, false, false, 5, 1)
</text>
<port feedbackeeg>
/ port = COM6
/ subport = data
/ items = ("00001111")
</port>
<text total>
/ items = (" Total = <%values.total%> TL ")
/ vjustify = center
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ txcolor = gray
/ erase = false
</text>
<port totaleeg>
/ port = COM6
/ subport = data
/ items = ("00011111")
</port>
**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************
Note: list.baselineRT fills during runtime with all baseline latencies
<list baselineRT>
</list>
Note: the following lists store the success (1) and failures (0) for each experimental condition, separately for incentive/nonincentive trials
<list successIncentive_Reward>
</list>
<list successNonIncentive_Reward>
</list>
<list successIncentive_Punishment>
</list>
<list successNonIncentive_Punishment>
</list>
<list successIncentive_Control>
</list>
<list successNonIncentive_Control>
</list>
ıs there a problem with port?