From hhzainab at hotmail.com Sat Nov 2 13:55:35 2002 From: hhzainab at hotmail.com (zainab h.hussein) Date: Sat, 2 Nov 2002 13:55:35 +0000 Subject: visual stimulus Message-ID: An HTML attachment was scrubbed... URL: From hhzainab at hotmail.com Sat Nov 2 13:56:27 2002 From: hhzainab at hotmail.com (zainab h.hussein) Date: Sat, 2 Nov 2002 13:56:27 +0000 Subject: visual stimulus Message-ID: An HTML attachment was scrubbed... URL: From hhzainab at hotmail.com Sun Nov 3 08:10:01 2002 From: hhzainab at hotmail.com (zainab h.hussein) Date: Sun, 3 Nov 2002 08:10:01 +0000 Subject: forperiod duration Message-ID: An HTML attachment was scrubbed... URL: From hhzainab at hotmail.com Sun Nov 3 08:12:21 2002 From: hhzainab at hotmail.com (zainab h.hussein) Date: Sun, 3 Nov 2002 08:12:21 +0000 Subject: warning signal Message-ID: An HTML attachment was scrubbed... URL: From hhzainab at hotmail.com Sun Nov 3 08:24:23 2002 From: hhzainab at hotmail.com (zainab h.hussein) Date: Sun, 3 Nov 2002 08:24:23 +0000 Subject: font problem Message-ID: An HTML attachment was scrubbed... URL: From hhzainab at hotmail.com Sun Nov 3 08:29:07 2002 From: hhzainab at hotmail.com (zainab h.hussein) Date: Sun, 3 Nov 2002 08:29:07 +0000 Subject: background Message-ID: An HTML attachment was scrubbed... URL: From hhzainab at hotmail.com Sun Nov 3 08:27:45 2002 From: hhzainab at hotmail.com (zainab h.hussein) Date: Sun, 3 Nov 2002 08:27:45 +0000 Subject: visual angle Message-ID: An HTML attachment was scrubbed... URL: From hhzainab at hotmail.com Sun Nov 3 08:26:34 2002 From: hhzainab at hotmail.com (zainab h.hussein) Date: Sun, 3 Nov 2002 08:26:34 +0000 Subject: visual angle Message-ID: An HTML attachment was scrubbed... URL: From tracy.mitzner at psych.gatech.edu Wed Nov 6 21:00:14 2002 From: tracy.mitzner at psych.gatech.edu (Tracy Mitzner) Date: Wed, 6 Nov 2002 16:00:14 -0500 Subject: No subject Message-ID: hi, i'm trying to control the order of my block variable ("InstrictList") based on the session number. does anyone know what the correct inline statement would be and should the inline be placed before or after the block list? i want the 3rd list to always be presented 1st (i.e., session 1) and i want the 1st and 2nd lists to be counterbalanced (i.e., sessions 2 and 3). below is the inline statement i tried that isn't working... If "Session" = 1 Then c.GetAttrib ("InstructList") = 3 Else c.GetAttrib ("InstructList") = 1 or 2 End If thanks, tracy Tracy L. Mitzner, Ph.D. Post-Doctoral Fellow School of Psychology Georgia Institute of Technology Atlanta, GA 30332-0170 Tel:404-385-2690 Fax:404-894-8905 http://www.prism.gatech.edu/~wr43/hf_aging/index.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From susanc at andrew.cmu.edu Wed Nov 6 22:07:00 2002 From: susanc at andrew.cmu.edu (Susan Campbell) Date: Wed, 6 Nov 2002 17:07:00 -0500 Subject: Counterbalancing Part of a List [was Re: ] In-Reply-To: <5.1.1.5.2.20021106155528.00a24140@pop.mail.gatech.edu> Message-ID: I¹m afraid that without looking at the structure of your experiment, I cannot figure out what the InLine here is supposed to do. As such, I¹ve written two that do similar things in different contexts, neither one of which may match your experiment¹s structure (if you¹d like to send me a copy of the experiment, feel free to do so.). If I were to pick a structure for an experiment like this, I would use the second structure I explain here. --The first code sample assumes that you have a block list called BlockList, and that ³InstructList² is the name of an attribute, which is then used later to determine what list is nested. This structure would look something like this: -SessionProc -BlockList (1 row, with InstructList as a column) -TestProc -InLine1 -List2 (1 row, with [InstructList] in the Nested column) ?InstructList -Unreferenced E-Objects -one (the lists referenced above, since list names can¹t be numbers) -two -three and InLine1 would be: If c.GetAttrib(³Session²) = ³1² Then BlockList.SetAttrib 1, ³InstructList², ³three² Else If (CInt(c.GetAttrib(³Subject²))+CInt(c.GetAttrib(³Session²))) Mod 2 = 0 Then BlockList.SetAttrib 1, ³InstructList², ³one² Else BlockList.SetAttrib 1, ³InstructList², ³two² End If End If (The math here is a hack because I couldn¹t figure out how to get it to counterbalance only two levels. Basically, if the Subject number and the Session number add to make an even number, set the list to 1, else set it to 2.) --The second, different structure assumes that you want to set which level of a list runs (on a global level). That structure would look like this: -SessionProc -InLine2 -InstructList (3 rows) -TestProc2 and InLine2 would be: If c.GetAttrib(³Session²) = ³1² Then Set InstructList.Order = ExplicitOrder (³3²) InstructList.Reset Else If (CInt(c.GetAttrib(³Subject²)) + CInt(c.GetAttrib(³Session²))) Mod 2 = 0 Then Set InstructList.Order = ExplicitOrder (³1²) InstructList.Reset Else Set InstructList.Order = ExplicitOrder (³2²) InstructList.Reset End If End If (The numbers here refer to which row of the list runs. For instance, in a list with three rows, Set List1.Order = ExplicitOrder(³1 2 3²) makes the list run in sequential order.) Sorry if this is sort of obscure and technical; I wasn¹t sure exactly what you were looking for. Hope this helps, Susan Campbell STEP Project Carnegie Mellon On 11/6/02 16:00, "Tracy Mitzner" wrote: > hi, > i'm trying to control the order of my block variable ("InstrictList") based on > the session number. does anyone know what the correct inline statement would > be and should the inline be placed before or after the block list? i want the > 3rd list to always be presented 1st (i.e., session 1) and i want the 1st and > 2nd lists to be counterbalanced (i.e., sessions 2 and 3). below is the inline > statement i tried that isn't working... > > If "Session" = 1 Then > c.GetAttrib ("InstructList") = 3 > Else > c.GetAttrib ("InstructList") = 1 or 2 > End If > > > thanks, > tracy > > > > > Tracy L. Mitzner, Ph.D. > Post-Doctoral Fellow > School of Psychology > Georgia Institute of Technology > Atlanta, GA 30332-0170 > Tel:404-385-2690 > Fax:404-894-8905 > http://www.prism.gatech.edu/~wr43/hf_aging/index.html From tracy.mitzner at psych.gatech.edu Thu Nov 7 16:31:26 2002 From: tracy.mitzner at psych.gatech.edu (Tracy Mitzner) Date: Thu, 7 Nov 2002 11:31:26 -0500 Subject: No subject Message-ID: hi, i'd like to present a stimulus for a minimum of 30 seconds with no limit on the maximum presentation time (i.e., infinite), with a key press terminating the slide anytime after 30 seconds. i thought the following property input/duration settings should work, but the slide terminates after 30 seconds instead of giving the opportunity to view longer. duration = 30000 allowable = {ENTER} time limit = infinite timing mode = event any suggestions would be much appreciated. thanks, tracy From d.vinson at ucl.ac.uk Thu Nov 7 16:43:20 2002 From: d.vinson at ucl.ac.uk (David Vinson) Date: Thu, 7 Nov 2002 16:43:20 +0000 Subject: stimulus with minimum duration 30sec In-Reply-To: <5.1.1.5.2.20021107112209.00a93ec0@pop.mail.gatech.edu> Message-ID: At 11:31 07/11/02 -0500, Tracy Mitzner wrote: >i'd like to present a stimulus for a minimum of 30 seconds with no limit >on the maximum presentation time (i.e., infinite), with a key press >terminating the slide anytime after 30 seconds. What about making this presentation into two events? 1. presenting the stimulus for 30sec, terminating at the end of that duration only and not permitting a keypress, 2. waiting for a keypress input (duration -1)? If it suits your experimental design, event 2 could display some sort of prompt while the stimulus from event 1 remains on screen. hth, david From catherine at psych.utoronto.ca Mon Nov 11 16:50:49 2002 From: catherine at psych.utoronto.ca (Ortner Catherine) Date: Mon, 11 Nov 2002 11:50:49 -0500 Subject: Setting mouse response options In-Reply-To: Message-ID: Hi All, I would very much appreciate some help with the following problem: I have an experiment where participants have to click on an appropriate part of the screen to make their response. There are two boxes (called 'Left' and 'Right') on the screen where they can respond (one correct, the other incorrect). I have managed to get this working - left and right are text boxes in a slide display and are set as attributes in the List. My problem is how to make these boxes the only allowable responses, i.e. if they click anywhere else on the screen, nothing should happen. I have tried putting [Left][Right] in the Allowable response box in the Properties page of the display. however, when I do this, I get an error: Run-time Error (Line 178) 10003: Internal Error accessing string argument when I try to run the experiment. I have also tried using an inline script (where LeftSD is the name of my stimulus display): LeftSD.InputMasks.Add Mouse.CreateInputMask(c.GetAttrib("Left") &_ c.GetAttrib("Right"), "", CLng(LeftSD.Duration), CLng("1"), _ ebEndResponseActionTerminate, CLogical("Yes"), "", "", "") but get the same error when I run the experiment. I don't know why this doesn't work, as according to the manual, an attribute reference can count as an allowable response. Any suggestions as to how to deal with this would be much appreciated! Thanks very much, Catherine Ortner ************************** Doctoral Candidate Department of Psychology 100 St George Street University of Toronto Toronto, Ontario M5S 3G3 Tel: 416 978 5464 From latto at liverpool.ac.uk Tue Nov 12 11:10:57 2002 From: latto at liverpool.ac.uk (Richard Latto) Date: Tue, 12 Nov 2002 11:10:57 -0000 Subject: Random location Message-ID: Dear all, I want picture stimuli, drawn from a set of bitmap files, to appear in one of five random, but identified in the response record, locations on the screen: up, down, left, right, centre. Can anyone point me in the right direction for doing this. Thanks, Richard Latto ----------------------------- Dr.R.M.Latto Department of Psychology University of Liverpool Eleanor Rathbone Building Bedford Street South Liverpool L69 7ZA U.K. Telephone: ++ 44 (0) 151 794 2956 Facsimile: ++ 44 (0) 151 794 2945 Web: http://www.liv.ac.uk/Psychology/DeptInfo/StaffProfile/RMLatto.html From anthony.zuccolotto at pstnet.com Tue Nov 12 13:37:31 2002 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Tue, 12 Nov 2002 08:37:31 -0500 Subject: Random location Message-ID: Richard, The easiest way to do this is to use a Slide object and create 5 different tabs on the Slide and name them up, down, left, right, centre. Add an image on each tab of the Slide at the desired position (i.e. that matches up with the name). You then create an attribute on your list (e.g. Position) and set its values to up, down, left, right, centre. Set the ActiveState property of the Slide to "[Position]" to have the Slide choose which tab to show at runtime. Hope that helps, Tony *** DISCLAIMER: VIEWS EXPRESSED ARE MY OWN AND DO NOT NECESSARILY REFLECT THOSE OF MY EMPLOYER *** Anthony P. Zuccolotto Vice President of Operations 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: Richard Latto [mailto:latto at liverpool.ac.uk] > Sent: Tuesday, November 12, 2002 6:11 AM > To: Eprime user group > Subject: Random location > > Dear all, > I want picture stimuli, drawn from a set of bitmap files, to appear in one > of five random, but identified in the response record, locations on the > screen: up, down, left, right, centre. > Can anyone point me in the right direction for doing this. > Thanks, > Richard Latto > > ----------------------------- > Dr.R.M.Latto > Department of Psychology > University of Liverpool > Eleanor Rathbone Building > Bedford Street South > Liverpool > L69 7ZA > U.K. > > Telephone: ++ 44 (0) 151 794 2956 > Facsimile: ++ 44 (0) 151 794 2945 > > Web: http://www.liv.ac.uk/Psychology/DeptInfo/StaffProfile/RMLatto.html > From ftornay at ugr.es Tue Nov 12 16:23:46 2002 From: ftornay at ugr.es (Francisco Tornay) Date: Tue, 12 Nov 2002 17:23:46 +0100 Subject: Random location Message-ID: At 08:37 12/11/02 -0500, you wrote: >Richard, > >The easiest way to do this is to use a Slide object and create 5 >different tabs on the Slide and name them up, down, left, right, centre. >Add an image on each tab of the Slide at the desired position (i.e. that >matches up with the name). You then create an attribute on your list >(e.g. Position) and set its values to up, down, left, right, centre. >Set the ActiveState property of the Slide to "[Position]" to have the >Slide choose which tab to show at runtime. Another solution: Go to the frame tab in the properties page of your imagedisplay object. Change the width and height properties so that they match the width and height of your images. Then change the X and Y properties to appropriate attributes. For instance you may write [XPosition] in the X property and [YPosition] in the Y property. Then go to your list object and set up the two attributes XPosition and YPosition. For instance you may have the following list: XPosition YPosition Location 50% 50% Center 25% 50% Left 75% 50% Right 50% 25% Up 50% 75% Down We have done something similar (with textdisplay objects) in order to program a costs and benefits paradigm. Feel free to ask for more information if necessary. Hope this helps. Francisco Tornay From ftornay at ugr.es Tue Nov 12 16:24:49 2002 From: ftornay at ugr.es (Francisco Tornay) Date: Tue, 12 Nov 2002 17:24:49 +0100 Subject: Setting mouse response options Message-ID: At 11:50 11/11/02 -0500, you wrote: >Hi All, >I would very much appreciate some help with the following problem: >I have an experiment where participants have to click on an appropriate >part of the screen to make their response. There are two boxes (called >'Left' and 'Right') >on the screen where they can respond (one correct, the other incorrect). >I have managed to get this working - left and right are text boxes in a >slide display and are set as attributes in the List. My problem is how to >make these boxes the only allowable responses, i.e. if they click >anywhere else on the screen, nothing should happen. >I have tried putting [Left][Right] in the Allowable response box in the >Properties page of the display. however, when I do this, I get an error: [snip] Try this: dim rdMouse as MouseResponseData dim strhit as string Set rdMouse = CMouseResponseData(Slide1.InputMasks.Item(1).Responses(1)) strhit = Slide1.states("default").hittest(rdMouse.Cursorx, rdMouse.CursorY) if strhit = "" then goto again 'Add code to handle the mouse response I am assuming that 1) the name of your slide object is slide1 2) the name of the slidestate object is default 3) The first inputmask is that of the mouse 4) you have a label called "again" before the slide object, so that the "goto again" line takes you back to the beginning of the trial Hope this helps Francisco Tornay From anthony.zuccolotto at pstnet.com Tue Nov 12 16:52:33 2002 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Tue, 12 Nov 2002 11:52:33 -0500 Subject: Random location Message-ID: Norman, E-Prime has a random number generator built in which all List objects within an experiment use automatically, so typically you don't have to worry about it and you just setup whatever List you are using to sample randomly and it will randomize your stimuli. If you need some type of "custom randomization" (e.g. an ordering that is perhaps "tuned on the fly") then you can do that through some scripting in an Inline object. Under this scenario you can use the ExplicitOrder object, construct a string that represents the ordering of all the exemplars you want to use, and then have the List object use the ExplicitOrder object it at runtime. Note, that ExplicitOrder object is available only via script but a simple example is shown in the E-Basic help to outline how to use it. Alternatively you could write out a file at runtime and have the List object load the stimuli dynamically (i.e. you can read a list of stimuli, set a specific ordering through whatever algorithm you choose, write the list to a file on disk, and then have the List object read in the stimuli before it runs and present them in sequential order). If you just need to generate a random number between two integer limits you can use the Random(min,max) function. If you want direct access to the built in Pseudo Random Number Generator you can use the methods of the PRNG object to generate random numbers in the range of 0.0 to 1.0. If all else fails you can theoretically implement your own random number generator by expressing/implementing the algorithm in E-Basic. The only limitation currently is that you cannot directly replace the PRNG object (although that feature is being considered for a future version of E-Prime). If for some reason the E-Basic language was insufficient to express the algorithm you wish to use (which highly unlikely), you can always create a DLL (using C/C++ or a language of your choosing) and then use the DECLARE statement to make the external routine callable by E-Basic script at runtime. You should be able to get more information about all of the object and functions mentioned above via the E-Basic Help. Regards, Tony *** DISCLAIMER: VIEWS EXPRESSED ARE MY OWN AND DO NOT NECESSARILY REFLECT THOSE OF MY EMPLOYER *** Anthony P. Zuccolotto Vice President of Operations 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: Norman E. Kinney [mailto:norm at kinney.semo.edu] > Sent: Tuesday, November 12, 2002 9:03 AM > To: Tony Zuccolotto > Subject: RE: Random location > > Tony - how would you set up a random number generator in e-prime? Thanks. > > From ftornay at ugr.es Wed Nov 13 16:26:49 2002 From: ftornay at ugr.es (Francisco Tornay) Date: Wed, 13 Nov 2002 17:26:49 +0100 Subject: forperiod duration In-Reply-To: Message-ID: At 08:10 03/11/02 +0000, you wrote: > I want to ask how to create a range of duration. I have an exp. with > fixed duration of foreperiod ( 500 ms) and another exp. with rondom > duration of foreperiod ( 100 &500 &1000ms) these two condition I could > create it but I have another condition with range of durration ( from100 > to 200 or from 250 to 500 an so on) if you please tell me how to create it? Let's assume that the name of your stimulus (textdisplay, imagedisplay or whatever) is stimulus You could add an inline before the object with the following code: dim randomDuration as long randomDuration = random(100, 200) 'or whatever values you have c.setattrib "RandomForeperiod", randomDuration stimulus.duration = randomDuration 'In our lab we have done something similar and it has worked. the c.setattrib line create an attribute called "RandomForeperiod" which would contain the random duration. If you have any problem, feel free to ask. Francisco Tornay From carne006 at umn.edu Wed Nov 13 17:39:29 2002 From: carne006 at umn.edu (Edward Carney) Date: Wed, 13 Nov 2002 11:39:29 -0600 Subject: Touch screen Message-ID: We've got a touch screen monitor with an Intellitouch controller and software from ELO. My recollection was that in beta versions of e-prime I was able to get the software to recognize the "mouse clicks" from the touch screen by setting the mouse device to "Emulate" instead of "Direct". It no longer seems to work. Is there something I'm missing here? Thanks, Edward Carney Research Associate Univ. of Minnesota From ftornay at ugr.es Thu Nov 14 19:28:18 2002 From: ftornay at ugr.es (Francisco Tornay) Date: Thu, 14 Nov 2002 20:28:18 +0100 Subject: Setting mouse response options Message-ID: Hi all, You may remember that Catherine Ortner submitted to this group a question about setting response mouse option. I came up with one solution: repeating the slide object while no allowable zone was clicked by jumping to a label before the slide object. However, I later told Catherine a possible drawback. Every time you run a new instance of the the slide object and, therefore, reset the RT counter. I wrote to Catherine about a possible way around the difficulty. Now I'm submitting the solution to the group, so that you all can check it and decide whether I did something wrong (I hope not). Thank you in advance. This is what I wrote to Catherine: One solution is to keep a running sum of the different RTs calculated at each repetition of the slide object. One should also take into account the time elapsed during the inline processing that decides whether or not repeat the slide. This may be confusing. I would advise you to do the following: a) go to the user tab in the script window and declare new variables: 'Variables to calculate the real RT dim lngCurrentTime as long dim lngAccRT as long b) insert a new inline object before the "again" label with the following line: lngAccRT = 0 'Resets the accumulated time c) Modify the inline object after the slide object this way (I am calling the slide object "stimulus" and the slidestatus "default", change them to the names you are using). ' Calculate the current time lngCurrentTime = clock.readmillisec 'Variable that stores the mouse response dim rdMouse as MouseResponseData 'Variable that stores the clicked area dim strhit as string ' Determine the clicked area (Right, Left or none) Set rdMouse = CMouseResponseData(Stimulus.InputMasks.Item(1).Responses(1)) strhit = Stimulus.states("default").hittest(rdMouse.CursorX, rdMouse.CursorY) 'If you get an empty string no allowable area was selected if strhit = "" then 'In that case accumulate the elapsed RT along with the time taken so far by this inline lngAccRT = lngAccRT + Stimulus.RT - lngCurrentTime + clock.readmillisec 'and repeat the slide object goto again end if 'If you get here it's because an allowable zone was clicked 'So handle the mouse response. This is an example, if you have already written the code 'you don't need to change it. I am assuming that the name of the current correct area is stored 'in the "CorrectAnswer" attribute, which contains either Left or Right if strhit = c.getattrib("CorrectAnswer") then Stimulus.acc = 1 else Stimulus.acc = 0 end if 'Now you may want to store the clicked area in an attribute c.setattrib "SlideResponse", strhit 'This line would store the right reaction time in a new attribute called "RealSlideRT" 'You should use this variable rather than stimulus.RT for analysis. c.setattrib "RealSlideRT", lngAccRT + Stimulus.RT Try this several times and play a little with the RT and the responses you make. Then compare the stimulus.RT and the RealSlideRT variables. You have to decide whether the results are trustworthy (they should be). You also may want to use the right reaction time for feedback by writing [RealSlideRT] instead of @RT. By using both while you are checking this you can see what's going on a trial by trial basis. If you have any problem feel free to ask Francisco From anthony.zuccolotto at pstnet.com Tue Nov 19 14:14:53 2002 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Tue, 19 Nov 2002 09:14:53 -0500 Subject: Random location Message-ID: Richard, It sounds like you should take a close look at the NestingRT sample experiment and read up on Nesting in the User's Guide. Nesting allows you to sample from multiple lists when a row of a list is selected, i.e. sample trial conditions randomly and then likewise randomly sample from stimulus lists in each condition. The NestingRT example uses lists of words and nonwords, but demonstrates the mechanism of nesting well. The use of nesting for stimulus sampling is one of the more unique and powerful features of E-Prime and once you understand how it works you can use it to setup complex sampling constraints and algorithms typically without going to script. If you need to sample multiple times within a trial from the same list then you use the "colon syntax" on the attribute reference (which is also demonstrated in the NestingRT example). Take a look at the example and then perhaps repost with a description of what you tried. Thanks, Tony *** DISCLAIMER: VIEWS EXPRESSED ARE MY OWN AND DO NOT NECESSARILY REFLECT THOSE OF MY EMPLOYER *** Anthony P. Zuccolotto Vice President of Operations 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: Richard Latto [mailto:latto at liverpool.ac.uk] > Sent: Tuesday, November 19, 2002 5:22 AM > To: Tony Zuccolotto > Subject: RE: Random location > > Tony, > Thanks for your help on this. > We've set up a slide object with a tab for each position and set the > active > state to [position]as you suggested. > This works well for one image occurriing randomly in the five positions. > However, we need to present images drawn at random from a list of 10 > different stimuli at the different positions. > Any advice on how to do this? > Thanks, > Richard Latto > > --On 12 November 2002 08:37 -0500 Tony Zuccolotto > wrote: > > > Richard, > > > > The easiest way to do this is to use a Slide object and create 5 > > different tabs on the Slide and name them up, down, left, right, centre. > > Add an image on each tab of the Slide at the desired position (i.e. that > > matches up with the name). You then create an attribute on your list > > (e.g. Position) and set its values to up, down, left, right, centre. > > Set the ActiveState property of the Slide to "[Position]" to have the > > Slide choose which tab to show at runtime. > > > > Hope that helps, > > Tony > > > > *** DISCLAIMER: VIEWS EXPRESSED ARE MY OWN AND DO NOT NECESSARILY > > REFLECT THOSE OF MY EMPLOYER *** > > Anthony P. Zuccolotto > > Vice President of Operations > > 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: Richard Latto [mailto:latto at liverpool.ac.uk] > >> Sent: Tuesday, November 12, 2002 6:11 AM > >> To: Eprime user group > >> Subject: Random location > >> > >> Dear all, > >> I want picture stimuli, drawn from a set of bitmap files, to appear in > > one > >> of five random, but identified in the response record, locations on > > the > >> screen: up, down, left, right, centre. > >> Can anyone point me in the right direction for doing this. > >> Thanks, > >> Richard Latto > >> > >> ----------------------------- > >> Dr.R.M.Latto > >> Department of Psychology > >> University of Liverpool > >> Eleanor Rathbone Building > >> Bedford Street South > >> Liverpool > >> L69 7ZA > >> U.K. > >> > >> Telephone: ++ 44 (0) 151 794 2956 > >> Facsimile: ++ 44 (0) 151 794 2945 > >> > >> Web: > > http://www.liv.ac.uk/Psychology/DeptInfo/StaffProfile/RMLatto.html > >> > > > > > > > > ----------------------------- > Dr.R.M.Latto > Department of Psychology > University of Liverpool > Eleanor Rathbone Building > Bedford Street South > Liverpool > L69 7ZA > U.K. > > Telephone: ++ 44 (0) 151 794 2956 > Facsimile: ++ 44 (0) 151 794 2945 > > Web: http://www.liv.ac.uk/Psychology/DeptInfo/StaffProfile/RMLatto.html From tay at psych.purdue.edu Wed Nov 20 03:25:03 2002 From: tay at psych.purdue.edu (tay) Date: Tue, 19 Nov 2002 22:25:03 -0500 Subject: MsgBox during Slide Message-ID: Hi there, I am wondering if someone might be able to give me a few suggestions. I have numerous slides, each of which contain a simple math problem set to echo the response. The slides are timed to stay on the screen for 10 seconds, at which time the next screen appears. The user is to type in her or his response to the math problem and then wait for the following screen. I would like to have a message box come up if an impatient user presses the ENTER key before the 10 seconds have elapsed. However, I also need to have it so that after the user presses the "OK" on the message box, the original math problem slide is still on the screen. In other words, if the user presses the ENTER key at any time prior to the 10 seconds, a message box pops up, the user presses "OK", the math slide remains on the screen, and the time continues to count down the 10 seconds. I hope I've made my question clear enough. Any, and all, suggestions will be greatly appreciated. Thanks! Tay Hack -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.vinson at ucl.ac.uk Mon Nov 25 10:56:04 2002 From: d.vinson at ucl.ac.uk (David Vinson) Date: Mon, 25 Nov 2002 10:56:04 +0000 Subject: Correcting RTs for positive SOAs (picture word interference) In-Reply-To: <002101c29044$6a3f3ba0$89fed380@resnet.purdue.edu> Message-ID: Hello all, I am wondering if anyone can help me out with a small design problem. We are carrying out a picture-word interference experiment, and are manipulating SOA between the picture and word displayed. We always want to measure RT from the picture onset. If SOA < 0, the word is displayed before the picture, if SOA > 0, the word is displayed after the picture. We currently use conditional branching to determine the order in which these items are displayed, and collect RTs from an empty "Wait" object that immediately follows the last-presented object: (SOA < 0) Word display for [-SOA] milliseconds Picture display "Wait" object until response is made (SOA > 0) Picture display for [SOA] milliseconds Word display "Wait" object until response is made The problem is in the latter condition: RTs measured for the "Wait" object underestimate the picture response latencies by (SOA) milliseconds. Is there a way to automatically correct these RTs in the datafile using an inline object? Or alternatively, is there an easy way to create a new variable (e.g. CorrectedRT) which is logged to the datafile? Thanks, David Vinson Dept of Psychology, University College London From susanc at andrew.cmu.edu Mon Nov 25 21:00:19 2002 From: susanc at andrew.cmu.edu (Susan Campbell) Date: Mon, 25 Nov 2002 16:00:19 -0500 Subject: Correcting RTs for positive SOAs (picture word interference) In-Reply-To: <5.0.0.25.0.20021125104215.024a1510@pop-server.bcc.ac.uk> Message-ID: It is possible to correct the RT immediately after the response each time, and it appears to be relatively straightforward. After the Wait object is presented, you could do the following in an Inline: Get the SOA If the SOA is positive, Wait.RT = Wait.RT + SOA For an example of something similar, you can look at the script from http://step.psy.cmu.edu/scripts/Attention/Pashler1992.html Hope this helps, Susan Campbell STEP Project Carnegie Mellon On Mon, 25 Nov 2002, David Vinson wrote: > Hello all, > > I am wondering if anyone can help me out with a small design problem. We > are carrying out a picture-word interference experiment, and are > manipulating SOA between the picture and word displayed. We always want to > measure RT from the picture onset. > > If SOA < 0, the word is displayed before the picture, if SOA > 0, the word > is displayed after the picture. We currently use conditional branching to > determine the order in which these items are displayed, and collect RTs > from an empty "Wait" object that immediately follows the last-presented object: > > (SOA < 0) > Word display for [-SOA] milliseconds > Picture display > "Wait" object until response is made > > (SOA > 0) > Picture display for [SOA] milliseconds > Word display > "Wait" object until response is made > > The problem is in the latter condition: RTs measured for the "Wait" object > underestimate the picture response latencies by (SOA) milliseconds. Is > there a way to automatically correct these RTs in the datafile using an > inline object? Or alternatively, is there an easy way to create a new > variable (e.g. CorrectedRT) which is logged to the datafile? > > Thanks, > David Vinson > Dept of Psychology, University College London > > > > From anthony.zuccolotto at pstnet.com Mon Nov 25 21:22:59 2002 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Mon, 25 Nov 2002 16:22:59 -0500 Subject: Correcting RTs for positive SOAs (picture word interference) Message-ID: ...just to be complete you may also want to update the Wait.RTTime property as well, e.g. x.RT indicates the # of msec from the onset of the stimulus and x.RTTime indicates the # of msec that have elapsed since the beginning of the experiment. Tony *** DISCLAIMER: VIEWS EXPRESSED ARE MY OWN AND DO NOT NECESSARILY REFLECT THOSE OF MY EMPLOYER *** Anthony P. Zuccolotto Vice President of Operations 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: Susan Campbell [mailto:susanc at andrew.cmu.edu] > Sent: Monday, November 25, 2002 4:00 PM > To: David Vinson > Cc: eprime > Subject: Re: Correcting RTs for positive SOAs (picture word interference) > > It is possible to correct the RT immediately after the response each time, > and it appears to be relatively straightforward. > > After the Wait object is presented, you could do the following in an > Inline: > Get the SOA > If the SOA is positive, > Wait.RT = Wait.RT + SOA > > For an example of something similar, you can look at the script from > http://step.psy.cmu.edu/scripts/Attention/Pashler1992.html > > Hope this helps, > Susan Campbell > STEP Project > Carnegie Mellon > > On Mon, 25 Nov 2002, David Vinson wrote: > > > Hello all, > > > > I am wondering if anyone can help me out with a small design problem. > We > > are carrying out a picture-word interference experiment, and are > > manipulating SOA between the picture and word displayed. We always want > to > > measure RT from the picture onset. > > > > If SOA < 0, the word is displayed before the picture, if SOA > 0, the > word > > is displayed after the picture. We currently use conditional branching > to > > determine the order in which these items are displayed, and collect RTs > > from an empty "Wait" object that immediately follows the last-presented > object: > > > > (SOA < 0) > > Word display for [-SOA] milliseconds > > Picture display > > "Wait" object until response is made > > > > (SOA > 0) > > Picture display for [SOA] milliseconds > > Word display > > "Wait" object until response is made > > > > The problem is in the latter condition: RTs measured for the "Wait" > object > > underestimate the picture response latencies by (SOA) milliseconds. Is > > there a way to automatically correct these RTs in the datafile using an > > inline object? Or alternatively, is there an easy way to create a new > > variable (e.g. CorrectedRT) which is logged to the datafile? > > > > Thanks, > > David Vinson > > Dept of Psychology, University College London > > > > > > > > > From hhzainab at hotmail.com Sat Nov 2 13:55:35 2002 From: hhzainab at hotmail.com (zainab h.hussein) Date: Sat, 2 Nov 2002 13:55:35 +0000 Subject: visual stimulus Message-ID: An HTML attachment was scrubbed... URL: From hhzainab at hotmail.com Sat Nov 2 13:56:27 2002 From: hhzainab at hotmail.com (zainab h.hussein) Date: Sat, 2 Nov 2002 13:56:27 +0000 Subject: visual stimulus Message-ID: An HTML attachment was scrubbed... URL: From hhzainab at hotmail.com Sun Nov 3 08:10:01 2002 From: hhzainab at hotmail.com (zainab h.hussein) Date: Sun, 3 Nov 2002 08:10:01 +0000 Subject: forperiod duration Message-ID: An HTML attachment was scrubbed... URL: From hhzainab at hotmail.com Sun Nov 3 08:12:21 2002 From: hhzainab at hotmail.com (zainab h.hussein) Date: Sun, 3 Nov 2002 08:12:21 +0000 Subject: warning signal Message-ID: An HTML attachment was scrubbed... URL: From hhzainab at hotmail.com Sun Nov 3 08:24:23 2002 From: hhzainab at hotmail.com (zainab h.hussein) Date: Sun, 3 Nov 2002 08:24:23 +0000 Subject: font problem Message-ID: An HTML attachment was scrubbed... URL: From hhzainab at hotmail.com Sun Nov 3 08:29:07 2002 From: hhzainab at hotmail.com (zainab h.hussein) Date: Sun, 3 Nov 2002 08:29:07 +0000 Subject: background Message-ID: An HTML attachment was scrubbed... URL: From hhzainab at hotmail.com Sun Nov 3 08:27:45 2002 From: hhzainab at hotmail.com (zainab h.hussein) Date: Sun, 3 Nov 2002 08:27:45 +0000 Subject: visual angle Message-ID: An HTML attachment was scrubbed... URL: From hhzainab at hotmail.com Sun Nov 3 08:26:34 2002 From: hhzainab at hotmail.com (zainab h.hussein) Date: Sun, 3 Nov 2002 08:26:34 +0000 Subject: visual angle Message-ID: An HTML attachment was scrubbed... URL: From tracy.mitzner at psych.gatech.edu Wed Nov 6 21:00:14 2002 From: tracy.mitzner at psych.gatech.edu (Tracy Mitzner) Date: Wed, 6 Nov 2002 16:00:14 -0500 Subject: No subject Message-ID: hi, i'm trying to control the order of my block variable ("InstrictList") based on the session number. does anyone know what the correct inline statement would be and should the inline be placed before or after the block list? i want the 3rd list to always be presented 1st (i.e., session 1) and i want the 1st and 2nd lists to be counterbalanced (i.e., sessions 2 and 3). below is the inline statement i tried that isn't working... If "Session" = 1 Then c.GetAttrib ("InstructList") = 3 Else c.GetAttrib ("InstructList") = 1 or 2 End If thanks, tracy Tracy L. Mitzner, Ph.D. Post-Doctoral Fellow School of Psychology Georgia Institute of Technology Atlanta, GA 30332-0170 Tel:404-385-2690 Fax:404-894-8905 http://www.prism.gatech.edu/~wr43/hf_aging/index.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From susanc at andrew.cmu.edu Wed Nov 6 22:07:00 2002 From: susanc at andrew.cmu.edu (Susan Campbell) Date: Wed, 6 Nov 2002 17:07:00 -0500 Subject: Counterbalancing Part of a List [was Re: ] In-Reply-To: <5.1.1.5.2.20021106155528.00a24140@pop.mail.gatech.edu> Message-ID: I?m afraid that without looking at the structure of your experiment, I cannot figure out what the InLine here is supposed to do. As such, I?ve written two that do similar things in different contexts, neither one of which may match your experiment?s structure (if you?d like to send me a copy of the experiment, feel free to do so.). If I were to pick a structure for an experiment like this, I would use the second structure I explain here. --The first code sample assumes that you have a block list called BlockList, and that ?InstructList? is the name of an attribute, which is then used later to determine what list is nested. This structure would look something like this: -SessionProc -BlockList (1 row, with InstructList as a column) -TestProc -InLine1 -List2 (1 row, with [InstructList] in the Nested column) ?InstructList -Unreferenced E-Objects -one (the lists referenced above, since list names can?t be numbers) -two -three and InLine1 would be: If c.GetAttrib(?Session?) = ?1? Then BlockList.SetAttrib 1, ?InstructList?, ?three? Else If (CInt(c.GetAttrib(?Subject?))+CInt(c.GetAttrib(?Session?))) Mod 2 = 0 Then BlockList.SetAttrib 1, ?InstructList?, ?one? Else BlockList.SetAttrib 1, ?InstructList?, ?two? End If End If (The math here is a hack because I couldn?t figure out how to get it to counterbalance only two levels. Basically, if the Subject number and the Session number add to make an even number, set the list to 1, else set it to 2.) --The second, different structure assumes that you want to set which level of a list runs (on a global level). That structure would look like this: -SessionProc -InLine2 -InstructList (3 rows) -TestProc2 and InLine2 would be: If c.GetAttrib(?Session?) = ?1? Then Set InstructList.Order = ExplicitOrder (?3?) InstructList.Reset Else If (CInt(c.GetAttrib(?Subject?)) + CInt(c.GetAttrib(?Session?))) Mod 2 = 0 Then Set InstructList.Order = ExplicitOrder (?1?) InstructList.Reset Else Set InstructList.Order = ExplicitOrder (?2?) InstructList.Reset End If End If (The numbers here refer to which row of the list runs. For instance, in a list with three rows, Set List1.Order = ExplicitOrder(?1 2 3?) makes the list run in sequential order.) Sorry if this is sort of obscure and technical; I wasn?t sure exactly what you were looking for. Hope this helps, Susan Campbell STEP Project Carnegie Mellon On 11/6/02 16:00, "Tracy Mitzner" wrote: > hi, > i'm trying to control the order of my block variable ("InstrictList") based on > the session number. does anyone know what the correct inline statement would > be and should the inline be placed before or after the block list? i want the > 3rd list to always be presented 1st (i.e., session 1) and i want the 1st and > 2nd lists to be counterbalanced (i.e., sessions 2 and 3). below is the inline > statement i tried that isn't working... > > If "Session" = 1 Then > c.GetAttrib ("InstructList") = 3 > Else > c.GetAttrib ("InstructList") = 1 or 2 > End If > > > thanks, > tracy > > > > > Tracy L. Mitzner, Ph.D. > Post-Doctoral Fellow > School of Psychology > Georgia Institute of Technology > Atlanta, GA 30332-0170 > Tel:404-385-2690 > Fax:404-894-8905 > http://www.prism.gatech.edu/~wr43/hf_aging/index.html From tracy.mitzner at psych.gatech.edu Thu Nov 7 16:31:26 2002 From: tracy.mitzner at psych.gatech.edu (Tracy Mitzner) Date: Thu, 7 Nov 2002 11:31:26 -0500 Subject: No subject Message-ID: hi, i'd like to present a stimulus for a minimum of 30 seconds with no limit on the maximum presentation time (i.e., infinite), with a key press terminating the slide anytime after 30 seconds. i thought the following property input/duration settings should work, but the slide terminates after 30 seconds instead of giving the opportunity to view longer. duration = 30000 allowable = {ENTER} time limit = infinite timing mode = event any suggestions would be much appreciated. thanks, tracy From d.vinson at ucl.ac.uk Thu Nov 7 16:43:20 2002 From: d.vinson at ucl.ac.uk (David Vinson) Date: Thu, 7 Nov 2002 16:43:20 +0000 Subject: stimulus with minimum duration 30sec In-Reply-To: <5.1.1.5.2.20021107112209.00a93ec0@pop.mail.gatech.edu> Message-ID: At 11:31 07/11/02 -0500, Tracy Mitzner wrote: >i'd like to present a stimulus for a minimum of 30 seconds with no limit >on the maximum presentation time (i.e., infinite), with a key press >terminating the slide anytime after 30 seconds. What about making this presentation into two events? 1. presenting the stimulus for 30sec, terminating at the end of that duration only and not permitting a keypress, 2. waiting for a keypress input (duration -1)? If it suits your experimental design, event 2 could display some sort of prompt while the stimulus from event 1 remains on screen. hth, david From catherine at psych.utoronto.ca Mon Nov 11 16:50:49 2002 From: catherine at psych.utoronto.ca (Ortner Catherine) Date: Mon, 11 Nov 2002 11:50:49 -0500 Subject: Setting mouse response options In-Reply-To: Message-ID: Hi All, I would very much appreciate some help with the following problem: I have an experiment where participants have to click on an appropriate part of the screen to make their response. There are two boxes (called 'Left' and 'Right') on the screen where they can respond (one correct, the other incorrect). I have managed to get this working - left and right are text boxes in a slide display and are set as attributes in the List. My problem is how to make these boxes the only allowable responses, i.e. if they click anywhere else on the screen, nothing should happen. I have tried putting [Left][Right] in the Allowable response box in the Properties page of the display. however, when I do this, I get an error: Run-time Error (Line 178) 10003: Internal Error accessing string argument when I try to run the experiment. I have also tried using an inline script (where LeftSD is the name of my stimulus display): LeftSD.InputMasks.Add Mouse.CreateInputMask(c.GetAttrib("Left") &_ c.GetAttrib("Right"), "", CLng(LeftSD.Duration), CLng("1"), _ ebEndResponseActionTerminate, CLogical("Yes"), "", "", "") but get the same error when I run the experiment. I don't know why this doesn't work, as according to the manual, an attribute reference can count as an allowable response. Any suggestions as to how to deal with this would be much appreciated! Thanks very much, Catherine Ortner ************************** Doctoral Candidate Department of Psychology 100 St George Street University of Toronto Toronto, Ontario M5S 3G3 Tel: 416 978 5464 From latto at liverpool.ac.uk Tue Nov 12 11:10:57 2002 From: latto at liverpool.ac.uk (Richard Latto) Date: Tue, 12 Nov 2002 11:10:57 -0000 Subject: Random location Message-ID: Dear all, I want picture stimuli, drawn from a set of bitmap files, to appear in one of five random, but identified in the response record, locations on the screen: up, down, left, right, centre. Can anyone point me in the right direction for doing this. Thanks, Richard Latto ----------------------------- Dr.R.M.Latto Department of Psychology University of Liverpool Eleanor Rathbone Building Bedford Street South Liverpool L69 7ZA U.K. Telephone: ++ 44 (0) 151 794 2956 Facsimile: ++ 44 (0) 151 794 2945 Web: http://www.liv.ac.uk/Psychology/DeptInfo/StaffProfile/RMLatto.html From anthony.zuccolotto at pstnet.com Tue Nov 12 13:37:31 2002 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Tue, 12 Nov 2002 08:37:31 -0500 Subject: Random location Message-ID: Richard, The easiest way to do this is to use a Slide object and create 5 different tabs on the Slide and name them up, down, left, right, centre. Add an image on each tab of the Slide at the desired position (i.e. that matches up with the name). You then create an attribute on your list (e.g. Position) and set its values to up, down, left, right, centre. Set the ActiveState property of the Slide to "[Position]" to have the Slide choose which tab to show at runtime. Hope that helps, Tony *** DISCLAIMER: VIEWS EXPRESSED ARE MY OWN AND DO NOT NECESSARILY REFLECT THOSE OF MY EMPLOYER *** Anthony P. Zuccolotto Vice President of Operations 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: Richard Latto [mailto:latto at liverpool.ac.uk] > Sent: Tuesday, November 12, 2002 6:11 AM > To: Eprime user group > Subject: Random location > > Dear all, > I want picture stimuli, drawn from a set of bitmap files, to appear in one > of five random, but identified in the response record, locations on the > screen: up, down, left, right, centre. > Can anyone point me in the right direction for doing this. > Thanks, > Richard Latto > > ----------------------------- > Dr.R.M.Latto > Department of Psychology > University of Liverpool > Eleanor Rathbone Building > Bedford Street South > Liverpool > L69 7ZA > U.K. > > Telephone: ++ 44 (0) 151 794 2956 > Facsimile: ++ 44 (0) 151 794 2945 > > Web: http://www.liv.ac.uk/Psychology/DeptInfo/StaffProfile/RMLatto.html > From ftornay at ugr.es Tue Nov 12 16:23:46 2002 From: ftornay at ugr.es (Francisco Tornay) Date: Tue, 12 Nov 2002 17:23:46 +0100 Subject: Random location Message-ID: At 08:37 12/11/02 -0500, you wrote: >Richard, > >The easiest way to do this is to use a Slide object and create 5 >different tabs on the Slide and name them up, down, left, right, centre. >Add an image on each tab of the Slide at the desired position (i.e. that >matches up with the name). You then create an attribute on your list >(e.g. Position) and set its values to up, down, left, right, centre. >Set the ActiveState property of the Slide to "[Position]" to have the >Slide choose which tab to show at runtime. Another solution: Go to the frame tab in the properties page of your imagedisplay object. Change the width and height properties so that they match the width and height of your images. Then change the X and Y properties to appropriate attributes. For instance you may write [XPosition] in the X property and [YPosition] in the Y property. Then go to your list object and set up the two attributes XPosition and YPosition. For instance you may have the following list: XPosition YPosition Location 50% 50% Center 25% 50% Left 75% 50% Right 50% 25% Up 50% 75% Down We have done something similar (with textdisplay objects) in order to program a costs and benefits paradigm. Feel free to ask for more information if necessary. Hope this helps. Francisco Tornay From ftornay at ugr.es Tue Nov 12 16:24:49 2002 From: ftornay at ugr.es (Francisco Tornay) Date: Tue, 12 Nov 2002 17:24:49 +0100 Subject: Setting mouse response options Message-ID: At 11:50 11/11/02 -0500, you wrote: >Hi All, >I would very much appreciate some help with the following problem: >I have an experiment where participants have to click on an appropriate >part of the screen to make their response. There are two boxes (called >'Left' and 'Right') >on the screen where they can respond (one correct, the other incorrect). >I have managed to get this working - left and right are text boxes in a >slide display and are set as attributes in the List. My problem is how to >make these boxes the only allowable responses, i.e. if they click >anywhere else on the screen, nothing should happen. >I have tried putting [Left][Right] in the Allowable response box in the >Properties page of the display. however, when I do this, I get an error: [snip] Try this: dim rdMouse as MouseResponseData dim strhit as string Set rdMouse = CMouseResponseData(Slide1.InputMasks.Item(1).Responses(1)) strhit = Slide1.states("default").hittest(rdMouse.Cursorx, rdMouse.CursorY) if strhit = "" then goto again 'Add code to handle the mouse response I am assuming that 1) the name of your slide object is slide1 2) the name of the slidestate object is default 3) The first inputmask is that of the mouse 4) you have a label called "again" before the slide object, so that the "goto again" line takes you back to the beginning of the trial Hope this helps Francisco Tornay From anthony.zuccolotto at pstnet.com Tue Nov 12 16:52:33 2002 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Tue, 12 Nov 2002 11:52:33 -0500 Subject: Random location Message-ID: Norman, E-Prime has a random number generator built in which all List objects within an experiment use automatically, so typically you don't have to worry about it and you just setup whatever List you are using to sample randomly and it will randomize your stimuli. If you need some type of "custom randomization" (e.g. an ordering that is perhaps "tuned on the fly") then you can do that through some scripting in an Inline object. Under this scenario you can use the ExplicitOrder object, construct a string that represents the ordering of all the exemplars you want to use, and then have the List object use the ExplicitOrder object it at runtime. Note, that ExplicitOrder object is available only via script but a simple example is shown in the E-Basic help to outline how to use it. Alternatively you could write out a file at runtime and have the List object load the stimuli dynamically (i.e. you can read a list of stimuli, set a specific ordering through whatever algorithm you choose, write the list to a file on disk, and then have the List object read in the stimuli before it runs and present them in sequential order). If you just need to generate a random number between two integer limits you can use the Random(min,max) function. If you want direct access to the built in Pseudo Random Number Generator you can use the methods of the PRNG object to generate random numbers in the range of 0.0 to 1.0. If all else fails you can theoretically implement your own random number generator by expressing/implementing the algorithm in E-Basic. The only limitation currently is that you cannot directly replace the PRNG object (although that feature is being considered for a future version of E-Prime). If for some reason the E-Basic language was insufficient to express the algorithm you wish to use (which highly unlikely), you can always create a DLL (using C/C++ or a language of your choosing) and then use the DECLARE statement to make the external routine callable by E-Basic script at runtime. You should be able to get more information about all of the object and functions mentioned above via the E-Basic Help. Regards, Tony *** DISCLAIMER: VIEWS EXPRESSED ARE MY OWN AND DO NOT NECESSARILY REFLECT THOSE OF MY EMPLOYER *** Anthony P. Zuccolotto Vice President of Operations 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: Norman E. Kinney [mailto:norm at kinney.semo.edu] > Sent: Tuesday, November 12, 2002 9:03 AM > To: Tony Zuccolotto > Subject: RE: Random location > > Tony - how would you set up a random number generator in e-prime? Thanks. > > From ftornay at ugr.es Wed Nov 13 16:26:49 2002 From: ftornay at ugr.es (Francisco Tornay) Date: Wed, 13 Nov 2002 17:26:49 +0100 Subject: forperiod duration In-Reply-To: Message-ID: At 08:10 03/11/02 +0000, you wrote: > I want to ask how to create a range of duration. I have an exp. with > fixed duration of foreperiod ( 500 ms) and another exp. with rondom > duration of foreperiod ( 100 &500 &1000ms) these two condition I could > create it but I have another condition with range of durration ( from100 > to 200 or from 250 to 500 an so on) if you please tell me how to create it? Let's assume that the name of your stimulus (textdisplay, imagedisplay or whatever) is stimulus You could add an inline before the object with the following code: dim randomDuration as long randomDuration = random(100, 200) 'or whatever values you have c.setattrib "RandomForeperiod", randomDuration stimulus.duration = randomDuration 'In our lab we have done something similar and it has worked. the c.setattrib line create an attribute called "RandomForeperiod" which would contain the random duration. If you have any problem, feel free to ask. Francisco Tornay From carne006 at umn.edu Wed Nov 13 17:39:29 2002 From: carne006 at umn.edu (Edward Carney) Date: Wed, 13 Nov 2002 11:39:29 -0600 Subject: Touch screen Message-ID: We've got a touch screen monitor with an Intellitouch controller and software from ELO. My recollection was that in beta versions of e-prime I was able to get the software to recognize the "mouse clicks" from the touch screen by setting the mouse device to "Emulate" instead of "Direct". It no longer seems to work. Is there something I'm missing here? Thanks, Edward Carney Research Associate Univ. of Minnesota From ftornay at ugr.es Thu Nov 14 19:28:18 2002 From: ftornay at ugr.es (Francisco Tornay) Date: Thu, 14 Nov 2002 20:28:18 +0100 Subject: Setting mouse response options Message-ID: Hi all, You may remember that Catherine Ortner submitted to this group a question about setting response mouse option. I came up with one solution: repeating the slide object while no allowable zone was clicked by jumping to a label before the slide object. However, I later told Catherine a possible drawback. Every time you run a new instance of the the slide object and, therefore, reset the RT counter. I wrote to Catherine about a possible way around the difficulty. Now I'm submitting the solution to the group, so that you all can check it and decide whether I did something wrong (I hope not). Thank you in advance. This is what I wrote to Catherine: One solution is to keep a running sum of the different RTs calculated at each repetition of the slide object. One should also take into account the time elapsed during the inline processing that decides whether or not repeat the slide. This may be confusing. I would advise you to do the following: a) go to the user tab in the script window and declare new variables: 'Variables to calculate the real RT dim lngCurrentTime as long dim lngAccRT as long b) insert a new inline object before the "again" label with the following line: lngAccRT = 0 'Resets the accumulated time c) Modify the inline object after the slide object this way (I am calling the slide object "stimulus" and the slidestatus "default", change them to the names you are using). ' Calculate the current time lngCurrentTime = clock.readmillisec 'Variable that stores the mouse response dim rdMouse as MouseResponseData 'Variable that stores the clicked area dim strhit as string ' Determine the clicked area (Right, Left or none) Set rdMouse = CMouseResponseData(Stimulus.InputMasks.Item(1).Responses(1)) strhit = Stimulus.states("default").hittest(rdMouse.CursorX, rdMouse.CursorY) 'If you get an empty string no allowable area was selected if strhit = "" then 'In that case accumulate the elapsed RT along with the time taken so far by this inline lngAccRT = lngAccRT + Stimulus.RT - lngCurrentTime + clock.readmillisec 'and repeat the slide object goto again end if 'If you get here it's because an allowable zone was clicked 'So handle the mouse response. This is an example, if you have already written the code 'you don't need to change it. I am assuming that the name of the current correct area is stored 'in the "CorrectAnswer" attribute, which contains either Left or Right if strhit = c.getattrib("CorrectAnswer") then Stimulus.acc = 1 else Stimulus.acc = 0 end if 'Now you may want to store the clicked area in an attribute c.setattrib "SlideResponse", strhit 'This line would store the right reaction time in a new attribute called "RealSlideRT" 'You should use this variable rather than stimulus.RT for analysis. c.setattrib "RealSlideRT", lngAccRT + Stimulus.RT Try this several times and play a little with the RT and the responses you make. Then compare the stimulus.RT and the RealSlideRT variables. You have to decide whether the results are trustworthy (they should be). You also may want to use the right reaction time for feedback by writing [RealSlideRT] instead of @RT. By using both while you are checking this you can see what's going on a trial by trial basis. If you have any problem feel free to ask Francisco From anthony.zuccolotto at pstnet.com Tue Nov 19 14:14:53 2002 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Tue, 19 Nov 2002 09:14:53 -0500 Subject: Random location Message-ID: Richard, It sounds like you should take a close look at the NestingRT sample experiment and read up on Nesting in the User's Guide. Nesting allows you to sample from multiple lists when a row of a list is selected, i.e. sample trial conditions randomly and then likewise randomly sample from stimulus lists in each condition. The NestingRT example uses lists of words and nonwords, but demonstrates the mechanism of nesting well. The use of nesting for stimulus sampling is one of the more unique and powerful features of E-Prime and once you understand how it works you can use it to setup complex sampling constraints and algorithms typically without going to script. If you need to sample multiple times within a trial from the same list then you use the "colon syntax" on the attribute reference (which is also demonstrated in the NestingRT example). Take a look at the example and then perhaps repost with a description of what you tried. Thanks, Tony *** DISCLAIMER: VIEWS EXPRESSED ARE MY OWN AND DO NOT NECESSARILY REFLECT THOSE OF MY EMPLOYER *** Anthony P. Zuccolotto Vice President of Operations 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: Richard Latto [mailto:latto at liverpool.ac.uk] > Sent: Tuesday, November 19, 2002 5:22 AM > To: Tony Zuccolotto > Subject: RE: Random location > > Tony, > Thanks for your help on this. > We've set up a slide object with a tab for each position and set the > active > state to [position]as you suggested. > This works well for one image occurriing randomly in the five positions. > However, we need to present images drawn at random from a list of 10 > different stimuli at the different positions. > Any advice on how to do this? > Thanks, > Richard Latto > > --On 12 November 2002 08:37 -0500 Tony Zuccolotto > wrote: > > > Richard, > > > > The easiest way to do this is to use a Slide object and create 5 > > different tabs on the Slide and name them up, down, left, right, centre. > > Add an image on each tab of the Slide at the desired position (i.e. that > > matches up with the name). You then create an attribute on your list > > (e.g. Position) and set its values to up, down, left, right, centre. > > Set the ActiveState property of the Slide to "[Position]" to have the > > Slide choose which tab to show at runtime. > > > > Hope that helps, > > Tony > > > > *** DISCLAIMER: VIEWS EXPRESSED ARE MY OWN AND DO NOT NECESSARILY > > REFLECT THOSE OF MY EMPLOYER *** > > Anthony P. Zuccolotto > > Vice President of Operations > > 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: Richard Latto [mailto:latto at liverpool.ac.uk] > >> Sent: Tuesday, November 12, 2002 6:11 AM > >> To: Eprime user group > >> Subject: Random location > >> > >> Dear all, > >> I want picture stimuli, drawn from a set of bitmap files, to appear in > > one > >> of five random, but identified in the response record, locations on > > the > >> screen: up, down, left, right, centre. > >> Can anyone point me in the right direction for doing this. > >> Thanks, > >> Richard Latto > >> > >> ----------------------------- > >> Dr.R.M.Latto > >> Department of Psychology > >> University of Liverpool > >> Eleanor Rathbone Building > >> Bedford Street South > >> Liverpool > >> L69 7ZA > >> U.K. > >> > >> Telephone: ++ 44 (0) 151 794 2956 > >> Facsimile: ++ 44 (0) 151 794 2945 > >> > >> Web: > > http://www.liv.ac.uk/Psychology/DeptInfo/StaffProfile/RMLatto.html > >> > > > > > > > > ----------------------------- > Dr.R.M.Latto > Department of Psychology > University of Liverpool > Eleanor Rathbone Building > Bedford Street South > Liverpool > L69 7ZA > U.K. > > Telephone: ++ 44 (0) 151 794 2956 > Facsimile: ++ 44 (0) 151 794 2945 > > Web: http://www.liv.ac.uk/Psychology/DeptInfo/StaffProfile/RMLatto.html From tay at psych.purdue.edu Wed Nov 20 03:25:03 2002 From: tay at psych.purdue.edu (tay) Date: Tue, 19 Nov 2002 22:25:03 -0500 Subject: MsgBox during Slide Message-ID: Hi there, I am wondering if someone might be able to give me a few suggestions. I have numerous slides, each of which contain a simple math problem set to echo the response. The slides are timed to stay on the screen for 10 seconds, at which time the next screen appears. The user is to type in her or his response to the math problem and then wait for the following screen. I would like to have a message box come up if an impatient user presses the ENTER key before the 10 seconds have elapsed. However, I also need to have it so that after the user presses the "OK" on the message box, the original math problem slide is still on the screen. In other words, if the user presses the ENTER key at any time prior to the 10 seconds, a message box pops up, the user presses "OK", the math slide remains on the screen, and the time continues to count down the 10 seconds. I hope I've made my question clear enough. Any, and all, suggestions will be greatly appreciated. Thanks! Tay Hack -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.vinson at ucl.ac.uk Mon Nov 25 10:56:04 2002 From: d.vinson at ucl.ac.uk (David Vinson) Date: Mon, 25 Nov 2002 10:56:04 +0000 Subject: Correcting RTs for positive SOAs (picture word interference) In-Reply-To: <002101c29044$6a3f3ba0$89fed380@resnet.purdue.edu> Message-ID: Hello all, I am wondering if anyone can help me out with a small design problem. We are carrying out a picture-word interference experiment, and are manipulating SOA between the picture and word displayed. We always want to measure RT from the picture onset. If SOA < 0, the word is displayed before the picture, if SOA > 0, the word is displayed after the picture. We currently use conditional branching to determine the order in which these items are displayed, and collect RTs from an empty "Wait" object that immediately follows the last-presented object: (SOA < 0) Word display for [-SOA] milliseconds Picture display "Wait" object until response is made (SOA > 0) Picture display for [SOA] milliseconds Word display "Wait" object until response is made The problem is in the latter condition: RTs measured for the "Wait" object underestimate the picture response latencies by (SOA) milliseconds. Is there a way to automatically correct these RTs in the datafile using an inline object? Or alternatively, is there an easy way to create a new variable (e.g. CorrectedRT) which is logged to the datafile? Thanks, David Vinson Dept of Psychology, University College London From susanc at andrew.cmu.edu Mon Nov 25 21:00:19 2002 From: susanc at andrew.cmu.edu (Susan Campbell) Date: Mon, 25 Nov 2002 16:00:19 -0500 Subject: Correcting RTs for positive SOAs (picture word interference) In-Reply-To: <5.0.0.25.0.20021125104215.024a1510@pop-server.bcc.ac.uk> Message-ID: It is possible to correct the RT immediately after the response each time, and it appears to be relatively straightforward. After the Wait object is presented, you could do the following in an Inline: Get the SOA If the SOA is positive, Wait.RT = Wait.RT + SOA For an example of something similar, you can look at the script from http://step.psy.cmu.edu/scripts/Attention/Pashler1992.html Hope this helps, Susan Campbell STEP Project Carnegie Mellon On Mon, 25 Nov 2002, David Vinson wrote: > Hello all, > > I am wondering if anyone can help me out with a small design problem. We > are carrying out a picture-word interference experiment, and are > manipulating SOA between the picture and word displayed. We always want to > measure RT from the picture onset. > > If SOA < 0, the word is displayed before the picture, if SOA > 0, the word > is displayed after the picture. We currently use conditional branching to > determine the order in which these items are displayed, and collect RTs > from an empty "Wait" object that immediately follows the last-presented object: > > (SOA < 0) > Word display for [-SOA] milliseconds > Picture display > "Wait" object until response is made > > (SOA > 0) > Picture display for [SOA] milliseconds > Word display > "Wait" object until response is made > > The problem is in the latter condition: RTs measured for the "Wait" object > underestimate the picture response latencies by (SOA) milliseconds. Is > there a way to automatically correct these RTs in the datafile using an > inline object? Or alternatively, is there an easy way to create a new > variable (e.g. CorrectedRT) which is logged to the datafile? > > Thanks, > David Vinson > Dept of Psychology, University College London > > > > From anthony.zuccolotto at pstnet.com Mon Nov 25 21:22:59 2002 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Mon, 25 Nov 2002 16:22:59 -0500 Subject: Correcting RTs for positive SOAs (picture word interference) Message-ID: ...just to be complete you may also want to update the Wait.RTTime property as well, e.g. x.RT indicates the # of msec from the onset of the stimulus and x.RTTime indicates the # of msec that have elapsed since the beginning of the experiment. Tony *** DISCLAIMER: VIEWS EXPRESSED ARE MY OWN AND DO NOT NECESSARILY REFLECT THOSE OF MY EMPLOYER *** Anthony P. Zuccolotto Vice President of Operations 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: Susan Campbell [mailto:susanc at andrew.cmu.edu] > Sent: Monday, November 25, 2002 4:00 PM > To: David Vinson > Cc: eprime > Subject: Re: Correcting RTs for positive SOAs (picture word interference) > > It is possible to correct the RT immediately after the response each time, > and it appears to be relatively straightforward. > > After the Wait object is presented, you could do the following in an > Inline: > Get the SOA > If the SOA is positive, > Wait.RT = Wait.RT + SOA > > For an example of something similar, you can look at the script from > http://step.psy.cmu.edu/scripts/Attention/Pashler1992.html > > Hope this helps, > Susan Campbell > STEP Project > Carnegie Mellon > > On Mon, 25 Nov 2002, David Vinson wrote: > > > Hello all, > > > > I am wondering if anyone can help me out with a small design problem. > We > > are carrying out a picture-word interference experiment, and are > > manipulating SOA between the picture and word displayed. We always want > to > > measure RT from the picture onset. > > > > If SOA < 0, the word is displayed before the picture, if SOA > 0, the > word > > is displayed after the picture. We currently use conditional branching > to > > determine the order in which these items are displayed, and collect RTs > > from an empty "Wait" object that immediately follows the last-presented > object: > > > > (SOA < 0) > > Word display for [-SOA] milliseconds > > Picture display > > "Wait" object until response is made > > > > (SOA > 0) > > Picture display for [SOA] milliseconds > > Word display > > "Wait" object until response is made > > > > The problem is in the latter condition: RTs measured for the "Wait" > object > > underestimate the picture response latencies by (SOA) milliseconds. Is > > there a way to automatically correct these RTs in the datafile using an > > inline object? Or alternatively, is there an easy way to create a new > > variable (e.g. CorrectedRT) which is logged to the datafile? > > > > Thanks, > > David Vinson > > Dept of Psychology, University College London > > > > > > > > >