|
|
|
Forum 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
|
|
|
|
|
Forum 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
|
|
|
|