I managed to solve the problem. I'm not quite sure which step actually cut the curve, but I recommend the following:
Download and install the LPT Test Utility on your presentation computer.
First, this program installs inpout32.dll automatically and correctly, regardless of whether you are using a 32-bit or 64-bit OS. In addition, it helps you monitor and manage the contacts of your parallel port. If using standard addresses ( LPT1 through LPT3 ) does not work, select LPTX and enter your address manually ( see here, where you can get your parallel port address on a Windows PC ). If the triggers do not appear on your recording computer using this program, you have a problem that is not related to PsychoPy.
If this fails , (re) install the parallel port driver. Using Windows 7, this is not necessary, but actually solved one important problem for me. If this still fails, the hardware components (plug / card of the parallel port, cable (s), synchronization unit) may be damaged.
If the triggers work with the "LPT Test Utility" program, but do not use PsychoPy , you need individual troubleshooting, depending on your code. Of course, you need to insert the port address that worked with the "LPT Test Utility" in your PsychoPy code.
from psychopy import core from ctypes import windll windll.inpout32.Out32(portaddress, triggerCode)
Best wishes,
Mario
source share