From gosenbach at gmail.com Sun Mar 1 14:33:03 2009 From: gosenbach at gmail.com (Greg Osenbach) Date: Sun, 1 Mar 2009 09:33:03 -0500 Subject: Response to a slide In-Reply-To: <49A6A342.2030100@msu.edu> Message-ID: David, That method worked great. Thanks for the suggestion! Best Regards, Greg On Thu, Feb 26, 2009 at 9:12 AM, David McFarlane wrote: > > Greg, > > > I have a slide that I am looping through (time out at 100ms). Each time > > I change one of the values on the slide (random number). The subject is > > supposed to press a key to stop it and then I do some calculations with > > what ever the random number was at the time. I would like the subject > > to do this with the space bar. When I set the allowable response to > > {SPACE} and my inline do a check: If Slide1.RESP = " " and I have also > > tries If Slide1.RESP = chr(32), it does not work. If I set the > > allowable response to 1 and do the check If Slide1.RESP = "1", It works > > perfectly. I would think that I need something in my if statement other > > than " " or chr(32). > > > > Anyone have any ideas? Thanks. > > BTW, if I were looping through a slide and just wanted to stop when the > subject responds to any presentation, I might try another EP trick. > Instead of even getting a response to each slide presentation, I might > put a Wait object (let's call it ResponseWait) before my slide loop. I > would make its Duration 0, set it collect my desired response, and > (here's the key) set Time Limit to "(infinite)" or the max duration of > my slide loop. The PST User's Guide calls this Extended Input, see the > much overlooked Appendix C. I would probably also set its End Action to > Terminate so that it will terminate the current slide when the subject > responds, unless I wanted to allow the final slide to time-out on its > own. Anyway, then in my script or whatever I would just test for a > response to ResponseWait instead of my slides. > > I really don't know if this makes things any better in your case, but I > had an experiment where this technique solved a lot of problems. > > -- David McFarlane, Professional Faultfinder > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From giovanni.ottoboni at gmail.com Mon Mar 2 13:15:38 2009 From: giovanni.ottoboni at gmail.com (GioOtto) Date: Mon, 2 Mar 2009 05:15:38 -0800 Subject: once per trial Message-ID: I have designed a loop where some image are presented. I need to insert in the loop a sound. I need to present it once per trial and not associated to a specific image, otherwise it will be presented anytime that image is loaded. Anyone has some tips? Many thanks GO --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From tnsaffell at gmail.com Tue Mar 3 16:41:25 2009 From: tnsaffell at gmail.com (TN) Date: Tue, 3 Mar 2009 08:41:25 -0800 Subject: loading external files into Lists - examples or potential solutions? Message-ID: Hi, I was wondering if anybody had an example or could please point me to an example of an E-Prime (v2 preferably) program which loads external files into List. For my program, we are trying to load different variable values for various variable. I have found where you tell Eprime to load the file (in List, go to "Property Page," General Tab) but I cannot seem to create a file that will load. I tried a .xml and a .csv - both created by excel. I don't think EprimV2 likes .csv and the .xml file had errors. I put in the necessary Column headers (weight, nested, procedure) but it errored on the "Procedure" column. It claimed my Procedure name was not valid, even though I could see that particular Trial Procedure directly under the List in the program. I'm not limited to using .xml or .csv files - that's just where my previous research lead me. I am stuck, have looked through some online examples, EPrime's support forum and have glanced through the manuals but haven't found any solutions. I would be grateful for any help or examples. Thanks, ~Tiffany --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From gosenbach at gmail.com Tue Mar 3 16:46:28 2009 From: gosenbach at gmail.com (Greg Osenbach) Date: Tue, 3 Mar 2009 11:46:28 -0500 Subject: loading external files into Lists - examples or potential solutions? In-Reply-To: <50c097fe-9cc6-4a9e-9b9f-c0c56f685536@d2g2000pra.googlegroups.com> Message-ID: Tiffany, I have been doing this with Tab Delineated Text Files (v.s. .CSV) and it has been working fine for me. There is an example in the E-Basic help file under the Factor.Load Method. Factor.Load (method)Factor.Load (method) Syntax Factor.Load Description Loads the attribute and level data into the Factor object. Comments Factor.Load applies only when Factor.LoadMethod = ebLoadMethodEmbedded or ebLoadMethodFile Example 'This example sets the List to be loaded from the file, 'and identifies the text file to be used. List1.LoadMethod = ebLoadMethodFile List1.Filename = "MyTextFile.txt" List1.Load 'Note: To run this example in E-BasicExample.es, copy the 'script above and paste it into the Setup InLine object. 'Create MyTextFile.txt as a tab-delimited text file containing 'attribute header information in the working directory. Good Luck, Greg On Tue, Mar 3, 2009 at 11:41 AM, TN wrote: > > Hi, > > I was wondering if anybody had an example or could please point me to > an example of an E-Prime (v2 preferably) program which loads external > files into List. > > For my program, we are trying to load different variable values for > various variable. I have found where you tell Eprime to load the > file (in List, go to "Property Page," General Tab) but I cannot seem > to create a file that will load. I tried a .xml and a .csv - both > created by excel. I don't think EprimV2 likes .csv and the .xml file > had errors. I put in the necessary Column headers (weight, nested, > procedure) but it errored on the "Procedure" column. It claimed my > Procedure name was not valid, even though I could see that particular > Trial Procedure directly under the List in the program. I'm not > limited to using .xml or .csv files - that's just where my previous > research lead me. > > I am stuck, have looked through some online examples, EPrime's support > forum and have glanced through the manuals but haven't found any > solutions. I would be grateful for any help or examples. > > Thanks, > ~Tiffany > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From gosenbach at gmail.com Tue Mar 3 16:47:33 2009 From: gosenbach at gmail.com (Greg Osenbach) Date: Tue, 3 Mar 2009 11:47:33 -0500 Subject: loading external files into Lists - examples or potential solutions? In-Reply-To: Message-ID: Oh, and as a side note, I also added in a List1.Reset as well. Best of luck, Greg On Tue, Mar 3, 2009 at 11:46 AM, Greg Osenbach wrote: > Tiffany, > > I have been doing this with Tab Delineated Text Files (v.s. .CSV) and it > has been working fine for me. There is an example in the E-Basic help file > under the Factor.Load Method. > > Factor.Load (method) > > > > Syntax > > Factor.Load > > Description > > Loads the attribute and level data into the Factor object. > > Comments > > Factor.Load applies only when Factor.LoadMethod = ebLoadMethodEmbedded or > ebLoadMethodFile > > Example > > 'This example sets the List to be loaded from the file, > 'and identifies the text file to be used. > > > > List1.LoadMethod = ebLoadMethodFile > > List1.Filename = "MyTextFile.txt" > > List1.Load > > > > 'Note: To run this example in E-BasicExample.es, copy the > 'script above and paste it into the Setup InLine object. > 'Create MyTextFile.txt as a tab-delimited text file containing > 'attribute header information in the working directory. > Good Luck, > Greg > > > On Tue, Mar 3, 2009 at 11:41 AM, TN wrote: > >> >> Hi, >> >> I was wondering if anybody had an example or could please point me to >> an example of an E-Prime (v2 preferably) program which loads external >> files into List. >> >> For my program, we are trying to load different variable values for >> various variable. I have found where you tell Eprime to load the >> file (in List, go to "Property Page," General Tab) but I cannot seem >> to create a file that will load. I tried a .xml and a .csv - both >> created by excel. I don't think EprimV2 likes .csv and the .xml file >> had errors. I put in the necessary Column headers (weight, nested, >> procedure) but it errored on the "Procedure" column. It claimed my >> Procedure name was not valid, even though I could see that particular >> Trial Procedure directly under the List in the program. I'm not >> limited to using .xml or .csv files - that's just where my previous >> research lead me. >> >> I am stuck, have looked through some online examples, EPrime's support >> forum and have glanced through the manuals but haven't found any >> solutions. I would be grateful for any help or examples. >> >> Thanks, >> ~Tiffany >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Mar 3 17:15:52 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 3 Mar 2009 12:15:52 -0500 Subject: loading external files into Lists - examples or potential solutions? In-Reply-To: Message-ID: BTW, this is easier to figure out in good old EP1. In EP1, using the default "Embedded" load method on a sample List, you could just scroll to the bottom of the generated script and see what the external file had to look like, and you could even copy & paste that into an external text file as a starting point. Regards, -- David McFarlane, Professional Faultfinder At 3/3/2009 11:47 AM Tuesday, Greg Osenbach wrote: >Oh, and as a side note, I also added in a List1.Reset as well. > >Best of luck, >Greg > >On Tue, Mar 3, 2009 at 11:46 AM, Greg Osenbach ><gosenbach at gmail.com> wrote: >Tiffany, > >I have been doing this with Tab Delineated Text Files (v.s. .CSV) >and it has been working fine for me. There is an example in the >E-Basic help file under the Factor.Load Method. > > > >Factor.Load (method) > > > > > >Syntax > >Factor.Load > >Description > >Loads the attribute and level data into the Factor object. > >Comments > >Factor.Load applies only when Factor.LoadMethod = >ebLoadMethodEmbedded or ebLoadMethodFile > >Example > >'This example sets the List to be loaded from the file, >'and identifies the text file to be used. > > > >List1.LoadMethod = ebLoadMethodFile > >List1.Filename = "MyTextFile.txt" > >List1.Load > > > >'Note: To run this example in E-BasicExample.es, copy the >'script above and paste it into the Setup InLine object. >'Create MyTextFile.txt as a tab-delimited text file containing >'attribute header information in the working directory. >Good Luck, >Greg > > >On Tue, Mar 3, 2009 at 11:41 AM, TN ><tnsaffell at gmail.com> wrote: > >Hi, > >I was wondering if anybody had an example or could please point me to >an example of an E-Prime (v2 preferably) program which loads external >files into List. > >For my program, we are trying to load different variable values for >various variable. I have found where you tell Eprime to load the >file (in List, go to "Property Page," General Tab) but I cannot seem >to create a file that will load. I tried a .xml and a .csv - both >created by excel. I don't think EprimV2 likes .csv and the .xml file >had errors. I put in the necessary Column headers (weight, nested, >procedure) but it errored on the "Procedure" column. It claimed my >Procedure name was not valid, even though I could see that particular >Trial Procedure directly under the List in the program. I'm not >limited to using .xml or .csv files - that's just where my previous >research lead me. > >I am stuck, have looked through some online examples, EPrime's support >forum and have glanced through the manuals but haven't found any >solutions. I would be grateful for any help or examples. > >Thanks, >~Tiffany --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From paulj at psy.uq.edu.au Tue Mar 3 20:53:08 2009 From: paulj at psy.uq.edu.au (Paul Jackson) Date: Wed, 4 Mar 2009 06:53:08 +1000 Subject: loading external files into Lists - examples or potential solutions? In-Reply-To: <50c097fe-9cc6-4a9e-9b9f-c0c56f685536@d2g2000pra.googlegroups.com> Message-ID: Here is a function that I use to load text files into a List. In this case the list is called lstTrials and it will only have 2 columns "TrialStimulus" and "TrialCorrectResponse". I have used variations on this function for over 5 years with no problems. Note that it can make the result file look a little messy because it creates a new list everythime it is run. I found that trying to use the same list can cause problems. This has only been testing in v1. Sub LoadBlockData(TempFilename as String) On Error GoTo E Dim LevelCount As Long Dim Count as Long Dim TrialStimulus As String Dim TrialCorrectResponse As Long If FileExists(TempFilename) = False Then Err.Raise 1001,,"Cannot find file '" & TempFilename & "'" End If LevelCount=0 Set listTrials = New List 'listTrials.Name="listTrial" listTrials.AddAttrib "TrialStimulus" listTrials.AddAttrib "TrialCorrectResponse" Open TempFilename For Input As #1 Do While Not EOF(1) TrialStimulus="-1" TrialCorrectResponse=-1 Input #1, TrialCorrectResponse, TrialStimulus If TrialCorrectResponse=-1 Then Err.Raise 1001,,"Incorrect Format, or Blank Line (expected TrialCorrectResponse value '0' or '1')" End If If TrialStimulus="-1" Then Err.Raise 1001,,"Incorrect Format, or Blank Line (expected TrialStimulus value)" End If LevelCount=LevelCount+1 If LevelCount>listTrials.Size Then listTrials.AddLevel LevelCount End If listTrials.SetProc LevelCount, "procTrial" listTrials.SetAttrib LevelCount, "TrialCorrectResponse", TrialCorrectResponse listTrials.SetAttrib LevelCount, "TrialStimulus", TrialStimulus 'LoadMessage Loop Close Set listTrials.TerminateCondition=Samples(listTrials.Size()) Set listTrials.ResetCondition=Samples(listTrials.Size()) Set listTrials.Order = SequentialOrder Exit Sub E: Close Err.Raise 1001,,"Loading Block File Data Failed." & ebcr & Err.Description & ebcr End Sub ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Paul R. Jackson Experimental Programmer School of Psychology University of Queensland E: paulj at psy.uq.edu.au P: 33656950 W: www.psy.uq.edu.au/~paulj ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On > Behalf Of TN > Sent: Wednesday, 4 March 2009 2:41 AM > To: E-Prime > Subject: loading external files into Lists - examples or potential > solutions? > > > Hi, > > I was wondering if anybody had an example or could please point me to > an example of an E-Prime (v2 preferably) program which loads external > files into List. > > For my program, we are trying to load different variable values for > various variable. I have found where you tell Eprime to load the > file (in List, go to "Property Page," General Tab) but I cannot seem > to create a file that will load. I tried a .xml and a .csv - both > created by excel. I don't think EprimV2 likes .csv and the .xml file > had errors. I put in the necessary Column headers (weight, nested, > procedure) but it errored on the "Procedure" column. It claimed my > Procedure name was not valid, even though I could see that particular > Trial Procedure directly under the List in the program. I'm not > limited to using .xml or .csv files - that's just where my previous > research lead me. > > I am stuck, have looked through some online examples, EPrime's support > forum and have glanced through the manuals but haven't found any > solutions. I would be grateful for any help or examples. > > Thanks, > ~Tiffany > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From tnsaffell at gmail.com Tue Mar 3 22:06:54 2009 From: tnsaffell at gmail.com (TN) Date: Tue, 3 Mar 2009 14:06:54 -0800 Subject: loading external files into Lists - examples or potential solutions? In-Reply-To: <50c097fe-9cc6-4a9e-9b9f-c0c56f685536@d2g2000pra.googlegroups.com> Message-ID: I just wanted to say "thank you" to everybody for your help. On Mar 3, 11:41 am, TN wrote: > Hi, > > I was wondering if anybody had an example or could please point me to > an example of an E-Prime (v2 preferably) program which loads external > files into List. > > For my program, we are trying to load different variable values for > various variable.   I have found where you tell Eprime to load the > file (in List, go to "Property Page," General Tab) but I cannot seem > to create a file that will load.  I tried a .xml and a .csv - both > created by excel.  I don't think EprimV2 likes .csv and the .xml file > had errors.  I put in the necessary Column headers (weight, nested, > procedure) but it errored on the "Procedure" column.  It claimed my > Procedure name was not valid, even though I could see that particular > Trial Procedure directly under the List in the program.  I'm not > limited to using .xml or .csv files - that's just where my previous > research lead me. > > I am stuck, have looked through some online examples, EPrime's support > forum and have glanced through the manuals but haven't found any > solutions.  I would be grateful for any help or examples. > > Thanks, > ~Tiffany --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From gosenbach at gmail.com Wed Mar 4 00:50:31 2009 From: gosenbach at gmail.com (Greg Osenbach) Date: Tue, 3 Mar 2009 19:50:31 -0500 Subject: Flashing text Message-ID: Does anyone out there know a good way to make text on a slide flash? I have several text items on a slide that gets looped through based on responses. For every item in the list the slide may be looped through up to 10 times before moving on to the next list item. One the the text objects on the page only change when moving to a new list entry. I would like to make the text flash once to notify the subject that that portion changed. I have though about setting up a small loop around the slide with some gotos and some labels and using SlideText1.ForeColor. Basically setting a boolean flag for FirstPass, changing the text color and setting the slide to time out for 400ms or something. then doing a check and if First Pass is True, change the text to black and then jump to a label above the slide and setting the timeout back to infinate. Again after the slide, check the flag and if false, then do not go back up to the label. This looks like a bit of a rube goldberg machine to me. There has got to be a simpler way. I just am not sure what it is. Ideas? Thanks, Greg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Mar 5 02:45:15 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 4 Mar 2009 21:45:15 -0500 Subject: Flashing text In-Reply-To: Message-ID: Greg, I think things are about as messy as you fear, but I hope someone else has a better answer (or you come up with one yourself and then enlighten the rest of us). I only want to remind you of a couple items that you may have already seen in your reading of the online E-Basic Help and that you might use as building blocks for your solution. It looks like you are thinking of fiddling with the properties of the slide sub-objects. If you do this in a script loop, then you might be able to use the slide .Draw method (as opposed to .Run) to just redraw the modified slide and not affect anything else. Even better, visual slide sub-objects have their own .Draw method, so perhaps you can use that in script to redraw just the relevant sub-object after making your changes. I have never explored any of this, so I would be interested to know if this works. As far as keeping track of the state of each sub-object, if you do not want to do that in variables or an array, you might try changing some property of the sub-object that has no visible effect for your slide, e.g., change .BackStyle from opaque to transparent, or change .BorderColor while leaving .BorderWidth at 0. Digging deeper, you can even make direct use of the Canvas object. In fact, when you think of it, all the visual objects are just shortcuts to the Canvas object (which in turn is a shortcut to the DisplayDevice object). So you can think of visual display objects in a hierarchy: the Slide object acts as a container for handling Text and Image objects, and Text and Image objects act as containers for the operations that they perform on a Canvas object. We can always do things directly on the Canvas, but that rather defeats the whole purpose of E-Prime, so I would generally discourage that. But for some situations that is the best solution. (Sorry for the didactic digression.) So yes, I might marshal these tools in some loop, whether looping with a List or inline script with an explicit Do...Loop (please do not use While...Wend, that went out with the Commodore 64). (Oh, and for something really whacky, you can split up the Do.. and the ..Loop in two inline script objects that surround some EP design objects in your Procedure, though so far I have never had to resort to that myself.) But after all that I get the feeling that I have missed your real question, because I think you already have the slide in a loop via a List object and know how to modify the properties you need, and you just want some help with the conditional structure. Sorry about that. -- David McFarlane, Professional Faultfinder On Tuesday 3 March 2009 at 7:50 p.m. Greg Osenbach wrote: > Does anyone out there know a good way to make text on a slide flash? I > have several text items on a slide that gets looped through based on > responses. For every item in the list the slide may be looped through > up to 10 times before moving on to the next list item. One the the text > objects on the page only change when moving to a new list entry. I > would like to make the text flash once to notify the subject that that > portion changed. > > I have though about setting up a small loop around the slide with some > gotos and some labels and using SlideText1.ForeColor. Basically setting > a boolean flag for FirstPass, changing the text color and setting the > slide to time out for 400ms or something. then doing a check and if > First Pass is True, change the text to black and then jump to a label > above the slide and setting the timeout back to infinate. Again after > the slide, check the flag and if false, then do not go back up to the label. > > This looks like a bit of a rube goldberg machine to me. There has got > to be a simpler way. I just am not sure what it is. > > Ideas? > > Thanks, > Greg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From D.Moore at bath.ac.uk Thu Mar 5 08:52:25 2009 From: D.Moore at bath.ac.uk (David Moore) Date: Thu, 5 Mar 2009 08:52:25 +0000 Subject: Switch task Message-ID: Dear list, I'm trying to design an attentional switching task. At present I have an allocation list which indicates to participants which task they are too perform and then the task nested below this. What I want to know is how to log a variable to indicate whether eprime has randomly allocated the same list again (repeat trial) or a different list (switch) at present there are only two tasks to perform. Thanks in advance. Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From gosenbach at gmail.com Thu Mar 5 11:03:01 2009 From: gosenbach at gmail.com (Greg Osenbach) Date: Thu, 5 Mar 2009 06:03:01 -0500 Subject: Flashing text In-Reply-To: <49AF3CBB.5040201@msu.edu> Message-ID: David, I was really hoping that there was some sort of SlideText.Blink or something easy that I missed. Oh well, I'll see what I can do and let you guys know what I come up with. Thanks, Greg On Wed, Mar 4, 2009 at 9:45 PM, David McFarlane wrote: > > Greg, > > I think things are about as messy as you fear, but I hope someone else > has a better answer (or you come up with one yourself and then enlighten > the rest of us). I only want to remind you of a couple items that you > may have already seen in your reading of the online E-Basic Help and > that you might use as building blocks for your solution. > > It looks like you are thinking of fiddling with the properties of the > slide sub-objects. If you do this in a script loop, then you might be > able to use the slide .Draw method (as opposed to .Run) to just redraw > the modified slide and not affect anything else. Even better, visual > slide sub-objects have their own .Draw method, so perhaps you can use > that in script to redraw just the relevant sub-object after making your > changes. I have never explored any of this, so I would be interested to > know if this works. As far as keeping track of the state of each > sub-object, if you do not want to do that in variables or an array, you > might try changing some property of the sub-object that has no visible > effect for your slide, e.g., change .BackStyle from opaque to > transparent, or change .BorderColor while leaving .BorderWidth at 0. > > Digging deeper, you can even make direct use of the Canvas object. In > fact, when you think of it, all the visual objects are just shortcuts to > the Canvas object (which in turn is a shortcut to the DisplayDevice > object). So you can think of visual display objects in a hierarchy: > the Slide object acts as a container for handling Text and Image > objects, and Text and Image objects act as containers for the operations > that they perform on a Canvas object. We can always do things directly > on the Canvas, but that rather defeats the whole purpose of E-Prime, so > I would generally discourage that. But for some situations that is the > best solution. (Sorry for the didactic digression.) > > So yes, I might marshal these tools in some loop, whether looping with a > List or inline script with an explicit Do...Loop (please do not use > While...Wend, that went out with the Commodore 64). (Oh, and for > something really whacky, you can split up the Do.. and the ..Loop in two > inline script objects that surround some EP design objects in your > Procedure, though so far I have never had to resort to that myself.) > > But after all that I get the feeling that I have missed your real > question, because I think you already have the slide in a loop via a > List object and know how to modify the properties you need, and you just > want some help with the conditional structure. Sorry about that. > > -- David McFarlane, Professional Faultfinder > > > On Tuesday 3 March 2009 at 7:50 p.m. Greg Osenbach wrote: > > Does anyone out there know a good way to make text on a slide flash? I > > have several text items on a slide that gets looped through based on > > responses. For every item in the list the slide may be looped through > > up to 10 times before moving on to the next list item. One the the text > > objects on the page only change when moving to a new list entry. I > > would like to make the text flash once to notify the subject that that > > portion changed. > > > > I have though about setting up a small loop around the slide with some > > gotos and some labels and using SlideText1.ForeColor. Basically setting > > a boolean flag for FirstPass, changing the text color and setting the > > slide to time out for 400ms or something. then doing a check and if > > First Pass is True, change the text to black and then jump to a label > > above the slide and setting the timeout back to infinate. Again after > > the slide, check the flag and if false, then do not go back up to the > label. > > > > This looks like a bit of a rube goldberg machine to me. There has got > > to be a simpler way. I just am not sure what it is. > > > > Ideas? > > > > Thanks, > > Greg > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From nyu.nirs at gmail.com Thu Mar 5 16:04:10 2009 From: nyu.nirs at gmail.com (nyu.nirs at gmail.com) Date: Thu, 5 Mar 2009 08:04:10 -0800 Subject: Create a experiment with dots appearing random on a screen Message-ID: Hi, we are trying to create an experiment in eprime where participants will see purple and green dots for 500 ms on a screen. Their job is to determine whether their was more purple or green dots presented to them. The dots will be various size, however, we do want the area covered (i.e. pixels) to be the same between the different colored dots even though you might see e.g. more purple dots than green. The maximum dots shown for each color is 15. We have tried to created the experiment for a while, however, we keep on running into a couple of issues. 1) The dots overlap each other 2) We have to manually make a list for each dot and then have it run random during the experiment, however, this is very tedious as we can have up to 32 dots and thus 32 list for a screen. Anyways, appreciate any help we can get. Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From sebastien.roffevidal at gmail.com Thu Mar 5 16:20:18 2009 From: sebastien.roffevidal at gmail.com (seb) Date: Thu, 5 Mar 2009 08:20:18 -0800 Subject: Looking for a software like Eprime but free Message-ID: Hi everyone and David McFarlane ;) I would like to built a sequence for fMRI but i don't have Eprime yet. Everyone knows a software likes Eprime but free to use??? Thanks a lot XXX --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From cintiablank at gmail.com Thu Mar 5 17:17:59 2009 From: cintiablank at gmail.com (Cintia Blank) Date: Thu, 5 Mar 2009 14:17:59 -0300 Subject: Looking for a software like Eprime but free In-Reply-To: <30f4cd5e-d85d-4491-bcf7-62d1f7424cb5@w34g2000yqm.googlegroups.com> Message-ID: hi, this is a very interessant question. Everyone knows? 2009/3/5 seb > > Hi everyone and David McFarlane ;) > > I would like to built a sequence for fMRI but i don't have Eprime yet. > Everyone knows a software likes Eprime but free to use??? > > Thanks a lot > > XXX > > > > -- Cintia Blank --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From cblais at berkeley.edu Thu Mar 5 18:35:58 2009 From: cblais at berkeley.edu (Chris Blais) Date: Thu, 5 Mar 2009 10:35:58 -0800 Subject: Looking for a software like Eprime but free In-Reply-To: <32211b010903050917s1946d563t5b53a6f04cca4b71@mail.gmail.com> Message-ID: You can try DMDX. Cintia Blank wrote: > hi, this is a very interessant question. Everyone knows? > > 2009/3/5 seb > > > > Hi everyone and David McFarlane ;) > > I would like to built a sequence for fMRI but i don't have Eprime yet. > Everyone knows a software likes Eprime but free to use??? > > Thanks a lot > > XXX > > > > > > -- > Cintia Blank > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Thu Mar 5 19:39:40 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 5 Mar 2009 14:39:40 -0500 Subject: Looking for a software like Eprime but free In-Reply-To: <49B01B8E.2080306@berkeley.edu> Message-ID: Sebastien, It depends in part on what you mean by "like E-Prime". Awhile back I did a web search and came up with a lot of behavioral task building systems, free & otherwise, and a lot of these seemed to amount to specialized subroutine libraries, which you may or may not consider "like E-Prime". If I can ever clear off my desk then I will look up those notes and post something more for you. For now the only thing that comes to my mind is Paradigm from Perception Research Systems, you may find it at http://www.perceptionresearchsystems.com . This product is free while still in beta (currently Beta6), when version 1.0 arrives then it will cost money. I do not know how well it works with fMRI, but you may contact the company, I can tell you from my own experience that the owner is very approachable. >You can try DMDX. Hmm, I had not discovered this one before. To spare others the the trouble of looking it up in Google, you can find DMDX at http://www.u.arizona.edu/~kforster/dmdx/dmdx.htm . If you need millisecond precision with a Windows system, make sure whatever you get uses DirectX, as discussed in documents from PST and DMDX, among others. Hope you find something, -- David McFarlane, Professional Faultfinder >Cintia Blank wrote: > > hi, this is a very interessant question. Everyone knows? > > > > 2009/3/5 seb > > > > > > > > Hi everyone and David McFarlane ;) > > > > I would like to built a sequence for fMRI but i don't have Eprime yet. > > Everyone knows a software likes Eprime but free to use??? > > > > Thanks a lot > > > > XXX --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Thu Mar 5 19:43:41 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 5 Mar 2009 14:43:41 -0500 Subject: Looking for a software like Eprime but free In-Reply-To: <30f4cd5e-d85d-4491-bcf7-62d1f7424cb5@w34g2000yqm.googlegro ups.com> Message-ID: Aha, I no sooner sent my last message than I found an old e-mail with the following link: http://www.psychology.org/links/Resources/Software That might give you some ideas. Please let us know what you find! -- David McFarlane, Professional Faultfinder >Hi everyone and David McFarlane ;) > >I would like to built a sequence for fMRI but i don't have Eprime yet. >Everyone knows a software likes Eprime but free to use??? > >Thanks a lot > >XXX --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Thu Mar 5 20:52:07 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 5 Mar 2009 15:52:07 -0500 Subject: Create a experiment with dots appearing random on a screen In-Reply-To: Message-ID: I recently contemplated this very problem while working on a spatial foraging task. I am still a long way from implementing my planned solution, so I have no code to show, but allow me to sketch out my strategy. In short, I plan to first divide the screen up into a number of non-overlapping zones. If I have at least as many zones as I have dots, then I can put each dot into a random position within its own zone, and that will guarantee that no dots overlap. Dots in adjacent zones might still touch each other and form "clumps", but if I wanted to avoid that then I would just add a limit to where each dot could go within its own zone. If I make exactly as many zones as dots, then the dots will disperse about the entire screen with some degree of jitter between the dots. If I want to allow for greater jitter across the screen, I could create more zones than dots. In that case I would put the zones into a list, shuffle the list, then pick the first nDots zones for my dots, and then put each dot in a random place within its zone (perhaps with a limit as described above to prevent dots from toucing). This would then allow some degree of clumping of dots across the screen. In fact if I were serious about this I would parameterize it all so that I could easily reuse and control the procedure, something like GrowLandscape( nItems, nZones, zoneBuffer ). Looking at this in a more theoretical and general way, we can separate the solution space into three domains, nZones < nDots, nZones = nDots, and nZones > nDots. nZones < nDots leaves the possibility of dots overlapping; nZones = nDots prevents overlapping dots and produces the most even dispersal of dots across the screen; and nZones > nDots also prevents overlapping dots, while allowing for greater jitter overall and the possibility of some clumping. In the limit, nZones = 1 is just your current situation and has the most problem with overlap, while nZones = nPixels prevents overlap while allowing for the greatest jitter and clumping. Sor for your puprposes I think you want nZones somewhere between nDots and nPixels. I hope this helps somewhat, at least I enjoyed documenting this for myself. I at least would be very interested to learn what you come up with, so please post back. -- David McFarlane, Professional Faultfinder >Hi, > >we are trying to create an experiment in eprime where participants >will see purple and green dots for 500 ms on a screen. Their job is to >determine whether their was more purple or green dots presented to >them. > >The dots will be various size, however, we do want the area covered >(i.e. pixels) to be the same between the different colored dots even >though you might see e.g. more purple dots than green. The maximum >dots shown for each color is 15. > >We have tried to created the experiment for a while, however, we keep >on running into a couple of issues. > >1) The dots overlap each other >2) We have to manually make a list for each dot and then have it run >random during the experiment, however, this is very tedious as we can >have up to 32 dots and thus 32 list for a screen. > >Anyways, appreciate any help we can get. > >Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From sebastien.roffevidal at gmail.com Fri Mar 6 10:58:20 2009 From: sebastien.roffevidal at gmail.com (=?ISO-8859-1?Q?S=E9bastien_Roffe=2Dvidal?=) Date: Fri, 6 Mar 2009 11:58:20 +0100 Subject: Looking for a software like Eprime but free In-Reply-To: <49b02b73.13bb720a.6efb.5713SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Hi I ve just looked to the Paradigm demo on http://www.perceptionresearchsystems.com and that is a really pleasant, and easy to use software. I m going to start with the demo. Thx so much 2009/3/5 David McFarlane : > > Aha, I no sooner sent my last message than I found an old e-mail with > the following link: > > http://www.psychology.org/links/Resources/Software > > That might give you some ideas.  Please let us know what you find! > > -- David McFarlane, Professional Faultfinder > > >>Hi everyone and David McFarlane ;) >> >>I would like to built a sequence for fMRI but i don't have Eprime yet. >>Everyone knows a software likes Eprime but free to use??? >> >>Thanks a lot >> >>XXX > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From kenyonboyd at gmail.com Fri Mar 6 16:12:51 2009 From: kenyonboyd at gmail.com (JKB) Date: Fri, 6 Mar 2009 08:12:51 -0800 Subject: I/O device driver error Message-ID: Hi all, Has anyone encountered the following error in E-Prime 2? "An error occurred while attempting to read from the Port I/O device driver" We're tracking participants' gaze while they read sentences displayed by a computer running E-Prime 2. E-Prime is setup to send markers through the parallel port to our eye-tracking computer, so that it knows when critical stimuli start and stop. The problem is that on about 25% of our subjects, E-Prime quits in the middle of the experiment and gives the above error. Any ideas? Thanks, JKB --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Fri Mar 6 16:16:28 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 6 Mar 2009 11:16:28 -0500 Subject: I/O device driver error In-Reply-To: Message-ID: JKM I don't have any ideas, but could you please clarify whether you run EP2 under Windows XP or Vista? Thanks. -- David McFarlane, Professional Faultfinder >Hi all, >Has anyone encountered the following error in E-Prime 2? > >"An error occurred while attempting to read from the Port I/O device >driver" > >We're tracking participants' gaze while they read sentences displayed >by a computer running E-Prime 2. E-Prime is setup to send markers >through the parallel port to our eye-tracking computer, so that it >knows when critical stimuli start and stop. The problem is that on >about 25% of our subjects, E-Prime quits in the middle of the >experiment and gives the above error. > >Any ideas? > >Thanks, >JKB --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From nyu.nirs at gmail.com Fri Mar 6 21:37:44 2009 From: nyu.nirs at gmail.com (nyu.nirs at gmail.com) Date: Fri, 6 Mar 2009 13:37:44 -0800 Subject: Create a experiment with dots appearing random on a screen In-Reply-To: <49b03b7d.20ed720a.4415.6331SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Thanks a lot for your response! So I think I get what you are saying. And these zones you talk about, would that be images on a slide or is there another way to do it? Further, if we want to keep the ratio between the two different types of dots to either 1:1, 1:2, 3:4, or 5:6, is there a way I could do that? A lot of problem solving in creating this project and it is driving me a bit bonkers. Ugh. On Mar 5, 3:52 pm, David McFarlane wrote: > I recently contemplated this very problem while working on a spatial > foraging task.  I am still a long way from implementing my planned > solution, so I have no code to show, but allow me to sketch out my strategy. > > In short, I plan to first divide the screen up into a number of > non-overlapping zones.  If I have at least as many zones as I have > dots, then I can put each dot into a random position within its own > zone, and that will guarantee that no dots overlap.  Dots in adjacent > zones might still touch each other and form "clumps", but if I wanted > to avoid that then I would just add a limit to where each dot could > go within its own zone. > > If I make exactly as many zones as dots, then the dots will disperse > about the entire screen with some degree of jitter between the > dots.  If I want to allow for greater jitter across the screen, I > could create more zones than dots.  In that case I would put the > zones into a list, shuffle the list, then pick the first nDots zones > for my dots, and then put each dot in a random place within its zone > (perhaps with a limit as described above to prevent dots from > toucing).  This would then allow some degree of clumping of dots > across the screen.  In fact if I were serious about this I would > parameterize it all so that I could easily reuse and control the > procedure, something like GrowLandscape( nItems, nZones, zoneBuffer ). > > Looking at this in a more theoretical and general way, we can > separate the solution space into three domains, nZones < nDots, > nZones = nDots, and nZones > nDots.  nZones < nDots leaves the > possibility of dots overlapping; nZones = nDots prevents overlapping > dots and produces the most even dispersal of dots across the screen; > and nZones > nDots also prevents overlapping dots, while allowing for > greater jitter overall and the possibility of some clumping.  In the > limit, nZones = 1 is just your current situation and has the most > problem with overlap, while nZones = nPixels prevents overlap while > allowing for the greatest jitter and clumping.  Sor for your > puprposes I think you want nZones somewhere between nDots and nPixels. > > I hope this helps somewhat, at least I enjoyed documenting this for > myself.  I at least would be very interested to learn what you come > up with, so please post back. > > -- David McFarlane, Professional Faultfinder > > >Hi, > > >we are trying to create an experiment in eprime where participants > >will see purple and green dots for 500 ms on a screen. Their job is to > >determine whether their was more purple or green dots presented to > >them. > > >The dots will be various size, however, we do want the area covered > >(i.e. pixels) to be the same between the different colored dots even > >though you might see e.g. more purple dots than green. The maximum > >dots shown for each color is 15. > > >We have tried to created the experiment for a while, however, we keep > >on running into a couple of issues. > > >1) The dots overlap each other > >2) We have to manually make a list for each dot and then have it run > >random during the experiment, however, this is very tedious as we can > >have up to 32 dots and thus 32 list for a screen. > > >Anyways, appreciate any help we can get. > > >Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mahayanag at gmail.com Fri Mar 6 23:25:44 2009 From: mahayanag at gmail.com (Mahayana Godoy) Date: Fri, 6 Mar 2009 20:25:44 -0300 Subject: Looking for a software like Eprime but free In-Reply-To: <6514e9730903060258p4fe8d22dt37846b4865dc793@mail.gmail.com> Message-ID: It seems really nice! Does anyone know it? What about timing accuracy? Thanks Mahayana 2009/3/6 Sébastien Roffe-vidal > > Hi > > I ve just looked to the Paradigm demo on > http://www.perceptionresearchsystems.com and that is a really > pleasant, and easy to use software. I m going to start with the demo. > > Thx so much > > 2009/3/5 David McFarlane : > > > > Aha, I no sooner sent my last message than I found an old e-mail with > > the following link: > > > > http://www.psychology.org/links/Resources/Software > > > > That might give you some ideas. Please let us know what you find! > > > > -- David McFarlane, Professional Faultfinder > > > > > >>Hi everyone and David McFarlane ;) > >> > >>I would like to built a sequence for fMRI but i don't have Eprime yet. > >>Everyone knows a software likes Eprime but free to use??? > >> > >>Thanks a lot > >> > >>XXX > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From yanhyu at gmail.com Sat Mar 7 04:26:46 2009 From: yanhyu at gmail.com (Yan Yu) Date: Fri, 6 Mar 2009 23:26:46 -0500 Subject: Looking for a software like Eprime but free In-Reply-To: <5faf3ad00903061525n22861882l7e140a87d1102aa4@mail.gmail.com> Message-ID: According to the owner, the timing accuracy is pretty good. My vague memory tells me it seems at least comparable to eprime.Yan On Fri, Mar 6, 2009 at 6:25 PM, Mahayana Godoy wrote: > It seems really nice! Does anyone know it? > What about timing accuracy? > > Thanks > > Mahayana > > 2009/3/6 Sébastien Roffe-vidal > > >> Hi >> >> I ve just looked to the Paradigm demo on >> http://www.perceptionresearchsystems.com and that is a really >> pleasant, and easy to use software. I m going to start with the demo. >> >> Thx so much >> >> 2009/3/5 David McFarlane : >> > >> > Aha, I no sooner sent my last message than I found an old e-mail with >> > the following link: >> > >> > http://www.psychology.org/links/Resources/Software >> > >> > That might give you some ideas. Please let us know what you find! >> > >> > -- David McFarlane, Professional Faultfinder >> > >> > >> >>Hi everyone and David McFarlane ;) >> >> >> >>I would like to built a sequence for fMRI but i don't have Eprime yet. >> >>Everyone knows a software likes Eprime but free to use??? >> >> >> >>Thanks a lot >> >> >> >>XXX >> > >> > >> > > >> > >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From kenyonboyd at gmail.com Sat Mar 7 11:56:20 2009 From: kenyonboyd at gmail.com (JKB) Date: Sat, 7 Mar 2009 03:56:20 -0800 Subject: I/O device driver error In-Reply-To: <49b14c65.20ed720a.4398.544cSMTPIN_ADDED@gmr-mx.google.com> Message-ID: XP On Mar 6, 11:16 am, David McFarlane wrote: > JKM > > I don't have any ideas, but could you please clarify whether you run > EP2 under Windows XP or Vista?  Thanks. > > -- David McFarlane, Professional Faultfinder > > > > >Hi all, > >Has anyone encountered the following error in E-Prime 2? > > >"An error occurred while attempting to read from the Port I/O device > >driver" > > >We're tracking participants' gaze while they read sentences displayed > >by a computer running E-Prime 2.  E-Prime is setup to send markers > >through the parallel port to our eye-tracking computer, so that it > >knows when critical stimuli start and stop.  The problem is that on > >about 25% of our subjects, E-Prime quits in the middle of the > >experiment and gives the above error. > > >Any ideas? > > >Thanks, > >JKB --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Mar 9 15:21:03 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 9 Mar 2009 11:21:03 -0400 Subject: Create a experiment with dots appearing random on a screen In-Reply-To: <39920fd7-87a4-45e9-a641-2000a94086d7@d19g2000prh.googlegroups.com> Message-ID: On Friday 6 March 2009 at 4:37 p.m. nyu.nirs at gmail.com wrote: > And these zones you talk about, would that be images on a slide or is > there another way to do it? You can program it however you like. Sure, SlideImages on a Slide might work well, or just draw directly to the Canvas (see topic in online E-Basic Help). I cannot give you any more details because I have not thought this through any further myself, so you will have to take it from there. But just to illustrate this with a few numbers... Let's say I have 10 dots and want to disperse these among 10 zones in a 640x480 screen with a buffer of 2 pixels around the edge of each zone. So each zone might have a size of 64x48, and I would use only the 60x44 area within each zone for dot placement. Zone 1 would start with its corner at (0, 0), zone 2 at (64, 0), etc. For the first dot I could pick a random x from 2 to 61 (because of the 2-pixel buffer) and a random y from 2 to 45, let's say we get (5, 41). I could then add that xy displacement to the corner coordinate of zone 1 to put my first dot at (5, 41). I then pick another random xy displacemet for the second dot, let's say we get (59, 13) this time. Then I could add that to the corner coordinate of zone 2 to put my second dot at (123, 13). And so on. Once again this is only an illustrative sketch. I must leave the programming details to you. > Further, if we want to keep the ratio between the two different types > of dots to either 1:1, 1:2, 3:4, or 5:6, is there a way I could do > that? Yes. And I am sure that you can figure it out. > A lot of problem solving in creating this project and it is driving me > a bit bonkers. Ugh. Indeed, writing a good program for an intricate behavioral task takes a lot of hard work and learning. A firm grounding in computer programming or math helps. So welcome to the club! -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From nyu.nirs at gmail.com Mon Mar 9 16:33:47 2009 From: nyu.nirs at gmail.com (nyu.nirs at gmail.com) Date: Mon, 9 Mar 2009 09:33:47 -0700 Subject: Create a experiment with dots appearing random on a screen In-Reply-To: <49B533DF.4040601@msu.edu> Message-ID: I appreciate the help and as much as it is frustrating, it is, as you say, a learning experience and I'll be damned if I don't figure it out :) I'll try to post when I eventually figure it out. Thanks again, Fredrik On Mar 9, 11:21 am, David McFarlane wrote: > On Friday 6 March 2009 at 4:37 p.m. nyu.n... at gmail.com wrote: > > > And these zones you talk about, would that be images on a slide or is > > there another way to do it? > > You can program it however you like.  Sure, SlideImages on a Slide might > work well, or just draw directly to the Canvas (see topic in online > E-Basic Help).  I cannot give you any more details because I have not > thought this through any further myself, so you will have to take it > from there. > > But just to illustrate this with a few numbers...  Let's say I have 10 > dots and want to disperse these among 10 zones in a 640x480 screen with > a buffer of 2 pixels around the edge of each zone.  So each zone might > have a size of 64x48, and I would use only the 60x44 area within each > zone for dot placement.  Zone 1 would start with its corner at (0, 0), > zone 2 at (64, 0), etc.  For the first dot I could pick a random x from > 2 to 61 (because of the 2-pixel buffer) and a random y from 2 to 45, > let's say we get (5, 41).  I could then add that xy displacement to the > corner coordinate of zone 1 to put my first dot at (5, 41).  I then pick > another random xy displacemet for the second dot, let's say we get (59, > 13) this time.  Then I could add that to the corner coordinate of zone 2 > to put my second dot at (123, 13).  And so on. > > Once again this is only an illustrative sketch.  I must leave the > programming details to you. > > > Further, if we want to keep the ratio between the two different types > > of dots to either 1:1, 1:2, 3:4, or 5:6, is there a way I could do > > that? > > Yes.  And I am sure that you can figure it out. > > > A lot of problem solving in creating this project and it is driving me > > a bit bonkers. Ugh. > > Indeed, writing a good program for an intricate behavioral task takes a > lot of hard work and learning.  A firm grounding in computer programming > or math helps.  So welcome to the club! > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Mar 9 21:00:38 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 9 Mar 2009 17:00:38 -0400 Subject: Create a experiment with dots appearing random on a screen In-Reply-To: <491b2598-9c38-4145-9b73-209bfe5c1f73@z9g2000yqi.googlegrou ps.com> Message-ID: Well, as an inveterate pedant I could not let the matter rest there... I prefer deterministic and efficient algorithms, so I skipped over a couple other approaches that might work just as well for some folks. I may as well lay those out for comparison and instruction. To randomly scatter dots across the screen without overlap, most programmers (including me) would first think of a "dart throwing" approach. In essence, this means throwing a dart at the board, and if it hits or lands too near another dart, just pull it out and throw it again until you are satisfied. Keep doing this until all darts are on the board. In more programmatic detail, you would first create a structure or array or list to keep track of all the dot locations. For each dot, you would pick a location at random from the entire field and loop through the array of dots looking for any conflict. If you found a conflict, you would try another random location for that dot and retest until you got a good one (some of you will see a similarity between this and the "NoRepeatOnConsectiveTrials" example from PST). I do not like this approach for two reasons. (1) This method is nondeterministic, and in theory (where "theory" includes the use of true random numbers instead of pseudo-random) it has no guaranteed upper limit to how long it will take to succeed. In practice, of course, it would succeed handily, so this may not bother those who are not such fussbudgets as I am. (2) This approach requires at least (nDots - 1) loops through the dot array, with the dot array growing as each dot gets added. I prefer doing things in one or a small known number of passes whenever possible. However, this approach does allow for enforcing a buffer zone around each dot. Another approach would be a "full-field shuffle". For this you would first create an array that contains every coordinate location on the screen. You would shuffle that array, then simply pick the first nDots locations from that array. This approach has the advantage of conceptual simplicity, and does everything in a single pass. However, it wastes a *lot* of RAM, as it requires an array with over 300,000 elements to place just, say, 10 dots, and that number grows quickly as you go to higher resolution screens. But RAM is cheap and plentiful now, so why not? Also, although it does guarantee no overlapping dots, it does not provide a means for enforcing a buffer zone around each dot. (You might notice that the "full-field" shuffle is just a special case of the "zoning" approach, where nZones = nPixels.) So in short, the "zoning" approach described in earlier posts is conceptually complex, but could work efficiently and allow a lot of flexibility in how things get scattered; the "dart throwing" approach is conceptually simpler and allows some flexibility in how things get scattered, but is nondeterministic and inefficient; the "full-field shuffle" is conceptually simplest but wasteful of RAM and not very flexible in how things get scattered. In practice, given modern resources any of them might do a fine job. So there you go, three broad approaches to scatter your dots. I leave you to ponder these, pick one, or perhaps come up with something even better, and then work out the programming details. And please write back when you get something to work. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From dutch.linguistics at gmail.com Tue Mar 10 08:45:02 2009 From: dutch.linguistics at gmail.com (Marco) Date: Tue, 10 Mar 2009 09:45:02 +0100 Subject: Response time-outs Message-ID: Dear list, I've noticed that if there's a time-out in the response to a given stimulus, e-prime leaves the RESPONSE field empty. Is there a way to automatically assign NA to these cases? That would make it easier to import e-prime output files into R. Thanks in advance! Cheers, Marco --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Mar 10 15:15:32 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 10 Mar 2009 11:15:32 -0400 Subject: Response time-outs In-Reply-To: <30631a790903100145v387037e2tb4c41241faf244e4@mail.gmail.co m> Message-ID: Yes, you could do this with a bit of inline script. Put the script at some time after the response (or rather, non-response), might as well put it just before the end of your procedure. Let's suppose you ask for a response to a Slide object called ProbeSlide. Then your script might look like this (note the comment in the script fragment -- *always* comment this sort of thing in your script so that the next person (who might be you in another year) will not wonder why you put this script here): ' Change empty response to "NA" for greater compatibility with R: If ProbeSlide.RESP = "" Then ProbeSlide.RESP = "NA" c.SetAttrib "ProbeSlide.RESP", ProbeSlide.RESP End If Note that I changed both the .RESP property of ProbeSlide and the context attrribute "ProbeSlide.RESP". If you know what you are doing then you only have to change one or the other (only the attribute matters for the data log), but doing both protects you from script that E-Studio may generate automatically later in the procedure. -- David McFarlane, Professional Faultfinder >Dear list, > >I've noticed that if there's a time-out in the response to a given >stimulus, e-prime leaves the RESPONSE field empty. Is there a way to >automatically assign NA to these cases? That would make it easier to >import e-prime output files into R. > >Thanks in advance! > >Cheers, > >Marco --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Tue Mar 10 15:37:27 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 10 Mar 2009 11:37:27 -0400 Subject: Response time-outs In-Reply-To: <30631a790903100145v387037e2tb4c41241faf244e4@mail.gmail.co m> Message-ID: BTW, if you have existing data in .edat files where you want to make this change, you could do this in E-DataAid. Simply filter your data to show only empty responses. Type "NA" into the first response cell. Select all the cells in the response column, then do Edit > Fill Down. Now you can remove the filter and you will find all your data with response values when the subject gave a response, and "NA" for non-response. You may then export/import that data as usual. You may also save the modified .edat file for the future, and E-DataAid will remind you that this file has altered values (through the "Annotation" feature). Please do the E-DataAid tutorials in the Getting Started Guide and User's Guide that came with E-Prime, PST really did a terrific job on this component but it often gets overlooked. And of course, if you merge your data first with E-Merge then you will have to do this on only one file. -- David McFarlane, Professional Faultfinder >Dear list, > >I've noticed that if there's a time-out in the response to a given >stimulus, e-prime leaves the RESPONSE field empty. Is there a way to >automatically assign NA to these cases? That would make it easier to >import e-prime output files into R. > >Thanks in advance! > >Cheers, > >Marco --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From hsinjenhsu at gmail.com Thu Mar 12 10:00:57 2009 From: hsinjenhsu at gmail.com (Hsin-jen Hsu) Date: Thu, 12 Mar 2009 10:00:57 +0000 Subject: responses at runtime Message-ID: Dear List, I have a question regarding weather e-prime can take a particular type of responses during runtime. Before I used e-prime to build tasks in which partiicpants gave their responses either by press a button (keyboard or response box) or use computer mouse to click on an object (e.g., a picture) on the screen. I am now trying to build a task in which the participants will see an array of 3 letters (e..g, X A Y) and the reponses will require the particpants to use computer mouse to drag and drop each of the 3 letter into a horozontal grid of 3 boxes marked by corresponding lower case letters (x, a, y). I wonder if any of you has built your tasks in a similar way using e-prime and would be willing to share with me your experiences. Thanks! Jen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bashartel at gmail.com Thu Mar 12 16:03:16 2009 From: bashartel at gmail.com (Bas en Oisin) Date: Thu, 12 Mar 2009 09:03:16 -0700 Subject: voice-over and time beam Message-ID: Dear Pro`s with E-Prime! My name is Bas Hartel en together with Oisin Bugter we do research at the University of Amsterdam. We are two medecine students. We measure the reaction time of patient with a very simple e-prime experiment. We have althought two questions: First of all, we have severall slides with the explanation of the test for the patient. To be sure that the information is well understood we would like to put a voice-over together with the slides. Is this possible with E-prime?And if yes, could anyone please explain to us how to do it? Then we would like to add a time beam. The test being very boring, the patient have an idea how long it will take to finish it. I hope you can provide me with some answers, greetings, Bas and Oisin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From MSpape at FSW.leidenuniv.nl Thu Mar 12 16:12:11 2009 From: MSpape at FSW.leidenuniv.nl (Spape, Michiel) Date: Thu, 12 Mar 2009 17:12:11 +0100 Subject: voice-over and time beam Message-ID: Hi Bas, 1. Just record (windows sound recorder, for example) your voice saying the instruction and add the wav resulting from that as a sound sub-object to the slide with the instruction. Or, just tell them - it's always best to let a person be there and instruct the participant, so you can be more sure that they understand it. Never underestimate how difficult your experiment may appear to your participants, and take your time: possibly, the best way is to let your participant repeat in their own words what they have to do. 2. If you have, say, 288 trials in your experiment, add some text-display in your trial, calling it, for example, Intertrialinterval (that is, i'd suggest adding this to your feedback, but in the absence of that, this may sometimes do). Declare an integer variable in the user script (e.g. Alt+5, then write: 'dim trialcounter as integer') and add an inline object just before the intertrialinterval and write something like: trialcounter = trialcounter + 1 Intertrialinterval.text = "You have succesfully completed " & (trialcounter / 288) * 100 & " % of the experiment, only " & " 288 - trialcounter & " trials to go!" Hope that helps. Best, Mich ________________________________ Van: e-prime at googlegroups.com namens Bas en Oisin Verzonden: do 12-3-2009 17:03 Aan: E-Prime Onderwerp: voice-over and time beam Dear Pro`s with E-Prime! My name is Bas Hartel en together with Oisin Bugter we do research at the University of Amsterdam. We are two medecine students. We measure the reaction time of patient with a very simple e-prime experiment. We have althought two questions: First of all, we have severall slides with the explanation of the test for the patient. To be sure that the information is well understood we would like to put a voice-over together with the slides. Is this possible with E-prime?And if yes, could anyone please explain to us how to do it? Then we would like to add a time beam. The test being very boring, the patient have an idea how long it will take to finish it. I hope you can provide me with some answers, greetings, Bas and Oisin ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From baltimore.ben at gmail.com Thu Mar 12 20:51:18 2009 From: baltimore.ben at gmail.com (ben robinson) Date: Thu, 12 Mar 2009 16:51:18 -0400 Subject: voice-over and time beam In-Reply-To: <785F34996DC733438A6DDEF1086C1C53FFBBDA@FSWEXC01.fsw.leidenuniv.nl> Message-ID: one more thing.if you'd like a visible "time beam" you could perform basically the same calculation at the end of each trial as described by michiel (CurrentTrial/TotalTrials), but multiply that product by, say, the screen width. then send that value to your running list, and have a TextObject imbedded in a SlideObject that pulls its width value from the running list. so, you'd need to add a column to the List that runs your trials, and call the column "TimeBeam". then at the end of each trial update the value you want for the width of the TimeBeam TextObject. CONST TotalTrials = 288 'put this in the user tab Dim CurrentTrial as Integer 'put this in the user tab Dim BeamWidth as Integer 'put this in the user tab 'in the Slide presenting your trial screen have a TextObject devoted strictly to being your TimeBeam, and set the value for width for this TextObject to [TimeBeam] so that it pulls this value from the List... 'in an Inline at the end of each trial: CurrentTrial = CurrentTrial+1 BeamWidth = CurrentTrial/TotalTrials*Display.XRes c.SetAttrib "TimeBeam", BeamWidth On Thu, Mar 12, 2009 at 12:12 PM, Spape, Michiel wrote: > Hi Bas, > 1. Just record (windows sound recorder, for example) your voice saying the > instruction and add the wav resulting from that as a sound sub-object to the > slide with the instruction. Or, just tell them - it's always best to let a > person be there and instruct the participant, so you can be more sure that > they understand it. Never underestimate how difficult your experiment may > appear to your participants, and take your time: possibly, the best way is > to let your participant repeat in their own words what they have to do. > > 2. If you have, say, 288 trials in your experiment, add some text-display > in your trial, calling it, for example, Intertrialinterval (that is, i'd > suggest adding this to your feedback, but in the absence of that, this may > sometimes do). Declare an integer variable in the user script (e.g. Alt+5, > then write: 'dim trialcounter as integer') and add an inline object just > before the intertrialinterval and write something like: > trialcounter = trialcounter + 1 > Intertrialinterval.text = "You have succesfully completed " & (trialcounter > / 288) * 100 & " % of the experiment, only " & " 288 - trialcounter & " > trials to go!" > > Hope that helps. > Best, > Mich > > ________________________________ > > Van: e-prime at googlegroups.com namens Bas en Oisin > Verzonden: do 12-3-2009 17:03 > Aan: E-Prime > Onderwerp: voice-over and time beam > > > > > Dear Pro`s with E-Prime! > > My name is Bas Hartel en together with Oisin Bugter we do research at > the University of Amsterdam. We are two medecine students. We measure > the reaction time of patient with a very simple e-prime experiment. We > have althought two questions: > > First of all, we have severall slides with the explanation of the test > for the patient. To be sure that the information is well understood we > would like to put a voice-over together with the slides. Is this > possible with E-prime?And if yes, could anyone please explain to us > how to do it? > > > Then we would like to add a time beam. The test being very boring, the > patient have an idea how long it will take to finish it. > > I hope you can provide me with some answers, > > greetings, > > > Bas and Oisin > > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bashartel at gmail.com Fri Mar 13 12:10:58 2009 From: bashartel at gmail.com (Bas en Oisin) Date: Fri, 13 Mar 2009 05:10:58 -0700 Subject: voice-over and time beam In-Reply-To: <3345e4a50903121351sa8dba06m604c80ae97fc6acd@mail.gmail.com> Message-ID: First of all thanks a lot for these fast answers! We are very glad to know our ideas are possible but we had a hard time understanding your answers,since we only have ( very) limited experience with E-prime ( and all other computer applications). We will first explain our test in more detail en would like you to review the answers and possibly explain each step in detail. We will be most gratefull. We uploaded a screen shot of our test stucture, so you can get a bether idea of our test: http://www.keepandshare.com/photo/view.php?u=308779 Acountname: chipuva Password: chipuva As we described in our first message we would like to know how to add two features to our test: 1. In the first 5 'text display' slides we would like to add a voice over text. As described by Michiel Spapé we need to add a voice-over as a sound sub-object. Could you explain us how to do this? 2. During the 'RealTest' ( Blocklist) we would like to ad a time beam. As you can see, we have just one trail wich will be repeated 9 times. In each trail the patient will react on 5 stimuli (so in total 45 stimuli will be presented to the patients).Is this possible and if so , how? We would like to thank in advance, Bas and Oisin On 12 mrt, 21:51, ben robinson wrote: > one more thing.if you'd like a visible "time beam" you could perform > basically the same calculation at the end of each trial as described by > michiel (CurrentTrial/TotalTrials), but multiply that product by, say, the > screen width.  then send that value to your running list, and have a > TextObject imbedded in a SlideObject that pulls its width value from the > running list.  so, you'd need to add a column to the List that runs your > trials, and call the column "TimeBeam".  then at the end of each trial > update the value you want for the width of the TimeBeam TextObject. > > CONST TotalTrials = 288 'put this in the user tab > Dim CurrentTrial as Integer 'put this in the user tab > Dim BeamWidth as Integer 'put this in the user tab > > 'in the Slide presenting your trial screen have a TextObject devoted > strictly to being your TimeBeam, and set the value for width for this > TextObject to [TimeBeam] so that it pulls this value from the List... > > 'in an Inline at the end of each trial: > CurrentTrial = CurrentTrial+1 > BeamWidth = CurrentTrial/TotalTrials*Display.XRes > c.SetAttrib "TimeBeam", BeamWidth > > On Thu, Mar 12, 2009 at 12:12 PM, Spape, Michiel > wrote: > > > > > Hi Bas, > > 1. Just record (windows sound recorder, for example) your voice saying the > > instruction and add the wav resulting from that as a sound sub-object to the > > slide with the instruction. Or, just tell them - it's always best to let a > > person be there and instruct the participant, so you can be more sure that > > they understand it. Never underestimate how difficult your experiment may > > appear to your participants, and take your time: possibly, the best way is > > to let your participant repeat in their own words what they have to do. > > > 2. If you have, say, 288 trials in your experiment, add some text-display > > in your trial, calling it, for example, Intertrialinterval (that is, i'd > > suggest adding this to your feedback, but in the absence of that, this may > > sometimes do). Declare an integer variable in the user script (e.g. Alt+5, > > then write: 'dim trialcounter as integer') and add an inline object just > > before the intertrialinterval and write something like: > > trialcounter = trialcounter + 1 > > Intertrialinterval.text = "You have succesfully completed " & (trialcounter > > / 288) * 100 & " % of the experiment, only " & " 288 - trialcounter & " > > trials to go!" > > > Hope that helps. > > Best, > > Mich > > > ________________________________ > > > Van: e-prime at googlegroups.com namens Bas en Oisin > > Verzonden: do 12-3-2009 17:03 > > Aan: E-Prime > > Onderwerp: voice-over and time beam > > > Dear Pro`s with E-Prime! > > > My name is Bas Hartel en together with Oisin Bugter we do research at > > the University of Amsterdam. We are two medecine students. We measure > > the reaction time of patient with a very simple e-prime experiment. We > > have althought two questions: > > > First of all, we have severall slides with the explanation of the test > > for the patient. To be sure that the information is well understood we > > would like to put a voice-over together with the slides. Is this > > possible with E-prime?And if yes, could anyone please explain to us > > how to do it? > > > Then we would like to add a time beam. The test being very boring, the > > patient have an idea how long it will take to finish it. > > > I hope you can provide me with some answers, > > > greetings, > > > Bas and Oisin > > > ********************************************************************** > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error please notify > > the system manager. > > **********************************************************************- Tekst uit oorspronkelijk bericht niet weergeven - > > - Tekst uit oorspronkelijk bericht weergeven - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From google at frankbosco.com Fri Mar 13 15:33:32 2009 From: google at frankbosco.com (frankbosco) Date: Fri, 13 Mar 2009 08:33:32 -0700 Subject: External application to call a series of .ebs2 files? Message-ID: Dear E-Prime group, I am searching for a (presumably) simple external application (e.g., a small VB-based program) to call several EBS2 files to run in a desired order (preferably random order). I would like to administer a battery of experiments in a group setting, and am having a great deal of trouble integrating the procedures from each separate .ES2 file into one "main" .ES2 file with blocklists (E-Prime support suggested that my individual procedures exceed E-Prime's copy/paste capacity, and E- Prime's automatic renaming of duplicate objects is making the task even more difficult). Would anyone be willing to share something along these lines? Any help would be greatly appreciated. I am not very familiar with programming languages. Thanks in advance! Frank -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Frank A. Bosco Doctoral Student Dept. of Management (OB/HR) Fogelman College of Business & Economics The University of Memphis fbosco at memphis.edu Office: (901) 678-4531 Cell: (901) 387-7864 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Fri Mar 13 15:33:36 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 13 Mar 2009 11:33:36 -0400 Subject: voice-over and time beam In-Reply-To: <20498b1d-9b85-43d5-8d64-44f4af1ab190@j39g2000yqn.googlegro ups.com> Message-ID: Bas and Oisin, >we had a hard time understanding your answers,since we only have ( >very) limited experience with E-prime ( and all other computer applications). Perhaps you can answer a question for me. I often see questions here of the form, "I have no experience with computer programming and I do not want to get any training in basic computer programming concepts, but I still want to be able to write a fairly complex computer program." This always puzzles me. Do you want to be a psychologist who dabbles in computer programming, or instead a computer programmer who dabbles in psychology? If only the former, instead of making yourself do something that you are not good at and do not enjoy, why not just hire the work out to someone who already knows computer programming and actually enjoys doing it, i.e., a professional? Then you can get back to what you *are* good at and enjoy, and everyone benefits. Thank you for your kind response, -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Fri Mar 13 15:47:30 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 13 Mar 2009 11:47:30 -0400 Subject: External application to call a series of .ebs2 files? In-Reply-To: <6590511d-b375-4b77-a7b4-39d8c2f17149@v19g2000yqn.googlegro ups.com> Message-ID: Frank, This question has come up before (e.g., see http://www.pstnet.com/forum/Topic2485-12-1.aspx ), and I keep suggesting AutoIt (http://www.autoitscript.com/autoit3 ). So far no one has reported back on this, and I never have time to try it myself. Perhaps you could give that a try and let us all know how it works. Other than that, you might try a good old DOS-style batch file. Also, someone once suggested (sorry, I do not have the link) using links in a .pdf to guide the course of a battery of tests. That would still require some manual interaction, but might help a little. Please let us know what you find. -- David McFarlane, Professional Faultfinder >Dear E-Prime group, > >I am searching for a (presumably) simple external application (e.g., a >small VB-based program) to call several EBS2 files to run in a desired >order (preferably random order). I would like to administer a battery >of experiments in a group setting, and am having a great deal of >trouble integrating the procedures from each separate .ES2 file into >one "main" .ES2 file with blocklists (E-Prime support suggested that >my individual procedures exceed E-Prime's copy/paste capacity, and E- >Prime's automatic renaming of duplicate objects is making the task >even more difficult). > >Would anyone be willing to share something along these lines? Any >help would be greatly appreciated. I am not very familiar with >programming languages. > >Thanks in advance! >Frank > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- >Frank A. Bosco >Doctoral Student >Dept. of Management (OB/HR) >Fogelman College of Business & Economics >The University of Memphis >fbosco at memphis.edu >Office: (901) 678-4531 >Cell: (901) 387-7864 >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Fri Mar 13 17:21:46 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 13 Mar 2009 13:21:46 -0400 Subject: MovieDisplay crashes under Vista Message-ID: Sorry to spam you all, as I am just repeating what I already posted at the PST Forum, but I want to get this on the record in case anyone needs to find it later. I did PST's job for them and thoroughly tested the new MovieDisplay object on two computers under Windows XP and Windows Vista. I tested every combination of StopAfter, EndMovieAction, and difference between durations of movie file and MovieDisplay object. But the results can be stated very simply. Under XP everything worked fine. Under Vista, EP2 crashed whenever a movie file played to its end. By "crash" I mean that Vista forcibly shut down the entire E-Prime application (E-Studio or E-Run). Movies did play as long as StopAfter was set to Yes and the movie file had a longer duration than the MovieDisplay object, but in every other case EP2 crashed. So we do have a workaround for those stuck playing movies with Vista. Make your movie files a little longer than you need, set StopAfter to Yes, and make sure to set the Duration of the MovieDisplay object to something less than the duration of the movie file. If you need the stimulus object to last only as long as the movie file, then put the appropriate duration for each file in the stimulus list and use that as an attribute to set the Duration of the MovieDisplay object for each movie presentation. This leaves much to be desired, but may work well enough until PST fixes this. Better yet just keep using Windows XP instead of Vista. So far all my tests show that everything in EP2 works fine under XP. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From google at frankbosco.com Sat Mar 14 06:21:45 2009 From: google at frankbosco.com (frankbosco) Date: Fri, 13 Mar 2009 23:21:45 -0700 Subject: External application to call a series of .ebs2 files? In-Reply-To: <49ba8018.0d0bca0a.031b.6feaSMTPIN_ADDED@gmr-mx.google.com> Message-ID: David, Thanks very much for your suggestion! I've created a script for this purpose in Autoit (it works very well). I don't know how to attach a file in this window, so please feel free to download it from my personal website (see link below), and share. In the .zip file, I have included the Autoit script file, a compiled version, and a basic .txt instruction file. http://www.frankbosco.com/call_ebs.zip All the best, Frank On Mar 13, 10:47 am, David McFarlane wrote: > Frank, > > This question has come up before (e.g., seehttp://www.pstnet.com/forum/Topic2485-12-1.aspx), and I keep > suggesting AutoIt > (http://www.autoitscript.com/autoit3 > ).  So far no one has reported back on this, and I never have time to > try it myself.  Perhaps you could give that a try and let us all know > how it works. > > Other than that, you might try a good old DOS-style batch > file.  Also, someone once suggested (sorry, I do not have the link) > using links in a .pdf to guide the course of a battery of > tests.  That would still require some manual interaction, but might > help a little. > > Please let us know what you find. > > -- David McFarlane, Professional Faultfinder > > >Dear E-Prime group, > > >I am searching for a (presumably) simple external application (e.g., a > >small VB-based program) to call several EBS2 files to run in a desired > >order (preferably random order).  I would like to administer a battery > >of experiments in a group setting, and am having a great deal of > >trouble integrating the procedures from each separate .ES2 file into > >one "main" .ES2 file with blocklists (E-Prime support suggested that > >my individual procedures exceed E-Prime's copy/paste capacity, and E- > >Prime's automatic renaming of duplicate objects is making the task > >even more difficult). > > >Would anyone be willing to share something along these lines?  Any > >help would be greatly appreciated.  I am not very familiar with > >programming languages. > > >Thanks in advance! > >Frank > > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > >Frank A. Bosco > >Doctoral Student > >Dept. of Management (OB/HR) > >Fogelman College of Business & Economics > >The University of Memphis > >fbo... at memphis.edu > >Office: (901) 678-4531 > >Cell: (901) 387-7864 > >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From MSpape at FSW.leidenuniv.nl Sat Mar 14 06:29:06 2009 From: MSpape at FSW.leidenuniv.nl (Spape, Michiel) Date: Sat, 14 Mar 2009 07:29:06 +0100 Subject: voice-over and time beam Message-ID: Hi David et al., Although that is a bit harsh, I agree with you that you can't evade the need to be at least a little more skilled in E-prime to succesfully write or even use someone else's programme. Bas and Oison may find it useful to complete the getting started guide by PST and the tutorial we wrote for students - free to download from my website: www.cognitology.eu (publications underneath). Best, Michiel Sent from my Windows Mobile® phone. -----Original Message----- From: David McFarlane Sent: vrijdag 13 maart 2009 16:34 To: e-prime at googlegroups.com Subject: Re: voice-over and time beam Bas and Oisin, >we had a hard time understanding your answers,since we only have ( >very) limited experience with E-prime ( and all other computer applications). Perhaps you can answer a question for me. I often see questions here of the form, "I have no experience with computer programming and I do not want to get any training in basic computer programming concepts, but I still want to be able to write a fairly complex computer program." This always puzzles me. Do you want to be a psychologist who dabbles in computer programming, or instead a computer programmer who dabbles in psychology? If only the former, instead of making yourself do something that you are not good at and do not enjoy, why not just hire the work out to someone who already knows computer programming and actually enjoys doing it, i.e., a professional? Then you can get back to what you *are* good at and enjoy, and everyone benefits. Thank you for your kind response, -- David McFarlane, Professional Faultfinder ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From bashartel at gmail.com Mon Mar 16 13:17:38 2009 From: bashartel at gmail.com (Bas en Oisin) Date: Mon, 16 Mar 2009 06:17:38 -0700 Subject: voice-over and time beam In-Reply-To: <00f401c9a46e$3a42d860$0c48e584@fsw.leidenuniv.nl> Message-ID: Hi, Dear David McFarlane, we dont really understand where your frustration is coming from. We thought the use of this forum was that experienced E-Prime users could help out less-experienced users. To answer your question ("Do you want to be a psychologist who dabbles in computer programming, or instead a computer programmer who dabbles in psychology?"): Neither. We are two medicine students who are currently working on our scientific internship, we are a 3th and 4th year students. We've been assigned by our supervising professor with the task develope this E-prime test described in our previous mail. The (programming) basis for this test was already set for us and we wanted to improve it by adding a time-beam and voice- over text (we already succeded in the latter). So we are still in the "learning"-progress and we do enjoy it. Maybe if you could assist us with our E-prime problems we could assist you in your apparent social- skills' problems. We don't accept the tone you adress us with, we thought we could get some help here, but apparently we need to find some other way. Dear Michiel Spape, we succeded so far in programming our test, we just have our last few errors in completing it. We have the getting started guide (along with the users's guide and the reference guide). We just weren't able to extract the informating for u time beam during 1 trial out of these books. Well, we cant really thank you. Greats, Oisin and Bas ,. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From baltimore.ben at gmail.com Mon Mar 16 14:23:09 2009 From: baltimore.ben at gmail.com (ben robinson) Date: Mon, 16 Mar 2009 10:23:09 -0400 Subject: voice-over and time beam In-Reply-To: Message-ID: in defense of David: guys, i think you've misunderstood the tone of David's email, which is all too easy to do when reading these kinds of online forums. you asked a question the answer to which is really quite complicated to communicate to someone brand-new to the eprime programming environment. at least, i had difficulty trying to answer it in a clear fashion. David is consistently and patiently responding to questions of this sort on an almost daily basis it seems - just look back at forum questions and answers over the course of the last year. David has probably responded to and possibly solved 80% of all questions asked here. i, myself, might respond to 1 in a hundred help requests, at best. David is all over this forum. please re-read David's post, minus any assumption that he is being spiteful. he's asking an honest question. if you ask a question that is easy to answer, there are those of us on this forum more than happy to help. when you ask a more complicated question, sometimes we'll have time to help, and other times when we're busy doing our own work we'll wonder to ourselves, "why didn't they hire a programmer to help with this?" we've all got our own jobs to do. David has been an incredible resource for this forum, and not one to instigate any kind of "flame war". please don't take offense at what he wrote, as i don't believe it was meant to be offensive. thanks David, and Bas, i hope my suggesting regarding how to present your TimeBeam was helpful. ben On Mon, Mar 16, 2009 at 9:17 AM, Bas en Oisin wrote: > > Hi, > > Dear David McFarlane, we dont really understand where your frustration > is coming from. We thought the use of this forum was that experienced > E-Prime users could help out less-experienced users. > To answer your question ("Do you want to be a psychologist who dabbles > in computer programming, or instead a computer programmer > who dabbles in psychology?"): Neither. We are two medicine students > who are currently working on our scientific internship, we are a 3th > and 4th year students. We've been assigned by our supervising > professor with the task develope this E-prime test described in our > previous mail. The (programming) basis for this test was already set > for us and we wanted to improve it by adding a time-beam and voice- > over text (we already succeded in the latter). So we are still in the > "learning"-progress and we do enjoy it. Maybe if you could assist us > with our E-prime problems we could assist you in your apparent social- > skills' problems. We don't accept the tone you adress us with, we > thought we could get some help here, but apparently we need to find > some other way. > > Dear Michiel Spape, we succeded so far in programming our test, we > just have our last few errors in completing it. We have the getting > started guide (along with the users's guide and the reference guide). > We just weren't able to extract the informating for u time beam during > 1 trial out of these books. > > Well, we cant really thank you. > > Greats, > > Oisin and Bas > > > ,. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From yanhyu at gmail.com Mon Mar 16 14:44:22 2009 From: yanhyu at gmail.com (Yan Yu) Date: Mon, 16 Mar 2009 10:44:22 -0400 Subject: voice-over and time beam In-Reply-To: <3345e4a50903160723u2d36720m6c66ea1f9ce8d9c8@mail.gmail.com> Message-ID: 1000% ditto to Ben!David is one of the most helpful and incredible resource for this forum! He is always so sincere in helping us all. Eprime forum has always been a super friendly and supportive group. Let's keep enjoying the intellectual exchanges and friendship here. Yan On Mon, Mar 16, 2009 at 10:23 AM, ben robinson wrote: > in defense of David: > guys, i think you've misunderstood the tone of David's email, which is all > too easy to do when reading these kinds of online forums. > you asked a question the answer to which is really quite complicated to > communicate to someone brand-new to the eprime programming environment. at > least, i had difficulty trying to answer it in a clear fashion. David is > consistently and patiently responding to questions of this sort on an almost > daily basis it seems - just look back at forum questions and answers over > the course of the last year. David has probably responded to and possibly > solved 80% of all questions asked here. i, myself, might respond to 1 in a > hundred help requests, at best. David is all over this forum. > please re-read David's post, minus any assumption that he is being > spiteful. he's asking an honest question. > if you ask a question that is easy to answer, there are those of us on this > forum more than happy to help. when you ask a more complicated question, > sometimes we'll have time to help, and other times when we're busy doing our > own work we'll wonder to ourselves, "why didn't they hire a programmer to > help with this?" we've all got our own jobs to do. > David has been an incredible resource for this forum, and not one to > instigate any kind of "flame war". please don't take offense at what he > wrote, as i don't believe it was meant to be offensive. > thanks David, and Bas, i hope my suggesting regarding how to present your > TimeBeam was helpful. > > ben > > > On Mon, Mar 16, 2009 at 9:17 AM, Bas en Oisin wrote: > >> >> Hi, >> >> Dear David McFarlane, we dont really understand where your frustration >> is coming from. We thought the use of this forum was that experienced >> E-Prime users could help out less-experienced users. >> To answer your question ("Do you want to be a psychologist who dabbles >> in computer programming, or instead a computer programmer >> who dabbles in psychology?"): Neither. We are two medicine students >> who are currently working on our scientific internship, we are a 3th >> and 4th year students. We've been assigned by our supervising >> professor with the task develope this E-prime test described in our >> previous mail. The (programming) basis for this test was already set >> for us and we wanted to improve it by adding a time-beam and voice- >> over text (we already succeded in the latter). So we are still in the >> "learning"-progress and we do enjoy it. Maybe if you could assist us >> with our E-prime problems we could assist you in your apparent social- >> skills' problems. We don't accept the tone you adress us with, we >> thought we could get some help here, but apparently we need to find >> some other way. >> >> Dear Michiel Spape, we succeded so far in programming our test, we >> just have our last few errors in completing it. We have the getting >> started guide (along with the users's guide and the reference guide). >> We just weren't able to extract the informating for u time beam during >> 1 trial out of these books. >> >> Well, we cant really thank you. >> >> Greats, >> >> Oisin and Bas >> >> >> ,. >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From google at frankbosco.com Mon Mar 16 15:04:10 2009 From: google at frankbosco.com (frankbosco) Date: Mon, 16 Mar 2009 08:04:10 -0700 Subject: Emulate paper-and-pencil style quiz with E-Prime? Message-ID: Dear E-Prime group, I would like to administer a quiz-like experiment with E-Prime 2.0 which allows participants to see and change their responses to previous questions (i.e., allows Ss to navigate back and forth, emulating a paper-and-pencil style quiz). I need help with having the previous responses show up when Ss return to previous items to change their responses, and be overwritten when a new response is made. I’m currently using a slide object with the quiz item and four clickable boxes to the left of the response options, but I am not tied to this method. Any help would be greatly appreciated. Thanks in advance, Frank --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From pollmoi at gmail.com Mon Mar 16 16:48:12 2009 From: pollmoi at gmail.com (Paul (University of Granada)) Date: Mon, 16 Mar 2009 09:48:12 -0700 Subject: Image Display Problem in Feedback Object Message-ID: Hello: As im new in programming on e-prime, ill like to have some help whit one issue. Im trying to programm a block feedback display, which depends on the mean RT of the hole block. For this i have prepare a Feedback bar which has 4 different presentation. The first has to be presented if the subject RT is > 1100, the next between 1100 and 1000, the next between 1000 and 900 and the last between 900 and 800. I have an InitiateVariable InLine Text, at the beginning of the session that states: Set TargetRT = New Summation At the end of each trial, I have a Counter InLine text that states: TargetRT.AddObservation c.GetAttrib("Target.RT") Then at the end of each block i have an Feedback calculation Inline that states: 'Calculation of Mean RT for Rt feedback bar If TargetRT.Mean >= 1100 Then c.setAttrib "FeedbackBar","stimuli/ Feedbackbar1.bmp" If TargetRT.Mean > 1000 and TargetRT.Mean < 1100 Then c.setAttrib "FeedbackBar", "stimuli/Feedbackbar2.bmp" If TargetRT.Mean > 900 and TargetRT.Mean < 1000 Then c.setAttrib "FeedbackBar", "stimuli/Feedbackbar3.bmp" If TargetRT.Mean > 800 and TargetRT.Mean < 900 Then c.setAttrib "FeedbackBar", "stimuli/Feedbackbar4.bmp" I have put a feeback object whit an image display box, which has a reference to the attribute FeedbackBar. This attribute is a .bmp image that depends on the conditions describes above. It seems that the script doesnt has a problem, but when the experiment gets into the feedback object it appears an Error (11041, which i have look for in the user guides and is not listed) and the scripts error states: 'Image3 Set BlockFeedback_SlideImage = CSlideImage (BlockFeedback.States(BlockFeedback.ActiveState).Objects(6)) BlockFeedback_SlideImage.Filename = c.GetAttrib ("FeedbackBar") BlockFeedback_SlideImage.Load (THE ERROR APPEARS IN THIS LINE) Set BlockFeedback_SlideImage = Nothing BlockFeedback.States("Correct").DisplayName = "" Case "Incorrect" BlockFeedback.States("Incorrect").DisplayName = "" Case "NoResponse" BlockFeedback.States("NoResponse").DisplayName = "" Case "Pending" BlockFeedback.States("Pending").DisplayName = "" End Select I have look for this in the useerguides, and in the E-Prime Google groups, but havent found an answer yet... ill be thankfull if you can help me whit this.... Thank you Paul --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Mar 16 19:00:55 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 16 Mar 2009 15:00:55 -0400 Subject: External application to call a series of .ebs2 files? In-Reply-To: <6cd2f18e-f5f6-4309-9048-60bfb16141a3@v15g2000yqn.googlegro ups.com> Message-ID: Frank, Wow, this looks really cool, thanks very much for taking on the assignment and writing back. Looks like it will be worth my time to look into AutoIt further, and continue recommending it to others. Thanks, -- David McFarlane, Professional Faultfinder At 3/14/2009 02:21 AM Saturday, you wrote: >David, > >Thanks very much for your suggestion! I've created a script for this >purpose in Autoit (it works very well). I don't know how to attach a >file in this window, so please feel free to download it from my >personal website (see link below), and share. In the .zip file, I >have included the Autoit script file, a compiled version, and a >basic .txt instruction file. > >http://www.frankbosco.com/call_ebs.zip > >All the best, >Frank > > >On Mar 13, 10:47 am, David McFarlane wrote: > > Frank, > > > > This question has come up before (e.g., > seehttp://www.pstnet.com/forum/Topic2485-12-1.aspx), and I keep > > suggesting AutoIt > > (http://www.autoitscript.com/autoit3 > > ). So far no one has reported back on this, and I never have time to > > try it myself. Perhaps you could give that a try and let us all know > > how it works. > > > > Other than that, you might try a good old DOS-style batch > > file. Also, someone once suggested (sorry, I do not have the link) > > using links in a .pdf to guide the course of a battery of > > tests. That would still require some manual interaction, but might > > help a little. > > > > Please let us know what you find. > > > > -- David McFarlane, Professional Faultfinder > > > > >Dear E-Prime group, > > > > >I am searching for a (presumably) simple external application (e.g., a > > >small VB-based program) to call several EBS2 files to run in a desired > > >order (preferably random order). I would like to administer a battery > > >of experiments in a group setting, and am having a great deal of > > >trouble integrating the procedures from each separate .ES2 file into > > >one "main" .ES2 file with blocklists (E-Prime support suggested that > > >my individual procedures exceed E-Prime's copy/paste capacity, and E- > > >Prime's automatic renaming of duplicate objects is making the task > > >even more difficult). > > > > >Would anyone be willing to share something along these lines? Any > > >help would be greatly appreciated. I am not very familiar with > > >programming languages. > > > > >Thanks in advance! > > >Frank > > > > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > >Frank A. Bosco > > >Doctoral Student > > >Dept. of Management (OB/HR) > > >Fogelman College of Business & Economics > > >The University of Memphis > > >fbo... at memphis.edu > > >Office: (901) 678-4531 > > >Cell: (901) 387-7864 > > >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Mar 16 19:06:25 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 16 Mar 2009 15:06:25 -0400 Subject: Emulate paper-and-pencil style quiz with E-Prime? In-Reply-To: Message-ID: Frank Any particular reason that you want to do this in E-Prime (besides that you already have E-Prime and are familiar with it)? I have heard that MediaLab from Empirisoft (http://www.empirisoft.com/MediaLab.aspx ) is custom made for this use. Once again I am going out on a limb here since I do not have any experience myself with MediaLab, but if you are not tied to E-Prime and can spend some money then you might look into this. BTW, MediaLab would also almost address your earlier question of ganging together several task programs. I say "almost" because, although MediaLab will gang together several types of programs, apparently it does not work with E-Prime. Once again, I would be interested to hear about anything that works. Regards, -- David McFarlane, Professional Faultfinder >Dear E-Prime group, > >I would like to administer a quiz-like experiment with E-Prime 2.0 >which allows participants to see and change their responses to >previous questions (i.e., allows Ss to navigate back and forth, >emulating a paper-and-pencil style quiz). I need help with having the >previous responses show up when Ss return to previous items to change >their responses, and be overwritten when a new response is made. I'm >currently using a slide object with the quiz item and four clickable >boxes to the left of the response options, but I am not tied to this >method. Any help would be greatly appreciated. > >Thanks in advance, >Frank --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Tue Mar 17 16:41:11 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 17 Mar 2009 12:41:11 -0400 Subject: Emulate paper-and-pencil style quiz with E-Prime? In-Reply-To: Message-ID: Frank, I just noticed a post on the PST Forum at http://www.pstnet.com/forum/Topic2853-5-1.aspx where someone else has a questionnaire working in E-Prime that sounds a lot like what you want. Might be worth asking there how they did it. -- David McFarlane, Professional Faultfinder At 3/16/2009 11:04 AM Monday, you wrote: >Dear E-Prime group, > >I would like to administer a quiz-like experiment with E-Prime 2.0 >which allows participants to see and change their responses to >previous questions (i.e., allows Ss to navigate back and forth, >emulating a paper-and-pencil style quiz). I need help with having the >previous responses show up when Ss return to previous items to change >their responses, and be overwritten when a new response is made. I'm >currently using a slide object with the quiz item and four clickable >boxes to the left of the response options, but I am not tied to this >method. Any help would be greatly appreciated. > >Thanks in advance, >Frank --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From rickogorman at gmail.com Thu Mar 19 20:45:52 2009 From: rickogorman at gmail.com (Rick O'Gorman) Date: Thu, 19 Mar 2009 20:45:52 +0000 Subject: voice-over and time beam In-Reply-To: <3345e4a50903160723u2d36720m6c66ea1f9ce8d9c8@mail.gmail.com> Message-ID: Hi Ben (and David), I have to disagree here. Being privy to previous posts by David, I understood where he is coming from. I also totally appreciate his contributions. Nonetheless, having been a newbie to e-prime myself recently, I also understand Bas' and Oisin's challenges. We all have limited time and sometimes its more efficient to ask someone who knows rather than always try to learn everything yourself (I tend to make the latter mistake). Furthermore, the manuals aren't perfect. The bottom line is that no-one holds a gun to anyone's head here to answer questions. If you don't have the answer, or feel its too difficult to explain, then you can ignore the request or politely tell the poster that. If you think the answer is in the manual, then advising to RTFM (perhaps without the F) is reasonable. But there is little more as off-putting when joining a new group then being abruptly asked why you didn't read up more first, or some other harsh introduction. It sets the wrong tone, in my view, and I don't really see the necessity. But we all get frustrated also, so we need to also forgive the rebukes. :) Rick ben robinson wrote: > in defense of David: > guys, i think you've misunderstood the tone of David's email, which is > all too easy to do when reading these kinds of online forums. > you asked a question the answer to which is really quite complicated to > communicate to someone brand-new to the eprime programming environment. > at least, i had difficulty trying to answer it in a clear fashion. > David is consistently and patiently responding to questions of this sort > on an almost daily basis it seems - just look back at forum questions > and answers over the course of the last year. David has probably > responded to and possibly solved 80% of all questions asked here. i, > myself, might respond to 1 in a hundred help requests, at best. David > is all over this forum. > please re-read David's post, minus any assumption that he is being > spiteful. he's asking an honest question. > if you ask a question that is easy to answer, there are those of us on > this forum more than happy to help. when you ask a more complicated > question, sometimes we'll have time to help, and other times when we're > busy doing our own work we'll wonder to ourselves, "why didn't they hire > a programmer to help with this?" we've all got our own jobs to do. > David has been an incredible resource for this forum, and not one to > instigate any kind of "flame war". please don't take offense at what he > wrote, as i don't believe it was meant to be offensive. > thanks David, and Bas, i hope my suggesting regarding how to present > your TimeBeam was helpful. > > ben > > On Mon, Mar 16, 2009 at 9:17 AM, Bas en Oisin > wrote: > > > Hi, > > Dear David McFarlane, we dont really understand where your frustration > is coming from. We thought the use of this forum was that experienced > E-Prime users could help out less-experienced users. > To answer your question ("Do you want to be a psychologist who dabbles > in computer programming, or instead a computer programmer > who dabbles in psychology?"): Neither. We are two medicine students > who are currently working on our scientific internship, we are a 3th > and 4th year students. We've been assigned by our supervising > professor with the task develope this E-prime test described in our > previous mail. The (programming) basis for this test was already set > for us and we wanted to improve it by adding a time-beam and voice- > over text (we already succeded in the latter). So we are still in the > "learning"-progress and we do enjoy it. Maybe if you could assist us > with our E-prime problems we could assist you in your apparent social- > skills' problems. We don't accept the tone you adress us with, we > thought we could get some help here, but apparently we need to find > some other way. > > Dear Michiel Spape, we succeded so far in programming our test, we > just have our last few errors in completing it. We have the getting > started guide (along with the users's guide and the reference guide). > We just weren't able to extract the informating for u time beam during > 1 trial out of these books. > > Well, we cant really thank you. > > Greats, > > Oisin and Bas > > > ,. > > > > > -- Rick O'Gorman, PhD Psychology, Faculty of Development and Society Collegiate Crescent Campus, Sheffield Hallam University, Sheffield S10 2BP Phone: 0114 225 5788 Fax: 0114 225 2430 http://www.shu.ac.uk/psychology/staff/OGorman.html If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed. --Albert Einstein --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From ttnicky at gmail.com Tue Mar 24 17:11:44 2009 From: ttnicky at gmail.com (ttnicky) Date: Tue, 24 Mar 2009 10:11:44 -0700 Subject: creating a list from program's choices within a larger list Message-ID: I am creating an experiment where I have a target list of 17 pictures: the program randomly chooses 10 of those pictures for display (I have that part down ok). However, later in the experiment I do a recognition test and I need to somehow differentiate the 10 pictures already shown from the 7 not already shown, such that 7 of the old 10 items are randomly displayed with the 7 pictures not previously displayed. I would just reset the list following the first presentation and set it to pick 14 randomly from the list, but it's important that I have 7 old and 7 new pictures displayed at random. NOTE: pictures are displayed individually. Any ideas? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From ejk4 at pitt.edu Tue Mar 24 17:44:12 2009 From: ejk4 at pitt.edu (Eliezer Kanal) Date: Tue, 24 Mar 2009 13:44:12 -0400 Subject: creating a list from program's choices within a larger list In-Reply-To: Message-ID: I would add an attribute to the target list (the one with 17 pictures) named "Displayed" with a default value of "false", and then at run time set that attribute to "true" for each of the 10 pictures shown to the user. Later on, you would choose the seven pictures with the attribute still set to false, and seven pictures with that attribute set to true. Good luck! Eliezer Kanal On Mar 24, 2009, at 1:11 PM, ttnicky wrote: > > I am creating an experiment where I have a target list of 17 pictures: > the program randomly chooses 10 of those pictures for display (I have > that part down ok). However, later in the experiment I do a > recognition test and I need to somehow differentiate the 10 pictures > already shown from the 7 not already shown, such that 7 of the old 10 > items are randomly displayed with the 7 pictures not previously > displayed. I would just reset the list following the first > presentation and set it to pick 14 randomly from the list, but it's > important that I have 7 old and 7 new pictures displayed at random. > NOTE: pictures are displayed individually. > > Any ideas? Thanks > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From emzcoffey at gmail.com Tue Mar 24 18:36:36 2009 From: emzcoffey at gmail.com (Emz) Date: Tue, 24 Mar 2009 11:36:36 -0700 Subject: A way to export button press data using scripts without terminating stimulus? Message-ID: Dear E-Prime people, I would like to know if E-Prime has some capability to run a script at any time during a task upon button press without interrupting its user- end activities. The problem in more detail is as follows: I am using a variant of the N-back task and would like to precisely log when the user presses one of the two response buttons. I know this is easy to do using E-Prime's logging functions; however, I am exporting data in real time to a MatLab matrix in another computer which is necessary for my experimental set-up. The data transfer is accomplished through a few lines of script, which I have inserted in appropriate places in the E-Prime code to mark events of interest. This works nicely, except for subject responses since the stimulus needs to be shown for a fixed length of time. I have considered a few possible solutions, but none seem very good: - have the stimulus terminate upon response and go to the logging script; however, this affects the task in undesirable ways - use script to collect and output the E-Prime reaction time, correct response info, etc. after the trial finishes. This means the reaction time data will be desynchronized with the rest of the data file and will require additional calculations to identify where in the data file the button press took place. I am concerned this will introduce error as there are already several data files with different sampling rates to be aligned post-experiment. - have the stimulus terminate upon response and go to the logging script, then reappear for the remainder of the unused time, and same for the blank screen afterward. I am attempting this solution, but it is quite messy and round-about because the response may occur during the stimulus presentation or during a blank screen. Ideally, I would just need a way to execute the send script during the stimulus presentation when the subject responds, without terminating the activity. Any ideas if this is even possible? Pointers / help function references, etc. all welcome, EC --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From baltimore.ben at gmail.com Wed Mar 25 15:13:36 2009 From: baltimore.ben at gmail.com (ben robinson) Date: Wed, 25 Mar 2009 11:13:36 -0400 Subject: Image Display Problem in Feedback Object In-Reply-To: <08607738-36c8-4034-af7e-7033d4122563@e38g2000yqa.googlegroups.com> Message-ID: i think your problem may be with "c.SetAttrib". by setting the attrib at the current context level, you're not actually placing the file name for your feedback .bmp in a place that is then accessible to your feedback slide which runs at the end of the block. a couple of options: FeedbackList.SetAttrib 1, "FeedbackBar", "stimuli/Feedbackbar4.bmp" then have your feedback slide run within a feedback procedure called from FeedbackList. alternately do all your If...Thens, but then rather than set an attribute in a list with the name of a .bmp, directly set the name for the image within your FeedbackObject. Dim theImage As SlideImage Set theImage = CSlideImage(FeedbackDisplay1.States(FeedbackDisplay1.ActiveState).Objects("ImageName")) i pretty much just copied and pasted the above script from the help file for "SlideImage Object (topic)" hope some of that is helpful. ben On Mon, Mar 16, 2009 at 12:48 PM, Paul (University of Granada) < pollmoi at gmail.com> wrote: > > Hello: > > As im new in programming on e-prime, ill like to have some help whit > one issue. > > Im trying to programm a block feedback display, which depends on the > mean RT of the hole block. For this i have prepare a Feedback bar > which has 4 different presentation. The first has to be presented if > the subject RT is > 1100, the next between 1100 and 1000, the next > between 1000 and 900 and the last between 900 and 800. > > I have an InitiateVariable InLine Text, at the beginning of the > session that states: > > Set TargetRT = New Summation > > At the end of each trial, I have a Counter InLine text that states: > > TargetRT.AddObservation c.GetAttrib("Target.RT") > > Then at the end of each block i have an Feedback calculation Inline > that states: > > 'Calculation of Mean RT for Rt feedback bar > If TargetRT.Mean >= 1100 Then c.setAttrib "FeedbackBar","stimuli/ > Feedbackbar1.bmp" > > If TargetRT.Mean > 1000 and TargetRT.Mean < 1100 Then c.setAttrib > "FeedbackBar", "stimuli/Feedbackbar2.bmp" > > If TargetRT.Mean > 900 and TargetRT.Mean < 1000 Then c.setAttrib > "FeedbackBar", "stimuli/Feedbackbar3.bmp" > > If TargetRT.Mean > 800 and TargetRT.Mean < 900 Then c.setAttrib > "FeedbackBar", "stimuli/Feedbackbar4.bmp" > > I have put a feeback object whit an image display box, which has a > reference to the attribute FeedbackBar. This attribute is a .bmp image > that depends on the conditions describes above. It seems that the > script doesnt has a problem, but when the experiment gets into the > feedback object it appears an Error (11041, which i have look for in > the user guides and is not listed) and the scripts error states: > > 'Image3 > Set BlockFeedback_SlideImage = CSlideImage > (BlockFeedback.States(BlockFeedback.ActiveState).Objects(6)) > BlockFeedback_SlideImage.Filename = c.GetAttrib > ("FeedbackBar") > BlockFeedback_SlideImage.Load (THE ERROR APPEARS IN THIS > LINE) > Set BlockFeedback_SlideImage = Nothing > BlockFeedback.States("Correct").DisplayName = "" > Case "Incorrect" > > BlockFeedback.States("Incorrect").DisplayName = "" > Case "NoResponse" > > BlockFeedback.States("NoResponse").DisplayName = "" > Case "Pending" > > BlockFeedback.States("Pending").DisplayName = "" > End Select > > I have look for this in the useerguides, and in the E-Prime Google > groups, but havent found an answer yet... ill be thankfull if you can > help me whit this.... > > Thank you > > Paul > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From baltimore.ben at gmail.com Wed Mar 25 15:23:16 2009 From: baltimore.ben at gmail.com (ben robinson) Date: Wed, 25 Mar 2009 11:23:16 -0400 Subject: A way to export button press data using scripts without terminating stimulus? In-Reply-To: <4edb2568-001d-458a-97f8-3ced76231aed@37g2000yqp.googlegroups.com> Message-ID: your last option, though a little messy, is the only way to go, i think. >>- have the stimulus terminate upon response and go to the logging script, then reappear for the remainder of the unused time, and same for the blank screen afterward. I am attempting this solution, but it is quite messy and round-about because the response may occur during the stimulus presentation or during a blank screen. here's how i would consider doing it: first, plan to have the SlideObject, or whatever is presenting your stim have a Duration of 0, but a response window as long as you'd like to be collecting responses. set up a variable to record the time (Clock.Read) in an Inline immediately preceding your SlideObject with 0 ms duration. then in an Inline immediately following your SlideObject, have a loop. something like this: Do If SlideObject.RT>0 And NotYetSignaledMatlab=TRUE Then send your event code to matlab NotYetSignaledMatlab=FALSE End If Loop Until (Clock.Read - yourTimeVariable) > yourStimDuration clear the screen then Do Loop Until (Clock.Read - yourTimeVariable) > (yourStimDuration + yourBlankScreenDuration) hope that helps. ben On Tue, Mar 24, 2009 at 2:36 PM, Emz wrote: > > Dear E-Prime people, > > I would like to know if E-Prime has some capability to run a script at > any time during a task upon button press without interrupting its user- > end activities. > > The problem in more detail is as follows: > > I am using a variant of the N-back task and would like to precisely > log when the user presses one of the two response buttons. I know this > is easy to do using E-Prime's logging functions; however, I am > exporting data in real time to a MatLab matrix in another computer > which is necessary for my experimental set-up. The data transfer is > accomplished through a few lines of script, which I have inserted in > appropriate places in the E-Prime code to mark events of interest. > This works nicely, except for subject responses since the stimulus > needs to be shown for a fixed length of time. > > I have considered a few possible solutions, but none seem very good: > - have the stimulus terminate upon response and go to the logging > script; however, this affects the task in undesirable ways > - use script to collect and output the E-Prime reaction time, correct > response info, etc. after the trial finishes. This means the reaction > time data will be desynchronized with the rest of the data file and > will require additional calculations to identify where in the data > file the button press took place. I am concerned this will introduce > error as there are already several data files with different sampling > rates to be aligned post-experiment. > - have the stimulus terminate upon response and go to the logging > script, then reappear for the remainder of the unused time, and same > for the blank screen afterward. I am attempting this solution, but it > is quite messy and round-about because the response may occur during > the stimulus presentation or during a blank screen. > > Ideally, I would just need a way to execute the send script during the > stimulus presentation when the subject responds, without terminating > the activity. Any ideas if this is even possible? > > Pointers / help function references, etc. all welcome, > > > EC > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From emzcoffey at gmail.com Thu Mar 26 07:41:15 2009 From: emzcoffey at gmail.com (Emz) Date: Thu, 26 Mar 2009 00:41:15 -0700 Subject: A way to export button press data using scripts without terminating stimulus? In-Reply-To: <3345e4a50903250823i428327c0tae6986df8c171ecb@mail.gmail.com> Message-ID: Okay, I think I understand your suggestions - will try to implement! On Mar 25, 4:23 pm, ben robinson wrote: > your last option, though a little messy, is the only way to go, i think. > > >>- have the stimulus terminate upon response and go to the logging > > script, then reappear for the remainder of the unused time, and same > for the blank screen afterward. I am attempting this solution, but it > is quite messy and round-about because the response may occur during > the stimulus presentation or during a blank screen. > > here's how i would consider doing it: > first, plan to have the SlideObject, or whatever is presenting your stim > have a Duration of 0, but a response window as long as you'd like to be > collecting responses. > set up a variable to record the time (Clock.Read) in an Inline immediately > preceding your SlideObject with 0 ms duration. > then in an Inline immediately following your SlideObject, have a loop. > something like this: > Do >    If SlideObject.RT>0 And NotYetSignaledMatlab=TRUE Then >       send your event code to matlab >       NotYetSignaledMatlab=FALSE >    End If > Loop Until (Clock.Read - yourTimeVariable) > yourStimDuration > clear the screen then > Do > Loop Until (Clock.Read - yourTimeVariable) > (yourStimDuration + > yourBlankScreenDuration) > > hope that helps. > > ben > > On Tue, Mar 24, 2009 at 2:36 PM, Emz wrote: > > > Dear E-Prime people, > > > I would like to know if E-Prime has some capability to run a script at > > any time during a task upon button press without interrupting its user- > > end activities. > > > The problem in more detail is as follows: > > > I am using a variant of the N-back task and would like to precisely > > log when the user presses one of the two response buttons. I know this > > is easy to do using E-Prime's logging functions; however, I am > > exporting data in real time to a MatLab matrix in another computer > > which is necessary for my experimental set-up. The data transfer is > > accomplished through a few lines of script, which I have inserted in > > appropriate places in the E-Prime code to mark events of interest. > > This works nicely, except for subject responses since the stimulus > > needs to be shown for a fixed length of time. > > > I have considered a few possible solutions, but none seem very good: > > - have the stimulus terminate upon response and go to the logging > > script; however, this affects the task in undesirable ways > > - use script to collect and output the E-Prime reaction time, correct > > response info, etc. after the trial finishes. This means the reaction > > time data will be desynchronized with the rest of the data file and > > will require additional calculations to identify where in the data > > file the button press took place. I am concerned this will introduce > > error as there are already several data files with different sampling > > rates to be aligned post-experiment. > > - have the stimulus terminate upon response and go to the logging > > script, then reappear for the remainder of the unused time, and same > > for the blank screen afterward. I am attempting this solution, but it > > is quite messy and round-about because the response may occur during > > the stimulus presentation or during a blank screen. > > > Ideally, I would just need a way to execute the send script during the > > stimulus presentation when the subject responds, without terminating > > the activity. Any ideas if this is even possible? > > > Pointers / help function references, etc. all welcome, > > > EC --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From lonkeknol at gmail.com Mon Mar 30 08:34:55 2009 From: lonkeknol at gmail.com (A. de Ruijter) Date: Mon, 30 Mar 2009 01:34:55 -0700 Subject: random traffic lights, but after a yellow light comes a red light Message-ID: I hope someone can help me with the following situation: I'm emulating a traffic light with red (r.jpg), yellow (y.jpg) and green (g.jpg) circles that appear randomly in three different location. For each location I've created an attribute, namely lightlow, lightabove and lightright. Now I want to write a script that causes a yellow light to always be followed by a red one. Other than that, I want everything to be random. So the logic as far as I get the logic is: IF lightlow OR lightabove OR lightright = y.bmp THEN (in the next trial) randomly select in lightlow OR lightabove OR lightright = r.bmp Like you can see this is not VB so I was hoping someone who does understand the language can help me with the code. Thanks a bunch already! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From rariel at kent.edu Mon Mar 30 14:32:36 2009 From: rariel at kent.edu (Robert_A) Date: Mon, 30 Mar 2009 07:32:36 -0700 Subject: random traffic lights, but after a yellow light comes a red light In-Reply-To: <911120ce-31e8-43f4-af34-abdf54dd93a5@e35g2000yqc.googlegroups.com> Message-ID: On the e-prime website there is a sample experiment that will allow you to never have 2 consecutive trials of the same type repeat. What you want to do requires similar logic, because you want a specific trial type (red stim) to follow presentation of another stim type (yellow). So if I were you, I would get that script from the e-prime downloads (I think it is called No repeats or something like that). You can probably make some minor tweaks to that script to accomplish your goal. On Mar 30, 4:34 am, "A. de Ruijter" wrote: > I hope someone can help me with the following situation: I'm emulating > a traffic light with red (r.jpg), yellow (y.jpg) and green (g.jpg) > circles that appear randomly in three different location. For each > location I've created an attribute, namely lightlow, lightabove and > lightright. Now I want to write a script that causes a yellow light to > always be followed by a red one. Other than that, I want everything to > be random. > > So the logic as far as I get the logic is: > > IF lightlow OR lightabove OR lightright = y.bmp THEN (in the next > trial) > randomly select in lightlow OR lightabove OR lightright = r.bmp > > Like you can see this is not VB so I was hoping someone who does > understand the language can help me with the code. Thanks a bunch > already! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From lennertz.t at gmail.com Mon Mar 30 17:48:46 2009 From: lennertz.t at gmail.com (Tracy) Date: Mon, 30 Mar 2009 10:48:46 -0700 Subject: Feedback contingent on the number of trials Message-ID: Hello, I am trying to program an experiment in which there are 288 trials within a single block. I'd like to provide participants with a message of their overall feedback accuracy after every 12 trials (e.g., "Your accuracy was ___%"). This message will be based on participants' average accuracy from the previous 12 trials, and since there are 288 trials in total -- this feedback will occur 24 times throughout the experiment. To do this, I know I need to include a script to initiate the variable, "OverallAcc":, e.g.: 'This initiates the Summation object, OverallAcc, so that it 'may be referenced within the experiment. Set OverallAcc = New Summation An accuracy summation script: 'The AddObservation command adds the ACC value of object 'Target to the Summation object, OverallAcc. OverallAcc.AddObservation Target.ACC 'The Debug.Print command prints the mean value of the Summation 'object, OverallAcc, in the Output window. Debug.Print OverallAcc.Mean 'The OverallACC attribute adds the running calculation of overall 'accuracy to the data file at the trial level. c.SetAttrib "OverallAcc", OverallAcc.Mean and a text object to display the feedback. The Object on which feedback is collected is the "Target." I think I will also need to add a script that counts the number of trials, defines the OverallAcc variable, and resets the OverallAcc variable after every 12 trials -- but I am not sure how to implement this. Any help is most appreciated! Thanks very much! Tracy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From pquain at une.edu.au Mon Mar 30 22:18:01 2009 From: pquain at une.edu.au (Peter Quain) Date: Tue, 31 Mar 2009 09:18:01 +1100 Subject: Feedback contingent on the number of trials In-Reply-To: <12ffb029-b73b-4da9-baf7-1603c0a5f42c@l1g2000yqk.googlegrou ps.com> Message-ID: Without using summation object, maybe something like this would work (there are probably some syntax errors in this though) Make an attribute 'correctanswer' in trialList Declare globally in User Script... Dim counter, correct, pcntcorr As Integer Dim calc As Double counter = 0 correct = 0 pcntcorr = 0 calc = 0 Have a text object (Feedback) at end of your trial procedure with 0 duration (so it is invisible in each trial where duration is 0). In an inline at start of your trial procedure.. If counter < 12 Then Feedback.Duration = 0 End If counter = counter + 1 In an inline after your stimulus.. If [yourStimulusObject].RESP = [yourStimulusObject].correctanswer Then correct = correct + 1 End If If counter = 12 Then calc = correct/12 * 100 pcntcorr = Rnd(calc) Feedback.Duration = 3000 Feedback.text = "Your accuracy was" & pcntcorr & "%" c.SetAttrib "OverallAcc", pcntcorr counter = 0 correct = 0 pcntcorr = 0 End If At 04:48 AM 31/03/2009, you wrote: >Hello, > >I am trying to program an experiment in which there are 288 trials >within a single block. I'd like to provide participants with a >message of their overall feedback accuracy after every 12 trials >(e.g., "Your accuracy was ___%"). This message will be based on >participants' average accuracy from the previous 12 trials, and since >there are 288 trials in total -- this feedback will occur 24 times >throughout the experiment. > >To do this, I know I need to include a script to initiate the >variable, "OverallAcc":, e.g.: > >'This initiates the Summation object, OverallAcc, so that it >'may be referenced within the experiment. >Set OverallAcc = New Summation > >An accuracy summation script: > >'The AddObservation command adds the ACC value of object >'Target to the Summation object, OverallAcc. >OverallAcc.AddObservation Target.ACC > >'The Debug.Print command prints the mean value of the Summation >'object, OverallAcc, in the Output window. >Debug.Print OverallAcc.Mean > >'The OverallACC attribute adds the running calculation of overall >'accuracy to the data file at the trial level. >c.SetAttrib "OverallAcc", OverallAcc.Mean > >and a text object to display the feedback. The Object on which >feedback is collected is the "Target." I think I will also need to add >a script that counts the number of trials, defines the OverallAcc >variable, and resets the OverallAcc variable after every 12 trials -- >but I am not sure how to implement this. Any help is most >appreciated! > >Thanks very much! >Tracy > > > > > > >> > > >-- >No virus found in this incoming message. >Checked by AVG. >Version: 7.5.557 / Virus Database: 270.11.31/2029 - Release Date: >29/03/2009 4:56 PM > > > > >-- >No virus found in this incoming message. >Checked by AVG. >Version: 7.5.557 / Virus Database: 270.11.31/2029 - Release Date: >29/03/2009 4:56 PM -- No virus found in this outgoing message. Checked by AVG. Version: 7.5.557 / Virus Database: 270.11.32/2030 - Release Date: 30/03/2009 8:40 AM --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From adamosth at gmail.com Tue Mar 31 17:39:07 2009 From: adamosth at gmail.com (Adam Osth) Date: Tue, 31 Mar 2009 13:39:07 -0400 Subject: Question about attribute referencing Message-ID: Hey - I apologize if this question is really simplistic, but I'm completely new to Eprime and I'm having problems designing a recognition memory experiment. In this experiment, I need to present subjects with 8 pictures all of different categories (like dogs, cats, birds, etc) and then subsequently test them on their recognition of the studied pictures as well as new pictures from the studied categories as well as new pictures from unstudied categories. There are 16 total categories each containing 9 different pictures. I've structured the experiment such that within the Blocks list, I have a Categories list nested to the Blocks list and the 16 picture categories nested to the Categories list. The individual categories lists all have references to the specific picture files. Overall categories list has a generic attribute [Stimulus] that links to the individual pictures within each categories list. *All* of these lists are randomized. So it goes like this: Blocks -Categories (contains attribute [Stimulus] -*16 individual categories* (attribute [Stimulus] links to picture files After the category lists, the Block Proc begins. First up is the study presentation phase, which should cycle through the first 8 categories on the list and present one picture from the individual categories. To do this, I have a StudyProc that loops 8 times and contains a picture file that uses [Stimulus] as its reference. My problem is that the picture file ends up just showing the same picture 8 times each time I run the experiment. I was thinking about adding an attribute to the Categories list like "Studied", with a default that says "no", and adding an inline command after each picture presentation that changes the status of "Studied" to "No". My question is - in the ImageDisplay properties, what do I type into the filename to ensure that it only shows pictures that have not been shown before? I've tried typing Studied.No, [Stimulus.Studied=No], Studied=No, but I can't seem to figure it out and I couldn't find anything in the help files about this. If anybody could be so kind as to point me in the right direction, I would be really grateful. Adam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From gosenbach at gmail.com Sun Mar 1 14:33:03 2009 From: gosenbach at gmail.com (Greg Osenbach) Date: Sun, 1 Mar 2009 09:33:03 -0500 Subject: Response to a slide In-Reply-To: <49A6A342.2030100@msu.edu> Message-ID: David, That method worked great. Thanks for the suggestion! Best Regards, Greg On Thu, Feb 26, 2009 at 9:12 AM, David McFarlane wrote: > > Greg, > > > I have a slide that I am looping through (time out at 100ms). Each time > > I change one of the values on the slide (random number). The subject is > > supposed to press a key to stop it and then I do some calculations with > > what ever the random number was at the time. I would like the subject > > to do this with the space bar. When I set the allowable response to > > {SPACE} and my inline do a check: If Slide1.RESP = " " and I have also > > tries If Slide1.RESP = chr(32), it does not work. If I set the > > allowable response to 1 and do the check If Slide1.RESP = "1", It works > > perfectly. I would think that I need something in my if statement other > > than " " or chr(32). > > > > Anyone have any ideas? Thanks. > > BTW, if I were looping through a slide and just wanted to stop when the > subject responds to any presentation, I might try another EP trick. > Instead of even getting a response to each slide presentation, I might > put a Wait object (let's call it ResponseWait) before my slide loop. I > would make its Duration 0, set it collect my desired response, and > (here's the key) set Time Limit to "(infinite)" or the max duration of > my slide loop. The PST User's Guide calls this Extended Input, see the > much overlooked Appendix C. I would probably also set its End Action to > Terminate so that it will terminate the current slide when the subject > responds, unless I wanted to allow the final slide to time-out on its > own. Anyway, then in my script or whatever I would just test for a > response to ResponseWait instead of my slides. > > I really don't know if this makes things any better in your case, but I > had an experiment where this technique solved a lot of problems. > > -- David McFarlane, Professional Faultfinder > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From giovanni.ottoboni at gmail.com Mon Mar 2 13:15:38 2009 From: giovanni.ottoboni at gmail.com (GioOtto) Date: Mon, 2 Mar 2009 05:15:38 -0800 Subject: once per trial Message-ID: I have designed a loop where some image are presented. I need to insert in the loop a sound. I need to present it once per trial and not associated to a specific image, otherwise it will be presented anytime that image is loaded. Anyone has some tips? Many thanks GO --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From tnsaffell at gmail.com Tue Mar 3 16:41:25 2009 From: tnsaffell at gmail.com (TN) Date: Tue, 3 Mar 2009 08:41:25 -0800 Subject: loading external files into Lists - examples or potential solutions? Message-ID: Hi, I was wondering if anybody had an example or could please point me to an example of an E-Prime (v2 preferably) program which loads external files into List. For my program, we are trying to load different variable values for various variable. I have found where you tell Eprime to load the file (in List, go to "Property Page," General Tab) but I cannot seem to create a file that will load. I tried a .xml and a .csv - both created by excel. I don't think EprimV2 likes .csv and the .xml file had errors. I put in the necessary Column headers (weight, nested, procedure) but it errored on the "Procedure" column. It claimed my Procedure name was not valid, even though I could see that particular Trial Procedure directly under the List in the program. I'm not limited to using .xml or .csv files - that's just where my previous research lead me. I am stuck, have looked through some online examples, EPrime's support forum and have glanced through the manuals but haven't found any solutions. I would be grateful for any help or examples. Thanks, ~Tiffany --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From gosenbach at gmail.com Tue Mar 3 16:46:28 2009 From: gosenbach at gmail.com (Greg Osenbach) Date: Tue, 3 Mar 2009 11:46:28 -0500 Subject: loading external files into Lists - examples or potential solutions? In-Reply-To: <50c097fe-9cc6-4a9e-9b9f-c0c56f685536@d2g2000pra.googlegroups.com> Message-ID: Tiffany, I have been doing this with Tab Delineated Text Files (v.s. .CSV) and it has been working fine for me. There is an example in the E-Basic help file under the Factor.Load Method. Factor.Load (method)Factor.Load (method) Syntax Factor.Load Description Loads the attribute and level data into the Factor object. Comments Factor.Load applies only when Factor.LoadMethod = ebLoadMethodEmbedded or ebLoadMethodFile Example 'This example sets the List to be loaded from the file, 'and identifies the text file to be used. List1.LoadMethod = ebLoadMethodFile List1.Filename = "MyTextFile.txt" List1.Load 'Note: To run this example in E-BasicExample.es, copy the 'script above and paste it into the Setup InLine object. 'Create MyTextFile.txt as a tab-delimited text file containing 'attribute header information in the working directory. Good Luck, Greg On Tue, Mar 3, 2009 at 11:41 AM, TN wrote: > > Hi, > > I was wondering if anybody had an example or could please point me to > an example of an E-Prime (v2 preferably) program which loads external > files into List. > > For my program, we are trying to load different variable values for > various variable. I have found where you tell Eprime to load the > file (in List, go to "Property Page," General Tab) but I cannot seem > to create a file that will load. I tried a .xml and a .csv - both > created by excel. I don't think EprimV2 likes .csv and the .xml file > had errors. I put in the necessary Column headers (weight, nested, > procedure) but it errored on the "Procedure" column. It claimed my > Procedure name was not valid, even though I could see that particular > Trial Procedure directly under the List in the program. I'm not > limited to using .xml or .csv files - that's just where my previous > research lead me. > > I am stuck, have looked through some online examples, EPrime's support > forum and have glanced through the manuals but haven't found any > solutions. I would be grateful for any help or examples. > > Thanks, > ~Tiffany > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From gosenbach at gmail.com Tue Mar 3 16:47:33 2009 From: gosenbach at gmail.com (Greg Osenbach) Date: Tue, 3 Mar 2009 11:47:33 -0500 Subject: loading external files into Lists - examples or potential solutions? In-Reply-To: Message-ID: Oh, and as a side note, I also added in a List1.Reset as well. Best of luck, Greg On Tue, Mar 3, 2009 at 11:46 AM, Greg Osenbach wrote: > Tiffany, > > I have been doing this with Tab Delineated Text Files (v.s. .CSV) and it > has been working fine for me. There is an example in the E-Basic help file > under the Factor.Load Method. > > Factor.Load (method) > > > > Syntax > > Factor.Load > > Description > > Loads the attribute and level data into the Factor object. > > Comments > > Factor.Load applies only when Factor.LoadMethod = ebLoadMethodEmbedded or > ebLoadMethodFile > > Example > > 'This example sets the List to be loaded from the file, > 'and identifies the text file to be used. > > > > List1.LoadMethod = ebLoadMethodFile > > List1.Filename = "MyTextFile.txt" > > List1.Load > > > > 'Note: To run this example in E-BasicExample.es, copy the > 'script above and paste it into the Setup InLine object. > 'Create MyTextFile.txt as a tab-delimited text file containing > 'attribute header information in the working directory. > Good Luck, > Greg > > > On Tue, Mar 3, 2009 at 11:41 AM, TN wrote: > >> >> Hi, >> >> I was wondering if anybody had an example or could please point me to >> an example of an E-Prime (v2 preferably) program which loads external >> files into List. >> >> For my program, we are trying to load different variable values for >> various variable. I have found where you tell Eprime to load the >> file (in List, go to "Property Page," General Tab) but I cannot seem >> to create a file that will load. I tried a .xml and a .csv - both >> created by excel. I don't think EprimV2 likes .csv and the .xml file >> had errors. I put in the necessary Column headers (weight, nested, >> procedure) but it errored on the "Procedure" column. It claimed my >> Procedure name was not valid, even though I could see that particular >> Trial Procedure directly under the List in the program. I'm not >> limited to using .xml or .csv files - that's just where my previous >> research lead me. >> >> I am stuck, have looked through some online examples, EPrime's support >> forum and have glanced through the manuals but haven't found any >> solutions. I would be grateful for any help or examples. >> >> Thanks, >> ~Tiffany >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Mar 3 17:15:52 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 3 Mar 2009 12:15:52 -0500 Subject: loading external files into Lists - examples or potential solutions? In-Reply-To: Message-ID: BTW, this is easier to figure out in good old EP1. In EP1, using the default "Embedded" load method on a sample List, you could just scroll to the bottom of the generated script and see what the external file had to look like, and you could even copy & paste that into an external text file as a starting point. Regards, -- David McFarlane, Professional Faultfinder At 3/3/2009 11:47 AM Tuesday, Greg Osenbach wrote: >Oh, and as a side note, I also added in a List1.Reset as well. > >Best of luck, >Greg > >On Tue, Mar 3, 2009 at 11:46 AM, Greg Osenbach ><gosenbach at gmail.com> wrote: >Tiffany, > >I have been doing this with Tab Delineated Text Files (v.s. .CSV) >and it has been working fine for me. There is an example in the >E-Basic help file under the Factor.Load Method. > > > >Factor.Load (method) > > > > > >Syntax > >Factor.Load > >Description > >Loads the attribute and level data into the Factor object. > >Comments > >Factor.Load applies only when Factor.LoadMethod = >ebLoadMethodEmbedded or ebLoadMethodFile > >Example > >'This example sets the List to be loaded from the file, >'and identifies the text file to be used. > > > >List1.LoadMethod = ebLoadMethodFile > >List1.Filename = "MyTextFile.txt" > >List1.Load > > > >'Note: To run this example in E-BasicExample.es, copy the >'script above and paste it into the Setup InLine object. >'Create MyTextFile.txt as a tab-delimited text file containing >'attribute header information in the working directory. >Good Luck, >Greg > > >On Tue, Mar 3, 2009 at 11:41 AM, TN ><tnsaffell at gmail.com> wrote: > >Hi, > >I was wondering if anybody had an example or could please point me to >an example of an E-Prime (v2 preferably) program which loads external >files into List. > >For my program, we are trying to load different variable values for >various variable. I have found where you tell Eprime to load the >file (in List, go to "Property Page," General Tab) but I cannot seem >to create a file that will load. I tried a .xml and a .csv - both >created by excel. I don't think EprimV2 likes .csv and the .xml file >had errors. I put in the necessary Column headers (weight, nested, >procedure) but it errored on the "Procedure" column. It claimed my >Procedure name was not valid, even though I could see that particular >Trial Procedure directly under the List in the program. I'm not >limited to using .xml or .csv files - that's just where my previous >research lead me. > >I am stuck, have looked through some online examples, EPrime's support >forum and have glanced through the manuals but haven't found any >solutions. I would be grateful for any help or examples. > >Thanks, >~Tiffany --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From paulj at psy.uq.edu.au Tue Mar 3 20:53:08 2009 From: paulj at psy.uq.edu.au (Paul Jackson) Date: Wed, 4 Mar 2009 06:53:08 +1000 Subject: loading external files into Lists - examples or potential solutions? In-Reply-To: <50c097fe-9cc6-4a9e-9b9f-c0c56f685536@d2g2000pra.googlegroups.com> Message-ID: Here is a function that I use to load text files into a List. In this case the list is called lstTrials and it will only have 2 columns "TrialStimulus" and "TrialCorrectResponse". I have used variations on this function for over 5 years with no problems. Note that it can make the result file look a little messy because it creates a new list everythime it is run. I found that trying to use the same list can cause problems. This has only been testing in v1. Sub LoadBlockData(TempFilename as String) On Error GoTo E Dim LevelCount As Long Dim Count as Long Dim TrialStimulus As String Dim TrialCorrectResponse As Long If FileExists(TempFilename) = False Then Err.Raise 1001,,"Cannot find file '" & TempFilename & "'" End If LevelCount=0 Set listTrials = New List 'listTrials.Name="listTrial" listTrials.AddAttrib "TrialStimulus" listTrials.AddAttrib "TrialCorrectResponse" Open TempFilename For Input As #1 Do While Not EOF(1) TrialStimulus="-1" TrialCorrectResponse=-1 Input #1, TrialCorrectResponse, TrialStimulus If TrialCorrectResponse=-1 Then Err.Raise 1001,,"Incorrect Format, or Blank Line (expected TrialCorrectResponse value '0' or '1')" End If If TrialStimulus="-1" Then Err.Raise 1001,,"Incorrect Format, or Blank Line (expected TrialStimulus value)" End If LevelCount=LevelCount+1 If LevelCount>listTrials.Size Then listTrials.AddLevel LevelCount End If listTrials.SetProc LevelCount, "procTrial" listTrials.SetAttrib LevelCount, "TrialCorrectResponse", TrialCorrectResponse listTrials.SetAttrib LevelCount, "TrialStimulus", TrialStimulus 'LoadMessage Loop Close Set listTrials.TerminateCondition=Samples(listTrials.Size()) Set listTrials.ResetCondition=Samples(listTrials.Size()) Set listTrials.Order = SequentialOrder Exit Sub E: Close Err.Raise 1001,,"Loading Block File Data Failed." & ebcr & Err.Description & ebcr End Sub ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Paul R. Jackson Experimental Programmer School of Psychology University of Queensland E: paulj at psy.uq.edu.au P: 33656950 W: www.psy.uq.edu.au/~paulj ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On > Behalf Of TN > Sent: Wednesday, 4 March 2009 2:41 AM > To: E-Prime > Subject: loading external files into Lists - examples or potential > solutions? > > > Hi, > > I was wondering if anybody had an example or could please point me to > an example of an E-Prime (v2 preferably) program which loads external > files into List. > > For my program, we are trying to load different variable values for > various variable. I have found where you tell Eprime to load the > file (in List, go to "Property Page," General Tab) but I cannot seem > to create a file that will load. I tried a .xml and a .csv - both > created by excel. I don't think EprimV2 likes .csv and the .xml file > had errors. I put in the necessary Column headers (weight, nested, > procedure) but it errored on the "Procedure" column. It claimed my > Procedure name was not valid, even though I could see that particular > Trial Procedure directly under the List in the program. I'm not > limited to using .xml or .csv files - that's just where my previous > research lead me. > > I am stuck, have looked through some online examples, EPrime's support > forum and have glanced through the manuals but haven't found any > solutions. I would be grateful for any help or examples. > > Thanks, > ~Tiffany > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From tnsaffell at gmail.com Tue Mar 3 22:06:54 2009 From: tnsaffell at gmail.com (TN) Date: Tue, 3 Mar 2009 14:06:54 -0800 Subject: loading external files into Lists - examples or potential solutions? In-Reply-To: <50c097fe-9cc6-4a9e-9b9f-c0c56f685536@d2g2000pra.googlegroups.com> Message-ID: I just wanted to say "thank you" to everybody for your help. On Mar 3, 11:41?am, TN wrote: > Hi, > > I was wondering if anybody had an example or could please point me to > an example of an E-Prime (v2 preferably) program which loads external > files into List. > > For my program, we are trying to load different variable values for > various variable. ? I have found where you tell Eprime to load the > file (in List, go to "Property Page," General Tab) but I cannot seem > to create a file that will load. ?I tried a .xml and a .csv - both > created by excel. ?I don't think EprimV2 likes .csv and the .xml file > had errors. ?I put in the necessary Column headers (weight, nested, > procedure) but it errored on the "Procedure" column. ?It claimed my > Procedure name was not valid, even though I could see that particular > Trial Procedure directly under the List in the program. ?I'm not > limited to using .xml or .csv files - that's just where my previous > research lead me. > > I am stuck, have looked through some online examples, EPrime's support > forum and have glanced through the manuals but haven't found any > solutions. ?I would be grateful for any help or examples. > > Thanks, > ~Tiffany --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From gosenbach at gmail.com Wed Mar 4 00:50:31 2009 From: gosenbach at gmail.com (Greg Osenbach) Date: Tue, 3 Mar 2009 19:50:31 -0500 Subject: Flashing text Message-ID: Does anyone out there know a good way to make text on a slide flash? I have several text items on a slide that gets looped through based on responses. For every item in the list the slide may be looped through up to 10 times before moving on to the next list item. One the the text objects on the page only change when moving to a new list entry. I would like to make the text flash once to notify the subject that that portion changed. I have though about setting up a small loop around the slide with some gotos and some labels and using SlideText1.ForeColor. Basically setting a boolean flag for FirstPass, changing the text color and setting the slide to time out for 400ms or something. then doing a check and if First Pass is True, change the text to black and then jump to a label above the slide and setting the timeout back to infinate. Again after the slide, check the flag and if false, then do not go back up to the label. This looks like a bit of a rube goldberg machine to me. There has got to be a simpler way. I just am not sure what it is. Ideas? Thanks, Greg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Mar 5 02:45:15 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 4 Mar 2009 21:45:15 -0500 Subject: Flashing text In-Reply-To: Message-ID: Greg, I think things are about as messy as you fear, but I hope someone else has a better answer (or you come up with one yourself and then enlighten the rest of us). I only want to remind you of a couple items that you may have already seen in your reading of the online E-Basic Help and that you might use as building blocks for your solution. It looks like you are thinking of fiddling with the properties of the slide sub-objects. If you do this in a script loop, then you might be able to use the slide .Draw method (as opposed to .Run) to just redraw the modified slide and not affect anything else. Even better, visual slide sub-objects have their own .Draw method, so perhaps you can use that in script to redraw just the relevant sub-object after making your changes. I have never explored any of this, so I would be interested to know if this works. As far as keeping track of the state of each sub-object, if you do not want to do that in variables or an array, you might try changing some property of the sub-object that has no visible effect for your slide, e.g., change .BackStyle from opaque to transparent, or change .BorderColor while leaving .BorderWidth at 0. Digging deeper, you can even make direct use of the Canvas object. In fact, when you think of it, all the visual objects are just shortcuts to the Canvas object (which in turn is a shortcut to the DisplayDevice object). So you can think of visual display objects in a hierarchy: the Slide object acts as a container for handling Text and Image objects, and Text and Image objects act as containers for the operations that they perform on a Canvas object. We can always do things directly on the Canvas, but that rather defeats the whole purpose of E-Prime, so I would generally discourage that. But for some situations that is the best solution. (Sorry for the didactic digression.) So yes, I might marshal these tools in some loop, whether looping with a List or inline script with an explicit Do...Loop (please do not use While...Wend, that went out with the Commodore 64). (Oh, and for something really whacky, you can split up the Do.. and the ..Loop in two inline script objects that surround some EP design objects in your Procedure, though so far I have never had to resort to that myself.) But after all that I get the feeling that I have missed your real question, because I think you already have the slide in a loop via a List object and know how to modify the properties you need, and you just want some help with the conditional structure. Sorry about that. -- David McFarlane, Professional Faultfinder On Tuesday 3 March 2009 at 7:50 p.m. Greg Osenbach wrote: > Does anyone out there know a good way to make text on a slide flash? I > have several text items on a slide that gets looped through based on > responses. For every item in the list the slide may be looped through > up to 10 times before moving on to the next list item. One the the text > objects on the page only change when moving to a new list entry. I > would like to make the text flash once to notify the subject that that > portion changed. > > I have though about setting up a small loop around the slide with some > gotos and some labels and using SlideText1.ForeColor. Basically setting > a boolean flag for FirstPass, changing the text color and setting the > slide to time out for 400ms or something. then doing a check and if > First Pass is True, change the text to black and then jump to a label > above the slide and setting the timeout back to infinate. Again after > the slide, check the flag and if false, then do not go back up to the label. > > This looks like a bit of a rube goldberg machine to me. There has got > to be a simpler way. I just am not sure what it is. > > Ideas? > > Thanks, > Greg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From D.Moore at bath.ac.uk Thu Mar 5 08:52:25 2009 From: D.Moore at bath.ac.uk (David Moore) Date: Thu, 5 Mar 2009 08:52:25 +0000 Subject: Switch task Message-ID: Dear list, I'm trying to design an attentional switching task. At present I have an allocation list which indicates to participants which task they are too perform and then the task nested below this. What I want to know is how to log a variable to indicate whether eprime has randomly allocated the same list again (repeat trial) or a different list (switch) at present there are only two tasks to perform. Thanks in advance. Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From gosenbach at gmail.com Thu Mar 5 11:03:01 2009 From: gosenbach at gmail.com (Greg Osenbach) Date: Thu, 5 Mar 2009 06:03:01 -0500 Subject: Flashing text In-Reply-To: <49AF3CBB.5040201@msu.edu> Message-ID: David, I was really hoping that there was some sort of SlideText.Blink or something easy that I missed. Oh well, I'll see what I can do and let you guys know what I come up with. Thanks, Greg On Wed, Mar 4, 2009 at 9:45 PM, David McFarlane wrote: > > Greg, > > I think things are about as messy as you fear, but I hope someone else > has a better answer (or you come up with one yourself and then enlighten > the rest of us). I only want to remind you of a couple items that you > may have already seen in your reading of the online E-Basic Help and > that you might use as building blocks for your solution. > > It looks like you are thinking of fiddling with the properties of the > slide sub-objects. If you do this in a script loop, then you might be > able to use the slide .Draw method (as opposed to .Run) to just redraw > the modified slide and not affect anything else. Even better, visual > slide sub-objects have their own .Draw method, so perhaps you can use > that in script to redraw just the relevant sub-object after making your > changes. I have never explored any of this, so I would be interested to > know if this works. As far as keeping track of the state of each > sub-object, if you do not want to do that in variables or an array, you > might try changing some property of the sub-object that has no visible > effect for your slide, e.g., change .BackStyle from opaque to > transparent, or change .BorderColor while leaving .BorderWidth at 0. > > Digging deeper, you can even make direct use of the Canvas object. In > fact, when you think of it, all the visual objects are just shortcuts to > the Canvas object (which in turn is a shortcut to the DisplayDevice > object). So you can think of visual display objects in a hierarchy: > the Slide object acts as a container for handling Text and Image > objects, and Text and Image objects act as containers for the operations > that they perform on a Canvas object. We can always do things directly > on the Canvas, but that rather defeats the whole purpose of E-Prime, so > I would generally discourage that. But for some situations that is the > best solution. (Sorry for the didactic digression.) > > So yes, I might marshal these tools in some loop, whether looping with a > List or inline script with an explicit Do...Loop (please do not use > While...Wend, that went out with the Commodore 64). (Oh, and for > something really whacky, you can split up the Do.. and the ..Loop in two > inline script objects that surround some EP design objects in your > Procedure, though so far I have never had to resort to that myself.) > > But after all that I get the feeling that I have missed your real > question, because I think you already have the slide in a loop via a > List object and know how to modify the properties you need, and you just > want some help with the conditional structure. Sorry about that. > > -- David McFarlane, Professional Faultfinder > > > On Tuesday 3 March 2009 at 7:50 p.m. Greg Osenbach wrote: > > Does anyone out there know a good way to make text on a slide flash? I > > have several text items on a slide that gets looped through based on > > responses. For every item in the list the slide may be looped through > > up to 10 times before moving on to the next list item. One the the text > > objects on the page only change when moving to a new list entry. I > > would like to make the text flash once to notify the subject that that > > portion changed. > > > > I have though about setting up a small loop around the slide with some > > gotos and some labels and using SlideText1.ForeColor. Basically setting > > a boolean flag for FirstPass, changing the text color and setting the > > slide to time out for 400ms or something. then doing a check and if > > First Pass is True, change the text to black and then jump to a label > > above the slide and setting the timeout back to infinate. Again after > > the slide, check the flag and if false, then do not go back up to the > label. > > > > This looks like a bit of a rube goldberg machine to me. There has got > > to be a simpler way. I just am not sure what it is. > > > > Ideas? > > > > Thanks, > > Greg > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From nyu.nirs at gmail.com Thu Mar 5 16:04:10 2009 From: nyu.nirs at gmail.com (nyu.nirs at gmail.com) Date: Thu, 5 Mar 2009 08:04:10 -0800 Subject: Create a experiment with dots appearing random on a screen Message-ID: Hi, we are trying to create an experiment in eprime where participants will see purple and green dots for 500 ms on a screen. Their job is to determine whether their was more purple or green dots presented to them. The dots will be various size, however, we do want the area covered (i.e. pixels) to be the same between the different colored dots even though you might see e.g. more purple dots than green. The maximum dots shown for each color is 15. We have tried to created the experiment for a while, however, we keep on running into a couple of issues. 1) The dots overlap each other 2) We have to manually make a list for each dot and then have it run random during the experiment, however, this is very tedious as we can have up to 32 dots and thus 32 list for a screen. Anyways, appreciate any help we can get. Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From sebastien.roffevidal at gmail.com Thu Mar 5 16:20:18 2009 From: sebastien.roffevidal at gmail.com (seb) Date: Thu, 5 Mar 2009 08:20:18 -0800 Subject: Looking for a software like Eprime but free Message-ID: Hi everyone and David McFarlane ;) I would like to built a sequence for fMRI but i don't have Eprime yet. Everyone knows a software likes Eprime but free to use??? Thanks a lot XXX --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From cintiablank at gmail.com Thu Mar 5 17:17:59 2009 From: cintiablank at gmail.com (Cintia Blank) Date: Thu, 5 Mar 2009 14:17:59 -0300 Subject: Looking for a software like Eprime but free In-Reply-To: <30f4cd5e-d85d-4491-bcf7-62d1f7424cb5@w34g2000yqm.googlegroups.com> Message-ID: hi, this is a very interessant question. Everyone knows? 2009/3/5 seb > > Hi everyone and David McFarlane ;) > > I would like to built a sequence for fMRI but i don't have Eprime yet. > Everyone knows a software likes Eprime but free to use??? > > Thanks a lot > > XXX > > > > -- Cintia Blank --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From cblais at berkeley.edu Thu Mar 5 18:35:58 2009 From: cblais at berkeley.edu (Chris Blais) Date: Thu, 5 Mar 2009 10:35:58 -0800 Subject: Looking for a software like Eprime but free In-Reply-To: <32211b010903050917s1946d563t5b53a6f04cca4b71@mail.gmail.com> Message-ID: You can try DMDX. Cintia Blank wrote: > hi, this is a very interessant question. Everyone knows? > > 2009/3/5 seb > > > > Hi everyone and David McFarlane ;) > > I would like to built a sequence for fMRI but i don't have Eprime yet. > Everyone knows a software likes Eprime but free to use??? > > Thanks a lot > > XXX > > > > > > -- > Cintia Blank > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Thu Mar 5 19:39:40 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 5 Mar 2009 14:39:40 -0500 Subject: Looking for a software like Eprime but free In-Reply-To: <49B01B8E.2080306@berkeley.edu> Message-ID: Sebastien, It depends in part on what you mean by "like E-Prime". Awhile back I did a web search and came up with a lot of behavioral task building systems, free & otherwise, and a lot of these seemed to amount to specialized subroutine libraries, which you may or may not consider "like E-Prime". If I can ever clear off my desk then I will look up those notes and post something more for you. For now the only thing that comes to my mind is Paradigm from Perception Research Systems, you may find it at http://www.perceptionresearchsystems.com . This product is free while still in beta (currently Beta6), when version 1.0 arrives then it will cost money. I do not know how well it works with fMRI, but you may contact the company, I can tell you from my own experience that the owner is very approachable. >You can try DMDX. Hmm, I had not discovered this one before. To spare others the the trouble of looking it up in Google, you can find DMDX at http://www.u.arizona.edu/~kforster/dmdx/dmdx.htm . If you need millisecond precision with a Windows system, make sure whatever you get uses DirectX, as discussed in documents from PST and DMDX, among others. Hope you find something, -- David McFarlane, Professional Faultfinder >Cintia Blank wrote: > > hi, this is a very interessant question. Everyone knows? > > > > 2009/3/5 seb > > > > > > > > Hi everyone and David McFarlane ;) > > > > I would like to built a sequence for fMRI but i don't have Eprime yet. > > Everyone knows a software likes Eprime but free to use??? > > > > Thanks a lot > > > > XXX --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Thu Mar 5 19:43:41 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 5 Mar 2009 14:43:41 -0500 Subject: Looking for a software like Eprime but free In-Reply-To: <30f4cd5e-d85d-4491-bcf7-62d1f7424cb5@w34g2000yqm.googlegro ups.com> Message-ID: Aha, I no sooner sent my last message than I found an old e-mail with the following link: http://www.psychology.org/links/Resources/Software That might give you some ideas. Please let us know what you find! -- David McFarlane, Professional Faultfinder >Hi everyone and David McFarlane ;) > >I would like to built a sequence for fMRI but i don't have Eprime yet. >Everyone knows a software likes Eprime but free to use??? > >Thanks a lot > >XXX --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Thu Mar 5 20:52:07 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 5 Mar 2009 15:52:07 -0500 Subject: Create a experiment with dots appearing random on a screen In-Reply-To: Message-ID: I recently contemplated this very problem while working on a spatial foraging task. I am still a long way from implementing my planned solution, so I have no code to show, but allow me to sketch out my strategy. In short, I plan to first divide the screen up into a number of non-overlapping zones. If I have at least as many zones as I have dots, then I can put each dot into a random position within its own zone, and that will guarantee that no dots overlap. Dots in adjacent zones might still touch each other and form "clumps", but if I wanted to avoid that then I would just add a limit to where each dot could go within its own zone. If I make exactly as many zones as dots, then the dots will disperse about the entire screen with some degree of jitter between the dots. If I want to allow for greater jitter across the screen, I could create more zones than dots. In that case I would put the zones into a list, shuffle the list, then pick the first nDots zones for my dots, and then put each dot in a random place within its zone (perhaps with a limit as described above to prevent dots from toucing). This would then allow some degree of clumping of dots across the screen. In fact if I were serious about this I would parameterize it all so that I could easily reuse and control the procedure, something like GrowLandscape( nItems, nZones, zoneBuffer ). Looking at this in a more theoretical and general way, we can separate the solution space into three domains, nZones < nDots, nZones = nDots, and nZones > nDots. nZones < nDots leaves the possibility of dots overlapping; nZones = nDots prevents overlapping dots and produces the most even dispersal of dots across the screen; and nZones > nDots also prevents overlapping dots, while allowing for greater jitter overall and the possibility of some clumping. In the limit, nZones = 1 is just your current situation and has the most problem with overlap, while nZones = nPixels prevents overlap while allowing for the greatest jitter and clumping. Sor for your puprposes I think you want nZones somewhere between nDots and nPixels. I hope this helps somewhat, at least I enjoyed documenting this for myself. I at least would be very interested to learn what you come up with, so please post back. -- David McFarlane, Professional Faultfinder >Hi, > >we are trying to create an experiment in eprime where participants >will see purple and green dots for 500 ms on a screen. Their job is to >determine whether their was more purple or green dots presented to >them. > >The dots will be various size, however, we do want the area covered >(i.e. pixels) to be the same between the different colored dots even >though you might see e.g. more purple dots than green. The maximum >dots shown for each color is 15. > >We have tried to created the experiment for a while, however, we keep >on running into a couple of issues. > >1) The dots overlap each other >2) We have to manually make a list for each dot and then have it run >random during the experiment, however, this is very tedious as we can >have up to 32 dots and thus 32 list for a screen. > >Anyways, appreciate any help we can get. > >Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From sebastien.roffevidal at gmail.com Fri Mar 6 10:58:20 2009 From: sebastien.roffevidal at gmail.com (=?ISO-8859-1?Q?S=E9bastien_Roffe=2Dvidal?=) Date: Fri, 6 Mar 2009 11:58:20 +0100 Subject: Looking for a software like Eprime but free In-Reply-To: <49b02b73.13bb720a.6efb.5713SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Hi I ve just looked to the Paradigm demo on http://www.perceptionresearchsystems.com and that is a really pleasant, and easy to use software. I m going to start with the demo. Thx so much 2009/3/5 David McFarlane : > > Aha, I no sooner sent my last message than I found an old e-mail with > the following link: > > http://www.psychology.org/links/Resources/Software > > That might give you some ideas. ?Please let us know what you find! > > -- David McFarlane, Professional Faultfinder > > >>Hi everyone and David McFarlane ;) >> >>I would like to built a sequence for fMRI but i don't have Eprime yet. >>Everyone knows a software likes Eprime but free to use??? >> >>Thanks a lot >> >>XXX > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From kenyonboyd at gmail.com Fri Mar 6 16:12:51 2009 From: kenyonboyd at gmail.com (JKB) Date: Fri, 6 Mar 2009 08:12:51 -0800 Subject: I/O device driver error Message-ID: Hi all, Has anyone encountered the following error in E-Prime 2? "An error occurred while attempting to read from the Port I/O device driver" We're tracking participants' gaze while they read sentences displayed by a computer running E-Prime 2. E-Prime is setup to send markers through the parallel port to our eye-tracking computer, so that it knows when critical stimuli start and stop. The problem is that on about 25% of our subjects, E-Prime quits in the middle of the experiment and gives the above error. Any ideas? Thanks, JKB --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Fri Mar 6 16:16:28 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 6 Mar 2009 11:16:28 -0500 Subject: I/O device driver error In-Reply-To: Message-ID: JKM I don't have any ideas, but could you please clarify whether you run EP2 under Windows XP or Vista? Thanks. -- David McFarlane, Professional Faultfinder >Hi all, >Has anyone encountered the following error in E-Prime 2? > >"An error occurred while attempting to read from the Port I/O device >driver" > >We're tracking participants' gaze while they read sentences displayed >by a computer running E-Prime 2. E-Prime is setup to send markers >through the parallel port to our eye-tracking computer, so that it >knows when critical stimuli start and stop. The problem is that on >about 25% of our subjects, E-Prime quits in the middle of the >experiment and gives the above error. > >Any ideas? > >Thanks, >JKB --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From nyu.nirs at gmail.com Fri Mar 6 21:37:44 2009 From: nyu.nirs at gmail.com (nyu.nirs at gmail.com) Date: Fri, 6 Mar 2009 13:37:44 -0800 Subject: Create a experiment with dots appearing random on a screen In-Reply-To: <49b03b7d.20ed720a.4415.6331SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Thanks a lot for your response! So I think I get what you are saying. And these zones you talk about, would that be images on a slide or is there another way to do it? Further, if we want to keep the ratio between the two different types of dots to either 1:1, 1:2, 3:4, or 5:6, is there a way I could do that? A lot of problem solving in creating this project and it is driving me a bit bonkers. Ugh. On Mar 5, 3:52?pm, David McFarlane wrote: > I recently contemplated this very problem while working on a spatial > foraging task. ?I am still a long way from implementing my planned > solution, so I have no code to show, but allow me to sketch out my strategy. > > In short, I plan to first divide the screen up into a number of > non-overlapping zones. ?If I have at least as many zones as I have > dots, then I can put each dot into a random position within its own > zone, and that will guarantee that no dots overlap. ?Dots in adjacent > zones might still touch each other and form "clumps", but if I wanted > to avoid that then I would just add a limit to where each dot could > go within its own zone. > > If I make exactly as many zones as dots, then the dots will disperse > about the entire screen with some degree of jitter between the > dots. ?If I want to allow for greater jitter across the screen, I > could create more zones than dots. ?In that case I would put the > zones into a list, shuffle the list, then pick the first nDots zones > for my dots, and then put each dot in a random place within its zone > (perhaps with a limit as described above to prevent dots from > toucing). ?This would then allow some degree of clumping of dots > across the screen. ?In fact if I were serious about this I would > parameterize it all so that I could easily reuse and control the > procedure, something like GrowLandscape( nItems, nZones, zoneBuffer ). > > Looking at this in a more theoretical and general way, we can > separate the solution space into three domains, nZones < nDots, > nZones = nDots, and nZones > nDots. ?nZones < nDots leaves the > possibility of dots overlapping; nZones = nDots prevents overlapping > dots and produces the most even dispersal of dots across the screen; > and nZones > nDots also prevents overlapping dots, while allowing for > greater jitter overall and the possibility of some clumping. ?In the > limit, nZones = 1 is just your current situation and has the most > problem with overlap, while nZones = nPixels prevents overlap while > allowing for the greatest jitter and clumping. ?Sor for your > puprposes I think you want nZones somewhere between nDots and nPixels. > > I hope this helps somewhat, at least I enjoyed documenting this for > myself. ?I at least would be very interested to learn what you come > up with, so please post back. > > -- David McFarlane, Professional Faultfinder > > >Hi, > > >we are trying to create an experiment in eprime where participants > >will see purple and green dots for 500 ms on a screen. Their job is to > >determine whether their was more purple or green dots presented to > >them. > > >The dots will be various size, however, we do want the area covered > >(i.e. pixels) to be the same between the different colored dots even > >though you might see e.g. more purple dots than green. The maximum > >dots shown for each color is 15. > > >We have tried to created the experiment for a while, however, we keep > >on running into a couple of issues. > > >1) The dots overlap each other > >2) We have to manually make a list for each dot and then have it run > >random during the experiment, however, this is very tedious as we can > >have up to 32 dots and thus 32 list for a screen. > > >Anyways, appreciate any help we can get. > > >Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mahayanag at gmail.com Fri Mar 6 23:25:44 2009 From: mahayanag at gmail.com (Mahayana Godoy) Date: Fri, 6 Mar 2009 20:25:44 -0300 Subject: Looking for a software like Eprime but free In-Reply-To: <6514e9730903060258p4fe8d22dt37846b4865dc793@mail.gmail.com> Message-ID: It seems really nice! Does anyone know it? What about timing accuracy? Thanks Mahayana 2009/3/6 S?bastien Roffe-vidal > > Hi > > I ve just looked to the Paradigm demo on > http://www.perceptionresearchsystems.com and that is a really > pleasant, and easy to use software. I m going to start with the demo. > > Thx so much > > 2009/3/5 David McFarlane : > > > > Aha, I no sooner sent my last message than I found an old e-mail with > > the following link: > > > > http://www.psychology.org/links/Resources/Software > > > > That might give you some ideas. Please let us know what you find! > > > > -- David McFarlane, Professional Faultfinder > > > > > >>Hi everyone and David McFarlane ;) > >> > >>I would like to built a sequence for fMRI but i don't have Eprime yet. > >>Everyone knows a software likes Eprime but free to use??? > >> > >>Thanks a lot > >> > >>XXX > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From yanhyu at gmail.com Sat Mar 7 04:26:46 2009 From: yanhyu at gmail.com (Yan Yu) Date: Fri, 6 Mar 2009 23:26:46 -0500 Subject: Looking for a software like Eprime but free In-Reply-To: <5faf3ad00903061525n22861882l7e140a87d1102aa4@mail.gmail.com> Message-ID: According to the owner, the timing accuracy is pretty good. My vague memory tells me it seems at least comparable to eprime.Yan On Fri, Mar 6, 2009 at 6:25 PM, Mahayana Godoy wrote: > It seems really nice! Does anyone know it? > What about timing accuracy? > > Thanks > > Mahayana > > 2009/3/6 S?bastien Roffe-vidal > > >> Hi >> >> I ve just looked to the Paradigm demo on >> http://www.perceptionresearchsystems.com and that is a really >> pleasant, and easy to use software. I m going to start with the demo. >> >> Thx so much >> >> 2009/3/5 David McFarlane : >> > >> > Aha, I no sooner sent my last message than I found an old e-mail with >> > the following link: >> > >> > http://www.psychology.org/links/Resources/Software >> > >> > That might give you some ideas. Please let us know what you find! >> > >> > -- David McFarlane, Professional Faultfinder >> > >> > >> >>Hi everyone and David McFarlane ;) >> >> >> >>I would like to built a sequence for fMRI but i don't have Eprime yet. >> >>Everyone knows a software likes Eprime but free to use??? >> >> >> >>Thanks a lot >> >> >> >>XXX >> > >> > >> > > >> > >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From kenyonboyd at gmail.com Sat Mar 7 11:56:20 2009 From: kenyonboyd at gmail.com (JKB) Date: Sat, 7 Mar 2009 03:56:20 -0800 Subject: I/O device driver error In-Reply-To: <49b14c65.20ed720a.4398.544cSMTPIN_ADDED@gmr-mx.google.com> Message-ID: XP On Mar 6, 11:16?am, David McFarlane wrote: > JKM > > I don't have any ideas, but could you please clarify whether you run > EP2 under Windows XP or Vista? ?Thanks. > > -- David McFarlane, Professional Faultfinder > > > > >Hi all, > >Has anyone encountered the following error in E-Prime 2? > > >"An error occurred while attempting to read from the Port I/O device > >driver" > > >We're tracking participants' gaze while they read sentences displayed > >by a computer running E-Prime 2. ?E-Prime is setup to send markers > >through the parallel port to our eye-tracking computer, so that it > >knows when critical stimuli start and stop. ?The problem is that on > >about 25% of our subjects, E-Prime quits in the middle of the > >experiment and gives the above error. > > >Any ideas? > > >Thanks, > >JKB --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Mar 9 15:21:03 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 9 Mar 2009 11:21:03 -0400 Subject: Create a experiment with dots appearing random on a screen In-Reply-To: <39920fd7-87a4-45e9-a641-2000a94086d7@d19g2000prh.googlegroups.com> Message-ID: On Friday 6 March 2009 at 4:37 p.m. nyu.nirs at gmail.com wrote: > And these zones you talk about, would that be images on a slide or is > there another way to do it? You can program it however you like. Sure, SlideImages on a Slide might work well, or just draw directly to the Canvas (see topic in online E-Basic Help). I cannot give you any more details because I have not thought this through any further myself, so you will have to take it from there. But just to illustrate this with a few numbers... Let's say I have 10 dots and want to disperse these among 10 zones in a 640x480 screen with a buffer of 2 pixels around the edge of each zone. So each zone might have a size of 64x48, and I would use only the 60x44 area within each zone for dot placement. Zone 1 would start with its corner at (0, 0), zone 2 at (64, 0), etc. For the first dot I could pick a random x from 2 to 61 (because of the 2-pixel buffer) and a random y from 2 to 45, let's say we get (5, 41). I could then add that xy displacement to the corner coordinate of zone 1 to put my first dot at (5, 41). I then pick another random xy displacemet for the second dot, let's say we get (59, 13) this time. Then I could add that to the corner coordinate of zone 2 to put my second dot at (123, 13). And so on. Once again this is only an illustrative sketch. I must leave the programming details to you. > Further, if we want to keep the ratio between the two different types > of dots to either 1:1, 1:2, 3:4, or 5:6, is there a way I could do > that? Yes. And I am sure that you can figure it out. > A lot of problem solving in creating this project and it is driving me > a bit bonkers. Ugh. Indeed, writing a good program for an intricate behavioral task takes a lot of hard work and learning. A firm grounding in computer programming or math helps. So welcome to the club! -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From nyu.nirs at gmail.com Mon Mar 9 16:33:47 2009 From: nyu.nirs at gmail.com (nyu.nirs at gmail.com) Date: Mon, 9 Mar 2009 09:33:47 -0700 Subject: Create a experiment with dots appearing random on a screen In-Reply-To: <49B533DF.4040601@msu.edu> Message-ID: I appreciate the help and as much as it is frustrating, it is, as you say, a learning experience and I'll be damned if I don't figure it out :) I'll try to post when I eventually figure it out. Thanks again, Fredrik On Mar 9, 11:21?am, David McFarlane wrote: > On Friday 6 March 2009 at 4:37 p.m. nyu.n... at gmail.com wrote: > > > And these zones you talk about, would that be images on a slide or is > > there another way to do it? > > You can program it however you like. ?Sure, SlideImages on a Slide might > work well, or just draw directly to the Canvas (see topic in online > E-Basic Help). ?I cannot give you any more details because I have not > thought this through any further myself, so you will have to take it > from there. > > But just to illustrate this with a few numbers... ?Let's say I have 10 > dots and want to disperse these among 10 zones in a 640x480 screen with > a buffer of 2 pixels around the edge of each zone. ?So each zone might > have a size of 64x48, and I would use only the 60x44 area within each > zone for dot placement. ?Zone 1 would start with its corner at (0, 0), > zone 2 at (64, 0), etc. ?For the first dot I could pick a random x from > 2 to 61 (because of the 2-pixel buffer) and a random y from 2 to 45, > let's say we get (5, 41). ?I could then add that xy displacement to the > corner coordinate of zone 1 to put my first dot at (5, 41). ?I then pick > another random xy displacemet for the second dot, let's say we get (59, > 13) this time. ?Then I could add that to the corner coordinate of zone 2 > to put my second dot at (123, 13). ?And so on. > > Once again this is only an illustrative sketch. ?I must leave the > programming details to you. > > > Further, if we want to keep the ratio between the two different types > > of dots to either 1:1, 1:2, 3:4, or 5:6, is there a way I could do > > that? > > Yes. ?And I am sure that you can figure it out. > > > A lot of problem solving in creating this project and it is driving me > > a bit bonkers. Ugh. > > Indeed, writing a good program for an intricate behavioral task takes a > lot of hard work and learning. ?A firm grounding in computer programming > or math helps. ?So welcome to the club! > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Mar 9 21:00:38 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 9 Mar 2009 17:00:38 -0400 Subject: Create a experiment with dots appearing random on a screen In-Reply-To: <491b2598-9c38-4145-9b73-209bfe5c1f73@z9g2000yqi.googlegrou ps.com> Message-ID: Well, as an inveterate pedant I could not let the matter rest there... I prefer deterministic and efficient algorithms, so I skipped over a couple other approaches that might work just as well for some folks. I may as well lay those out for comparison and instruction. To randomly scatter dots across the screen without overlap, most programmers (including me) would first think of a "dart throwing" approach. In essence, this means throwing a dart at the board, and if it hits or lands too near another dart, just pull it out and throw it again until you are satisfied. Keep doing this until all darts are on the board. In more programmatic detail, you would first create a structure or array or list to keep track of all the dot locations. For each dot, you would pick a location at random from the entire field and loop through the array of dots looking for any conflict. If you found a conflict, you would try another random location for that dot and retest until you got a good one (some of you will see a similarity between this and the "NoRepeatOnConsectiveTrials" example from PST). I do not like this approach for two reasons. (1) This method is nondeterministic, and in theory (where "theory" includes the use of true random numbers instead of pseudo-random) it has no guaranteed upper limit to how long it will take to succeed. In practice, of course, it would succeed handily, so this may not bother those who are not such fussbudgets as I am. (2) This approach requires at least (nDots - 1) loops through the dot array, with the dot array growing as each dot gets added. I prefer doing things in one or a small known number of passes whenever possible. However, this approach does allow for enforcing a buffer zone around each dot. Another approach would be a "full-field shuffle". For this you would first create an array that contains every coordinate location on the screen. You would shuffle that array, then simply pick the first nDots locations from that array. This approach has the advantage of conceptual simplicity, and does everything in a single pass. However, it wastes a *lot* of RAM, as it requires an array with over 300,000 elements to place just, say, 10 dots, and that number grows quickly as you go to higher resolution screens. But RAM is cheap and plentiful now, so why not? Also, although it does guarantee no overlapping dots, it does not provide a means for enforcing a buffer zone around each dot. (You might notice that the "full-field" shuffle is just a special case of the "zoning" approach, where nZones = nPixels.) So in short, the "zoning" approach described in earlier posts is conceptually complex, but could work efficiently and allow a lot of flexibility in how things get scattered; the "dart throwing" approach is conceptually simpler and allows some flexibility in how things get scattered, but is nondeterministic and inefficient; the "full-field shuffle" is conceptually simplest but wasteful of RAM and not very flexible in how things get scattered. In practice, given modern resources any of them might do a fine job. So there you go, three broad approaches to scatter your dots. I leave you to ponder these, pick one, or perhaps come up with something even better, and then work out the programming details. And please write back when you get something to work. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From dutch.linguistics at gmail.com Tue Mar 10 08:45:02 2009 From: dutch.linguistics at gmail.com (Marco) Date: Tue, 10 Mar 2009 09:45:02 +0100 Subject: Response time-outs Message-ID: Dear list, I've noticed that if there's a time-out in the response to a given stimulus, e-prime leaves the RESPONSE field empty. Is there a way to automatically assign NA to these cases? That would make it easier to import e-prime output files into R. Thanks in advance! Cheers, Marco --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Mar 10 15:15:32 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 10 Mar 2009 11:15:32 -0400 Subject: Response time-outs In-Reply-To: <30631a790903100145v387037e2tb4c41241faf244e4@mail.gmail.co m> Message-ID: Yes, you could do this with a bit of inline script. Put the script at some time after the response (or rather, non-response), might as well put it just before the end of your procedure. Let's suppose you ask for a response to a Slide object called ProbeSlide. Then your script might look like this (note the comment in the script fragment -- *always* comment this sort of thing in your script so that the next person (who might be you in another year) will not wonder why you put this script here): ' Change empty response to "NA" for greater compatibility with R: If ProbeSlide.RESP = "" Then ProbeSlide.RESP = "NA" c.SetAttrib "ProbeSlide.RESP", ProbeSlide.RESP End If Note that I changed both the .RESP property of ProbeSlide and the context attrribute "ProbeSlide.RESP". If you know what you are doing then you only have to change one or the other (only the attribute matters for the data log), but doing both protects you from script that E-Studio may generate automatically later in the procedure. -- David McFarlane, Professional Faultfinder >Dear list, > >I've noticed that if there's a time-out in the response to a given >stimulus, e-prime leaves the RESPONSE field empty. Is there a way to >automatically assign NA to these cases? That would make it easier to >import e-prime output files into R. > >Thanks in advance! > >Cheers, > >Marco --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Tue Mar 10 15:37:27 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 10 Mar 2009 11:37:27 -0400 Subject: Response time-outs In-Reply-To: <30631a790903100145v387037e2tb4c41241faf244e4@mail.gmail.co m> Message-ID: BTW, if you have existing data in .edat files where you want to make this change, you could do this in E-DataAid. Simply filter your data to show only empty responses. Type "NA" into the first response cell. Select all the cells in the response column, then do Edit > Fill Down. Now you can remove the filter and you will find all your data with response values when the subject gave a response, and "NA" for non-response. You may then export/import that data as usual. You may also save the modified .edat file for the future, and E-DataAid will remind you that this file has altered values (through the "Annotation" feature). Please do the E-DataAid tutorials in the Getting Started Guide and User's Guide that came with E-Prime, PST really did a terrific job on this component but it often gets overlooked. And of course, if you merge your data first with E-Merge then you will have to do this on only one file. -- David McFarlane, Professional Faultfinder >Dear list, > >I've noticed that if there's a time-out in the response to a given >stimulus, e-prime leaves the RESPONSE field empty. Is there a way to >automatically assign NA to these cases? That would make it easier to >import e-prime output files into R. > >Thanks in advance! > >Cheers, > >Marco --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From hsinjenhsu at gmail.com Thu Mar 12 10:00:57 2009 From: hsinjenhsu at gmail.com (Hsin-jen Hsu) Date: Thu, 12 Mar 2009 10:00:57 +0000 Subject: responses at runtime Message-ID: Dear List, I have a question regarding weather e-prime can take a particular type of responses during runtime. Before I used e-prime to build tasks in which partiicpants gave their responses either by press a button (keyboard or response box) or use computer mouse to click on an object (e.g., a picture) on the screen. I am now trying to build a task in which the participants will see an array of 3 letters (e..g, X A Y) and the reponses will require the particpants to use computer mouse to drag and drop each of the 3 letter into a horozontal grid of 3 boxes marked by corresponding lower case letters (x, a, y). I wonder if any of you has built your tasks in a similar way using e-prime and would be willing to share with me your experiences. Thanks! Jen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bashartel at gmail.com Thu Mar 12 16:03:16 2009 From: bashartel at gmail.com (Bas en Oisin) Date: Thu, 12 Mar 2009 09:03:16 -0700 Subject: voice-over and time beam Message-ID: Dear Pro`s with E-Prime! My name is Bas Hartel en together with Oisin Bugter we do research at the University of Amsterdam. We are two medecine students. We measure the reaction time of patient with a very simple e-prime experiment. We have althought two questions: First of all, we have severall slides with the explanation of the test for the patient. To be sure that the information is well understood we would like to put a voice-over together with the slides. Is this possible with E-prime?And if yes, could anyone please explain to us how to do it? Then we would like to add a time beam. The test being very boring, the patient have an idea how long it will take to finish it. I hope you can provide me with some answers, greetings, Bas and Oisin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From MSpape at FSW.leidenuniv.nl Thu Mar 12 16:12:11 2009 From: MSpape at FSW.leidenuniv.nl (Spape, Michiel) Date: Thu, 12 Mar 2009 17:12:11 +0100 Subject: voice-over and time beam Message-ID: Hi Bas, 1. Just record (windows sound recorder, for example) your voice saying the instruction and add the wav resulting from that as a sound sub-object to the slide with the instruction. Or, just tell them - it's always best to let a person be there and instruct the participant, so you can be more sure that they understand it. Never underestimate how difficult your experiment may appear to your participants, and take your time: possibly, the best way is to let your participant repeat in their own words what they have to do. 2. If you have, say, 288 trials in your experiment, add some text-display in your trial, calling it, for example, Intertrialinterval (that is, i'd suggest adding this to your feedback, but in the absence of that, this may sometimes do). Declare an integer variable in the user script (e.g. Alt+5, then write: 'dim trialcounter as integer') and add an inline object just before the intertrialinterval and write something like: trialcounter = trialcounter + 1 Intertrialinterval.text = "You have succesfully completed " & (trialcounter / 288) * 100 & " % of the experiment, only " & " 288 - trialcounter & " trials to go!" Hope that helps. Best, Mich ________________________________ Van: e-prime at googlegroups.com namens Bas en Oisin Verzonden: do 12-3-2009 17:03 Aan: E-Prime Onderwerp: voice-over and time beam Dear Pro`s with E-Prime! My name is Bas Hartel en together with Oisin Bugter we do research at the University of Amsterdam. We are two medecine students. We measure the reaction time of patient with a very simple e-prime experiment. We have althought two questions: First of all, we have severall slides with the explanation of the test for the patient. To be sure that the information is well understood we would like to put a voice-over together with the slides. Is this possible with E-prime?And if yes, could anyone please explain to us how to do it? Then we would like to add a time beam. The test being very boring, the patient have an idea how long it will take to finish it. I hope you can provide me with some answers, greetings, Bas and Oisin ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From baltimore.ben at gmail.com Thu Mar 12 20:51:18 2009 From: baltimore.ben at gmail.com (ben robinson) Date: Thu, 12 Mar 2009 16:51:18 -0400 Subject: voice-over and time beam In-Reply-To: <785F34996DC733438A6DDEF1086C1C53FFBBDA@FSWEXC01.fsw.leidenuniv.nl> Message-ID: one more thing.if you'd like a visible "time beam" you could perform basically the same calculation at the end of each trial as described by michiel (CurrentTrial/TotalTrials), but multiply that product by, say, the screen width. then send that value to your running list, and have a TextObject imbedded in a SlideObject that pulls its width value from the running list. so, you'd need to add a column to the List that runs your trials, and call the column "TimeBeam". then at the end of each trial update the value you want for the width of the TimeBeam TextObject. CONST TotalTrials = 288 'put this in the user tab Dim CurrentTrial as Integer 'put this in the user tab Dim BeamWidth as Integer 'put this in the user tab 'in the Slide presenting your trial screen have a TextObject devoted strictly to being your TimeBeam, and set the value for width for this TextObject to [TimeBeam] so that it pulls this value from the List... 'in an Inline at the end of each trial: CurrentTrial = CurrentTrial+1 BeamWidth = CurrentTrial/TotalTrials*Display.XRes c.SetAttrib "TimeBeam", BeamWidth On Thu, Mar 12, 2009 at 12:12 PM, Spape, Michiel wrote: > Hi Bas, > 1. Just record (windows sound recorder, for example) your voice saying the > instruction and add the wav resulting from that as a sound sub-object to the > slide with the instruction. Or, just tell them - it's always best to let a > person be there and instruct the participant, so you can be more sure that > they understand it. Never underestimate how difficult your experiment may > appear to your participants, and take your time: possibly, the best way is > to let your participant repeat in their own words what they have to do. > > 2. If you have, say, 288 trials in your experiment, add some text-display > in your trial, calling it, for example, Intertrialinterval (that is, i'd > suggest adding this to your feedback, but in the absence of that, this may > sometimes do). Declare an integer variable in the user script (e.g. Alt+5, > then write: 'dim trialcounter as integer') and add an inline object just > before the intertrialinterval and write something like: > trialcounter = trialcounter + 1 > Intertrialinterval.text = "You have succesfully completed " & (trialcounter > / 288) * 100 & " % of the experiment, only " & " 288 - trialcounter & " > trials to go!" > > Hope that helps. > Best, > Mich > > ________________________________ > > Van: e-prime at googlegroups.com namens Bas en Oisin > Verzonden: do 12-3-2009 17:03 > Aan: E-Prime > Onderwerp: voice-over and time beam > > > > > Dear Pro`s with E-Prime! > > My name is Bas Hartel en together with Oisin Bugter we do research at > the University of Amsterdam. We are two medecine students. We measure > the reaction time of patient with a very simple e-prime experiment. We > have althought two questions: > > First of all, we have severall slides with the explanation of the test > for the patient. To be sure that the information is well understood we > would like to put a voice-over together with the slides. Is this > possible with E-prime?And if yes, could anyone please explain to us > how to do it? > > > Then we would like to add a time beam. The test being very boring, the > patient have an idea how long it will take to finish it. > > I hope you can provide me with some answers, > > greetings, > > > Bas and Oisin > > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bashartel at gmail.com Fri Mar 13 12:10:58 2009 From: bashartel at gmail.com (Bas en Oisin) Date: Fri, 13 Mar 2009 05:10:58 -0700 Subject: voice-over and time beam In-Reply-To: <3345e4a50903121351sa8dba06m604c80ae97fc6acd@mail.gmail.com> Message-ID: First of all thanks a lot for these fast answers! We are very glad to know our ideas are possible but we had a hard time understanding your answers,since we only have ( very) limited experience with E-prime ( and all other computer applications). We will first explain our test in more detail en would like you to review the answers and possibly explain each step in detail. We will be most gratefull. We uploaded a screen shot of our test stucture, so you can get a bether idea of our test: http://www.keepandshare.com/photo/view.php?u=308779 Acountname: chipuva Password: chipuva As we described in our first message we would like to know how to add two features to our test: 1. In the first 5 'text display' slides we would like to add a voice over text. As described by Michiel Spap? we need to add a voice-over as a sound sub-object. Could you explain us how to do this? 2. During the 'RealTest' ( Blocklist) we would like to ad a time beam. As you can see, we have just one trail wich will be repeated 9 times. In each trail the patient will react on 5 stimuli (so in total 45 stimuli will be presented to the patients).Is this possible and if so , how? We would like to thank in advance, Bas and Oisin On 12 mrt, 21:51, ben robinson wrote: > one more thing.if you'd like a visible "time beam" you could perform > basically the same calculation at the end of each trial as described by > michiel (CurrentTrial/TotalTrials), but multiply that product by, say, the > screen width. ?then send that value to your running list, and have a > TextObject imbedded in a SlideObject that pulls its width value from the > running list. ?so, you'd need to add a column to the List that runs your > trials, and call the column "TimeBeam". ?then at the end of each trial > update the value you want for the width of the TimeBeam TextObject. > > CONST TotalTrials = 288 'put this in the user tab > Dim CurrentTrial as Integer 'put this in the user tab > Dim BeamWidth as Integer 'put this in the user tab > > 'in the Slide presenting your trial screen have a TextObject devoted > strictly to being your TimeBeam, and set the value for width for this > TextObject to [TimeBeam] so that it pulls this value from the List... > > 'in an Inline at the end of each trial: > CurrentTrial = CurrentTrial+1 > BeamWidth = CurrentTrial/TotalTrials*Display.XRes > c.SetAttrib "TimeBeam", BeamWidth > > On Thu, Mar 12, 2009 at 12:12 PM, Spape, Michiel > wrote: > > > > > Hi Bas, > > 1. Just record (windows sound recorder, for example) your voice saying the > > instruction and add the wav resulting from that as a sound sub-object to the > > slide with the instruction. Or, just tell them - it's always best to let a > > person be there and instruct the participant, so you can be more sure that > > they understand it. Never underestimate how difficult your experiment may > > appear to your participants, and take your time: possibly, the best way is > > to let your participant repeat in their own words what they have to do. > > > 2. If you have, say, 288 trials in your experiment, add some text-display > > in your trial, calling it, for example, Intertrialinterval (that is, i'd > > suggest adding this to your feedback, but in the absence of that, this may > > sometimes do). Declare an integer variable in the user script (e.g. Alt+5, > > then write: 'dim trialcounter as integer') and add an inline object just > > before the intertrialinterval and write something like: > > trialcounter = trialcounter + 1 > > Intertrialinterval.text = "You have succesfully completed " & (trialcounter > > / 288) * 100 & " % of the experiment, only " & " 288 - trialcounter & " > > trials to go!" > > > Hope that helps. > > Best, > > Mich > > > ________________________________ > > > Van: e-prime at googlegroups.com namens Bas en Oisin > > Verzonden: do 12-3-2009 17:03 > > Aan: E-Prime > > Onderwerp: voice-over and time beam > > > Dear Pro`s with E-Prime! > > > My name is Bas Hartel en together with Oisin Bugter we do research at > > the University of Amsterdam. We are two medecine students. We measure > > the reaction time of patient with a very simple e-prime experiment. We > > have althought two questions: > > > First of all, we have severall slides with the explanation of the test > > for the patient. To be sure that the information is well understood we > > would like to put a voice-over together with the slides. Is this > > possible with E-prime?And if yes, could anyone please explain to us > > how to do it? > > > Then we would like to add a time beam. The test being very boring, the > > patient have an idea how long it will take to finish it. > > > I hope you can provide me with some answers, > > > greetings, > > > Bas and Oisin > > > ********************************************************************** > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error please notify > > the system manager. > > **********************************************************************- Tekst uit oorspronkelijk bericht niet weergeven - > > - Tekst uit oorspronkelijk bericht weergeven - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From google at frankbosco.com Fri Mar 13 15:33:32 2009 From: google at frankbosco.com (frankbosco) Date: Fri, 13 Mar 2009 08:33:32 -0700 Subject: External application to call a series of .ebs2 files? Message-ID: Dear E-Prime group, I am searching for a (presumably) simple external application (e.g., a small VB-based program) to call several EBS2 files to run in a desired order (preferably random order). I would like to administer a battery of experiments in a group setting, and am having a great deal of trouble integrating the procedures from each separate .ES2 file into one "main" .ES2 file with blocklists (E-Prime support suggested that my individual procedures exceed E-Prime's copy/paste capacity, and E- Prime's automatic renaming of duplicate objects is making the task even more difficult). Would anyone be willing to share something along these lines? Any help would be greatly appreciated. I am not very familiar with programming languages. Thanks in advance! Frank -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Frank A. Bosco Doctoral Student Dept. of Management (OB/HR) Fogelman College of Business & Economics The University of Memphis fbosco at memphis.edu Office: (901) 678-4531 Cell: (901) 387-7864 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Fri Mar 13 15:33:36 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 13 Mar 2009 11:33:36 -0400 Subject: voice-over and time beam In-Reply-To: <20498b1d-9b85-43d5-8d64-44f4af1ab190@j39g2000yqn.googlegro ups.com> Message-ID: Bas and Oisin, >we had a hard time understanding your answers,since we only have ( >very) limited experience with E-prime ( and all other computer applications). Perhaps you can answer a question for me. I often see questions here of the form, "I have no experience with computer programming and I do not want to get any training in basic computer programming concepts, but I still want to be able to write a fairly complex computer program." This always puzzles me. Do you want to be a psychologist who dabbles in computer programming, or instead a computer programmer who dabbles in psychology? If only the former, instead of making yourself do something that you are not good at and do not enjoy, why not just hire the work out to someone who already knows computer programming and actually enjoys doing it, i.e., a professional? Then you can get back to what you *are* good at and enjoy, and everyone benefits. Thank you for your kind response, -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Fri Mar 13 15:47:30 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 13 Mar 2009 11:47:30 -0400 Subject: External application to call a series of .ebs2 files? In-Reply-To: <6590511d-b375-4b77-a7b4-39d8c2f17149@v19g2000yqn.googlegro ups.com> Message-ID: Frank, This question has come up before (e.g., see http://www.pstnet.com/forum/Topic2485-12-1.aspx ), and I keep suggesting AutoIt (http://www.autoitscript.com/autoit3 ). So far no one has reported back on this, and I never have time to try it myself. Perhaps you could give that a try and let us all know how it works. Other than that, you might try a good old DOS-style batch file. Also, someone once suggested (sorry, I do not have the link) using links in a .pdf to guide the course of a battery of tests. That would still require some manual interaction, but might help a little. Please let us know what you find. -- David McFarlane, Professional Faultfinder >Dear E-Prime group, > >I am searching for a (presumably) simple external application (e.g., a >small VB-based program) to call several EBS2 files to run in a desired >order (preferably random order). I would like to administer a battery >of experiments in a group setting, and am having a great deal of >trouble integrating the procedures from each separate .ES2 file into >one "main" .ES2 file with blocklists (E-Prime support suggested that >my individual procedures exceed E-Prime's copy/paste capacity, and E- >Prime's automatic renaming of duplicate objects is making the task >even more difficult). > >Would anyone be willing to share something along these lines? Any >help would be greatly appreciated. I am not very familiar with >programming languages. > >Thanks in advance! >Frank > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- >Frank A. Bosco >Doctoral Student >Dept. of Management (OB/HR) >Fogelman College of Business & Economics >The University of Memphis >fbosco at memphis.edu >Office: (901) 678-4531 >Cell: (901) 387-7864 >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Fri Mar 13 17:21:46 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 13 Mar 2009 13:21:46 -0400 Subject: MovieDisplay crashes under Vista Message-ID: Sorry to spam you all, as I am just repeating what I already posted at the PST Forum, but I want to get this on the record in case anyone needs to find it later. I did PST's job for them and thoroughly tested the new MovieDisplay object on two computers under Windows XP and Windows Vista. I tested every combination of StopAfter, EndMovieAction, and difference between durations of movie file and MovieDisplay object. But the results can be stated very simply. Under XP everything worked fine. Under Vista, EP2 crashed whenever a movie file played to its end. By "crash" I mean that Vista forcibly shut down the entire E-Prime application (E-Studio or E-Run). Movies did play as long as StopAfter was set to Yes and the movie file had a longer duration than the MovieDisplay object, but in every other case EP2 crashed. So we do have a workaround for those stuck playing movies with Vista. Make your movie files a little longer than you need, set StopAfter to Yes, and make sure to set the Duration of the MovieDisplay object to something less than the duration of the movie file. If you need the stimulus object to last only as long as the movie file, then put the appropriate duration for each file in the stimulus list and use that as an attribute to set the Duration of the MovieDisplay object for each movie presentation. This leaves much to be desired, but may work well enough until PST fixes this. Better yet just keep using Windows XP instead of Vista. So far all my tests show that everything in EP2 works fine under XP. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From google at frankbosco.com Sat Mar 14 06:21:45 2009 From: google at frankbosco.com (frankbosco) Date: Fri, 13 Mar 2009 23:21:45 -0700 Subject: External application to call a series of .ebs2 files? In-Reply-To: <49ba8018.0d0bca0a.031b.6feaSMTPIN_ADDED@gmr-mx.google.com> Message-ID: David, Thanks very much for your suggestion! I've created a script for this purpose in Autoit (it works very well). I don't know how to attach a file in this window, so please feel free to download it from my personal website (see link below), and share. In the .zip file, I have included the Autoit script file, a compiled version, and a basic .txt instruction file. http://www.frankbosco.com/call_ebs.zip All the best, Frank On Mar 13, 10:47?am, David McFarlane wrote: > Frank, > > This question has come up before (e.g., seehttp://www.pstnet.com/forum/Topic2485-12-1.aspx), and I keep > suggesting AutoIt > (http://www.autoitscript.com/autoit3 > ). ?So far no one has reported back on this, and I never have time to > try it myself. ?Perhaps you could give that a try and let us all know > how it works. > > Other than that, you might try a good old DOS-style batch > file. ?Also, someone once suggested (sorry, I do not have the link) > using links in a .pdf to guide the course of a battery of > tests. ?That would still require some manual interaction, but might > help a little. > > Please let us know what you find. > > -- David McFarlane, Professional Faultfinder > > >Dear E-Prime group, > > >I am searching for a (presumably) simple external application (e.g., a > >small VB-based program) to call several EBS2 files to run in a desired > >order (preferably random order). ?I would like to administer a battery > >of experiments in a group setting, and am having a great deal of > >trouble integrating the procedures from each separate .ES2 file into > >one "main" .ES2 file with blocklists (E-Prime support suggested that > >my individual procedures exceed E-Prime's copy/paste capacity, and E- > >Prime's automatic renaming of duplicate objects is making the task > >even more difficult). > > >Would anyone be willing to share something along these lines? ?Any > >help would be greatly appreciated. ?I am not very familiar with > >programming languages. > > >Thanks in advance! > >Frank > > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > >Frank A. Bosco > >Doctoral Student > >Dept. of Management (OB/HR) > >Fogelman College of Business & Economics > >The University of Memphis > >fbo... at memphis.edu > >Office: (901) 678-4531 > >Cell: (901) 387-7864 > >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From MSpape at FSW.leidenuniv.nl Sat Mar 14 06:29:06 2009 From: MSpape at FSW.leidenuniv.nl (Spape, Michiel) Date: Sat, 14 Mar 2009 07:29:06 +0100 Subject: voice-over and time beam Message-ID: Hi David et al., Although that is a bit harsh, I agree with you that you can't evade the need to be at least a little more skilled in E-prime to succesfully write or even use someone else's programme. Bas and Oison may find it useful to complete the getting started guide by PST and the tutorial we wrote for students - free to download from my website: www.cognitology.eu (publications underneath). Best, Michiel Sent from my Windows Mobile? phone. -----Original Message----- From: David McFarlane Sent: vrijdag 13 maart 2009 16:34 To: e-prime at googlegroups.com Subject: Re: voice-over and time beam Bas and Oisin, >we had a hard time understanding your answers,since we only have ( >very) limited experience with E-prime ( and all other computer applications). Perhaps you can answer a question for me. I often see questions here of the form, "I have no experience with computer programming and I do not want to get any training in basic computer programming concepts, but I still want to be able to write a fairly complex computer program." This always puzzles me. Do you want to be a psychologist who dabbles in computer programming, or instead a computer programmer who dabbles in psychology? If only the former, instead of making yourself do something that you are not good at and do not enjoy, why not just hire the work out to someone who already knows computer programming and actually enjoys doing it, i.e., a professional? Then you can get back to what you *are* good at and enjoy, and everyone benefits. Thank you for your kind response, -- David McFarlane, Professional Faultfinder ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From bashartel at gmail.com Mon Mar 16 13:17:38 2009 From: bashartel at gmail.com (Bas en Oisin) Date: Mon, 16 Mar 2009 06:17:38 -0700 Subject: voice-over and time beam In-Reply-To: <00f401c9a46e$3a42d860$0c48e584@fsw.leidenuniv.nl> Message-ID: Hi, Dear David McFarlane, we dont really understand where your frustration is coming from. We thought the use of this forum was that experienced E-Prime users could help out less-experienced users. To answer your question ("Do you want to be a psychologist who dabbles in computer programming, or instead a computer programmer who dabbles in psychology?"): Neither. We are two medicine students who are currently working on our scientific internship, we are a 3th and 4th year students. We've been assigned by our supervising professor with the task develope this E-prime test described in our previous mail. The (programming) basis for this test was already set for us and we wanted to improve it by adding a time-beam and voice- over text (we already succeded in the latter). So we are still in the "learning"-progress and we do enjoy it. Maybe if you could assist us with our E-prime problems we could assist you in your apparent social- skills' problems. We don't accept the tone you adress us with, we thought we could get some help here, but apparently we need to find some other way. Dear Michiel Spape, we succeded so far in programming our test, we just have our last few errors in completing it. We have the getting started guide (along with the users's guide and the reference guide). We just weren't able to extract the informating for u time beam during 1 trial out of these books. Well, we cant really thank you. Greats, Oisin and Bas ,. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From baltimore.ben at gmail.com Mon Mar 16 14:23:09 2009 From: baltimore.ben at gmail.com (ben robinson) Date: Mon, 16 Mar 2009 10:23:09 -0400 Subject: voice-over and time beam In-Reply-To: Message-ID: in defense of David: guys, i think you've misunderstood the tone of David's email, which is all too easy to do when reading these kinds of online forums. you asked a question the answer to which is really quite complicated to communicate to someone brand-new to the eprime programming environment. at least, i had difficulty trying to answer it in a clear fashion. David is consistently and patiently responding to questions of this sort on an almost daily basis it seems - just look back at forum questions and answers over the course of the last year. David has probably responded to and possibly solved 80% of all questions asked here. i, myself, might respond to 1 in a hundred help requests, at best. David is all over this forum. please re-read David's post, minus any assumption that he is being spiteful. he's asking an honest question. if you ask a question that is easy to answer, there are those of us on this forum more than happy to help. when you ask a more complicated question, sometimes we'll have time to help, and other times when we're busy doing our own work we'll wonder to ourselves, "why didn't they hire a programmer to help with this?" we've all got our own jobs to do. David has been an incredible resource for this forum, and not one to instigate any kind of "flame war". please don't take offense at what he wrote, as i don't believe it was meant to be offensive. thanks David, and Bas, i hope my suggesting regarding how to present your TimeBeam was helpful. ben On Mon, Mar 16, 2009 at 9:17 AM, Bas en Oisin wrote: > > Hi, > > Dear David McFarlane, we dont really understand where your frustration > is coming from. We thought the use of this forum was that experienced > E-Prime users could help out less-experienced users. > To answer your question ("Do you want to be a psychologist who dabbles > in computer programming, or instead a computer programmer > who dabbles in psychology?"): Neither. We are two medicine students > who are currently working on our scientific internship, we are a 3th > and 4th year students. We've been assigned by our supervising > professor with the task develope this E-prime test described in our > previous mail. The (programming) basis for this test was already set > for us and we wanted to improve it by adding a time-beam and voice- > over text (we already succeded in the latter). So we are still in the > "learning"-progress and we do enjoy it. Maybe if you could assist us > with our E-prime problems we could assist you in your apparent social- > skills' problems. We don't accept the tone you adress us with, we > thought we could get some help here, but apparently we need to find > some other way. > > Dear Michiel Spape, we succeded so far in programming our test, we > just have our last few errors in completing it. We have the getting > started guide (along with the users's guide and the reference guide). > We just weren't able to extract the informating for u time beam during > 1 trial out of these books. > > Well, we cant really thank you. > > Greats, > > Oisin and Bas > > > ,. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From yanhyu at gmail.com Mon Mar 16 14:44:22 2009 From: yanhyu at gmail.com (Yan Yu) Date: Mon, 16 Mar 2009 10:44:22 -0400 Subject: voice-over and time beam In-Reply-To: <3345e4a50903160723u2d36720m6c66ea1f9ce8d9c8@mail.gmail.com> Message-ID: 1000% ditto to Ben!David is one of the most helpful and incredible resource for this forum! He is always so sincere in helping us all. Eprime forum has always been a super friendly and supportive group. Let's keep enjoying the intellectual exchanges and friendship here. Yan On Mon, Mar 16, 2009 at 10:23 AM, ben robinson wrote: > in defense of David: > guys, i think you've misunderstood the tone of David's email, which is all > too easy to do when reading these kinds of online forums. > you asked a question the answer to which is really quite complicated to > communicate to someone brand-new to the eprime programming environment. at > least, i had difficulty trying to answer it in a clear fashion. David is > consistently and patiently responding to questions of this sort on an almost > daily basis it seems - just look back at forum questions and answers over > the course of the last year. David has probably responded to and possibly > solved 80% of all questions asked here. i, myself, might respond to 1 in a > hundred help requests, at best. David is all over this forum. > please re-read David's post, minus any assumption that he is being > spiteful. he's asking an honest question. > if you ask a question that is easy to answer, there are those of us on this > forum more than happy to help. when you ask a more complicated question, > sometimes we'll have time to help, and other times when we're busy doing our > own work we'll wonder to ourselves, "why didn't they hire a programmer to > help with this?" we've all got our own jobs to do. > David has been an incredible resource for this forum, and not one to > instigate any kind of "flame war". please don't take offense at what he > wrote, as i don't believe it was meant to be offensive. > thanks David, and Bas, i hope my suggesting regarding how to present your > TimeBeam was helpful. > > ben > > > On Mon, Mar 16, 2009 at 9:17 AM, Bas en Oisin wrote: > >> >> Hi, >> >> Dear David McFarlane, we dont really understand where your frustration >> is coming from. We thought the use of this forum was that experienced >> E-Prime users could help out less-experienced users. >> To answer your question ("Do you want to be a psychologist who dabbles >> in computer programming, or instead a computer programmer >> who dabbles in psychology?"): Neither. We are two medicine students >> who are currently working on our scientific internship, we are a 3th >> and 4th year students. We've been assigned by our supervising >> professor with the task develope this E-prime test described in our >> previous mail. The (programming) basis for this test was already set >> for us and we wanted to improve it by adding a time-beam and voice- >> over text (we already succeded in the latter). So we are still in the >> "learning"-progress and we do enjoy it. Maybe if you could assist us >> with our E-prime problems we could assist you in your apparent social- >> skills' problems. We don't accept the tone you adress us with, we >> thought we could get some help here, but apparently we need to find >> some other way. >> >> Dear Michiel Spape, we succeded so far in programming our test, we >> just have our last few errors in completing it. We have the getting >> started guide (along with the users's guide and the reference guide). >> We just weren't able to extract the informating for u time beam during >> 1 trial out of these books. >> >> Well, we cant really thank you. >> >> Greats, >> >> Oisin and Bas >> >> >> ,. >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From google at frankbosco.com Mon Mar 16 15:04:10 2009 From: google at frankbosco.com (frankbosco) Date: Mon, 16 Mar 2009 08:04:10 -0700 Subject: Emulate paper-and-pencil style quiz with E-Prime? Message-ID: Dear E-Prime group, I would like to administer a quiz-like experiment with E-Prime 2.0 which allows participants to see and change their responses to previous questions (i.e., allows Ss to navigate back and forth, emulating a paper-and-pencil style quiz). I need help with having the previous responses show up when Ss return to previous items to change their responses, and be overwritten when a new response is made. I?m currently using a slide object with the quiz item and four clickable boxes to the left of the response options, but I am not tied to this method. Any help would be greatly appreciated. Thanks in advance, Frank --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From pollmoi at gmail.com Mon Mar 16 16:48:12 2009 From: pollmoi at gmail.com (Paul (University of Granada)) Date: Mon, 16 Mar 2009 09:48:12 -0700 Subject: Image Display Problem in Feedback Object Message-ID: Hello: As im new in programming on e-prime, ill like to have some help whit one issue. Im trying to programm a block feedback display, which depends on the mean RT of the hole block. For this i have prepare a Feedback bar which has 4 different presentation. The first has to be presented if the subject RT is > 1100, the next between 1100 and 1000, the next between 1000 and 900 and the last between 900 and 800. I have an InitiateVariable InLine Text, at the beginning of the session that states: Set TargetRT = New Summation At the end of each trial, I have a Counter InLine text that states: TargetRT.AddObservation c.GetAttrib("Target.RT") Then at the end of each block i have an Feedback calculation Inline that states: 'Calculation of Mean RT for Rt feedback bar If TargetRT.Mean >= 1100 Then c.setAttrib "FeedbackBar","stimuli/ Feedbackbar1.bmp" If TargetRT.Mean > 1000 and TargetRT.Mean < 1100 Then c.setAttrib "FeedbackBar", "stimuli/Feedbackbar2.bmp" If TargetRT.Mean > 900 and TargetRT.Mean < 1000 Then c.setAttrib "FeedbackBar", "stimuli/Feedbackbar3.bmp" If TargetRT.Mean > 800 and TargetRT.Mean < 900 Then c.setAttrib "FeedbackBar", "stimuli/Feedbackbar4.bmp" I have put a feeback object whit an image display box, which has a reference to the attribute FeedbackBar. This attribute is a .bmp image that depends on the conditions describes above. It seems that the script doesnt has a problem, but when the experiment gets into the feedback object it appears an Error (11041, which i have look for in the user guides and is not listed) and the scripts error states: 'Image3 Set BlockFeedback_SlideImage = CSlideImage (BlockFeedback.States(BlockFeedback.ActiveState).Objects(6)) BlockFeedback_SlideImage.Filename = c.GetAttrib ("FeedbackBar") BlockFeedback_SlideImage.Load (THE ERROR APPEARS IN THIS LINE) Set BlockFeedback_SlideImage = Nothing BlockFeedback.States("Correct").DisplayName = "" Case "Incorrect" BlockFeedback.States("Incorrect").DisplayName = "" Case "NoResponse" BlockFeedback.States("NoResponse").DisplayName = "" Case "Pending" BlockFeedback.States("Pending").DisplayName = "" End Select I have look for this in the useerguides, and in the E-Prime Google groups, but havent found an answer yet... ill be thankfull if you can help me whit this.... Thank you Paul --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Mar 16 19:00:55 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 16 Mar 2009 15:00:55 -0400 Subject: External application to call a series of .ebs2 files? In-Reply-To: <6cd2f18e-f5f6-4309-9048-60bfb16141a3@v15g2000yqn.googlegro ups.com> Message-ID: Frank, Wow, this looks really cool, thanks very much for taking on the assignment and writing back. Looks like it will be worth my time to look into AutoIt further, and continue recommending it to others. Thanks, -- David McFarlane, Professional Faultfinder At 3/14/2009 02:21 AM Saturday, you wrote: >David, > >Thanks very much for your suggestion! I've created a script for this >purpose in Autoit (it works very well). I don't know how to attach a >file in this window, so please feel free to download it from my >personal website (see link below), and share. In the .zip file, I >have included the Autoit script file, a compiled version, and a >basic .txt instruction file. > >http://www.frankbosco.com/call_ebs.zip > >All the best, >Frank > > >On Mar 13, 10:47 am, David McFarlane wrote: > > Frank, > > > > This question has come up before (e.g., > seehttp://www.pstnet.com/forum/Topic2485-12-1.aspx), and I keep > > suggesting AutoIt > > (http://www.autoitscript.com/autoit3 > > ). So far no one has reported back on this, and I never have time to > > try it myself. Perhaps you could give that a try and let us all know > > how it works. > > > > Other than that, you might try a good old DOS-style batch > > file. Also, someone once suggested (sorry, I do not have the link) > > using links in a .pdf to guide the course of a battery of > > tests. That would still require some manual interaction, but might > > help a little. > > > > Please let us know what you find. > > > > -- David McFarlane, Professional Faultfinder > > > > >Dear E-Prime group, > > > > >I am searching for a (presumably) simple external application (e.g., a > > >small VB-based program) to call several EBS2 files to run in a desired > > >order (preferably random order). I would like to administer a battery > > >of experiments in a group setting, and am having a great deal of > > >trouble integrating the procedures from each separate .ES2 file into > > >one "main" .ES2 file with blocklists (E-Prime support suggested that > > >my individual procedures exceed E-Prime's copy/paste capacity, and E- > > >Prime's automatic renaming of duplicate objects is making the task > > >even more difficult). > > > > >Would anyone be willing to share something along these lines? Any > > >help would be greatly appreciated. I am not very familiar with > > >programming languages. > > > > >Thanks in advance! > > >Frank > > > > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > >Frank A. Bosco > > >Doctoral Student > > >Dept. of Management (OB/HR) > > >Fogelman College of Business & Economics > > >The University of Memphis > > >fbo... at memphis.edu > > >Office: (901) 678-4531 > > >Cell: (901) 387-7864 > > >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Mar 16 19:06:25 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 16 Mar 2009 15:06:25 -0400 Subject: Emulate paper-and-pencil style quiz with E-Prime? In-Reply-To: Message-ID: Frank Any particular reason that you want to do this in E-Prime (besides that you already have E-Prime and are familiar with it)? I have heard that MediaLab from Empirisoft (http://www.empirisoft.com/MediaLab.aspx ) is custom made for this use. Once again I am going out on a limb here since I do not have any experience myself with MediaLab, but if you are not tied to E-Prime and can spend some money then you might look into this. BTW, MediaLab would also almost address your earlier question of ganging together several task programs. I say "almost" because, although MediaLab will gang together several types of programs, apparently it does not work with E-Prime. Once again, I would be interested to hear about anything that works. Regards, -- David McFarlane, Professional Faultfinder >Dear E-Prime group, > >I would like to administer a quiz-like experiment with E-Prime 2.0 >which allows participants to see and change their responses to >previous questions (i.e., allows Ss to navigate back and forth, >emulating a paper-and-pencil style quiz). I need help with having the >previous responses show up when Ss return to previous items to change >their responses, and be overwritten when a new response is made. I'm >currently using a slide object with the quiz item and four clickable >boxes to the left of the response options, but I am not tied to this >method. Any help would be greatly appreciated. > >Thanks in advance, >Frank --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Tue Mar 17 16:41:11 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 17 Mar 2009 12:41:11 -0400 Subject: Emulate paper-and-pencil style quiz with E-Prime? In-Reply-To: Message-ID: Frank, I just noticed a post on the PST Forum at http://www.pstnet.com/forum/Topic2853-5-1.aspx where someone else has a questionnaire working in E-Prime that sounds a lot like what you want. Might be worth asking there how they did it. -- David McFarlane, Professional Faultfinder At 3/16/2009 11:04 AM Monday, you wrote: >Dear E-Prime group, > >I would like to administer a quiz-like experiment with E-Prime 2.0 >which allows participants to see and change their responses to >previous questions (i.e., allows Ss to navigate back and forth, >emulating a paper-and-pencil style quiz). I need help with having the >previous responses show up when Ss return to previous items to change >their responses, and be overwritten when a new response is made. I'm >currently using a slide object with the quiz item and four clickable >boxes to the left of the response options, but I am not tied to this >method. Any help would be greatly appreciated. > >Thanks in advance, >Frank --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From rickogorman at gmail.com Thu Mar 19 20:45:52 2009 From: rickogorman at gmail.com (Rick O'Gorman) Date: Thu, 19 Mar 2009 20:45:52 +0000 Subject: voice-over and time beam In-Reply-To: <3345e4a50903160723u2d36720m6c66ea1f9ce8d9c8@mail.gmail.com> Message-ID: Hi Ben (and David), I have to disagree here. Being privy to previous posts by David, I understood where he is coming from. I also totally appreciate his contributions. Nonetheless, having been a newbie to e-prime myself recently, I also understand Bas' and Oisin's challenges. We all have limited time and sometimes its more efficient to ask someone who knows rather than always try to learn everything yourself (I tend to make the latter mistake). Furthermore, the manuals aren't perfect. The bottom line is that no-one holds a gun to anyone's head here to answer questions. If you don't have the answer, or feel its too difficult to explain, then you can ignore the request or politely tell the poster that. If you think the answer is in the manual, then advising to RTFM (perhaps without the F) is reasonable. But there is little more as off-putting when joining a new group then being abruptly asked why you didn't read up more first, or some other harsh introduction. It sets the wrong tone, in my view, and I don't really see the necessity. But we all get frustrated also, so we need to also forgive the rebukes. :) Rick ben robinson wrote: > in defense of David: > guys, i think you've misunderstood the tone of David's email, which is > all too easy to do when reading these kinds of online forums. > you asked a question the answer to which is really quite complicated to > communicate to someone brand-new to the eprime programming environment. > at least, i had difficulty trying to answer it in a clear fashion. > David is consistently and patiently responding to questions of this sort > on an almost daily basis it seems - just look back at forum questions > and answers over the course of the last year. David has probably > responded to and possibly solved 80% of all questions asked here. i, > myself, might respond to 1 in a hundred help requests, at best. David > is all over this forum. > please re-read David's post, minus any assumption that he is being > spiteful. he's asking an honest question. > if you ask a question that is easy to answer, there are those of us on > this forum more than happy to help. when you ask a more complicated > question, sometimes we'll have time to help, and other times when we're > busy doing our own work we'll wonder to ourselves, "why didn't they hire > a programmer to help with this?" we've all got our own jobs to do. > David has been an incredible resource for this forum, and not one to > instigate any kind of "flame war". please don't take offense at what he > wrote, as i don't believe it was meant to be offensive. > thanks David, and Bas, i hope my suggesting regarding how to present > your TimeBeam was helpful. > > ben > > On Mon, Mar 16, 2009 at 9:17 AM, Bas en Oisin > wrote: > > > Hi, > > Dear David McFarlane, we dont really understand where your frustration > is coming from. We thought the use of this forum was that experienced > E-Prime users could help out less-experienced users. > To answer your question ("Do you want to be a psychologist who dabbles > in computer programming, or instead a computer programmer > who dabbles in psychology?"): Neither. We are two medicine students > who are currently working on our scientific internship, we are a 3th > and 4th year students. We've been assigned by our supervising > professor with the task develope this E-prime test described in our > previous mail. The (programming) basis for this test was already set > for us and we wanted to improve it by adding a time-beam and voice- > over text (we already succeded in the latter). So we are still in the > "learning"-progress and we do enjoy it. Maybe if you could assist us > with our E-prime problems we could assist you in your apparent social- > skills' problems. We don't accept the tone you adress us with, we > thought we could get some help here, but apparently we need to find > some other way. > > Dear Michiel Spape, we succeded so far in programming our test, we > just have our last few errors in completing it. We have the getting > started guide (along with the users's guide and the reference guide). > We just weren't able to extract the informating for u time beam during > 1 trial out of these books. > > Well, we cant really thank you. > > Greats, > > Oisin and Bas > > > ,. > > > > > -- Rick O'Gorman, PhD Psychology, Faculty of Development and Society Collegiate Crescent Campus, Sheffield Hallam University, Sheffield S10 2BP Phone: 0114 225 5788 Fax: 0114 225 2430 http://www.shu.ac.uk/psychology/staff/OGorman.html If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed. --Albert Einstein --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From ttnicky at gmail.com Tue Mar 24 17:11:44 2009 From: ttnicky at gmail.com (ttnicky) Date: Tue, 24 Mar 2009 10:11:44 -0700 Subject: creating a list from program's choices within a larger list Message-ID: I am creating an experiment where I have a target list of 17 pictures: the program randomly chooses 10 of those pictures for display (I have that part down ok). However, later in the experiment I do a recognition test and I need to somehow differentiate the 10 pictures already shown from the 7 not already shown, such that 7 of the old 10 items are randomly displayed with the 7 pictures not previously displayed. I would just reset the list following the first presentation and set it to pick 14 randomly from the list, but it's important that I have 7 old and 7 new pictures displayed at random. NOTE: pictures are displayed individually. Any ideas? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From ejk4 at pitt.edu Tue Mar 24 17:44:12 2009 From: ejk4 at pitt.edu (Eliezer Kanal) Date: Tue, 24 Mar 2009 13:44:12 -0400 Subject: creating a list from program's choices within a larger list In-Reply-To: Message-ID: I would add an attribute to the target list (the one with 17 pictures) named "Displayed" with a default value of "false", and then at run time set that attribute to "true" for each of the 10 pictures shown to the user. Later on, you would choose the seven pictures with the attribute still set to false, and seven pictures with that attribute set to true. Good luck! Eliezer Kanal On Mar 24, 2009, at 1:11 PM, ttnicky wrote: > > I am creating an experiment where I have a target list of 17 pictures: > the program randomly chooses 10 of those pictures for display (I have > that part down ok). However, later in the experiment I do a > recognition test and I need to somehow differentiate the 10 pictures > already shown from the 7 not already shown, such that 7 of the old 10 > items are randomly displayed with the 7 pictures not previously > displayed. I would just reset the list following the first > presentation and set it to pick 14 randomly from the list, but it's > important that I have 7 old and 7 new pictures displayed at random. > NOTE: pictures are displayed individually. > > Any ideas? Thanks > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From emzcoffey at gmail.com Tue Mar 24 18:36:36 2009 From: emzcoffey at gmail.com (Emz) Date: Tue, 24 Mar 2009 11:36:36 -0700 Subject: A way to export button press data using scripts without terminating stimulus? Message-ID: Dear E-Prime people, I would like to know if E-Prime has some capability to run a script at any time during a task upon button press without interrupting its user- end activities. The problem in more detail is as follows: I am using a variant of the N-back task and would like to precisely log when the user presses one of the two response buttons. I know this is easy to do using E-Prime's logging functions; however, I am exporting data in real time to a MatLab matrix in another computer which is necessary for my experimental set-up. The data transfer is accomplished through a few lines of script, which I have inserted in appropriate places in the E-Prime code to mark events of interest. This works nicely, except for subject responses since the stimulus needs to be shown for a fixed length of time. I have considered a few possible solutions, but none seem very good: - have the stimulus terminate upon response and go to the logging script; however, this affects the task in undesirable ways - use script to collect and output the E-Prime reaction time, correct response info, etc. after the trial finishes. This means the reaction time data will be desynchronized with the rest of the data file and will require additional calculations to identify where in the data file the button press took place. I am concerned this will introduce error as there are already several data files with different sampling rates to be aligned post-experiment. - have the stimulus terminate upon response and go to the logging script, then reappear for the remainder of the unused time, and same for the blank screen afterward. I am attempting this solution, but it is quite messy and round-about because the response may occur during the stimulus presentation or during a blank screen. Ideally, I would just need a way to execute the send script during the stimulus presentation when the subject responds, without terminating the activity. Any ideas if this is even possible? Pointers / help function references, etc. all welcome, EC --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From baltimore.ben at gmail.com Wed Mar 25 15:13:36 2009 From: baltimore.ben at gmail.com (ben robinson) Date: Wed, 25 Mar 2009 11:13:36 -0400 Subject: Image Display Problem in Feedback Object In-Reply-To: <08607738-36c8-4034-af7e-7033d4122563@e38g2000yqa.googlegroups.com> Message-ID: i think your problem may be with "c.SetAttrib". by setting the attrib at the current context level, you're not actually placing the file name for your feedback .bmp in a place that is then accessible to your feedback slide which runs at the end of the block. a couple of options: FeedbackList.SetAttrib 1, "FeedbackBar", "stimuli/Feedbackbar4.bmp" then have your feedback slide run within a feedback procedure called from FeedbackList. alternately do all your If...Thens, but then rather than set an attribute in a list with the name of a .bmp, directly set the name for the image within your FeedbackObject. Dim theImage As SlideImage Set theImage = CSlideImage(FeedbackDisplay1.States(FeedbackDisplay1.ActiveState).Objects("ImageName")) i pretty much just copied and pasted the above script from the help file for "SlideImage Object (topic)" hope some of that is helpful. ben On Mon, Mar 16, 2009 at 12:48 PM, Paul (University of Granada) < pollmoi at gmail.com> wrote: > > Hello: > > As im new in programming on e-prime, ill like to have some help whit > one issue. > > Im trying to programm a block feedback display, which depends on the > mean RT of the hole block. For this i have prepare a Feedback bar > which has 4 different presentation. The first has to be presented if > the subject RT is > 1100, the next between 1100 and 1000, the next > between 1000 and 900 and the last between 900 and 800. > > I have an InitiateVariable InLine Text, at the beginning of the > session that states: > > Set TargetRT = New Summation > > At the end of each trial, I have a Counter InLine text that states: > > TargetRT.AddObservation c.GetAttrib("Target.RT") > > Then at the end of each block i have an Feedback calculation Inline > that states: > > 'Calculation of Mean RT for Rt feedback bar > If TargetRT.Mean >= 1100 Then c.setAttrib "FeedbackBar","stimuli/ > Feedbackbar1.bmp" > > If TargetRT.Mean > 1000 and TargetRT.Mean < 1100 Then c.setAttrib > "FeedbackBar", "stimuli/Feedbackbar2.bmp" > > If TargetRT.Mean > 900 and TargetRT.Mean < 1000 Then c.setAttrib > "FeedbackBar", "stimuli/Feedbackbar3.bmp" > > If TargetRT.Mean > 800 and TargetRT.Mean < 900 Then c.setAttrib > "FeedbackBar", "stimuli/Feedbackbar4.bmp" > > I have put a feeback object whit an image display box, which has a > reference to the attribute FeedbackBar. This attribute is a .bmp image > that depends on the conditions describes above. It seems that the > script doesnt has a problem, but when the experiment gets into the > feedback object it appears an Error (11041, which i have look for in > the user guides and is not listed) and the scripts error states: > > 'Image3 > Set BlockFeedback_SlideImage = CSlideImage > (BlockFeedback.States(BlockFeedback.ActiveState).Objects(6)) > BlockFeedback_SlideImage.Filename = c.GetAttrib > ("FeedbackBar") > BlockFeedback_SlideImage.Load (THE ERROR APPEARS IN THIS > LINE) > Set BlockFeedback_SlideImage = Nothing > BlockFeedback.States("Correct").DisplayName = "" > Case "Incorrect" > > BlockFeedback.States("Incorrect").DisplayName = "" > Case "NoResponse" > > BlockFeedback.States("NoResponse").DisplayName = "" > Case "Pending" > > BlockFeedback.States("Pending").DisplayName = "" > End Select > > I have look for this in the useerguides, and in the E-Prime Google > groups, but havent found an answer yet... ill be thankfull if you can > help me whit this.... > > Thank you > > Paul > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From baltimore.ben at gmail.com Wed Mar 25 15:23:16 2009 From: baltimore.ben at gmail.com (ben robinson) Date: Wed, 25 Mar 2009 11:23:16 -0400 Subject: A way to export button press data using scripts without terminating stimulus? In-Reply-To: <4edb2568-001d-458a-97f8-3ced76231aed@37g2000yqp.googlegroups.com> Message-ID: your last option, though a little messy, is the only way to go, i think. >>- have the stimulus terminate upon response and go to the logging script, then reappear for the remainder of the unused time, and same for the blank screen afterward. I am attempting this solution, but it is quite messy and round-about because the response may occur during the stimulus presentation or during a blank screen. here's how i would consider doing it: first, plan to have the SlideObject, or whatever is presenting your stim have a Duration of 0, but a response window as long as you'd like to be collecting responses. set up a variable to record the time (Clock.Read) in an Inline immediately preceding your SlideObject with 0 ms duration. then in an Inline immediately following your SlideObject, have a loop. something like this: Do If SlideObject.RT>0 And NotYetSignaledMatlab=TRUE Then send your event code to matlab NotYetSignaledMatlab=FALSE End If Loop Until (Clock.Read - yourTimeVariable) > yourStimDuration clear the screen then Do Loop Until (Clock.Read - yourTimeVariable) > (yourStimDuration + yourBlankScreenDuration) hope that helps. ben On Tue, Mar 24, 2009 at 2:36 PM, Emz wrote: > > Dear E-Prime people, > > I would like to know if E-Prime has some capability to run a script at > any time during a task upon button press without interrupting its user- > end activities. > > The problem in more detail is as follows: > > I am using a variant of the N-back task and would like to precisely > log when the user presses one of the two response buttons. I know this > is easy to do using E-Prime's logging functions; however, I am > exporting data in real time to a MatLab matrix in another computer > which is necessary for my experimental set-up. The data transfer is > accomplished through a few lines of script, which I have inserted in > appropriate places in the E-Prime code to mark events of interest. > This works nicely, except for subject responses since the stimulus > needs to be shown for a fixed length of time. > > I have considered a few possible solutions, but none seem very good: > - have the stimulus terminate upon response and go to the logging > script; however, this affects the task in undesirable ways > - use script to collect and output the E-Prime reaction time, correct > response info, etc. after the trial finishes. This means the reaction > time data will be desynchronized with the rest of the data file and > will require additional calculations to identify where in the data > file the button press took place. I am concerned this will introduce > error as there are already several data files with different sampling > rates to be aligned post-experiment. > - have the stimulus terminate upon response and go to the logging > script, then reappear for the remainder of the unused time, and same > for the blank screen afterward. I am attempting this solution, but it > is quite messy and round-about because the response may occur during > the stimulus presentation or during a blank screen. > > Ideally, I would just need a way to execute the send script during the > stimulus presentation when the subject responds, without terminating > the activity. Any ideas if this is even possible? > > Pointers / help function references, etc. all welcome, > > > EC > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From emzcoffey at gmail.com Thu Mar 26 07:41:15 2009 From: emzcoffey at gmail.com (Emz) Date: Thu, 26 Mar 2009 00:41:15 -0700 Subject: A way to export button press data using scripts without terminating stimulus? In-Reply-To: <3345e4a50903250823i428327c0tae6986df8c171ecb@mail.gmail.com> Message-ID: Okay, I think I understand your suggestions - will try to implement! On Mar 25, 4:23?pm, ben robinson wrote: > your last option, though a little messy, is the only way to go, i think. > > >>- have the stimulus terminate upon response and go to the logging > > script, then reappear for the remainder of the unused time, and same > for the blank screen afterward. I am attempting this solution, but it > is quite messy and round-about because the response may occur during > the stimulus presentation or during a blank screen. > > here's how i would consider doing it: > first, plan to have the SlideObject, or whatever is presenting your stim > have a Duration of 0, but a response window as long as you'd like to be > collecting responses. > set up a variable to record the time (Clock.Read) in an Inline immediately > preceding your SlideObject with 0 ms duration. > then in an Inline immediately following your SlideObject, have a loop. > something like this: > Do > ? ?If SlideObject.RT>0 And NotYetSignaledMatlab=TRUE Then > ? ? ? send your event code to matlab > ? ? ? NotYetSignaledMatlab=FALSE > ? ?End If > Loop Until (Clock.Read - yourTimeVariable) > yourStimDuration > clear the screen then > Do > Loop Until (Clock.Read - yourTimeVariable) > (yourStimDuration + > yourBlankScreenDuration) > > hope that helps. > > ben > > On Tue, Mar 24, 2009 at 2:36 PM, Emz wrote: > > > Dear E-Prime people, > > > I would like to know if E-Prime has some capability to run a script at > > any time during a task upon button press without interrupting its user- > > end activities. > > > The problem in more detail is as follows: > > > I am using a variant of the N-back task and would like to precisely > > log when the user presses one of the two response buttons. I know this > > is easy to do using E-Prime's logging functions; however, I am > > exporting data in real time to a MatLab matrix in another computer > > which is necessary for my experimental set-up. The data transfer is > > accomplished through a few lines of script, which I have inserted in > > appropriate places in the E-Prime code to mark events of interest. > > This works nicely, except for subject responses since the stimulus > > needs to be shown for a fixed length of time. > > > I have considered a few possible solutions, but none seem very good: > > - have the stimulus terminate upon response and go to the logging > > script; however, this affects the task in undesirable ways > > - use script to collect and output the E-Prime reaction time, correct > > response info, etc. after the trial finishes. This means the reaction > > time data will be desynchronized with the rest of the data file and > > will require additional calculations to identify where in the data > > file the button press took place. I am concerned this will introduce > > error as there are already several data files with different sampling > > rates to be aligned post-experiment. > > - have the stimulus terminate upon response and go to the logging > > script, then reappear for the remainder of the unused time, and same > > for the blank screen afterward. I am attempting this solution, but it > > is quite messy and round-about because the response may occur during > > the stimulus presentation or during a blank screen. > > > Ideally, I would just need a way to execute the send script during the > > stimulus presentation when the subject responds, without terminating > > the activity. Any ideas if this is even possible? > > > Pointers / help function references, etc. all welcome, > > > EC --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From lonkeknol at gmail.com Mon Mar 30 08:34:55 2009 From: lonkeknol at gmail.com (A. de Ruijter) Date: Mon, 30 Mar 2009 01:34:55 -0700 Subject: random traffic lights, but after a yellow light comes a red light Message-ID: I hope someone can help me with the following situation: I'm emulating a traffic light with red (r.jpg), yellow (y.jpg) and green (g.jpg) circles that appear randomly in three different location. For each location I've created an attribute, namely lightlow, lightabove and lightright. Now I want to write a script that causes a yellow light to always be followed by a red one. Other than that, I want everything to be random. So the logic as far as I get the logic is: IF lightlow OR lightabove OR lightright = y.bmp THEN (in the next trial) randomly select in lightlow OR lightabove OR lightright = r.bmp Like you can see this is not VB so I was hoping someone who does understand the language can help me with the code. Thanks a bunch already! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From rariel at kent.edu Mon Mar 30 14:32:36 2009 From: rariel at kent.edu (Robert_A) Date: Mon, 30 Mar 2009 07:32:36 -0700 Subject: random traffic lights, but after a yellow light comes a red light In-Reply-To: <911120ce-31e8-43f4-af34-abdf54dd93a5@e35g2000yqc.googlegroups.com> Message-ID: On the e-prime website there is a sample experiment that will allow you to never have 2 consecutive trials of the same type repeat. What you want to do requires similar logic, because you want a specific trial type (red stim) to follow presentation of another stim type (yellow). So if I were you, I would get that script from the e-prime downloads (I think it is called No repeats or something like that). You can probably make some minor tweaks to that script to accomplish your goal. On Mar 30, 4:34?am, "A. de Ruijter" wrote: > I hope someone can help me with the following situation: I'm emulating > a traffic light with red (r.jpg), yellow (y.jpg) and green (g.jpg) > circles that appear randomly in three different location. For each > location I've created an attribute, namely lightlow, lightabove and > lightright. Now I want to write a script that causes a yellow light to > always be followed by a red one. Other than that, I want everything to > be random. > > So the logic as far as I get the logic is: > > IF lightlow OR lightabove OR lightright = y.bmp THEN (in the next > trial) > randomly select in lightlow OR lightabove OR lightright = r.bmp > > Like you can see this is not VB so I was hoping someone who does > understand the language can help me with the code. Thanks a bunch > already! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From lennertz.t at gmail.com Mon Mar 30 17:48:46 2009 From: lennertz.t at gmail.com (Tracy) Date: Mon, 30 Mar 2009 10:48:46 -0700 Subject: Feedback contingent on the number of trials Message-ID: Hello, I am trying to program an experiment in which there are 288 trials within a single block. I'd like to provide participants with a message of their overall feedback accuracy after every 12 trials (e.g., "Your accuracy was ___%"). This message will be based on participants' average accuracy from the previous 12 trials, and since there are 288 trials in total -- this feedback will occur 24 times throughout the experiment. To do this, I know I need to include a script to initiate the variable, "OverallAcc":, e.g.: 'This initiates the Summation object, OverallAcc, so that it 'may be referenced within the experiment. Set OverallAcc = New Summation An accuracy summation script: 'The AddObservation command adds the ACC value of object 'Target to the Summation object, OverallAcc. OverallAcc.AddObservation Target.ACC 'The Debug.Print command prints the mean value of the Summation 'object, OverallAcc, in the Output window. Debug.Print OverallAcc.Mean 'The OverallACC attribute adds the running calculation of overall 'accuracy to the data file at the trial level. c.SetAttrib "OverallAcc", OverallAcc.Mean and a text object to display the feedback. The Object on which feedback is collected is the "Target." I think I will also need to add a script that counts the number of trials, defines the OverallAcc variable, and resets the OverallAcc variable after every 12 trials -- but I am not sure how to implement this. Any help is most appreciated! Thanks very much! Tracy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From pquain at une.edu.au Mon Mar 30 22:18:01 2009 From: pquain at une.edu.au (Peter Quain) Date: Tue, 31 Mar 2009 09:18:01 +1100 Subject: Feedback contingent on the number of trials In-Reply-To: <12ffb029-b73b-4da9-baf7-1603c0a5f42c@l1g2000yqk.googlegrou ps.com> Message-ID: Without using summation object, maybe something like this would work (there are probably some syntax errors in this though) Make an attribute 'correctanswer' in trialList Declare globally in User Script... Dim counter, correct, pcntcorr As Integer Dim calc As Double counter = 0 correct = 0 pcntcorr = 0 calc = 0 Have a text object (Feedback) at end of your trial procedure with 0 duration (so it is invisible in each trial where duration is 0). In an inline at start of your trial procedure.. If counter < 12 Then Feedback.Duration = 0 End If counter = counter + 1 In an inline after your stimulus.. If [yourStimulusObject].RESP = [yourStimulusObject].correctanswer Then correct = correct + 1 End If If counter = 12 Then calc = correct/12 * 100 pcntcorr = Rnd(calc) Feedback.Duration = 3000 Feedback.text = "Your accuracy was" & pcntcorr & "%" c.SetAttrib "OverallAcc", pcntcorr counter = 0 correct = 0 pcntcorr = 0 End If At 04:48 AM 31/03/2009, you wrote: >Hello, > >I am trying to program an experiment in which there are 288 trials >within a single block. I'd like to provide participants with a >message of their overall feedback accuracy after every 12 trials >(e.g., "Your accuracy was ___%"). This message will be based on >participants' average accuracy from the previous 12 trials, and since >there are 288 trials in total -- this feedback will occur 24 times >throughout the experiment. > >To do this, I know I need to include a script to initiate the >variable, "OverallAcc":, e.g.: > >'This initiates the Summation object, OverallAcc, so that it >'may be referenced within the experiment. >Set OverallAcc = New Summation > >An accuracy summation script: > >'The AddObservation command adds the ACC value of object >'Target to the Summation object, OverallAcc. >OverallAcc.AddObservation Target.ACC > >'The Debug.Print command prints the mean value of the Summation >'object, OverallAcc, in the Output window. >Debug.Print OverallAcc.Mean > >'The OverallACC attribute adds the running calculation of overall >'accuracy to the data file at the trial level. >c.SetAttrib "OverallAcc", OverallAcc.Mean > >and a text object to display the feedback. The Object on which >feedback is collected is the "Target." I think I will also need to add >a script that counts the number of trials, defines the OverallAcc >variable, and resets the OverallAcc variable after every 12 trials -- >but I am not sure how to implement this. Any help is most >appreciated! > >Thanks very much! >Tracy > > > > > > >> > > >-- >No virus found in this incoming message. >Checked by AVG. >Version: 7.5.557 / Virus Database: 270.11.31/2029 - Release Date: >29/03/2009 4:56 PM > > > > >-- >No virus found in this incoming message. >Checked by AVG. >Version: 7.5.557 / Virus Database: 270.11.31/2029 - Release Date: >29/03/2009 4:56 PM -- No virus found in this outgoing message. Checked by AVG. Version: 7.5.557 / Virus Database: 270.11.32/2030 - Release Date: 30/03/2009 8:40 AM --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From adamosth at gmail.com Tue Mar 31 17:39:07 2009 From: adamosth at gmail.com (Adam Osth) Date: Tue, 31 Mar 2009 13:39:07 -0400 Subject: Question about attribute referencing Message-ID: Hey - I apologize if this question is really simplistic, but I'm completely new to Eprime and I'm having problems designing a recognition memory experiment. In this experiment, I need to present subjects with 8 pictures all of different categories (like dogs, cats, birds, etc) and then subsequently test them on their recognition of the studied pictures as well as new pictures from the studied categories as well as new pictures from unstudied categories. There are 16 total categories each containing 9 different pictures. I've structured the experiment such that within the Blocks list, I have a Categories list nested to the Blocks list and the 16 picture categories nested to the Categories list. The individual categories lists all have references to the specific picture files. Overall categories list has a generic attribute [Stimulus] that links to the individual pictures within each categories list. *All* of these lists are randomized. So it goes like this: Blocks -Categories (contains attribute [Stimulus] -*16 individual categories* (attribute [Stimulus] links to picture files After the category lists, the Block Proc begins. First up is the study presentation phase, which should cycle through the first 8 categories on the list and present one picture from the individual categories. To do this, I have a StudyProc that loops 8 times and contains a picture file that uses [Stimulus] as its reference. My problem is that the picture file ends up just showing the same picture 8 times each time I run the experiment. I was thinking about adding an attribute to the Categories list like "Studied", with a default that says "no", and adding an inline command after each picture presentation that changes the status of "Studied" to "No". My question is - in the ImageDisplay properties, what do I type into the filename to ensure that it only shows pictures that have not been shown before? I've tried typing Studied.No, [Stimulus.Studied=No], Studied=No, but I can't seem to figure it out and I couldn't find anything in the help files about this. If anybody could be so kind as to point me in the right direction, I would be really grateful. Adam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: