psychopy.org | Reference | Downloads | Github

Parallel Port Address as Integer

Hello,

OS: Win 10
PsychoPy Version: 2020.1.3
Standard Standalone? Yes

What are you trying to achieve?

I am trying to send event markers from Psychopy to an acquisition computer running Biopac software (Acqknowledge version 4.0). I have attained my parallel port address (‘D010’), but I keep getting an error indicating that parallel.parallelport wants an integer as opposed to a string.

I have tried different port addresses, including 0x0378 and 0x0278. The error goes away when I use those, but no event markers are sent. I have also tried changing versions of Psychopy with no luck.

I know this is not an issue from the Biopac side, because we are using the ‘D010’ address in a different task programmed in matlab and the event markers are showing up fine.

Does anyone have any recommendations for solving this issue?

Thanks!

The answer to this was to simply put 0x before D010.