OS (e.g. Win10): MacOS Big Sur Version 11.6.1 PsychoPy version (e.g. 1.84.x): v2023.2.3 Standard Standalone? (y/n) If not then what?: y
**What are you trying to achieve?:pick up a randomly chosen value from previous routine in a subsequent routine
What did you try to make it work?:
In the routine Instr_Navon I used this code in the Begin Routine:
In a later routine called induction_style, I used this code to pick up the chosen value from Instr_Navon and condition rows from the Excel file to use in induction_style:
Oh yes I tried that even before. But as “choix” is defined within the prior routine (“Instr_Navon”), the new routine (“induction_styles”) won’t recognize it.
If I use choix in the new routine it just runs all rows from the excel file. I’m not sure how useRows can be used in the earlier routine when the earlier routine is not in the loop linked to the Excel file.