Howdy, Stranger!

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

Supported by

[open] Logging only the first time, and not when reapeat_cycle occurs

edited April 2014 in OpenSesame

Hi, i have this example. I'm trying to figure out if there's a way in the GUI for logging the variables and responses only the first time, and not when the subject reach the repeat_cycle (that's infinite tries until he gives the only right answer).

There's two answer possibles, and the right one depends of the skechpad (1 or 2). Each trial is presented 10 times, random order. But the point is only the first answer must be logged, and not when they repeat the cycle by a bad answer.

Thanks.

Comments

  • edited 5:57PM

    Hi,

    It's a bit unclear to me whether you want to log only when a cycle is repeated, or only when it is not repeated. But either way, you can make use of the fact that the repeat_cycle plug-in sets the variable repeat_cycle to 0 (don't repeat) or 1 (repeat), depending on whether a cycle should be repeated. So if you want to call the logger only for trials that will not be repeated later on, you can use this run-if statement:

    [repeat_cycle] = 0
    

    Does that help at all?

    Cheers,
    Sebastiaan

Sign In or Register to comment.