OS Windows 7 PsychoPy version 1.84.2 Standard Standalone? (y/n) y
**What are you trying to achieve?
I’m running a stroop task for a public engagement event (rather than testing) and I would like to have feedback at the end the says the RT for Congruent = x and the RT for incongruent =Y so we can show that they are (typically) faster when it is congruent. I’m guessing I need to use some kind of if function within the code component, but i’m not sure how to do it. Any help would be appreciated
Hi. Yes, with a code component, you can maintain a running total of RTs for each trial type and then take their mean at the appropriate time for feedback. Probably easiest if you show us the variable names in your conditions file, but let’s say you have a column for letter colour and a column for the text content.
Put something like this in the Begin Experiment tab:
Thank you for your super fast response that solved it.
If anybody is interested i’ve added a makey makey board to act like a keyboard and i’m using blobs of playdough to represent the colours to make this an interactive experiments suitable for explaining to children.