[open] brakes
Hey, in order for a brake message to show after 10 trials and not after trial 20, i put the following "[count_fixation]%10=9 and count_fixation!=19". But the brake message appears after 4 trials for some reason. My purpose was to check the equation works in vivo, in order to change it afterwards to "[count_fixation]%250=249 and count_fixation!=999". Would appreciate your help. Thanks Rotem

Comments
If you simply change it to:
or, for the end result:
This should work. Unless you had a specific reason for using the (slightly awkward)
and [count_fixation] != 19. Did you?Thanks Edwin.
I need the brake message to appear after every 250 trails except after trail 1000 (that is why i added the [count_fixation]!=999).
Would really want to learn the logic behind building the right equation for it.
If you want to learn about the logic of these conditional statements, please read this page of the Documentation.
Your approach should work, provided that
fixationis an item that is run in each cycle of your sequence. For an example, please see the following script (download the example experiment here).Hey, i have the fixation item in every cycle of sequence. The problem was open sesame counted the trials till the brake message including the trails in my practice and measurment blocks and not only in the manipulation blocks as i planned. I put this [count_fixSpeed]%10=9 and [count_fixSpeed]!=19 and now it seems to work well so i will change it to [count_fixSpeed]%250=249 and [count_fixSpeed]!=999 as i planned originally. If there was an easier way to solve the problem would like to be advised about it. Rotem
The fixSpeed is a name i gave for the fixation in the manipulation block in which the brake message was planned for. That way it has been seperated from the counting of the fixation item in the practice and measurment blocks.