The Inquisit SR Research Plugin

The Inquisit SR Research Plugin enables integration of Inquisit scripts with gaze point and pupil data from SR Research's EyeLink eye trackers. The plugin enables gaze-contingent tasks, sending event markers into the gaze point data stream, and recording screen captures from the display computer that are automatically integrated into the SR Research Data Viewer.

Registering the Plugin

The Inquisit SR Research Plugin includes a 30-day free trial that begins when Inquisit is installed. After the trial period ends, a license is required to use the plugin. Once you purchase a license, you can register it by selecting the "SR Research Registration..." command from Inquisit's Help menu. The registration window will appear with instructions for completing the registration. If you wish to move the license to a new computer, you can login to your account on and submit a transfer request.

Programming the Plugin

To record and utilize gaze point data from a SR Research eye tracker, you must first declare the eyetracker element in your script and and set the plugin to "srresearch":

/ plugin = "srresearch"

Once the eyetracker is defined in the script, whenever the script is run Inquisit loads the plugin and attempts to locate the SR Research eye tracker on the network. Once connected, the plugin recieves and records the stream of gaze point data from the eye tracker. For dynamic task paradigms that change based on gaze point data, you can programmatically access gaze point data from the properties of the eyetracker element.

The plugin enables you to define trials in which gaze point is treated as a response. For example, in a parafoveal priming paradigm, a trial can present a fixation point and then advance to the stimulus presentation trial once the participant has focused their gaze on the fixation stimulus. As shown in the example below, this is accomplished by setting the "inputdevice" attribute to "eyetracker" and defining the fixation stimulus as a "validresponse".

<trial fixation>
/ stimulustimes = [1=fixation]
/ inputdevice = eyetracker
/ validresponse = (fixation)
/ branch = [trial.presentstimuli;]

Eye tracker data can also be used with task that require other modes of responding such as mouse or keyboard. For example, imagine you wish to collect gaze point data to uncover how gaze affects memory performance on the Corsi Block Tapping Test. As show in the example below, this can be accomplished using the "datastreams" attribute, which causes the eyetracker to record gaze point data for the duration of the trial. The "screencapture" attribute can be used to generate images of the screen that are automatically integrated into the Data Viewer application.

<trial showseq>
/ stimulusframes = [1=board,1,2,3,4,5,6,7,8,9]
/ validresponse = (noresponse)
/ trialduration = parameters.tapinterval
/ posttrialpause = parameters.posttapinterval
/ branch = [if(values.tapcount < values.seqlength) trial.showseq else trial.recallseq]
/ recorddata = false
/ datastreams = eyetracker
/ screencapture = true

The Eye Tracker Element

Sample Scripts

Sample scripts for the SR Research Plugin can be downloaded from the Millisecond Test Library.