Alternating between different stimuli


Author
Message
yaz
yaz
Partner Member (705 reputation)Partner Member (705 reputation)Partner Member (705 reputation)Partner Member (705 reputation)Partner Member (705 reputation)Partner Member (705 reputation)Partner Member (705 reputation)Partner Member (705 reputation)Partner Member (705 reputation)
Group: Forum Members
Posts: 6, Visits: 40
I have a blue frame and a yellow frame around two stimuli. Is there a way in which the frames could alternate in order, once blue and once yellow. 
For example, (memorystick-ring) in a blue frame and (charger-camera) in a yellow frame. 
Thanks in advance for any help you are able to provide.

Here is the code:
<picture neutral>
/ numitems = 10
/ items = ("memorystick.jpg", "charger.jpg", "brush.jpg",
"lamp.jpg", "ipod.jpg", "necklace.jpg","mouse.jpg", "pencil.jpg", "shoes.jpg" , "carpet.jpg")
/ position = (80,50)
/ select = noreplacenorepeat
</picture>
<picture neutral1>
/ numitems = 10
/ items = ("ring.jpg", "camera.jpg", "blanket.jpg", 
"desk.jpg", "table.jpg", "earrings.jpg","clock.jpg", "notebook.jpg","speaker.jpg" , "couch.jpg") 
/ position = (20,50)
/ select = current(neutral)
</picture>
<trial test1>
/ pretrialpause =1000
/ validresponse = ("l","a")
/ errormessage = true(text.ok,800)
/ correctresponse = ("l" , list.colorframe)
/ response = timeout(5500)
/ stimulustimes = [0 = frame, frame1 , neutral , neutral1]
/ ontrialbegin = [
  shape.frame.color = list.colorfram.nextvalue;]
/ posttrialpause = 1000
</trial>
<trial test2>
/ pretrialpause =1000
/ response = timeout(5500)
/ errormessage = true(text.ok,800)
/ validresponse = ("a","l")
/ correctresponse = ("a" , list.colorframe1)
/ stimulustimes = [0 = 1frame, 2frame, neutral , neutral1]
/ ontrialbegin = [
  shape.1frame.color = list.colorfram1.nextvalue;
]
/ posttrialpause = 1000
</trial>
<list colorfram>
/ items = (blue)
/ poolsize = 10
</list>
<list colorfram1>
/ items = (yellow)
/ poolsize = 10
</list>
<shape 1frame>
/ shape = rectangle
/ color = white
/ size = (91.5%, 45%)
</shape>
<shape 2frame>
/ shape = rectangle
/ color = black
/ size = (89%, 42%)
</shape>
**
<block practice1>
/ preinstructions = (inst)
/ bgstim = (right,left)
/ screencolor = (17,17, 17)
/ trials = 
[1 - 10 = random off
(test1,test2,test1,test2,test1,test2,test1,test2,test1,test2,)]
/ postinstructions = (insttest)

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Reading This Topic

Explore
Messages
Mentions
Search