DlPortIO issues

354 views
Skip to first unread message

Emily

unread,
Apr 1, 2011, 5:10:25 PM4/1/11
to psychopy-users
I'm trying to set up parallel port triggering for an EEG study.

When I try to run it I get "Could not import DLportIO driver, parallel
Ports not available"

I found the new link to http://winfordeng.com/support/download.php to
download this, which I did. But when I go to install it, I get the
following error:

"The Win 16 subsystem has insufficient resources to continue running"

I know this isn't a problem with psychopy specifically, but I was
wondering if anyone has set up parallel port triggering on Win XP and
has any suggestions about what might be going wrong.

Thanks!

Emily

Emily Ward

unread,
Apr 2, 2011, 2:13:35 PM4/2/11
to psychopy-users
I solved this (or at least got this to work).

If you're having similar issues with DLportIO and the downloaded driver, you can download another driver version here:


Seems a little sketchy, but I added it to C:\Windows\System32 and was then able to trigger through the parallel port without any issues. 






--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To post to this group, send email to psychop...@googlegroups.com.
To unsubscribe from this group, send email to psychopy-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/psychopy-users?hl=en.


Jonathan Peirce

unread,
Apr 3, 2011, 4:13:38 PM4/3/11
to psychop...@googlegroups.com
Glad you got it sorted and thanks for letting us know :-)
-- 
Dr. Jonathan Peirce
Nottingham Visual Neuroscience

http://www.peirce.org.uk/

Andre Gouws

unread,
Apr 4, 2011, 6:53:33 AM4/4/11
to psychop...@googlegroups.com
Just for the record ..I too tried different ways of controlling
parallel port with Python on Windows (Xp 32 bit). The easiest way I
found was with Inpout32.dll.
(http://logix4u.net/Legacy_Ports/Parallel_Port/Inpout32.dll_for_Windows_98/2000/NT/XP.html)

Just download the dll, put it in system32 folder. Then from python:

from ctypes import windll
p = windll.inpout32
p.Inp32(0x378) #default 255(all high) on my pc
p.Out32(0x378, 0) #put all low on port 2-9

The address 0x378 might be different on your machine, open
System->Hardware->Device Manager->Ports->ECP Printer
Port->Properties->Resources, use the first number as your address.

Best


Andre'

Reply all
Reply to author
Forward
0 new messages