Howdy, Stranger!

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

Supported by

Sending EEG Triggers in Windows 10

Hi everyone!

I've been working on an experiment using open sesame that needs to be able to send triggers to some EEG recording software on a seperate PC (running windows XP). I had this working on our old lab PC (windows 7) without any issues, using the dlportio.dll file and python inline scripting. However, we have just switched the lab PC to windows 10, and now this doesn't work anymore. I have reinstalled the dlportio.dll file and open sesame seems to recognise this, as it does not throw any exceptions when initiating. It also does not notify me that it failed to send any triggers. I have read that this would normally mean that the IO port address is incorrect, however I have run through all the port addresses my computer lists for the IO connection, but nothing seems to work. Has anyone else had this problem and happens to know a fix?

For reference, the IO port range for my connection is DFF4-DFFFF and the python code I am using is this:

To initiate the trigger sending:

try:
    from ctypes import windll
    global io
    io = windll.dlportio 

except:
    print 'The parallell port couldn\'t be opened' 


exp.set('delay',0)

and to send the trigger (there is another similar one to reset the trigger):

resp = exp.get('response_resp_p')
if resp == ('space'):
        exp.set('trig',1)
else:
        exp.set('trig',0)

global io
trigqu = self.get("trig")
port = 0x378
try:
    io.DlPortWritePortUchar(port, trigqu)
except:
    print 'Failed to send trigger!'

exp.set('delay',50)

Thanks for your help,

Martin

Comments

  • I also got the same problem, but I am using windows 7. Also try to use trigger, using the dlportio.dll file and python inline scripting but no response

  • You can download a newer driver from here:

    http://www.highrez.co.uk/Downloads/InpOut32

    And then initialize it through:

    io = windll.LoadLibrary( 'inpout32.dll')
    

    (don't forget to add the correct path to 'inpout32.dll')

  • Hi everyone!

    I'm having the same problem mentioned by @martinholding here: we switched the lab PC to windows 10, and now I can't send triggers via the parallel port anymore.

    I followed the instructions that I found in this documentation to install DLPortIO, even if they refer to Windows 7: https://osdoc.cogsci.nl/3.2/manual/devices/parallel/
    In particular, when I installed the program "Digital Signature Enforcement Overrider" (DSEO) following the instructions and enabling the test mode, I restaed the PC and noticed that the voice "Windows test mode built #number#" didn't appear on my desktop. Plus, when I run my script to send triggers via the parallel port, it seems that the trigger is sent, but nothig actually happens.

    Can anyone help mewith this iussue? Is it possible that I need to install a more recent version of DLPortIO or of the program DSEO?

    Thanks!

  • I managed to get it to work on Windows 10 by following these instructions:

    • Downloading the Binaries only from http://www.highrez.co.uk/downloads/inpout32
    • Unpacking the Win32 folder (drag it in some temp folder for example).
    • Run InstallDriver.exe as an administrator.
    • Copy the file inpout32.dll from Win32 folder to the folder which contains opensesame.exe

    So without renaming the inpout32.dll file, and without copying it to the system folders.

    This also means that you should refer to inpout32 in your code instead of dlportio.

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