Inquisit Problem


Author
Message
Mwood
Mwood
Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)
Group: Forum Members
Posts: 5, Visits: 22
I'm trying to teach older adults how to use a mouse by clicking on pictures and once they click on that image (the image only) to move on to the next block/image.  However, I've been having issues where for example the second image just flashes and then disappears.  I'm not sure why.  Also, sometimes it doesn't show up when I enter different positions sometimes. 

<defaults>
/ screencolor = (255,255,255)
/ fontstyle = ("Arial", 20pt)
/inputdevice = mousekey
</defaults>

<text instructions>

/ items = instructions

/ hjustify = center

/ size = (90%, 60%)

/ position = (50%, 90%)

/ valign = bottom

/ select = sequence

</text>

<trial instructions>

/ stimulustimes = [1=instructions]

/ validresponse = (elephant)

/responseinterrupt = trial

/ errormessage = false

/ recorddata = false

</trial>

<trial instructions2>

/ stimulustimes = [1=instructions]

/ validresponse = (elephant2)

/responseinterrupt = trial

/ errormessage = false

/ recorddata = false

</trial>

<trial instructions3>

/ stimulustimes = [1=instructions]

/ validresponse = (elephant3)

/responseinterrupt = trial

/ errormessage = false

/ recorddata = false

</trial>

<picture elephant>
/ items = ("elephant.png")
/ position = (0, 0)
/ valign = top
/ halign = left
/ size = (20%, 20%)
</picture>

<picture elephant2>
/ items = ("elephant.png")
/valign = bottom
/halight = left
/size = (20%, 20%)
</picture>

<block elephant>

/ bgstim = (elephant)

/ trials = [1 =instructions]

/ recorddata = false

</block>

<block elephant2>
/bgstim = (elephant2)
/trials = [1=instructions2]
/recorddata = false
</block>

<item instructions>

/1 = "Click on the image that you see on the screen."

</item>

<expt>
/ blocks = [1=elephant; 2=elephant2]
/ showmousecursor = true
</expt>

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
<picture elephant>
/ items = ("elephant.png")
/ position = (0, 0)
/ valign = top
/ halign = left
/ size = (20%, 20%)
</picture>

<picture elephant2>
/ items = ("elephant.png")
/valign = bottom
/halight = left
/size = (20%, 20%)
</picture>

note the typo ("haligth"). Also, the image is aligned to the bottom. No /position is specified, i.e. the image gets drawn to the center of the screen and then then immediately overwritten by the instructions in the <trial>.

Display the <picture>s by your <trial> elements instead of /bgstim and you can easily see this for yourself.

<trial instructions2>
/ stimulustimes = [1=instructions, elephant2]
/ validresponse = (elephant2)
/responseinterrupt = trial
/ errormessage = false
/ recorddata = false
</trial>

vs

<trial instructions2>
/ stimulustimes = [1=elephant2, instructions]
/ validresponse = (elephant2)
/responseinterrupt = trial
/ errormessage = false
/ recorddata = false
</trial>

Mwood
Mwood
Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)
Group: Forum Members
Posts: 5, Visits: 22
That fixed the flashing problem, but the picture is still on top of the instructions.  Is there an easier way to get it to move the position.   Is there a better position command? 

<defaucolor = (255,255,255)
/ fontstyle = ("Arial", 20pt)
/inputdevice = mousekey
</defaults>
lts>
/ screen
<text instructions>

/ items = instructions

/ hjustify = center

/ size = (90%, 60%)

/ position = (50%, 90%)

/ valign = bottom

/ select = sequence

</text>

<trial instructions>

/ stimulustimes = [1=instructions; 2= elephant]

/ validresponse = (elephant)

/responseinterrupt = trial

/ errormessage = false

/ recorddata = false

</trial>

<trial instructions2>
/ stimulustimes = [1=instructions; 2=elephant2]
/ validresponse = (elephant2)
/responseinterrupt = trial
/ errormessage = false
/ recorddata = false
</trial> -

<picture elephant>
/ items = ("elephant.png")
/ position = (0, 0)
/ valign = top
/ halign = left
/ size = (20%, 20%)
</picture>

<picture elephant2>
/ items = ("elephant.png")
/valign = bottom
/halign = left
/size = (20%, 20%)
</picture>

<block elephant>

/ trials = [1 =instructions]

/ recorddata = false

</block>

<block elephant2>
/bgstim = (elephant2)
/trials = [1=instructions2]
/recorddata = false
</block>

<item instructions>

/1 = "Click on the image that you see on the screen."

</item>

<expt>
/ blocks = [1=elephant; 2=elephant2]
/ showmousecursor = true
</expt>

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
The picture is on top of the instructions because that's what you specified:

<picture elephant2>
/ items = ("elephant.png")
/valign = bottom
/halign = left
/size = (20%, 20%)
</picture>

has no /position defined, which means it'll be displayed in the center. Define its /position such that it does not overlap with the instructions.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search