Last issues!


Author
Message
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: 13K, Visits: 107K
Igor Iarrobino - 3/17/2025
Dave - 3/17/2025
Igor Iarrobino - 3/17/2025
Dave - 3/11/2025
Igor Iarrobino - 3/11/2025
Hi Dave. I hope you're ok.
I'm writing you again because I don't understand a thing in the following script.

I like how it is now, because I just have pic and fixation, pic and fixation and so on
But, I don't get why a trial is followed smoothly  by the following one when I don't respond (I mean from the fixation to the next pic, that is the beginning of the next trial); instead, if I press the button (respond) I have like a little pause between those trial (like a crealscreen).
I did put "no posttrial pause" after response trial and no ITI between the trials, but it doesn't work like I'd like to: so to have a smooth transition between one trial and the next one (from fixation to pic) even though I respond.

I hope I was clear and I thank you beforehand.
Regards

**************************************************************************************************************
**************************************************************************************************************
EDITABLE PARAMETERS: change editable parameters here
**************************************************************************************************************
**************************************************************************************************************

<parameters>
/clearscreen = 50
/fixationStart = 3000
/picsize = 60%
/top_y = 55%
/bottom_y = 55%
/leftresponsekey = "Z" //lo stampino con la SÌ va messo sulla Z
/rightresponsekey = "M" //lo stampino con la NO va messo sulla M
/spacekey = "BARRA SPAZIATRICE"
</parameters>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE INSTRUCTIONS: change instructions here
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
</instruct>

<item instructions>
/1 = "Adesso inizia il compito.
Le compariranno dei volti che possono esprimere un'emozione, oppure no.
Le verrà chiesto di premere il tasto SÌ se il volto presentato esprime un'emozione; al contrario, prema il tasto NO se il volto non esprime un'emozione.
Le ricordiamo di premere il più velocemente possibile."

/2 = "Adesso Lei farà una breve pausa.
Premiamo il tasto per ricominciare"

/3 = "Fine della prova."
</item>

<item continueButtons>
/1 = "Premiamo il tasto per iniziare"
/2 = "Premiamo il tasto per continuare"
/3 = "STOP"
</item>

<text YESButton_instruct>
/ items = ("YES = Prema SÌ")
/ position = (25%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text NOButton_instruct>
/ items = ("NO = Prema NO")
/ position = (75%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text fixationStart>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_1>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_2>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_3>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_4>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text exit>
/ items = ("<Premiamo il tasto per uscire>")
/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ size = (80%, 5%)
/ vjustify = center
</text>

<expressions>
/buttoninstruct1 = if (computer.touch && !computer.haskeyboard) {"response button";}
else {
"un tasto";}
/buttoninstruct2 = if (computer.touch && !computer.haskeyboard) {"button";}
else {
"un altro tasto";}
/buttoninstruct3 = if (computer.touch && !computer.haskeyboard) {"Le chiadiamo di posizionare le dita della mano sinistra e della mano destra sulla tastiera, e di premere un dei tasto per cominciare";}
else {
"Le chiediamo di posizionare l'indice della mano sinistra e l'indice della mano destra sulla tastiera e premere uno dei due tasti colorati per iniziare.";}
</expressions>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE STIMULI
**************************************************************************************************************
**************************************************************************************************************
****************************
Test
****************************

<list test_itemnumbers_1>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_1>
/1="F01_P20.JPG"
/2="F06_P30.JPG"
/3="F01_P40.JPG"
/4="F07_P50.JPG"
/5="F07_P60.JPG"
/6="F02_P70.JPG"
/7="F02_P80.JPG"
/8="F03_P20.JPG"
/9="F08_P30.JPG"
/10="F03_P40.JPG"
/11="F09_P50.JPG"
/12="F09_P60.JPG"
/13="F04_P70.JPG"
/14="F04_P80.JPG"
/15="F10_P20.JPG"
/16="F05_P30.JPG"
/17="F10_P40.JPG"
/18="F06_F50.JPG"
/19="F01_F60.JPG"
/20="F01_F70.JPG"
/21="F06_F80.JPG"
/22="F02_F20.JPG"
/23="F07_F30.JPG"
/24="F02_F40.JPG"
/25="F08_F50.JPG"
/26="F03_F60.JPG"
/27="F03_F70.JPG"
/28="F08_F80.JPG"
/29="F09_F20.JPG"
/30="F04_F30.JPG"
/31="F09_F40.JPG"
/32="F10_F50.JPG"
/33="F10_F60.JPG"
/34="F10_F70.JPG"
/35="F05_F80.JPG"
/36="M06_P20.JPG"
/37="M01_P30.JPG"
/38="M06_P40.JPG"
/39="M07_P50.JPG"
/40="M07_P60.JPG"
/41="M07_P70.JPG"
/42="M02_P80.JPG"
/43="M08_P20.JPG"
/44="M03_P30.JPG"
/45="M08_P40.JPG"
/46="M04_P50.JPG"
/47="M09_P60.JPG"
/48="M09_P70.JPG"
/49="M04_P80.JPG"
/50="M05_P20.JPG"
/51="M10_P30.JPG"
/52="M05_P40.JPG"
/53="M01_F50.JPG"
/54="M06_F60.JPG"
/55="M06_F70.JPG"
/56="M01_F80.JPG"
/57="M02_F20.JPG"
/58="M07_F30.JPG"
/59="M02_F40.JPG"
/60="M08_F50.JPG"
/61="M03_F60.JPG"
/62="M03_F70.JPG"
/63="M08_F80.JPG"
/64="M04_F50.JPG"
/65="M09_F60.JPG"
/66="M09_F70.JPG"
/67="M09_F80.JPG"
/68="M10_F20.JPG"
/69="M05_F30.JPG"
/70="M10_F40.JPG"
/71="F06_P0.JPG"
/72="F01_P100.JPG"
/73="F02_P10.JPG"
/74="F07_P90.JPG"
/75="F08_P0.JPG"
/76="F03_P100.JPG"
/77="F04_P10.JPG"
/78="F09_P90.JPG"
/79="F10_P0.JPG"
/80="F05_P100.JPG"
/81="F01_F10.JPG"
/82="F06_F90.JPG"
/83="F07_F0.JPG"
/84="F02_F100.JPG"
/85="F03_F10.JPG"
/86="F08_F90.JPG"
/87="F09_F0.JPG"
/88="F04_F100.JPG"
/89="F05_F10.JPG"
/90="F10_F90.JPG"
/91="M06_P0.JPG"
/92="M01_P100.JPG"
/93="M02_P10.JPG"
/94="M07_P90.JPG"
/95="M08_P0.JPG"
/96="M03_P100.JPG"
/97="M04_P10.JPG"
/98="M09_P90.JPG"
/99="M05_P0.JPG"
/100="M10_P100.JPG"
/101="M01_F10.JPG"
/102="M06_F90.JPG"
/103="M07_F0.JPG"
/104="M02_F100.JPG"
/105="M03_F10.JPG"
/106="M08_F90.JPG"
/107="M09_F0.JPG"
/108="M04_F100.JPG"
/109="M10_F10.JPG"
/110="M05_F90.JPG"
</item>

<item correctButton_test_1>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>


<list test_itemnumbers_2>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_2>
/1="F06_P20.JPG"
/2="F01_P30.JPG"
/3="F06_P40.JPG"
/4="F02_P50.JPG"
/5="F02_P60.JPG"
/6="F07_P70.JPG"
/7="F07_P80.JPG"
/8="F08_P20.JPG"
/9="F03_P30.JPG"
/10="F08_P40.JPG"
/11="F04_P50.JPG"
/12="F04_P60.JPG"
/13="F09_P70.JPG"
/14="F09_P80.JPG"
/15="F05_P20.JPG"
/16="F10_P30.JPG"
/17="F05_P40.JPG"
/18="F01_F50.JPG"
/19="F06_F60.JPG"
/20="F06_F70.JPG"
/21="F01_F80.JPG"
/22="F07_F20.JPG"
/23="F02_F30.JPG"
/24="F07_F40.JPG"
/25="F03_F50.JPG"
/26="F08_F60.JPG"
/27="F08_F70.JPG"
/28="F03_F80.JPG"
/29="F04_F20.JPG"
/30="F09_F30.JPG"
/31="F04_F40.JPG"
/32="F05_F50.JPG"
/33="F05_F60.JPG"
/34="F05_F70.JPG"
/35="F10_F80.JPG"
/36="M01_P20.JPG"
/37="M06_P30.JPG"
/38="M01_P40.JPG"
/39="M02_P50.JPG"
/40="M02_P60.JPG"
/41="M02_P70.JPG"
/42="M07_P80.JPG"
/43="M03_P20.JPG"
/44="M08_P30.JPG"
/45="M03_P40.JPG"
/46="M09_P50.JPG"
/47="M04_P60.JPG"
/48="M04_P70.JPG"
/49="M09_P80.JPG"
/50="M10_P20.JPG"
/51="M05_P30.JPG"
/52="M10_P40.JPG"
/53="M06_F50.JPG"
/54="M01_F60.JPG"
/55="M01_F70.JPG"
/56="M06_F80.JPG"
/57="M07_F20.JPG"
/58="M02_F30.JPG"
/59="M07_F40.JPG"
/60="M03_F50.JPG"
/61="M08_F60.JPG"
/62="M08_F70.JPG"
/63="M03_F80.JPG"
/64="M09_F50.JPG"
/65="M04_F60.JPG"
/66="M04_F70.JPG"
/67="M04_F80.JPG"
/68="M05_F20.JPG"
/69="M10_F30.JPG"
/70="M05_F40.JPG"
/71="F06_P10.JPG"
/72="F01_P90.JPG"
/73="F02_P0.JPG"
/74="F07_P100.JPG"
/75="F08_P10.JPG"
/76="F03_P90.JPG"
/77="F04_P0.JPG"
/78="F09_P100.JPG"
/79="F10_P10.JPG"
/80="F05_P90.JPG"
/81="F01_F0.JPG"
/82="F06_F100.JPG"
/83="F07_F10.JPG"
/84="F02_F90.JPG"
/85="F03_F0.JPG"
/86="F08_F100.JPG"
/87="F09_F10.JPG"
/88="F04_F90.JPG"
/89="F05_F0.JPG"
/90="F10_F100.JPG"
/91="M06_P10.JPG"
/92="M01_P90.JPG"
/93="M02_P0.JPG"
/94="M07_P100.JPG"
/95="M08_P10.JPG"
/96="M03_P90.JPG"
/97="M04_P0.JPG"
/98="M09_P100.JPG"
/99="M05_P10.JPG"
/100="M10_P90.JPG"
/101="M01_F0.JPG"
/102="M06_F100.JPG"
/103="M07_F10.JPG"
/104="M02_F90.JPG"
/105="M03_F0.JPG"
/106="M08_F100.JPG"
/107="M09_F10.JPG"
/108="M04_F90.JPG"
/109="M10_F0.JPG"
/110="M05_F100.JPG"
</item>

<item correctButton_test_2>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>

<list test_itemnumbers_3>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_3>
/1="F01_P50.JPG"
/2="F01_P60.JPG"
/3="F06_P70.JPG"
/4="F06_P80.JPG"
/5="F02_P20.JPG"
/6="F07_P30.JPG"
/7="F02_P40.JPG"
/8="F08_P50.JPG"
/9="F03_P60.JPG"
/10="F03_P70.JPG"
/11="F08_P80.JPG"
/12="F04_P20.JPG"
/13="F09_P30.JPG"
/14="F04_P40.JPG"
/15="F05_P50.JPG"
/16="F10_P60.JPG"
/17="F10_P70.JPG"
/18="F05_P80.JPG"
/19="F06_F20.JPG"
/20="F01_F30.JPG"
/21="F06_F40.JPG"
/22="F07_F50.JPG"
/23="F02_F60.JPG"
/24="F02_F70.JPG"
/25="F07_F80.JPG"
/26="F03_F20.JPG"
/27="F08_F30.JPG"
/28="F03_F40.JPG"
/29="F09_F50.JPG"
/30="F09_F60.JPG"
/31="F09_F70.JPG"
/32="F04_F80.JPG"
/33="F10_F20.JPG"
/34="F05_F30.JPG"
/35="F10_F40.JPG"
/36="M06_P50.JPG"
/37="M06_P60.JPG"
/38="M06_P70.JPG"
/39="M01_P80.JPG"
/40="M07_P20.JPG"
/41="M02_P30.JPG"
/42="M07_P40.JPG"
/43="M03_P50.JPG"
/44="M08_P60.JPG"
/45="M08_P70.JPG"
/46="M03_P80.JPG"
/47="M09_P20.JPG"
/48="M04_P30.JPG"
/49="M09_P40.JPG"
/50="M10_P50.JPG"
/51="M05_P60.JPG"
/52="M05_P70.JPG"
/53="M10_P80.JPG"
/54="M01_F20.JPG"
/55="M06_F30.JPG"
/56="M01_F40.JPG"
/57="M02_F50.JPG"
/58="M07_F60.JPG"
/59="M07_F70.JPG"
/60="M02_F80.JPG"
/61="M03_F20.JPG"
/62="M08_F30.JPG"
/63="M03_F40.JPG"
/64="M04_F20.JPG"
/65="M09_F30.JPG"
/66="M04_F40.JPG"
/67="M05_F50.JPG"
/68="M10_F60.JPG"
/69="M10_F70.JPG"
/70="M05_F80.JPG"
/71="F01_P10.JPG"
/72="F06_P90.JPG"
/73="F07_P0.JPG"
/74="F02_P100.JPG"
/75="F03_P10.JPG"
/76="F08_P90.JPG"
/77="F09_P0.JPG"
/78="F04_P100.JPG"
/79="F05_P10.JPG"
/80="F10_P90.JPG"
/81="F06_F0.JPG"
/82="F01_F100.JPG"
/83="F02_F10.JPG"
/84="F07_F90.JPG"
/85="F08_F0.JPG"
/86="F03_F100.JPG"
/87="F04_F10.JPG"
/88="F09_F90.JPG"
/89="F10_F0.JPG"
/90="F05_F100.JPG"
/91="M01_P10.JPG"
/92="M06_P90.JPG"
/93="M07_P0.JPG"
/94="M02_P100.JPG"
/95="M03_P10.JPG"
/96="M08_P90.JPG"
/97="M09_P0.JPG"
/98="M04_P100.JPG"
/99="M10_P10.JPG"
/100="M05_P90.JPG"
/101="M06_F0.JPG"
/102="M01_F100.JPG"
/103="M02_F10.JPG"
/104="M07_F90.JPG"
/105="M08_F0.JPG"
/106="M03_F100.JPG"
/107="M04_F10.JPG"
/108="M09_F90.JPG"
/109="M05_F0.JPG"
/110="M10_F100.JPG"
</item>

<item correctButton_test_3>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>


<list test_itemnumbers_4>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
</list>

<item pics_test_4>
/1="F06_P50.JPG"
/2="F06_P60.JPG"
/3="F01_P70.JPG"
/4="F01_P80.JPG"
/5="F07_P20.JPG"
/6="F02_P30.JPG"
/7="F07_P40.JPG"
/8="F03_P50.JPG"
/9="F08_P60.JPG"
/10="F08_P70.JPG"
/11="F03_P80.JPG"
/12="F09_P20.JPG"
/13="F04_P30.JPG"
/14="F09_P40.JPG"
/15="F10_P50.JPG"
/16="F05_P60.JPG"
/17="F05_P70.JPG"
/18="F10_P80.JPG"
/19="F01_F20.JPG"
/20="F06_F30.JPG"
/21="F01_F40.JPG"
/22="F02_F50.JPG"
/23="F07_F60.JPG"
/24="F07_F70.JPG"
/25="F02_F80.JPG"
/26="F08_F20.JPG"
/27="F03_F30.JPG"
/28="F08_F40.JPG"
/29="F04_F50.JPG"
/30="F04_F60.JPG"
/31="F04_F70.JPG"
/32="F09_F80.JPG"
/33="F05_F20.JPG"
/34="F10_F30.JPG"
/35="F05_F40.JPG"
/36="M01_P50.JPG"
/37="M01_P60.JPG"
/38="M01_P70.JPG"
/39="M06_P80.JPG"
/40="M02_P20.JPG"
/41="M07_P30.JPG"
/42="M02_P40.JPG"
/43="M08_P50.JPG"
/44="M03_P60.JPG"
/45="M03_P70.JPG"
/46="M08_P80.JPG"
/47="M04_P20.JPG"
/48="M09_P30.JPG"
/49="M04_P40.JPG"
/50="M05_P50.JPG"
/51="M10_P60.JPG"
/52="M10_P70.JPG"
/53="M05_P80.JPG"
/54="M06_F20.JPG"
/55="M01_F30.JPG"
/56="M06_F40.JPG"
/57="M07_F50.JPG"
/58="M02_F60.JPG"
/59="M02_F70.JPG"
/60="M07_F80.JPG"
/61="M08_F20.JPG"
/62="M03_F30.JPG"
/63="M08_F40.JPG"
/64="M09_F20.JPG"
/65="M04_F30.JPG"
/66="M09_F40.JPG"
/67="M10_F50.JPG"
/68="M05_F60.JPG"
/69="M05_F70.JPG"
/70="M10_F80.JPG"
/71="F01_P0.JPG"
/72="F06_P100.JPG"
/73="F07_P10.JPG"
/74="F02_P90.JPG"
/75="F03_P0.JPG"
/76="F08_P100.JPG"
/77="F09_P10.JPG"
/78="F04_P90.JPG"
/79="F05_P0.JPG"
/80="F10_P100.JPG"
/81="F06_F10.JPG"
/82="F01_F90.JPG"
/83="F02_F0.JPG"
/84="F07_F100.JPG"
/85="F08_F10.JPG"
/86="F03_F90.JPG"
/87="F04_F0.JPG"
/88="F09_F100.JPG"
/89="F10_F10.JPG"
/90="F05_F90.JPG"
/91="M01_P0.JPG"
/92="M06_P100.JPG"
/93="M07_P10.JPG"
/94="M02_P90.JPG"
/95="M03_P0.JPG"
/96="M08_P100.JPG"
/97="M09_P10.JPG"
/98="M04_P90.JPG"
/99="M10_P0.JPG"
/100="M05_P100.JPG"
/101="M06_F10.JPG"
/102="M01_F90.JPG"
/103="M02_F0.JPG"
/104="M07_F100.JPG"
/105="M08_F10.JPG"
/106="M03_F90.JPG"
/107="M04_F0.JPG"
/108="M09_F100.JPG"
/109="M05_F10.JPG"
/110="M10_F90.JPG"
</item>

<item correctButton_test_4>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>

**************************************************************************************************************
**************************************************************************************************************
DEFAULTS
**************************************************************************************************************
**************************************************************************************************************
script requires Inquisit 6.5.2.0 or higher

<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "6.5.2.0"
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/txbgcolor = transparent
/txcolor = black
/screencolor = white
/inputdevice = keyboard
</defaults>

**************************************************************************************************************
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************

Note: data file explanations under User Manual Information at the top

To change from one data file per participant to one data file for all participants, set
/separatefiles = false

***********************
raw data file
***********************
<data>
/ separatefiles = true
/ columns = (date, time, subject, group, session, blockcode, blocknum, trialcode, values.fixationStart, values.clearscreen, values.keyAssignment, values.selectStim, stimulusitem, stimulusitem, values.correctButton, response, responsetext, correct, latency)
</data>

***********************
summary data file
***********************
<summarydata>
/ columns = (inquisit.version, computer.platform, script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid,
script.elapsedtime, script.completed,
values.keyAssignment,
expressions.ACC_all,
expressions.meanRT_all)
/ separatefiles = true
</summarydata>


**************************************************************************************************************
**************************************************************************************************************
VALUES: automatically updated
**************************************************************************************************************
**************************************************************************************************************

/countTestBlocks: counts number of test blocks
/skipReadyTrial: 0 = run ready trial; 1 = skip ready trial

<values>
/countTestBlocks = 0
/selectStim = 1
/correctButton = ""
/fixationStart = parameters.fixationStart
/clearscreen = parameters.clearscreen
/keyAssignment = "leftYES"
/spacekey = parameters.spacekey
/YESkey = parameters.leftresponsekey
/NOkey = parameters.rightresponsekey
</values>

/ACC_practice: stores the proportion correct of the current practice run

<values>
/ACC_practice = 0
</values>

**************************************************************************************************************
**************************************************************************************************************
EXPRESSIONS
**************************************************************************************************************
**************************************************************************************************************
/shadowSize: size of shadow text

/ACC_all: proportion correct overall (across all test trials)
/meanRT_all: mean correct latency (in ms) overall

/ACC_FACE: proportion correct in "FACE" block
/ACC_congruent: proportion correct in "congruent" pairings trials (across test blocks)
/ACC_incongruent: proportion correct in "incongruent" pairings trials (across test blocks)

/meanRT_FACE: mean correct latency (in ms) in "FACE" block
/meanRT_congruent: mean correct latency (in ms) in "congruent" pairings trials (across test blocks)
/meanRT_incongruent: mean correct latency (in ms) in "incongruent" pairings trials (across test blocks)

<expressions>
/ACC_all = list.accuracy.mean
/meanRT_all = list.latencies.mean
</expressions>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************

<text intro>
/ items = instructions
/ select = 1
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text break>
/ items = instructions
/ select = 2
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text end>
/ items = instructions
/ select = 3
/ position = (50%, 50%)
/ fontstyle = ("Arial", 8%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text continueButton_intro>
/ items = continueButtons
/ select = text.intro.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = transparent
</text>

<text continueButton_break>
/ items = continueButtons
/ select = text.break.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = transparent
</text>

<text continueButton_Pnd>
/ items = continueButtons
/ select = text.end.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = red
</text>

***********************
Instruction Trials
***********************

<trial introtest>
/ inputdevice = keyboard
/ stimulusframes = [1 = intro, continueButton_intro]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial break>
/ inputdevice = keyboard
/ stimulusframes = [1 = break, continueButton_break]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial finish>
/ inputdevice = keyboard
/ skip = [
values.countTestBlocks == 1;
]
/ stimulusframes = [1 = clearscreen, end, exit]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial fixationStart>
/ stimulusframes = [1 = fixationStart]
/ trialduration = parameters.fixationStart
/ validresponse = (0)
/ recorddata = false
</trial>

**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************

<picture Pic_test_1>
/items = item.pics_test_1
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_2>
/items = item.pics_test_2
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_3>
/items = item.pics_test_3
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_4>
/items = item.pics_test_4
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************

*************************************************
Data Lists: used for descriptive statistics
store correct latencies/accuracy data
fill up during runtime
*************************************************

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracy>
</list>

Note: list stores the latency of correct responses for each relevant trial
<list latencies>
</list>

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracytest>
</list>

**************************************************************************************************************
**************************************************************************************************************
TRIALS: test
**************************************************************************************************************
**************************************************************************************************************

trial test_1>
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_1.nextvalue;
values.correctButton = item.correctButton_test_1.item(values.selectStim);
]
/ stimulusframes = [1 = clearscreen; 2 = ]
/ response = noresponse
/ trialduration = 350
</trial>

trial test_2>
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_2.nextvalue;
values.correctButton = item.correctButton_test_2.item(values.selectStim);
]
/ stimulusframes = [1 = clearscreen; 2 = Pic_test_2]
/ response = noresponse
/ trialduration = 350
</trial>

<trial fixationResp_1>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_1.nextvalue;
values.correctButton = item.correctButton_test_1.item(values.selectStim);
     trial.fixationResp_1.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_1; 350 = clearscreen, fixationResp_1]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_1.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_1.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_1.correct);
if (trial.fixationResp_1.correct) {
list.latencies.appendItem(trial.fixationResp_1.latency);
list.latencies.appendItem(trial.fixationResp_1.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_2>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_2.nextvalue;
values.correctButton = item.correctButton_test_2.item(values.selectStim);
     trial.fixationResp_2.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_2; 350 = clearscreen, fixationResp_2]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_2.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_2.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_2.correct);
if (trial.fixationResp_2.correct) {
list.latencies.appendItem(trial.fixationResp_2.latency);
list.latencies.appendItem(trial.fixationResp_2.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_3>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_3.nextvalue;
values.correctButton = item.correctButton_test_3.item(values.selectStim);
     trial.fixationResp_3.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_3; 350 = clearscreen, fixationResp_3]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_3.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_3.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_3.correct);
if (trial.fixationResp_3.correct) {
list.latencies.appendItem(trial.fixationResp_3.latency);
list.latencies.appendItem(trial.fixationResp_3.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_4>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_4.nextvalue;
values.correctButton = item.correctButton_test_4.item(values.selectStim);
     trial.fixationResp_4.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_4; 350 = clearscreen, fixationResp_4]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_4.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_4.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_4.correct);
if (trial.fixationResp_4.correct) {
list.latencies.appendItem(trial.fixationResp_4.latency);
list.latencies.appendItem(trial.fixationResp_4.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : helper trials
**************************************************************************************************************
**************************************************************************************************************

trial ITI>
/ stimulusframes = [1 = clearscreen]

//touchscreens: present inactive response buttons
// validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ isvalidresponse = [
return(false);
]
/ recorddata = false
/ trialduration = parameters.ITI
</trial>

**************************************************************************************************************
**************************************************************************************************************
BLOCKS
**************************************************************************************************************
**************************************************************************************************************

<block testStart>
/ trials = [1 = introtest]
/ onblockbegin = [
list.accuracy.reset();
list.latencies.reset();
]
</block>

<block fixationStart>
/ trials = [1 = fixationStart]
</block>

<block test_1>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_1
    ]
</block>

<block test_2>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_2
]
</block>

<block test_3>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_3
    ]
</block>

<block test_4>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_4
]
</block>

<block break>
/ trials = [1 = break]
</block>

<block finish>
/ trials = [1 = finish]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
<expt>
/ onexptbegin = [
if (computer.touch && !computer.haskeyboard) {
text.continueButton_Pnd.skip = true;
text.continueButton_intro.skip = true;
         text.continueButton_break.skip = true;
};]

/ blocks = [
    1 = testStart;
    2 = fixationStart;
    3 = test_1;
    4 = break;
    5 = fixationStart;
    6 = test_2;
    7 = break;
    8 = fixationStart;
    9 = test_3;
    10 = break;
    11 = fixationStart;
    12 = test_4;
    13 = finish;
]
</expt>

<monkey>
/ latencydistribution = normal(50, 20)
</monkey>

**************************************************************************************************************
End of File
**************************************************************************************************************

There is a "pause" because your trials have a fixed duration.
https://www.millisecond.com/support/docs/v6/html/language/attributes/trialduration.htm
If you want a max duration only, use /timeout instead.
https://www.millisecond.com/support/docs/v6/html/language/attributes/timeout.htm

In general, you need to internalize https://www.millisecond.com/support/docs/v6/html/howto/howtocontroltiming.htm to understand how trials work.
Good evening.
In fixationResp trial of this code I'd like the stimuli stay on the screen after I respond.
I took "/responseinterrupt" away from the script and "erase" from text/stimuli, but when I respond to the trial the stimuli are erased right away and the script goes to the next trial.

Thank you in advance.
Best.


[code]**************************************************************************************************************
**************************************************************************************************************
EDITABLE PARAMETERS: change editable parameters here
**************************************************************************************************************
**************************************************************************************************************

<parameters>
/clearscreen = 50
/fixationStart = 3000
/picsize = 60%
/top_y = 55%
/bottom_y = 55%
/leftresponsekey = "Z" //lo stampino con la SÌ va messo sulla Z
/rightresponsekey = "M" //lo stampino con la NO va messo sulla M
/spacekey = "BARRA SPAZIATRICE"
</parameters>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE INSTRUCTIONS: change instructions here
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
</instruct>


<item instructions>
/1 = "Adesso farà una prova per familiarizzare con il compito.
Le compariranno dei volti che possono esprimere un'emozione, oppure no.
Le verrà chiesto di premere il tasto SÌ se il volto presentato esprime un'emozione; al contrario, prema il tasto NO se il volto non esprime un'emozione.
Le ricordiamo di premere il più velocemente possibile."

/2 = "Fine della prova.
Se vuole possiamo ripetere la prova."
</item>

<item continueButtons>
/1 = "Premiamo il tasto per iniziare"
/2 = "STOP"
</item>

<text YESButton_instruct>
/ items = ("YES = Prema SÌ")
/ position = (25%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text NOButton_instruct>
/ items = ("NO = Prema NO")
/ position = (75%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text fixationStart>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixation>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text exit>
/ items = ("<Premiamo il tasto indicato per uscire>")
/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ size = (80%, 5%)
/ vjustify = center
</text>

<expressions>
/buttoninstruct1 = if (computer.touch && !computer.haskeyboard) {"response button";}
else {
"un tasto";}
/buttoninstruct2 = if (computer.touch && !computer.haskeyboard) {"button";}
else {
"un altro tasto";}
/buttoninstruct3 = if (computer.touch && !computer.haskeyboard) {"Le chiadiamo di posizionare le dita della mano sinistra e della mano destra sulla tastiera, e di premere un dei tasto per cominciare";}
else {
"Le chiediamo di posizionare l'indice della mano sinistra e l'indice della mano destra sulla tastiera e premere uno dei due tasti corrispondenti per iniziare.";}
</expressions>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE STIMULI
**************************************************************************************************************
**************************************************************************************************************
********************************************
practice
********************************************

<list practice_itemnumbers>
/ items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
/ replace = false
/ resetinterval = 0
</list>

<item pics_practice>
/1= "F11_F20.JPG"
/2= "F11_F30.JPG"
/3 = "F11_F40.JPG"
/4 = "F11_F50.JPG"
/5 = "F11_F60.JPG"
/6 = "F11_F70.JPG"
/7 = "F11_F80.JPG"
/8 = "F11_F90.JPG"
/9 = "F11_F100.JPG"
/10 = "F11_F0.JPG"
/11 = "F11_F10.JPG"
/12 = "M11_F20.JPG"
/13 = "M11_F30.JPG"
/14 = "M11_F40.JPG"
/15 = "M11_F50.JPG"
/16 = "M11_F60.JPG"
/17 = "M11_F70.JPG"
/18 = "M11_F80.JPG"
/19 = "M11_F90.JPG"
/20 = "M11_F100.JPG"
/21 = "M11_F0.JPG"
/22 = "M11_F10.JPG"
/23 = "F11_P20.JPG"
/24 = "F11_P30.JPG"
/25 = "F11_P40.JPG"
/26 = "F11_P50.JPG"
/27 = "F11_P60.JPG"
/28 = "F11_P70.JPG"
/29 = "F11_P80.JPG"
/30 = "F11_P90.JPG"
/31 = "F11_P100.JPG"
/32 = "F11_P0.JPG"
/33 = "F11_P10.JPG"
/34 = "M11_F20.JPG"
/35 = "M11_P30.JPG"
/36 = "M11_P40.JPG"
/37 = "M11_P50.JPG"
/38 = "M11_P60.JPG"
/39 = "M11_P70.JPG"
/40 = "M11_P80.JPG"
/41 = "M11_P90.JPG"
/42 = "M11_P100.JPG"
/43 = "M11_P0.JPG"
/44 = "M11_P10.JPG"
</item>

<item correctButton_practice>
/1 = "YESButton"
/2 = "YESButton"
/3 = "YESButton"
/4 = "YESButton"
/5 = "YESButton"
/6 = "YESButton"
/7 = "YESButton"
/8 = "YESButton"
/9 = "YESButton"
/10 = "NOButton"
/11 = "NOButton"
/12 = "YESButton"
/13 = "YESButton"
/14 = "YESButton"
/15 = "YESButton"
/16 = "YESButton"
/17 = "YESButton"
/18 = "YESButton"
/19 = "YESButton"
/20 = "YESButton"
/21 = "NOButton"
/22 = "NOButton"
/23 = "YESButton"
/24 = "YESButton"
/25 = "YESButton"
/26 = "YESButton"
/27 = "YESButton"
/28 = "YESButton"
/29 = "YESButton"
/30 = "YESButton"
/31 = "YESButton"
/32 = "NOButton"
/33 = "NOButton"
/34 = "YESButton"
/35 = "YESButton"
/36 = "YESButton"
/37 = "YESButton"
/38 = "YESButton"
/39 = "YESButton"
/40 = "YESButton"
/41 = "YESButton"
/42 = "YESButton"
/43 = "NOButton"
/44 = "NOButton"
</item>

**************************************************************************************************************
**************************************************************************************************************
DEFAULTS
**************************************************************************************************************
**************************************************************************************************************
script requires Inquisit 6.5.2.0 or higher

<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "6.5.2.0"
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/txbgcolor = transparent
/txcolor = black
/screencolor = white
/inputdevice = keyboard
</defaults>

**************************************************************************************************************
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************

Note: data file explanations under User Manual Information at the top

To change from one data file per participant to one data file for all participants, set
/separatefiles = false

***********************
raw data file
***********************
<data>
/ separatefiles = true
/ columns = (date, time, subject, group, session, blockcode, blocknum, trialcode, values.fixationStart, values.clearscreen, values.keyAssignment, values.selectStim, stimulusitem, stimulusitem, values.correctButton, response, responsetext, correct, latency)
</data>,

***********************
summary data file
***********************
<summarydata>
/ columns = (inquisit.version, computer.platform, script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid,
script.elapsedtime, script.completed,
values.keyAssignment,
values.ACC_practice,
values.practiceRuns,
expressions.ACC_all,
expressions.meanRT_all)
/ separatefiles = true
</summarydata>

**************************************************************************************************************
**************************************************************************************************************
VALUES: automatically updated
**************************************************************************************************************
**************************************************************************************************************

/countTestBlocks: counts number of test blocks

<values>
/countTestBlocks = 0
/selectStim = 1
/correctButton = ""
/practiceRuns = 0
/fixationStart = parameters.fixationStart
/clearscreen = parameters.clearscreen
/keyAssignment = "leftYES"
/spacekey = parameters.spacekey
/YESkey = parameters.leftresponsekey
/NOkey = parameters.rightresponsekey
</values>

/ACC_practice: stores the proportion correct of the current practice run

<values>
/ACC_practice = 0
</values>

**************************************************************************************************************
**************************************************************************************************************
EXPRESSIONS
**************************************************************************************************************
**************************************************************************************************************
/shadowSize: size of shadow text

/ACC_all: proportion correct overall (across all test trials)
/meanRT_all: mean correct latency (in ms) overall

/ACC_FACE: proportion correct in "FACE" block
/ACC_congruent: proportion correct in "congruent" pairings trials (across test blocks)
/ACC_incongruent: proportion correct in "incongruent" pairings trials (across test blocks)

/meanRT_FACE: mean correct latency (in ms) in "FACE" block
/meanRT_congruent: mean correct latency (in ms) in "congruent" pairings trials (across test blocks)
/meanRT_incongruent: mean correct latency (in ms) in "incongruent" pairings trials (across test blocks)

<expressions>
/ACC_all = list.accuracy.mean
/meanRT_all = list.latencies.mean
</expressions>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************

<text intro>
/ items = instructions
/ select = 1
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text end>
/ items = instructions
/ select = 2
/ position = (50%, 50%)
/ fontstyle = ("Arial", 8%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text continueButton_intro>
/ items = continueButtons
/ select = text.intro.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = transparent
</text>

<text continueButton_Pnd>
/ items = continueButtons
/ select = text.end.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = red
</text>

***********************
Instruction Trials
***********************

<trial practiceStart>
/ inputdevice = keyboard
/ stimulusframes = [1 = intro, continueButton_intro]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial finish>
/ inputdevice = keyboard
/ skip = [
values.countTestBlocks == 1;
]
/ stimulusframes = [1 = clearscreen, end, exit]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial fixationStart>
/ stimulusframes = [1 = fixationStart]
/ trialduration = parameters.fixationStart
/ validresponse = (0)
/ recorddata = false
</trial>

**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************

<picture Pic_practice>
/ items = item.pics_practice
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************

*************************************************
Data Lists: used for descriptive statistics
store correct latencies/accuracy data
fill up during runtime
*************************************************

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracy>
</list>

Note: list stores the latency of correct responses for each relevant trial
<list latencies>
</list>

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracytest>
</list>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : practice
**************************************************************************************************************
**************************************************************************************************************

trial fixation>
/ stimulustimes = [0 = fixation, clearscreen]
/ response = noresponse
/ recorddata = false
/ timeout = 650
</trial>

<trial fixationResp>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.practice_itemnumbers.nextvalue;
values.correctButton = item.correctButton_practice.item(values.selectStim);
]
/ stimulustimes = [0 = Pic_practice; 350 = clearscreen, fixationResp]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ timeout = 1850
// trialduration = 1850
/ posttrialpause = parameters.clearscreen
/ ontrialend = [ list.accuracy.appendItem(trial.fixationResp.correct);
values.ACC_practice = list.accuracy.mean;]
</trial>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : helper trials
**************************************************************************************************************
**************************************************************************************************************

trial ITI>
/ stimulusframes = [1 = fixation]
// validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ isvalidresponse = [
return(false);
]
/ recorddata = false
/ trialduration = 650
</trial>

**************************************************************************************************************
**************************************************************************************************************
BLOCKS
**************************************************************************************************************
**************************************************************************************************************

<block practiceIntro>
/ trials = [1 = practiceStart]
</block>

<block fixationStart>
/ trials = [1 = fixationStart]
</block>

<block practice>
/ onblockbegin = [
list.accuracy.reset();
list.latencies.reset();
values.practiceRuns += 1;
]
// trials = sequence [1 - 43 = fixation, fixationResp]
/trials = [
1 -43 = fixationResp
]
</block>

<block finish>
/ trials = [1 = finish]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
<expt>
/ onexptbegin = [
if (computer.touch && !computer.haskeyboard) {
text.continueButton_Pnd.skip = true;
text.continueButton_intro.skip = true;
};]

/ blocks = [
1 = practiceIntro;
2 = fixationStart;
3 = practice;
4 = finish;
]
</expt>

<monkey>
/ latencydistribution = normal(50, 20)
</monkey>

**************************************************************************************************************
End of File
**************************************************************************************************************
[/code]

If you want stimuli to remain on-screen, you need to set /erase = false for all stimuli displayed by the trial, not "take away" /erase.
Obviously I didn't type "take away" in the script. You can read it through the script actually.
As I already told you, I did the /erase cmmand, but perhaps only in one of the stimuli.
could it be the issue?

In the script as you posted it, all stimuli are getting erased. There are no /erase = false settings.

Once again, if you want stimuli to remain on-screen, i.e. not be erased at the end of a trial, then you ought to set /erase = false for ALL STIMULI presented by the given trial.
Igor Iarrobino
Igor Iarrobino
Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)
Group: Forum Members
Posts: 42, Visits: 114
Dave - 3/17/2025
Igor Iarrobino - 3/17/2025
Dave - 3/11/2025
Igor Iarrobino - 3/11/2025
Hi Dave. I hope you're ok.
I'm writing you again because I don't understand a thing in the following script.

I like how it is now, because I just have pic and fixation, pic and fixation and so on
But, I don't get why a trial is followed smoothly  by the following one when I don't respond (I mean from the fixation to the next pic, that is the beginning of the next trial); instead, if I press the button (respond) I have like a little pause between those trial (like a crealscreen).
I did put "no posttrial pause" after response trial and no ITI between the trials, but it doesn't work like I'd like to: so to have a smooth transition between one trial and the next one (from fixation to pic) even though I respond.

I hope I was clear and I thank you beforehand.
Regards

**************************************************************************************************************
**************************************************************************************************************
EDITABLE PARAMETERS: change editable parameters here
**************************************************************************************************************
**************************************************************************************************************

<parameters>
/clearscreen = 50
/fixationStart = 3000
/picsize = 60%
/top_y = 55%
/bottom_y = 55%
/leftresponsekey = "Z" //lo stampino con la SÌ va messo sulla Z
/rightresponsekey = "M" //lo stampino con la NO va messo sulla M
/spacekey = "BARRA SPAZIATRICE"
</parameters>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE INSTRUCTIONS: change instructions here
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
</instruct>

<item instructions>
/1 = "Adesso inizia il compito.
Le compariranno dei volti che possono esprimere un'emozione, oppure no.
Le verrà chiesto di premere il tasto SÌ se il volto presentato esprime un'emozione; al contrario, prema il tasto NO se il volto non esprime un'emozione.
Le ricordiamo di premere il più velocemente possibile."

/2 = "Adesso Lei farà una breve pausa.
Premiamo il tasto per ricominciare"

/3 = "Fine della prova."
</item>

<item continueButtons>
/1 = "Premiamo il tasto per iniziare"
/2 = "Premiamo il tasto per continuare"
/3 = "STOP"
</item>

<text YESButton_instruct>
/ items = ("YES = Prema SÌ")
/ position = (25%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text NOButton_instruct>
/ items = ("NO = Prema NO")
/ position = (75%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text fixationStart>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_1>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_2>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_3>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_4>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text exit>
/ items = ("<Premiamo il tasto per uscire>")
/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ size = (80%, 5%)
/ vjustify = center
</text>

<expressions>
/buttoninstruct1 = if (computer.touch && !computer.haskeyboard) {"response button";}
else {
"un tasto";}
/buttoninstruct2 = if (computer.touch && !computer.haskeyboard) {"button";}
else {
"un altro tasto";}
/buttoninstruct3 = if (computer.touch && !computer.haskeyboard) {"Le chiadiamo di posizionare le dita della mano sinistra e della mano destra sulla tastiera, e di premere un dei tasto per cominciare";}
else {
"Le chiediamo di posizionare l'indice della mano sinistra e l'indice della mano destra sulla tastiera e premere uno dei due tasti colorati per iniziare.";}
</expressions>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE STIMULI
**************************************************************************************************************
**************************************************************************************************************
****************************
Test
****************************

<list test_itemnumbers_1>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_1>
/1="F01_P20.JPG"
/2="F06_P30.JPG"
/3="F01_P40.JPG"
/4="F07_P50.JPG"
/5="F07_P60.JPG"
/6="F02_P70.JPG"
/7="F02_P80.JPG"
/8="F03_P20.JPG"
/9="F08_P30.JPG"
/10="F03_P40.JPG"
/11="F09_P50.JPG"
/12="F09_P60.JPG"
/13="F04_P70.JPG"
/14="F04_P80.JPG"
/15="F10_P20.JPG"
/16="F05_P30.JPG"
/17="F10_P40.JPG"
/18="F06_F50.JPG"
/19="F01_F60.JPG"
/20="F01_F70.JPG"
/21="F06_F80.JPG"
/22="F02_F20.JPG"
/23="F07_F30.JPG"
/24="F02_F40.JPG"
/25="F08_F50.JPG"
/26="F03_F60.JPG"
/27="F03_F70.JPG"
/28="F08_F80.JPG"
/29="F09_F20.JPG"
/30="F04_F30.JPG"
/31="F09_F40.JPG"
/32="F10_F50.JPG"
/33="F10_F60.JPG"
/34="F10_F70.JPG"
/35="F05_F80.JPG"
/36="M06_P20.JPG"
/37="M01_P30.JPG"
/38="M06_P40.JPG"
/39="M07_P50.JPG"
/40="M07_P60.JPG"
/41="M07_P70.JPG"
/42="M02_P80.JPG"
/43="M08_P20.JPG"
/44="M03_P30.JPG"
/45="M08_P40.JPG"
/46="M04_P50.JPG"
/47="M09_P60.JPG"
/48="M09_P70.JPG"
/49="M04_P80.JPG"
/50="M05_P20.JPG"
/51="M10_P30.JPG"
/52="M05_P40.JPG"
/53="M01_F50.JPG"
/54="M06_F60.JPG"
/55="M06_F70.JPG"
/56="M01_F80.JPG"
/57="M02_F20.JPG"
/58="M07_F30.JPG"
/59="M02_F40.JPG"
/60="M08_F50.JPG"
/61="M03_F60.JPG"
/62="M03_F70.JPG"
/63="M08_F80.JPG"
/64="M04_F50.JPG"
/65="M09_F60.JPG"
/66="M09_F70.JPG"
/67="M09_F80.JPG"
/68="M10_F20.JPG"
/69="M05_F30.JPG"
/70="M10_F40.JPG"
/71="F06_P0.JPG"
/72="F01_P100.JPG"
/73="F02_P10.JPG"
/74="F07_P90.JPG"
/75="F08_P0.JPG"
/76="F03_P100.JPG"
/77="F04_P10.JPG"
/78="F09_P90.JPG"
/79="F10_P0.JPG"
/80="F05_P100.JPG"
/81="F01_F10.JPG"
/82="F06_F90.JPG"
/83="F07_F0.JPG"
/84="F02_F100.JPG"
/85="F03_F10.JPG"
/86="F08_F90.JPG"
/87="F09_F0.JPG"
/88="F04_F100.JPG"
/89="F05_F10.JPG"
/90="F10_F90.JPG"
/91="M06_P0.JPG"
/92="M01_P100.JPG"
/93="M02_P10.JPG"
/94="M07_P90.JPG"
/95="M08_P0.JPG"
/96="M03_P100.JPG"
/97="M04_P10.JPG"
/98="M09_P90.JPG"
/99="M05_P0.JPG"
/100="M10_P100.JPG"
/101="M01_F10.JPG"
/102="M06_F90.JPG"
/103="M07_F0.JPG"
/104="M02_F100.JPG"
/105="M03_F10.JPG"
/106="M08_F90.JPG"
/107="M09_F0.JPG"
/108="M04_F100.JPG"
/109="M10_F10.JPG"
/110="M05_F90.JPG"
</item>

<item correctButton_test_1>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>


<list test_itemnumbers_2>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_2>
/1="F06_P20.JPG"
/2="F01_P30.JPG"
/3="F06_P40.JPG"
/4="F02_P50.JPG"
/5="F02_P60.JPG"
/6="F07_P70.JPG"
/7="F07_P80.JPG"
/8="F08_P20.JPG"
/9="F03_P30.JPG"
/10="F08_P40.JPG"
/11="F04_P50.JPG"
/12="F04_P60.JPG"
/13="F09_P70.JPG"
/14="F09_P80.JPG"
/15="F05_P20.JPG"
/16="F10_P30.JPG"
/17="F05_P40.JPG"
/18="F01_F50.JPG"
/19="F06_F60.JPG"
/20="F06_F70.JPG"
/21="F01_F80.JPG"
/22="F07_F20.JPG"
/23="F02_F30.JPG"
/24="F07_F40.JPG"
/25="F03_F50.JPG"
/26="F08_F60.JPG"
/27="F08_F70.JPG"
/28="F03_F80.JPG"
/29="F04_F20.JPG"
/30="F09_F30.JPG"
/31="F04_F40.JPG"
/32="F05_F50.JPG"
/33="F05_F60.JPG"
/34="F05_F70.JPG"
/35="F10_F80.JPG"
/36="M01_P20.JPG"
/37="M06_P30.JPG"
/38="M01_P40.JPG"
/39="M02_P50.JPG"
/40="M02_P60.JPG"
/41="M02_P70.JPG"
/42="M07_P80.JPG"
/43="M03_P20.JPG"
/44="M08_P30.JPG"
/45="M03_P40.JPG"
/46="M09_P50.JPG"
/47="M04_P60.JPG"
/48="M04_P70.JPG"
/49="M09_P80.JPG"
/50="M10_P20.JPG"
/51="M05_P30.JPG"
/52="M10_P40.JPG"
/53="M06_F50.JPG"
/54="M01_F60.JPG"
/55="M01_F70.JPG"
/56="M06_F80.JPG"
/57="M07_F20.JPG"
/58="M02_F30.JPG"
/59="M07_F40.JPG"
/60="M03_F50.JPG"
/61="M08_F60.JPG"
/62="M08_F70.JPG"
/63="M03_F80.JPG"
/64="M09_F50.JPG"
/65="M04_F60.JPG"
/66="M04_F70.JPG"
/67="M04_F80.JPG"
/68="M05_F20.JPG"
/69="M10_F30.JPG"
/70="M05_F40.JPG"
/71="F06_P10.JPG"
/72="F01_P90.JPG"
/73="F02_P0.JPG"
/74="F07_P100.JPG"
/75="F08_P10.JPG"
/76="F03_P90.JPG"
/77="F04_P0.JPG"
/78="F09_P100.JPG"
/79="F10_P10.JPG"
/80="F05_P90.JPG"
/81="F01_F0.JPG"
/82="F06_F100.JPG"
/83="F07_F10.JPG"
/84="F02_F90.JPG"
/85="F03_F0.JPG"
/86="F08_F100.JPG"
/87="F09_F10.JPG"
/88="F04_F90.JPG"
/89="F05_F0.JPG"
/90="F10_F100.JPG"
/91="M06_P10.JPG"
/92="M01_P90.JPG"
/93="M02_P0.JPG"
/94="M07_P100.JPG"
/95="M08_P10.JPG"
/96="M03_P90.JPG"
/97="M04_P0.JPG"
/98="M09_P100.JPG"
/99="M05_P10.JPG"
/100="M10_P90.JPG"
/101="M01_F0.JPG"
/102="M06_F100.JPG"
/103="M07_F10.JPG"
/104="M02_F90.JPG"
/105="M03_F0.JPG"
/106="M08_F100.JPG"
/107="M09_F10.JPG"
/108="M04_F90.JPG"
/109="M10_F0.JPG"
/110="M05_F100.JPG"
</item>

<item correctButton_test_2>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>

<list test_itemnumbers_3>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_3>
/1="F01_P50.JPG"
/2="F01_P60.JPG"
/3="F06_P70.JPG"
/4="F06_P80.JPG"
/5="F02_P20.JPG"
/6="F07_P30.JPG"
/7="F02_P40.JPG"
/8="F08_P50.JPG"
/9="F03_P60.JPG"
/10="F03_P70.JPG"
/11="F08_P80.JPG"
/12="F04_P20.JPG"
/13="F09_P30.JPG"
/14="F04_P40.JPG"
/15="F05_P50.JPG"
/16="F10_P60.JPG"
/17="F10_P70.JPG"
/18="F05_P80.JPG"
/19="F06_F20.JPG"
/20="F01_F30.JPG"
/21="F06_F40.JPG"
/22="F07_F50.JPG"
/23="F02_F60.JPG"
/24="F02_F70.JPG"
/25="F07_F80.JPG"
/26="F03_F20.JPG"
/27="F08_F30.JPG"
/28="F03_F40.JPG"
/29="F09_F50.JPG"
/30="F09_F60.JPG"
/31="F09_F70.JPG"
/32="F04_F80.JPG"
/33="F10_F20.JPG"
/34="F05_F30.JPG"
/35="F10_F40.JPG"
/36="M06_P50.JPG"
/37="M06_P60.JPG"
/38="M06_P70.JPG"
/39="M01_P80.JPG"
/40="M07_P20.JPG"
/41="M02_P30.JPG"
/42="M07_P40.JPG"
/43="M03_P50.JPG"
/44="M08_P60.JPG"
/45="M08_P70.JPG"
/46="M03_P80.JPG"
/47="M09_P20.JPG"
/48="M04_P30.JPG"
/49="M09_P40.JPG"
/50="M10_P50.JPG"
/51="M05_P60.JPG"
/52="M05_P70.JPG"
/53="M10_P80.JPG"
/54="M01_F20.JPG"
/55="M06_F30.JPG"
/56="M01_F40.JPG"
/57="M02_F50.JPG"
/58="M07_F60.JPG"
/59="M07_F70.JPG"
/60="M02_F80.JPG"
/61="M03_F20.JPG"
/62="M08_F30.JPG"
/63="M03_F40.JPG"
/64="M04_F20.JPG"
/65="M09_F30.JPG"
/66="M04_F40.JPG"
/67="M05_F50.JPG"
/68="M10_F60.JPG"
/69="M10_F70.JPG"
/70="M05_F80.JPG"
/71="F01_P10.JPG"
/72="F06_P90.JPG"
/73="F07_P0.JPG"
/74="F02_P100.JPG"
/75="F03_P10.JPG"
/76="F08_P90.JPG"
/77="F09_P0.JPG"
/78="F04_P100.JPG"
/79="F05_P10.JPG"
/80="F10_P90.JPG"
/81="F06_F0.JPG"
/82="F01_F100.JPG"
/83="F02_F10.JPG"
/84="F07_F90.JPG"
/85="F08_F0.JPG"
/86="F03_F100.JPG"
/87="F04_F10.JPG"
/88="F09_F90.JPG"
/89="F10_F0.JPG"
/90="F05_F100.JPG"
/91="M01_P10.JPG"
/92="M06_P90.JPG"
/93="M07_P0.JPG"
/94="M02_P100.JPG"
/95="M03_P10.JPG"
/96="M08_P90.JPG"
/97="M09_P0.JPG"
/98="M04_P100.JPG"
/99="M10_P10.JPG"
/100="M05_P90.JPG"
/101="M06_F0.JPG"
/102="M01_F100.JPG"
/103="M02_F10.JPG"
/104="M07_F90.JPG"
/105="M08_F0.JPG"
/106="M03_F100.JPG"
/107="M04_F10.JPG"
/108="M09_F90.JPG"
/109="M05_F0.JPG"
/110="M10_F100.JPG"
</item>

<item correctButton_test_3>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>


<list test_itemnumbers_4>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
</list>

<item pics_test_4>
/1="F06_P50.JPG"
/2="F06_P60.JPG"
/3="F01_P70.JPG"
/4="F01_P80.JPG"
/5="F07_P20.JPG"
/6="F02_P30.JPG"
/7="F07_P40.JPG"
/8="F03_P50.JPG"
/9="F08_P60.JPG"
/10="F08_P70.JPG"
/11="F03_P80.JPG"
/12="F09_P20.JPG"
/13="F04_P30.JPG"
/14="F09_P40.JPG"
/15="F10_P50.JPG"
/16="F05_P60.JPG"
/17="F05_P70.JPG"
/18="F10_P80.JPG"
/19="F01_F20.JPG"
/20="F06_F30.JPG"
/21="F01_F40.JPG"
/22="F02_F50.JPG"
/23="F07_F60.JPG"
/24="F07_F70.JPG"
/25="F02_F80.JPG"
/26="F08_F20.JPG"
/27="F03_F30.JPG"
/28="F08_F40.JPG"
/29="F04_F50.JPG"
/30="F04_F60.JPG"
/31="F04_F70.JPG"
/32="F09_F80.JPG"
/33="F05_F20.JPG"
/34="F10_F30.JPG"
/35="F05_F40.JPG"
/36="M01_P50.JPG"
/37="M01_P60.JPG"
/38="M01_P70.JPG"
/39="M06_P80.JPG"
/40="M02_P20.JPG"
/41="M07_P30.JPG"
/42="M02_P40.JPG"
/43="M08_P50.JPG"
/44="M03_P60.JPG"
/45="M03_P70.JPG"
/46="M08_P80.JPG"
/47="M04_P20.JPG"
/48="M09_P30.JPG"
/49="M04_P40.JPG"
/50="M05_P50.JPG"
/51="M10_P60.JPG"
/52="M10_P70.JPG"
/53="M05_P80.JPG"
/54="M06_F20.JPG"
/55="M01_F30.JPG"
/56="M06_F40.JPG"
/57="M07_F50.JPG"
/58="M02_F60.JPG"
/59="M02_F70.JPG"
/60="M07_F80.JPG"
/61="M08_F20.JPG"
/62="M03_F30.JPG"
/63="M08_F40.JPG"
/64="M09_F20.JPG"
/65="M04_F30.JPG"
/66="M09_F40.JPG"
/67="M10_F50.JPG"
/68="M05_F60.JPG"
/69="M05_F70.JPG"
/70="M10_F80.JPG"
/71="F01_P0.JPG"
/72="F06_P100.JPG"
/73="F07_P10.JPG"
/74="F02_P90.JPG"
/75="F03_P0.JPG"
/76="F08_P100.JPG"
/77="F09_P10.JPG"
/78="F04_P90.JPG"
/79="F05_P0.JPG"
/80="F10_P100.JPG"
/81="F06_F10.JPG"
/82="F01_F90.JPG"
/83="F02_F0.JPG"
/84="F07_F100.JPG"
/85="F08_F10.JPG"
/86="F03_F90.JPG"
/87="F04_F0.JPG"
/88="F09_F100.JPG"
/89="F10_F10.JPG"
/90="F05_F90.JPG"
/91="M01_P0.JPG"
/92="M06_P100.JPG"
/93="M07_P10.JPG"
/94="M02_P90.JPG"
/95="M03_P0.JPG"
/96="M08_P100.JPG"
/97="M09_P10.JPG"
/98="M04_P90.JPG"
/99="M10_P0.JPG"
/100="M05_P100.JPG"
/101="M06_F10.JPG"
/102="M01_F90.JPG"
/103="M02_F0.JPG"
/104="M07_F100.JPG"
/105="M08_F10.JPG"
/106="M03_F90.JPG"
/107="M04_F0.JPG"
/108="M09_F100.JPG"
/109="M05_F10.JPG"
/110="M10_F90.JPG"
</item>

<item correctButton_test_4>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>

**************************************************************************************************************
**************************************************************************************************************
DEFAULTS
**************************************************************************************************************
**************************************************************************************************************
script requires Inquisit 6.5.2.0 or higher

<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "6.5.2.0"
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/txbgcolor = transparent
/txcolor = black
/screencolor = white
/inputdevice = keyboard
</defaults>

**************************************************************************************************************
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************

Note: data file explanations under User Manual Information at the top

To change from one data file per participant to one data file for all participants, set
/separatefiles = false

***********************
raw data file
***********************
<data>
/ separatefiles = true
/ columns = (date, time, subject, group, session, blockcode, blocknum, trialcode, values.fixationStart, values.clearscreen, values.keyAssignment, values.selectStim, stimulusitem, stimulusitem, values.correctButton, response, responsetext, correct, latency)
</data>

***********************
summary data file
***********************
<summarydata>
/ columns = (inquisit.version, computer.platform, script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid,
script.elapsedtime, script.completed,
values.keyAssignment,
expressions.ACC_all,
expressions.meanRT_all)
/ separatefiles = true
</summarydata>


**************************************************************************************************************
**************************************************************************************************************
VALUES: automatically updated
**************************************************************************************************************
**************************************************************************************************************

/countTestBlocks: counts number of test blocks
/skipReadyTrial: 0 = run ready trial; 1 = skip ready trial

<values>
/countTestBlocks = 0
/selectStim = 1
/correctButton = ""
/fixationStart = parameters.fixationStart
/clearscreen = parameters.clearscreen
/keyAssignment = "leftYES"
/spacekey = parameters.spacekey
/YESkey = parameters.leftresponsekey
/NOkey = parameters.rightresponsekey
</values>

/ACC_practice: stores the proportion correct of the current practice run

<values>
/ACC_practice = 0
</values>

**************************************************************************************************************
**************************************************************************************************************
EXPRESSIONS
**************************************************************************************************************
**************************************************************************************************************
/shadowSize: size of shadow text

/ACC_all: proportion correct overall (across all test trials)
/meanRT_all: mean correct latency (in ms) overall

/ACC_FACE: proportion correct in "FACE" block
/ACC_congruent: proportion correct in "congruent" pairings trials (across test blocks)
/ACC_incongruent: proportion correct in "incongruent" pairings trials (across test blocks)

/meanRT_FACE: mean correct latency (in ms) in "FACE" block
/meanRT_congruent: mean correct latency (in ms) in "congruent" pairings trials (across test blocks)
/meanRT_incongruent: mean correct latency (in ms) in "incongruent" pairings trials (across test blocks)

<expressions>
/ACC_all = list.accuracy.mean
/meanRT_all = list.latencies.mean
</expressions>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************

<text intro>
/ items = instructions
/ select = 1
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text break>
/ items = instructions
/ select = 2
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text end>
/ items = instructions
/ select = 3
/ position = (50%, 50%)
/ fontstyle = ("Arial", 8%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text continueButton_intro>
/ items = continueButtons
/ select = text.intro.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = transparent
</text>

<text continueButton_break>
/ items = continueButtons
/ select = text.break.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = transparent
</text>

<text continueButton_Pnd>
/ items = continueButtons
/ select = text.end.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = red
</text>

***********************
Instruction Trials
***********************

<trial introtest>
/ inputdevice = keyboard
/ stimulusframes = [1 = intro, continueButton_intro]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial break>
/ inputdevice = keyboard
/ stimulusframes = [1 = break, continueButton_break]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial finish>
/ inputdevice = keyboard
/ skip = [
values.countTestBlocks == 1;
]
/ stimulusframes = [1 = clearscreen, end, exit]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial fixationStart>
/ stimulusframes = [1 = fixationStart]
/ trialduration = parameters.fixationStart
/ validresponse = (0)
/ recorddata = false
</trial>

**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************

<picture Pic_test_1>
/items = item.pics_test_1
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_2>
/items = item.pics_test_2
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_3>
/items = item.pics_test_3
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_4>
/items = item.pics_test_4
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************

*************************************************
Data Lists: used for descriptive statistics
store correct latencies/accuracy data
fill up during runtime
*************************************************

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracy>
</list>

Note: list stores the latency of correct responses for each relevant trial
<list latencies>
</list>

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracytest>
</list>

**************************************************************************************************************
**************************************************************************************************************
TRIALS: test
**************************************************************************************************************
**************************************************************************************************************

trial test_1>
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_1.nextvalue;
values.correctButton = item.correctButton_test_1.item(values.selectStim);
]
/ stimulusframes = [1 = clearscreen; 2 = ]
/ response = noresponse
/ trialduration = 350
</trial>

trial test_2>
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_2.nextvalue;
values.correctButton = item.correctButton_test_2.item(values.selectStim);
]
/ stimulusframes = [1 = clearscreen; 2 = Pic_test_2]
/ response = noresponse
/ trialduration = 350
</trial>

<trial fixationResp_1>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_1.nextvalue;
values.correctButton = item.correctButton_test_1.item(values.selectStim);
     trial.fixationResp_1.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_1; 350 = clearscreen, fixationResp_1]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_1.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_1.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_1.correct);
if (trial.fixationResp_1.correct) {
list.latencies.appendItem(trial.fixationResp_1.latency);
list.latencies.appendItem(trial.fixationResp_1.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_2>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_2.nextvalue;
values.correctButton = item.correctButton_test_2.item(values.selectStim);
     trial.fixationResp_2.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_2; 350 = clearscreen, fixationResp_2]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_2.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_2.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_2.correct);
if (trial.fixationResp_2.correct) {
list.latencies.appendItem(trial.fixationResp_2.latency);
list.latencies.appendItem(trial.fixationResp_2.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_3>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_3.nextvalue;
values.correctButton = item.correctButton_test_3.item(values.selectStim);
     trial.fixationResp_3.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_3; 350 = clearscreen, fixationResp_3]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_3.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_3.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_3.correct);
if (trial.fixationResp_3.correct) {
list.latencies.appendItem(trial.fixationResp_3.latency);
list.latencies.appendItem(trial.fixationResp_3.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_4>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_4.nextvalue;
values.correctButton = item.correctButton_test_4.item(values.selectStim);
     trial.fixationResp_4.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_4; 350 = clearscreen, fixationResp_4]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_4.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_4.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_4.correct);
if (trial.fixationResp_4.correct) {
list.latencies.appendItem(trial.fixationResp_4.latency);
list.latencies.appendItem(trial.fixationResp_4.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : helper trials
**************************************************************************************************************
**************************************************************************************************************

trial ITI>
/ stimulusframes = [1 = clearscreen]

//touchscreens: present inactive response buttons
// validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ isvalidresponse = [
return(false);
]
/ recorddata = false
/ trialduration = parameters.ITI
</trial>

**************************************************************************************************************
**************************************************************************************************************
BLOCKS
**************************************************************************************************************
**************************************************************************************************************

<block testStart>
/ trials = [1 = introtest]
/ onblockbegin = [
list.accuracy.reset();
list.latencies.reset();
]
</block>

<block fixationStart>
/ trials = [1 = fixationStart]
</block>

<block test_1>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_1
    ]
</block>

<block test_2>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_2
]
</block>

<block test_3>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_3
    ]
</block>

<block test_4>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_4
]
</block>

<block break>
/ trials = [1 = break]
</block>

<block finish>
/ trials = [1 = finish]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
<expt>
/ onexptbegin = [
if (computer.touch && !computer.haskeyboard) {
text.continueButton_Pnd.skip = true;
text.continueButton_intro.skip = true;
         text.continueButton_break.skip = true;
};]

/ blocks = [
    1 = testStart;
    2 = fixationStart;
    3 = test_1;
    4 = break;
    5 = fixationStart;
    6 = test_2;
    7 = break;
    8 = fixationStart;
    9 = test_3;
    10 = break;
    11 = fixationStart;
    12 = test_4;
    13 = finish;
]
</expt>

<monkey>
/ latencydistribution = normal(50, 20)
</monkey>

**************************************************************************************************************
End of File
**************************************************************************************************************

There is a "pause" because your trials have a fixed duration.
https://www.millisecond.com/support/docs/v6/html/language/attributes/trialduration.htm
If you want a max duration only, use /timeout instead.
https://www.millisecond.com/support/docs/v6/html/language/attributes/timeout.htm

In general, you need to internalize https://www.millisecond.com/support/docs/v6/html/howto/howtocontroltiming.htm to understand how trials work.
Good evening.
In fixationResp trial of this code I'd like the stimuli stay on the screen after I respond.
I took "/responseinterrupt" away from the script and "erase" from text/stimuli, but when I respond to the trial the stimuli are erased right away and the script goes to the next trial.

Thank you in advance.
Best.


[code]**************************************************************************************************************
**************************************************************************************************************
EDITABLE PARAMETERS: change editable parameters here
**************************************************************************************************************
**************************************************************************************************************

<parameters>
/clearscreen = 50
/fixationStart = 3000
/picsize = 60%
/top_y = 55%
/bottom_y = 55%
/leftresponsekey = "Z" //lo stampino con la SÌ va messo sulla Z
/rightresponsekey = "M" //lo stampino con la NO va messo sulla M
/spacekey = "BARRA SPAZIATRICE"
</parameters>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE INSTRUCTIONS: change instructions here
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
</instruct>


<item instructions>
/1 = "Adesso farà una prova per familiarizzare con il compito.
Le compariranno dei volti che possono esprimere un'emozione, oppure no.
Le verrà chiesto di premere il tasto SÌ se il volto presentato esprime un'emozione; al contrario, prema il tasto NO se il volto non esprime un'emozione.
Le ricordiamo di premere il più velocemente possibile."

/2 = "Fine della prova.
Se vuole possiamo ripetere la prova."
</item>

<item continueButtons>
/1 = "Premiamo il tasto per iniziare"
/2 = "STOP"
</item>

<text YESButton_instruct>
/ items = ("YES = Prema SÌ")
/ position = (25%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text NOButton_instruct>
/ items = ("NO = Prema NO")
/ position = (75%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text fixationStart>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixation>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text exit>
/ items = ("<Premiamo il tasto indicato per uscire>")
/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ size = (80%, 5%)
/ vjustify = center
</text>

<expressions>
/buttoninstruct1 = if (computer.touch && !computer.haskeyboard) {"response button";}
else {
"un tasto";}
/buttoninstruct2 = if (computer.touch && !computer.haskeyboard) {"button";}
else {
"un altro tasto";}
/buttoninstruct3 = if (computer.touch && !computer.haskeyboard) {"Le chiadiamo di posizionare le dita della mano sinistra e della mano destra sulla tastiera, e di premere un dei tasto per cominciare";}
else {
"Le chiediamo di posizionare l'indice della mano sinistra e l'indice della mano destra sulla tastiera e premere uno dei due tasti corrispondenti per iniziare.";}
</expressions>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE STIMULI
**************************************************************************************************************
**************************************************************************************************************
********************************************
practice
********************************************

<list practice_itemnumbers>
/ items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
/ replace = false
/ resetinterval = 0
</list>

<item pics_practice>
/1= "F11_F20.JPG"
/2= "F11_F30.JPG"
/3 = "F11_F40.JPG"
/4 = "F11_F50.JPG"
/5 = "F11_F60.JPG"
/6 = "F11_F70.JPG"
/7 = "F11_F80.JPG"
/8 = "F11_F90.JPG"
/9 = "F11_F100.JPG"
/10 = "F11_F0.JPG"
/11 = "F11_F10.JPG"
/12 = "M11_F20.JPG"
/13 = "M11_F30.JPG"
/14 = "M11_F40.JPG"
/15 = "M11_F50.JPG"
/16 = "M11_F60.JPG"
/17 = "M11_F70.JPG"
/18 = "M11_F80.JPG"
/19 = "M11_F90.JPG"
/20 = "M11_F100.JPG"
/21 = "M11_F0.JPG"
/22 = "M11_F10.JPG"
/23 = "F11_P20.JPG"
/24 = "F11_P30.JPG"
/25 = "F11_P40.JPG"
/26 = "F11_P50.JPG"
/27 = "F11_P60.JPG"
/28 = "F11_P70.JPG"
/29 = "F11_P80.JPG"
/30 = "F11_P90.JPG"
/31 = "F11_P100.JPG"
/32 = "F11_P0.JPG"
/33 = "F11_P10.JPG"
/34 = "M11_F20.JPG"
/35 = "M11_P30.JPG"
/36 = "M11_P40.JPG"
/37 = "M11_P50.JPG"
/38 = "M11_P60.JPG"
/39 = "M11_P70.JPG"
/40 = "M11_P80.JPG"
/41 = "M11_P90.JPG"
/42 = "M11_P100.JPG"
/43 = "M11_P0.JPG"
/44 = "M11_P10.JPG"
</item>

<item correctButton_practice>
/1 = "YESButton"
/2 = "YESButton"
/3 = "YESButton"
/4 = "YESButton"
/5 = "YESButton"
/6 = "YESButton"
/7 = "YESButton"
/8 = "YESButton"
/9 = "YESButton"
/10 = "NOButton"
/11 = "NOButton"
/12 = "YESButton"
/13 = "YESButton"
/14 = "YESButton"
/15 = "YESButton"
/16 = "YESButton"
/17 = "YESButton"
/18 = "YESButton"
/19 = "YESButton"
/20 = "YESButton"
/21 = "NOButton"
/22 = "NOButton"
/23 = "YESButton"
/24 = "YESButton"
/25 = "YESButton"
/26 = "YESButton"
/27 = "YESButton"
/28 = "YESButton"
/29 = "YESButton"
/30 = "YESButton"
/31 = "YESButton"
/32 = "NOButton"
/33 = "NOButton"
/34 = "YESButton"
/35 = "YESButton"
/36 = "YESButton"
/37 = "YESButton"
/38 = "YESButton"
/39 = "YESButton"
/40 = "YESButton"
/41 = "YESButton"
/42 = "YESButton"
/43 = "NOButton"
/44 = "NOButton"
</item>

**************************************************************************************************************
**************************************************************************************************************
DEFAULTS
**************************************************************************************************************
**************************************************************************************************************
script requires Inquisit 6.5.2.0 or higher

<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "6.5.2.0"
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/txbgcolor = transparent
/txcolor = black
/screencolor = white
/inputdevice = keyboard
</defaults>

**************************************************************************************************************
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************

Note: data file explanations under User Manual Information at the top

To change from one data file per participant to one data file for all participants, set
/separatefiles = false

***********************
raw data file
***********************
<data>
/ separatefiles = true
/ columns = (date, time, subject, group, session, blockcode, blocknum, trialcode, values.fixationStart, values.clearscreen, values.keyAssignment, values.selectStim, stimulusitem, stimulusitem, values.correctButton, response, responsetext, correct, latency)
</data>,

***********************
summary data file
***********************
<summarydata>
/ columns = (inquisit.version, computer.platform, script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid,
script.elapsedtime, script.completed,
values.keyAssignment,
values.ACC_practice,
values.practiceRuns,
expressions.ACC_all,
expressions.meanRT_all)
/ separatefiles = true
</summarydata>

**************************************************************************************************************
**************************************************************************************************************
VALUES: automatically updated
**************************************************************************************************************
**************************************************************************************************************

/countTestBlocks: counts number of test blocks

<values>
/countTestBlocks = 0
/selectStim = 1
/correctButton = ""
/practiceRuns = 0
/fixationStart = parameters.fixationStart
/clearscreen = parameters.clearscreen
/keyAssignment = "leftYES"
/spacekey = parameters.spacekey
/YESkey = parameters.leftresponsekey
/NOkey = parameters.rightresponsekey
</values>

/ACC_practice: stores the proportion correct of the current practice run

<values>
/ACC_practice = 0
</values>

**************************************************************************************************************
**************************************************************************************************************
EXPRESSIONS
**************************************************************************************************************
**************************************************************************************************************
/shadowSize: size of shadow text

/ACC_all: proportion correct overall (across all test trials)
/meanRT_all: mean correct latency (in ms) overall

/ACC_FACE: proportion correct in "FACE" block
/ACC_congruent: proportion correct in "congruent" pairings trials (across test blocks)
/ACC_incongruent: proportion correct in "incongruent" pairings trials (across test blocks)

/meanRT_FACE: mean correct latency (in ms) in "FACE" block
/meanRT_congruent: mean correct latency (in ms) in "congruent" pairings trials (across test blocks)
/meanRT_incongruent: mean correct latency (in ms) in "incongruent" pairings trials (across test blocks)

<expressions>
/ACC_all = list.accuracy.mean
/meanRT_all = list.latencies.mean
</expressions>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************

<text intro>
/ items = instructions
/ select = 1
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text end>
/ items = instructions
/ select = 2
/ position = (50%, 50%)
/ fontstyle = ("Arial", 8%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text continueButton_intro>
/ items = continueButtons
/ select = text.intro.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = transparent
</text>

<text continueButton_Pnd>
/ items = continueButtons
/ select = text.end.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = red
</text>

***********************
Instruction Trials
***********************

<trial practiceStart>
/ inputdevice = keyboard
/ stimulusframes = [1 = intro, continueButton_intro]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial finish>
/ inputdevice = keyboard
/ skip = [
values.countTestBlocks == 1;
]
/ stimulusframes = [1 = clearscreen, end, exit]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial fixationStart>
/ stimulusframes = [1 = fixationStart]
/ trialduration = parameters.fixationStart
/ validresponse = (0)
/ recorddata = false
</trial>

**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************

<picture Pic_practice>
/ items = item.pics_practice
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************

*************************************************
Data Lists: used for descriptive statistics
store correct latencies/accuracy data
fill up during runtime
*************************************************

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracy>
</list>

Note: list stores the latency of correct responses for each relevant trial
<list latencies>
</list>

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracytest>
</list>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : practice
**************************************************************************************************************
**************************************************************************************************************

trial fixation>
/ stimulustimes = [0 = fixation, clearscreen]
/ response = noresponse
/ recorddata = false
/ timeout = 650
</trial>

<trial fixationResp>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.practice_itemnumbers.nextvalue;
values.correctButton = item.correctButton_practice.item(values.selectStim);
]
/ stimulustimes = [0 = Pic_practice; 350 = clearscreen, fixationResp]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ timeout = 1850
// trialduration = 1850
/ posttrialpause = parameters.clearscreen
/ ontrialend = [ list.accuracy.appendItem(trial.fixationResp.correct);
values.ACC_practice = list.accuracy.mean;]
</trial>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : helper trials
**************************************************************************************************************
**************************************************************************************************************

trial ITI>
/ stimulusframes = [1 = fixation]
// validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ isvalidresponse = [
return(false);
]
/ recorddata = false
/ trialduration = 650
</trial>

**************************************************************************************************************
**************************************************************************************************************
BLOCKS
**************************************************************************************************************
**************************************************************************************************************

<block practiceIntro>
/ trials = [1 = practiceStart]
</block>

<block fixationStart>
/ trials = [1 = fixationStart]
</block>

<block practice>
/ onblockbegin = [
list.accuracy.reset();
list.latencies.reset();
values.practiceRuns += 1;
]
// trials = sequence [1 - 43 = fixation, fixationResp]
/trials = [
1 -43 = fixationResp
]
</block>

<block finish>
/ trials = [1 = finish]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
<expt>
/ onexptbegin = [
if (computer.touch && !computer.haskeyboard) {
text.continueButton_Pnd.skip = true;
text.continueButton_intro.skip = true;
};]

/ blocks = [
1 = practiceIntro;
2 = fixationStart;
3 = practice;
4 = finish;
]
</expt>

<monkey>
/ latencydistribution = normal(50, 20)
</monkey>

**************************************************************************************************************
End of File
**************************************************************************************************************
[/code]

If you want stimuli to remain on-screen, you need to set /erase = false for all stimuli displayed by the trial, not "take away" /erase.
Obviously I didn't type "take away" in the script. You can read it through the script actually.
As I already told you, I did the /erase cmmand, but perhaps only in one of the stimuli.
could it be the issue?


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: 13K, Visits: 107K
Igor Iarrobino - 3/17/2025
Dave - 3/11/2025
Igor Iarrobino - 3/11/2025
Hi Dave. I hope you're ok.
I'm writing you again because I don't understand a thing in the following script.

I like how it is now, because I just have pic and fixation, pic and fixation and so on
But, I don't get why a trial is followed smoothly  by the following one when I don't respond (I mean from the fixation to the next pic, that is the beginning of the next trial); instead, if I press the button (respond) I have like a little pause between those trial (like a crealscreen).
I did put "no posttrial pause" after response trial and no ITI between the trials, but it doesn't work like I'd like to: so to have a smooth transition between one trial and the next one (from fixation to pic) even though I respond.

I hope I was clear and I thank you beforehand.
Regards

**************************************************************************************************************
**************************************************************************************************************
EDITABLE PARAMETERS: change editable parameters here
**************************************************************************************************************
**************************************************************************************************************

<parameters>
/clearscreen = 50
/fixationStart = 3000
/picsize = 60%
/top_y = 55%
/bottom_y = 55%
/leftresponsekey = "Z" //lo stampino con la SÌ va messo sulla Z
/rightresponsekey = "M" //lo stampino con la NO va messo sulla M
/spacekey = "BARRA SPAZIATRICE"
</parameters>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE INSTRUCTIONS: change instructions here
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
</instruct>

<item instructions>
/1 = "Adesso inizia il compito.
Le compariranno dei volti che possono esprimere un'emozione, oppure no.
Le verrà chiesto di premere il tasto SÌ se il volto presentato esprime un'emozione; al contrario, prema il tasto NO se il volto non esprime un'emozione.
Le ricordiamo di premere il più velocemente possibile."

/2 = "Adesso Lei farà una breve pausa.
Premiamo il tasto per ricominciare"

/3 = "Fine della prova."
</item>

<item continueButtons>
/1 = "Premiamo il tasto per iniziare"
/2 = "Premiamo il tasto per continuare"
/3 = "STOP"
</item>

<text YESButton_instruct>
/ items = ("YES = Prema SÌ")
/ position = (25%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text NOButton_instruct>
/ items = ("NO = Prema NO")
/ position = (75%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text fixationStart>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_1>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_2>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_3>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_4>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text exit>
/ items = ("<Premiamo il tasto per uscire>")
/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ size = (80%, 5%)
/ vjustify = center
</text>

<expressions>
/buttoninstruct1 = if (computer.touch && !computer.haskeyboard) {"response button";}
else {
"un tasto";}
/buttoninstruct2 = if (computer.touch && !computer.haskeyboard) {"button";}
else {
"un altro tasto";}
/buttoninstruct3 = if (computer.touch && !computer.haskeyboard) {"Le chiadiamo di posizionare le dita della mano sinistra e della mano destra sulla tastiera, e di premere un dei tasto per cominciare";}
else {
"Le chiediamo di posizionare l'indice della mano sinistra e l'indice della mano destra sulla tastiera e premere uno dei due tasti colorati per iniziare.";}
</expressions>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE STIMULI
**************************************************************************************************************
**************************************************************************************************************
****************************
Test
****************************

<list test_itemnumbers_1>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_1>
/1="F01_P20.JPG"
/2="F06_P30.JPG"
/3="F01_P40.JPG"
/4="F07_P50.JPG"
/5="F07_P60.JPG"
/6="F02_P70.JPG"
/7="F02_P80.JPG"
/8="F03_P20.JPG"
/9="F08_P30.JPG"
/10="F03_P40.JPG"
/11="F09_P50.JPG"
/12="F09_P60.JPG"
/13="F04_P70.JPG"
/14="F04_P80.JPG"
/15="F10_P20.JPG"
/16="F05_P30.JPG"
/17="F10_P40.JPG"
/18="F06_F50.JPG"
/19="F01_F60.JPG"
/20="F01_F70.JPG"
/21="F06_F80.JPG"
/22="F02_F20.JPG"
/23="F07_F30.JPG"
/24="F02_F40.JPG"
/25="F08_F50.JPG"
/26="F03_F60.JPG"
/27="F03_F70.JPG"
/28="F08_F80.JPG"
/29="F09_F20.JPG"
/30="F04_F30.JPG"
/31="F09_F40.JPG"
/32="F10_F50.JPG"
/33="F10_F60.JPG"
/34="F10_F70.JPG"
/35="F05_F80.JPG"
/36="M06_P20.JPG"
/37="M01_P30.JPG"
/38="M06_P40.JPG"
/39="M07_P50.JPG"
/40="M07_P60.JPG"
/41="M07_P70.JPG"
/42="M02_P80.JPG"
/43="M08_P20.JPG"
/44="M03_P30.JPG"
/45="M08_P40.JPG"
/46="M04_P50.JPG"
/47="M09_P60.JPG"
/48="M09_P70.JPG"
/49="M04_P80.JPG"
/50="M05_P20.JPG"
/51="M10_P30.JPG"
/52="M05_P40.JPG"
/53="M01_F50.JPG"
/54="M06_F60.JPG"
/55="M06_F70.JPG"
/56="M01_F80.JPG"
/57="M02_F20.JPG"
/58="M07_F30.JPG"
/59="M02_F40.JPG"
/60="M08_F50.JPG"
/61="M03_F60.JPG"
/62="M03_F70.JPG"
/63="M08_F80.JPG"
/64="M04_F50.JPG"
/65="M09_F60.JPG"
/66="M09_F70.JPG"
/67="M09_F80.JPG"
/68="M10_F20.JPG"
/69="M05_F30.JPG"
/70="M10_F40.JPG"
/71="F06_P0.JPG"
/72="F01_P100.JPG"
/73="F02_P10.JPG"
/74="F07_P90.JPG"
/75="F08_P0.JPG"
/76="F03_P100.JPG"
/77="F04_P10.JPG"
/78="F09_P90.JPG"
/79="F10_P0.JPG"
/80="F05_P100.JPG"
/81="F01_F10.JPG"
/82="F06_F90.JPG"
/83="F07_F0.JPG"
/84="F02_F100.JPG"
/85="F03_F10.JPG"
/86="F08_F90.JPG"
/87="F09_F0.JPG"
/88="F04_F100.JPG"
/89="F05_F10.JPG"
/90="F10_F90.JPG"
/91="M06_P0.JPG"
/92="M01_P100.JPG"
/93="M02_P10.JPG"
/94="M07_P90.JPG"
/95="M08_P0.JPG"
/96="M03_P100.JPG"
/97="M04_P10.JPG"
/98="M09_P90.JPG"
/99="M05_P0.JPG"
/100="M10_P100.JPG"
/101="M01_F10.JPG"
/102="M06_F90.JPG"
/103="M07_F0.JPG"
/104="M02_F100.JPG"
/105="M03_F10.JPG"
/106="M08_F90.JPG"
/107="M09_F0.JPG"
/108="M04_F100.JPG"
/109="M10_F10.JPG"
/110="M05_F90.JPG"
</item>

<item correctButton_test_1>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>


<list test_itemnumbers_2>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_2>
/1="F06_P20.JPG"
/2="F01_P30.JPG"
/3="F06_P40.JPG"
/4="F02_P50.JPG"
/5="F02_P60.JPG"
/6="F07_P70.JPG"
/7="F07_P80.JPG"
/8="F08_P20.JPG"
/9="F03_P30.JPG"
/10="F08_P40.JPG"
/11="F04_P50.JPG"
/12="F04_P60.JPG"
/13="F09_P70.JPG"
/14="F09_P80.JPG"
/15="F05_P20.JPG"
/16="F10_P30.JPG"
/17="F05_P40.JPG"
/18="F01_F50.JPG"
/19="F06_F60.JPG"
/20="F06_F70.JPG"
/21="F01_F80.JPG"
/22="F07_F20.JPG"
/23="F02_F30.JPG"
/24="F07_F40.JPG"
/25="F03_F50.JPG"
/26="F08_F60.JPG"
/27="F08_F70.JPG"
/28="F03_F80.JPG"
/29="F04_F20.JPG"
/30="F09_F30.JPG"
/31="F04_F40.JPG"
/32="F05_F50.JPG"
/33="F05_F60.JPG"
/34="F05_F70.JPG"
/35="F10_F80.JPG"
/36="M01_P20.JPG"
/37="M06_P30.JPG"
/38="M01_P40.JPG"
/39="M02_P50.JPG"
/40="M02_P60.JPG"
/41="M02_P70.JPG"
/42="M07_P80.JPG"
/43="M03_P20.JPG"
/44="M08_P30.JPG"
/45="M03_P40.JPG"
/46="M09_P50.JPG"
/47="M04_P60.JPG"
/48="M04_P70.JPG"
/49="M09_P80.JPG"
/50="M10_P20.JPG"
/51="M05_P30.JPG"
/52="M10_P40.JPG"
/53="M06_F50.JPG"
/54="M01_F60.JPG"
/55="M01_F70.JPG"
/56="M06_F80.JPG"
/57="M07_F20.JPG"
/58="M02_F30.JPG"
/59="M07_F40.JPG"
/60="M03_F50.JPG"
/61="M08_F60.JPG"
/62="M08_F70.JPG"
/63="M03_F80.JPG"
/64="M09_F50.JPG"
/65="M04_F60.JPG"
/66="M04_F70.JPG"
/67="M04_F80.JPG"
/68="M05_F20.JPG"
/69="M10_F30.JPG"
/70="M05_F40.JPG"
/71="F06_P10.JPG"
/72="F01_P90.JPG"
/73="F02_P0.JPG"
/74="F07_P100.JPG"
/75="F08_P10.JPG"
/76="F03_P90.JPG"
/77="F04_P0.JPG"
/78="F09_P100.JPG"
/79="F10_P10.JPG"
/80="F05_P90.JPG"
/81="F01_F0.JPG"
/82="F06_F100.JPG"
/83="F07_F10.JPG"
/84="F02_F90.JPG"
/85="F03_F0.JPG"
/86="F08_F100.JPG"
/87="F09_F10.JPG"
/88="F04_F90.JPG"
/89="F05_F0.JPG"
/90="F10_F100.JPG"
/91="M06_P10.JPG"
/92="M01_P90.JPG"
/93="M02_P0.JPG"
/94="M07_P100.JPG"
/95="M08_P10.JPG"
/96="M03_P90.JPG"
/97="M04_P0.JPG"
/98="M09_P100.JPG"
/99="M05_P10.JPG"
/100="M10_P90.JPG"
/101="M01_F0.JPG"
/102="M06_F100.JPG"
/103="M07_F10.JPG"
/104="M02_F90.JPG"
/105="M03_F0.JPG"
/106="M08_F100.JPG"
/107="M09_F10.JPG"
/108="M04_F90.JPG"
/109="M10_F0.JPG"
/110="M05_F100.JPG"
</item>

<item correctButton_test_2>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>

<list test_itemnumbers_3>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_3>
/1="F01_P50.JPG"
/2="F01_P60.JPG"
/3="F06_P70.JPG"
/4="F06_P80.JPG"
/5="F02_P20.JPG"
/6="F07_P30.JPG"
/7="F02_P40.JPG"
/8="F08_P50.JPG"
/9="F03_P60.JPG"
/10="F03_P70.JPG"
/11="F08_P80.JPG"
/12="F04_P20.JPG"
/13="F09_P30.JPG"
/14="F04_P40.JPG"
/15="F05_P50.JPG"
/16="F10_P60.JPG"
/17="F10_P70.JPG"
/18="F05_P80.JPG"
/19="F06_F20.JPG"
/20="F01_F30.JPG"
/21="F06_F40.JPG"
/22="F07_F50.JPG"
/23="F02_F60.JPG"
/24="F02_F70.JPG"
/25="F07_F80.JPG"
/26="F03_F20.JPG"
/27="F08_F30.JPG"
/28="F03_F40.JPG"
/29="F09_F50.JPG"
/30="F09_F60.JPG"
/31="F09_F70.JPG"
/32="F04_F80.JPG"
/33="F10_F20.JPG"
/34="F05_F30.JPG"
/35="F10_F40.JPG"
/36="M06_P50.JPG"
/37="M06_P60.JPG"
/38="M06_P70.JPG"
/39="M01_P80.JPG"
/40="M07_P20.JPG"
/41="M02_P30.JPG"
/42="M07_P40.JPG"
/43="M03_P50.JPG"
/44="M08_P60.JPG"
/45="M08_P70.JPG"
/46="M03_P80.JPG"
/47="M09_P20.JPG"
/48="M04_P30.JPG"
/49="M09_P40.JPG"
/50="M10_P50.JPG"
/51="M05_P60.JPG"
/52="M05_P70.JPG"
/53="M10_P80.JPG"
/54="M01_F20.JPG"
/55="M06_F30.JPG"
/56="M01_F40.JPG"
/57="M02_F50.JPG"
/58="M07_F60.JPG"
/59="M07_F70.JPG"
/60="M02_F80.JPG"
/61="M03_F20.JPG"
/62="M08_F30.JPG"
/63="M03_F40.JPG"
/64="M04_F20.JPG"
/65="M09_F30.JPG"
/66="M04_F40.JPG"
/67="M05_F50.JPG"
/68="M10_F60.JPG"
/69="M10_F70.JPG"
/70="M05_F80.JPG"
/71="F01_P10.JPG"
/72="F06_P90.JPG"
/73="F07_P0.JPG"
/74="F02_P100.JPG"
/75="F03_P10.JPG"
/76="F08_P90.JPG"
/77="F09_P0.JPG"
/78="F04_P100.JPG"
/79="F05_P10.JPG"
/80="F10_P90.JPG"
/81="F06_F0.JPG"
/82="F01_F100.JPG"
/83="F02_F10.JPG"
/84="F07_F90.JPG"
/85="F08_F0.JPG"
/86="F03_F100.JPG"
/87="F04_F10.JPG"
/88="F09_F90.JPG"
/89="F10_F0.JPG"
/90="F05_F100.JPG"
/91="M01_P10.JPG"
/92="M06_P90.JPG"
/93="M07_P0.JPG"
/94="M02_P100.JPG"
/95="M03_P10.JPG"
/96="M08_P90.JPG"
/97="M09_P0.JPG"
/98="M04_P100.JPG"
/99="M10_P10.JPG"
/100="M05_P90.JPG"
/101="M06_F0.JPG"
/102="M01_F100.JPG"
/103="M02_F10.JPG"
/104="M07_F90.JPG"
/105="M08_F0.JPG"
/106="M03_F100.JPG"
/107="M04_F10.JPG"
/108="M09_F90.JPG"
/109="M05_F0.JPG"
/110="M10_F100.JPG"
</item>

<item correctButton_test_3>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>


<list test_itemnumbers_4>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
</list>

<item pics_test_4>
/1="F06_P50.JPG"
/2="F06_P60.JPG"
/3="F01_P70.JPG"
/4="F01_P80.JPG"
/5="F07_P20.JPG"
/6="F02_P30.JPG"
/7="F07_P40.JPG"
/8="F03_P50.JPG"
/9="F08_P60.JPG"
/10="F08_P70.JPG"
/11="F03_P80.JPG"
/12="F09_P20.JPG"
/13="F04_P30.JPG"
/14="F09_P40.JPG"
/15="F10_P50.JPG"
/16="F05_P60.JPG"
/17="F05_P70.JPG"
/18="F10_P80.JPG"
/19="F01_F20.JPG"
/20="F06_F30.JPG"
/21="F01_F40.JPG"
/22="F02_F50.JPG"
/23="F07_F60.JPG"
/24="F07_F70.JPG"
/25="F02_F80.JPG"
/26="F08_F20.JPG"
/27="F03_F30.JPG"
/28="F08_F40.JPG"
/29="F04_F50.JPG"
/30="F04_F60.JPG"
/31="F04_F70.JPG"
/32="F09_F80.JPG"
/33="F05_F20.JPG"
/34="F10_F30.JPG"
/35="F05_F40.JPG"
/36="M01_P50.JPG"
/37="M01_P60.JPG"
/38="M01_P70.JPG"
/39="M06_P80.JPG"
/40="M02_P20.JPG"
/41="M07_P30.JPG"
/42="M02_P40.JPG"
/43="M08_P50.JPG"
/44="M03_P60.JPG"
/45="M03_P70.JPG"
/46="M08_P80.JPG"
/47="M04_P20.JPG"
/48="M09_P30.JPG"
/49="M04_P40.JPG"
/50="M05_P50.JPG"
/51="M10_P60.JPG"
/52="M10_P70.JPG"
/53="M05_P80.JPG"
/54="M06_F20.JPG"
/55="M01_F30.JPG"
/56="M06_F40.JPG"
/57="M07_F50.JPG"
/58="M02_F60.JPG"
/59="M02_F70.JPG"
/60="M07_F80.JPG"
/61="M08_F20.JPG"
/62="M03_F30.JPG"
/63="M08_F40.JPG"
/64="M09_F20.JPG"
/65="M04_F30.JPG"
/66="M09_F40.JPG"
/67="M10_F50.JPG"
/68="M05_F60.JPG"
/69="M05_F70.JPG"
/70="M10_F80.JPG"
/71="F01_P0.JPG"
/72="F06_P100.JPG"
/73="F07_P10.JPG"
/74="F02_P90.JPG"
/75="F03_P0.JPG"
/76="F08_P100.JPG"
/77="F09_P10.JPG"
/78="F04_P90.JPG"
/79="F05_P0.JPG"
/80="F10_P100.JPG"
/81="F06_F10.JPG"
/82="F01_F90.JPG"
/83="F02_F0.JPG"
/84="F07_F100.JPG"
/85="F08_F10.JPG"
/86="F03_F90.JPG"
/87="F04_F0.JPG"
/88="F09_F100.JPG"
/89="F10_F10.JPG"
/90="F05_F90.JPG"
/91="M01_P0.JPG"
/92="M06_P100.JPG"
/93="M07_P10.JPG"
/94="M02_P90.JPG"
/95="M03_P0.JPG"
/96="M08_P100.JPG"
/97="M09_P10.JPG"
/98="M04_P90.JPG"
/99="M10_P0.JPG"
/100="M05_P100.JPG"
/101="M06_F10.JPG"
/102="M01_F90.JPG"
/103="M02_F0.JPG"
/104="M07_F100.JPG"
/105="M08_F10.JPG"
/106="M03_F90.JPG"
/107="M04_F0.JPG"
/108="M09_F100.JPG"
/109="M05_F10.JPG"
/110="M10_F90.JPG"
</item>

<item correctButton_test_4>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>

**************************************************************************************************************
**************************************************************************************************************
DEFAULTS
**************************************************************************************************************
**************************************************************************************************************
script requires Inquisit 6.5.2.0 or higher

<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "6.5.2.0"
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/txbgcolor = transparent
/txcolor = black
/screencolor = white
/inputdevice = keyboard
</defaults>

**************************************************************************************************************
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************

Note: data file explanations under User Manual Information at the top

To change from one data file per participant to one data file for all participants, set
/separatefiles = false

***********************
raw data file
***********************
<data>
/ separatefiles = true
/ columns = (date, time, subject, group, session, blockcode, blocknum, trialcode, values.fixationStart, values.clearscreen, values.keyAssignment, values.selectStim, stimulusitem, stimulusitem, values.correctButton, response, responsetext, correct, latency)
</data>

***********************
summary data file
***********************
<summarydata>
/ columns = (inquisit.version, computer.platform, script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid,
script.elapsedtime, script.completed,
values.keyAssignment,
expressions.ACC_all,
expressions.meanRT_all)
/ separatefiles = true
</summarydata>


**************************************************************************************************************
**************************************************************************************************************
VALUES: automatically updated
**************************************************************************************************************
**************************************************************************************************************

/countTestBlocks: counts number of test blocks
/skipReadyTrial: 0 = run ready trial; 1 = skip ready trial

<values>
/countTestBlocks = 0
/selectStim = 1
/correctButton = ""
/fixationStart = parameters.fixationStart
/clearscreen = parameters.clearscreen
/keyAssignment = "leftYES"
/spacekey = parameters.spacekey
/YESkey = parameters.leftresponsekey
/NOkey = parameters.rightresponsekey
</values>

/ACC_practice: stores the proportion correct of the current practice run

<values>
/ACC_practice = 0
</values>

**************************************************************************************************************
**************************************************************************************************************
EXPRESSIONS
**************************************************************************************************************
**************************************************************************************************************
/shadowSize: size of shadow text

/ACC_all: proportion correct overall (across all test trials)
/meanRT_all: mean correct latency (in ms) overall

/ACC_FACE: proportion correct in "FACE" block
/ACC_congruent: proportion correct in "congruent" pairings trials (across test blocks)
/ACC_incongruent: proportion correct in "incongruent" pairings trials (across test blocks)

/meanRT_FACE: mean correct latency (in ms) in "FACE" block
/meanRT_congruent: mean correct latency (in ms) in "congruent" pairings trials (across test blocks)
/meanRT_incongruent: mean correct latency (in ms) in "incongruent" pairings trials (across test blocks)

<expressions>
/ACC_all = list.accuracy.mean
/meanRT_all = list.latencies.mean
</expressions>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************

<text intro>
/ items = instructions
/ select = 1
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text break>
/ items = instructions
/ select = 2
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text end>
/ items = instructions
/ select = 3
/ position = (50%, 50%)
/ fontstyle = ("Arial", 8%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text continueButton_intro>
/ items = continueButtons
/ select = text.intro.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = transparent
</text>

<text continueButton_break>
/ items = continueButtons
/ select = text.break.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = transparent
</text>

<text continueButton_Pnd>
/ items = continueButtons
/ select = text.end.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = red
</text>

***********************
Instruction Trials
***********************

<trial introtest>
/ inputdevice = keyboard
/ stimulusframes = [1 = intro, continueButton_intro]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial break>
/ inputdevice = keyboard
/ stimulusframes = [1 = break, continueButton_break]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial finish>
/ inputdevice = keyboard
/ skip = [
values.countTestBlocks == 1;
]
/ stimulusframes = [1 = clearscreen, end, exit]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial fixationStart>
/ stimulusframes = [1 = fixationStart]
/ trialduration = parameters.fixationStart
/ validresponse = (0)
/ recorddata = false
</trial>

**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************

<picture Pic_test_1>
/items = item.pics_test_1
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_2>
/items = item.pics_test_2
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_3>
/items = item.pics_test_3
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_4>
/items = item.pics_test_4
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************

*************************************************
Data Lists: used for descriptive statistics
store correct latencies/accuracy data
fill up during runtime
*************************************************

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracy>
</list>

Note: list stores the latency of correct responses for each relevant trial
<list latencies>
</list>

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracytest>
</list>

**************************************************************************************************************
**************************************************************************************************************
TRIALS: test
**************************************************************************************************************
**************************************************************************************************************

trial test_1>
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_1.nextvalue;
values.correctButton = item.correctButton_test_1.item(values.selectStim);
]
/ stimulusframes = [1 = clearscreen; 2 = ]
/ response = noresponse
/ trialduration = 350
</trial>

trial test_2>
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_2.nextvalue;
values.correctButton = item.correctButton_test_2.item(values.selectStim);
]
/ stimulusframes = [1 = clearscreen; 2 = Pic_test_2]
/ response = noresponse
/ trialduration = 350
</trial>

<trial fixationResp_1>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_1.nextvalue;
values.correctButton = item.correctButton_test_1.item(values.selectStim);
     trial.fixationResp_1.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_1; 350 = clearscreen, fixationResp_1]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_1.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_1.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_1.correct);
if (trial.fixationResp_1.correct) {
list.latencies.appendItem(trial.fixationResp_1.latency);
list.latencies.appendItem(trial.fixationResp_1.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_2>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_2.nextvalue;
values.correctButton = item.correctButton_test_2.item(values.selectStim);
     trial.fixationResp_2.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_2; 350 = clearscreen, fixationResp_2]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_2.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_2.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_2.correct);
if (trial.fixationResp_2.correct) {
list.latencies.appendItem(trial.fixationResp_2.latency);
list.latencies.appendItem(trial.fixationResp_2.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_3>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_3.nextvalue;
values.correctButton = item.correctButton_test_3.item(values.selectStim);
     trial.fixationResp_3.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_3; 350 = clearscreen, fixationResp_3]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_3.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_3.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_3.correct);
if (trial.fixationResp_3.correct) {
list.latencies.appendItem(trial.fixationResp_3.latency);
list.latencies.appendItem(trial.fixationResp_3.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_4>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_4.nextvalue;
values.correctButton = item.correctButton_test_4.item(values.selectStim);
     trial.fixationResp_4.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_4; 350 = clearscreen, fixationResp_4]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_4.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_4.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_4.correct);
if (trial.fixationResp_4.correct) {
list.latencies.appendItem(trial.fixationResp_4.latency);
list.latencies.appendItem(trial.fixationResp_4.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : helper trials
**************************************************************************************************************
**************************************************************************************************************

trial ITI>
/ stimulusframes = [1 = clearscreen]

//touchscreens: present inactive response buttons
// validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ isvalidresponse = [
return(false);
]
/ recorddata = false
/ trialduration = parameters.ITI
</trial>

**************************************************************************************************************
**************************************************************************************************************
BLOCKS
**************************************************************************************************************
**************************************************************************************************************

<block testStart>
/ trials = [1 = introtest]
/ onblockbegin = [
list.accuracy.reset();
list.latencies.reset();
]
</block>

<block fixationStart>
/ trials = [1 = fixationStart]
</block>

<block test_1>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_1
    ]
</block>

<block test_2>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_2
]
</block>

<block test_3>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_3
    ]
</block>

<block test_4>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_4
]
</block>

<block break>
/ trials = [1 = break]
</block>

<block finish>
/ trials = [1 = finish]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
<expt>
/ onexptbegin = [
if (computer.touch && !computer.haskeyboard) {
text.continueButton_Pnd.skip = true;
text.continueButton_intro.skip = true;
         text.continueButton_break.skip = true;
};]

/ blocks = [
    1 = testStart;
    2 = fixationStart;
    3 = test_1;
    4 = break;
    5 = fixationStart;
    6 = test_2;
    7 = break;
    8 = fixationStart;
    9 = test_3;
    10 = break;
    11 = fixationStart;
    12 = test_4;
    13 = finish;
]
</expt>

<monkey>
/ latencydistribution = normal(50, 20)
</monkey>

**************************************************************************************************************
End of File
**************************************************************************************************************

There is a "pause" because your trials have a fixed duration.
https://www.millisecond.com/support/docs/v6/html/language/attributes/trialduration.htm
If you want a max duration only, use /timeout instead.
https://www.millisecond.com/support/docs/v6/html/language/attributes/timeout.htm

In general, you need to internalize https://www.millisecond.com/support/docs/v6/html/howto/howtocontroltiming.htm to understand how trials work.
Good evening.
In fixationResp trial of this code I'd like the stimuli stay on the screen after I respond.
I took "/responseinterrupt" away from the script and "erase" from text/stimuli, but when I respond to the trial the stimuli are erased right away and the script goes to the next trial.

Thank you in advance.
Best.


[code]**************************************************************************************************************
**************************************************************************************************************
EDITABLE PARAMETERS: change editable parameters here
**************************************************************************************************************
**************************************************************************************************************

<parameters>
/clearscreen = 50
/fixationStart = 3000
/picsize = 60%
/top_y = 55%
/bottom_y = 55%
/leftresponsekey = "Z" //lo stampino con la SÌ va messo sulla Z
/rightresponsekey = "M" //lo stampino con la NO va messo sulla M
/spacekey = "BARRA SPAZIATRICE"
</parameters>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE INSTRUCTIONS: change instructions here
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
</instruct>


<item instructions>
/1 = "Adesso farà una prova per familiarizzare con il compito.
Le compariranno dei volti che possono esprimere un'emozione, oppure no.
Le verrà chiesto di premere il tasto SÌ se il volto presentato esprime un'emozione; al contrario, prema il tasto NO se il volto non esprime un'emozione.
Le ricordiamo di premere il più velocemente possibile."

/2 = "Fine della prova.
Se vuole possiamo ripetere la prova."
</item>

<item continueButtons>
/1 = "Premiamo il tasto per iniziare"
/2 = "STOP"
</item>

<text YESButton_instruct>
/ items = ("YES = Prema SÌ")
/ position = (25%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text NOButton_instruct>
/ items = ("NO = Prema NO")
/ position = (75%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text fixationStart>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixation>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text exit>
/ items = ("<Premiamo il tasto indicato per uscire>")
/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ size = (80%, 5%)
/ vjustify = center
</text>

<expressions>
/buttoninstruct1 = if (computer.touch && !computer.haskeyboard) {"response button";}
else {
"un tasto";}
/buttoninstruct2 = if (computer.touch && !computer.haskeyboard) {"button";}
else {
"un altro tasto";}
/buttoninstruct3 = if (computer.touch && !computer.haskeyboard) {"Le chiadiamo di posizionare le dita della mano sinistra e della mano destra sulla tastiera, e di premere un dei tasto per cominciare";}
else {
"Le chiediamo di posizionare l'indice della mano sinistra e l'indice della mano destra sulla tastiera e premere uno dei due tasti corrispondenti per iniziare.";}
</expressions>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE STIMULI
**************************************************************************************************************
**************************************************************************************************************
********************************************
practice
********************************************

<list practice_itemnumbers>
/ items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
/ replace = false
/ resetinterval = 0
</list>

<item pics_practice>
/1= "F11_F20.JPG"
/2= "F11_F30.JPG"
/3 = "F11_F40.JPG"
/4 = "F11_F50.JPG"
/5 = "F11_F60.JPG"
/6 = "F11_F70.JPG"
/7 = "F11_F80.JPG"
/8 = "F11_F90.JPG"
/9 = "F11_F100.JPG"
/10 = "F11_F0.JPG"
/11 = "F11_F10.JPG"
/12 = "M11_F20.JPG"
/13 = "M11_F30.JPG"
/14 = "M11_F40.JPG"
/15 = "M11_F50.JPG"
/16 = "M11_F60.JPG"
/17 = "M11_F70.JPG"
/18 = "M11_F80.JPG"
/19 = "M11_F90.JPG"
/20 = "M11_F100.JPG"
/21 = "M11_F0.JPG"
/22 = "M11_F10.JPG"
/23 = "F11_P20.JPG"
/24 = "F11_P30.JPG"
/25 = "F11_P40.JPG"
/26 = "F11_P50.JPG"
/27 = "F11_P60.JPG"
/28 = "F11_P70.JPG"
/29 = "F11_P80.JPG"
/30 = "F11_P90.JPG"
/31 = "F11_P100.JPG"
/32 = "F11_P0.JPG"
/33 = "F11_P10.JPG"
/34 = "M11_F20.JPG"
/35 = "M11_P30.JPG"
/36 = "M11_P40.JPG"
/37 = "M11_P50.JPG"
/38 = "M11_P60.JPG"
/39 = "M11_P70.JPG"
/40 = "M11_P80.JPG"
/41 = "M11_P90.JPG"
/42 = "M11_P100.JPG"
/43 = "M11_P0.JPG"
/44 = "M11_P10.JPG"
</item>

<item correctButton_practice>
/1 = "YESButton"
/2 = "YESButton"
/3 = "YESButton"
/4 = "YESButton"
/5 = "YESButton"
/6 = "YESButton"
/7 = "YESButton"
/8 = "YESButton"
/9 = "YESButton"
/10 = "NOButton"
/11 = "NOButton"
/12 = "YESButton"
/13 = "YESButton"
/14 = "YESButton"
/15 = "YESButton"
/16 = "YESButton"
/17 = "YESButton"
/18 = "YESButton"
/19 = "YESButton"
/20 = "YESButton"
/21 = "NOButton"
/22 = "NOButton"
/23 = "YESButton"
/24 = "YESButton"
/25 = "YESButton"
/26 = "YESButton"
/27 = "YESButton"
/28 = "YESButton"
/29 = "YESButton"
/30 = "YESButton"
/31 = "YESButton"
/32 = "NOButton"
/33 = "NOButton"
/34 = "YESButton"
/35 = "YESButton"
/36 = "YESButton"
/37 = "YESButton"
/38 = "YESButton"
/39 = "YESButton"
/40 = "YESButton"
/41 = "YESButton"
/42 = "YESButton"
/43 = "NOButton"
/44 = "NOButton"
</item>

**************************************************************************************************************
**************************************************************************************************************
DEFAULTS
**************************************************************************************************************
**************************************************************************************************************
script requires Inquisit 6.5.2.0 or higher

<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "6.5.2.0"
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/txbgcolor = transparent
/txcolor = black
/screencolor = white
/inputdevice = keyboard
</defaults>

**************************************************************************************************************
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************

Note: data file explanations under User Manual Information at the top

To change from one data file per participant to one data file for all participants, set
/separatefiles = false

***********************
raw data file
***********************
<data>
/ separatefiles = true
/ columns = (date, time, subject, group, session, blockcode, blocknum, trialcode, values.fixationStart, values.clearscreen, values.keyAssignment, values.selectStim, stimulusitem, stimulusitem, values.correctButton, response, responsetext, correct, latency)
</data>,

***********************
summary data file
***********************
<summarydata>
/ columns = (inquisit.version, computer.platform, script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid,
script.elapsedtime, script.completed,
values.keyAssignment,
values.ACC_practice,
values.practiceRuns,
expressions.ACC_all,
expressions.meanRT_all)
/ separatefiles = true
</summarydata>

**************************************************************************************************************
**************************************************************************************************************
VALUES: automatically updated
**************************************************************************************************************
**************************************************************************************************************

/countTestBlocks: counts number of test blocks

<values>
/countTestBlocks = 0
/selectStim = 1
/correctButton = ""
/practiceRuns = 0
/fixationStart = parameters.fixationStart
/clearscreen = parameters.clearscreen
/keyAssignment = "leftYES"
/spacekey = parameters.spacekey
/YESkey = parameters.leftresponsekey
/NOkey = parameters.rightresponsekey
</values>

/ACC_practice: stores the proportion correct of the current practice run

<values>
/ACC_practice = 0
</values>

**************************************************************************************************************
**************************************************************************************************************
EXPRESSIONS
**************************************************************************************************************
**************************************************************************************************************
/shadowSize: size of shadow text

/ACC_all: proportion correct overall (across all test trials)
/meanRT_all: mean correct latency (in ms) overall

/ACC_FACE: proportion correct in "FACE" block
/ACC_congruent: proportion correct in "congruent" pairings trials (across test blocks)
/ACC_incongruent: proportion correct in "incongruent" pairings trials (across test blocks)

/meanRT_FACE: mean correct latency (in ms) in "FACE" block
/meanRT_congruent: mean correct latency (in ms) in "congruent" pairings trials (across test blocks)
/meanRT_incongruent: mean correct latency (in ms) in "incongruent" pairings trials (across test blocks)

<expressions>
/ACC_all = list.accuracy.mean
/meanRT_all = list.latencies.mean
</expressions>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************

<text intro>
/ items = instructions
/ select = 1
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text end>
/ items = instructions
/ select = 2
/ position = (50%, 50%)
/ fontstyle = ("Arial", 8%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text continueButton_intro>
/ items = continueButtons
/ select = text.intro.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = transparent
</text>

<text continueButton_Pnd>
/ items = continueButtons
/ select = text.end.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = red
</text>

***********************
Instruction Trials
***********************

<trial practiceStart>
/ inputdevice = keyboard
/ stimulusframes = [1 = intro, continueButton_intro]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial finish>
/ inputdevice = keyboard
/ skip = [
values.countTestBlocks == 1;
]
/ stimulusframes = [1 = clearscreen, end, exit]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial fixationStart>
/ stimulusframes = [1 = fixationStart]
/ trialduration = parameters.fixationStart
/ validresponse = (0)
/ recorddata = false
</trial>

**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************

<picture Pic_practice>
/ items = item.pics_practice
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************

*************************************************
Data Lists: used for descriptive statistics
store correct latencies/accuracy data
fill up during runtime
*************************************************

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracy>
</list>

Note: list stores the latency of correct responses for each relevant trial
<list latencies>
</list>

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracytest>
</list>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : practice
**************************************************************************************************************
**************************************************************************************************************

trial fixation>
/ stimulustimes = [0 = fixation, clearscreen]
/ response = noresponse
/ recorddata = false
/ timeout = 650
</trial>

<trial fixationResp>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.practice_itemnumbers.nextvalue;
values.correctButton = item.correctButton_practice.item(values.selectStim);
]
/ stimulustimes = [0 = Pic_practice; 350 = clearscreen, fixationResp]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ timeout = 1850
// trialduration = 1850
/ posttrialpause = parameters.clearscreen
/ ontrialend = [ list.accuracy.appendItem(trial.fixationResp.correct);
values.ACC_practice = list.accuracy.mean;]
</trial>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : helper trials
**************************************************************************************************************
**************************************************************************************************************

trial ITI>
/ stimulusframes = [1 = fixation]
// validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ isvalidresponse = [
return(false);
]
/ recorddata = false
/ trialduration = 650
</trial>

**************************************************************************************************************
**************************************************************************************************************
BLOCKS
**************************************************************************************************************
**************************************************************************************************************

<block practiceIntro>
/ trials = [1 = practiceStart]
</block>

<block fixationStart>
/ trials = [1 = fixationStart]
</block>

<block practice>
/ onblockbegin = [
list.accuracy.reset();
list.latencies.reset();
values.practiceRuns += 1;
]
// trials = sequence [1 - 43 = fixation, fixationResp]
/trials = [
1 -43 = fixationResp
]
</block>

<block finish>
/ trials = [1 = finish]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
<expt>
/ onexptbegin = [
if (computer.touch && !computer.haskeyboard) {
text.continueButton_Pnd.skip = true;
text.continueButton_intro.skip = true;
};]

/ blocks = [
1 = practiceIntro;
2 = fixationStart;
3 = practice;
4 = finish;
]
</expt>

<monkey>
/ latencydistribution = normal(50, 20)
</monkey>

**************************************************************************************************************
End of File
**************************************************************************************************************
[/code]

If you want stimuli to remain on-screen, you need to set /erase = false for all stimuli displayed by the trial, not "take away" /erase.
Igor Iarrobino
Igor Iarrobino
Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)
Group: Forum Members
Posts: 42, Visits: 114
Dave - 3/11/2025
Igor Iarrobino - 3/11/2025
Hi Dave. I hope you're ok.
I'm writing you again because I don't understand a thing in the following script.

I like how it is now, because I just have pic and fixation, pic and fixation and so on
But, I don't get why a trial is followed smoothly  by the following one when I don't respond (I mean from the fixation to the next pic, that is the beginning of the next trial); instead, if I press the button (respond) I have like a little pause between those trial (like a crealscreen).
I did put "no posttrial pause" after response trial and no ITI between the trials, but it doesn't work like I'd like to: so to have a smooth transition between one trial and the next one (from fixation to pic) even though I respond.

I hope I was clear and I thank you beforehand.
Regards

**************************************************************************************************************
**************************************************************************************************************
EDITABLE PARAMETERS: change editable parameters here
**************************************************************************************************************
**************************************************************************************************************

<parameters>
/clearscreen = 50
/fixationStart = 3000
/picsize = 60%
/top_y = 55%
/bottom_y = 55%
/leftresponsekey = "Z" //lo stampino con la SÌ va messo sulla Z
/rightresponsekey = "M" //lo stampino con la NO va messo sulla M
/spacekey = "BARRA SPAZIATRICE"
</parameters>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE INSTRUCTIONS: change instructions here
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
</instruct>

<item instructions>
/1 = "Adesso inizia il compito.
Le compariranno dei volti che possono esprimere un'emozione, oppure no.
Le verrà chiesto di premere il tasto SÌ se il volto presentato esprime un'emozione; al contrario, prema il tasto NO se il volto non esprime un'emozione.
Le ricordiamo di premere il più velocemente possibile."

/2 = "Adesso Lei farà una breve pausa.
Premiamo il tasto per ricominciare"

/3 = "Fine della prova."
</item>

<item continueButtons>
/1 = "Premiamo il tasto per iniziare"
/2 = "Premiamo il tasto per continuare"
/3 = "STOP"
</item>

<text YESButton_instruct>
/ items = ("YES = Prema SÌ")
/ position = (25%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text NOButton_instruct>
/ items = ("NO = Prema NO")
/ position = (75%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text fixationStart>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_1>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_2>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_3>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_4>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text exit>
/ items = ("<Premiamo il tasto per uscire>")
/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ size = (80%, 5%)
/ vjustify = center
</text>

<expressions>
/buttoninstruct1 = if (computer.touch && !computer.haskeyboard) {"response button";}
else {
"un tasto";}
/buttoninstruct2 = if (computer.touch && !computer.haskeyboard) {"button";}
else {
"un altro tasto";}
/buttoninstruct3 = if (computer.touch && !computer.haskeyboard) {"Le chiadiamo di posizionare le dita della mano sinistra e della mano destra sulla tastiera, e di premere un dei tasto per cominciare";}
else {
"Le chiediamo di posizionare l'indice della mano sinistra e l'indice della mano destra sulla tastiera e premere uno dei due tasti colorati per iniziare.";}
</expressions>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE STIMULI
**************************************************************************************************************
**************************************************************************************************************
****************************
Test
****************************

<list test_itemnumbers_1>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_1>
/1="F01_P20.JPG"
/2="F06_P30.JPG"
/3="F01_P40.JPG"
/4="F07_P50.JPG"
/5="F07_P60.JPG"
/6="F02_P70.JPG"
/7="F02_P80.JPG"
/8="F03_P20.JPG"
/9="F08_P30.JPG"
/10="F03_P40.JPG"
/11="F09_P50.JPG"
/12="F09_P60.JPG"
/13="F04_P70.JPG"
/14="F04_P80.JPG"
/15="F10_P20.JPG"
/16="F05_P30.JPG"
/17="F10_P40.JPG"
/18="F06_F50.JPG"
/19="F01_F60.JPG"
/20="F01_F70.JPG"
/21="F06_F80.JPG"
/22="F02_F20.JPG"
/23="F07_F30.JPG"
/24="F02_F40.JPG"
/25="F08_F50.JPG"
/26="F03_F60.JPG"
/27="F03_F70.JPG"
/28="F08_F80.JPG"
/29="F09_F20.JPG"
/30="F04_F30.JPG"
/31="F09_F40.JPG"
/32="F10_F50.JPG"
/33="F10_F60.JPG"
/34="F10_F70.JPG"
/35="F05_F80.JPG"
/36="M06_P20.JPG"
/37="M01_P30.JPG"
/38="M06_P40.JPG"
/39="M07_P50.JPG"
/40="M07_P60.JPG"
/41="M07_P70.JPG"
/42="M02_P80.JPG"
/43="M08_P20.JPG"
/44="M03_P30.JPG"
/45="M08_P40.JPG"
/46="M04_P50.JPG"
/47="M09_P60.JPG"
/48="M09_P70.JPG"
/49="M04_P80.JPG"
/50="M05_P20.JPG"
/51="M10_P30.JPG"
/52="M05_P40.JPG"
/53="M01_F50.JPG"
/54="M06_F60.JPG"
/55="M06_F70.JPG"
/56="M01_F80.JPG"
/57="M02_F20.JPG"
/58="M07_F30.JPG"
/59="M02_F40.JPG"
/60="M08_F50.JPG"
/61="M03_F60.JPG"
/62="M03_F70.JPG"
/63="M08_F80.JPG"
/64="M04_F50.JPG"
/65="M09_F60.JPG"
/66="M09_F70.JPG"
/67="M09_F80.JPG"
/68="M10_F20.JPG"
/69="M05_F30.JPG"
/70="M10_F40.JPG"
/71="F06_P0.JPG"
/72="F01_P100.JPG"
/73="F02_P10.JPG"
/74="F07_P90.JPG"
/75="F08_P0.JPG"
/76="F03_P100.JPG"
/77="F04_P10.JPG"
/78="F09_P90.JPG"
/79="F10_P0.JPG"
/80="F05_P100.JPG"
/81="F01_F10.JPG"
/82="F06_F90.JPG"
/83="F07_F0.JPG"
/84="F02_F100.JPG"
/85="F03_F10.JPG"
/86="F08_F90.JPG"
/87="F09_F0.JPG"
/88="F04_F100.JPG"
/89="F05_F10.JPG"
/90="F10_F90.JPG"
/91="M06_P0.JPG"
/92="M01_P100.JPG"
/93="M02_P10.JPG"
/94="M07_P90.JPG"
/95="M08_P0.JPG"
/96="M03_P100.JPG"
/97="M04_P10.JPG"
/98="M09_P90.JPG"
/99="M05_P0.JPG"
/100="M10_P100.JPG"
/101="M01_F10.JPG"
/102="M06_F90.JPG"
/103="M07_F0.JPG"
/104="M02_F100.JPG"
/105="M03_F10.JPG"
/106="M08_F90.JPG"
/107="M09_F0.JPG"
/108="M04_F100.JPG"
/109="M10_F10.JPG"
/110="M05_F90.JPG"
</item>

<item correctButton_test_1>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>


<list test_itemnumbers_2>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_2>
/1="F06_P20.JPG"
/2="F01_P30.JPG"
/3="F06_P40.JPG"
/4="F02_P50.JPG"
/5="F02_P60.JPG"
/6="F07_P70.JPG"
/7="F07_P80.JPG"
/8="F08_P20.JPG"
/9="F03_P30.JPG"
/10="F08_P40.JPG"
/11="F04_P50.JPG"
/12="F04_P60.JPG"
/13="F09_P70.JPG"
/14="F09_P80.JPG"
/15="F05_P20.JPG"
/16="F10_P30.JPG"
/17="F05_P40.JPG"
/18="F01_F50.JPG"
/19="F06_F60.JPG"
/20="F06_F70.JPG"
/21="F01_F80.JPG"
/22="F07_F20.JPG"
/23="F02_F30.JPG"
/24="F07_F40.JPG"
/25="F03_F50.JPG"
/26="F08_F60.JPG"
/27="F08_F70.JPG"
/28="F03_F80.JPG"
/29="F04_F20.JPG"
/30="F09_F30.JPG"
/31="F04_F40.JPG"
/32="F05_F50.JPG"
/33="F05_F60.JPG"
/34="F05_F70.JPG"
/35="F10_F80.JPG"
/36="M01_P20.JPG"
/37="M06_P30.JPG"
/38="M01_P40.JPG"
/39="M02_P50.JPG"
/40="M02_P60.JPG"
/41="M02_P70.JPG"
/42="M07_P80.JPG"
/43="M03_P20.JPG"
/44="M08_P30.JPG"
/45="M03_P40.JPG"
/46="M09_P50.JPG"
/47="M04_P60.JPG"
/48="M04_P70.JPG"
/49="M09_P80.JPG"
/50="M10_P20.JPG"
/51="M05_P30.JPG"
/52="M10_P40.JPG"
/53="M06_F50.JPG"
/54="M01_F60.JPG"
/55="M01_F70.JPG"
/56="M06_F80.JPG"
/57="M07_F20.JPG"
/58="M02_F30.JPG"
/59="M07_F40.JPG"
/60="M03_F50.JPG"
/61="M08_F60.JPG"
/62="M08_F70.JPG"
/63="M03_F80.JPG"
/64="M09_F50.JPG"
/65="M04_F60.JPG"
/66="M04_F70.JPG"
/67="M04_F80.JPG"
/68="M05_F20.JPG"
/69="M10_F30.JPG"
/70="M05_F40.JPG"
/71="F06_P10.JPG"
/72="F01_P90.JPG"
/73="F02_P0.JPG"
/74="F07_P100.JPG"
/75="F08_P10.JPG"
/76="F03_P90.JPG"
/77="F04_P0.JPG"
/78="F09_P100.JPG"
/79="F10_P10.JPG"
/80="F05_P90.JPG"
/81="F01_F0.JPG"
/82="F06_F100.JPG"
/83="F07_F10.JPG"
/84="F02_F90.JPG"
/85="F03_F0.JPG"
/86="F08_F100.JPG"
/87="F09_F10.JPG"
/88="F04_F90.JPG"
/89="F05_F0.JPG"
/90="F10_F100.JPG"
/91="M06_P10.JPG"
/92="M01_P90.JPG"
/93="M02_P0.JPG"
/94="M07_P100.JPG"
/95="M08_P10.JPG"
/96="M03_P90.JPG"
/97="M04_P0.JPG"
/98="M09_P100.JPG"
/99="M05_P10.JPG"
/100="M10_P90.JPG"
/101="M01_F0.JPG"
/102="M06_F100.JPG"
/103="M07_F10.JPG"
/104="M02_F90.JPG"
/105="M03_F0.JPG"
/106="M08_F100.JPG"
/107="M09_F10.JPG"
/108="M04_F90.JPG"
/109="M10_F0.JPG"
/110="M05_F100.JPG"
</item>

<item correctButton_test_2>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>

<list test_itemnumbers_3>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_3>
/1="F01_P50.JPG"
/2="F01_P60.JPG"
/3="F06_P70.JPG"
/4="F06_P80.JPG"
/5="F02_P20.JPG"
/6="F07_P30.JPG"
/7="F02_P40.JPG"
/8="F08_P50.JPG"
/9="F03_P60.JPG"
/10="F03_P70.JPG"
/11="F08_P80.JPG"
/12="F04_P20.JPG"
/13="F09_P30.JPG"
/14="F04_P40.JPG"
/15="F05_P50.JPG"
/16="F10_P60.JPG"
/17="F10_P70.JPG"
/18="F05_P80.JPG"
/19="F06_F20.JPG"
/20="F01_F30.JPG"
/21="F06_F40.JPG"
/22="F07_F50.JPG"
/23="F02_F60.JPG"
/24="F02_F70.JPG"
/25="F07_F80.JPG"
/26="F03_F20.JPG"
/27="F08_F30.JPG"
/28="F03_F40.JPG"
/29="F09_F50.JPG"
/30="F09_F60.JPG"
/31="F09_F70.JPG"
/32="F04_F80.JPG"
/33="F10_F20.JPG"
/34="F05_F30.JPG"
/35="F10_F40.JPG"
/36="M06_P50.JPG"
/37="M06_P60.JPG"
/38="M06_P70.JPG"
/39="M01_P80.JPG"
/40="M07_P20.JPG"
/41="M02_P30.JPG"
/42="M07_P40.JPG"
/43="M03_P50.JPG"
/44="M08_P60.JPG"
/45="M08_P70.JPG"
/46="M03_P80.JPG"
/47="M09_P20.JPG"
/48="M04_P30.JPG"
/49="M09_P40.JPG"
/50="M10_P50.JPG"
/51="M05_P60.JPG"
/52="M05_P70.JPG"
/53="M10_P80.JPG"
/54="M01_F20.JPG"
/55="M06_F30.JPG"
/56="M01_F40.JPG"
/57="M02_F50.JPG"
/58="M07_F60.JPG"
/59="M07_F70.JPG"
/60="M02_F80.JPG"
/61="M03_F20.JPG"
/62="M08_F30.JPG"
/63="M03_F40.JPG"
/64="M04_F20.JPG"
/65="M09_F30.JPG"
/66="M04_F40.JPG"
/67="M05_F50.JPG"
/68="M10_F60.JPG"
/69="M10_F70.JPG"
/70="M05_F80.JPG"
/71="F01_P10.JPG"
/72="F06_P90.JPG"
/73="F07_P0.JPG"
/74="F02_P100.JPG"
/75="F03_P10.JPG"
/76="F08_P90.JPG"
/77="F09_P0.JPG"
/78="F04_P100.JPG"
/79="F05_P10.JPG"
/80="F10_P90.JPG"
/81="F06_F0.JPG"
/82="F01_F100.JPG"
/83="F02_F10.JPG"
/84="F07_F90.JPG"
/85="F08_F0.JPG"
/86="F03_F100.JPG"
/87="F04_F10.JPG"
/88="F09_F90.JPG"
/89="F10_F0.JPG"
/90="F05_F100.JPG"
/91="M01_P10.JPG"
/92="M06_P90.JPG"
/93="M07_P0.JPG"
/94="M02_P100.JPG"
/95="M03_P10.JPG"
/96="M08_P90.JPG"
/97="M09_P0.JPG"
/98="M04_P100.JPG"
/99="M10_P10.JPG"
/100="M05_P90.JPG"
/101="M06_F0.JPG"
/102="M01_F100.JPG"
/103="M02_F10.JPG"
/104="M07_F90.JPG"
/105="M08_F0.JPG"
/106="M03_F100.JPG"
/107="M04_F10.JPG"
/108="M09_F90.JPG"
/109="M05_F0.JPG"
/110="M10_F100.JPG"
</item>

<item correctButton_test_3>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>


<list test_itemnumbers_4>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
</list>

<item pics_test_4>
/1="F06_P50.JPG"
/2="F06_P60.JPG"
/3="F01_P70.JPG"
/4="F01_P80.JPG"
/5="F07_P20.JPG"
/6="F02_P30.JPG"
/7="F07_P40.JPG"
/8="F03_P50.JPG"
/9="F08_P60.JPG"
/10="F08_P70.JPG"
/11="F03_P80.JPG"
/12="F09_P20.JPG"
/13="F04_P30.JPG"
/14="F09_P40.JPG"
/15="F10_P50.JPG"
/16="F05_P60.JPG"
/17="F05_P70.JPG"
/18="F10_P80.JPG"
/19="F01_F20.JPG"
/20="F06_F30.JPG"
/21="F01_F40.JPG"
/22="F02_F50.JPG"
/23="F07_F60.JPG"
/24="F07_F70.JPG"
/25="F02_F80.JPG"
/26="F08_F20.JPG"
/27="F03_F30.JPG"
/28="F08_F40.JPG"
/29="F04_F50.JPG"
/30="F04_F60.JPG"
/31="F04_F70.JPG"
/32="F09_F80.JPG"
/33="F05_F20.JPG"
/34="F10_F30.JPG"
/35="F05_F40.JPG"
/36="M01_P50.JPG"
/37="M01_P60.JPG"
/38="M01_P70.JPG"
/39="M06_P80.JPG"
/40="M02_P20.JPG"
/41="M07_P30.JPG"
/42="M02_P40.JPG"
/43="M08_P50.JPG"
/44="M03_P60.JPG"
/45="M03_P70.JPG"
/46="M08_P80.JPG"
/47="M04_P20.JPG"
/48="M09_P30.JPG"
/49="M04_P40.JPG"
/50="M05_P50.JPG"
/51="M10_P60.JPG"
/52="M10_P70.JPG"
/53="M05_P80.JPG"
/54="M06_F20.JPG"
/55="M01_F30.JPG"
/56="M06_F40.JPG"
/57="M07_F50.JPG"
/58="M02_F60.JPG"
/59="M02_F70.JPG"
/60="M07_F80.JPG"
/61="M08_F20.JPG"
/62="M03_F30.JPG"
/63="M08_F40.JPG"
/64="M09_F20.JPG"
/65="M04_F30.JPG"
/66="M09_F40.JPG"
/67="M10_F50.JPG"
/68="M05_F60.JPG"
/69="M05_F70.JPG"
/70="M10_F80.JPG"
/71="F01_P0.JPG"
/72="F06_P100.JPG"
/73="F07_P10.JPG"
/74="F02_P90.JPG"
/75="F03_P0.JPG"
/76="F08_P100.JPG"
/77="F09_P10.JPG"
/78="F04_P90.JPG"
/79="F05_P0.JPG"
/80="F10_P100.JPG"
/81="F06_F10.JPG"
/82="F01_F90.JPG"
/83="F02_F0.JPG"
/84="F07_F100.JPG"
/85="F08_F10.JPG"
/86="F03_F90.JPG"
/87="F04_F0.JPG"
/88="F09_F100.JPG"
/89="F10_F10.JPG"
/90="F05_F90.JPG"
/91="M01_P0.JPG"
/92="M06_P100.JPG"
/93="M07_P10.JPG"
/94="M02_P90.JPG"
/95="M03_P0.JPG"
/96="M08_P100.JPG"
/97="M09_P10.JPG"
/98="M04_P90.JPG"
/99="M10_P0.JPG"
/100="M05_P100.JPG"
/101="M06_F10.JPG"
/102="M01_F90.JPG"
/103="M02_F0.JPG"
/104="M07_F100.JPG"
/105="M08_F10.JPG"
/106="M03_F90.JPG"
/107="M04_F0.JPG"
/108="M09_F100.JPG"
/109="M05_F10.JPG"
/110="M10_F90.JPG"
</item>

<item correctButton_test_4>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>

**************************************************************************************************************
**************************************************************************************************************
DEFAULTS
**************************************************************************************************************
**************************************************************************************************************
script requires Inquisit 6.5.2.0 or higher

<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "6.5.2.0"
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/txbgcolor = transparent
/txcolor = black
/screencolor = white
/inputdevice = keyboard
</defaults>

**************************************************************************************************************
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************

Note: data file explanations under User Manual Information at the top

To change from one data file per participant to one data file for all participants, set
/separatefiles = false

***********************
raw data file
***********************
<data>
/ separatefiles = true
/ columns = (date, time, subject, group, session, blockcode, blocknum, trialcode, values.fixationStart, values.clearscreen, values.keyAssignment, values.selectStim, stimulusitem, stimulusitem, values.correctButton, response, responsetext, correct, latency)
</data>

***********************
summary data file
***********************
<summarydata>
/ columns = (inquisit.version, computer.platform, script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid,
script.elapsedtime, script.completed,
values.keyAssignment,
expressions.ACC_all,
expressions.meanRT_all)
/ separatefiles = true
</summarydata>


**************************************************************************************************************
**************************************************************************************************************
VALUES: automatically updated
**************************************************************************************************************
**************************************************************************************************************

/countTestBlocks: counts number of test blocks
/skipReadyTrial: 0 = run ready trial; 1 = skip ready trial

<values>
/countTestBlocks = 0
/selectStim = 1
/correctButton = ""
/fixationStart = parameters.fixationStart
/clearscreen = parameters.clearscreen
/keyAssignment = "leftYES"
/spacekey = parameters.spacekey
/YESkey = parameters.leftresponsekey
/NOkey = parameters.rightresponsekey
</values>

/ACC_practice: stores the proportion correct of the current practice run

<values>
/ACC_practice = 0
</values>

**************************************************************************************************************
**************************************************************************************************************
EXPRESSIONS
**************************************************************************************************************
**************************************************************************************************************
/shadowSize: size of shadow text

/ACC_all: proportion correct overall (across all test trials)
/meanRT_all: mean correct latency (in ms) overall

/ACC_FACE: proportion correct in "FACE" block
/ACC_congruent: proportion correct in "congruent" pairings trials (across test blocks)
/ACC_incongruent: proportion correct in "incongruent" pairings trials (across test blocks)

/meanRT_FACE: mean correct latency (in ms) in "FACE" block
/meanRT_congruent: mean correct latency (in ms) in "congruent" pairings trials (across test blocks)
/meanRT_incongruent: mean correct latency (in ms) in "incongruent" pairings trials (across test blocks)

<expressions>
/ACC_all = list.accuracy.mean
/meanRT_all = list.latencies.mean
</expressions>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************

<text intro>
/ items = instructions
/ select = 1
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text break>
/ items = instructions
/ select = 2
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text end>
/ items = instructions
/ select = 3
/ position = (50%, 50%)
/ fontstyle = ("Arial", 8%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text continueButton_intro>
/ items = continueButtons
/ select = text.intro.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = transparent
</text>

<text continueButton_break>
/ items = continueButtons
/ select = text.break.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = transparent
</text>

<text continueButton_Pnd>
/ items = continueButtons
/ select = text.end.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = red
</text>

***********************
Instruction Trials
***********************

<trial introtest>
/ inputdevice = keyboard
/ stimulusframes = [1 = intro, continueButton_intro]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial break>
/ inputdevice = keyboard
/ stimulusframes = [1 = break, continueButton_break]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial finish>
/ inputdevice = keyboard
/ skip = [
values.countTestBlocks == 1;
]
/ stimulusframes = [1 = clearscreen, end, exit]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial fixationStart>
/ stimulusframes = [1 = fixationStart]
/ trialduration = parameters.fixationStart
/ validresponse = (0)
/ recorddata = false
</trial>

**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************

<picture Pic_test_1>
/items = item.pics_test_1
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_2>
/items = item.pics_test_2
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_3>
/items = item.pics_test_3
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_4>
/items = item.pics_test_4
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************

*************************************************
Data Lists: used for descriptive statistics
store correct latencies/accuracy data
fill up during runtime
*************************************************

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracy>
</list>

Note: list stores the latency of correct responses for each relevant trial
<list latencies>
</list>

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracytest>
</list>

**************************************************************************************************************
**************************************************************************************************************
TRIALS: test
**************************************************************************************************************
**************************************************************************************************************

trial test_1>
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_1.nextvalue;
values.correctButton = item.correctButton_test_1.item(values.selectStim);
]
/ stimulusframes = [1 = clearscreen; 2 = ]
/ response = noresponse
/ trialduration = 350
</trial>

trial test_2>
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_2.nextvalue;
values.correctButton = item.correctButton_test_2.item(values.selectStim);
]
/ stimulusframes = [1 = clearscreen; 2 = Pic_test_2]
/ response = noresponse
/ trialduration = 350
</trial>

<trial fixationResp_1>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_1.nextvalue;
values.correctButton = item.correctButton_test_1.item(values.selectStim);
     trial.fixationResp_1.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_1; 350 = clearscreen, fixationResp_1]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_1.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_1.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_1.correct);
if (trial.fixationResp_1.correct) {
list.latencies.appendItem(trial.fixationResp_1.latency);
list.latencies.appendItem(trial.fixationResp_1.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_2>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_2.nextvalue;
values.correctButton = item.correctButton_test_2.item(values.selectStim);
     trial.fixationResp_2.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_2; 350 = clearscreen, fixationResp_2]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_2.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_2.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_2.correct);
if (trial.fixationResp_2.correct) {
list.latencies.appendItem(trial.fixationResp_2.latency);
list.latencies.appendItem(trial.fixationResp_2.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_3>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_3.nextvalue;
values.correctButton = item.correctButton_test_3.item(values.selectStim);
     trial.fixationResp_3.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_3; 350 = clearscreen, fixationResp_3]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_3.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_3.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_3.correct);
if (trial.fixationResp_3.correct) {
list.latencies.appendItem(trial.fixationResp_3.latency);
list.latencies.appendItem(trial.fixationResp_3.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_4>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_4.nextvalue;
values.correctButton = item.correctButton_test_4.item(values.selectStim);
     trial.fixationResp_4.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_4; 350 = clearscreen, fixationResp_4]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_4.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_4.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_4.correct);
if (trial.fixationResp_4.correct) {
list.latencies.appendItem(trial.fixationResp_4.latency);
list.latencies.appendItem(trial.fixationResp_4.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : helper trials
**************************************************************************************************************
**************************************************************************************************************

trial ITI>
/ stimulusframes = [1 = clearscreen]

//touchscreens: present inactive response buttons
// validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ isvalidresponse = [
return(false);
]
/ recorddata = false
/ trialduration = parameters.ITI
</trial>

**************************************************************************************************************
**************************************************************************************************************
BLOCKS
**************************************************************************************************************
**************************************************************************************************************

<block testStart>
/ trials = [1 = introtest]
/ onblockbegin = [
list.accuracy.reset();
list.latencies.reset();
]
</block>

<block fixationStart>
/ trials = [1 = fixationStart]
</block>

<block test_1>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_1
    ]
</block>

<block test_2>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_2
]
</block>

<block test_3>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_3
    ]
</block>

<block test_4>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_4
]
</block>

<block break>
/ trials = [1 = break]
</block>

<block finish>
/ trials = [1 = finish]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
<expt>
/ onexptbegin = [
if (computer.touch && !computer.haskeyboard) {
text.continueButton_Pnd.skip = true;
text.continueButton_intro.skip = true;
         text.continueButton_break.skip = true;
};]

/ blocks = [
    1 = testStart;
    2 = fixationStart;
    3 = test_1;
    4 = break;
    5 = fixationStart;
    6 = test_2;
    7 = break;
    8 = fixationStart;
    9 = test_3;
    10 = break;
    11 = fixationStart;
    12 = test_4;
    13 = finish;
]
</expt>

<monkey>
/ latencydistribution = normal(50, 20)
</monkey>

**************************************************************************************************************
End of File
**************************************************************************************************************

There is a "pause" because your trials have a fixed duration.
https://www.millisecond.com/support/docs/v6/html/language/attributes/trialduration.htm
If you want a max duration only, use /timeout instead.
https://www.millisecond.com/support/docs/v6/html/language/attributes/timeout.htm

In general, you need to internalize https://www.millisecond.com/support/docs/v6/html/howto/howtocontroltiming.htm to understand how trials work.
Good evening.
In fixationResp trial of this code I'd like the stimuli stay on the screen after I respond.
I took "/responseinterrupt" away from the script and "erase" from text/stimuli, but when I respond to the trial the stimuli are erased right away and the script goes to the next trial.

Thank you in advance.
Best.


[code]**************************************************************************************************************
**************************************************************************************************************
EDITABLE PARAMETERS: change editable parameters here
**************************************************************************************************************
**************************************************************************************************************

<parameters>
/clearscreen = 50
/fixationStart = 3000
/picsize = 60%
/top_y = 55%
/bottom_y = 55%
/leftresponsekey = "Z" //lo stampino con la SÌ va messo sulla Z
/rightresponsekey = "M" //lo stampino con la NO va messo sulla M
/spacekey = "BARRA SPAZIATRICE"
</parameters>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE INSTRUCTIONS: change instructions here
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
</instruct>


<item instructions>
/1 = "Adesso farà una prova per familiarizzare con il compito.
Le compariranno dei volti che possono esprimere un'emozione, oppure no.
Le verrà chiesto di premere il tasto SÌ se il volto presentato esprime un'emozione; al contrario, prema il tasto NO se il volto non esprime un'emozione.
Le ricordiamo di premere il più velocemente possibile."

/2 = "Fine della prova.
Se vuole possiamo ripetere la prova."
</item>

<item continueButtons>
/1 = "Premiamo il tasto per iniziare"
/2 = "STOP"
</item>

<text YESButton_instruct>
/ items = ("YES = Prema SÌ")
/ position = (25%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text NOButton_instruct>
/ items = ("NO = Prema NO")
/ position = (75%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text fixationStart>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixation>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text exit>
/ items = ("<Premiamo il tasto indicato per uscire>")
/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ size = (80%, 5%)
/ vjustify = center
</text>

<expressions>
/buttoninstruct1 = if (computer.touch && !computer.haskeyboard) {"response button";}
else {
"un tasto";}
/buttoninstruct2 = if (computer.touch && !computer.haskeyboard) {"button";}
else {
"un altro tasto";}
/buttoninstruct3 = if (computer.touch && !computer.haskeyboard) {"Le chiadiamo di posizionare le dita della mano sinistra e della mano destra sulla tastiera, e di premere un dei tasto per cominciare";}
else {
"Le chiediamo di posizionare l'indice della mano sinistra e l'indice della mano destra sulla tastiera e premere uno dei due tasti corrispondenti per iniziare.";}
</expressions>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE STIMULI
**************************************************************************************************************
**************************************************************************************************************
********************************************
practice
********************************************

<list practice_itemnumbers>
/ items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
/ replace = false
/ resetinterval = 0
</list>

<item pics_practice>
/1= "F11_F20.JPG"
/2= "F11_F30.JPG"
/3 = "F11_F40.JPG"
/4 = "F11_F50.JPG"
/5 = "F11_F60.JPG"
/6 = "F11_F70.JPG"
/7 = "F11_F80.JPG"
/8 = "F11_F90.JPG"
/9 = "F11_F100.JPG"
/10 = "F11_F0.JPG"
/11 = "F11_F10.JPG"
/12 = "M11_F20.JPG"
/13 = "M11_F30.JPG"
/14 = "M11_F40.JPG"
/15 = "M11_F50.JPG"
/16 = "M11_F60.JPG"
/17 = "M11_F70.JPG"
/18 = "M11_F80.JPG"
/19 = "M11_F90.JPG"
/20 = "M11_F100.JPG"
/21 = "M11_F0.JPG"
/22 = "M11_F10.JPG"
/23 = "F11_P20.JPG"
/24 = "F11_P30.JPG"
/25 = "F11_P40.JPG"
/26 = "F11_P50.JPG"
/27 = "F11_P60.JPG"
/28 = "F11_P70.JPG"
/29 = "F11_P80.JPG"
/30 = "F11_P90.JPG"
/31 = "F11_P100.JPG"
/32 = "F11_P0.JPG"
/33 = "F11_P10.JPG"
/34 = "M11_F20.JPG"
/35 = "M11_P30.JPG"
/36 = "M11_P40.JPG"
/37 = "M11_P50.JPG"
/38 = "M11_P60.JPG"
/39 = "M11_P70.JPG"
/40 = "M11_P80.JPG"
/41 = "M11_P90.JPG"
/42 = "M11_P100.JPG"
/43 = "M11_P0.JPG"
/44 = "M11_P10.JPG"
</item>

<item correctButton_practice>
/1 = "YESButton"
/2 = "YESButton"
/3 = "YESButton"
/4 = "YESButton"
/5 = "YESButton"
/6 = "YESButton"
/7 = "YESButton"
/8 = "YESButton"
/9 = "YESButton"
/10 = "NOButton"
/11 = "NOButton"
/12 = "YESButton"
/13 = "YESButton"
/14 = "YESButton"
/15 = "YESButton"
/16 = "YESButton"
/17 = "YESButton"
/18 = "YESButton"
/19 = "YESButton"
/20 = "YESButton"
/21 = "NOButton"
/22 = "NOButton"
/23 = "YESButton"
/24 = "YESButton"
/25 = "YESButton"
/26 = "YESButton"
/27 = "YESButton"
/28 = "YESButton"
/29 = "YESButton"
/30 = "YESButton"
/31 = "YESButton"
/32 = "NOButton"
/33 = "NOButton"
/34 = "YESButton"
/35 = "YESButton"
/36 = "YESButton"
/37 = "YESButton"
/38 = "YESButton"
/39 = "YESButton"
/40 = "YESButton"
/41 = "YESButton"
/42 = "YESButton"
/43 = "NOButton"
/44 = "NOButton"
</item>

**************************************************************************************************************
**************************************************************************************************************
DEFAULTS
**************************************************************************************************************
**************************************************************************************************************
script requires Inquisit 6.5.2.0 or higher

<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "6.5.2.0"
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/txbgcolor = transparent
/txcolor = black
/screencolor = white
/inputdevice = keyboard
</defaults>

**************************************************************************************************************
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************

Note: data file explanations under User Manual Information at the top

To change from one data file per participant to one data file for all participants, set
/separatefiles = false

***********************
raw data file
***********************
<data>
/ separatefiles = true
/ columns = (date, time, subject, group, session, blockcode, blocknum, trialcode, values.fixationStart, values.clearscreen, values.keyAssignment, values.selectStim, stimulusitem, stimulusitem, values.correctButton, response, responsetext, correct, latency)
</data>,

***********************
summary data file
***********************
<summarydata>
/ columns = (inquisit.version, computer.platform, script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid,
script.elapsedtime, script.completed,
values.keyAssignment,
values.ACC_practice,
values.practiceRuns,
expressions.ACC_all,
expressions.meanRT_all)
/ separatefiles = true
</summarydata>

**************************************************************************************************************
**************************************************************************************************************
VALUES: automatically updated
**************************************************************************************************************
**************************************************************************************************************

/countTestBlocks: counts number of test blocks

<values>
/countTestBlocks = 0
/selectStim = 1
/correctButton = ""
/practiceRuns = 0
/fixationStart = parameters.fixationStart
/clearscreen = parameters.clearscreen
/keyAssignment = "leftYES"
/spacekey = parameters.spacekey
/YESkey = parameters.leftresponsekey
/NOkey = parameters.rightresponsekey
</values>

/ACC_practice: stores the proportion correct of the current practice run

<values>
/ACC_practice = 0
</values>

**************************************************************************************************************
**************************************************************************************************************
EXPRESSIONS
**************************************************************************************************************
**************************************************************************************************************
/shadowSize: size of shadow text

/ACC_all: proportion correct overall (across all test trials)
/meanRT_all: mean correct latency (in ms) overall

/ACC_FACE: proportion correct in "FACE" block
/ACC_congruent: proportion correct in "congruent" pairings trials (across test blocks)
/ACC_incongruent: proportion correct in "incongruent" pairings trials (across test blocks)

/meanRT_FACE: mean correct latency (in ms) in "FACE" block
/meanRT_congruent: mean correct latency (in ms) in "congruent" pairings trials (across test blocks)
/meanRT_incongruent: mean correct latency (in ms) in "incongruent" pairings trials (across test blocks)

<expressions>
/ACC_all = list.accuracy.mean
/meanRT_all = list.latencies.mean
</expressions>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************

<text intro>
/ items = instructions
/ select = 1
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text end>
/ items = instructions
/ select = 2
/ position = (50%, 50%)
/ fontstyle = ("Arial", 8%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text continueButton_intro>
/ items = continueButtons
/ select = text.intro.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = transparent
</text>

<text continueButton_Pnd>
/ items = continueButtons
/ select = text.end.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = red
</text>

***********************
Instruction Trials
***********************

<trial practiceStart>
/ inputdevice = keyboard
/ stimulusframes = [1 = intro, continueButton_intro]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial finish>
/ inputdevice = keyboard
/ skip = [
values.countTestBlocks == 1;
]
/ stimulusframes = [1 = clearscreen, end, exit]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial fixationStart>
/ stimulusframes = [1 = fixationStart]
/ trialduration = parameters.fixationStart
/ validresponse = (0)
/ recorddata = false
</trial>

**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************

<picture Pic_practice>
/ items = item.pics_practice
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************

*************************************************
Data Lists: used for descriptive statistics
store correct latencies/accuracy data
fill up during runtime
*************************************************

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracy>
</list>

Note: list stores the latency of correct responses for each relevant trial
<list latencies>
</list>

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracytest>
</list>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : practice
**************************************************************************************************************
**************************************************************************************************************

trial fixation>
/ stimulustimes = [0 = fixation, clearscreen]
/ response = noresponse
/ recorddata = false
/ timeout = 650
</trial>

<trial fixationResp>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.practice_itemnumbers.nextvalue;
values.correctButton = item.correctButton_practice.item(values.selectStim);
]
/ stimulustimes = [0 = Pic_practice; 350 = clearscreen, fixationResp]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ timeout = 1850
// trialduration = 1850
/ posttrialpause = parameters.clearscreen
/ ontrialend = [ list.accuracy.appendItem(trial.fixationResp.correct);
values.ACC_practice = list.accuracy.mean;]
</trial>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : helper trials
**************************************************************************************************************
**************************************************************************************************************

trial ITI>
/ stimulusframes = [1 = fixation]
// validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ isvalidresponse = [
return(false);
]
/ recorddata = false
/ trialduration = 650
</trial>

**************************************************************************************************************
**************************************************************************************************************
BLOCKS
**************************************************************************************************************
**************************************************************************************************************

<block practiceIntro>
/ trials = [1 = practiceStart]
</block>

<block fixationStart>
/ trials = [1 = fixationStart]
</block>

<block practice>
/ onblockbegin = [
list.accuracy.reset();
list.latencies.reset();
values.practiceRuns += 1;
]
// trials = sequence [1 - 43 = fixation, fixationResp]
/trials = [
1 -43 = fixationResp
]
</block>

<block finish>
/ trials = [1 = finish]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
<expt>
/ onexptbegin = [
if (computer.touch && !computer.haskeyboard) {
text.continueButton_Pnd.skip = true;
text.continueButton_intro.skip = true;
};]

/ blocks = [
1 = practiceIntro;
2 = fixationStart;
3 = practice;
4 = finish;
]
</expt>

<monkey>
/ latencydistribution = normal(50, 20)
</monkey>

**************************************************************************************************************
End of File
**************************************************************************************************************
[/code]


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: 13K, Visits: 107K
Igor Iarrobino - 3/11/2025
Hi Dave. I hope you're ok.
I'm writing you again because I don't understand a thing in the following script.

I like how it is now, because I just have pic and fixation, pic and fixation and so on
But, I don't get why a trial is followed smoothly  by the following one when I don't respond (I mean from the fixation to the next pic, that is the beginning of the next trial); instead, if I press the button (respond) I have like a little pause between those trial (like a crealscreen).
I did put "no posttrial pause" after response trial and no ITI between the trials, but it doesn't work like I'd like to: so to have a smooth transition between one trial and the next one (from fixation to pic) even though I respond.

I hope I was clear and I thank you beforehand.
Regards

**************************************************************************************************************
**************************************************************************************************************
EDITABLE PARAMETERS: change editable parameters here
**************************************************************************************************************
**************************************************************************************************************

<parameters>
/clearscreen = 50
/fixationStart = 3000
/picsize = 60%
/top_y = 55%
/bottom_y = 55%
/leftresponsekey = "Z" //lo stampino con la SÌ va messo sulla Z
/rightresponsekey = "M" //lo stampino con la NO va messo sulla M
/spacekey = "BARRA SPAZIATRICE"
</parameters>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE INSTRUCTIONS: change instructions here
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
</instruct>

<item instructions>
/1 = "Adesso inizia il compito.
Le compariranno dei volti che possono esprimere un'emozione, oppure no.
Le verrà chiesto di premere il tasto SÌ se il volto presentato esprime un'emozione; al contrario, prema il tasto NO se il volto non esprime un'emozione.
Le ricordiamo di premere il più velocemente possibile."

/2 = "Adesso Lei farà una breve pausa.
Premiamo il tasto per ricominciare"

/3 = "Fine della prova."
</item>

<item continueButtons>
/1 = "Premiamo il tasto per iniziare"
/2 = "Premiamo il tasto per continuare"
/3 = "STOP"
</item>

<text YESButton_instruct>
/ items = ("YES = Prema SÌ")
/ position = (25%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text NOButton_instruct>
/ items = ("NO = Prema NO")
/ position = (75%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text fixationStart>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_1>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_2>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_3>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_4>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text exit>
/ items = ("<Premiamo il tasto per uscire>")
/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ size = (80%, 5%)
/ vjustify = center
</text>

<expressions>
/buttoninstruct1 = if (computer.touch && !computer.haskeyboard) {"response button";}
else {
"un tasto";}
/buttoninstruct2 = if (computer.touch && !computer.haskeyboard) {"button";}
else {
"un altro tasto";}
/buttoninstruct3 = if (computer.touch && !computer.haskeyboard) {"Le chiadiamo di posizionare le dita della mano sinistra e della mano destra sulla tastiera, e di premere un dei tasto per cominciare";}
else {
"Le chiediamo di posizionare l'indice della mano sinistra e l'indice della mano destra sulla tastiera e premere uno dei due tasti colorati per iniziare.";}
</expressions>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE STIMULI
**************************************************************************************************************
**************************************************************************************************************
****************************
Test
****************************

<list test_itemnumbers_1>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_1>
/1="F01_P20.JPG"
/2="F06_P30.JPG"
/3="F01_P40.JPG"
/4="F07_P50.JPG"
/5="F07_P60.JPG"
/6="F02_P70.JPG"
/7="F02_P80.JPG"
/8="F03_P20.JPG"
/9="F08_P30.JPG"
/10="F03_P40.JPG"
/11="F09_P50.JPG"
/12="F09_P60.JPG"
/13="F04_P70.JPG"
/14="F04_P80.JPG"
/15="F10_P20.JPG"
/16="F05_P30.JPG"
/17="F10_P40.JPG"
/18="F06_F50.JPG"
/19="F01_F60.JPG"
/20="F01_F70.JPG"
/21="F06_F80.JPG"
/22="F02_F20.JPG"
/23="F07_F30.JPG"
/24="F02_F40.JPG"
/25="F08_F50.JPG"
/26="F03_F60.JPG"
/27="F03_F70.JPG"
/28="F08_F80.JPG"
/29="F09_F20.JPG"
/30="F04_F30.JPG"
/31="F09_F40.JPG"
/32="F10_F50.JPG"
/33="F10_F60.JPG"
/34="F10_F70.JPG"
/35="F05_F80.JPG"
/36="M06_P20.JPG"
/37="M01_P30.JPG"
/38="M06_P40.JPG"
/39="M07_P50.JPG"
/40="M07_P60.JPG"
/41="M07_P70.JPG"
/42="M02_P80.JPG"
/43="M08_P20.JPG"
/44="M03_P30.JPG"
/45="M08_P40.JPG"
/46="M04_P50.JPG"
/47="M09_P60.JPG"
/48="M09_P70.JPG"
/49="M04_P80.JPG"
/50="M05_P20.JPG"
/51="M10_P30.JPG"
/52="M05_P40.JPG"
/53="M01_F50.JPG"
/54="M06_F60.JPG"
/55="M06_F70.JPG"
/56="M01_F80.JPG"
/57="M02_F20.JPG"
/58="M07_F30.JPG"
/59="M02_F40.JPG"
/60="M08_F50.JPG"
/61="M03_F60.JPG"
/62="M03_F70.JPG"
/63="M08_F80.JPG"
/64="M04_F50.JPG"
/65="M09_F60.JPG"
/66="M09_F70.JPG"
/67="M09_F80.JPG"
/68="M10_F20.JPG"
/69="M05_F30.JPG"
/70="M10_F40.JPG"
/71="F06_P0.JPG"
/72="F01_P100.JPG"
/73="F02_P10.JPG"
/74="F07_P90.JPG"
/75="F08_P0.JPG"
/76="F03_P100.JPG"
/77="F04_P10.JPG"
/78="F09_P90.JPG"
/79="F10_P0.JPG"
/80="F05_P100.JPG"
/81="F01_F10.JPG"
/82="F06_F90.JPG"
/83="F07_F0.JPG"
/84="F02_F100.JPG"
/85="F03_F10.JPG"
/86="F08_F90.JPG"
/87="F09_F0.JPG"
/88="F04_F100.JPG"
/89="F05_F10.JPG"
/90="F10_F90.JPG"
/91="M06_P0.JPG"
/92="M01_P100.JPG"
/93="M02_P10.JPG"
/94="M07_P90.JPG"
/95="M08_P0.JPG"
/96="M03_P100.JPG"
/97="M04_P10.JPG"
/98="M09_P90.JPG"
/99="M05_P0.JPG"
/100="M10_P100.JPG"
/101="M01_F10.JPG"
/102="M06_F90.JPG"
/103="M07_F0.JPG"
/104="M02_F100.JPG"
/105="M03_F10.JPG"
/106="M08_F90.JPG"
/107="M09_F0.JPG"
/108="M04_F100.JPG"
/109="M10_F10.JPG"
/110="M05_F90.JPG"
</item>

<item correctButton_test_1>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>


<list test_itemnumbers_2>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_2>
/1="F06_P20.JPG"
/2="F01_P30.JPG"
/3="F06_P40.JPG"
/4="F02_P50.JPG"
/5="F02_P60.JPG"
/6="F07_P70.JPG"
/7="F07_P80.JPG"
/8="F08_P20.JPG"
/9="F03_P30.JPG"
/10="F08_P40.JPG"
/11="F04_P50.JPG"
/12="F04_P60.JPG"
/13="F09_P70.JPG"
/14="F09_P80.JPG"
/15="F05_P20.JPG"
/16="F10_P30.JPG"
/17="F05_P40.JPG"
/18="F01_F50.JPG"
/19="F06_F60.JPG"
/20="F06_F70.JPG"
/21="F01_F80.JPG"
/22="F07_F20.JPG"
/23="F02_F30.JPG"
/24="F07_F40.JPG"
/25="F03_F50.JPG"
/26="F08_F60.JPG"
/27="F08_F70.JPG"
/28="F03_F80.JPG"
/29="F04_F20.JPG"
/30="F09_F30.JPG"
/31="F04_F40.JPG"
/32="F05_F50.JPG"
/33="F05_F60.JPG"
/34="F05_F70.JPG"
/35="F10_F80.JPG"
/36="M01_P20.JPG"
/37="M06_P30.JPG"
/38="M01_P40.JPG"
/39="M02_P50.JPG"
/40="M02_P60.JPG"
/41="M02_P70.JPG"
/42="M07_P80.JPG"
/43="M03_P20.JPG"
/44="M08_P30.JPG"
/45="M03_P40.JPG"
/46="M09_P50.JPG"
/47="M04_P60.JPG"
/48="M04_P70.JPG"
/49="M09_P80.JPG"
/50="M10_P20.JPG"
/51="M05_P30.JPG"
/52="M10_P40.JPG"
/53="M06_F50.JPG"
/54="M01_F60.JPG"
/55="M01_F70.JPG"
/56="M06_F80.JPG"
/57="M07_F20.JPG"
/58="M02_F30.JPG"
/59="M07_F40.JPG"
/60="M03_F50.JPG"
/61="M08_F60.JPG"
/62="M08_F70.JPG"
/63="M03_F80.JPG"
/64="M09_F50.JPG"
/65="M04_F60.JPG"
/66="M04_F70.JPG"
/67="M04_F80.JPG"
/68="M05_F20.JPG"
/69="M10_F30.JPG"
/70="M05_F40.JPG"
/71="F06_P10.JPG"
/72="F01_P90.JPG"
/73="F02_P0.JPG"
/74="F07_P100.JPG"
/75="F08_P10.JPG"
/76="F03_P90.JPG"
/77="F04_P0.JPG"
/78="F09_P100.JPG"
/79="F10_P10.JPG"
/80="F05_P90.JPG"
/81="F01_F0.JPG"
/82="F06_F100.JPG"
/83="F07_F10.JPG"
/84="F02_F90.JPG"
/85="F03_F0.JPG"
/86="F08_F100.JPG"
/87="F09_F10.JPG"
/88="F04_F90.JPG"
/89="F05_F0.JPG"
/90="F10_F100.JPG"
/91="M06_P10.JPG"
/92="M01_P90.JPG"
/93="M02_P0.JPG"
/94="M07_P100.JPG"
/95="M08_P10.JPG"
/96="M03_P90.JPG"
/97="M04_P0.JPG"
/98="M09_P100.JPG"
/99="M05_P10.JPG"
/100="M10_P90.JPG"
/101="M01_F0.JPG"
/102="M06_F100.JPG"
/103="M07_F10.JPG"
/104="M02_F90.JPG"
/105="M03_F0.JPG"
/106="M08_F100.JPG"
/107="M09_F10.JPG"
/108="M04_F90.JPG"
/109="M10_F0.JPG"
/110="M05_F100.JPG"
</item>

<item correctButton_test_2>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>

<list test_itemnumbers_3>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_3>
/1="F01_P50.JPG"
/2="F01_P60.JPG"
/3="F06_P70.JPG"
/4="F06_P80.JPG"
/5="F02_P20.JPG"
/6="F07_P30.JPG"
/7="F02_P40.JPG"
/8="F08_P50.JPG"
/9="F03_P60.JPG"
/10="F03_P70.JPG"
/11="F08_P80.JPG"
/12="F04_P20.JPG"
/13="F09_P30.JPG"
/14="F04_P40.JPG"
/15="F05_P50.JPG"
/16="F10_P60.JPG"
/17="F10_P70.JPG"
/18="F05_P80.JPG"
/19="F06_F20.JPG"
/20="F01_F30.JPG"
/21="F06_F40.JPG"
/22="F07_F50.JPG"
/23="F02_F60.JPG"
/24="F02_F70.JPG"
/25="F07_F80.JPG"
/26="F03_F20.JPG"
/27="F08_F30.JPG"
/28="F03_F40.JPG"
/29="F09_F50.JPG"
/30="F09_F60.JPG"
/31="F09_F70.JPG"
/32="F04_F80.JPG"
/33="F10_F20.JPG"
/34="F05_F30.JPG"
/35="F10_F40.JPG"
/36="M06_P50.JPG"
/37="M06_P60.JPG"
/38="M06_P70.JPG"
/39="M01_P80.JPG"
/40="M07_P20.JPG"
/41="M02_P30.JPG"
/42="M07_P40.JPG"
/43="M03_P50.JPG"
/44="M08_P60.JPG"
/45="M08_P70.JPG"
/46="M03_P80.JPG"
/47="M09_P20.JPG"
/48="M04_P30.JPG"
/49="M09_P40.JPG"
/50="M10_P50.JPG"
/51="M05_P60.JPG"
/52="M05_P70.JPG"
/53="M10_P80.JPG"
/54="M01_F20.JPG"
/55="M06_F30.JPG"
/56="M01_F40.JPG"
/57="M02_F50.JPG"
/58="M07_F60.JPG"
/59="M07_F70.JPG"
/60="M02_F80.JPG"
/61="M03_F20.JPG"
/62="M08_F30.JPG"
/63="M03_F40.JPG"
/64="M04_F20.JPG"
/65="M09_F30.JPG"
/66="M04_F40.JPG"
/67="M05_F50.JPG"
/68="M10_F60.JPG"
/69="M10_F70.JPG"
/70="M05_F80.JPG"
/71="F01_P10.JPG"
/72="F06_P90.JPG"
/73="F07_P0.JPG"
/74="F02_P100.JPG"
/75="F03_P10.JPG"
/76="F08_P90.JPG"
/77="F09_P0.JPG"
/78="F04_P100.JPG"
/79="F05_P10.JPG"
/80="F10_P90.JPG"
/81="F06_F0.JPG"
/82="F01_F100.JPG"
/83="F02_F10.JPG"
/84="F07_F90.JPG"
/85="F08_F0.JPG"
/86="F03_F100.JPG"
/87="F04_F10.JPG"
/88="F09_F90.JPG"
/89="F10_F0.JPG"
/90="F05_F100.JPG"
/91="M01_P10.JPG"
/92="M06_P90.JPG"
/93="M07_P0.JPG"
/94="M02_P100.JPG"
/95="M03_P10.JPG"
/96="M08_P90.JPG"
/97="M09_P0.JPG"
/98="M04_P100.JPG"
/99="M10_P10.JPG"
/100="M05_P90.JPG"
/101="M06_F0.JPG"
/102="M01_F100.JPG"
/103="M02_F10.JPG"
/104="M07_F90.JPG"
/105="M08_F0.JPG"
/106="M03_F100.JPG"
/107="M04_F10.JPG"
/108="M09_F90.JPG"
/109="M05_F0.JPG"
/110="M10_F100.JPG"
</item>

<item correctButton_test_3>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>


<list test_itemnumbers_4>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
</list>

<item pics_test_4>
/1="F06_P50.JPG"
/2="F06_P60.JPG"
/3="F01_P70.JPG"
/4="F01_P80.JPG"
/5="F07_P20.JPG"
/6="F02_P30.JPG"
/7="F07_P40.JPG"
/8="F03_P50.JPG"
/9="F08_P60.JPG"
/10="F08_P70.JPG"
/11="F03_P80.JPG"
/12="F09_P20.JPG"
/13="F04_P30.JPG"
/14="F09_P40.JPG"
/15="F10_P50.JPG"
/16="F05_P60.JPG"
/17="F05_P70.JPG"
/18="F10_P80.JPG"
/19="F01_F20.JPG"
/20="F06_F30.JPG"
/21="F01_F40.JPG"
/22="F02_F50.JPG"
/23="F07_F60.JPG"
/24="F07_F70.JPG"
/25="F02_F80.JPG"
/26="F08_F20.JPG"
/27="F03_F30.JPG"
/28="F08_F40.JPG"
/29="F04_F50.JPG"
/30="F04_F60.JPG"
/31="F04_F70.JPG"
/32="F09_F80.JPG"
/33="F05_F20.JPG"
/34="F10_F30.JPG"
/35="F05_F40.JPG"
/36="M01_P50.JPG"
/37="M01_P60.JPG"
/38="M01_P70.JPG"
/39="M06_P80.JPG"
/40="M02_P20.JPG"
/41="M07_P30.JPG"
/42="M02_P40.JPG"
/43="M08_P50.JPG"
/44="M03_P60.JPG"
/45="M03_P70.JPG"
/46="M08_P80.JPG"
/47="M04_P20.JPG"
/48="M09_P30.JPG"
/49="M04_P40.JPG"
/50="M05_P50.JPG"
/51="M10_P60.JPG"
/52="M10_P70.JPG"
/53="M05_P80.JPG"
/54="M06_F20.JPG"
/55="M01_F30.JPG"
/56="M06_F40.JPG"
/57="M07_F50.JPG"
/58="M02_F60.JPG"
/59="M02_F70.JPG"
/60="M07_F80.JPG"
/61="M08_F20.JPG"
/62="M03_F30.JPG"
/63="M08_F40.JPG"
/64="M09_F20.JPG"
/65="M04_F30.JPG"
/66="M09_F40.JPG"
/67="M10_F50.JPG"
/68="M05_F60.JPG"
/69="M05_F70.JPG"
/70="M10_F80.JPG"
/71="F01_P0.JPG"
/72="F06_P100.JPG"
/73="F07_P10.JPG"
/74="F02_P90.JPG"
/75="F03_P0.JPG"
/76="F08_P100.JPG"
/77="F09_P10.JPG"
/78="F04_P90.JPG"
/79="F05_P0.JPG"
/80="F10_P100.JPG"
/81="F06_F10.JPG"
/82="F01_F90.JPG"
/83="F02_F0.JPG"
/84="F07_F100.JPG"
/85="F08_F10.JPG"
/86="F03_F90.JPG"
/87="F04_F0.JPG"
/88="F09_F100.JPG"
/89="F10_F10.JPG"
/90="F05_F90.JPG"
/91="M01_P0.JPG"
/92="M06_P100.JPG"
/93="M07_P10.JPG"
/94="M02_P90.JPG"
/95="M03_P0.JPG"
/96="M08_P100.JPG"
/97="M09_P10.JPG"
/98="M04_P90.JPG"
/99="M10_P0.JPG"
/100="M05_P100.JPG"
/101="M06_F10.JPG"
/102="M01_F90.JPG"
/103="M02_F0.JPG"
/104="M07_F100.JPG"
/105="M08_F10.JPG"
/106="M03_F90.JPG"
/107="M04_F0.JPG"
/108="M09_F100.JPG"
/109="M05_F10.JPG"
/110="M10_F90.JPG"
</item>

<item correctButton_test_4>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>

**************************************************************************************************************
**************************************************************************************************************
DEFAULTS
**************************************************************************************************************
**************************************************************************************************************
script requires Inquisit 6.5.2.0 or higher

<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "6.5.2.0"
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/txbgcolor = transparent
/txcolor = black
/screencolor = white
/inputdevice = keyboard
</defaults>

**************************************************************************************************************
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************

Note: data file explanations under User Manual Information at the top

To change from one data file per participant to one data file for all participants, set
/separatefiles = false

***********************
raw data file
***********************
<data>
/ separatefiles = true
/ columns = (date, time, subject, group, session, blockcode, blocknum, trialcode, values.fixationStart, values.clearscreen, values.keyAssignment, values.selectStim, stimulusitem, stimulusitem, values.correctButton, response, responsetext, correct, latency)
</data>

***********************
summary data file
***********************
<summarydata>
/ columns = (inquisit.version, computer.platform, script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid,
script.elapsedtime, script.completed,
values.keyAssignment,
expressions.ACC_all,
expressions.meanRT_all)
/ separatefiles = true
</summarydata>


**************************************************************************************************************
**************************************************************************************************************
VALUES: automatically updated
**************************************************************************************************************
**************************************************************************************************************

/countTestBlocks: counts number of test blocks
/skipReadyTrial: 0 = run ready trial; 1 = skip ready trial

<values>
/countTestBlocks = 0
/selectStim = 1
/correctButton = ""
/fixationStart = parameters.fixationStart
/clearscreen = parameters.clearscreen
/keyAssignment = "leftYES"
/spacekey = parameters.spacekey
/YESkey = parameters.leftresponsekey
/NOkey = parameters.rightresponsekey
</values>

/ACC_practice: stores the proportion correct of the current practice run

<values>
/ACC_practice = 0
</values>

**************************************************************************************************************
**************************************************************************************************************
EXPRESSIONS
**************************************************************************************************************
**************************************************************************************************************
/shadowSize: size of shadow text

/ACC_all: proportion correct overall (across all test trials)
/meanRT_all: mean correct latency (in ms) overall

/ACC_FACE: proportion correct in "FACE" block
/ACC_congruent: proportion correct in "congruent" pairings trials (across test blocks)
/ACC_incongruent: proportion correct in "incongruent" pairings trials (across test blocks)

/meanRT_FACE: mean correct latency (in ms) in "FACE" block
/meanRT_congruent: mean correct latency (in ms) in "congruent" pairings trials (across test blocks)
/meanRT_incongruent: mean correct latency (in ms) in "incongruent" pairings trials (across test blocks)

<expressions>
/ACC_all = list.accuracy.mean
/meanRT_all = list.latencies.mean
</expressions>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************

<text intro>
/ items = instructions
/ select = 1
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text break>
/ items = instructions
/ select = 2
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text end>
/ items = instructions
/ select = 3
/ position = (50%, 50%)
/ fontstyle = ("Arial", 8%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text continueButton_intro>
/ items = continueButtons
/ select = text.intro.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = transparent
</text>

<text continueButton_break>
/ items = continueButtons
/ select = text.break.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = transparent
</text>

<text continueButton_Pnd>
/ items = continueButtons
/ select = text.end.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = red
</text>

***********************
Instruction Trials
***********************

<trial introtest>
/ inputdevice = keyboard
/ stimulusframes = [1 = intro, continueButton_intro]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial break>
/ inputdevice = keyboard
/ stimulusframes = [1 = break, continueButton_break]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial finish>
/ inputdevice = keyboard
/ skip = [
values.countTestBlocks == 1;
]
/ stimulusframes = [1 = clearscreen, end, exit]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial fixationStart>
/ stimulusframes = [1 = fixationStart]
/ trialduration = parameters.fixationStart
/ validresponse = (0)
/ recorddata = false
</trial>

**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************

<picture Pic_test_1>
/items = item.pics_test_1
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_2>
/items = item.pics_test_2
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_3>
/items = item.pics_test_3
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_4>
/items = item.pics_test_4
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************

*************************************************
Data Lists: used for descriptive statistics
store correct latencies/accuracy data
fill up during runtime
*************************************************

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracy>
</list>

Note: list stores the latency of correct responses for each relevant trial
<list latencies>
</list>

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracytest>
</list>

**************************************************************************************************************
**************************************************************************************************************
TRIALS: test
**************************************************************************************************************
**************************************************************************************************************

trial test_1>
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_1.nextvalue;
values.correctButton = item.correctButton_test_1.item(values.selectStim);
]
/ stimulusframes = [1 = clearscreen; 2 = ]
/ response = noresponse
/ trialduration = 350
</trial>

trial test_2>
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_2.nextvalue;
values.correctButton = item.correctButton_test_2.item(values.selectStim);
]
/ stimulusframes = [1 = clearscreen; 2 = Pic_test_2]
/ response = noresponse
/ trialduration = 350
</trial>

<trial fixationResp_1>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_1.nextvalue;
values.correctButton = item.correctButton_test_1.item(values.selectStim);
     trial.fixationResp_1.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_1; 350 = clearscreen, fixationResp_1]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_1.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_1.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_1.correct);
if (trial.fixationResp_1.correct) {
list.latencies.appendItem(trial.fixationResp_1.latency);
list.latencies.appendItem(trial.fixationResp_1.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_2>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_2.nextvalue;
values.correctButton = item.correctButton_test_2.item(values.selectStim);
     trial.fixationResp_2.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_2; 350 = clearscreen, fixationResp_2]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_2.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_2.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_2.correct);
if (trial.fixationResp_2.correct) {
list.latencies.appendItem(trial.fixationResp_2.latency);
list.latencies.appendItem(trial.fixationResp_2.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_3>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_3.nextvalue;
values.correctButton = item.correctButton_test_3.item(values.selectStim);
     trial.fixationResp_3.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_3; 350 = clearscreen, fixationResp_3]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_3.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_3.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_3.correct);
if (trial.fixationResp_3.correct) {
list.latencies.appendItem(trial.fixationResp_3.latency);
list.latencies.appendItem(trial.fixationResp_3.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_4>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_4.nextvalue;
values.correctButton = item.correctButton_test_4.item(values.selectStim);
     trial.fixationResp_4.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_4; 350 = clearscreen, fixationResp_4]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_4.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_4.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_4.correct);
if (trial.fixationResp_4.correct) {
list.latencies.appendItem(trial.fixationResp_4.latency);
list.latencies.appendItem(trial.fixationResp_4.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : helper trials
**************************************************************************************************************
**************************************************************************************************************

trial ITI>
/ stimulusframes = [1 = clearscreen]

//touchscreens: present inactive response buttons
// validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ isvalidresponse = [
return(false);
]
/ recorddata = false
/ trialduration = parameters.ITI
</trial>

**************************************************************************************************************
**************************************************************************************************************
BLOCKS
**************************************************************************************************************
**************************************************************************************************************

<block testStart>
/ trials = [1 = introtest]
/ onblockbegin = [
list.accuracy.reset();
list.latencies.reset();
]
</block>

<block fixationStart>
/ trials = [1 = fixationStart]
</block>

<block test_1>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_1
    ]
</block>

<block test_2>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_2
]
</block>

<block test_3>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_3
    ]
</block>

<block test_4>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_4
]
</block>

<block break>
/ trials = [1 = break]
</block>

<block finish>
/ trials = [1 = finish]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
<expt>
/ onexptbegin = [
if (computer.touch && !computer.haskeyboard) {
text.continueButton_Pnd.skip = true;
text.continueButton_intro.skip = true;
         text.continueButton_break.skip = true;
};]

/ blocks = [
    1 = testStart;
    2 = fixationStart;
    3 = test_1;
    4 = break;
    5 = fixationStart;
    6 = test_2;
    7 = break;
    8 = fixationStart;
    9 = test_3;
    10 = break;
    11 = fixationStart;
    12 = test_4;
    13 = finish;
]
</expt>

<monkey>
/ latencydistribution = normal(50, 20)
</monkey>

**************************************************************************************************************
End of File
**************************************************************************************************************

There is a "pause" because your trials have a fixed duration.
https://www.millisecond.com/support/docs/v6/html/language/attributes/trialduration.htm
If you want a max duration only, use /timeout instead.
https://www.millisecond.com/support/docs/v6/html/language/attributes/timeout.htm

In general, you need to internalize https://www.millisecond.com/support/docs/v6/html/howto/howtocontroltiming.htm to understand how trials work.
Igor Iarrobino
Igor Iarrobino
Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)
Group: Forum Members
Posts: 42, Visits: 114
Hi Dave. I hope you're ok.
I'm writing you again because I don't understand a thing in the following script.

I like how it is now, because I just have pic and fixation, pic and fixation and so on
But, I don't get why a trial is followed smoothly  by the following one when I don't respond (I mean from the fixation to the next pic, that is the beginning of the next trial); instead, if I press the button (respond) I have like a little pause between those trial (like a crealscreen).
I did put "no posttrial pause" after response trial and no ITI between the trials, but it doesn't work like I'd like to: so to have a smooth transition between one trial and the next one (from fixation to pic) even though I respond.

I hope I was clear and I thank you beforehand.
Regards

**************************************************************************************************************
**************************************************************************************************************
EDITABLE PARAMETERS: change editable parameters here
**************************************************************************************************************
**************************************************************************************************************

<parameters>
/clearscreen = 50
/fixationStart = 3000
/picsize = 60%
/top_y = 55%
/bottom_y = 55%
/leftresponsekey = "Z" //lo stampino con la SÌ va messo sulla Z
/rightresponsekey = "M" //lo stampino con la NO va messo sulla M
/spacekey = "BARRA SPAZIATRICE"
</parameters>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE INSTRUCTIONS: change instructions here
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
</instruct>

<item instructions>
/1 = "Adesso inizia il compito.
Le compariranno dei volti che possono esprimere un'emozione, oppure no.
Le verrà chiesto di premere il tasto SÌ se il volto presentato esprime un'emozione; al contrario, prema il tasto NO se il volto non esprime un'emozione.
Le ricordiamo di premere il più velocemente possibile."

/2 = "Adesso Lei farà una breve pausa.
Premiamo il tasto per ricominciare"

/3 = "Fine della prova."
</item>

<item continueButtons>
/1 = "Premiamo il tasto per iniziare"
/2 = "Premiamo il tasto per continuare"
/3 = "STOP"
</item>

<text YESButton_instruct>
/ items = ("YES = Prema SÌ")
/ position = (25%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text NOButton_instruct>
/ items = ("NO = Prema NO")
/ position = (75%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text fixationStart>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_1>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_2>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_3>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp_4>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text exit>
/ items = ("<Premiamo il tasto per uscire>")
/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ size = (80%, 5%)
/ vjustify = center
</text>

<expressions>
/buttoninstruct1 = if (computer.touch && !computer.haskeyboard) {"response button";}
else {
"un tasto";}
/buttoninstruct2 = if (computer.touch && !computer.haskeyboard) {"button";}
else {
"un altro tasto";}
/buttoninstruct3 = if (computer.touch && !computer.haskeyboard) {"Le chiadiamo di posizionare le dita della mano sinistra e della mano destra sulla tastiera, e di premere un dei tasto per cominciare";}
else {
"Le chiediamo di posizionare l'indice della mano sinistra e l'indice della mano destra sulla tastiera e premere uno dei due tasti colorati per iniziare.";}
</expressions>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE STIMULI
**************************************************************************************************************
**************************************************************************************************************
****************************
Test
****************************

<list test_itemnumbers_1>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_1>
/1="F01_P20.JPG"
/2="F06_P30.JPG"
/3="F01_P40.JPG"
/4="F07_P50.JPG"
/5="F07_P60.JPG"
/6="F02_P70.JPG"
/7="F02_P80.JPG"
/8="F03_P20.JPG"
/9="F08_P30.JPG"
/10="F03_P40.JPG"
/11="F09_P50.JPG"
/12="F09_P60.JPG"
/13="F04_P70.JPG"
/14="F04_P80.JPG"
/15="F10_P20.JPG"
/16="F05_P30.JPG"
/17="F10_P40.JPG"
/18="F06_F50.JPG"
/19="F01_F60.JPG"
/20="F01_F70.JPG"
/21="F06_F80.JPG"
/22="F02_F20.JPG"
/23="F07_F30.JPG"
/24="F02_F40.JPG"
/25="F08_F50.JPG"
/26="F03_F60.JPG"
/27="F03_F70.JPG"
/28="F08_F80.JPG"
/29="F09_F20.JPG"
/30="F04_F30.JPG"
/31="F09_F40.JPG"
/32="F10_F50.JPG"
/33="F10_F60.JPG"
/34="F10_F70.JPG"
/35="F05_F80.JPG"
/36="M06_P20.JPG"
/37="M01_P30.JPG"
/38="M06_P40.JPG"
/39="M07_P50.JPG"
/40="M07_P60.JPG"
/41="M07_P70.JPG"
/42="M02_P80.JPG"
/43="M08_P20.JPG"
/44="M03_P30.JPG"
/45="M08_P40.JPG"
/46="M04_P50.JPG"
/47="M09_P60.JPG"
/48="M09_P70.JPG"
/49="M04_P80.JPG"
/50="M05_P20.JPG"
/51="M10_P30.JPG"
/52="M05_P40.JPG"
/53="M01_F50.JPG"
/54="M06_F60.JPG"
/55="M06_F70.JPG"
/56="M01_F80.JPG"
/57="M02_F20.JPG"
/58="M07_F30.JPG"
/59="M02_F40.JPG"
/60="M08_F50.JPG"
/61="M03_F60.JPG"
/62="M03_F70.JPG"
/63="M08_F80.JPG"
/64="M04_F50.JPG"
/65="M09_F60.JPG"
/66="M09_F70.JPG"
/67="M09_F80.JPG"
/68="M10_F20.JPG"
/69="M05_F30.JPG"
/70="M10_F40.JPG"
/71="F06_P0.JPG"
/72="F01_P100.JPG"
/73="F02_P10.JPG"
/74="F07_P90.JPG"
/75="F08_P0.JPG"
/76="F03_P100.JPG"
/77="F04_P10.JPG"
/78="F09_P90.JPG"
/79="F10_P0.JPG"
/80="F05_P100.JPG"
/81="F01_F10.JPG"
/82="F06_F90.JPG"
/83="F07_F0.JPG"
/84="F02_F100.JPG"
/85="F03_F10.JPG"
/86="F08_F90.JPG"
/87="F09_F0.JPG"
/88="F04_F100.JPG"
/89="F05_F10.JPG"
/90="F10_F90.JPG"
/91="M06_P0.JPG"
/92="M01_P100.JPG"
/93="M02_P10.JPG"
/94="M07_P90.JPG"
/95="M08_P0.JPG"
/96="M03_P100.JPG"
/97="M04_P10.JPG"
/98="M09_P90.JPG"
/99="M05_P0.JPG"
/100="M10_P100.JPG"
/101="M01_F10.JPG"
/102="M06_F90.JPG"
/103="M07_F0.JPG"
/104="M02_F100.JPG"
/105="M03_F10.JPG"
/106="M08_F90.JPG"
/107="M09_F0.JPG"
/108="M04_F100.JPG"
/109="M10_F10.JPG"
/110="M05_F90.JPG"
</item>

<item correctButton_test_1>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>


<list test_itemnumbers_2>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_2>
/1="F06_P20.JPG"
/2="F01_P30.JPG"
/3="F06_P40.JPG"
/4="F02_P50.JPG"
/5="F02_P60.JPG"
/6="F07_P70.JPG"
/7="F07_P80.JPG"
/8="F08_P20.JPG"
/9="F03_P30.JPG"
/10="F08_P40.JPG"
/11="F04_P50.JPG"
/12="F04_P60.JPG"
/13="F09_P70.JPG"
/14="F09_P80.JPG"
/15="F05_P20.JPG"
/16="F10_P30.JPG"
/17="F05_P40.JPG"
/18="F01_F50.JPG"
/19="F06_F60.JPG"
/20="F06_F70.JPG"
/21="F01_F80.JPG"
/22="F07_F20.JPG"
/23="F02_F30.JPG"
/24="F07_F40.JPG"
/25="F03_F50.JPG"
/26="F08_F60.JPG"
/27="F08_F70.JPG"
/28="F03_F80.JPG"
/29="F04_F20.JPG"
/30="F09_F30.JPG"
/31="F04_F40.JPG"
/32="F05_F50.JPG"
/33="F05_F60.JPG"
/34="F05_F70.JPG"
/35="F10_F80.JPG"
/36="M01_P20.JPG"
/37="M06_P30.JPG"
/38="M01_P40.JPG"
/39="M02_P50.JPG"
/40="M02_P60.JPG"
/41="M02_P70.JPG"
/42="M07_P80.JPG"
/43="M03_P20.JPG"
/44="M08_P30.JPG"
/45="M03_P40.JPG"
/46="M09_P50.JPG"
/47="M04_P60.JPG"
/48="M04_P70.JPG"
/49="M09_P80.JPG"
/50="M10_P20.JPG"
/51="M05_P30.JPG"
/52="M10_P40.JPG"
/53="M06_F50.JPG"
/54="M01_F60.JPG"
/55="M01_F70.JPG"
/56="M06_F80.JPG"
/57="M07_F20.JPG"
/58="M02_F30.JPG"
/59="M07_F40.JPG"
/60="M03_F50.JPG"
/61="M08_F60.JPG"
/62="M08_F70.JPG"
/63="M03_F80.JPG"
/64="M09_F50.JPG"
/65="M04_F60.JPG"
/66="M04_F70.JPG"
/67="M04_F80.JPG"
/68="M05_F20.JPG"
/69="M10_F30.JPG"
/70="M05_F40.JPG"
/71="F06_P10.JPG"
/72="F01_P90.JPG"
/73="F02_P0.JPG"
/74="F07_P100.JPG"
/75="F08_P10.JPG"
/76="F03_P90.JPG"
/77="F04_P0.JPG"
/78="F09_P100.JPG"
/79="F10_P10.JPG"
/80="F05_P90.JPG"
/81="F01_F0.JPG"
/82="F06_F100.JPG"
/83="F07_F10.JPG"
/84="F02_F90.JPG"
/85="F03_F0.JPG"
/86="F08_F100.JPG"
/87="F09_F10.JPG"
/88="F04_F90.JPG"
/89="F05_F0.JPG"
/90="F10_F100.JPG"
/91="M06_P10.JPG"
/92="M01_P90.JPG"
/93="M02_P0.JPG"
/94="M07_P100.JPG"
/95="M08_P10.JPG"
/96="M03_P90.JPG"
/97="M04_P0.JPG"
/98="M09_P100.JPG"
/99="M05_P10.JPG"
/100="M10_P90.JPG"
/101="M01_F0.JPG"
/102="M06_F100.JPG"
/103="M07_F10.JPG"
/104="M02_F90.JPG"
/105="M03_F0.JPG"
/106="M08_F100.JPG"
/107="M09_F10.JPG"
/108="M04_F90.JPG"
/109="M10_F0.JPG"
/110="M05_F100.JPG"
</item>

<item correctButton_test_2>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>

<list test_itemnumbers_3>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
/ replace = false
/ resetinterval = 0
</list>

<item pics_test_3>
/1="F01_P50.JPG"
/2="F01_P60.JPG"
/3="F06_P70.JPG"
/4="F06_P80.JPG"
/5="F02_P20.JPG"
/6="F07_P30.JPG"
/7="F02_P40.JPG"
/8="F08_P50.JPG"
/9="F03_P60.JPG"
/10="F03_P70.JPG"
/11="F08_P80.JPG"
/12="F04_P20.JPG"
/13="F09_P30.JPG"
/14="F04_P40.JPG"
/15="F05_P50.JPG"
/16="F10_P60.JPG"
/17="F10_P70.JPG"
/18="F05_P80.JPG"
/19="F06_F20.JPG"
/20="F01_F30.JPG"
/21="F06_F40.JPG"
/22="F07_F50.JPG"
/23="F02_F60.JPG"
/24="F02_F70.JPG"
/25="F07_F80.JPG"
/26="F03_F20.JPG"
/27="F08_F30.JPG"
/28="F03_F40.JPG"
/29="F09_F50.JPG"
/30="F09_F60.JPG"
/31="F09_F70.JPG"
/32="F04_F80.JPG"
/33="F10_F20.JPG"
/34="F05_F30.JPG"
/35="F10_F40.JPG"
/36="M06_P50.JPG"
/37="M06_P60.JPG"
/38="M06_P70.JPG"
/39="M01_P80.JPG"
/40="M07_P20.JPG"
/41="M02_P30.JPG"
/42="M07_P40.JPG"
/43="M03_P50.JPG"
/44="M08_P60.JPG"
/45="M08_P70.JPG"
/46="M03_P80.JPG"
/47="M09_P20.JPG"
/48="M04_P30.JPG"
/49="M09_P40.JPG"
/50="M10_P50.JPG"
/51="M05_P60.JPG"
/52="M05_P70.JPG"
/53="M10_P80.JPG"
/54="M01_F20.JPG"
/55="M06_F30.JPG"
/56="M01_F40.JPG"
/57="M02_F50.JPG"
/58="M07_F60.JPG"
/59="M07_F70.JPG"
/60="M02_F80.JPG"
/61="M03_F20.JPG"
/62="M08_F30.JPG"
/63="M03_F40.JPG"
/64="M04_F20.JPG"
/65="M09_F30.JPG"
/66="M04_F40.JPG"
/67="M05_F50.JPG"
/68="M10_F60.JPG"
/69="M10_F70.JPG"
/70="M05_F80.JPG"
/71="F01_P10.JPG"
/72="F06_P90.JPG"
/73="F07_P0.JPG"
/74="F02_P100.JPG"
/75="F03_P10.JPG"
/76="F08_P90.JPG"
/77="F09_P0.JPG"
/78="F04_P100.JPG"
/79="F05_P10.JPG"
/80="F10_P90.JPG"
/81="F06_F0.JPG"
/82="F01_F100.JPG"
/83="F02_F10.JPG"
/84="F07_F90.JPG"
/85="F08_F0.JPG"
/86="F03_F100.JPG"
/87="F04_F10.JPG"
/88="F09_F90.JPG"
/89="F10_F0.JPG"
/90="F05_F100.JPG"
/91="M01_P10.JPG"
/92="M06_P90.JPG"
/93="M07_P0.JPG"
/94="M02_P100.JPG"
/95="M03_P10.JPG"
/96="M08_P90.JPG"
/97="M09_P0.JPG"
/98="M04_P100.JPG"
/99="M10_P10.JPG"
/100="M05_P90.JPG"
/101="M06_F0.JPG"
/102="M01_F100.JPG"
/103="M02_F10.JPG"
/104="M07_F90.JPG"
/105="M08_F0.JPG"
/106="M03_F100.JPG"
/107="M04_F10.JPG"
/108="M09_F90.JPG"
/109="M05_F0.JPG"
/110="M10_F100.JPG"
</item>

<item correctButton_test_3>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>


<list test_itemnumbers_4>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
</list>

<item pics_test_4>
/1="F06_P50.JPG"
/2="F06_P60.JPG"
/3="F01_P70.JPG"
/4="F01_P80.JPG"
/5="F07_P20.JPG"
/6="F02_P30.JPG"
/7="F07_P40.JPG"
/8="F03_P50.JPG"
/9="F08_P60.JPG"
/10="F08_P70.JPG"
/11="F03_P80.JPG"
/12="F09_P20.JPG"
/13="F04_P30.JPG"
/14="F09_P40.JPG"
/15="F10_P50.JPG"
/16="F05_P60.JPG"
/17="F05_P70.JPG"
/18="F10_P80.JPG"
/19="F01_F20.JPG"
/20="F06_F30.JPG"
/21="F01_F40.JPG"
/22="F02_F50.JPG"
/23="F07_F60.JPG"
/24="F07_F70.JPG"
/25="F02_F80.JPG"
/26="F08_F20.JPG"
/27="F03_F30.JPG"
/28="F08_F40.JPG"
/29="F04_F50.JPG"
/30="F04_F60.JPG"
/31="F04_F70.JPG"
/32="F09_F80.JPG"
/33="F05_F20.JPG"
/34="F10_F30.JPG"
/35="F05_F40.JPG"
/36="M01_P50.JPG"
/37="M01_P60.JPG"
/38="M01_P70.JPG"
/39="M06_P80.JPG"
/40="M02_P20.JPG"
/41="M07_P30.JPG"
/42="M02_P40.JPG"
/43="M08_P50.JPG"
/44="M03_P60.JPG"
/45="M03_P70.JPG"
/46="M08_P80.JPG"
/47="M04_P20.JPG"
/48="M09_P30.JPG"
/49="M04_P40.JPG"
/50="M05_P50.JPG"
/51="M10_P60.JPG"
/52="M10_P70.JPG"
/53="M05_P80.JPG"
/54="M06_F20.JPG"
/55="M01_F30.JPG"
/56="M06_F40.JPG"
/57="M07_F50.JPG"
/58="M02_F60.JPG"
/59="M02_F70.JPG"
/60="M07_F80.JPG"
/61="M08_F20.JPG"
/62="M03_F30.JPG"
/63="M08_F40.JPG"
/64="M09_F20.JPG"
/65="M04_F30.JPG"
/66="M09_F40.JPG"
/67="M10_F50.JPG"
/68="M05_F60.JPG"
/69="M05_F70.JPG"
/70="M10_F80.JPG"
/71="F01_P0.JPG"
/72="F06_P100.JPG"
/73="F07_P10.JPG"
/74="F02_P90.JPG"
/75="F03_P0.JPG"
/76="F08_P100.JPG"
/77="F09_P10.JPG"
/78="F04_P90.JPG"
/79="F05_P0.JPG"
/80="F10_P100.JPG"
/81="F06_F10.JPG"
/82="F01_F90.JPG"
/83="F02_F0.JPG"
/84="F07_F100.JPG"
/85="F08_F10.JPG"
/86="F03_F90.JPG"
/87="F04_F0.JPG"
/88="F09_F100.JPG"
/89="F10_F10.JPG"
/90="F05_F90.JPG"
/91="M01_P0.JPG"
/92="M06_P100.JPG"
/93="M07_P10.JPG"
/94="M02_P90.JPG"
/95="M03_P0.JPG"
/96="M08_P100.JPG"
/97="M09_P10.JPG"
/98="M04_P90.JPG"
/99="M10_P0.JPG"
/100="M05_P100.JPG"
/101="M06_F10.JPG"
/102="M01_F90.JPG"
/103="M02_F0.JPG"
/104="M07_F100.JPG"
/105="M08_F10.JPG"
/106="M03_F90.JPG"
/107="M04_F0.JPG"
/108="M09_F100.JPG"
/109="M05_F10.JPG"
/110="M10_F90.JPG"
</item>

<item correctButton_test_4>
/1="YESButton"
/2="YESButton"
/3="YESButton"
/4="YESButton"
/5="YESButton"
/6="YESButton"
/7="YESButton"
/8="YESButton"
/9="YESButton"
/10="YESButton"
/11="YESButton"
/12="YESButton"
/13="YESButton"
/14="YESButton"
/15="YESButton"
/16="YESButton"
/17="YESButton"
/18="YESButton"
/19="YESButton"
/20="YESButton"
/21="YESButton"
/22="YESButton"
/23="YESButton"
/24="YESButton"
/25="YESButton"
/26="YESButton"
/27="YESButton"
/28="YESButton"
/29="YESButton"
/30="YESButton"
/31="YESButton"
/32="YESButton"
/33="YESButton"
/34="YESButton"
/35="YESButton"
/36="YESButton"
/37="YESButton"
/38="YESButton"
/39="YESButton"
/40="YESButton"
/41="YESButton"
/42="YESButton"
/43="YESButton"
/44="YESButton"
/45="YESButton"
/46="YESButton"
/47="YESButton"
/48="YESButton"
/49="YESButton"
/50="YESButton"
/51="YESButton"
/52="YESButton"
/53="YESButton"
/54="YESButton"
/55="YESButton"
/56="YESButton"
/57="YESButton"
/58="YESButton"
/59="YESButton"
/60="YESButton"
/61="YESButton"
/62="YESButton"
/63="YESButton"
/64="YESButton"
/65="YESButton"
/66="YESButton"
/67="YESButton"
/68="YESButton"
/69="YESButton"
/70="NOButton"
/71="NOButton"
/72="YESButton"
/73="NOButton"
/74="YESButton"
/75="NOButton"
/76="YESButton"
/77="NOButton"
/78="YESButton"
/79="NOButton"
/80="YESButton"
/81="NOButton"
/82="YESButton"
/83="NOButton"
/84="YESButton"
/85="NOButton"
/86="YESButton"
/87="NOButton"
/88="YESButton"
/89="NOButton"
/90="YESButton"
/91="NOButton"
/92="YESButton"
/93="NOButton"
/94="YESButton"
/95="NOButton"
/96="YESButton"
/97="NOButton"
/98="YESButton"
/99="NOButton"
/100="YESButton"
/101="NOButton"
/102="YESButton"
/103="NOButton"
/104="YESButton"
/105="NOButton"
/106="YESButton"
/107="NOButton"
/108="YESButton"
/109="NOButton"
/110="YESButton"
</item>

**************************************************************************************************************
**************************************************************************************************************
DEFAULTS
**************************************************************************************************************
**************************************************************************************************************
script requires Inquisit 6.5.2.0 or higher

<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "6.5.2.0"
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/txbgcolor = transparent
/txcolor = black
/screencolor = white
/inputdevice = keyboard
</defaults>

**************************************************************************************************************
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************

Note: data file explanations under User Manual Information at the top

To change from one data file per participant to one data file for all participants, set
/separatefiles = false

***********************
raw data file
***********************
<data>
/ separatefiles = true
/ columns = (date, time, subject, group, session, blockcode, blocknum, trialcode, values.fixationStart, values.clearscreen, values.keyAssignment, values.selectStim, stimulusitem, stimulusitem, values.correctButton, response, responsetext, correct, latency)
</data>

***********************
summary data file
***********************
<summarydata>
/ columns = (inquisit.version, computer.platform, script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid,
script.elapsedtime, script.completed,
values.keyAssignment,
expressions.ACC_all,
expressions.meanRT_all)
/ separatefiles = true
</summarydata>


**************************************************************************************************************
**************************************************************************************************************
VALUES: automatically updated
**************************************************************************************************************
**************************************************************************************************************

/countTestBlocks: counts number of test blocks
/skipReadyTrial: 0 = run ready trial; 1 = skip ready trial

<values>
/countTestBlocks = 0
/selectStim = 1
/correctButton = ""
/fixationStart = parameters.fixationStart
/clearscreen = parameters.clearscreen
/keyAssignment = "leftYES"
/spacekey = parameters.spacekey
/YESkey = parameters.leftresponsekey
/NOkey = parameters.rightresponsekey
</values>

/ACC_practice: stores the proportion correct of the current practice run

<values>
/ACC_practice = 0
</values>

**************************************************************************************************************
**************************************************************************************************************
EXPRESSIONS
**************************************************************************************************************
**************************************************************************************************************
/shadowSize: size of shadow text

/ACC_all: proportion correct overall (across all test trials)
/meanRT_all: mean correct latency (in ms) overall

/ACC_FACE: proportion correct in "FACE" block
/ACC_congruent: proportion correct in "congruent" pairings trials (across test blocks)
/ACC_incongruent: proportion correct in "incongruent" pairings trials (across test blocks)

/meanRT_FACE: mean correct latency (in ms) in "FACE" block
/meanRT_congruent: mean correct latency (in ms) in "congruent" pairings trials (across test blocks)
/meanRT_incongruent: mean correct latency (in ms) in "incongruent" pairings trials (across test blocks)

<expressions>
/ACC_all = list.accuracy.mean
/meanRT_all = list.latencies.mean
</expressions>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************

<text intro>
/ items = instructions
/ select = 1
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text break>
/ items = instructions
/ select = 2
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text end>
/ items = instructions
/ select = 3
/ position = (50%, 50%)
/ fontstyle = ("Arial", 8%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text continueButton_intro>
/ items = continueButtons
/ select = text.intro.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = transparent
</text>

<text continueButton_break>
/ items = continueButtons
/ select = text.break.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = transparent
</text>

<text continueButton_Pnd>
/ items = continueButtons
/ select = text.end.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = red
</text>

***********************
Instruction Trials
***********************

<trial introtest>
/ inputdevice = keyboard
/ stimulusframes = [1 = intro, continueButton_intro]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial break>
/ inputdevice = keyboard
/ stimulusframes = [1 = break, continueButton_break]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial finish>
/ inputdevice = keyboard
/ skip = [
values.countTestBlocks == 1;
]
/ stimulusframes = [1 = clearscreen, end, exit]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial fixationStart>
/ stimulusframes = [1 = fixationStart]
/ trialduration = parameters.fixationStart
/ validresponse = (0)
/ recorddata = false
</trial>

**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************

<picture Pic_test_1>
/items = item.pics_test_1
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_2>
/items = item.pics_test_2
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_3>
/items = item.pics_test_3
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

<picture Pic_test_4>
/items = item.pics_test_4
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
// erase = false
</picture>

**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************

*************************************************
Data Lists: used for descriptive statistics
store correct latencies/accuracy data
fill up during runtime
*************************************************

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracy>
</list>

Note: list stores the latency of correct responses for each relevant trial
<list latencies>
</list>

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracytest>
</list>

**************************************************************************************************************
**************************************************************************************************************
TRIALS: test
**************************************************************************************************************
**************************************************************************************************************

trial test_1>
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_1.nextvalue;
values.correctButton = item.correctButton_test_1.item(values.selectStim);
]
/ stimulusframes = [1 = clearscreen; 2 = ]
/ response = noresponse
/ trialduration = 350
</trial>

trial test_2>
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_2.nextvalue;
values.correctButton = item.correctButton_test_2.item(values.selectStim);
]
/ stimulusframes = [1 = clearscreen; 2 = Pic_test_2]
/ response = noresponse
/ trialduration = 350
</trial>

<trial fixationResp_1>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_1.nextvalue;
values.correctButton = item.correctButton_test_1.item(values.selectStim);
     trial.fixationResp_1.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_1; 350 = clearscreen, fixationResp_1]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_1.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_1.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_1.correct);
if (trial.fixationResp_1.correct) {
list.latencies.appendItem(trial.fixationResp_1.latency);
list.latencies.appendItem(trial.fixationResp_1.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_2>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_2.nextvalue;
values.correctButton = item.correctButton_test_2.item(values.selectStim);
     trial.fixationResp_2.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_2; 350 = clearscreen, fixationResp_2]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_2.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_2.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_2.correct);
if (trial.fixationResp_2.correct) {
list.latencies.appendItem(trial.fixationResp_2.latency);
list.latencies.appendItem(trial.fixationResp_2.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_3>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_3.nextvalue;
values.correctButton = item.correctButton_test_3.item(values.selectStim);
     trial.fixationResp_3.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_3; 350 = clearscreen, fixationResp_3]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_3.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_3.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_3.correct);
if (trial.fixationResp_3.correct) {
list.latencies.appendItem(trial.fixationResp_3.latency);
list.latencies.appendItem(trial.fixationResp_3.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

<trial fixationResp_4>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.test_itemnumbers_4.nextvalue;
values.correctButton = item.correctButton_test_4.item(values.selectStim);
     trial.fixationResp_4.resetstimulusframes();
]

/ stimulustimes = [0 = Pic_test_4; 350 = clearscreen, fixationResp_4]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp_4.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp_4.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ trialduration = 1850
/ ontrialend = [
list.accuracy.appendItem(trial.fixationResp_4.correct);
if (trial.fixationResp_4.correct) {
list.latencies.appendItem(trial.fixationResp_4.latency);
list.latencies.appendItem(trial.fixationResp_4.latency);
};
]
// posttrialpause = parameters.clearscreen
</trial>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : helper trials
**************************************************************************************************************
**************************************************************************************************************

trial ITI>
/ stimulusframes = [1 = clearscreen]

//touchscreens: present inactive response buttons
// validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ isvalidresponse = [
return(false);
]
/ recorddata = false
/ trialduration = parameters.ITI
</trial>

**************************************************************************************************************
**************************************************************************************************************
BLOCKS
**************************************************************************************************************
**************************************************************************************************************

<block testStart>
/ trials = [1 = introtest]
/ onblockbegin = [
list.accuracy.reset();
list.latencies.reset();
]
</block>

<block fixationStart>
/ trials = [1 = fixationStart]
</block>

<block test_1>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_1
    ]
</block>

<block test_2>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_2
]
</block>

<block test_3>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_3
    ]
</block>

<block test_4>
/ onblockbegin = [
values.countTestBlocks += 1;
]
/ trials = [
1 - 110 = fixationResp_4
]
</block>

<block break>
/ trials = [1 = break]
</block>

<block finish>
/ trials = [1 = finish]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
<expt>
/ onexptbegin = [
if (computer.touch && !computer.haskeyboard) {
text.continueButton_Pnd.skip = true;
text.continueButton_intro.skip = true;
         text.continueButton_break.skip = true;
};]

/ blocks = [
    1 = testStart;
    2 = fixationStart;
    3 = test_1;
    4 = break;
    5 = fixationStart;
    6 = test_2;
    7 = break;
    8 = fixationStart;
    9 = test_3;
    10 = break;
    11 = fixationStart;
    12 = test_4;
    13 = finish;
]
</expt>

<monkey>
/ latencydistribution = normal(50, 20)
</monkey>

**************************************************************************************************************
End of File
**************************************************************************************************************



Igor Iarrobino
Igor Iarrobino
Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)
Group: Forum Members
Posts: 42, Visits: 114
Dave - 2/25/2025
Igor Iarrobino - 2/25/2025
Dave - 2/18/2025
Igor Iarrobino - 2/18/2025
Dave - 2/18/2025
Igor Iarrobino - 2/18/2025
Dave - 2/18/2025
Igor Iarrobino - 2/18/2025
Hello Dave,
professor's choice changed and I gotta change this task accordingly.
If you read the last message in this topic we left with this:
"I need a trial to present the images and another one to have the answer" and you gave me an alternative view with a single trial.
In this script the stimuli are pics and the answer was fixationResp.

Well, I'd need a single trial in which I'd present the pic and after 350ms the fixationResp (fixation +). I tried to do as you can read in the script, following also your suggestions.
The problem here is that when I respond on the fixationResp (fixation +) the task is doing good. But, when I respond soon after the beginning of the trial, i.e. on the image, the trial is doing wrong. It is like the fixation + reoccurs on the following stimulus/pic, waiting for the response.
I'd like a smooth single trial, instead, in which the participant can respond both on the pic and the fixation +, recording a single valid response, and the fixation + is disappearing accordingly with the end of the trial.

**************************************************************************************************************
**************************************************************************************************************
EDITABLE PARAMETERS: change editable parameters here
**************************************************************************************************************
**************************************************************************************************************

<parameters>
/ITI = 1500
/fixationStart = 3000
/picsize = 60%
/top_y = 55%
/bottom_y = 55%
/leftresponsekey = "Z" //lo stampino con la SÌ va messo sulla Z
/rightresponsekey = "M" //lo stampino con la NO va messo sulla M
/spacekey = "BARRA SPAZIATRICE"
</parameters>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE INSTRUCTIONS: change instructions here
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
</instruct>


<item instructions>
/1 = "Adesso inizia la prova.
Le compariranno dei volti che possono esprimere un'emozione, oppure no.
Le verrà chiesto di premere il tasto SÌ se il volto presentato esprime un'emozione; al contrario, prema il tasto NO se il volto non esprime un'emozione.
Le ricordiamo di premere il più velocemente possibile.
Se non risponde, la prova non va avanti."

/2 = "Fine della prova.
Se vuole possiamo ripetere la prova."
</item>

<item continueButtons>
/1 = "Prema gentilemente il tasto indicato per iniziare"
/2 = "STOP"
</item>

<text YESButton_instruct>
/ items = ("YES = Prema SÌ")
/ position = (25%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text NOButton_instruct>
/ items = ("NO = Prema NO")
/ position = (75%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text fixationStart>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text exit>
/ items = ("<Prema gentilemente il tasto indicato per uscire>")
/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ size = (80%, 5%)
/ vjustify = center
</text>

<expressions>
/buttoninstruct1 = if (computer.touch && !computer.haskeyboard) {"response button";}
else {
"un tasto";}
/buttoninstruct2 = if (computer.touch && !computer.haskeyboard) {"button";}
else {
"un altro tasto";}
/buttoninstruct3 = if (computer.touch && !computer.haskeyboard) {"Le chiadiamo di posizionare le dita della mano sinistra e della mano destra sulla tastiera, e di premere un dei tasto per cominciare";}
else {
"Le chiediamo di posizionare l'indice della mano sinistra e l'indice della mano destra sulla tastiera e premere uno dei due tasti colorati per iniziare.";}
</expressions>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE STIMULI
**************************************************************************************************************
**************************************************************************************************************
********************************************
practice
********************************************

<list practice_itemnumbers>
/ items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
/ replace = false
/ resetinterval = 0
</list>

<item pics_practice>
/1= "F11_F20.JPG"
/2= "F11_F30.JPG"
/3 = "F11_F40.JPG"
/4 = "F11_F50.JPG"
/5 = "F11_F60.JPG"
/6 = "F11_F70.JPG"
/7 = "F11_F80.JPG"
/8 = "F11_F90.JPG"
/9 = "F11_F100.JPG"
/10 = "F11_F0.JPG"
/11 = "F11_F10.JPG"
/12 = "M11_F20.JPG"
/13 = "M11_F30.JPG"
/14 = "M11_F40.JPG"
/15 = "M11_F50.JPG"
/16 = "M11_F60.JPG"
/17 = "M11_F70.JPG"
/18 = "M11_F80.JPG"
/19 = "M11_F90.JPG"
/20 = "M11_F100.JPG"
/21 = "M11_F0.JPG"
/22 = "M11_F10.JPG"
/23 = "F11_P20.JPG"
/24 = "F11_P30.JPG"
/25 = "F11_P40.JPG"
/26 = "F11_P50.JPG"
/27 = "F11_P60.JPG"
/28 = "F11_P70.JPG"
/29 = "F11_P80.JPG"
/30 = "F11_P90.JPG"
/31 = "F11_P100.JPG"
/32 = "F11_P0.JPG"
/33 = "F11_P10.JPG"
/34 = "M11_F20.JPG"
/35 = "M11_P30.JPG"
/36 = "M11_P40.JPG"
/37 = "M11_P50.JPG"
/38 = "M11_P60.JPG"
/39 = "M11_P70.JPG"
/40 = "M11_P80.JPG"
/41 = "M11_P90.JPG"
/42 = "M11_P100.JPG"
/43 = "M11_P0.JPG"
/44 = "M11_P10.JPG"
</item>

<item correctButton_practice>
/1 = "YESButton"
/2 = "YESButton"
/3 = "YESButton"
/4 = "YESButton"
/5 = "YESButton"
/6 = "YESButton"
/7 = "YESButton"
/8 = "YESButton"
/9 = "YESButton"
/10 = "NOButton"
/11 = "NOButton"
/12 = "YESButton"
/13 = "YESButton"
/14 = "YESButton"
/15 = "YESButton"
/16 = "YESButton"
/17 = "YESButton"
/18 = "YESButton"
/19 = "YESButton"
/20 = "YESButton"
/21 = "NOButton"
/22 = "NOButton"
/23 = "YESButton"
/24 = "YESButton"
/25 = "YESButton"
/26 = "YESButton"
/27 = "YESButton"
/28 = "YESButton"
/29 = "YESButton"
/30 = "YESButton"
/31 = "YESButton"
/32 = "NOButton"
/33 = "NOButton"
/34 = "YESButton"
/35 = "YESButton"
/36 = "YESButton"
/37 = "YESButton"
/38 = "YESButton"
/39 = "YESButton"
/40 = "YESButton"
/41 = "YESButton"
/42 = "YESButton"
/43 = "NOButton"
/44 = "NOButton"
</item>

**************************************************************************************************************
**************************************************************************************************************
DEFAULTS
**************************************************************************************************************
**************************************************************************************************************
script requires Inquisit 6.5.2.0 or higher

<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "6.5.2.0"
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/txbgcolor = transparent
/txcolor = black
/screencolor = white
/inputdevice = keyboard
</defaults>

**************************************************************************************************************
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************

Note: data file explanations under User Manual Information at the top

To change from one data file per participant to one data file for all participants, set
/separatefiles = false

***********************
raw data file
***********************
<data>
/ separatefiles = true
/ columns = (date, time, subject, group, session, blockcode, blocknum, trialcode, values.fixationStart, values.ITI, values.keyAssignment, values.selectStim, stimulusitem, stimulusitem, values.correctButton, response, responsetext, correct, latency)
</data>,

***********************
summary data file
***********************
<summarydata>
/ columns = (inquisit.version, computer.platform, script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid,
script.elapsedtime, script.completed,
values.keyAssignment,
values.ACC_practice,
values.practiceRuns,
expressions.ACC_all,
expressions.meanRT_all)
/ separatefiles = true
</summarydata>

**************************************************************************************************************
**************************************************************************************************************
VALUES: automatically updated
**************************************************************************************************************
**************************************************************************************************************

/countTestBlocks: counts number of test blocks
/skipReadyTrial: 0 = run ready trial; 1 = skip ready trial

<values>
/countTestBlocks = 0
/selectStim = 1
/correctButton = ""
/practiceRuns = 0
/fixationStart = parameters.fixationStart
/ITI = parameters.ITI
/keyAssignment = "leftYES"
/spacekey = parameters.spacekey
/YESkey = parameters.leftresponsekey
/NOkey = parameters.rightresponsekey
</values>

/ACC_practice: stores the proportion correct of the current practice run

<values>
/ACC_practice = 0
</values>

**************************************************************************************************************
**************************************************************************************************************
EXPRESSIONS
**************************************************************************************************************
**************************************************************************************************************
/shadowSize: size of shadow text

/ACC_all: proportion correct overall (across all test trials)
/meanRT_all: mean correct latency (in ms) overall

/ACC_FACE: proportion correct in "FACE" block
/ACC_congruent: proportion correct in "congruent" pairings trials (across test blocks)
/ACC_incongruent: proportion correct in "incongruent" pairings trials (across test blocks)

/meanRT_FACE: mean correct latency (in ms) in "FACE" block
/meanRT_congruent: mean correct latency (in ms) in "congruent" pairings trials (across test blocks)
/meanRT_incongruent: mean correct latency (in ms) in "incongruent" pairings trials (across test blocks)

<expressions>
/ACC_all = list.accuracy.mean
/meanRT_all = list.latencies.mean
</expressions>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************

<text intro>
/ items = instructions
/ select = 1
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text end>
/ items = instructions
/ select = 2
/ position = (50%, 50%)
/ fontstyle = ("Arial", 8%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text continueButton_intro>
/ items = continueButtons
/ select = text.intro.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = blue
</text>

<text continueButton_Pnd>
/ items = continueButtons
/ select = text.end.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = red
</text>

***********************
Instruction Trials
***********************

<trial practiceStart>
/ inputdevice = keyboard
/ stimulusframes = [1 = intro, continueButton_intro]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial finish>
/ inputdevice = keyboard
/ skip = [
values.countTestBlocks == 1;
]
/ stimulusframes = [1 = clearscreen, end, exit]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial fixationStart>
/ stimulusframes = [1 = fixationStart]
/ trialduration = parameters.fixationStart
/ validresponse = (0)
/ recorddata = false
</trial>

**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************

<picture Pic_practice>
/items = item.pics_practice
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
/ erase = false
</picture>

**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************

*************************************************
Data Lists: used for descriptive statistics
store correct latencies/accuracy data
fill up during runtime
*************************************************

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracy>
</list>

Note: list stores the latency of correct responses for each relevant trial
<list latencies>
</list>

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracytest>
</list>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : practice
**************************************************************************************************************
**************************************************************************************************************

trial practice>
/ ontrialbegin = [
values.selectStim = list.practice_itemnumbers.nextvalue;
values.correctButton = item.correctButton_practice.item(values.selectStim);
]
/ stimulusframes = [1 = clearscreen; 2 = Pic_practice;]
/ response = noresponse
/ trialduration = 350
</trial>

<trial fixationResp>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.practice_itemnumbers.nextvalue;
values.correctButton = item.correctButton_practice.item(values.selectStim);
]
/ stimulustimes = [0 = clearscreen, Pic_practice; 350 = clearscreen, fixationResp]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ ontrialend = [ list.accuracy.appendItem(trial.fixationResp.correct);
values.ACC_practice = list.accuracy.mean;]
/ posttrialpause = parameters.ITI
</trial>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : helper trials
**************************************************************************************************************
**************************************************************************************************************

trial ITI>
/ stimulusframes = [1 = clearscreen]

//touchscreens: present inactive response buttons
// validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ isvalidresponse = [
return(false);
]
/ recorddata = false
/ trialduration = parameters.ITI
</trial>

**************************************************************************************************************
**************************************************************************************************************
BLOCKS
**************************************************************************************************************
**************************************************************************************************************

<block practiceIntro>
/ trials = [1 = practiceStart]
</block>

<block fixationStart>
/ trials = [1 = fixationStart]
</block>

<block practice>
/ onblockbegin = [
list.accuracy.reset();
list.latencies.reset();
values.practiceRuns += 1;
]
/ trials = [1 - 43 = fixationResp]
</block>

<block finish>
/ trials = [1 = finish]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
<expt>
/ onexptbegin = [
if (computer.touch && !computer.haskeyboard) {
text.continueButton_Pnd.skip = true;
text.continueButton_intro.skip = true;
};]

/ blocks = [
1 = practiceIntro;
2 = fixationStart;
    3 = practice;
4 = finish;
]
</expt>

<monkey>
/ latencydistribution = normal(50, 20)
</monkey>

**************************************************************************************************************
End of File
**************************************************************************************************************

https://www.millisecond.com/support/docs/v6/html/language/attributes/responseinterrupt.htm

If you want the fixation stimulus displayed when the response occurs before it, you need to set /responseinterrupt to frames.

I did not get your proposal.  I do not want the fixation stimulus displayed when the response occurs before it, it is the other way around.
I want a single trial to present the stimulus (Pic_practice) and the fixationResp in the same trial.
I want a single response for both in the same trial.
and I think it is ok so far.
And actually, what I want to solve is that the fixationResp MUST NOT APPEAR when the response is given on the stimulus (Pic_ptractice), because the response should be registered already. Moreover, if I do not respond to the stimulus I should be able to respond on the fixationResp as well. Everything should be under the same trial and response measure 

Your descriptions contradict each other.

> And actually, what I want to solve is that the fixationResp MUST NOT APPEAR when the response is given on the stimulus

When responseinterrupt is set to immediate, it does not appear. The trial enters its posttrialpause and ends. The fixation cross is not displayed.

The image remains on.screen because you have told Inquisit to not erase it. If you want it gone, remove the /erase false setting from the <picture> element.

In addition, add trial.fixationResp.resetstimulusframes(); to the trials /ontrialbegin logic.
> When responseinterrupt is set to immediate, it does not appear. The trial enters its posttrialpause and ends. The fixation cross is not displayed.

Yes this is typical and it works when I respond under the fixationResp part of the trial, but not when I respond  just while the pic is on the screen (response to the pic allowed)

>The image remains on.screen because you have told Inquisit to not erase it. If you want it gone, remove the /erase false setting from the <picture> element.

The image (pic_practice) is behaving well, the problem is that when I respond just while the pic is on the screen, the trial is recording my response but it is not erasing the fixationResp part after it. That's because I see the fixationResp to appear superimposed on the following pic.
It should not be like that.

I explain you exactly what I want.
I want the trial to be one, presenting the pic and the fixationResp stimuli one after the other as expressed in the stimulustimes now.
At the same time, the response to the trial should be one as well, whether if I respond to the pic or to fixationResp moment.
So far so good.
But the task is not erasing fixationResp when I give the response precisely under the pic time presentation.
Then, fixationResp is presenting itself superimposed on the following pic: I should try to avoid this issue.
Basically, I'd like to have: when the response is given at the precise moment of the pic presentation, the fixationResp is not appearing and the task may continue to the next trial.
Thank you.

Please just do the things I told you in my previous reply

Thank you very much.

Just a question please.
May I display my experiment on a second monitor changing some settings in Inquisit? Or, do I have to find a way through the display settings on my laptop?

Change the display settings, i,e, make the external monitor the primary display.

Yes, it's the decision I made eventually.
thank you.
Nice evening


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: 13K, Visits: 107K
Igor Iarrobino - 2/25/2025
Dave - 2/18/2025
Igor Iarrobino - 2/18/2025
Dave - 2/18/2025
Igor Iarrobino - 2/18/2025
Dave - 2/18/2025
Igor Iarrobino - 2/18/2025
Hello Dave,
professor's choice changed and I gotta change this task accordingly.
If you read the last message in this topic we left with this:
"I need a trial to present the images and another one to have the answer" and you gave me an alternative view with a single trial.
In this script the stimuli are pics and the answer was fixationResp.

Well, I'd need a single trial in which I'd present the pic and after 350ms the fixationResp (fixation +). I tried to do as you can read in the script, following also your suggestions.
The problem here is that when I respond on the fixationResp (fixation +) the task is doing good. But, when I respond soon after the beginning of the trial, i.e. on the image, the trial is doing wrong. It is like the fixation + reoccurs on the following stimulus/pic, waiting for the response.
I'd like a smooth single trial, instead, in which the participant can respond both on the pic and the fixation +, recording a single valid response, and the fixation + is disappearing accordingly with the end of the trial.

**************************************************************************************************************
**************************************************************************************************************
EDITABLE PARAMETERS: change editable parameters here
**************************************************************************************************************
**************************************************************************************************************

<parameters>
/ITI = 1500
/fixationStart = 3000
/picsize = 60%
/top_y = 55%
/bottom_y = 55%
/leftresponsekey = "Z" //lo stampino con la SÌ va messo sulla Z
/rightresponsekey = "M" //lo stampino con la NO va messo sulla M
/spacekey = "BARRA SPAZIATRICE"
</parameters>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE INSTRUCTIONS: change instructions here
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
</instruct>


<item instructions>
/1 = "Adesso inizia la prova.
Le compariranno dei volti che possono esprimere un'emozione, oppure no.
Le verrà chiesto di premere il tasto SÌ se il volto presentato esprime un'emozione; al contrario, prema il tasto NO se il volto non esprime un'emozione.
Le ricordiamo di premere il più velocemente possibile.
Se non risponde, la prova non va avanti."

/2 = "Fine della prova.
Se vuole possiamo ripetere la prova."
</item>

<item continueButtons>
/1 = "Prema gentilemente il tasto indicato per iniziare"
/2 = "STOP"
</item>

<text YESButton_instruct>
/ items = ("YES = Prema SÌ")
/ position = (25%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text NOButton_instruct>
/ items = ("NO = Prema NO")
/ position = (75%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text fixationStart>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text exit>
/ items = ("<Prema gentilemente il tasto indicato per uscire>")
/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ size = (80%, 5%)
/ vjustify = center
</text>

<expressions>
/buttoninstruct1 = if (computer.touch && !computer.haskeyboard) {"response button";}
else {
"un tasto";}
/buttoninstruct2 = if (computer.touch && !computer.haskeyboard) {"button";}
else {
"un altro tasto";}
/buttoninstruct3 = if (computer.touch && !computer.haskeyboard) {"Le chiadiamo di posizionare le dita della mano sinistra e della mano destra sulla tastiera, e di premere un dei tasto per cominciare";}
else {
"Le chiediamo di posizionare l'indice della mano sinistra e l'indice della mano destra sulla tastiera e premere uno dei due tasti colorati per iniziare.";}
</expressions>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE STIMULI
**************************************************************************************************************
**************************************************************************************************************
********************************************
practice
********************************************

<list practice_itemnumbers>
/ items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
/ replace = false
/ resetinterval = 0
</list>

<item pics_practice>
/1= "F11_F20.JPG"
/2= "F11_F30.JPG"
/3 = "F11_F40.JPG"
/4 = "F11_F50.JPG"
/5 = "F11_F60.JPG"
/6 = "F11_F70.JPG"
/7 = "F11_F80.JPG"
/8 = "F11_F90.JPG"
/9 = "F11_F100.JPG"
/10 = "F11_F0.JPG"
/11 = "F11_F10.JPG"
/12 = "M11_F20.JPG"
/13 = "M11_F30.JPG"
/14 = "M11_F40.JPG"
/15 = "M11_F50.JPG"
/16 = "M11_F60.JPG"
/17 = "M11_F70.JPG"
/18 = "M11_F80.JPG"
/19 = "M11_F90.JPG"
/20 = "M11_F100.JPG"
/21 = "M11_F0.JPG"
/22 = "M11_F10.JPG"
/23 = "F11_P20.JPG"
/24 = "F11_P30.JPG"
/25 = "F11_P40.JPG"
/26 = "F11_P50.JPG"
/27 = "F11_P60.JPG"
/28 = "F11_P70.JPG"
/29 = "F11_P80.JPG"
/30 = "F11_P90.JPG"
/31 = "F11_P100.JPG"
/32 = "F11_P0.JPG"
/33 = "F11_P10.JPG"
/34 = "M11_F20.JPG"
/35 = "M11_P30.JPG"
/36 = "M11_P40.JPG"
/37 = "M11_P50.JPG"
/38 = "M11_P60.JPG"
/39 = "M11_P70.JPG"
/40 = "M11_P80.JPG"
/41 = "M11_P90.JPG"
/42 = "M11_P100.JPG"
/43 = "M11_P0.JPG"
/44 = "M11_P10.JPG"
</item>

<item correctButton_practice>
/1 = "YESButton"
/2 = "YESButton"
/3 = "YESButton"
/4 = "YESButton"
/5 = "YESButton"
/6 = "YESButton"
/7 = "YESButton"
/8 = "YESButton"
/9 = "YESButton"
/10 = "NOButton"
/11 = "NOButton"
/12 = "YESButton"
/13 = "YESButton"
/14 = "YESButton"
/15 = "YESButton"
/16 = "YESButton"
/17 = "YESButton"
/18 = "YESButton"
/19 = "YESButton"
/20 = "YESButton"
/21 = "NOButton"
/22 = "NOButton"
/23 = "YESButton"
/24 = "YESButton"
/25 = "YESButton"
/26 = "YESButton"
/27 = "YESButton"
/28 = "YESButton"
/29 = "YESButton"
/30 = "YESButton"
/31 = "YESButton"
/32 = "NOButton"
/33 = "NOButton"
/34 = "YESButton"
/35 = "YESButton"
/36 = "YESButton"
/37 = "YESButton"
/38 = "YESButton"
/39 = "YESButton"
/40 = "YESButton"
/41 = "YESButton"
/42 = "YESButton"
/43 = "NOButton"
/44 = "NOButton"
</item>

**************************************************************************************************************
**************************************************************************************************************
DEFAULTS
**************************************************************************************************************
**************************************************************************************************************
script requires Inquisit 6.5.2.0 or higher

<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "6.5.2.0"
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/txbgcolor = transparent
/txcolor = black
/screencolor = white
/inputdevice = keyboard
</defaults>

**************************************************************************************************************
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************

Note: data file explanations under User Manual Information at the top

To change from one data file per participant to one data file for all participants, set
/separatefiles = false

***********************
raw data file
***********************
<data>
/ separatefiles = true
/ columns = (date, time, subject, group, session, blockcode, blocknum, trialcode, values.fixationStart, values.ITI, values.keyAssignment, values.selectStim, stimulusitem, stimulusitem, values.correctButton, response, responsetext, correct, latency)
</data>,

***********************
summary data file
***********************
<summarydata>
/ columns = (inquisit.version, computer.platform, script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid,
script.elapsedtime, script.completed,
values.keyAssignment,
values.ACC_practice,
values.practiceRuns,
expressions.ACC_all,
expressions.meanRT_all)
/ separatefiles = true
</summarydata>

**************************************************************************************************************
**************************************************************************************************************
VALUES: automatically updated
**************************************************************************************************************
**************************************************************************************************************

/countTestBlocks: counts number of test blocks
/skipReadyTrial: 0 = run ready trial; 1 = skip ready trial

<values>
/countTestBlocks = 0
/selectStim = 1
/correctButton = ""
/practiceRuns = 0
/fixationStart = parameters.fixationStart
/ITI = parameters.ITI
/keyAssignment = "leftYES"
/spacekey = parameters.spacekey
/YESkey = parameters.leftresponsekey
/NOkey = parameters.rightresponsekey
</values>

/ACC_practice: stores the proportion correct of the current practice run

<values>
/ACC_practice = 0
</values>

**************************************************************************************************************
**************************************************************************************************************
EXPRESSIONS
**************************************************************************************************************
**************************************************************************************************************
/shadowSize: size of shadow text

/ACC_all: proportion correct overall (across all test trials)
/meanRT_all: mean correct latency (in ms) overall

/ACC_FACE: proportion correct in "FACE" block
/ACC_congruent: proportion correct in "congruent" pairings trials (across test blocks)
/ACC_incongruent: proportion correct in "incongruent" pairings trials (across test blocks)

/meanRT_FACE: mean correct latency (in ms) in "FACE" block
/meanRT_congruent: mean correct latency (in ms) in "congruent" pairings trials (across test blocks)
/meanRT_incongruent: mean correct latency (in ms) in "incongruent" pairings trials (across test blocks)

<expressions>
/ACC_all = list.accuracy.mean
/meanRT_all = list.latencies.mean
</expressions>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************

<text intro>
/ items = instructions
/ select = 1
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text end>
/ items = instructions
/ select = 2
/ position = (50%, 50%)
/ fontstyle = ("Arial", 8%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text continueButton_intro>
/ items = continueButtons
/ select = text.intro.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = blue
</text>

<text continueButton_Pnd>
/ items = continueButtons
/ select = text.end.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = red
</text>

***********************
Instruction Trials
***********************

<trial practiceStart>
/ inputdevice = keyboard
/ stimulusframes = [1 = intro, continueButton_intro]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial finish>
/ inputdevice = keyboard
/ skip = [
values.countTestBlocks == 1;
]
/ stimulusframes = [1 = clearscreen, end, exit]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial fixationStart>
/ stimulusframes = [1 = fixationStart]
/ trialduration = parameters.fixationStart
/ validresponse = (0)
/ recorddata = false
</trial>

**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************

<picture Pic_practice>
/items = item.pics_practice
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
/ erase = false
</picture>

**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************

*************************************************
Data Lists: used for descriptive statistics
store correct latencies/accuracy data
fill up during runtime
*************************************************

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracy>
</list>

Note: list stores the latency of correct responses for each relevant trial
<list latencies>
</list>

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracytest>
</list>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : practice
**************************************************************************************************************
**************************************************************************************************************

trial practice>
/ ontrialbegin = [
values.selectStim = list.practice_itemnumbers.nextvalue;
values.correctButton = item.correctButton_practice.item(values.selectStim);
]
/ stimulusframes = [1 = clearscreen; 2 = Pic_practice;]
/ response = noresponse
/ trialduration = 350
</trial>

<trial fixationResp>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.practice_itemnumbers.nextvalue;
values.correctButton = item.correctButton_practice.item(values.selectStim);
]
/ stimulustimes = [0 = clearscreen, Pic_practice; 350 = clearscreen, fixationResp]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ ontrialend = [ list.accuracy.appendItem(trial.fixationResp.correct);
values.ACC_practice = list.accuracy.mean;]
/ posttrialpause = parameters.ITI
</trial>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : helper trials
**************************************************************************************************************
**************************************************************************************************************

trial ITI>
/ stimulusframes = [1 = clearscreen]

//touchscreens: present inactive response buttons
// validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ isvalidresponse = [
return(false);
]
/ recorddata = false
/ trialduration = parameters.ITI
</trial>

**************************************************************************************************************
**************************************************************************************************************
BLOCKS
**************************************************************************************************************
**************************************************************************************************************

<block practiceIntro>
/ trials = [1 = practiceStart]
</block>

<block fixationStart>
/ trials = [1 = fixationStart]
</block>

<block practice>
/ onblockbegin = [
list.accuracy.reset();
list.latencies.reset();
values.practiceRuns += 1;
]
/ trials = [1 - 43 = fixationResp]
</block>

<block finish>
/ trials = [1 = finish]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
<expt>
/ onexptbegin = [
if (computer.touch && !computer.haskeyboard) {
text.continueButton_Pnd.skip = true;
text.continueButton_intro.skip = true;
};]

/ blocks = [
1 = practiceIntro;
2 = fixationStart;
    3 = practice;
4 = finish;
]
</expt>

<monkey>
/ latencydistribution = normal(50, 20)
</monkey>

**************************************************************************************************************
End of File
**************************************************************************************************************

https://www.millisecond.com/support/docs/v6/html/language/attributes/responseinterrupt.htm

If you want the fixation stimulus displayed when the response occurs before it, you need to set /responseinterrupt to frames.

I did not get your proposal.  I do not want the fixation stimulus displayed when the response occurs before it, it is the other way around.
I want a single trial to present the stimulus (Pic_practice) and the fixationResp in the same trial.
I want a single response for both in the same trial.
and I think it is ok so far.
And actually, what I want to solve is that the fixationResp MUST NOT APPEAR when the response is given on the stimulus (Pic_ptractice), because the response should be registered already. Moreover, if I do not respond to the stimulus I should be able to respond on the fixationResp as well. Everything should be under the same trial and response measure 

Your descriptions contradict each other.

> And actually, what I want to solve is that the fixationResp MUST NOT APPEAR when the response is given on the stimulus

When responseinterrupt is set to immediate, it does not appear. The trial enters its posttrialpause and ends. The fixation cross is not displayed.

The image remains on.screen because you have told Inquisit to not erase it. If you want it gone, remove the /erase false setting from the <picture> element.

In addition, add trial.fixationResp.resetstimulusframes(); to the trials /ontrialbegin logic.
> When responseinterrupt is set to immediate, it does not appear. The trial enters its posttrialpause and ends. The fixation cross is not displayed.

Yes this is typical and it works when I respond under the fixationResp part of the trial, but not when I respond  just while the pic is on the screen (response to the pic allowed)

>The image remains on.screen because you have told Inquisit to not erase it. If you want it gone, remove the /erase false setting from the <picture> element.

The image (pic_practice) is behaving well, the problem is that when I respond just while the pic is on the screen, the trial is recording my response but it is not erasing the fixationResp part after it. That's because I see the fixationResp to appear superimposed on the following pic.
It should not be like that.

I explain you exactly what I want.
I want the trial to be one, presenting the pic and the fixationResp stimuli one after the other as expressed in the stimulustimes now.
At the same time, the response to the trial should be one as well, whether if I respond to the pic or to fixationResp moment.
So far so good.
But the task is not erasing fixationResp when I give the response precisely under the pic time presentation.
Then, fixationResp is presenting itself superimposed on the following pic: I should try to avoid this issue.
Basically, I'd like to have: when the response is given at the precise moment of the pic presentation, the fixationResp is not appearing and the task may continue to the next trial.
Thank you.

Please just do the things I told you in my previous reply

Thank you very much.

Just a question please.
May I display my experiment on a second monitor changing some settings in Inquisit? Or, do I have to find a way through the display settings on my laptop?

Change the display settings, i,e, make the external monitor the primary display.
Igor Iarrobino
Igor Iarrobino
Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)
Group: Forum Members
Posts: 42, Visits: 114
Dave - 2/18/2025
Igor Iarrobino - 2/18/2025
Dave - 2/18/2025
Igor Iarrobino - 2/18/2025
Dave - 2/18/2025
Igor Iarrobino - 2/18/2025
Hello Dave,
professor's choice changed and I gotta change this task accordingly.
If you read the last message in this topic we left with this:
"I need a trial to present the images and another one to have the answer" and you gave me an alternative view with a single trial.
In this script the stimuli are pics and the answer was fixationResp.

Well, I'd need a single trial in which I'd present the pic and after 350ms the fixationResp (fixation +). I tried to do as you can read in the script, following also your suggestions.
The problem here is that when I respond on the fixationResp (fixation +) the task is doing good. But, when I respond soon after the beginning of the trial, i.e. on the image, the trial is doing wrong. It is like the fixation + reoccurs on the following stimulus/pic, waiting for the response.
I'd like a smooth single trial, instead, in which the participant can respond both on the pic and the fixation +, recording a single valid response, and the fixation + is disappearing accordingly with the end of the trial.

**************************************************************************************************************
**************************************************************************************************************
EDITABLE PARAMETERS: change editable parameters here
**************************************************************************************************************
**************************************************************************************************************

<parameters>
/ITI = 1500
/fixationStart = 3000
/picsize = 60%
/top_y = 55%
/bottom_y = 55%
/leftresponsekey = "Z" //lo stampino con la SÌ va messo sulla Z
/rightresponsekey = "M" //lo stampino con la NO va messo sulla M
/spacekey = "BARRA SPAZIATRICE"
</parameters>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE INSTRUCTIONS: change instructions here
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
</instruct>


<item instructions>
/1 = "Adesso inizia la prova.
Le compariranno dei volti che possono esprimere un'emozione, oppure no.
Le verrà chiesto di premere il tasto SÌ se il volto presentato esprime un'emozione; al contrario, prema il tasto NO se il volto non esprime un'emozione.
Le ricordiamo di premere il più velocemente possibile.
Se non risponde, la prova non va avanti."

/2 = "Fine della prova.
Se vuole possiamo ripetere la prova."
</item>

<item continueButtons>
/1 = "Prema gentilemente il tasto indicato per iniziare"
/2 = "STOP"
</item>

<text YESButton_instruct>
/ items = ("YES = Prema SÌ")
/ position = (25%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text NOButton_instruct>
/ items = ("NO = Prema NO")
/ position = (75%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text fixationStart>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text exit>
/ items = ("<Prema gentilemente il tasto indicato per uscire>")
/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ size = (80%, 5%)
/ vjustify = center
</text>

<expressions>
/buttoninstruct1 = if (computer.touch && !computer.haskeyboard) {"response button";}
else {
"un tasto";}
/buttoninstruct2 = if (computer.touch && !computer.haskeyboard) {"button";}
else {
"un altro tasto";}
/buttoninstruct3 = if (computer.touch && !computer.haskeyboard) {"Le chiadiamo di posizionare le dita della mano sinistra e della mano destra sulla tastiera, e di premere un dei tasto per cominciare";}
else {
"Le chiediamo di posizionare l'indice della mano sinistra e l'indice della mano destra sulla tastiera e premere uno dei due tasti colorati per iniziare.";}
</expressions>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE STIMULI
**************************************************************************************************************
**************************************************************************************************************
********************************************
practice
********************************************

<list practice_itemnumbers>
/ items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
/ replace = false
/ resetinterval = 0
</list>

<item pics_practice>
/1= "F11_F20.JPG"
/2= "F11_F30.JPG"
/3 = "F11_F40.JPG"
/4 = "F11_F50.JPG"
/5 = "F11_F60.JPG"
/6 = "F11_F70.JPG"
/7 = "F11_F80.JPG"
/8 = "F11_F90.JPG"
/9 = "F11_F100.JPG"
/10 = "F11_F0.JPG"
/11 = "F11_F10.JPG"
/12 = "M11_F20.JPG"
/13 = "M11_F30.JPG"
/14 = "M11_F40.JPG"
/15 = "M11_F50.JPG"
/16 = "M11_F60.JPG"
/17 = "M11_F70.JPG"
/18 = "M11_F80.JPG"
/19 = "M11_F90.JPG"
/20 = "M11_F100.JPG"
/21 = "M11_F0.JPG"
/22 = "M11_F10.JPG"
/23 = "F11_P20.JPG"
/24 = "F11_P30.JPG"
/25 = "F11_P40.JPG"
/26 = "F11_P50.JPG"
/27 = "F11_P60.JPG"
/28 = "F11_P70.JPG"
/29 = "F11_P80.JPG"
/30 = "F11_P90.JPG"
/31 = "F11_P100.JPG"
/32 = "F11_P0.JPG"
/33 = "F11_P10.JPG"
/34 = "M11_F20.JPG"
/35 = "M11_P30.JPG"
/36 = "M11_P40.JPG"
/37 = "M11_P50.JPG"
/38 = "M11_P60.JPG"
/39 = "M11_P70.JPG"
/40 = "M11_P80.JPG"
/41 = "M11_P90.JPG"
/42 = "M11_P100.JPG"
/43 = "M11_P0.JPG"
/44 = "M11_P10.JPG"
</item>

<item correctButton_practice>
/1 = "YESButton"
/2 = "YESButton"
/3 = "YESButton"
/4 = "YESButton"
/5 = "YESButton"
/6 = "YESButton"
/7 = "YESButton"
/8 = "YESButton"
/9 = "YESButton"
/10 = "NOButton"
/11 = "NOButton"
/12 = "YESButton"
/13 = "YESButton"
/14 = "YESButton"
/15 = "YESButton"
/16 = "YESButton"
/17 = "YESButton"
/18 = "YESButton"
/19 = "YESButton"
/20 = "YESButton"
/21 = "NOButton"
/22 = "NOButton"
/23 = "YESButton"
/24 = "YESButton"
/25 = "YESButton"
/26 = "YESButton"
/27 = "YESButton"
/28 = "YESButton"
/29 = "YESButton"
/30 = "YESButton"
/31 = "YESButton"
/32 = "NOButton"
/33 = "NOButton"
/34 = "YESButton"
/35 = "YESButton"
/36 = "YESButton"
/37 = "YESButton"
/38 = "YESButton"
/39 = "YESButton"
/40 = "YESButton"
/41 = "YESButton"
/42 = "YESButton"
/43 = "NOButton"
/44 = "NOButton"
</item>

**************************************************************************************************************
**************************************************************************************************************
DEFAULTS
**************************************************************************************************************
**************************************************************************************************************
script requires Inquisit 6.5.2.0 or higher

<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "6.5.2.0"
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/txbgcolor = transparent
/txcolor = black
/screencolor = white
/inputdevice = keyboard
</defaults>

**************************************************************************************************************
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************

Note: data file explanations under User Manual Information at the top

To change from one data file per participant to one data file for all participants, set
/separatefiles = false

***********************
raw data file
***********************
<data>
/ separatefiles = true
/ columns = (date, time, subject, group, session, blockcode, blocknum, trialcode, values.fixationStart, values.ITI, values.keyAssignment, values.selectStim, stimulusitem, stimulusitem, values.correctButton, response, responsetext, correct, latency)
</data>,

***********************
summary data file
***********************
<summarydata>
/ columns = (inquisit.version, computer.platform, script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid,
script.elapsedtime, script.completed,
values.keyAssignment,
values.ACC_practice,
values.practiceRuns,
expressions.ACC_all,
expressions.meanRT_all)
/ separatefiles = true
</summarydata>

**************************************************************************************************************
**************************************************************************************************************
VALUES: automatically updated
**************************************************************************************************************
**************************************************************************************************************

/countTestBlocks: counts number of test blocks
/skipReadyTrial: 0 = run ready trial; 1 = skip ready trial

<values>
/countTestBlocks = 0
/selectStim = 1
/correctButton = ""
/practiceRuns = 0
/fixationStart = parameters.fixationStart
/ITI = parameters.ITI
/keyAssignment = "leftYES"
/spacekey = parameters.spacekey
/YESkey = parameters.leftresponsekey
/NOkey = parameters.rightresponsekey
</values>

/ACC_practice: stores the proportion correct of the current practice run

<values>
/ACC_practice = 0
</values>

**************************************************************************************************************
**************************************************************************************************************
EXPRESSIONS
**************************************************************************************************************
**************************************************************************************************************
/shadowSize: size of shadow text

/ACC_all: proportion correct overall (across all test trials)
/meanRT_all: mean correct latency (in ms) overall

/ACC_FACE: proportion correct in "FACE" block
/ACC_congruent: proportion correct in "congruent" pairings trials (across test blocks)
/ACC_incongruent: proportion correct in "incongruent" pairings trials (across test blocks)

/meanRT_FACE: mean correct latency (in ms) in "FACE" block
/meanRT_congruent: mean correct latency (in ms) in "congruent" pairings trials (across test blocks)
/meanRT_incongruent: mean correct latency (in ms) in "incongruent" pairings trials (across test blocks)

<expressions>
/ACC_all = list.accuracy.mean
/meanRT_all = list.latencies.mean
</expressions>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************

<text intro>
/ items = instructions
/ select = 1
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text end>
/ items = instructions
/ select = 2
/ position = (50%, 50%)
/ fontstyle = ("Arial", 8%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text continueButton_intro>
/ items = continueButtons
/ select = text.intro.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = blue
</text>

<text continueButton_Pnd>
/ items = continueButtons
/ select = text.end.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = red
</text>

***********************
Instruction Trials
***********************

<trial practiceStart>
/ inputdevice = keyboard
/ stimulusframes = [1 = intro, continueButton_intro]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial finish>
/ inputdevice = keyboard
/ skip = [
values.countTestBlocks == 1;
]
/ stimulusframes = [1 = clearscreen, end, exit]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial fixationStart>
/ stimulusframes = [1 = fixationStart]
/ trialduration = parameters.fixationStart
/ validresponse = (0)
/ recorddata = false
</trial>

**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************

<picture Pic_practice>
/items = item.pics_practice
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
/ erase = false
</picture>

**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************

*************************************************
Data Lists: used for descriptive statistics
store correct latencies/accuracy data
fill up during runtime
*************************************************

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracy>
</list>

Note: list stores the latency of correct responses for each relevant trial
<list latencies>
</list>

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracytest>
</list>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : practice
**************************************************************************************************************
**************************************************************************************************************

trial practice>
/ ontrialbegin = [
values.selectStim = list.practice_itemnumbers.nextvalue;
values.correctButton = item.correctButton_practice.item(values.selectStim);
]
/ stimulusframes = [1 = clearscreen; 2 = Pic_practice;]
/ response = noresponse
/ trialduration = 350
</trial>

<trial fixationResp>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.practice_itemnumbers.nextvalue;
values.correctButton = item.correctButton_practice.item(values.selectStim);
]
/ stimulustimes = [0 = clearscreen, Pic_practice; 350 = clearscreen, fixationResp]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ ontrialend = [ list.accuracy.appendItem(trial.fixationResp.correct);
values.ACC_practice = list.accuracy.mean;]
/ posttrialpause = parameters.ITI
</trial>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : helper trials
**************************************************************************************************************
**************************************************************************************************************

trial ITI>
/ stimulusframes = [1 = clearscreen]

//touchscreens: present inactive response buttons
// validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ isvalidresponse = [
return(false);
]
/ recorddata = false
/ trialduration = parameters.ITI
</trial>

**************************************************************************************************************
**************************************************************************************************************
BLOCKS
**************************************************************************************************************
**************************************************************************************************************

<block practiceIntro>
/ trials = [1 = practiceStart]
</block>

<block fixationStart>
/ trials = [1 = fixationStart]
</block>

<block practice>
/ onblockbegin = [
list.accuracy.reset();
list.latencies.reset();
values.practiceRuns += 1;
]
/ trials = [1 - 43 = fixationResp]
</block>

<block finish>
/ trials = [1 = finish]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
<expt>
/ onexptbegin = [
if (computer.touch && !computer.haskeyboard) {
text.continueButton_Pnd.skip = true;
text.continueButton_intro.skip = true;
};]

/ blocks = [
1 = practiceIntro;
2 = fixationStart;
    3 = practice;
4 = finish;
]
</expt>

<monkey>
/ latencydistribution = normal(50, 20)
</monkey>

**************************************************************************************************************
End of File
**************************************************************************************************************

https://www.millisecond.com/support/docs/v6/html/language/attributes/responseinterrupt.htm

If you want the fixation stimulus displayed when the response occurs before it, you need to set /responseinterrupt to frames.

I did not get your proposal.  I do not want the fixation stimulus displayed when the response occurs before it, it is the other way around.
I want a single trial to present the stimulus (Pic_practice) and the fixationResp in the same trial.
I want a single response for both in the same trial.
and I think it is ok so far.
And actually, what I want to solve is that the fixationResp MUST NOT APPEAR when the response is given on the stimulus (Pic_ptractice), because the response should be registered already. Moreover, if I do not respond to the stimulus I should be able to respond on the fixationResp as well. Everything should be under the same trial and response measure 

Your descriptions contradict each other.

> And actually, what I want to solve is that the fixationResp MUST NOT APPEAR when the response is given on the stimulus

When responseinterrupt is set to immediate, it does not appear. The trial enters its posttrialpause and ends. The fixation cross is not displayed.

The image remains on.screen because you have told Inquisit to not erase it. If you want it gone, remove the /erase false setting from the <picture> element.

In addition, add trial.fixationResp.resetstimulusframes(); to the trials /ontrialbegin logic.
> When responseinterrupt is set to immediate, it does not appear. The trial enters its posttrialpause and ends. The fixation cross is not displayed.

Yes this is typical and it works when I respond under the fixationResp part of the trial, but not when I respond  just while the pic is on the screen (response to the pic allowed)

>The image remains on.screen because you have told Inquisit to not erase it. If you want it gone, remove the /erase false setting from the <picture> element.

The image (pic_practice) is behaving well, the problem is that when I respond just while the pic is on the screen, the trial is recording my response but it is not erasing the fixationResp part after it. That's because I see the fixationResp to appear superimposed on the following pic.
It should not be like that.

I explain you exactly what I want.
I want the trial to be one, presenting the pic and the fixationResp stimuli one after the other as expressed in the stimulustimes now.
At the same time, the response to the trial should be one as well, whether if I respond to the pic or to fixationResp moment.
So far so good.
But the task is not erasing fixationResp when I give the response precisely under the pic time presentation.
Then, fixationResp is presenting itself superimposed on the following pic: I should try to avoid this issue.
Basically, I'd like to have: when the response is given at the precise moment of the pic presentation, the fixationResp is not appearing and the task may continue to the next trial.
Thank you.

Please just do the things I told you in my previous reply

Thank you very much.

Just a question please.
May I display my experiment on a second monitor changing some settings in Inquisit? Or, do I have to find a way through the display settings on my laptop?



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: 13K, Visits: 107K
Igor Iarrobino - 2/18/2025
Dave - 2/18/2025
Igor Iarrobino - 2/18/2025
Dave - 2/18/2025
Igor Iarrobino - 2/18/2025
Hello Dave,
professor's choice changed and I gotta change this task accordingly.
If you read the last message in this topic we left with this:
"I need a trial to present the images and another one to have the answer" and you gave me an alternative view with a single trial.
In this script the stimuli are pics and the answer was fixationResp.

Well, I'd need a single trial in which I'd present the pic and after 350ms the fixationResp (fixation +). I tried to do as you can read in the script, following also your suggestions.
The problem here is that when I respond on the fixationResp (fixation +) the task is doing good. But, when I respond soon after the beginning of the trial, i.e. on the image, the trial is doing wrong. It is like the fixation + reoccurs on the following stimulus/pic, waiting for the response.
I'd like a smooth single trial, instead, in which the participant can respond both on the pic and the fixation +, recording a single valid response, and the fixation + is disappearing accordingly with the end of the trial.

**************************************************************************************************************
**************************************************************************************************************
EDITABLE PARAMETERS: change editable parameters here
**************************************************************************************************************
**************************************************************************************************************

<parameters>
/ITI = 1500
/fixationStart = 3000
/picsize = 60%
/top_y = 55%
/bottom_y = 55%
/leftresponsekey = "Z" //lo stampino con la SÌ va messo sulla Z
/rightresponsekey = "M" //lo stampino con la NO va messo sulla M
/spacekey = "BARRA SPAZIATRICE"
</parameters>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE INSTRUCTIONS: change instructions here
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
</instruct>


<item instructions>
/1 = "Adesso inizia la prova.
Le compariranno dei volti che possono esprimere un'emozione, oppure no.
Le verrà chiesto di premere il tasto SÌ se il volto presentato esprime un'emozione; al contrario, prema il tasto NO se il volto non esprime un'emozione.
Le ricordiamo di premere il più velocemente possibile.
Se non risponde, la prova non va avanti."

/2 = "Fine della prova.
Se vuole possiamo ripetere la prova."
</item>

<item continueButtons>
/1 = "Prema gentilemente il tasto indicato per iniziare"
/2 = "STOP"
</item>

<text YESButton_instruct>
/ items = ("YES = Prema SÌ")
/ position = (25%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text NOButton_instruct>
/ items = ("NO = Prema NO")
/ position = (75%, 60%)
/ fontstyle = ("Arial", 5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txcolor = white
</text>

<text fixationStart>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text fixationResp>
/ items = ("+")
/ vposition = 50%
/ hposition = 50%
/ fontstyle = ("Arial", 7%, true, false, false, false, 5, 1)
/ size = (10%, 10%)
/ txcolor = black
/ txbgcolor = transparent
</text>

<text exit>
/ items = ("<Prema gentilemente il tasto indicato per uscire>")
/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ size = (80%, 5%)
/ vjustify = center
</text>

<expressions>
/buttoninstruct1 = if (computer.touch && !computer.haskeyboard) {"response button";}
else {
"un tasto";}
/buttoninstruct2 = if (computer.touch && !computer.haskeyboard) {"button";}
else {
"un altro tasto";}
/buttoninstruct3 = if (computer.touch && !computer.haskeyboard) {"Le chiadiamo di posizionare le dita della mano sinistra e della mano destra sulla tastiera, e di premere un dei tasto per cominciare";}
else {
"Le chiediamo di posizionare l'indice della mano sinistra e l'indice della mano destra sulla tastiera e premere uno dei due tasti colorati per iniziare.";}
</expressions>

**************************************************************************************************************
**************************************************************************************************************
EDITABLE STIMULI
**************************************************************************************************************
**************************************************************************************************************
********************************************
practice
********************************************

<list practice_itemnumbers>
/ items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
/ replace = false
/ resetinterval = 0
</list>

<item pics_practice>
/1= "F11_F20.JPG"
/2= "F11_F30.JPG"
/3 = "F11_F40.JPG"
/4 = "F11_F50.JPG"
/5 = "F11_F60.JPG"
/6 = "F11_F70.JPG"
/7 = "F11_F80.JPG"
/8 = "F11_F90.JPG"
/9 = "F11_F100.JPG"
/10 = "F11_F0.JPG"
/11 = "F11_F10.JPG"
/12 = "M11_F20.JPG"
/13 = "M11_F30.JPG"
/14 = "M11_F40.JPG"
/15 = "M11_F50.JPG"
/16 = "M11_F60.JPG"
/17 = "M11_F70.JPG"
/18 = "M11_F80.JPG"
/19 = "M11_F90.JPG"
/20 = "M11_F100.JPG"
/21 = "M11_F0.JPG"
/22 = "M11_F10.JPG"
/23 = "F11_P20.JPG"
/24 = "F11_P30.JPG"
/25 = "F11_P40.JPG"
/26 = "F11_P50.JPG"
/27 = "F11_P60.JPG"
/28 = "F11_P70.JPG"
/29 = "F11_P80.JPG"
/30 = "F11_P90.JPG"
/31 = "F11_P100.JPG"
/32 = "F11_P0.JPG"
/33 = "F11_P10.JPG"
/34 = "M11_F20.JPG"
/35 = "M11_P30.JPG"
/36 = "M11_P40.JPG"
/37 = "M11_P50.JPG"
/38 = "M11_P60.JPG"
/39 = "M11_P70.JPG"
/40 = "M11_P80.JPG"
/41 = "M11_P90.JPG"
/42 = "M11_P100.JPG"
/43 = "M11_P0.JPG"
/44 = "M11_P10.JPG"
</item>

<item correctButton_practice>
/1 = "YESButton"
/2 = "YESButton"
/3 = "YESButton"
/4 = "YESButton"
/5 = "YESButton"
/6 = "YESButton"
/7 = "YESButton"
/8 = "YESButton"
/9 = "YESButton"
/10 = "NOButton"
/11 = "NOButton"
/12 = "YESButton"
/13 = "YESButton"
/14 = "YESButton"
/15 = "YESButton"
/16 = "YESButton"
/17 = "YESButton"
/18 = "YESButton"
/19 = "YESButton"
/20 = "YESButton"
/21 = "NOButton"
/22 = "NOButton"
/23 = "YESButton"
/24 = "YESButton"
/25 = "YESButton"
/26 = "YESButton"
/27 = "YESButton"
/28 = "YESButton"
/29 = "YESButton"
/30 = "YESButton"
/31 = "YESButton"
/32 = "NOButton"
/33 = "NOButton"
/34 = "YESButton"
/35 = "YESButton"
/36 = "YESButton"
/37 = "YESButton"
/38 = "YESButton"
/39 = "YESButton"
/40 = "YESButton"
/41 = "YESButton"
/42 = "YESButton"
/43 = "NOButton"
/44 = "NOButton"
</item>

**************************************************************************************************************
**************************************************************************************************************
DEFAULTS
**************************************************************************************************************
**************************************************************************************************************
script requires Inquisit 6.5.2.0 or higher

<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "6.5.2.0"
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/txbgcolor = transparent
/txcolor = black
/screencolor = white
/inputdevice = keyboard
</defaults>

**************************************************************************************************************
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************

Note: data file explanations under User Manual Information at the top

To change from one data file per participant to one data file for all participants, set
/separatefiles = false

***********************
raw data file
***********************
<data>
/ separatefiles = true
/ columns = (date, time, subject, group, session, blockcode, blocknum, trialcode, values.fixationStart, values.ITI, values.keyAssignment, values.selectStim, stimulusitem, stimulusitem, values.correctButton, response, responsetext, correct, latency)
</data>,

***********************
summary data file
***********************
<summarydata>
/ columns = (inquisit.version, computer.platform, script.startdate, script.starttime, script.subjectid, script.groupid, script.sessionid,
script.elapsedtime, script.completed,
values.keyAssignment,
values.ACC_practice,
values.practiceRuns,
expressions.ACC_all,
expressions.meanRT_all)
/ separatefiles = true
</summarydata>

**************************************************************************************************************
**************************************************************************************************************
VALUES: automatically updated
**************************************************************************************************************
**************************************************************************************************************

/countTestBlocks: counts number of test blocks
/skipReadyTrial: 0 = run ready trial; 1 = skip ready trial

<values>
/countTestBlocks = 0
/selectStim = 1
/correctButton = ""
/practiceRuns = 0
/fixationStart = parameters.fixationStart
/ITI = parameters.ITI
/keyAssignment = "leftYES"
/spacekey = parameters.spacekey
/YESkey = parameters.leftresponsekey
/NOkey = parameters.rightresponsekey
</values>

/ACC_practice: stores the proportion correct of the current practice run

<values>
/ACC_practice = 0
</values>

**************************************************************************************************************
**************************************************************************************************************
EXPRESSIONS
**************************************************************************************************************
**************************************************************************************************************
/shadowSize: size of shadow text

/ACC_all: proportion correct overall (across all test trials)
/meanRT_all: mean correct latency (in ms) overall

/ACC_FACE: proportion correct in "FACE" block
/ACC_congruent: proportion correct in "congruent" pairings trials (across test blocks)
/ACC_incongruent: proportion correct in "incongruent" pairings trials (across test blocks)

/meanRT_FACE: mean correct latency (in ms) in "FACE" block
/meanRT_congruent: mean correct latency (in ms) in "congruent" pairings trials (across test blocks)
/meanRT_incongruent: mean correct latency (in ms) in "incongruent" pairings trials (across test blocks)

<expressions>
/ACC_all = list.accuracy.mean
/meanRT_all = list.latencies.mean
</expressions>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS
**************************************************************************************************************
**************************************************************************************************************

<text intro>
/ items = instructions
/ select = 1
/ position = (50%, 50%)
/ fontstyle = ("Arial", 4%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text end>
/ items = instructions
/ select = 2
/ position = (50%, 50%)
/ fontstyle = ("Arial", 8%, false, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (90%, 80%)
</text>

<text continueButton_intro>
/ items = continueButtons
/ select = text.intro.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = blue
</text>

<text continueButton_Pnd>
/ items = continueButtons
/ select = text.end.currentitemnumber
/ position = (50%, 90%)
/ fontstyle = ("Arial", 3.5%, true, false, false, false, 5, 1)
/ vjustify = center
/ hjustify = center
/ size = (45%, 10%)
/ txbgcolor = red
</text>

***********************
Instruction Trials
***********************

<trial practiceStart>
/ inputdevice = keyboard
/ stimulusframes = [1 = intro, continueButton_intro]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial finish>
/ inputdevice = keyboard
/ skip = [
values.countTestBlocks == 1;
]
/ stimulusframes = [1 = clearscreen, end, exit]
/ validresponse = (" ")
/ recorddata = false
</trial>

<trial fixationStart>
/ stimulusframes = [1 = fixationStart]
/ trialduration = parameters.fixationStart
/ validresponse = (0)
/ recorddata = false
</trial>

**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************

<picture Pic_practice>
/items = item.pics_practice
/ select = values.selectStim
/ position = (50%, 50%)
/ size = (parameters.picsize, parameters.picSize)
/ erase = false
</picture>

**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************

*************************************************
Data Lists: used for descriptive statistics
store correct latencies/accuracy data
fill up during runtime
*************************************************

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracy>
</list>

Note: list stores the latency of correct responses for each relevant trial
<list latencies>
</list>

Note: list stores 1 = correct response; 0 = incorrect response for each relevant trial
any response coded as an error is automatically coded as 0
<list accuracytest>
</list>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : practice
**************************************************************************************************************
**************************************************************************************************************

trial practice>
/ ontrialbegin = [
values.selectStim = list.practice_itemnumbers.nextvalue;
values.correctButton = item.correctButton_practice.item(values.selectStim);
]
/ stimulusframes = [1 = clearscreen; 2 = Pic_practice;]
/ response = noresponse
/ trialduration = 350
</trial>

<trial fixationResp>
/ inputdevice = keyboard
/ ontrialbegin = [
values.selectStim = list.practice_itemnumbers.nextvalue;
values.correctButton = item.correctButton_practice.item(values.selectStim);
]
/ stimulustimes = [0 = clearscreen, Pic_practice; 350 = clearscreen, fixationResp]
/ validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ iscorrectresponse = [
if (values.correctButton == "YESButton") {
if (trial.fixationResp.responsetext == values.YESkey) {
return true;
} else {
return false;
};
} else {
if (trial.fixationResp.responsetext == values.NOkey) {
return true;
} else {
return false;
};
};
]
/ beginresponsetime = 0
/ responseinterrupt = immediate
/ ontrialend = [ list.accuracy.appendItem(trial.fixationResp.correct);
values.ACC_practice = list.accuracy.mean;]
/ posttrialpause = parameters.ITI
</trial>

**************************************************************************************************************
**************************************************************************************************************
TRIALS : helper trials
**************************************************************************************************************
**************************************************************************************************************

trial ITI>
/ stimulusframes = [1 = clearscreen]

//touchscreens: present inactive response buttons
// validresponse = (parameters.leftresponsekey, parameters.rightresponsekey)
/ isvalidresponse = [
return(false);
]
/ recorddata = false
/ trialduration = parameters.ITI
</trial>

**************************************************************************************************************
**************************************************************************************************************
BLOCKS
**************************************************************************************************************
**************************************************************************************************************

<block practiceIntro>
/ trials = [1 = practiceStart]
</block>

<block fixationStart>
/ trials = [1 = fixationStart]
</block>

<block practice>
/ onblockbegin = [
list.accuracy.reset();
list.latencies.reset();
values.practiceRuns += 1;
]
/ trials = [1 - 43 = fixationResp]
</block>

<block finish>
/ trials = [1 = finish]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
<expt>
/ onexptbegin = [
if (computer.touch && !computer.haskeyboard) {
text.continueButton_Pnd.skip = true;
text.continueButton_intro.skip = true;
};]

/ blocks = [
1 = practiceIntro;
2 = fixationStart;
    3 = practice;
4 = finish;
]
</expt>

<monkey>
/ latencydistribution = normal(50, 20)
</monkey>

**************************************************************************************************************
End of File
**************************************************************************************************************

https://www.millisecond.com/support/docs/v6/html/language/attributes/responseinterrupt.htm

If you want the fixation stimulus displayed when the response occurs before it, you need to set /responseinterrupt to frames.

I did not get your proposal.  I do not want the fixation stimulus displayed when the response occurs before it, it is the other way around.
I want a single trial to present the stimulus (Pic_practice) and the fixationResp in the same trial.
I want a single response for both in the same trial.
and I think it is ok so far.
And actually, what I want to solve is that the fixationResp MUST NOT APPEAR when the response is given on the stimulus (Pic_ptractice), because the response should be registered already. Moreover, if I do not respond to the stimulus I should be able to respond on the fixationResp as well. Everything should be under the same trial and response measure 

Your descriptions contradict each other.

> And actually, what I want to solve is that the fixationResp MUST NOT APPEAR when the response is given on the stimulus

When responseinterrupt is set to immediate, it does not appear. The trial enters its posttrialpause and ends. The fixation cross is not displayed.

The image remains on.screen because you have told Inquisit to not erase it. If you want it gone, remove the /erase false setting from the <picture> element.

In addition, add trial.fixationResp.resetstimulusframes(); to the trials /ontrialbegin logic.
> When responseinterrupt is set to immediate, it does not appear. The trial enters its posttrialpause and ends. The fixation cross is not displayed.

Yes this is typical and it works when I respond under the fixationResp part of the trial, but not when I respond  just while the pic is on the screen (response to the pic allowed)

>The image remains on.screen because you have told Inquisit to not erase it. If you want it gone, remove the /erase false setting from the <picture> element.

The image (pic_practice) is behaving well, the problem is that when I respond just while the pic is on the screen, the trial is recording my response but it is not erasing the fixationResp part after it. That's because I see the fixationResp to appear superimposed on the following pic.
It should not be like that.

I explain you exactly what I want.
I want the trial to be one, presenting the pic and the fixationResp stimuli one after the other as expressed in the stimulustimes now.
At the same time, the response to the trial should be one as well, whether if I respond to the pic or to fixationResp moment.
So far so good.
But the task is not erasing fixationResp when I give the response precisely under the pic time presentation.
Then, fixationResp is presenting itself superimposed on the following pic: I should try to avoid this issue.
Basically, I'd like to have: when the response is given at the precise moment of the pic presentation, the fixationResp is not appearing and the task may continue to the next trial.
Thank you.

Please just do the things I told you in my previous reply
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search