Millisecond Forums

Dilemmas with Stimulustimes on Inquisit 3.0

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

By Yiyao - 3/29/2012

I am attempting to run a bilingual experiment measuring short-term memory reaction times of bilingual Chinese/English speakers. The format of my experiment is similar to that of the Sternberg task with the exception that alternating Chinese/English words will be utilized and Chinese-only and English-only words would be used as controls. Currently, I am trying to run one trial but I keep on receiving an error regarding stimulustimes "/stimulustimes: Could not locate element "书包" . At first I thought that the error was related to the Chinese word, but after I deleted all the Chinese words and just used the English words, the same error occurred. I will greatly appreciate it if anyone is able to provide a solution to this error. Thanks! Below is my current Inquisit Script.:



<item eight alternating words>


/ 0="书包"


/ 1="scissors"


/ 2="灯泡"


/ 3="laptop"


/ 4="海鸥"


/ 5="ostrich"


/ 6="手表"


/ 7="microwave"


/ 8="#"


/ 9="ruler"


</item>= (trial trialone)



<trial trialone>


/ stimulustimes = [0=书包; 1500=scissors; 3000=灯泡; 4500=laptop; 6000=海鸥; 7500=ostrich; 9000=手表; 10500=microwave; 12000=#; 15000=ruler]


/ responsetime = 15000


/ response = timeout (60000)


/ inputdevice = keyboard


/ validresponse = ("f", "j")


/ correctresponse = ("j")


</trial>


By Dave - 3/29/2012

An <item> element is not something that can be used in /stimulustimes. It just stores items. You need to set up several <text> elements that sample from said <item> element. You will find those basics covered in the tutorials included in the Inquisit documentation. Also see https://www.millisecond.com/forums/Topic1430.aspx.


Regards,


~Dave

By Yiyao - 3/31/2012

First of all, thank you very much for providing a solution for my dilemma. However, I still received the same error regarding stimulustimes after i created the text element. I followed the examples in the tutorial sections that dealt with writing a text stimulus. Could you possibly provide a more specific example on how to successfully create a running trial? Here is my edited script so far:




<text eight alternating words>


/ items = ("书包", "scissors", "灯泡", "laptop", "海鸥", "ostrich", "手表", "microwave", "#", "ruler")


/ select = sequence


/ fontstyle = ("Times New Roman", 4.69%, true, false, false, false, 5, 0)


/ fontstyle = ("@宋体", 4.69%, true, false, false, false, 5, 134)


/ txcolor = (0, 0, 255)


/ txbgcolor = (255, 255, 255)


</text>



<trial trialone>


/ stimulustimes = [0=书包; 1500=scissors; 3000=灯泡; 4500=laptop; 6000=海鸥; 7500=ostrich; 9000=手表; 10500=microwave; 


12000=#; 15000=ruler]


/ responsetime = 15000


/ response = timeout (60000)


/ inputdevice = keyboard


/ validresponse = ("f", "j")


/ correctresponse = ("j")


</trial>


By Dave - 3/31/2012

As indicated previously, you need to set up *several* <text> elements -- one for each word. Again, you will find such basics covered in the resources I referenced earlier.

By Yiyao - 4/3/2012

I have created several texts elements and have consulted the online inquisit tutorial as well as the link you gave me. However, I still receive the same error reqarding stimulustimes. Here is my script so far:



<item item_eight alternating words>


/ 1= "书包"


/ 2= "Scissors"


/ 3= "灯泡"


/ 4= "Laptop"


/ 5= "海鸥"


/ 6= "Ostrich"


/ 7= "手表"


/ 8= "Microwave"


/ 9= "#"


/ 10= "Ruler"


</item>



<text text_eight alternating words1>


/ items = ("书包")


/ select = sequence


/ fontstyle = ("@宋体", 4.69%, true, false, false, false, 5, 134)


/ txcolor = (0, 0, 255)


/ txbgcolor = (255, 255, 255)


</text>



<text text_eight alternating words2>


/ items =  ("Scissors")


/ select = sequence


/ fontstyle = ("Times New Roman", 4.69%, true, false, false, false, 5, 0)


/ txcolor = (0, 0, 255)


/ txbgcolor = (255, 255, 255)


</text>



<text text_eight alternating words3>


/ items =  ("灯泡")


/ select = sequence


/ fontstyle = ("@宋体", 4.69%, true, false, false, false, 5, 134)


/ txcolor = (0, 0, 255)


/ txbgcolor = (255, 255, 255)


</text>



<text text_eight alternating words4>


/ items =  ("Laptop")


/ select = sequence


/ fontstyle = ("Times New Roman", 4.69%, true, false, false, false, 5, 0)


/ txcolor = (0, 0, 255)


/ txbgcolor = (255, 255, 255)


</text>



<text text_eight alternating words5>


/ items =  ("海鸥")


/ select = sequence


/ fontstyle = ("@宋体", 4.69%, true, false, false, false, 5, 134)


/ txcolor = (0, 0, 255)


/ txbgcolor = (255, 255, 255)


</text>



<text text_eight alternating words6>


/ items =  ("Ostrich")


/ select = sequence


/ fontstyle = ("Times New Roman", 4.69%, true, false, false, false, 5, 0)


/ txcolor = (0, 0, 255)


/ txbgcolor = (255, 255, 255)


</text>



<text text_eight alternating words7>


/ items =  ("手表")


/ select = sequence


/ fontstyle = ("@宋体", 4.69%, true, false, false, false, 5, 134)


/ txcolor = (0, 0, 255)


/ txbgcolor = (255, 255, 255)


</text>



<text text_eight alternating words8>


/ items = ("Microwave")


/ select = sequence


/ fontstyle = ("Times New Roman", 4.69%, true, false, false, false, 5, 0)


/ txcolor = (0, 0, 255)


/ txbgcolor = (255, 255, 255)


</text>



<text text_eight alternating words9>


/ items = ("#")


/ select = sequence


/ fontstyle = ("Times New Roman", 4.69%, true, false, false, false, 5, 0)


/ txcolor = (0, 0, 255)


/ txbgcolor = (255, 255, 255)


</text>



<text text_eight alternating words10>


/ items = ("Ruler")


/ select = sequence


/ fontstyle = ("Times New Roman", 4.69%, true, false, false, false, 5, 0)


/ txcolor = (0, 0, 255)


/ txbgcolor = (255, 255, 255)


</text>



<trial trialone>


/ stimulustimes = [0=书包; 1000=Scissors; 2000=灯泡; 3000=Laptop; 4000=海鸥; 5000=Ostrich; 6000=手表; 7000=Microwave; 


8000=#; 11000=Ruler]


/ responsetime = 11000


/ response = timeout (10000)


/ inputdevice = keyboard


/ validresponse = ("f", "j")


/ correctresponse = ("j")



By Dave - 4/3/2012

You need to reference the <text> elements' names in /stimulustimes as covered in the Inquisit documentation / tutorials. The selection won't work either (revisit the forum thread I mentioned earlier).


Regards,


~Dave