Group: Forum Members
Posts: 11,
Visits: 66
|
Thanks again Dave, that was very helpful.
One last q if I may: I've created a very simple script which displays a word from a list, sends an EEG signal, then awaits an input from the user before going to the next word display.
I need it to do this instead: 1. Select the word from the list. and display it, and send EEG signal 2. Keep displaying it for say 10000 ms 2. Show another prompt saying "Press a key when ready" 3. Accept input from user 4. Go to next word display and repeat until done.
the amended script is below:
<item insects> / 1 = " ANT " / 2 = " LOCUST " / 3 = " BEE " </item>
<text pleasant> / items = insects / position = (50, 50) / txcolor = (0, 0, 255) / fontstyle = ("Courier New", 44pt) </text>
<trial fungoolo> / pretrialpause = 10 / stimulusframes = [1=pleasant, EEGsignal] / validresponse = ("a", "5") / posttrialpause = 1000 </trial>
<block up_practice> / trials = [1 -3 = noreplace(fungoolo)] / preinstructions = (intro) </block>
<expt> / preinstructions = (intro) / postinstructions = (end) / blocks = [1=up_practice] </expt>
<instruct> / nextkey = ("5") / prevkey = ("a") </instruct>
<defaults> / screencolor = (175, 175, 255) / fontstyle = ("Courier New", 14pt) </defaults>
<page intro> ^^Implicit Association Test ^^This tutorial builds a simplified Implicit Attitude Task (IAT). A number of standard IAT procedures have been been omitted for the sake of illustrating basic Inquisit programming concepts. The script produced by this tutorial is provided for instructional purposes only and should not be used for research. To learn how to create a standard IAT, please see the Standard IAT Tutorial. </page>
<port EEGsignal> / port = lpt1 / subport = data / items = ("10101010") </port>
<page end> ^^Implicit Association Test ^^This tutorial builds a simplified Implicit Attitude Task (IAT). A number of standard IAT procedures have been been omitted for the sake of illustrating basic Inquisit programming concepts. The script produced by this tutorial is provided for instructional purposes only and should not be used for research. To learn how to create a standard IAT, please see the Standard IAT Tutorial. </page>
|