User Tools

Site Tools


jvs:cigal:manual:chapter6:r_eyepos

CIGAL Reference Manual, Chapter 6 (RealTime): r_eyepos

r_eyepos -- Get eye-tracker data from communication port

usage: r_eyepos opflg eflag ltime Databuf Flag Timebuf

R_EYEPOS gets real-time eye-position values, typically from an external device via a communication port. Calls to R_EYEPOS will return eye data in the DATABUF variable. Depending on the status of FLAG, it will return either 2 or 4 16-bit data values to DATABUF.

The FLAG parameter specifies options when reading streaming eye position data input. The parameter is an integer bit-flag variable, in which each multiple binary values can be combined by addition. The meaning of the individual flag bits are as follows:

  • 1 EYE_XYPOS
  • 2 EYE_PUPIL
  • 4 EYE_READ
  • 8 EYE_DEBUG
  • 16 EYE_SCREENSCALE
  • 32 EYE_WAIT
  • 64 EYE_PURGE
  • 512 EYE_NOWAIT

The default value for EYE_FLAG is 519 (octal value 01007o, EYE_XYPOS|EYE_PUPIL|EYE_READ|EYE_NOWAIT).

Note: To record eye-tracker data you must first INITIALIZE the eye-tracker hardware and software connected to a different computer, and then also initialize CIGAL's eye-tracker connection to that computer (see Eye-Tracker).

See Also:
INITIALIZE, Eye-Tracker

CIGAL Home, CIGAL Manual, RealTime List, Manual Help

jvs/cigal/manual/chapter6/r_eyepos.txt · Last modified: 2023/02/23 18:43 (external edit)