PsychPy version 3.2.4
What I want to achieve: I wish to send triggers on onset of each different types of stimulus and onset of response inserted using keyboard.
What works: I created a trigger I/O component in the routine and presenting it at the same time as the stimulus appears. It works for stimulus upto 7 after that it starts again assigning triggers from 1. I guess it is due to Brian Vision contains 16 1-bit digital inputs.
What doesn’t work: I would like to do same when a response was entered. I tried code as shown in the image but it gives me an error: see the third image.
Also I created an I/O component and say that it should send trigger onset of button press, but it does not work. See Image