I am designing a task-based fMRI experiment with trials with known length (not variable). I put them in a loop in builder. Once in a loop, they turned from green to red. According to http://www.psychopy.org/general/timing/nonSlipTiming.html, routines shown in red are using relative timing and might cause de-synchronization. I don’t know why putting it in a loop causes it to turn red, and don’t know if I now need to be concerned about time slippage?
If so, I’m also confused about how to implement the non-slip timing using code like:
timer = core.Clock()
# do something
How do I integrate this code with my existing experiment, what goes in the ‘do something’ section? Can you direct me to an online example so I can see what goes in ‘do something’, and extrapolate how to implement this with my task?