Selection rate always does not work


Author
Message
eleonora_parr
eleonora_parr
Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)
Group: Forum Members
Posts: 40, Visits: 148
Dear Inquisiters,
I am trying to program an experiment in which a circle in the middle of the screen should change color intermittently, becoming lighter (different shades of white) to then turn back to its original color (grey, cicle_195). Participants are instructed to press the spacebar whenever they are able to detect this color change.
I want that whenever the circle becomes lighter, Inquisit selects randomly one of the different pictures of circles that I uploaded as items, and I want this to happen continuously within the same trial. For example, if on the first trial the circle becomes lighter 19 times, I want the picture to be selected newly 19 times, so that participants do not see always the same picture in one trial. 
I thought that the problem would have been solved by using a counter or a list and by using /selectionrate = always, but Inquisit keeps selecting a new picture for each trial. 
Here is the code example:

<picture circle_195>
/ items = ("195.png")
/ position = (50%,50%)
/size=(30%, 30%)
</picture>
<item circle_w>
/1 = "255.png"
/2 = "250.png"
/3 = "245.png"
/4 = "240.png"
/5 = "235.png"
/6 = "230.png"
/7="225.png"
/8="220.png"
/9="215.png"
/10="210.png"
/11="205.png"
/12="197.png"
</item>

<picture circle>
/ items = circle_w
/ select = picselect
/ position = (50%,50%)
/size=(30%, 30%)
</picture>

<counter picselect>
/items= (1,2,3,4,5,6,7,8,9,10,11,12)
/select =noreplace
/selectionrate = always
</counter>

<trial baseline_1>
/ ontrialbegin = [
values.spacebarpresscount = "";
values.timeofresponse = "";
values.trialtype = "ET";
values.trialcondition = "safe";
]
/stimulustimes=[
0=circle_195;

757= circle;
1694= circle;
2821= circle;
3943= circle;
5114= circle;
6204= circle;
7312= circle;
8380= circle;
9460= circle;
10615= circle;
11681= circle;
12805= circle;
13889= circle;
14986= circle;
16149= circle;
17259= circle;
18491= circle;
19631= circle;

802= circle_195;
1739= circle_195;
2866= circle_195;
3988= circle_195;
5159= circle_195;
6249= circle_195;
7357= circle_195;
8425= circle_195;
9505= circle_195;
10660= circle_195;
11726= circle_195;
12850= circle_195;
13934= circle_195;
15031= circle_195;
16194= circle_195;
17304= circle_195;
18536= circle_195;
19676= circle_195;
]
/ trialduration = 19676
/ inputdevice = keyboard
/ beginresponsetime = -1

/ responseinterrupt = trial
/ validresponse = (-57, 0)
/ correctresponse = (0)
/ showmousecursor = false
/ isvalidresponse = [if(trial.baseline_1.response==57){
values.spacebarpresscount += 1;
values.timeofresponse=concat(concat(values.timeofresponse, trial.baseline_1.latency),",");
false};]
/ branch = [
trial.warning_1;
]
</trial>


<trial warning_1>
/ ontrialbegin = [
values.spacebarpresscount = "";
values.timeofresponse = "";
values.trialtype = "ET";
values.trialcondition = "safe";
]
/stimulustimes=[
0=circle_195,flowers;
454= circle;
1568= circle;
2735= circle;
3919= circle;
5044= circle;
6303= circle;
7445= circle;
8664= circle;
9798= circle;
11005= circle;
12210= circle;
13275= circle;
14446= circle;
15630= circle;
16737= circle;
17852= circle;
19019= circle;
499= circle_195;
1613= circle_195;
2780= circle_195;
3964= circle_195;
5089= circle_195;
6348= circle_195;
7490= circle_195;
8709= circle_195;
9843= circle_195;
11050= circle_195;
12255= circle_195;
13320= circle_195;
14491= circle_195;
15675= circle_195;
16782= circle_195;
17897= circle_195;
19064= circle_195;
]
/ trialduration = 19064+1000
/ inputdevice = keyboard
/ beginresponsetime = -1
/ responseinterrupt = trial
/ validresponse = (-57, 0)
/ correctresponse = (0)
/ showmousecursor = false
/ isvalidresponse = [if(trial.warning_1.response==57){
values.spacebarpresscount += 1;
values.timeofresponse=concat(concat(values.timeofresponse, trial.warning_1.latency),",");
false};]
/ branch = [
trial.pausa;
]
</trial>
<trial pausa>
/ stimulusframes = [1=pausa]
/ timeout = 15000
/ branch = [
trial.space;]
</trial>

<text pausa>
/ fontstyle = ("Trebuchet MS", 3%, false, false, false, false, 5, 1)
/ items = ("Prenditi una pausa e riposati.
            Appena compare la schermata con scritto di premere la barra spaziatrice potrai continuare l esperimento")
/ size = (60%, 40%)
</text>

<text space>
/ txcolor = white
/ fontstyle = ("Arial", 20pt, true)
/ items = ("Press the spacebar to continue")
</text>


<trial space>
/ stimulusframes = [1=space]
/ inputdevice = keyboard
/ correctresponse =(57)
/ validresponse = (57)
/ posttrialpause = 500
</trial>

<block acc>
/ trials = [1=baseline_1; ]

If needed, I can provide the full script with the pictures too!
Thank you so much in advance!!

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K
eleonora_parr - 7/15/2021
Dear Inquisiters,
I am trying to program an experiment in which a circle in the middle of the screen should change color intermittently, becoming lighter (different shades of white) to then turn back to its original color (grey, cicle_195). Participants are instructed to press the spacebar whenever they are able to detect this color change.
I want that whenever the circle becomes lighter, Inquisit selects randomly one of the different pictures of circles that I uploaded as items, and I want this to happen continuously within the same trial. For example, if on the first trial the circle becomes lighter 19 times, I want the picture to be selected newly 19 times, so that participants do not see always the same picture in one trial. 
I thought that the problem would have been solved by using a counter or a list and by using /selectionrate = always, but Inquisit keeps selecting a new picture for each trial. 
Here is the code example:

<picture circle_195>
/ items = ("195.png")
/ position = (50%,50%)
/size=(30%, 30%)
</picture>
<item circle_w>
/1 = "255.png"
/2 = "250.png"
/3 = "245.png"
/4 = "240.png"
/5 = "235.png"
/6 = "230.png"
/7="225.png"
/8="220.png"
/9="215.png"
/10="210.png"
/11="205.png"
/12="197.png"
</item>

<picture circle>
/ items = circle_w
/ select = picselect
/ position = (50%,50%)
/size=(30%, 30%)
</picture>

<counter picselect>
/items= (1,2,3,4,5,6,7,8,9,10,11,12)
/select =noreplace
/selectionrate = always
</counter>

<trial baseline_1>
/ ontrialbegin = [
values.spacebarpresscount = "";
values.timeofresponse = "";
values.trialtype = "ET";
values.trialcondition = "safe";
]
/stimulustimes=[
0=circle_195;

757= circle;
1694= circle;
2821= circle;
3943= circle;
5114= circle;
6204= circle;
7312= circle;
8380= circle;
9460= circle;
10615= circle;
11681= circle;
12805= circle;
13889= circle;
14986= circle;
16149= circle;
17259= circle;
18491= circle;
19631= circle;

802= circle_195;
1739= circle_195;
2866= circle_195;
3988= circle_195;
5159= circle_195;
6249= circle_195;
7357= circle_195;
8425= circle_195;
9505= circle_195;
10660= circle_195;
11726= circle_195;
12850= circle_195;
13934= circle_195;
15031= circle_195;
16194= circle_195;
17304= circle_195;
18536= circle_195;
19676= circle_195;
]
/ trialduration = 19676
/ inputdevice = keyboard
/ beginresponsetime = -1

/ responseinterrupt = trial
/ validresponse = (-57, 0)
/ correctresponse = (0)
/ showmousecursor = false
/ isvalidresponse = [if(trial.baseline_1.response==57){
values.spacebarpresscount += 1;
values.timeofresponse=concat(concat(values.timeofresponse, trial.baseline_1.latency),",");
false};]
/ branch = [
trial.warning_1;
]
</trial>


<trial warning_1>
/ ontrialbegin = [
values.spacebarpresscount = "";
values.timeofresponse = "";
values.trialtype = "ET";
values.trialcondition = "safe";
]
/stimulustimes=[
0=circle_195,flowers;
454= circle;
1568= circle;
2735= circle;
3919= circle;
5044= circle;
6303= circle;
7445= circle;
8664= circle;
9798= circle;
11005= circle;
12210= circle;
13275= circle;
14446= circle;
15630= circle;
16737= circle;
17852= circle;
19019= circle;
499= circle_195;
1613= circle_195;
2780= circle_195;
3964= circle_195;
5089= circle_195;
6348= circle_195;
7490= circle_195;
8709= circle_195;
9843= circle_195;
11050= circle_195;
12255= circle_195;
13320= circle_195;
14491= circle_195;
15675= circle_195;
16782= circle_195;
17897= circle_195;
19064= circle_195;
]
/ trialduration = 19064+1000
/ inputdevice = keyboard
/ beginresponsetime = -1
/ responseinterrupt = trial
/ validresponse = (-57, 0)
/ correctresponse = (0)
/ showmousecursor = false
/ isvalidresponse = [if(trial.warning_1.response==57){
values.spacebarpresscount += 1;
values.timeofresponse=concat(concat(values.timeofresponse, trial.warning_1.latency),",");
false};]
/ branch = [
trial.pausa;
]
</trial>
<trial pausa>
/ stimulusframes = [1=pausa]
/ timeout = 15000
/ branch = [
trial.space;]
</trial>

<text pausa>
/ fontstyle = ("Trebuchet MS", 3%, false, false, false, false, 5, 1)
/ items = ("Prenditi una pausa e riposati.
            Appena compare la schermata con scritto di premere la barra spaziatrice potrai continuare l esperimento")
/ size = (60%, 40%)
</text>

<text space>
/ txcolor = white
/ fontstyle = ("Arial", 20pt, true)
/ items = ("Press the spacebar to continue")
</text>


<trial space>
/ stimulusframes = [1=space]
/ inputdevice = keyboard
/ correctresponse =(57)
/ validresponse = (57)
/ posttrialpause = 500
</trial>

<block acc>
/ trials = [1=baseline_1; ]

If needed, I can provide the full script with the pictures too!
Thank you so much in advance!!

This has nothing to do with selectionrate, and everything to do with the fact that you cannot select a different item across multiple presentations of the same stimulus in a single <trial>. This is due to performance reasons.

Consider the examples below

<block example>
/ trials = [1=exampletrial]
</block>

<trial exampletrial>
/ stimulustimes = [0=word; 1000=word; 2000=word; 3000=word]
/ validresponse = (0)
/ trialduration = 4000
</trial>

<text word>
/ items = worditems
/ size = (50%, 10%)
/ select = list.sequence.nextvalue
</text>

<item worditems>
/ 1 = "This"
/ 2 = "is"
/ 3 = "a"
/ 4 = "test."
</item>

<list sequence>
/ items = (1,2,3,4)
/ selectionmode = sequence
/ selectionrate = always
</list>


vs. a proper implementation using different stimulus elements instead of the same one over and over:

<block example>
/ trials = [1=exampletrial]
</block>

<trial exampletrial>
/ stimulustimes = [0=word1; 1000=word2; 2000=word3; 3000=word4]
/ validresponse = (0)
/ trialduration = 4000
</trial>

<text word1>
/ items = worditems
/ size = (50%, 10%)
/ select = list.sequence.nextvalue
</text>

<text word2>
/ items = worditems
/ size = (50%, 10%)
/ select = list.sequence.nextvalue
</text>

<text word3>
/ items = worditems
/ size = (50%, 10%)
/ select = list.sequence.nextvalue
</text>

<text word4>
/ items = worditems
/ size = (50%, 10%)
/ select = list.sequence.nextvalue
</text>

<item worditems>
/ 1 = "This"
/ 2 = "is"
/ 3 = "a"
/ 4 = "test."
</item>

<list sequence>
/ items = (1,2,3,4)
/ selectionmode = sequence
/ selectionrate = always
</list>


eleonora_parr
eleonora_parr
Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)Respected Member (490 reputation)
Group: Forum Members
Posts: 40, Visits: 148
Dave - 7/15/2021
eleonora_parr - 7/15/2021
Dear Inquisiters,
I am trying to program an experiment in which a circle in the middle of the screen should change color intermittently, becoming lighter (different shades of white) to then turn back to its original color (grey, cicle_195). Participants are instructed to press the spacebar whenever they are able to detect this color change.
I want that whenever the circle becomes lighter, Inquisit selects randomly one of the different pictures of circles that I uploaded as items, and I want this to happen continuously within the same trial. For example, if on the first trial the circle becomes lighter 19 times, I want the picture to be selected newly 19 times, so that participants do not see always the same picture in one trial. 
I thought that the problem would have been solved by using a counter or a list and by using /selectionrate = always, but Inquisit keeps selecting a new picture for each trial. 
Here is the code example:

<picture circle_195>
/ items = ("195.png")
/ position = (50%,50%)
/size=(30%, 30%)
</picture>
<item circle_w>
/1 = "255.png"
/2 = "250.png"
/3 = "245.png"
/4 = "240.png"
/5 = "235.png"
/6 = "230.png"
/7="225.png"
/8="220.png"
/9="215.png"
/10="210.png"
/11="205.png"
/12="197.png"
</item>

<picture circle>
/ items = circle_w
/ select = picselect
/ position = (50%,50%)
/size=(30%, 30%)
</picture>

<counter picselect>
/items= (1,2,3,4,5,6,7,8,9,10,11,12)
/select =noreplace
/selectionrate = always
</counter>

<trial baseline_1>
/ ontrialbegin = [
values.spacebarpresscount = "";
values.timeofresponse = "";
values.trialtype = "ET";
values.trialcondition = "safe";
]
/stimulustimes=[
0=circle_195;

757= circle;
1694= circle;
2821= circle;
3943= circle;
5114= circle;
6204= circle;
7312= circle;
8380= circle;
9460= circle;
10615= circle;
11681= circle;
12805= circle;
13889= circle;
14986= circle;
16149= circle;
17259= circle;
18491= circle;
19631= circle;

802= circle_195;
1739= circle_195;
2866= circle_195;
3988= circle_195;
5159= circle_195;
6249= circle_195;
7357= circle_195;
8425= circle_195;
9505= circle_195;
10660= circle_195;
11726= circle_195;
12850= circle_195;
13934= circle_195;
15031= circle_195;
16194= circle_195;
17304= circle_195;
18536= circle_195;
19676= circle_195;
]
/ trialduration = 19676
/ inputdevice = keyboard
/ beginresponsetime = -1

/ responseinterrupt = trial
/ validresponse = (-57, 0)
/ correctresponse = (0)
/ showmousecursor = false
/ isvalidresponse = [if(trial.baseline_1.response==57){
values.spacebarpresscount += 1;
values.timeofresponse=concat(concat(values.timeofresponse, trial.baseline_1.latency),",");
false};]
/ branch = [
trial.warning_1;
]
</trial>


<trial warning_1>
/ ontrialbegin = [
values.spacebarpresscount = "";
values.timeofresponse = "";
values.trialtype = "ET";
values.trialcondition = "safe";
]
/stimulustimes=[
0=circle_195,flowers;
454= circle;
1568= circle;
2735= circle;
3919= circle;
5044= circle;
6303= circle;
7445= circle;
8664= circle;
9798= circle;
11005= circle;
12210= circle;
13275= circle;
14446= circle;
15630= circle;
16737= circle;
17852= circle;
19019= circle;
499= circle_195;
1613= circle_195;
2780= circle_195;
3964= circle_195;
5089= circle_195;
6348= circle_195;
7490= circle_195;
8709= circle_195;
9843= circle_195;
11050= circle_195;
12255= circle_195;
13320= circle_195;
14491= circle_195;
15675= circle_195;
16782= circle_195;
17897= circle_195;
19064= circle_195;
]
/ trialduration = 19064+1000
/ inputdevice = keyboard
/ beginresponsetime = -1
/ responseinterrupt = trial
/ validresponse = (-57, 0)
/ correctresponse = (0)
/ showmousecursor = false
/ isvalidresponse = [if(trial.warning_1.response==57){
values.spacebarpresscount += 1;
values.timeofresponse=concat(concat(values.timeofresponse, trial.warning_1.latency),",");
false};]
/ branch = [
trial.pausa;
]
</trial>
<trial pausa>
/ stimulusframes = [1=pausa]
/ timeout = 15000
/ branch = [
trial.space;]
</trial>

<text pausa>
/ fontstyle = ("Trebuchet MS", 3%, false, false, false, false, 5, 1)
/ items = ("Prenditi una pausa e riposati.
            Appena compare la schermata con scritto di premere la barra spaziatrice potrai continuare l esperimento")
/ size = (60%, 40%)
</text>

<text space>
/ txcolor = white
/ fontstyle = ("Arial", 20pt, true)
/ items = ("Press the spacebar to continue")
</text>


<trial space>
/ stimulusframes = [1=space]
/ inputdevice = keyboard
/ correctresponse =(57)
/ validresponse = (57)
/ posttrialpause = 500
</trial>

<block acc>
/ trials = [1=baseline_1; ]

If needed, I can provide the full script with the pictures too!
Thank you so much in advance!!

This has nothing to do with selectionrate, and everything to do with the fact that you cannot select a different item across multiple presentations of the same stimulus in a single <trial>. This is due to performance reasons.

Consider the examples below

<block example>
/ trials = [1=exampletrial]
</block>

<trial exampletrial>
/ stimulustimes = [0=word; 1000=word; 2000=word; 3000=word]
/ validresponse = (0)
/ trialduration = 4000
</trial>

<text word>
/ items = worditems
/ size = (50%, 10%)
/ select = list.sequence.nextvalue
</text>

<item worditems>
/ 1 = "This"
/ 2 = "is"
/ 3 = "a"
/ 4 = "test."
</item>

<list sequence>
/ items = (1,2,3,4)
/ selectionmode = sequence
/ selectionrate = always
</list>


vs. a proper implementation using different stimulus elements instead of the same one over and over:

<block example>
/ trials = [1=exampletrial]
</block>

<trial exampletrial>
/ stimulustimes = [0=word1; 1000=word2; 2000=word3; 3000=word4]
/ validresponse = (0)
/ trialduration = 4000
</trial>

<text word1>
/ items = worditems
/ size = (50%, 10%)
/ select = list.sequence.nextvalue
</text>

<text word2>
/ items = worditems
/ size = (50%, 10%)
/ select = list.sequence.nextvalue
</text>

<text word3>
/ items = worditems
/ size = (50%, 10%)
/ select = list.sequence.nextvalue
</text>

<text word4>
/ items = worditems
/ size = (50%, 10%)
/ select = list.sequence.nextvalue
</text>

<item worditems>
/ 1 = "This"
/ 2 = "is"
/ 3 = "a"
/ 4 = "test."
</item>

<list sequence>
/ items = (1,2,3,4)
/ selectionmode = sequence
/ selectionrate = always
</list>


I am not sure that I am understanding it.. So, it is not possible to randomize the presentation of the stimulus and newly select it within the same trial? the only way would be to define in principle different pictures to display everytime? 

Thanks!
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K
eleonora_parr - 7/15/2021
Dave - 7/15/2021
eleonora_parr - 7/15/2021
Dear Inquisiters,
I am trying to program an experiment in which a circle in the middle of the screen should change color intermittently, becoming lighter (different shades of white) to then turn back to its original color (grey, cicle_195). Participants are instructed to press the spacebar whenever they are able to detect this color change.
I want that whenever the circle becomes lighter, Inquisit selects randomly one of the different pictures of circles that I uploaded as items, and I want this to happen continuously within the same trial. For example, if on the first trial the circle becomes lighter 19 times, I want the picture to be selected newly 19 times, so that participants do not see always the same picture in one trial. 
I thought that the problem would have been solved by using a counter or a list and by using /selectionrate = always, but Inquisit keeps selecting a new picture for each trial. 
Here is the code example:

<picture circle_195>
/ items = ("195.png")
/ position = (50%,50%)
/size=(30%, 30%)
</picture>
<item circle_w>
/1 = "255.png"
/2 = "250.png"
/3 = "245.png"
/4 = "240.png"
/5 = "235.png"
/6 = "230.png"
/7="225.png"
/8="220.png"
/9="215.png"
/10="210.png"
/11="205.png"
/12="197.png"
</item>

<picture circle>
/ items = circle_w
/ select = picselect
/ position = (50%,50%)
/size=(30%, 30%)
</picture>

<counter picselect>
/items= (1,2,3,4,5,6,7,8,9,10,11,12)
/select =noreplace
/selectionrate = always
</counter>

<trial baseline_1>
/ ontrialbegin = [
values.spacebarpresscount = "";
values.timeofresponse = "";
values.trialtype = "ET";
values.trialcondition = "safe";
]
/stimulustimes=[
0=circle_195;

757= circle;
1694= circle;
2821= circle;
3943= circle;
5114= circle;
6204= circle;
7312= circle;
8380= circle;
9460= circle;
10615= circle;
11681= circle;
12805= circle;
13889= circle;
14986= circle;
16149= circle;
17259= circle;
18491= circle;
19631= circle;

802= circle_195;
1739= circle_195;
2866= circle_195;
3988= circle_195;
5159= circle_195;
6249= circle_195;
7357= circle_195;
8425= circle_195;
9505= circle_195;
10660= circle_195;
11726= circle_195;
12850= circle_195;
13934= circle_195;
15031= circle_195;
16194= circle_195;
17304= circle_195;
18536= circle_195;
19676= circle_195;
]
/ trialduration = 19676
/ inputdevice = keyboard
/ beginresponsetime = -1

/ responseinterrupt = trial
/ validresponse = (-57, 0)
/ correctresponse = (0)
/ showmousecursor = false
/ isvalidresponse = [if(trial.baseline_1.response==57){
values.spacebarpresscount += 1;
values.timeofresponse=concat(concat(values.timeofresponse, trial.baseline_1.latency),",");
false};]
/ branch = [
trial.warning_1;
]
</trial>


<trial warning_1>
/ ontrialbegin = [
values.spacebarpresscount = "";
values.timeofresponse = "";
values.trialtype = "ET";
values.trialcondition = "safe";
]
/stimulustimes=[
0=circle_195,flowers;
454= circle;
1568= circle;
2735= circle;
3919= circle;
5044= circle;
6303= circle;
7445= circle;
8664= circle;
9798= circle;
11005= circle;
12210= circle;
13275= circle;
14446= circle;
15630= circle;
16737= circle;
17852= circle;
19019= circle;
499= circle_195;
1613= circle_195;
2780= circle_195;
3964= circle_195;
5089= circle_195;
6348= circle_195;
7490= circle_195;
8709= circle_195;
9843= circle_195;
11050= circle_195;
12255= circle_195;
13320= circle_195;
14491= circle_195;
15675= circle_195;
16782= circle_195;
17897= circle_195;
19064= circle_195;
]
/ trialduration = 19064+1000
/ inputdevice = keyboard
/ beginresponsetime = -1
/ responseinterrupt = trial
/ validresponse = (-57, 0)
/ correctresponse = (0)
/ showmousecursor = false
/ isvalidresponse = [if(trial.warning_1.response==57){
values.spacebarpresscount += 1;
values.timeofresponse=concat(concat(values.timeofresponse, trial.warning_1.latency),",");
false};]
/ branch = [
trial.pausa;
]
</trial>
<trial pausa>
/ stimulusframes = [1=pausa]
/ timeout = 15000
/ branch = [
trial.space;]
</trial>

<text pausa>
/ fontstyle = ("Trebuchet MS", 3%, false, false, false, false, 5, 1)
/ items = ("Prenditi una pausa e riposati.
            Appena compare la schermata con scritto di premere la barra spaziatrice potrai continuare l esperimento")
/ size = (60%, 40%)
</text>

<text space>
/ txcolor = white
/ fontstyle = ("Arial", 20pt, true)
/ items = ("Press the spacebar to continue")
</text>


<trial space>
/ stimulusframes = [1=space]
/ inputdevice = keyboard
/ correctresponse =(57)
/ validresponse = (57)
/ posttrialpause = 500
</trial>

<block acc>
/ trials = [1=baseline_1; ]

If needed, I can provide the full script with the pictures too!
Thank you so much in advance!!

This has nothing to do with selectionrate, and everything to do with the fact that you cannot select a different item across multiple presentations of the same stimulus in a single <trial>. This is due to performance reasons.

Consider the examples below

<block example>
/ trials = [1=exampletrial]
</block>

<trial exampletrial>
/ stimulustimes = [0=word; 1000=word; 2000=word; 3000=word]
/ validresponse = (0)
/ trialduration = 4000
</trial>

<text word>
/ items = worditems
/ size = (50%, 10%)
/ select = list.sequence.nextvalue
</text>

<item worditems>
/ 1 = "This"
/ 2 = "is"
/ 3 = "a"
/ 4 = "test."
</item>

<list sequence>
/ items = (1,2,3,4)
/ selectionmode = sequence
/ selectionrate = always
</list>


vs. a proper implementation using different stimulus elements instead of the same one over and over:

<block example>
/ trials = [1=exampletrial]
</block>

<trial exampletrial>
/ stimulustimes = [0=word1; 1000=word2; 2000=word3; 3000=word4]
/ validresponse = (0)
/ trialduration = 4000
</trial>

<text word1>
/ items = worditems
/ size = (50%, 10%)
/ select = list.sequence.nextvalue
</text>

<text word2>
/ items = worditems
/ size = (50%, 10%)
/ select = list.sequence.nextvalue
</text>

<text word3>
/ items = worditems
/ size = (50%, 10%)
/ select = list.sequence.nextvalue
</text>

<text word4>
/ items = worditems
/ size = (50%, 10%)
/ select = list.sequence.nextvalue
</text>

<item worditems>
/ 1 = "This"
/ 2 = "is"
/ 3 = "a"
/ 4 = "test."
</item>

<list sequence>
/ items = (1,2,3,4)
/ selectionmode = sequence
/ selectionrate = always
</list>


I am not sure that I am understanding it.. So, it is not possible to randomize the presentation of the stimulus and newly select it within the same trial? the only way would be to define in principle different pictures to display everytime? 

Thanks!

Yes, as shown in the 2nd example I gave you.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search