Now Shipping! – The EyeLink 3; combined head and eye tracking at up to 1000 Hz.

FAQ: What messages do I need to send to Data Viewer if I'm not using Experiment Builder?
#1
To ensure Data Viewer can correctly parse and display your experiment, your stimulus presentation software should send several key types of integration messages to the EDF file. Our EyeLink Data Viewer Integration Messaging Protocol guide outlines the most important ones. For complete details, please see the Data Viewer User Manual (Help menu -> Contents -> Protocol for EyeLink Data to Viewer Integration).
  1. Trial Demarcation Messages (Start/End of Trial)
    Purpose: These messages tell Data Viewer where each trial begins and ends.
    • Start of Trial Syntax: TRIALID [trial_number]

    • End of Trial Syntax: TRIAL_RESULT [result_code]

    Note: If your software uses different messages or TTL pulses to mark trials, you can change the defaults in Data Viewer by going to Preferences > Data Loading before importing your data.
       

  2. Image Loading Messages (Stimulus Backgrounds)
    These messages tell Data Viewer which image to display as the background for a given part of the trial and when it appeared.
    Syntax for IMGLOAD message:

    Example of an IMAGELOAD message for an image named stim1.png with it's center location at pixel 960x540:


  3. Trial Variable Messages (Trial-Level Data)
    Used to send trial-level data (e.g., condition, block, accuracy). These become variables in Data Viewer that you can use for grouping and in reports.
    Trail variable syntax

    Example message for a variable named "Condition" with the value of "gap":


    [Note: These messages should be sent at the end of each trial, just before the TRIAL_RESULT message.

  4. Interest Area Messages (Defining IAs)
    These messages pre-define the shape and location of Interest Areas for your trial.
    • Rectangle IA Syntax:

    • Ellipse IA Syntax:

    • Freehand IA Syntax:



General Event Messages (Crucial for Analysis)
Finally, it is critical to send "standard" messages to mark all key trial events, such as when a stimulus appears or when a response is made. These messages are essential for creating Interest Periods in Data Viewer to limit your analysis to specific time windows.