2-back-task experiment


Author
Message
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
MashaRiriya - Monday, May 1, 2017
Hey there.
I am working for the first time with Inquisit and don't get how to encode in the right way... 

we would like to present a 2-back task, where the subject has to press a key instantly when a picture ist presented, that happened to be presented 2 pictures ago.
For example: the pictures are presented in a random way...
picture a, picture b, picture c, picture b (now you have to press the key!!)... (below is the code) 

we would like the pictures to be presented randomly without a solid order. Currently the experiment just presents a fixed order and you can't really call it an experiment... plus you can't react... 

so what do I need? 
The code for the button (space), that you press, when the picture appears again (picture a - picture b - picture c - picture b (now press button!!)).
Plus the code for a random order without an end of the experiment (or maybe an end after 5 minutes and not just a few stages... 

I hope someone understand what I mean and where I need help :) 

thx very much <3 
_______________________
the Code:

<picture grid1>
/ items = ("m.png")
/ position = (50,50)
</picture>

<picture grid2>
/ items = ("m.l..png")
/ position = (50,50)
</picture>

<picture grid3>
/ items = ("m.r..png")
/ position = (50,50)
</picture>

<picture grid4>
/ items = ("o.l..png")
/ position = (50,50)
</picture>

<picture grid5>
/ items = ("o.m..png")
/ position = (50,50)
</picture>

<picture grid6>
/ items = ("o.r..png")
/ position = (50,50)
</picture>

<picture grid7>
/ items = ("u.l..png")
/ position = (50,50)
</picture>

<picture grid8>
/ items = ("u.m..png")
/ position = (50,50)
</picture>

<picture grid9>
/ items = ("u.r..png")
/ position = (50,50)
</picture>

<trial 0_1>
/ stimulustimes = [1=grid1]
/ timeout = (1000)
</trial>

<trial 0_2>
/ stimulustimes = [1=grid2]
/ timeout = (1000)
</trial>

<trial 0_3>
/ stimulustimes = [1=grid3]
/ timeout = (1000)
</trial>

<trial 0_4>
/ stimulustimes = [1=grid4]
/ timeout = (1000)
</trial>

<trial 0_5>
/ stimulustimes = [1=grid5]
/ timeout = (1000)
</trial>

<trial 0_6>
/ stimulustimes = [1=grid6]
/ timeout = (1000)
</trial>

<trial 0_7>
/ stimulustimes = [1=grid7]
/ timeout = (1000)
</trial>

<trial 0_8>
/ stimulustimes = [1=grid8]
/ timeout = (1000)
</trial>

<trial 0_9>
/ stimulustimes = [1=grid9]
/ timeout = (1000) 
/validresponse = (" ")

<block nback>
/ trials = [1=0_1;2=0_2;3=0_3;4=0_4;5=0_5;6=0_6;7=0_7;8=0_8;9=0_9]
</block>

<expt >
/ preinstructions = (to do)
/ postinstructions = (thanks)
/ blocks = [1=replace(nback); 2=replace(nback); 3=replace(nback); 4=replace(nback)]
/ order = random
</expt>



Fully worked-out and configurable n-back scripts are available in the library, so I would recommend studying those and/or using them as a template to build your own instead of trying to do things from scratch:

https://www.millisecond.com/download/library/nback/

The single-task n-back (which uses image stimuli) would be the best starting point:
https://www.millisecond.com/download/library/v4/nback/singletask/singletasknback/singletasknback.iqzip

MashaRiriya
MashaRiriya
Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)Associate Member (184 reputation)
Group: Forum Members
Posts: 2, Visits: 3
Hey there.
I am working for the first time with Inquisit and don't get how to encode in the right way... 

we would like to present a 2-back task, where the subject has to press a key instantly when a picture ist presented, that happened to be presented 2 pictures ago.
For example: the pictures are presented in a random way...
picture a, picture b, picture c, picture b (now you have to press the key!!)... (below is the code) 

we would like the pictures to be presented randomly without a solid order. Currently the experiment just presents a fixed order and you can't really call it an experiment... plus you can't react... 

so what do I need? 
The code for the button (space), that you press, when the picture appears again (picture a - picture b - picture c - picture b (now press button!!)).
Plus the code for a random order without an end of the experiment (or maybe an end after 5 minutes and not just a few stages... 

I hope someone understand what I mean and where I need help :) 

thx very much <3 
_______________________
the Code:

<picture grid1>
/ items = ("m.png")
/ position = (50,50)
</picture>

<picture grid2>
/ items = ("m.l..png")
/ position = (50,50)
</picture>

<picture grid3>
/ items = ("m.r..png")
/ position = (50,50)
</picture>

<picture grid4>
/ items = ("o.l..png")
/ position = (50,50)
</picture>

<picture grid5>
/ items = ("o.m..png")
/ position = (50,50)
</picture>

<picture grid6>
/ items = ("o.r..png")
/ position = (50,50)
</picture>

<picture grid7>
/ items = ("u.l..png")
/ position = (50,50)
</picture>

<picture grid8>
/ items = ("u.m..png")
/ position = (50,50)
</picture>

<picture grid9>
/ items = ("u.r..png")
/ position = (50,50)
</picture>

<trial 0_1>
/ stimulustimes = [1=grid1]
/ timeout = (1000)
</trial>

<trial 0_2>
/ stimulustimes = [1=grid2]
/ timeout = (1000)
</trial>

<trial 0_3>
/ stimulustimes = [1=grid3]
/ timeout = (1000)
</trial>

<trial 0_4>
/ stimulustimes = [1=grid4]
/ timeout = (1000)
</trial>

<trial 0_5>
/ stimulustimes = [1=grid5]
/ timeout = (1000)
</trial>

<trial 0_6>
/ stimulustimes = [1=grid6]
/ timeout = (1000)
</trial>

<trial 0_7>
/ stimulustimes = [1=grid7]
/ timeout = (1000)
</trial>

<trial 0_8>
/ stimulustimes = [1=grid8]
/ timeout = (1000)
</trial>

<trial 0_9>
/ stimulustimes = [1=grid9]
/ timeout = (1000) 
/validresponse = (" ")

<block nback>
/ trials = [1=0_1;2=0_2;3=0_3;4=0_4;5=0_5;6=0_6;7=0_7;8=0_8;9=0_9]
</block>

<expt >
/ preinstructions = (to do)
/ postinstructions = (thanks)
/ blocks = [1=replace(nback); 2=replace(nback); 3=replace(nback); 4=replace(nback)]
/ order = random
</expt>



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search