Hi,
Can I also highlight that, an easier approach to counterbalancing would be to have the experiments contained within a single file and use loops for counterbalancing. But I can appreciate that you might want to keep experiments separate (which is why I gave the previous info).
Incase helpful though, I made a demo to show how you could counterbalance multiple tasks easily in a single file Rebecca Hirst / counterbalance_multiple_tasks_demo · GitLab
The flow in it’s most basic form would look something like this:
The nReps argument in the loop around each of your individual tasks essentially determines if that task will be presented on each iteration of the outermost loop…
The parameters of the outermost loop look like this. Now, here the conditions filename is determined by the start GUI (as you initially mentioned you would like):
Each counterbalance looks something like this, and the positioning of the 1’s controls the order in which the tasks are presented, we have a different conditions file for each group (I have only added two groups to this demo - ABCD and BCDA (the screenshot below would view the tasks in the order of ABCD):
As I say, I actually think this is an easier approach to counterbalancing than linking experiments - but it is also possible I think this because to me it is less intuitive passing information between experiments using query strings, compared with working from a single file.
Hopefully this is clearer once you have had a play with the demo. But this has inspired me to update our documentation (Blocks of trials and counterbalancing — PsychoPy v2021.2) to include this type of counterbalancing example.
Becca