Naming a specific trial in the trial list

David McFarlane mcfarla9 at msu.edu
Mon Aug 4 19:18:52 UTC 2014


Jerry,

Paul already covered the important part.  Just to 
answer the question that you asked, if you really 
do want or need to access a paticular ("named") 
item in a List, you may use List.GetAttrib, e.g.,

     MyList.GetAttrib 7, "Stimulus"

See the Factor.GetAttrib topic in the E-Basic 
Help facility (go to the List topic and click on 
GetAttrib).  You would, of course, have to run 
List.GetAttrib for each of the attributes that 
you wish to retrieve from that List level.

And just to expand on Paul's comments, you may 
put all your trial attributes in a nested List 
set to Random order, and then use a main List in 
Sequential order to run a mixture of trials, breaks, and whatever.  E.g.,

MainList (Sequential order):
Weight  Nested    Procedure
------  --------  --------------
    250  StimList  TrialProc
      1            RestProc
    150  StimList  TrialProc
      1            TrialsDoneProc

with StimList holding all the stimulus attributes 
and set to Random order -- E-Prime keeps track of 
where it is in the shuffled StimList and just 
picks up where it left off (unless you tell it to 
Reset) (and yes, we do this in my inline course).

-----
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) 
You may reach PST's trained staff (and other 
support facilities) at https://support.pstnet.com 
.  3) 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 7/30/2014 04:17 AM Wednesday, Paul Groot wrote:
>Hi Jerry,
>
>There are several way's to do such a thing 
>without using inline script. If the trial list 
>is ran sequentially, you could simply add a 
>specific trial procedure by inserting a row into 
>the list at level 250. This specific trial could 
>have a different name and is configured 
>completely independent of the other trials. 
>However, if you use some kind of trial order 
>randomization, things become slightly more 
>complicated. In that case you would have to put 
>the special trials in a separate list. The two 
>lists with regular and special trials can then 
>be used as nested lists in a master trial list. 
>The master trial list can have two levels: the 
>first having weight=250, nested 
>list=RegularTrialList and proc=RegularTrialProc; 
>the second having weight=1, nested 
>list=SpecialTrialList and proc=SpecialTrialProc.Â
>
>Lots of trial and block orders are possible when 
>using nested lists this way.Â
>
>Best
>Paul
>
>
>
>
>On 29 July 2014 20:06, Jerry Shen 
><<mailto:jerryshen1993 at gmail.com>jerryshen1993 at gmail.com> wrote:
>Is there a way to label a specific trial with a 
>name? I would like to present a specific trial 
>after a certain number of trials and was 
>wondering if there is an inline code where I can refer to the trialÂ
>ie. If TrialCount = 250 Then display TrialList.ID = 7
>
>Something along the lines of that?

-- 
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/53dfdc9e.6a39320a.187f.7ce8SMTPIN_ADDED_MISSING%40gmr-mx.google.com.
For more options, visit https://groups.google.com/d/optout.



More information about the Eprime mailing list