First thank you for your help. Our main problem is sending the markers to the testbech (which is recording the eeg raw data from emotiv). Even we tried to connect serial prots wtih eltima virtual serial port driver, and connect psychopy to that serial port (infact we assume that we connect it), we are not able to send marker to the recording.
How can you manage to send markers to eeg data by pscyhopy. Should we buy rs232 cable or any other hardware?
If I'm not wrong, the Emotiv testBech software works with serial port which you can configure via the marker menu. If you send a byte to the serial port with PsychoPy, it will be recorded in the data stream at the appropriate point as it was received (if you send an 'A' you will get the ASCII equivalent integer for 'A' as a marker).
You can find a psychopy.serial example at this address: http://www.psychopy.org/api/serial.html
Of course you have to ask PsychoPy to open a serial port with the same parameters as the one you entered in the Emotiv testBech software.
Concerning the virtual serial port you are using, I would suggest you to use a real physical/hardware serial port on a different computer. This solution prevent a wrong configuration or a software problem in the virtualization process. You will need a cable to connect both computers to apply this. If possible, I would also suggest you to avoid USB to serial ports which are often the cause of software/drivers problems.
Merhabalar. Epey zaman geçmiş ama bahsettiğiniz deneyi yapabildiniz mi acaba? Ben de benzer bir sorun yaşıyorum, belki yardımcı olabilirsiniz diye düşündüm. Selamlar
Emotiv, has added support into PsychoPy recently. I have made a video to help. If you still need help then do reach out again. https://youtu.be/rRoqGa4PoN8
Hi Bill. Thanks a lot for the video. :) Super. But I can't find the file called .emotiv_creds. I have checked everywhere in my computer but couldn't find it. I will be so happy if you can help me.
You have to create that file. You need to be careful though it has to be a plain text file. Are you using windows or Mac. On windows you can create the file with notepad. On mac you can create the file with textEdit, but you have to set the format to plain text (https://youtu.be/J1goN2FVoIo?t=19). I hope that helps.
Thanks so much. Now I created the file, the only point is that when you create a file with ".emotiv.creds", it becomes invisible as the operation system (Mac) thinks it is a system file. Bu it works without problem. Now my experiment works. The only problem now is that when I try to send marker to EmotivPro by using PsychoPy (as shown in https://youtu.be/rRoqGa4PoN8) it sends start marker perfectly but do not send the stop marker. I can see the start marker on EmotivPro but no stop marker at all. I have tried stop times, duration, etc options but no success in sending stop marker so far. If you have any comment on that I will be very happy.