psychopy.org | Reference | Downloads | Github

Parallel output port error

#1

OS (e.g. Win10):
PsychoPy version (e.g. 3.1.x):
**Standard Standalone? (y)
What are you trying to achieve?:

I generally build experiments using the Builder view, but I will be attaching the code, because I think it will be easier to troubleshoot. I am trying to output a signal from a parallel output port. This is the output cable that we are using.

I would like PsychoPy to output a signal which will communicate with our data collection device (PowerLab) to indicate the start and end of each trial.

This is the error that we receive:

File “Z:\Procedures\Visual Stimulus -Checkerboard\Visual Stimulus C25_O40 - Copy.py”, line 83, in
4.4849 WARNING psychopy.parallel has been imported but no parallel port driver found. Install either inpout32, inpoutx64 or dlportio
6.4716 WARNING User requested fullscreen with size [1024 768], but screen is actually [1366, 768]. Using actual size
p_port = parallel.ParallelPort(address=‘0x0A’)
TypeError: ‘NoneType’ object is not callable

This is a sample of the code:

Initialize components for Routine “Baseline”

BaselineClock = core.Clock()
text = visual.TextStim(win=win, name=‘text’,
text=‘Resting’,
font=‘Arial’,
pos=(0, 0), height=0.5, wrapWidth=None, ori=0,
color=‘white’, colorSpace=‘rgb’, opacity=1,
languageStyle=‘LTR’,
depth=0.0);
p_port = parallel.ParallelPort(address=‘0x0A’)

What did you try to make it work?:

I have tried to download the drivers suggested by the error message, but I am having difficulty finding the drivers online.

Any help would be appreciated.