cpp-lln-lab / CPP_PTB

a set of function to make it easier to create behavioral, EEG, fMRI experiment with psychtoolbox
https://cpp-ptb.readthedocs.io/en/latest/index.html#
MIT License
12 stars 13 forks source link

eyeTracker error from lab desktop computer #73

Closed marcobarilari closed 3 years ago

marcobarilari commented 3 years ago

I copy/paste the error we encountered in LLN using the lab desktop computer and EyeLink

Eyelink already initialized!
Running experiment on a 'EYELINK CL 4.56 ' tracker.
Error in function Open: Usage error
Could not find *any* audio hardware on your system - or at least not with the provided deviceid, if any!
Error in function FillRect: Invalid Window (or Texture) Index provided:
It doesn't correspond to an open window or texture.
Did you close it accidentally via Screen('Close') or Screen('CloseAll') ?
EYELINK: WARNING! PsychEyelinkCallRuntime() Failed to call eyelink runtime
callback function PsychEyelinkDispatchCallback [rc = 1]!
EYELINK: WARNING! Make sure that function is on your Matlab/Octave path and properly initialized.
EYELINK: WARNING! May also be an error during execution of that function.
Type ple at command prompt for error messages.
EYELINK: WARNING! Auto-Disabling all callbacks to the runtime environment for safety reasons.
Eyelink: In PsychEyelink_get_input_key(): Error condition detected: Trying to send TERMINATE_KEY abort keycode!
Eyelink: In PsychEyelink_get_input_key(): Error condition detected: Trying to send TERMINATE_KEY abort keycode!
Error in function FillRect: Invalid Window (or Texture) Index provided:
It doesn't correspond to an open window or texture.
Did you close it accidentally via Screen('Close') or Screen('CloseAll') ?
Error using Screen
Usage:

Screen('FillRect', windowPtr [,color] [,rect] )

Error in eyeTracker (line 150)
Screen('FillRect', cfg.screen.win, [0 0 0]);

Error in visualLocTanslational (line 52)
[el] = eyeTracker('Calibration', cfg);