Millisecond Forums

How to reload identical stimuli with noresponse?

https://forums.millisecond.com/Topic28072.aspx

By Amarins - 12/10/2019

Hi all,

I want to use the noresponse option to let participants re-perform a trial with identical stimuli (pictures) to which they did not respond. However, when I use the response option, a trial is reloaded but the stimuli are randomly selected. So I wonder how I can assure that identical stimuli (product_susleft+ product_unsright or product_susright + product_unsleft) are reloaded for noreponse. Can anyone help me?

Thanks a lot!

 

Below you can find my code:

<trialsus_left_ct>

/ stimulustimes = [1 =product_susleft, product_unsright, earth_static]

/ correctresponse =("a")

/ validresponse =("a", "l")

/ pretrialpause = 500

/ timeout = 20000

/ responsetrial =(noresponse, sus_left_ct)

</trial>

 

<trialsus_right_ct>

/ stimulustimes = [1 =product_susright, product_unsleft, earth_static]

/ correctresponse =("l")

/ validresponse = ("a","l")

/ pretrialpause = 500

/ timeout = 20000

/ responsetrial =(noresponse, sus_right_ct)

</trial>

 

<pictureproduct_susleft>

/ items = sustainable

/ size = (54%, 54%)

/ position = (25,40)

/ select =list.allitems1.nextindex

</picture>

 

<pictureproduct_unsright>

/ items =unsustainable

/ select =list.allitems2.nextindex

/ select =current(product_susleft)

/ size = (54%, 54%)

/ position = (75,40)

</picture>

 

<pictureproduct_susright>

/ items = sustainable

/ size = (54%, 54%)

/ position = (75, 40)

/ select =list.allitems1.nextindex

</picture>

 

<pictureproduct_unsleft>

/ items =unsustainable

/ select =list.allitems2.nextindex

/ select =current(product_susright)

/ size = (54%, 54%)

/ position = (25, 40)

</picture>

 

<list allitems1>

/ poolsize = 50

/ resetinterval = 0

</list>

 

<list allitems2>

/ poolsize = 50

/ resetinterval = 0

</list>

 

<itemsustainable>

/1 ="1s.jpg"

/2 ="2s.jpg"

/3 ="3s.jpg"

/4 ="4s.jpg"

/5 ="5s.jpg"

/6 ="6s.jpg"

/7 ="7s.jpg"

/8 ="8s.jpg"

/9 ="9s.jpg"

/10 ="10s.jpg"

/11 ="11s.jpg"

/12 ="12s.jpg"

/13 ="13s.jpg"

/14 ="14s.jpg"

/15 ="15s.jpg"

/16 ="16s.jpg"

/17 ="17s.jpg"

/18 ="18s.jpg"

/19 ="19s.jpg"

/20 ="20s.jpg"

/21 ="21s.jpg"

/22 ="22s.jpg"

/23 ="23s.jpg"

/24 ="24s.jpg"

/25 ="25s.jpg"

/26 ="26s.jpg"

/27 ="27s.jpg"

/28 ="28s.jpg"

/29 ="29s.jpg"

/30 ="30s.jpg"

/31 ="31s.jpg"

/32 ="32s.jpg"

/33 ="33s.jpg"

/34 ="34s.jpg"

/35 ="35s.jpg"

/36 ="36s.jpg"

/37 ="37s.jpg"

/38 ="38s.jpg"

/39 ="39s.jpg"

/40 ="40s.jpg"

/41 ="41s.jpg"

/42 ="42s.jpg"

/43 ="43s.jpg"

/44 ="44s.jpg"

/45 ="45s.jpg"

/46 ="46s.jpg"

/47 ="47s.jpg"

/48 ="48s.jpg"

/49 ="49s.jpg"

/50 ="50s.jpg"

</item>

 

<itemunsustainable>

/1 ="1u.jpg"

/2 ="2u.jpg"

/3 ="3u.jpg"

/4 ="4u.jpg"

/5 ="5u.jpg"

/6 ="6u.jpg"

/7 ="7u.jpg"

/8 ="8u.jpg"

/9 ="9u.jpg"

/10 ="10u.jpg"

/11 ="11u.jpg"

/12 ="12u.jpg"

/13 ="13u.jpg"

/14 ="14u.jpg"

/15 ="15u.jpg"

/16 = "16u.jpg"

/17 ="17u.jpg"

/18 ="18u.jpg"

/19 ="19u.jpg"

/20 ="20u.jpg"

/21 ="21u.jpg"

/22 ="22u.jpg"

/23 ="23u.jpg"

/24 ="24u.jpg"

/25 ="25u.jpg"

/26 ="26u.jpg"

/27 ="27u.jpg"

/28 ="28u.jpg"

/29 ="29u.jpg"

/30 ="30u.jpg"

/31 ="31u.jpg"

/32 ="32u.jpg"

/33 ="33u.jpg"

/34 ="34u.jpg"

/35 ="35u.jpg"

/36 ="36u.jpg"

/37 ="37u.jpg"

/38 ="38u.jpg"

/39 ="39u.jpg"

/40 ="40u.jpg"

/41 ="41u.jpg"

/42 ="42u.jpg"

/43 ="43u.jpg"

/44 ="44u.jpg"

/45 ="45u.jpg"

/46 ="46u.jpg"

/47 ="47u.jpg"

/48 ="48u.jpg"

/49 ="49u.jpg"

/50 ="50u.jpg"

</item>

By Dave - 12/10/2019

<block example>
/ trials = [1-50 = noreplace(sus_left_ct, sus_right_ct)]
</block>

<values>
/ itemnumber = 1
</values>

<trial sus_left_ct>
/ ontrialbegin = [
if (trial.sus_left_ct.response != 0) {
values.itemnumber = list.allitems1.nextindex;
};
]
/ stimulustimes = [1 =product_susleft, product_unsright, earth_static]
/ correctresponse =("a")
/ validresponse =("a", "l")
/ pretrialpause = 500
/ timeout = 20000
/ responsetrial =(noresponse, sus_left_ct)
</trial>

<trial sus_right_ct>
/ ontrialbegin = [
if (trial.sus_right_ct.response != 0) {
values.itemnumber = list.allitems1.nextindex;
};
]
/ stimulustimes = [1 =product_susright, product_unsleft, earth_static]
/ correctresponse =("l")
/ validresponse = ("a","l")
/ pretrialpause = 500
/ timeout = 20000
/ responsetrial =(noresponse, sus_right_ct)
</trial>

<picture product_susleft>
/ items = sustainable
/ size = (54%, 54%)
/ position = (25,40)
/ select = values.itemnumber
</picture>

<picture product_unsright>
/ items =unsustainable
/ select = values.itemnumber
/ size = (54%, 54%)
/ position = (75,40)
</picture>

<picture product_susright>
/ items = sustainable
/ size = (54%, 54%)
/ position = (75, 40)
/ select = values.itemnumber
</picture>

<picture product_unsleft>
/ items =unsustainable
/ select = values.itemnumber
/ size = (54%, 54%)
/ position = (25, 40)
</picture>

<list allitems1>
/ poolsize = 50
/ resetinterval = 0
</list>

<item sustainable>
/1 ="1s.jpg"
/2 ="2s.jpg"
/3 ="3s.jpg"
/4 ="4s.jpg"
/5 ="5s.jpg"
/6 ="6s.jpg"
/7 ="7s.jpg"
/8 ="8s.jpg"
/9 ="9s.jpg"
/10 ="10s.jpg"
/11 ="11s.jpg"
/12 ="12s.jpg"
/13 ="13s.jpg"
/14 ="14s.jpg"
/15 ="15s.jpg"
/16 ="16s.jpg"
/17 ="17s.jpg"
/18 ="18s.jpg"
/19 ="19s.jpg"
/20 ="20s.jpg"
/21 ="21s.jpg"
/22 ="22s.jpg"
/23 ="23s.jpg"
/24 ="24s.jpg"
/25 ="25s.jpg"
/26 ="26s.jpg"
/27 ="27s.jpg"
/28 ="28s.jpg"
/29 ="29s.jpg"
/30 ="30s.jpg"
/31 ="31s.jpg"
/32 ="32s.jpg"
/33 ="33s.jpg"
/34 ="34s.jpg"
/35 ="35s.jpg"
/36 ="36s.jpg"
/37 ="37s.jpg"
/38 ="38s.jpg"
/39 ="39s.jpg"
/40 ="40s.jpg"
/41 ="41s.jpg"
/42 ="42s.jpg"
/43 ="43s.jpg"
/44 ="44s.jpg"
/45 ="45s.jpg"
/46 ="46s.jpg"
/47 ="47s.jpg"
/48 ="48s.jpg"
/49 ="49s.jpg"
/50 ="50s.jpg"
</item>

<item unsustainable>
/1 ="1u.jpg"
/2 ="2u.jpg"
/3 ="3u.jpg"
/4 ="4u.jpg"
/5 ="5u.jpg"
/6 ="6u.jpg"
/7 ="7u.jpg"
/8 ="8u.jpg"
/9 ="9u.jpg"
/10 ="10u.jpg"
/11 ="11u.jpg"
/12 ="12u.jpg"
/13 ="13u.jpg"
/14 ="14u.jpg"
/15 ="15u.jpg"
/16 = "16u.jpg"
/17 ="17u.jpg"
/18 ="18u.jpg"
/19 ="19u.jpg"
/20 ="20u.jpg"
/21 ="21u.jpg"
/22 ="22u.jpg"
/23 ="23u.jpg"
/24 ="24u.jpg"
/25 ="25u.jpg"
/26 ="26u.jpg"
/27 ="27u.jpg"
/28 ="28u.jpg"
/29 ="29u.jpg"
/30 ="30u.jpg"
/31 ="31u.jpg"
/32 ="32u.jpg"
/33 ="33u.jpg"
/34 ="34u.jpg"
/35 ="35u.jpg"
/36 ="36u.jpg"
/37 ="37u.jpg"
/38 ="38u.jpg"
/39 ="39u.jpg"
/40 ="40u.jpg"
/41 ="41u.jpg"
/42 ="42u.jpg"
/43 ="43u.jpg"
/44 ="44u.jpg"
/45 ="45u.jpg"
/46 ="46u.jpg"
/47 ="47u.jpg"
/48 ="48u.jpg"
/49 ="49u.jpg"
/50 ="50u.jpg"
</item>
By Amarins - 12/10/2019

Dave - 12/10/2019
<block example>
/ trials = [1-50 = noreplace(sus_left_ct, sus_right_ct)]
</block>

<values>
/ itemnumber = 1
</values>

<trial sus_left_ct>
/ ontrialbegin = [
if (trial.sus_left_ct.response != 0) {
values.itemnumber = list.allitems1.nextindex;
};
]
/ stimulustimes = [1 =product_susleft, product_unsright, earth_static]
/ correctresponse =("a")
/ validresponse =("a", "l")
/ pretrialpause = 500
/ timeout = 20000
/ responsetrial =(noresponse, sus_left_ct)
</trial>

<trial sus_right_ct>
/ ontrialbegin = [
if (trial.sus_right_ct.response != 0) {
values.itemnumber = list.allitems1.nextindex;
};
]
/ stimulustimes = [1 =product_susright, product_unsleft, earth_static]
/ correctresponse =("l")
/ validresponse = ("a","l")
/ pretrialpause = 500
/ timeout = 20000
/ responsetrial =(noresponse, sus_right_ct)
</trial>

<picture product_susleft>
/ items = sustainable
/ size = (54%, 54%)
/ position = (25,40)
/ select = values.itemnumber
</picture>

<picture product_unsright>
/ items =unsustainable
/ select = values.itemnumber
/ size = (54%, 54%)
/ position = (75,40)
</picture>

<picture product_susright>
/ items = sustainable
/ size = (54%, 54%)
/ position = (75, 40)
/ select = values.itemnumber
</picture>

<picture product_unsleft>
/ items =unsustainable
/ select = values.itemnumber
/ size = (54%, 54%)
/ position = (25, 40)
</picture>

<list allitems1>
/ poolsize = 50
/ resetinterval = 0
</list>

<item sustainable>
/1 ="1s.jpg"
/2 ="2s.jpg"
/3 ="3s.jpg"
/4 ="4s.jpg"
/5 ="5s.jpg"
/6 ="6s.jpg"
/7 ="7s.jpg"
/8 ="8s.jpg"
/9 ="9s.jpg"
/10 ="10s.jpg"
/11 ="11s.jpg"
/12 ="12s.jpg"
/13 ="13s.jpg"
/14 ="14s.jpg"
/15 ="15s.jpg"
/16 ="16s.jpg"
/17 ="17s.jpg"
/18 ="18s.jpg"
/19 ="19s.jpg"
/20 ="20s.jpg"
/21 ="21s.jpg"
/22 ="22s.jpg"
/23 ="23s.jpg"
/24 ="24s.jpg"
/25 ="25s.jpg"
/26 ="26s.jpg"
/27 ="27s.jpg"
/28 ="28s.jpg"
/29 ="29s.jpg"
/30 ="30s.jpg"
/31 ="31s.jpg"
/32 ="32s.jpg"
/33 ="33s.jpg"
/34 ="34s.jpg"
/35 ="35s.jpg"
/36 ="36s.jpg"
/37 ="37s.jpg"
/38 ="38s.jpg"
/39 ="39s.jpg"
/40 ="40s.jpg"
/41 ="41s.jpg"
/42 ="42s.jpg"
/43 ="43s.jpg"
/44 ="44s.jpg"
/45 ="45s.jpg"
/46 ="46s.jpg"
/47 ="47s.jpg"
/48 ="48s.jpg"
/49 ="49s.jpg"
/50 ="50s.jpg"
</item>

<item unsustainable>
/1 ="1u.jpg"
/2 ="2u.jpg"
/3 ="3u.jpg"
/4 ="4u.jpg"
/5 ="5u.jpg"
/6 ="6u.jpg"
/7 ="7u.jpg"
/8 ="8u.jpg"
/9 ="9u.jpg"
/10 ="10u.jpg"
/11 ="11u.jpg"
/12 ="12u.jpg"
/13 ="13u.jpg"
/14 ="14u.jpg"
/15 ="15u.jpg"
/16 = "16u.jpg"
/17 ="17u.jpg"
/18 ="18u.jpg"
/19 ="19u.jpg"
/20 ="20u.jpg"
/21 ="21u.jpg"
/22 ="22u.jpg"
/23 ="23u.jpg"
/24 ="24u.jpg"
/25 ="25u.jpg"
/26 ="26u.jpg"
/27 ="27u.jpg"
/28 ="28u.jpg"
/29 ="29u.jpg"
/30 ="30u.jpg"
/31 ="31u.jpg"
/32 ="32u.jpg"
/33 ="33u.jpg"
/34 ="34u.jpg"
/35 ="35u.jpg"
/36 ="36u.jpg"
/37 ="37u.jpg"
/38 ="38u.jpg"
/39 ="39u.jpg"
/40 ="40u.jpg"
/41 ="41u.jpg"
/42 ="42u.jpg"
/43 ="43u.jpg"
/44 ="44u.jpg"
/45 ="45u.jpg"
/46 ="46u.jpg"
/47 ="47u.jpg"
/48 ="48u.jpg"
/49 ="49u.jpg"
/50 ="50u.jpg"
</item>

Thank you Dave!!