removestimulusframe


Author
Message
MariusM
MariusM
Associate Member (284 reputation)Associate Member (284 reputation)Associate Member (284 reputation)Associate Member (284 reputation)Associate Member (284 reputation)Associate Member (284 reputation)Associate Member (284 reputation)Associate Member (284 reputation)Associate Member (284 reputation)
Group: Forum Members
Posts: 3, Visits: 5
Hi!
I´m trying to implement a Stroop-Task with achievement-badges. The badges will be shown via short video-animations after accomplishing the achievement. My problem is that the videos will be shown over and over again in every trial. How can i remove the video-animation after showing it for one single time? I tried using removestimulusframe, resetstimulusframe and clearstimulusframe, but neither one worked. 
 I guess the problem could also be in the condititonal statements which I use:


<block myblock>
/onblockend = [if (values.myvalue==500 && values.achievement_accomplished==0) {values.achievement_accomplished = 1; values.badge_animation =1}] 

<trial mytrial>
/ontrialbegin = [if (achievement_accomplished ==1) trial.mytrial.insertstimulusframe(video.badge_animation, 1)]
/ontrialend = [if (values.badge_animation =1) {trial.mytrial.removestimulusframe (1); values.badge_animation=0}]

I appreciate any assistance. Thanks in advance

-Marius
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
MariusM - 7 Years Ago
Dave - 7 Years Ago
MariusM - 7 Years Ago
Dave - 7 Years Ago
                     + x [quote] [b] Dave - Friday, June 16, 2017 [/b] +...
MariusM - 7 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search