Millisecond Forums

item number 0 message, practice / test stimuli

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

By Jihyangk - 11/29/2012

Hi. I have some questions running SRC task.


1) Why does this error message appear?


"Unable to initialize <picture smoking> item number 0. Verify the item exists and is correctly defined. "


"Unable to initialize <picture control> item number 0. Verify the item exists and is correctly defined. "


The following is the part of picture smoking/control.


<item smokingpics>
/ 1 = "T_1A.jpg"
/ 2 = "T_2A.jpg"
/ 3 = "T_3A.jpg"
/ 4 = "T_4A.jpg"
/ 5 = "T_5A.jpg"
/ 6 = "T_6A.jpg"
/ 7 = "T_7A.jpg"
/ 8 = "T_8A.jpg"
/ 9 = "T_9A.jpg"
/ 10 = "T_10A.jpg"
/ 11 = "P_1A.jpg"
/ 12 = "P_2A.jpg"
/ 13 = "P_3A.jpg"
/ 14 = "P_4A.jpg"
/ 15 = "P_5A.jpg"
/ 16 = "P_6A.jpg"
/ 17 = "P_7A.jpg"
/ 18 = "P_8A.jpg"
</item>


<picture smoking>
/ items = smokingpics
/ position = (50%,50%)
/ erase = false
/select = values.selectsmo
/ size = (30%, 30%)
</picture>


<item controlpics>
/ 1 = "T_1B.jpg"
/ 2 = "T_2B.jpg"
/ 3 = "T_3B.jpg"
/ 4 = "T_4B.jpg"
/ 5 = "T_5B.jpg"
/ 6 = "T_6B.jpg"
/ 7 = "T_7B.jpg"
/ 8 = "T_8B.jpg"
/ 9 = "T_9B.jpg"
/ 10 = "T_10B.jpg"
/ 11 = "P_1B.jpg"
/ 12 = "P_2B.jpg"
/ 13 = "P_3B.jpg"
/ 14 = "P_4B.jpg"
/ 15 = "P_5B.jpg"
/ 16 = "P_6B.jpg"
/ 17 = "P_7B.jpg"
/ 18 = "P_8B.jpg"
</item>


<picture control>
/ items = controlpics
/ position = (50%,50%)
/ erase = false
/select = values.selectctrl
/ size = (30%, 30%)
</picture>



 2) I want to use pictures of item 1~10 in test trials and 11~18 in practice trials, but I don't know how to do.


 Thanks.


By Dave - 11/29/2012


1) Why does this error message appear?


"Unable to initialize <picture smoking> item number 0. Verify the item exists and is correctly defined. "


"Unable to initialize <picture control> item number 0. Verify the item exists and is correctly defined. "



Presumably because of the values references in your /select attributes. The respective <values> are apparently =0. There is no / can be no 'zero-th' item. Set the respective <values> entries to 1.


 2) I want to use pictures of item 1~10 in test trials and 11~18 in practice trials, but I don't know how to do.


Define two <counter> or <list> elements, one with 1-10, the other one with 11-18. Sample from the correct counter or list in practive vs. test trials.


Before you move on, I recommend you (a) complete the various tutorials included in the Inquisit documentation and (b) work through the script you are planning to adapt until you fully understand how it works prior to making any modifications.


Regards,


~Dave


By Jihyangk - 11/29/2012

Thanks for the quick reply. But I don't understand yet :(

This is original,


<values>
/expcondition = 0
/smo_A1 = 0
/smo_A2 = 0
/smo_A3 = 0
/smo_A4 = 0
/smo_A5 = 0
/smo_A6 = 0
/smo_A7 = 0
/smo_A8 = 0
/smo_A9 = 0
/smo_A10 = 0
/smo_A11 = 0
/smo_A12 = 0
/smo_A13 = 0
/smo_A14 = 0
/smo_A15 = 0
/smo_A16 = 0
/smo_A17 = 0
/smo_A18 = 0
/smo_A19 = 0
/smo_B1 = 0
/smo_B2 = 0
/smo_B3 = 0
/smo_B4 = 0
/smo_B5 = 0
/smo_B6 = 0
/smo_B7 = 0
/smo_B8 = 0
/smo_B9 = 0
/smo_B10 = 0
/smo_B11 = 0
/smo_B12 = 0
/smo_B13 = 0
/smo_B14 = 0
/smo_B15 = 0
/smo_B16 = 0
/smo_B17 = 0
/smo_B18 = 0
/smo_B19 = 0
/CTRL_A1 = 0
/CTRL_A2 = 0
/CTRL_A3 = 0
/CTRL_A4 = 0
/CTRL_A5 = 0
/CTRL_A6 = 0
/CTRL_A7 = 0
/CTRL_A8 = 0
/CTRL_A9 = 0
/CTRL_A10 = 0
/CTRL_A11 = 0
/CTRL_A12 = 0
/CTRL_A13 = 0
/CTRL_A14 = 0
/CTRL_A15 = 0
/CTRL_A16 = 0
/CTRL_A17 = 0
/CTRL_A18 = 0
/CTRL_A19 = 0
/CTRL_B1 = 0
/CTRL_B2 = 0
/CTRL_B3 = 0
/CTRL_B4 = 0
/CTRL_B5 = 0
/CTRL_B6 = 0
/CTRL_B7 = 0
/CTRL_B8 = 0
/CTRL_B9 = 0
/CTRL_B10 = 0
/CTRL_B11 = 0
/CTRL_B12 = 0
/CTRL_B13 = 0
/CTRL_B14 = 0
/CTRL_B15 = 0
/CTRL_B16 = 0
/CTRL_B17 = 0
/CTRL_B18 = 0
/CTRL_B19 = 0
/temp1 = 0
/temp2 = 0
/temp3 = 0
/temp4 = 0
/temp5 = 0
/temp6 = 0
/temp7 = 0
/temp8 = 0
/temp9 = 0
/temp10 = 0
/nextpicture = 0
/selectsmo = 0
/selectctrl = 0
/stimulus = ""
</values>


Is it right to change all the <value> entries to 1? like,


/smo_A1 = 1
/smo_A2 = 1
/smo_A3 = 1
...


I tried, but then only the first picture appears although I set the order randomly..


Thanks,

By Dave - 11/29/2012

<picture smoking>
/ items = smokingpics
/ position = (50%,50%)
/ erase = false
/select = values.selectsmo
/ size = (30%, 30%)
</picture>


<picture control>
/ items = controlpics
/ position = (50%,50%)
/ erase = false
/select = values.selectctrl
/ size = (30%, 30%)
</picture>


Those are the two <values> entries you'll probably want to initialize as 1.

By Jihyangk - 11/29/2012

Sorry, I don't follow :(  What does it mean to initialize <values> entries as 1?



By Dave - 11/29/2012

<values>
[...]
/selectsmo = 1
/selectctrl = 1
[...]
</values>