SR Research Support Site
Data Fields
ILINKDATA Struct Reference

Class to represent tracker status. More...

Data Fields

UINT32 time
 
UINT32 version
 
UINT16 samrate
 
UINT16 samdiv
 
UINT16 prescaler
 
UINT16 vprescaler
 
UINT16 pprescaler
 
UINT16 hprescaler
 
UINT16 sample_data
 
UINT16 event_data
 
UINT16 event_types
 
byte in_sample_block
 
byte in_event_block
 
byte have_left_eye
 
byte have_right_eye
 
UINT16 last_data_gap_types
 
UINT16 last_data_buffer_type
 
UINT16 last_data_buffer_size
 
UINT16 control_read
 
UINT16 first_in_block
 
UINT32 last_data_item_time
 
UINT16 last_data_item_type
 
UINT16 last_data_item_contents
 
ALL_DATA last_data_item
 
UINT32 block_number
 
UINT32 block_sample
 
UINT32 block_event
 
UINT16 last_resx
 
UINT16 last_resy
 
UINT16 last_pupil [2]
 
UINT16 last_status
 
UINT16 queued_samples
 
UINT16 queued_events
 
UINT16 queue_size
 
UINT16 queue_free
 
UINT32 last_rcve_time
 
byte samples_on
 
byte events_on
 
UINT16 packet_flags
 
UINT16 link_flags
 
UINT16 state_flags
 
byte link_dstatus
 
byte link_pendcmd
 
UINT16 reserved
 
char our_name [40]
 
ELINKADDR our_address
 
char eye_name [40]
 
ELINKADDR eye_address
 
ELINKADDR ebroadcast_address
 
ELINKADDR rbroadcast_address
 
UINT16 polling_remotes
 
UINT16 poll_responses
 
ELINKNODE nodes [4]
 

Detailed Description

Class to represent tracker status.

Class to represent tracker status information such as time stamps, flags, tracker addresses and so on.

Field Documentation

UINT32 block_event

events (excl. control read in block

UINT32 block_number

block in file

UINT32 block_sample

samples read in block so far

UINT16 control_read

set if control event read with last data

ELINKADDR ebroadcast_address

Broadcast address for eye trackers

UINT16 event_data

0 if off, else all flags

UINT16 event_types

0 if off, else event-type flags

char eye_name[40]

name of tracker connected to

UINT16 first_in_block

set if control event started new block

byte have_left_eye

set if any left-eye data expected

byte have_right_eye

set if any right-eye data expected

UINT16 hprescaler

head-distance prescale (to mm)

byte in_event_block

set if in block with events

byte in_sample_block

set if in block with samples

UINT16 last_data_buffer_size

buffer size of last item

UINT16 last_data_buffer_type

buffer-type code

UINT16 last_data_gap_types

flags what we lost before last item

ALL_DATA last_data_item

buffer containing last item

UINT16 last_data_item_contents

content: <read> (IEVENT), <flags> (ISAMPLE)

UINT32 last_data_item_time

time field of item

UINT16 last_data_item_type

type: 100=sample, 0=none, else event type

UINT16 last_pupil[2]

updated by samples only

UINT32 last_rcve_time

time tracker last sent packet

UINT16 last_resx

updated by samples only

UINT16 last_resy

updated by samples only

UINT16 last_status

updated by samples, events

byte link_dstatus

tracker data output state

UINT16 link_flags

status flags from link packet header

byte link_pendcmd

tracker commands pending

ELINKNODE nodes[4]

data on nodes

char our_name[40]

a name for our machine

UINT16 packet_flags

status flags from data packet

UINT16 poll_responses

total nodes responding to polling

UINT16 polling_remotes

1 if polling remotes, else polling trackers

UINT16 pprescaler

pupil prescale (1 if area, greater if diameter)

UINT16 prescaler

amount to divide gaze x,y,res by

UINT16 queue_free

unused bytes in queue

UINT16 queue_size

total queue buffer size

UINT16 queued_events

includes control events

UINT16 queued_samples

number of items in queue

ELINKADDR rbroadcast_address

Broadcast address for remotes

UINT16 reserved

0 for EyeLink I or original EyeLink API DLL. EYELINK II ONLY: MSB set if read crmode<<8 + file_filter<<4 + link_filter crmode = 0 if pupil, else pupil-CR file_filter, link_filter: 0, 1, or 2 for level of heuristic filter applied

UINT16 samdiv

sample "divisor" (min msec between samples)

UINT16 sample_data

0 if off, else all flags

byte samples_on

data type rcve enable (switch)

UINT16 samrate

10*sample rate (0 if no samples, 1 if nonconstant)

UINT16 state_flags

tracker error state flags

UINT32 time

time of last control event

UINT32 version

structure version

UINT16 vprescaler

amount to divide velocity by


Copyright ©2002-2023, SR Research Ltd.