I am wanting to use Psychopy to run an experiment in which it sends a signal to a tms machine. Since new computers don’t have parallel ports, I have attached a parallel port card to the computer and connected the tms machine to this.
However, I am struggling to get the tms machine to fire. Both the demo parallel port code and my code run without error, but the tms machine does not fire.
I was wondering whether anyone has previously used psychopy with a parallel port card? And if so, how did you get it to work?
When I look in device managers at the address of the parallel port it says EFF4-EFF7 and EFF8-EFFF. Therefore would I use 0xEFF4 in my code as the port address?
Any help on this would be greatly appreciated! I’m not sure whether the problem is due to me not having the correct port address, my code to trigger the machine is wrong, or that psychopy isn’t compatible with the parallel port card.
I’ve spent hours looking online but cannot find a suitable answer, and I’m stuck as to where I can get help now.
There are several posts about it in this website, and most of the time with Windows it has been quickly solved by adding the driver file to the same folder as your script. See my answer here which has a link to an answer on the old psychopy page that has the file I’m talking about (input32.dll).
Thank you very much for your reply. Unfortunately this is not the problem. I have already done this as the script doesn’t run without it. I’ve read all possible posts on here but none of the solutions have seemed to help!
Thanks for sharing your process here! I am actually experiencing the same problem right now - trying to get PsychoPy to send a trigger to an electric stimulus apparatus through parallel port, and we are using a parallel port card on a Windows 7 computer. We also have the inpout32 files in the same folder, but I’ve never heard about having to install anything - if you can tell me how you did this that would be highly appreciated. Also I wanted to know what you ended up using as your port address?
Thanks so much, we are really out of options since no one in our department seems to be able to help…
This was a while ago so I cannot remember exactly what I did, but once I had copied the files in the right folder, I clicked on one of them and it installed it - so I’d just advise trying to open the files and hopefully that will work.
For the parallel port number, it was 0xEFF8, so what it said in the windows settings. Someone created a quick script for me that ran through all the parallel port numbers, which is how I found it. I could send it to you if you think it would be helpful?
I hope that you manage to get it to work soon… I know how frustrating it can be!
Emma
So if I understand correctly, you didn’t have to run anything in command prompt or anything, just clicked on the files and they automatically installed?
It would be really helpful if you could send whatever info would be convenient for you about your port numbers! So if the number on our computer is E010, the port number in the code should be 0xE010?