In line problems

Ben Robinson brobinso at mprc.umaryland.edu
Wed Mar 21 17:02:21 UTC 2007


create a new list, MainList.
first proc in MainList can be called BlockProc.
next proc in MainList can be called RestProc.
then another BlockProc.
then EndProc.
so you have four rows in your new, MainList.

now drag your list containing 196 trials onto the BlockProc timeline.
drag your rest screen onto the RestProc timeline.

now go to your list with 196 trials.  click properties.  click the reset/exit tab.  tell your list to reset after 196 trials (all of them).  tell your list to exit after 98 trials.

what this will do is run 98 trials from your list of trials, then run the rest procedure, then run the remaining 98 trials, culminating with an EndProc, where you could thank people for their participation or tell them how well they did, etc.

ben


>>> <psp48d at bangor.ac.uk> 3/21/2007 12:41 PM >>>
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