psychopy.org | Reference | Downloads | Github

Using userinput from the beginning in experiment

Hello everybody,

I am building an experiment where I show the participant some information about a fictional person (name, birth date, name of mother and name of father) which they need to remember.

Each trial consists of showing the participant a target word and the participant has to press right if the target word that is presented is part of the information about the fictional person shown at the beginning and left if its not.

Now there is one difficulty in building that experiment. At the beginning I am asking the participant about some personal information (their name, birth date and name of their parents).
I want to use these information then in my trial so that they can be displayed as a target word. (the goal is to see if those personal information (relevant items) take longer time to process than some other irrelevant items.)

It would be optimally to have a .csv file with my date. For the fictional items and the irrelevant items that is not a problem because they are always the same but how do I get the personal information from the participant in thistle? Is that even possible?

Or is there a different way how I can achieve what I need?
I hope someone here can help me, because I am really lost with this!

Thank you so much in advance!!
Best wishes,
Sarah

Hi Sarah,

The user input can be accessed using expInfo[‘favourite colour’] etc

Best wishes

Wakefield

Thank you so much Wakefield.

So I just write that into my excel file or do I need to use a code component for that??

Code component or straight into your text component or whatever