repeat stimulus, start new one
Tony Zuccolotto
anthony.zuccolotto at pstnet.com
Thu Jan 9 14:20:52 UTC 2003
Wiltrud,
In general if you need to repeat a trial you can put a Label object at
the very beginning of the trial procedure and then use a Goto statement
within script at the end of the trial procedure to jump back up to the
beginning.
If you want the current set of data to be logged as a trial then you
also need to manually call c.Log from script to cause the current values
of attributes in the context to be logged prior to the Goto statement.
Note that since the attribute values of some dependent measures (e.g.
Stimulus.RT, Stimulus.ACC, Stimulus.RESP, etc) are refreshed at the very
end of a Procedure immediately before the system issues its own c.Log
command, if you are repeating a trial it is your responsibility to make
sure that all attributes in the context have the values you wish to log
at that time. This mainly constitutes putting in a series of
c.SetAttrib commands similar to the following...
c.SetAttrib "Stimulus.RT", Stimulus.RT
c.SetAttrib "Stimulus.ACC", Stimulus.ACC
c.SetAttrib "Stimulus.RESP", Stimulus.RESP
If you only want to log the 'final' answer (or you are not using any
extended Time Limits on your input masks) then none of the above logging
issues typically apply, but you should be aware of the issue and make
that determination as it applies to your paradigm. It is best to run a
few trials and closely examine the data collected in E-DataAid to verify
consistent logging with and without trial repeats.
Hope that helps,
Tony
*** DISCLAIMER: ALL VIEWS EXPRESSED ARE MY OWN AND DO NOT NECESSARILY
REFLECT THOSE OF PSYCHOLOGY SOFTWARE TOOLS ***
Anthony P. Zuccolotto
Vice President
Psychology Software Tools, Inc.
2050 Ardmore Boulevard
Suite 200
Pittsburgh, PA 15221-4610
Phone 412-271-5040
FAX 412-271-7077
Email anthony.zuccolotto at pstnet.com
Internet http://www.pstnet.com
> -----Original Message-----
> From: Wiltrud Fassbinder [mailto:amneris at telocity.com]
> Sent: Wednesday, January 08, 2003 8:31 PM
> To: eprime at mail.talkbank.org
> Subject: repeat stimulus, start new one
>
>
> Hi,
>
> I am a new user of E-prime, and am trying to write a script for
meaning
> similarity ratings for word pairs. My goal is to have participants
judge
> meaning similarity on a 1-9 analog scale. I also want to give visual
> feedback for their judgment, so that they can go back and change it,
if
> possible.
>
> I have created two text displays. The first presents the stimulus and
> visual 1-9 analog scale, with number keys 1-9 as response options. The
> second presents an X on the visual analog scale corresponding to the
> response, and the instruction to press "spacebar" for the next
stimulus,
> or the backspace key to repeat in the stimulus.
>
> I first created those 9 feedback text displays, one for each number,
and
> then I created an inline object. This has if-then statements of all 9
> keys, and refers to the labeled text displays trial procedures I
pasted
> in from my 9 feedback displays. Then I deleted the 9 feedback text
> displays.
>
> The if-then statement works, the correct visual feedback appears for
> each response. But I don't know how to implement the option to repeat
> the stimulus, or moving on to the next stimulus. Right now,
regardless
> of response key ("spacebar" or "backspace") a response opens the
> feedback display of the next higher number key. How do I implement: if
> spacebar, got next stimulus, and if backspace, repeat this stimulus?
>
> Cheers,
>
> Wiltrud
>
More information about the Eprime
mailing list