Sending event triggers from PsychoPy to BioSemi/Actiview via parallel port

Hi emotion,

I am using the same setup (windows 7, biosemi) and I had some weird problems with triggers as well. This is a few months ago, but what helped me – I really made sure that my trigger switches were going on / off after my setAutoDraw() was being called. Can you open up the code view, from the builder view, do a find on “setAutoDraw” and tell me where you see “p_port.setData”. Is it after or before your setAutoDraw?

Also, I remember I had to put a few calls to time.sleep() function in my script to make sure I wasn’t flipping one of the trigger switches on/off too quickly.

Are you using biosemi 254 and 255 trigger codes to start and stop saving your recording? this also tripped me up. Can you post a snippet of your code? Maybe I can help.

Last thing. It might help to read through my convo with Jon. I post some snippets of my funky code, and finally the code that solved the problem: Can't send trigger during first 500ms of a 2750ms trial

1 Like