I would need help to determine a specific trigger codes to BIOSEMI Actiview (trigger format - Decimal)
Let’s put the Stroop Demo as an example:
Begin Experiment tab
port = serial.Serial(“COM3”, baudrate=115200)
Begin Routine tab
End Experiment tab
These are the codes that I’m using. Few things to note down:
- Triggers appear in Actiview
- In Begin Routine tab, I’ve used other coding format such as (They all kind of worked):
port.write(bytes(congruent)) - Given the trigger format for Decimal of (49,0) & (48,0) [random]
port.write(b’congruent’) - same with above
port.write(‘1’) - same with above but only (49,0)
port.write(b’$congruent’) - Given Decimal of (255,0)
As I understand I’ve used the “congruency” of the Stroop Task (that is in either 1 or 0) for port.write but I think I might have not supposed to do that.
2 Issues I need the solution for:
- I need the triggers to be sent when the stimulus is presented, and when the participant respond. But the response triggers are only sent.
- I need to know what decimal represents what in Actiview; Therefore, I need to determine the values/decimal to PsychoPy to send the Decimal trigger value that I want.
Please help & thank you if anyone could provide a solution