up Inquisit Language Reference

eyetracker element

The following extensions to the eyetracker element are supported by the SR Research plugin for use with EyeLink eye trackers.

Syntax

<eyetracker>
/ calibrationmode = value
/ hostname = value
/ ipaddress = value
/ saccadethreshold = saccadethreshold
/ unitname = value
</eyetracker>

Properties

eyetracker.ipaddress
eyetracker.lastpixelsperdegreex
eyetracker.lastpixelsperdegreey
eyetracker.saccadethreshold
eyetracker.version

Functions

None.

Remarks

The attributes and properties here are specific to the SR Research Eyetracker plugin, providing additional SR Research-specific functionality beyond what is provided in the generic eyetracker element. To use these extensions, the plugin attribute must be set to "srresearch".

To use Inquisit with SR Research eye trackers, perform the following steps:
* Set up the eyetracker according to SR Research's instructions. Make sure it is plugged into your computer's network port.
* Open an Inquisit script that defines the eyetracker element with plugin attribute set to "srresearch" (sample scripts are available from our library)
* Run the script. You will be asked to register the Inquisit 5 SR Research Plugin if you haven't already.

How to Program the SR Research Eye Tracker Plugin

Examples

The following defines an eyetracker element that connects to a SR Research eyetracker at the given network ip address.

<eyetracker>
/ plugin = "srresearch"
/ ipaddress = "168.192.0.22"
</eyetracker>

The following defines a text element that displays the current width of the right pupil:

<text rightpupil>
/ items = ("Right Pupil Width: <% eyetracker.lastrightpupilwidth %>")
</text>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.