Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[solved] Eyelink - Define interest area

edited June 2013 in OpenSesame

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

  • edited 5:37PM

    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_script item:

    exp.eyelink.log("!V IAREA RECTANGLE 1 10 5 20 15 cue”)
    

    Note the difference between Python script, which is what you put in inline_script items, and the OpenSesame script for other items (this is probably where things got mixed up):

    The other option is to add an eyelink_log item to your trial sequence and add the following text (so just the Eyelink command, not the Python statement to log it):

    !V IAREA RECTANGLE 1 10 5 20 15 cue
    

    Hope this helps!

    Cheers,
    Sebastiaan

  • edited 5:37PM

    Thanks Sebastiaan!

    Erez

Sign In or Register to comment.