RT-CIT trials: picking stimuli out of a list with pictures, sounds & words


RT-CIT trials: picking stimuli out of a list with pictures, sounds &...
Author
Message
Amelinq
Amelinq
Associate Member (243 reputation)Associate Member (243 reputation)Associate Member (243 reputation)Associate Member (243 reputation)Associate Member (243 reputation)Associate Member (243 reputation)Associate Member (243 reputation)Associate Member (243 reputation)Associate Member (243 reputation)
Group: Forum Members
Posts: 19, Visits: 48
Hi all!
I'm just starting to learn how to use Inquisit, so it could very well be that my questions come across a bit stupid. In that case, apologies in advance. :)

I'm building a reaction time-CIT script wherein participants have to respond to 30 unique stimuli each block (30 trials per block, every stimulus once). For your information, the stimuli are all traffic signs, and per traffic sign we have 3 modalities (the written word, the pictogram and the spoken sound). We thus have 10 different signs, 3 modalities (10 X 3 = 30 trials per block).
These 10 traffic signs are divided in irrelevant-, probe- and target-signs (in their three modalities). Every trial, I need the script to select a stimulus out of a list across all three conditions (irrelevant, probe, targets) and per condition across all three modalities (word, sound, picture).

My question: Per condition, I tried to make a list of all stimuli including the different modalities. This didn't work. How do you get the <trial> element to select from a list with sounds, words and pictures? Perhaps somebody with more expertise can see what I'm doing wrong? (there are probably other small flaws in the script that I can figure out myself, but it would be great if I already understand the list-issue better!)

Here's a part of my script now:

<defaults>
/ minimumversion = "6.0.0.0"
/ screencolor = white
/ txcolor = black
/ txbgcolor = white
/ fontstyle = ("Arial", 3%)
/ validkeys = (" ", "s", "l")
/ halign = center
</defaults>
STIMULI
**********************
WORDS
***********
<item wordirrelevants>
/1= "Cycle track"
/2= "No U-turn"
/3= "One way"
/4= "Parking"
/5= "Pass right"
/6= "Roundabout"
</item>

<item wordtargets>
/1= "No entry"
/2= "Turn right"
</item>

<item wordprobes>
/1= "Stop"
/2= "Yield"
</item>

<text words>
/ items = ("wordirrelevants","wordtargets","wordprobes")
/ position = (50%, 50%)
</text>

SOUNDS
************
<sound soundirrelevants>
/items =("cycletrack.mp3","nou-turn.mp3","oneway.mp3","parking.mp3","passright.mp3","roundabout.mp3")
/playthrough = true
</sound>

<sound soundtargets>
/items =("noentry.mp3","turnright.mp3")
/playthrough = true
</sound>

<sound soundprobes>
/items =("stop.mp3","yield.mp3")
/playthrough = true
</sound>

PICTOGRAMS
*****************
<picture pictirrelevants>
/items =("cycletrack.png","nou-turn.png","oneway.png","parking.png","passright.png","roundabout.png")
</picture>

<picture picttargets>
/items =("noentry.png","turnright.png")
</picture>

<picture pictprobes>
/items =("stop.png","yield.png")
</picture>

******
LISTS OF irrelevants stimuli / target stimuli/ probes stimuli
*******************
<list irrelevants>
/items = (item.wordirrelevants, sound.soundirrelevants, picture.pictirrelevants)
/maxrunsize= 1
</list>

<list targets>
/items = (item.wordtargets, sound.soundtargets, picture.picttargets)
/maxrunsize= 1
</list>

<list probes>
/items = (item.wordprobes, sound.soundprobes,picture.pictprobes)
/maxrunsize= 1
</list>

YES & NO
**************
<text yes>
/ items = ("YES")
/ txcolor = black
/position= (40%,50%)
</text>

<text no>
/ items = ("NO")
/ txcolor = black
/position= (60%,50%)
</text>

*************************************************
TRIALS
************
<trial irrelevants>
/stimulustimes = [200= clearscreen, list.irrelevants, yes, no]
/validresponse = ("s","l")
/correctresponse = ("l") // no = l-key
</trial>

<trial targets>
/stimulustimes = [200= clearscreen, targets, yes, no]
/validresponse = ("s","l")
/correctresponse = ("s") // yes= s-key
</trial>

<trial probes>
/stimulustimes = [200= clearscreen, probes, yes, no]
/validresponse = ("s","l")
/correctresponse = ("l") // no = l-key
</trial>



Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K
Amelinq - 9/25/2023
Hi all!
I'm just starting to learn how to use Inquisit, so it could very well be that my questions come across a bit stupid. In that case, apologies in advance. :)

I'm building a reaction time-CIT script wherein participants have to respond to 30 unique stimuli each block (30 trials per block, every stimulus once). For your information, the stimuli are all traffic signs, and per traffic sign we have 3 modalities (the written word, the pictogram and the spoken sound). We thus have 10 different signs, 3 modalities (10 X 3 = 30 trials per block).
These 10 traffic signs are divided in irrelevant-, probe- and target-signs (in their three modalities). Every trial, I need the script to select a stimulus out of a list across all three conditions (irrelevant, probe, targets) and per condition across all three modalities (word, sound, picture).

My question: Per condition, I tried to make a list of all stimuli including the different modalities. This didn't work. How do you get the <trial> element to select from a list with sounds, words and pictures? Perhaps somebody with more expertise can see what I'm doing wrong? (there are probably other small flaws in the script that I can figure out myself, but it would be great if I already understand the list-issue better!)

Here's a part of my script now:

<defaults>
/ minimumversion = "6.0.0.0"
/ screencolor = white
/ txcolor = black
/ txbgcolor = white
/ fontstyle = ("Arial", 3%)
/ validkeys = (" ", "s", "l")
/ halign = center
</defaults>
STIMULI
**********************
WORDS
***********
<item wordirrelevants>
/1= "Cycle track"
/2= "No U-turn"
/3= "One way"
/4= "Parking"
/5= "Pass right"
/6= "Roundabout"
</item>

<item wordtargets>
/1= "No entry"
/2= "Turn right"
</item>

<item wordprobes>
/1= "Stop"
/2= "Yield"
</item>

<text words>
/ items = ("wordirrelevants","wordtargets","wordprobes")
/ position = (50%, 50%)
</text>

SOUNDS
************
<sound soundirrelevants>
/items =("cycletrack.mp3","nou-turn.mp3","oneway.mp3","parking.mp3","passright.mp3","roundabout.mp3")
/playthrough = true
</sound>

<sound soundtargets>
/items =("noentry.mp3","turnright.mp3")
/playthrough = true
</sound>

<sound soundprobes>
/items =("stop.mp3","yield.mp3")
/playthrough = true
</sound>

PICTOGRAMS
*****************
<picture pictirrelevants>
/items =("cycletrack.png","nou-turn.png","oneway.png","parking.png","passright.png","roundabout.png")
</picture>

<picture picttargets>
/items =("noentry.png","turnright.png")
</picture>

<picture pictprobes>
/items =("stop.png","yield.png")
</picture>

******
LISTS OF irrelevants stimuli / target stimuli/ probes stimuli
*******************
<list irrelevants>
/items = (item.wordirrelevants, sound.soundirrelevants, picture.pictirrelevants)
/maxrunsize= 1
</list>

<list targets>
/items = (item.wordtargets, sound.soundtargets, picture.picttargets)
/maxrunsize= 1
</list>

<list probes>
/items = (item.wordprobes, sound.soundprobes,picture.pictprobes)
/maxrunsize= 1
</list>

YES & NO
**************
<text yes>
/ items = ("YES")
/ txcolor = black
/position= (40%,50%)
</text>

<text no>
/ items = ("NO")
/ txcolor = black
/position= (60%,50%)
</text>

*************************************************
TRIALS
************
<trial irrelevants>
/stimulustimes = [200= clearscreen, list.irrelevants, yes, no]
/validresponse = ("s","l")
/correctresponse = ("l") // no = l-key
</trial>

<trial targets>
/stimulustimes = [200= clearscreen, targets, yes, no]
/validresponse = ("s","l")
/correctresponse = ("s") // yes= s-key
</trial>

<trial probes>
/stimulustimes = [200= clearscreen, probes, yes, no]
/validresponse = ("s","l")
/correctresponse = ("l") // no = l-key
</trial>



If you want to have a trial sample from stimuli of different modalities, where the stimulus elements are contained in a <list>, you need to use the insertstimulustime() function.

<trial irrelevants>
/ ontrialbegin = [
    trial.irrelevants.resetstimulusframes();
    trial.irrelevants.insertstimulustime(list.irrelevants.nextvalue, 200);
]
/stimulustimes = [200= clearscreen, yes, no]
/validresponse = ("s","l")
/correctresponse = ("l") // no = l-key
</trial>


Further, note that an <item> is not a stimulus, so this will not work.

<list irrelevants>
/items = (item.wordirrelevants, sound.soundirrelevants, picture.pictirrelevants)
/maxrunsize= 1
</list>

You need <text> elements for your word stimuli, an <item> element merely lists items -- it says nothing about their modality and it does not perform any item selection, etc. Those are the jobs of a stimulus element, here: <text>.

Lastly, and in the same vein,

<item wordirrelevants>
/1= "Cycle track"
/2= "No U-turn"
/3= "One way"
/4= "Parking"
/5= "Pass right"
/6= "Roundabout"
</item>

<item wordtargets>
/1= "No entry"
/2= "Turn right"
</item>

<item wordprobes>
/1= "Stop"
/2= "Yield"
</item>

<text words>
/ items = ("wordirrelevants","wordtargets","wordprobes")
/ position = (50%, 50%)
</text>


is not valid syntax. You need three separate <text> elements. One to present the wordirrelevants items, one to present the wordtargets items, and one to present the wordprobes items.

Amelinq
Amelinq
Associate Member (243 reputation)Associate Member (243 reputation)Associate Member (243 reputation)Associate Member (243 reputation)Associate Member (243 reputation)Associate Member (243 reputation)Associate Member (243 reputation)Associate Member (243 reputation)Associate Member (243 reputation)
Group: Forum Members
Posts: 19, Visits: 48
Hi dave,
Thank you very much! You helped me a lot!

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search