Hi, you’re kind of fighting against the way that Builder is supposed to work here.
It is unlikely that you need all of these different routines and multiple loops in series.What you should work towards is just having a couple of routines defined (e.g. one for instructions and another for the actual trials). The variation in conditions can come from having two nested loops. i.e. the inner loop corresponds to one that runs one iteration per trial. The outer loop corresponds to the different task blocks. i.e. one iteration of this outer loop runs for every block. The outer loop is connected to a simple conditions file with a column (called, say
block_file), that contains a list of Excel files that the inner loop will use on each iteration. The inner loop isn’t directly connected to a conditions file. Instead, use the
$block_file variable name. That way, the conditions file is automatically updated for you on every block.
The outer loop’s conditions file can also include a column that gives the instructions text for each block, so that the same instructions routine can be re-used.
Search this forum for ‘nested loops’ to get some examples.
Lastly, don’t use full absolute paths for files. If your conditions file is right next to your .psyexp file, it won’t need a path at all and can be referred to directly by its filename. If you want to tidy it away in sub-folder, you can just refer to it with a relative path like this: