Hello there! I’m trying to run an experiment using PsychoPy that uses a button box connected to the stimulus computer via parallel port, but unfortunately we are unable to grab these responses.
System: Windows 7, 64-bit
PsychoPy Version: 1.85.2
Standalone install?: Yes
What have we tried?
- Ensuring that 32-bit Python was installed alongside 32-bit PsychoPy.
- Ensuring that the inpout32.dll driver is installed through the highrez link.
- Placing the inpout32.dll driver into the working directory of the program.
- Checking that we have the right parallel port address (LPT2, which is 0x3048 for us).
- Testing on Presentation: Presentation can hear the button responses just fine.
- Using the newer ParallelPort functions rather than legacy setPortAddress functions.
What else are we trying?
- @ulrikeh - our problem seems similar to yours, in that the issue was also inability to read the pins but other programs work fine. The pyparallel solution you found set the control register bit 5 to 0, to force operating in output mode. I’m confused because the built-in parallel functions should also do this? (parallel/_inpout32.py, line 43-44). We don’t have the simpleio driver required for pyparallel so unfortunately I can’t try using those functions.
- I’m thinking about the Device Manager interrupt options and whether those mean anything to the parallel port operation. Right now, it’s currently set to “Never use an interrupt”, but on our other system where PsychoPy works, it’s set to “Use any interrupt assigned to the port”. I’m not 100% sure on what the implications here are, although just trying to switch it over didn’t fix the issue.
I’m running out of ideas on how to fix this issue, so any help would be greatly appreciated! Let me know if I’m missing any info.