If this template helps then use it. If not then just delete and start from scratch.
PsychPy version 3.2.4
I just simply want to send a trigger when use press any key for example in my case when use press ‘space’ bar, there should be a trigger sent, but I do not see anything in the EEG recording system.
I tried following:
if condition seems to be wrong. You’re trying to check if the length of a list is
Space, which doesn’t seem to make much sense, unless I’m missing something here…
I was wondering, if these solutions worked good for you. I am having problems with the code “p_inst.setData(0)”, it says ‘NoneType’ object has no attribute ‘setData’
Thank you very much,