Q: time slots during movie for correct answers
 
 
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Q: time slots during movie for correct... Expand / Collapse
Author
Message
Posted 1/4/2007 10:40:26 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 12/21/2007 9:36:49 AM
Posts: 1, Visits: 10
Hello All,

My name is Jan-Maarten Luursema, I'm a PhD student working at the University of Twente in the Netherlands. I'm trying to do the following: During a movie I want to create specific time slots for the response (e.g. 0-4750 ms is too early, 4750-5250 ms is correct, >5250 ms is too late, values will be different for different movie items).

Do any of you have experience on how to do this? The MovieDisplay 'Duration/Input' tab doesn't seem to allow this. I'm sorry if this is a real simple question, but I'm a relative newbie, and any help or pointers would be greatly appreciated!

Thanks,

Jan-Maarten
Post #119
Posted 1/4/2007 12:47:16 PM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVP

Group: Administrators
Last Login: Yesterday @ 8:46:05 AM
Posts: 532, Visits: 1,146
Your inquiry is not specific to movies.  What you want can be accomplished for any device by inserting some script after the object executes.  Assuming your object is named Stimulus...

If Stimulus.RT > 0 And Stimulus.RT < 4750 Then

     Stimulus.Acc = 0

     c.SetAttrib "Stimulus.AccuracyComment", "Too Early"

ElseIf Stimulus.RT >= 4750 And Stimulus.RT < 5250 Then

     Stimulus.Acc = 1

     c.SetAttrib "Stimulus.AccuracyComment", "On Time"

ElseIf Stimulus.RT >= 5250

     Stimulus.Acc = 0

     c.SetAttrib "Stimulus.AccuracyComment", "Too Late"

End If

You can even vary what the ranges are between trials like so:

If Stimulus.RT >= CLng(c.GetAttrib("Range1.Begin")) And Stimulus.RT < CLng(c.GetAttrib("Range1.End")) Then

    Stimulus.Acc = 1

ElseIf Stimulus.RT >= CLng(c.GetAttrib("Range2.Begin")) And Stimulus.RT < CLng(c.GetAttrib("Range2.End")) Then

    Stimulus.Acc = 0

End If

Post #121
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 7:19am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 12 queries. Compression Disabled.