inconsistent updating of error counting variable

doron arbiv doronarbiv at gmail.com
Sun Jan 8 15:34:02 UTC 2012


hello,

i have a target slide,1000 mls in duration and has a 3000 mls time
limit. the target slide is followed by a blank slide, 2000 mls in
duration, which doesn't collect any response. after the blank slide i
have a short script which says the following:
elseif c.getattrib("TrialType")="FaceTarget" then
     if c.getattrib("Target.ACC")=0 then FaceError=FaceError+1

i present only two lines from the script, since i am only testing the
"FaceTarget" trial type for now.
in my test i intentionally make errors, so that the FaceError variable
will reach 20 (there are 20 trials in a block).
the problem is that while "Target.ACC" always shows a  "0" value in
the edata output file, the FaceError variable sometime fails to add
"1" to itself, as it should when "Target.ACC"=0. this happens
approximately twice in each block of 20 trials and i have no idea why
it happens.

i have some guesses. one is that maybe "Traget.ACC" is unavailable to
the script following the Blank slide, so that when the condition:
" if c.getattrib("Target.ACC")=0 then FaceError=FaceError+1 " appears,
the "Target.ACC" attribute isn't ready for comparison.
Can you please help me with this bizarre bug?

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.



More information about the Eprime mailing list