incrementing the trial count

liwenna liwenna at gmail.com
Thu Oct 13 11:02:19 UTC 2011


Not sure if this is what you're looking for (if I remember correctly
the e-primer is quite clear on this one) but you did add an inline
that increments the value assigned to totaltrial on each trial? I.e.
an inline on the proc reading:

totaltrial = totaltrial +1
(followed by another line to log it onto the attribute trialcount: c.
SetAttrib "TrialCount", totalTrial)  ?

On Oct 12, 7:02 pm, Meltem BALLAN <meltembal... at gmail.com> wrote:
> Mich,
> No worries. I was looking to find a source. I used the explanation in the
> E-PRIME documentation but did not work. I read the E-PRIMER. It must be
> something I am missing within the lines.
> Thanks
> Meltem
>
> On Wed, Oct 12, 2011 at 12:49 PM, Michiel Spape <
>
>
>
>
>
>
>
>
>
> Michiel.Sp... at nottingham.ac.uk> wrote:
> > Hi Meltem,****
>
> > Not to sound sour, but these are quite elementary questions for which I
> > think you might really want to do a quick walk through some tutorials. For
> > example, our very ownhttp://step.psy.cmu.edu/materials/EPrimer.pdfhas an
> > almost exact answer to what you seem to be looking for, in one of the two
> > last chapters. Also, the quick start is a very useful way to begin. I think,
> > with some additional information (such as what do you mean by Stimulus
> > count?), anybody could answer your question, but you’d really be doing
> > yourself a favour to take two days to learn how to use the software. Sorry
> > to be not of more use.****
>
> > ** **
>
> > Best,****
>
> > Mich****
>
> > ** **
>
> > *Michiel Spapé*
>
> > *Research Fellow*
>
> > *Perception & Action group*
>
> > *University of Nottingham*
>
> > *School of Psychology*
>
> > *www.cognitology.eu***
>
> > ** **
>
> > *From:* e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] *On
> > Behalf Of *Meltem BALLAN
> > *Sent:* 12 October 2011 17:42
> > *To:* e-prime at googlegroups.com
> > *Subject:* incrementing the trial count****
>
> > ** **
>
> > Hi All,
> > I have a question that I cannot figure out by myself. I am trying to add a
> > counter in my task which is counting the total number of trials during the
> > task. I defined a global variable as totalTrial (in User Script) and
> > assigned it as TrialCount (c. SetAttrib "TrialCount", totalTrial). My
> > dillemma is how I can integrate TrialCount with my Stimulus count.
> > I tried as Trial=TrialCount but it did not work.
> > Any idea?
> > Thanks
> > Meltem
>
> > --
> > Meltem Ballan, PhD
> > Department of Psychiatry, CB# 7160
> > University of North Carolina School of Medicine
> > 7023 Neurosciences Hospital
> > Chapel Hill, NC 27599-7160****
>
> > --
> > 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.****
>
> >  This message and any attachment are intended solely for the addressee and
> > may contain confidential information. If you have received this message in
> > error, please send it back to me, and immediately delete it. Please do not
> > use, copy or disclose the information contained in this message or in any
> > attachment. Any views or opinions expressed by the author of this email do
> > not necessarily reflect the views of the University of Nottingham.
>
> > This message has been checked for viruses but the contents of an attachment
> > may still contain software viruses which could damage your computer system:
> > you are advised to perform your own checks. Email communications with the
> > University of Nottingham may be monitored as permitted by UK legislation.
>
> > --
> > 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.
>
> --
> Meltem Ballan, PhD
> Department of Psychiatry, CB# 7160
> University of North Carolina School of Medicine
> 7023 Neurosciences Hospital
> Chapel Hill, NC 27599-7160

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