Hi All,
I am new to Inquisit and in the process of programming an illusory conjunction task. The paradigm involves the random presentation of three coloured letters flanked by two digits (see image:
). The letters are sampled from a target-population (e.g., X or N) and a distractor population (e.g., HSTO). On a given trial, the letters should be distinct in colour and letter. I am struggling to implement this characteristic in Inquisit and would greatly appreciate your help.
Since Inquisit seems unable to present separate text-items in combination or a text-element with different colours, I have switched to images and defined them as follows:
<item targets>
/1 = "Stimuli\nblue.png"
/2 = "Stimuli\ngreen.png"
...
</item>
<item distractors>
/1 = "Stimuli\oblue.png"
/2 = "Stimuli\ogreen.png"
...
</item>
<list xpos>
/items = (35%,50%,65%)
/ selectionrate = always
/ resetinterval = 0
</list>
<list target>
/ items = (1,2,3,4,5,6)
/ replace = false
/ selectionrate = trial
/ resetinterval = 0
</list>
Using this code, the pictures are sampled via values determined at the start of each trial (with ontrialstart), which looks like the following:
<picture target>
/ items = letters
/ select = list.target.nextvalue
/ erase = false
/ position = (list.xpos.nextvalue, 50%)
</picture>
<picture distr1>
/ items = distractors
/ select = list.distractor1.nextvalue
/ erase = false
/ position = (list.xpos.nextvalue, 50%)
</picture>
<picture distr2>
/ items = distractors
/ select = list.distractor2.nextvalue
/ erase = false
/ position = (list.xpos.nextvalue, 50%)
</picture>
The following if-functions are thought to limit the possible distractor space depending on the characteristics of the already selected stimuli. In theory that is, as the if-functions appear not to work as intended. Trials frequently feature stimuli with the same letter or colour. I hope the above code-chunks are sufficient, if not, please see the attached file with the entire script. Thanks in advance for your help!
All the best,
Lukas