Howdy, Stranger!

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

Supported by

[open] sending multiple triggers to an EEG machine

edited October 2014 in OpenSesame

Hi,

I am new to this software and I apologize in advance if I should have posted this somewhere else.
I have an experiment where I present auditory stimuli (sentences) to participants undergoing EEG, and I need to send triggers in the middle of the audiofile (multiple triggers for each sentence, at different onsets for each sentence).
I downloaded the parallel port trigger and was able to communicate with the EEG recording system (I have a Brain Vision system) through the parallel port, adn I was able to send triggers at the onset of each sentence.

However, I am not sure how can I send multiple triggers within the sentence.

Can somebody help me?

Thanks in advance,
Elena

Comments

  • edited 1:06AM

    Hi Elena,

    Welcome to the Forum!

    If you set the duration of your audiofile to "0", the experiment will proceed with the next items in the sequence, while the audiofile is playing.
    Now you can put as many parallel port trigger items in the sequenceas you want send triggers. In order to to send them at exactly the timepoint as you wish, you can use the advanced delay, or an inline_script, where you can specify the time you want to wait by using self.sleep(time).
    Keep in my mind that the triggers have to be reset to 0, after you send a trigger. If the trigger duration is bigger than "0", it will be done automatically. If it is "0", you have to include set it back to "0" yourself (simply sending another trigger with the value "0").

    Good luck,
    Eduard

    Buy Me A Coffee

  • edited 1:06AM

    Thanks for your quick reply.
    I tried as you said but it does not work...
    Reading through the forum it seems that I need to use an inline script and use another plugin, the DLportIO.
    I downloaded the plugin and installed it, and then tried to follow the instructions from a previous thread on the forum.
    However, there is one main question: it is not clear to me how to use the 'self' function, as I tried to use the self.get and self.sleep commands but they do not work.
    Is is something I need to define in the "prepare" phase?
    If so, how do I do that?

    Thanks,
    Elena

  • edited 1:06AM

    Hi Elena,

    I don't know whether this is the issue, but you should be careful to what you refer, if you use self.
    If you use self._functions in an inline_script, self refers to the inline_script-object. If you want to refer to the experiment-object, you have to use self.experiment._function or simply exp._function_.

    In general, it shouldn't matter whether you put it into the run or prepare phase (as long as items that follow later in the sequence do not depend on stuff you define in the inline_script.

    Eduard

    Buy Me A Coffee

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