+x+xHi there,
I am completely new to Inquisit and creating scripts. I am trying to set up set up different types of conditions for the Stroop with control keyboard.
First, I want to set up a condition where participants will complete 20 trials of a mix of incongruent and congruent stimuli. The second condition will be 300 trials of all congruent stimuli. The third will be 200 mixed stimuli. The fourth will be 300 mixed stimuli.
I know I have to make edits to the script in order to get these changes, but it's unclear to me what areas of the script to change. Should I change the "trials" section? Or do I change the "blocks" section? I've tried to dig through the forums to figure out what I need to do, but I am totally lost.
Any help would be much appreciated.
Thanks! -Katie
Blocks are the elements that actually "run trials" -- they determine how many trials there will be in a given block of trials, how many of which type etc. So the existing blocks are what you'd look at to make your modifications and/or you'd add further blocks as needed. You'll end up with one <block> for your 20 congruent / incongruent trials, one <block> with 300 congruent trials, and another one with 200 congruent & incongruent (mixed) trials, and so forth.
In order to understand how scripts are structured generally and get to know the most important syntax elements, the tutorials are a good start:
https://www.millisecond.com/support/docs/v5/html/tutorials/tutorials.htmWorking through those first will make it easier to read and modify existing scripts according to your needs.
Hi there,
In going through the tutorials, I definitely think I have a better understanding of how I can edit the blocks and trials. So I will actually make edits to the "block" section of the stroopwithcontrolkeyboard. So would my blocks look like this?
<block stroop20>
/preinstructions = (stroop)
/ onblockbegin = [
list.latencies.reset();
list.latencies_congruent.reset();
list.latencies_control.reset();
list.latencies_incongruent.reset();
list.responses.reset();
list.responses_congruent.reset();
list.responses_control.reset();
list.responses_incongruent.reset();
]
/ trials = [1=getReady; 2-20 =noreplace(redcongruent, redincongruent, redcontrol, greencongruent, greenincongruent, greencontrol, bluecongruent, blueincongruent, bluecontrol, blackcongruent, blackincongruent, blackcontrol)]
</block>
<block Instructions>
/ trials = [1 = touchscreenInstruct]
</block>
---------------------------
<block stroop300C>
/preinstructions = (stroop)
/ onblockbegin = [
list.latencies.reset();
list.latencies_congruent.reset();
list.latencies_control.reset();
list.latencies_incongruent.reset();
list.responses.reset();
list.responses_congruent.reset();
list.responses_control.reset();
list.responses_incongruent.reset();
]
/ trials = [1=getReady; 2-300 =noreplace(redcongruent, greencongruent, bluecongruent, blackcongruent)]
</block>
<block Instructions>
/ trials = [1 = touchscreenInstruct]
</block>
-----------------------
<block stroop200>
/preinstructions = (stroop)
/ onblockbegin = [
list.latencies.reset();
list.latencies_congruent.reset();
list.latencies_control.reset();
list.latencies_incongruent.reset();
list.responses.reset();
list.responses_congruent.reset();
list.responses_control.reset();
list.responses_incongruent.reset();
]
/ trials = [1=getReady; 2-200 =noreplace(redcongruent, redincongruent, redcontrol, greencongruent, greenincongruent, greencontrol, bluecongruent, blueincongruent, bluecontrol, blackcongruent, blackincongruent, blackcontrol)]
</block>
<block Instructions>
/ trials = [1 = touchscreenInstruct]
</block>
---------------------
<block stroop300>
/preinstructions = (stroop)
/ onblockbegin = [
list.latencies.reset();
list.latencies_congruent.reset();
list.latencies_control.reset();
list.latencies_incongruent.reset();
list.responses.reset();
list.responses_congruent.reset();
list.responses_control.reset();
list.responses_incongruent.reset();
]
/ trials = [1=getReady; 2-300 =noreplace(redcongruent, redincongruent, redcontrol, greencongruent, greenincongruent, greencontrol, bluecongruent, blueincongruent, bluecontrol, blackcongruent, blackincongruent, blackcontrol)]
</block>
<block Instructions>
/ trials = [1 = touchscreenInstruct]
</block>