We have tried running the file and there are still some things we did not get them to work properly. In the first place, we want to establish exactly 10 CS + and 10 CS-, under the conditions previously mentioned. In the file, we have tried to change the maximum from <10 (previously established) to <11, trying to fix it, but the problem persisted (sometimes appear 7 CS + and 6 CS-, others 8 CS- and 6 CS +, 7 CS+ and 9 CS-, etc.). Our intention, as we have indicated, is that 10 CS + and 10 CS- must appear, randomly and with the restrictions previously indicated. Second, we have noticed that the ITIs may sometimes appear consecutively (eg lasting 3 s., others times lasting 6s, 8s, 9s, etc.). This should not happen because the variable was defined between 1 and 3 s.
In addition, we must note that we have selected "Present trials in this block = 20 times" in the tab "Looping" in "Block editor", and we donīt know if it can be behind those problems.
Finally, we would also like to add a final message indicating the completion of the experiment.
Thank you again for your help.