failure to send triggers through Cedrus C-Port from OpenSesame to NIRSport
Dear all,
We have tried multiple things to try and send a trigger through a Cedrus-C-port from Open Sesame to NIRSport. The setup works on EEG with a parallel port, but with a Serial port there seem to be some issues. With the code (see below), the Serial port is opened and the trigger is send (at least that is what the console says). The code I put below. For some reason, the trigger does not show.
We already tried:
-The setup with a parallel port, and this worked. However we want to adjust it to a portable setting for which a serial port via USB comes in more handy.
-downloading a parallel port plugin similar to the EEG to send the triggers through this port.
-Writing the script above and sending the triggers manually
-Adjusting the time.sleep, baudrate etc. to longer and shorter periods (the one above is probably too long as it measures in seconds, but we tried it with for example 1 second as well)
Does anyone have a clue about what to try next? The most "elegant" solution would be downloading a plugin, as we need not to code every trigger, but any solution would be highly appreciated.
Kind regards,
Bart Haverkamp
Comments
Hi Bart,
I can't tell you what is wrong, but it would help if you would also post the error message. Perhaps the error message gives us some clues.
Eduard