Eyelink(‘IsConnected’)

Psychtoolbox>Eyelink.{mex*} subfunction

status = Eyelink(‘IsConnected’)

checks if the eyelink is (still) connected
returns 1 if connected
-1 if dummy-connected
2 if broadcast-connected
0 if not connected

###See also: Initialize