In line problems
Leisha Wharfield
leisha at decisionresearch.org
Wed Mar 21 17:03:40 UTC 2007
I think that, similar to Elizabeth Smith's question regarding a score
bar, you need to use a global attribute. Global attributes supersede
individual procedures, so you can keep them going throughout your entire
experiment. You need to View the Script, then establish your attribute
in the User tab. For example,
Dim Trial as integer
Then keep that in-line object that is adding Trial + 1 to Trial after
each trial. Then your If Trial = 98 should work.
(Unless you are already using a global attribute, in which case this
advice won't help as much as I'd hoped.)
Leisha Wharfield
Decision Research
Eugene, Oregon, USA
psp48d at bangor.ac.uk wrote:
>Dear E-Prime Experts,
>
>I have designed an experiment that has 196 trials, and I wanted to introduce a
>text page after trial 98 offering a rest period to the participant. My problem
>is twofold:
>
>1)First of all I tried to get e-prime to keep track of what trial we are on by
>referncing the “Block” attribute. I did this as follows:
>
>Dim Trial
>Trial=c.GetAttrib (“Block”)
>
>However, when running it, e-prime did not recognise block as an attribute. So I
>tried to create my own:
>
>Dim Trial as integer
>Trial = Trial + 1
>
>This also did not work.
>
>2)Secondly, I placed the “rest” page in my trialproc timeline, and tried to get
>e-prime to access it via an 'inline' at the end of the timeline:
>
>If Trial = 98 then
>Rest.run
> 'referncing my textpage for the rest period
>Else fixation.run
> 'this last line is trying to get e-prime to revert to the beginning
> 'of the trialproc timeline if the trial is not 98. This doesn't work
>End if
>
>How do I get e-prime to keep track of the trial number, and how do I introduce a
>rest page if a certain trial number is satisfied?
>
>Yours in confusion!
>
>Jim Grange.
>University of Wales, Bangor.
>
>
>
>
>--
>This mail sent through http://webmail.bangor.ac.uk
>
>
>
>
More information about the Eprime
mailing list