Hello all,
We recently updated the psychopy version in our EEG lab to version 2022.1.1 from a much older version (I’m not sure which but at least 3 years old). Everything mostly works fine but all of my code interacting with parallel ports no longer works. For example, if I use: parallel.setPortAddress(address = 0xCEF8)
then try to use the parallel port I get the error message: ‘RuntimeError: Port address must be set using setPortAddres’. If I check the parallel port via print(parallel.PORT) then ‘None’ is returned.
As I see in the documentation this is method of interacting with the parallel port is deprecated, I instead tried the port = parallel.ParallelPort(address = 0xCEF8) but in that case I get the ‘Nonetype not callable’ error (i.e. ‘port’ is still ‘None’).
I have the inpoutx64.dll driver in the folder with the experiment, and I know for a fact that the parallel port interaction worked fine with the exact same code and folder structure prior to the update. The port address is definitely correct (I’ve checked, and as stated it used to work fine).
I noticed also that a colleague who is using OpenSesame doesn’t have this problem despite using the psychopy.parallel library for interacting with the parallel port (OpenSesame appears to have the psychopy libraries included within itself but from an older version, from 2021).
I tried copying in the psychopy.parallel library from an older version of psychopy as a separate folder and using that instead, but got the same errors.
Any ideas what I should try next?