[solved] Eyelink - Define interest area
Hi,
We are trying to define interest area for eyelink. We followed the instruction with no success. First, we are unsure where does the command (self.experiment.eyelink.log(“!V IAREA RECTANGLE 1 10 5 20 15 cue”) should be placed (in the "edit script" editor or should we add different inline _script ).
When we tried to place it at the "edit script" we got an "Unknown command" error message.
Is there any examples of experiments using this function ?
Thanks!
Gideon and Erez
Comments
Hi Gideon and Erez,
There are two ways to send commands of this type. The first is to use Python inline code, which should be placed in an
inline_scriptitem:Note the difference between Python script, which is what you put in
inline_scriptitems, and the OpenSesame script for other items (this is probably where things got mixed up):The other option is to add an
eyelink_logitem to your trial sequence and add the following text (so just the Eyelink command, not the Python statement to log it):Hope this helps!
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Thanks Sebastiaan!
Erez