OS (e.g. macOS High Sierra):
PsychoPy version (e.g. 1.85.2):
Hello!
I am trying to vary 5 different SOAs (time between signal and target) in the same routine. So, in the code component I have a list of these 5 time intervals. SOA = [-0.1, 0.1, 0.25, 0.5, 0.75]
Then, in the target’s start window i put variable $a that is defined before as (a = SOA[0+N] + 2.0). This variable means “take the current loop SOA and add to this 2 seconds”.
However, without any error the experiment does not go properly.
I added code component to print each step and equations are done correctly, however targets appears almost immediately from the beginning of the trial, not after 2s + current SOA.
So, because in the documentation I found only .status == smth or variable that appeal to xlxs file that works with $sign, I wonder does psychopy builder works with variables from code component?
I attach the experiment file
the main problem in the target_ component.
I will appreciate a lot any advise!
Best,
Alex
target_color.xlsx (28.9 KB)
Dot_exp3.psyexp (75.5 KB)