Pause trial does not work online, Pavlovia

Hi,

I try to run my online experiment but issue is that pause does not work at all after 50, 100, 150 trials etc. (work locally). Please see attached code. I placed my code in “Each Frame”. If there any ideas, please let me know. Thank you in advance.

Best,
MS

In Pavlovia all loops are referred to as trials, so you need to use trials.thisN

Best wishes,

Wakefield

Hi wakecarter,

Thank you very much, you were right, have to be named as “trials” in Pavlovia.

Best,
MS

@wakecarter wakecarter,

Is this indicate that several loops are not possible to use for online Experiments, name “trials” could be used just once. Is there a solution for this issue?

Best,
MS

trials refers to the current loop. I think that you can’t reference outer loops from inside an inner loop so you’d need to count iterations manually in that case