Inconsistent functioning of "Break if" / "run if" [response]
I'm using OS 3.3.11 on a Mac (OS X 10.15.6) - but am also testing this on Dell (Windows 10). I've tried this with Legacy and Expyriment backends (my only options as my videos in media_player_mpy only work here).
I'm running a task with interleaving blocks with young children as participants. I need to be able to pause a block if the child looks away, and also to skip to the next block if the baseline has been presented for long enough.
To pause a block I followed instructions from here: https://forum.cogsci.nl/discussion/1048/solved-i-would-like-a-pause-button. It works! However, it seem glitchy/inconsistent for me. Sometimes I press the 'p' key to indicate run the pause sequence, and it works, sometimes there's no response (the block just continues as normal). Sometimes I'll press the 'p' key a few times and it eventually works.
To skip to the next block I just used the 'break if' function in the Block_loop. I inserted [response] = space. Again this sometimes works. But sometimes doesn't, or sometimes works after a few presses.
Prior to each block I've used an inline script with
exp.set('response', 'None')to ensure the variable 'response' is known. So the task does run, and the response buttons do work as expected, but only sometimes.
I'm a bit stuck on how to get these working reliably.