Showing feedback on highest/lowest joystick.x score


Author
Message
knr
knr
Respected Member (390 reputation)Respected Member (390 reputation)Respected Member (390 reputation)Respected Member (390 reputation)Respected Member (390 reputation)Respected Member (390 reputation)Respected Member (390 reputation)Respected Member (390 reputation)Respected Member (390 reputation)
Group: Forum Members
Posts: 4, Visits: 27
Hi,
I have a study where a video plays and after every second a recording is made of the joystick.x position.  This works fine, but now I'd like to add in at the end a readout to participants of their highest and lowest ratings.  However, whenever I try to do this, it only seems to report whatever the last position of the joystick is.  I'm sure that I'm missing something simple.

So far the working part looks like:


<trial 1sectrial>
/ inputdevice = joystick
/ timeout = 1000
/ validresponse = (left, right, noresponse)
/ ontrialend = [expressions.rating]
</trial>

<expressions>
/ rating = joystick.x
</expressions>

<block videoblock>
/ trials = [1-96 = 1sectrial]
/ bgstim = (video)
</block>

I've tried various uses of expressions/values but not sure what I would need to add to get the max/min out of those 96 trials.

Thanks in advance!!


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search