Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[open] sending serial trigger to Emotive EEG

edited January 2014 in OpenSesame

Hi

Now i am facing a big problem in serial trigger sending , i found many tutorial here about serial trigger but python use only win 32 and i am running on win64 how can i solve this problem ? i found boks on the website ?

Another crucial problem is sending trigger after or before stimulus ? i am really weird may say it is preferable to send before stimulus so what is accurate besides i will gonna to use VEP so 100 trials
if i supposed to send before stimulus when i am calculating how can i know the delay please i need clear clarification for that

My system supposed using Emotive EEG , VSPE , and opensesame

Thanks

Comments

  • edited January 2014

    Hi,

    Welcome to the forum. In the future, please do not open multiple discussions for the same problem!

    i found many tutorial here about serial trigger but python use only win 32 and i am running on win64 how can i solve this problem ?

    That's no problem: You can use 32 bits software on your 64 bits computer.

    Another crucial problem is sending trigger after or before stimulus ? i am really weird may say it is preferable to send before stimulus so what is accurate besides i will gonna to use VEP so 100 trials if i supposed to send before stimulus when i am calculating how can i know the delay please i need clear clarification for that

    I'm afraid that I don't understand this question. Could you please try to rephrase? Don't worry, the English doesn't have to be perfect (most people on this forum are not native English speakers). But we have to be able to understand it!

    (...) i am really weird (...)

    ;)

    Cheers,
    Sebastiaan

  • edited January 2014

    Thanks sebastiann , i am so sorry for multiple posting :)
    Okay now i reached to the point for solving my problem with pyserial on my win64 i find solution :) another thing is how can deal with the serial port communication i supposed to use emotive eeg headset with opensesame , so i found ur discussion with another member really it was good after tough few days in trying
    i reached to using Virtual serial port emulator between opensesame and emotive eeg
    the result was as shown in the attached photo

    i have 2 cycles each cycle =10 times so the total number of the trial is 20 random
    i made python inline code for trial type by adding if condition in the loop experiment then sending
    exp.serial_port.write(chr(1)) # Send the byte 1 as a character
    for each stimulus so the result i found reading 20 bytes
    i don't know if it was right or not
    image

    Thanks :)

  • edited 12:47AM

    I am trying to do the same thing...send a marker at the presentation of a visual stimulus to Testbench which is the software for the EPOC EEG. Testbench revieves events via a serial COM port.

    I have tried using an Inline script....

    On the prepare phase tab
    exp.serial_port = serial.Serial(COM7, 9600, timeout=1) #
    On the run tab
    On the exp.serial_port.write("\x7f") # Send decimal 127
    exp.serial_port.flush()

    Is this correct? I am very new to programming and would be very grateful for some help

  • edited 12:47AM

    I have just solved the about by reading through some of the previous postings

    ref: [open] Serial port trigger for EEG?? pénélopepénélope January 8
    Thanks for the detail provided as this is a real help :-)

  • edited 12:47AM

    Hi @Jarrod and @meldiwiny,

    As far as I can tell from your descriptions, I think that you have both set things up correctly. And as Jarrod pointed out, you can find a detailed discussion about sending triggers via the serial port here:

    But the best way to find out whether things work correctly is by checking your logfile, of course! Are your triggers recorded and logged as you would expect them to?

    Cheers!
    Sebastiaan

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games