OS: Win10
PsychoPy version: v2023.1.2
Standard Standalone: y
What are you trying to achieve?:
I am probably missing the answer right in front of me, but all the examples and other similar topics I have reviewed in this forum do not achieve my goal. I have two loop “blocks” of multiple routines that call on conditions from the same file, but with different formatting (see Pic 1). e.g., The first block calls on a subset of rows in a column of words that will be displayed in standard Times New Roman font; and the second block calls on a separate subset of rows in a column of letters that will be displayed in Wingdings font (because I need them to be symbols that are meaningless to the participants, but have significance to the experimenter).
I would like to have these conditions randomly display to participants across both blocks such that they might see a couple of words, then a symbol, more words, a few symbols, etc., until they have seen all rows in the two ranges provided.
What did you try to make it work?:
As suggested in this thread I created two “inner loops” of the routines where the first loop displays the routine with the desired condition and follows with routines for questions about the target stimulus. For these inner loops, I set the nReps to orders[0][AllTestTrials.thisN] and the Conditions to the spreadsheet with the conditions I want displayed (see Pic 2). I also added a code component for the beginning of the experiment to shuffle the order of the loops. I then created an “outer loop” with the nReps set to 2 and no Conditions file specified (see Pic 3).
However, this simply randomizes the presentation of the two inner loops as if I was only trying to counterbalance their order. It does not randomly pull from one “inner loop” and then the other “inner loop” as desired. So, I tried also pointing the “outer loop” to the spreadsheet where all of the conditions for the “inner loops” are included. This had no impact.
I also tried pointing the “outer loop” to a Conditions file with columns for the stimulus routines of the “inner loops” (e.g. Stimuli1 and Stimuli2) with each row having a 1 in one column and a 0 in the other, with the “inner loops” nReps set to the column names as suggested in thread.
Pic 1
Pic 2
Pic 3
I hope that I am being clear. Is it possible to shuffle the conditions across two routines in the manner that I am describing?