Open Ended Responses as Stimuli
…\DirectRT\samples\5- other features\02 open ended responses as stimuli
This sample illustrates two features: (1) Taking open-ended responses, and (2) using participant responses as subsequent stimuli.
On trials 2 & 3 of the "open ended.csv" file, the subject is prompted with "What is your name?" and "What is your favourite food?" respectively. In the Time column, we enter "rt:text" to indicate we want an open ended answer. Whatever the subject types here will be stored as the response. See the open-ended responses sample for more detail on this procedure.
What follows are a series of priming trials. On most of the trials we are randomly selecting primes and targets from stimulus lists (e.g., $pos and $neg). Notice though that on trials 6, 9, 13 & 17, we ask DirectRT to use the subject's prior responses as stimuli.
On trials 6 and 13, we have entered a Stim value of ~=2. This means "present a text stimulus that equals the response from trial 2". Consequently, the participant's name will appear as the target on these priming trials. On trials 9 and 17, we have entered a Stim value of ~=3. This means "present a text stimulus that equals the response from trial 3". Consequently, the subject's favorite food will appear as the target on these priming trials.
You can also use this feature to present images, sounds or text files with filenames that match closed-ended responses. To illustrate, imagine that on trial 3, instead of an open-ended response, you offered 5 different foods for the subject to choose from and they had to indicate their favourite food by pressing a letter from A to E. Your could present their response as a stimulus later on by creating 5 different text files-a.txt, b.txt, c.txt and so on, with each containing the response associated with that letter.