Reading subject-specific stimuli from files


Author
Message
MichaelH
MichaelH
Partner Member (662 reputation)Partner Member (662 reputation)Partner Member (662 reputation)Partner Member (662 reputation)Partner Member (662 reputation)Partner Member (662 reputation)Partner Member (662 reputation)Partner Member (662 reputation)Partner Member (662 reputation)
Group: Forum Members
Posts: 13, Visits: 1
We are trying to program a categorization speed task that uses idiographic words that participants have identified as positive, negative, and neutral. Participants write down 10 words of each valence and these words are stored as a hard copy. The goal with this task is to find out how quickly participants classify their own words as positive vs. neutral or negative vs. neutral. The trick is that, because the words are used by another lab and have already been collected, we want to use the words from existing handwritten lists, rather than prompting them for words at the beginning of the Inquisit experiment.

To solve this problem, I want to create a unique file for each participant that defines the idiographic items based on our existing lists, such as:

1_words.exp

<item positive>
/1 = "happy"
/2 = "jovial"
/3 = "cool"
</item>

<item negative>
/1 = "sad"
/2 = "down"
/3 = "depressed"
</item>

<item neutral>
/1 = "level"
/2 = "calm"
/3 = "stable"
</item>

And then the idea would be to conditionally include the file based on the participant number:
<include>
/file = "<% script.subjectid %>_words.exp"
</include>

The problem is that when I try this approach, it attempts to evaluate the include expression before runtime, so the subject number is not yet known and I get a "unable to open file" error. Is there any way to accomplish this form of a conditional include?

Thanks,
Michael


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
MichaelH - 16 Years Ago
Dave - 16 Years Ago
MichaelH - 16 Years Ago
Dave - 16 Years Ago
Tobbo - 16 Years Ago
                         In this specific case, there may be an easier way to do this:
...
Dave - 16 Years Ago
                             Hmm, I probably should add a caveat:
In the solution posted...
Dave - 16 Years Ago
                             Hi Dave,
thx a lot! I don't have all the data at the moment,...
Tobbo - 16 Years Ago
                                 Hello again,
I have another question.
As mentioned before...
Tobbo - 16 Years Ago
                                     Can be done. You'll want to look up the Inquisit documentation topics...
Dave - 16 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search