Re: Parallel port and DLportIO driver error message

450 views
Skip to first unread message

Jonas Lindeløv

unread,
May 6, 2013, 6:06:27 AM5/6/13
to psychop...@googlegroups.com
Hi Jessica

On windows, psychopy needs the PortIO driver to connect with the parallel port. The error you get is that psychopy cannot find this driver, most likely because it is not installed. See the documentation on the parallel module: http://psychopy.org/api/parallel.html#id5. There's a link to the PortIO driver download page: http://www.winfordeng.com/support/download.php. Install this and you should be good to go.

For future reference: as far as I can see, the parallel module is currently being changed. This means that in future psychopy versions (>1.76), the solution is most likely another. Check the API on the parallel module to find out.

Best,
Jonas

On Wednesday, May 1, 2013 3:40:58 PM UTC+2, lincol...@gmail.com wrote:
Hi,

I am trying to use the parallel port to run my experiment and but I keep getting the following error message :

'Could not import DLportIO driver, parallel Ports not available'

I am new to Psychopy, python and programming, so does anyone know why this might be?! I have installed the latest standalone version of Psychopy, and so assume it has all the relevant libraries, I have check my computer port address is correct, but I can't even run the 'parallelportoutput.py' demo due to the above error msg, let alone the script i have complied. I am running from windows XP system if that is relevant.
 
Any ideas?!

Thanks
Jessica

Matus

unread,
Jun 25, 2013, 10:44:01 AM6/25/13
to psychop...@googlegroups.com
Hi Jonas,

I get the same error message upon calling parallel.setData(). I run psychopy 1.74 on win32 windows 7 machine. Unfortunately, the linked driver download page does not feature windows 7. Anyway, I looked in the registry and also in system32 folder. The portio driver seems to be installed already. Any ideas? Will upgrading to psychopy >1.76 help?

Thanks,

Matus

Jonathan Peirce

unread,
Jun 25, 2013, 11:27:28 AM6/25/13
to psychop...@googlegroups.com
I think the 1.76 release won't help you, but the 1.77.01 release might:
    https://sourceforge.net/projects/psychpy/files/?source=navbar

The parallel package has been fairly substantially rewritten in that version. Let us know how you get on.

cheers,
Jon
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psychopy-users/2bdc7bc5-0701-427d-84f9-3b731d99b27f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
Jonathan Peirce
Nottingham Visual Neuroscience

http://www.peirce.org.uk

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.


Matus

unread,
Jul 2, 2013, 10:14:27 AM7/2/13
to psychop...@googlegroups.com
Done.
parallel.setData(1) complains that PORT in paralel/__init__.py is None.

paralel.PParallelDLPortIO().setData(1) gives the familiar error message.

paralel.PParallelInpOut32().setData(1) executes without error. I haven't checked whether the signal arrives at the second machine. will do that later today.

m.

Matus

unread,
Jul 4, 2013, 10:52:45 AM7/4/13
to psychop...@googlegroups.com
I've tested it and I get weird behavior at the port. Only the last two bits are sent i.e. setData sends n%4. Also the data are sent only if there are new data i.e. I can't send multiples consecutive ones or multiples consecutive twos. Is this the intended behavior? As far as I know the parallel port should be able to transmit 8 bits.

Thanks,

Matus

Matus

unread,
Jul 5, 2013, 6:45:59 AM7/5/13
to psychop...@googlegroups.com
I resolved the issue. It had nothing to do with psychopy. If you have similar problems, go to BIOS parallel port settings and select ECP mode.

m.
Reply all
Reply to author
Forward
0 new messages