Howdy, Stranger!

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

Supported by

breaks

Hi,

unfortunately I'm a very beginner at Open Sesame and I have a similar problem to MichelQ above:
When I set the Run if: statement of the feedback to
=(self.get('count_trial_sequence')+1)%32 == 0 (I would like to have a break after 32 Items), opensesame counts the items of the trial sequence plus the items of the practice sequence, because the two are attached. But I just want opensesame to count the items of the trial sequence without the items of the practice sequence. How does this work? Could you help me?

Greetings
Karin

Comments

  • Hi Karin,

    You could work around by subtracting the number of practice trials that you have. Not very pretty, but probably sufficient.

    # assuming you have 16 practice trials
    run_if = ([count_trial_sequence]+1-16)%32=0
    

    Does this work?

    Eduard

    Buy Me A Coffee

  • It does.

    Thanks a lot!
    Karin

Sign In or Register to comment.