Dual Task

David McFarlane mcfarla9 at msu.edu
Fri Oct 18 18:10:02 UTC 2013


Francesco,

To get responses to both s1 and s2, simply add an input mask with 
appropriate Time Limit to each of them -- please see the "Extended 
Input" tutorial in Appendix C of the User's Guide that came with 
E-Prime (and if you have not already, please first work through *all* 
of the tutorials in *all* the Guides before you start work with 
E-Prime, it is well worth the effort!).

You can superimpose visual stimuli with creative use of their Frame 
and BackStyle properties.  I have done this myself to make all sorts 
of interesting effects.

To make s1 & s2 disappear upon response...  Hmm, well, you might use 
Clear After to clear s2 (even though Clear After is deprecated, see 
http://www.pstnet.com/support/kb.asp?TopicID=4946 ), but you still 
need a bit of inline code to clear s1, so you might as well do them 
both in code.  Something like

     Do While (s1.InputMasks.IsPending and s2.InputMasks.IsPending)
         If s1.InputMasks.IsPending Then s1.Clear
         If s2.InputMasks.IsPending Then s2.Clear
     Loop
     ' expect that s1 & s2 both also get cleared by subsequent program...

but maybe that gives you enough to start with and you can fix it up 
as an exercise.  (Advanced exercise:  Make efficient algorithm to 
handle general case of multiple stimuli with responses.)

-----
David McFarlane
E-Prime training 
online:  http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter:  @EPrimeMaster (https://twitter.com/EPrimeMaster )

/----
Stock reminder:  1) I do not work for PST.  2) PST's trained staff 
take any and all questions at https://support.pstnet.com , and they 
strive to respond to all requests in 24-48 hours, so make full use of 
it.  3) In addition, PST offers several instructional videos on their 
YouTube channel (http://www.youtube.com/user/PSTNET ).  4) If you do 
get an answer from PST staff, please extend the courtesy of posting 
their reply back here for the sake of others.
\----


At 10/17/2013 05:58 PM Thursday, francesco biondi wrote:
>I am designing an experiment using a dual task paradigm.
>I have two stimuli: s1 and s2, and 2 responses: r1 and r2.
>
>After the fixation point, s1 appers on the right side of the screen 
>and, after a given soa, s2 appears on the left side of the screen.
>I need to record both the responses r1 and r2.
>
>Since soas are very short (150 and 300ms), subjects won't be able to 
>produce r1 by the time s2 appears.
>Nonetheless, I still need s1 to be visible to let subjects to produce r1.
>
>My question is:
>do you know how i can have (after the soa) both the stimuli on the 
>screen and record both r1 and r2?
>Also, I would like to s1 and s2 to disappear when, respectively, r1 
>and r2 are produced.
>After r2 is produced the next trial starts.
>
>Thanks
>
>Francesco

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5261797c.6801320a.6d94.1d14SMTPIN_ADDED_MISSING%40gmr-mx.google.com.
For more options, visit https://groups.google.com/groups/opt_out.



More information about the Eprime mailing list