Dear all,
we have the following problem. We would like to play back eyelink data
at the end of each trial and probably need the
eyelink_wait_for_block_start routine.
The typical example from the Eyelink Programmer's Guide is:
set_offline_mode(); // set up eye tracker for playback
eyelink_playback_start(); // start data playback
// Wait for first data to arrive
// Failure may mean no data or file not open
// This function discards other data in file (buttons and messages)
// until the start of recording.
// If you need these events, then don’t use this function.
// Instead, wait for a sample or event before setting eye_data,
// and have a timeout if no data is available in 2000 msec.
if(!eyelink_wait_for_block_start(2000, 1, 1))
{
alert_printf("ERROR: playback data did not start!");
return -1;
}
As far as we have understood this routine is not implemented in the
eyelink toolbox.
Does anybody know if there is a possibility to access the routine via
the eyelink toolbox or if there is a work around?
Thanks,
Jutta
we have the following problem. We would like to play back eyelink data
at the end of each trial and probably need the
eyelink_wait_for_block_start routine.
The typical example from the Eyelink Programmer's Guide is:
set_offline_mode(); // set up eye tracker for playback
eyelink_playback_start(); // start data playback
// Wait for first data to arrive
// Failure may mean no data or file not open
// This function discards other data in file (buttons and messages)
// until the start of recording.
// If you need these events, then don’t use this function.
// Instead, wait for a sample or event before setting eye_data,
// and have a timeout if no data is available in 2000 msec.
if(!eyelink_wait_for_block_start(2000, 1, 1))
{
alert_printf("ERROR: playback data did not start!");
return -1;
}
As far as we have understood this routine is not implemented in the
eyelink toolbox.
Does anybody know if there is a possibility to access the routine via
the eyelink toolbox or if there is a work around?
Thanks,
Jutta