In line problems

psp48d at bangor.ac.uk psp48d at bangor.ac.uk
Wed Mar 21 16:41:41 UTC 2007


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


-- 
Gall y neges e-bost hon, ac unrhyw atodiadau a anfonwyd gyda hi,
gynnwys deunydd cyfrinachol ac wedi eu bwriadu i'w defnyddio'n unig
gan y sawl y cawsant eu cyfeirio ato (atynt). Os ydych wedi derbyn y
neges e-bost hon trwy gamgymeriad, rhowch wybod i'r anfonwr ar
unwaith a dilëwch y neges. Os na fwriadwyd anfon y neges atoch chi,
rhaid i chi beidio â defnyddio, cadw neu ddatgelu unrhyw wybodaeth a
gynhwysir ynddi. Mae unrhyw farn neu safbwynt yn eiddo i'r sawl a'i
hanfonodd yn unig  ac nid yw o anghenraid yn cynrychioli barn
Prifysgol Cymru, Bangor. Nid yw Prifysgol Cymru, Bangor yn gwarantu
bod y neges e-bost hon neu unrhyw atodiadau yn rhydd rhag firysau neu
100% yn ddiogel. Oni bai fod hyn wedi ei ddatgan yn uniongyrchol yn
nhestun yr e-bost, nid bwriad y neges e-bost hon yw ffurfio contract
rhwymol - mae rhestr o lofnodwyr awdurdodedig ar gael o Swyddfa
Cyllid Prifysgol Cymru, Bangor.  www.bangor.ac.uk

This email and any attachments may contain confidential material and
is solely for the use of the intended recipient(s).  If you have
received this email in error, please notify the sender immediately
and delete this email.  If you are not the intended recipient(s), you
must not use, retain or disclose any information contained in this
email.  Any views or opinions are solely those of the sender and do
not necessarily represent those of the University of Wales, Bangor.
The University of Wales, Bangor does not guarantee that this email or
any attachments are free from viruses or 100% secure.  Unless
expressly stated in the body of the text of the email, this email is
not intended to form a binding contract - a list of authorised
signatories is available from the University of Wales, Bangor Finance
Office.  www.bangor.ac.uk



More information about the Eprime mailing list