How to send triggers to SR Eyelink Plus Eye-tracker using trigger_handler? #2552
Unanswered
prashantig25
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear @jodeleeuw, @becky-gilbert and All,
I have jsPsych task that I would like to use to collect pupillometry data with the SR Eyelink Plus Eye-tracker. I am trying to use Dr. Tünnermann's trigger_handler https://github.com/jt-lab/trigger_handler to send triggers from the PC on which the experiment runs to the Eyelink PC with a parallel port connection.
To use the trigger_handler, I have adjusted its configuration to my setting, in the trigger_handler.py code:
APP_HOST = '127.0.0.1'
APP_PORT = 8000
PARALLEL = True # To use a parallel connection
LPT_INTERFACE = 0xD050 # Parallel port address of the experiment PC
TCP = False # Don't need the TCP connection
TCP_HOST = '127.0.0.1'
TCP_PORT = 50000
After making these adjustments and copying inpoutx64.dll (for the 64 bit sysyem) to the folder, I run the trigger_handler.py in the terminal.
The terminal message does not show [FAIL] but it does not show [SUCCESS] either. Instead it simply shows the following message:
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
Another issue that I notice is that irrespective of whether I enter the correct or the incorrect PP address in the LPT_INTERFACE, I get the same terminal message. My expectation would be that if I enter the incorrect PP card address, the terminal message should show [FAIL]. I would like the terminal message to show [SUCCESS] for the correct PP address and [FAIL] for the incorrect address.
Additionally, when I try sending triggers via the browser, using an URL, it shows that I have successfully sent the triggers, but the triggers don't get recorded by the Eyelink PC.
I have checked the parallel port cards of both PCs and the cable connecting them.
So could be particular reason for the same? And how can I successfully send triggers?
Thank you!
Sincerely,
Prashanti
Beta Was this translation helpful? Give feedback.
All reactions