OS (e.g. Win10): Win10 PsychoPy version (e.g. 2024.2.4 Py 3.8): 2025.1.1 Standard Standalone Installation? (y/n) If not then what?: y Do you want it to also run online? (y/n) n What are you trying to achieve?: I’m trying to send eeg triggers via labjack U3.
What did you try to make it work?: I installed required labjack plugin. In plugin&packages I can clearly see that psychopy-labjack and LabJackPython are installed. I made sure that I start the procedure using the same python where plugins are installed. I used two different computers each time encountering the same error.
Link to the most relevant existing thread you have found:
What specifically went wrong when you tried that?:
Running: D:\opus27\ASSR 40-Hz\assr7.21 patient study\stimuli\assr40hz_lastrun.py
1909.3972 INFO Loaded monitor calibration from [‘2025_09_08 15:25’]
1909.6933 INFO Loaded monitor calibration from [‘2025_09_08 15:25’]
4.8536 WARNING psychopy.parallel has been imported but no parallel port driver found. Install either inpout32, inpoutx64 or dlportio
Traceback (most recent call last):
File “D:\opus27\ASSR 40-Hz\assr7.21 patient study\stimuli\assr40hz_lastrun.py”, line 1088, in
run(
File “D:\opus27\ASSR 40-Hz\assr7.21 patient study\stimuli\assr40hz_lastrun.py”, line 418, in run
stim_start = labjacks.U3()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\plugins\util.py”, line 98, in init
raise PluginRequiredError((
psychopy.plugins.util.PluginRequiredError: Support for psychopy.hardware.labjacks is not available this session. Please install psychopy-labjack and restart the session to enable support.
######### Experiment ended with exit code 1 [pid:6216] #########
Thanks for letting us know! Looks like an error we can replicate - so I am going to flag this to the developers as a bug to fix.
In the meantime, I do have an example experiment using a LabJack U3 which sends triggers via code component instead. Would you please be able to try the attached and let me know if it works for you or if you get any error messages?
thank you for the code. I’ve noticed that first: some excel file is referenced in this script. Secondly, should I install anything else before running?
Oh yes - actually if you remove reference to the prac.xlsx the task should still work (I don’t think the task should require it). But you might want to increase the number of num repeats for more trials (the task should just present a shape repeatedly.
I don’t think you should have to install anything else but please let me know if you encounter any error messages whilst testing.
I am also having an issue with connecting LabJack to my PsychoPy routine. I originally created this application around 5 years ago and it had worked well until the latest update. I see that now plugins have to be installed, which I did for the ‘psychopy-labjack’ plugin. The error I get is the same as described at the top of this thread.
I tried to run the trigger_test_trigger routine above but I get the following:
Traceback (most recent call last):
File “C:\Users\schettil\Downloads\trigger_test_trigger_labjacku3_lastrun.py”, line 1099, in
run(
File “C:\Users\schettil\Downloads\trigger_test_trigger_labjacku3_lastrun.py”, line 963, in run
win.flip()
File “C:\Users\schettil\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\visual\window.py”, line 1457, in flip
self._toCall[i][‘function’](*self._toCall[i][‘args’], **self._toCall[i][‘kwargs’])
File “C:\Users\schettil\Downloads\trigger_test_trigger_labjacku3_lastrun.py”, line 453, in send_sync_pulse
device.getFeedback(u3.DAC8(Dac=channel, Value=value))
AttributeError: ‘NoneType’ object has no attribute ‘getFeedback’
3.9970 WARNING User requested fullscreen with size [1440 900], but screen is actually [1920, 1080]. Using actual size
######## Experiment ended with exit code 1 [pid:20072] #########
I restarted both the application and the computer but that did not correct the issue. Any ideas?
Thank you for your help.