Eyelink(‘CheckRecording’)

Psychtoolbox>Eyelink.{mex*} subfunction

error = Eyelink(‘CheckRecording’)

Check if we are recording: if not, report an error. Also calls
record_abort_hide() if recording aborted. Returns 0 if recording in progress.
Returns ABORT_EXPT if link disconnected. Handles recors abort menu if trial
interrupted. Returns TRIAL_ERROR if other non-recording state.

###See also: