I am trying to utilize a Magstim TMS machine with Psychopy (via TTL signalling) and having difficulties getting psychopy to cooperate with the port address.
I have tried utilizing the solutions found in previous threads ( Parallel Port Issues - Simple solve , Parallel port code no longer working since update to Psychopy 2022.1.1 ) and ensuring that the drivers are in the experiment folder.
What some solutions suggest is to copy the drivers into the 32-bit windows directory (such as in these threads Problem with psychopy.parallel - #5 by audachang , Parallel Port Issues - Simple solve ) however, current iterations of Windows 11 does not have have a 32-bit capacity to actually do that.
I know that the computer is able to send signals to the TMS machine (windows recognizes a device is plugged in, and sends signals during startup).
I followed the guide found here ( Communicating via a Parallel Port — PsychoPy v2025.2.1 ), have tried going through each of the port addresses and the LPT port name, using both the EEG parallel port out, and the I/O parallel port out components. I also tried the solution from here ( Sending Triggers to EEG with Parallel Port - #3 by rsells2 ) of setting duration to 100ms.
The same problem occurs regardless. I start the experiment and it crashes after the “initializing frames” screen, and I see the runner output. However, I the program is unresponsive and I have to use task manager to close out of psychopy.
The output I get is:
WARNING psychopy.parallel has been imported but no parallel port driver found. Install either inpout32, inpoutx64, or dlportio.
p_port = parallel.ParallelPort(address = '0x____')
TypeError: 'NoneType' object is not callable.
(address is correctly set, just showing blank as it doesn’t matter which port in the range, or the LPT port address using legacy plug and play).
I am using Windows 11, and using a serial port card in a PCIE slot. The drivers for the card are installed and working (and the computer can send signals to the machine), but I am not sure why Psychopy is unhappy. My psychopy version is 2024.2.4.
Is this the first time someone has tried parallel ports on Windows 11 and that’s the issue? I am also going to try a different PCIE Parallel Port Card (it is still in transit) in case it’s because psychopy doesn’t like this card’s drivers for whatever reason.
Any advice?
Issac