Trigger problem

Post Reply
cansu.ozceri
Posts: 3
Joined: Tue Feb 18, 2025 8:45 am

Trigger problem

Post by cansu.ozceri »

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?

cansu.ozceri
Posts: 3
Joined: Tue Feb 18, 2025 8:45 am

Re: Trigger problem

Post by cansu.ozceri »

When the port is defined as lpt1, it sends a trigger to another device. Is there LPT parelell Port in biosemiactive2?

cansu.ozceri
Posts: 3
Joined: Tue Feb 18, 2025 8:45 am

biosemi active two system serial port trigger problem

Post by cansu.ozceri »

Hi, I am having problems sending triggers to biosemi active two system.
I use inquisit(millisecond) task script.

I have no problem sending triggers on the same device with the com6 serial port in an experiment written in python.
This experiment written in inquisit sends triggers when the port is defined as lpt1 on another eeg device.
However, I see that when I define the port as com6 in my experiment script written in inquisit, it does not send triggers. What should I do?
Thanks for the help.

Gerben
Posts: 27
Joined: Fri Sep 24, 2010 4:36 pm

Re: Trigger problem

Post by Gerben »

Hi,
I have no problem sending triggers on the same device with the com6 serial port in an experiment written in python.
This means that the hardware is working properly, the use of a com port means that you are using the Biosemi USB trigger interface (or compatible third party equivalent)
The Biosemi USB trigger interface communicates with the pc using a serial port, if you want to send triggers with inquisit then you will have to either change your software to write the triggers to a serial port in stead of a LTP port or use a Biosemi LTP/parallel port trigger cable (or compatible third party equivalent)

Post Reply