From baranan at post.tau.ac.il Mon May 1 23:21:19 2006 From: baranan at post.tau.ac.il (baranan at post.tau.ac.il) Date: Tue, 2 May 2006 02:21:19 +0300 Subject: subliminal priming Message-ID: Hello, In the past I was unsuccessful in using subliminal priming/conditioning in a few different experiments. Therefore, I would like to see an example for a procedure that use subliminal display of stimuli and indeed influence any dependent measure. If you have an e-prime code of such procedure, I would be grateful if you can send it to me. Thanks, --Yoav --- Yoav Bar-Anan Department of Psychology 318 Gilmer Hall P.O. Box 400400 University of Virginia Charlottesville, VA 22904-4400 Phone: (434) 982-5390 Email: baranan at virginia.edu ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From leisha at decisionresearch.org Tue May 9 19:12:17 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Tue, 9 May 2006 12:12:17 -0700 Subject: Run eprime minimized Message-ID: Hi, all, I'm hoping to run an eprime experiment in a window that is 80% of the entire screen, so that my desktop shows behind it. I've made a screen shot of the desktop that exists on the testing computer, but it's resolution is a bit fuzzy & clearly not the same as the desktop. All my windows in the actual experiment fill just 80% of the screen. My problem is that eprime clears the screen just before it begins the experiment, so I have to throw the desktop back up there again, and that desktop looks like a low-resolution screen shot. Ideally, I could run the eprime experiment in the window -- we're talking PC computers here -- that eprime launches from, keeping the original desktop and the familiar border around the window that PC users see when an application runs minimized. Any thoughts on achieving this? Thanks, Leisha Wharfield Decision Research Eugene, Oregon, USA From asa8 at le.ac.uk Tue May 9 20:19:08 2006 From: asa8 at le.ac.uk (Andrews, A S) Date: Tue, 9 May 2006 21:19:08 +0100 Subject: Run eprime minimized In-Reply-To: <4460E991.1080203@decisionresearch.org> Message-ID: Leisha E-Prime has to run full screen. If you take a screen shot (using printscreen) and paste it into Paint and save as a .bmp, this will look identical to your regular desktop (apart from the fixed clock!). Provided your E-Prime experiment screen settings are the same as your desktop screen grab, there should be no difference in quality. I suspect you are running at a different resolution and 'stretching' the bitmap to fit, causing blurriness. HTH Tony Andrews Principal Computer Officer School of Psychology University of Leicester. -----Original Message----- From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of Leisha Wharfield Sent: 09 May 2006 20:12 To: 'E-Prime' Subject: Run eprime minimized Hi, all, I'm hoping to run an eprime experiment in a window that is 80% of the entire screen, so that my desktop shows behind it. I've made a screen shot of the desktop that exists on the testing computer, but it's resolution is a bit fuzzy & clearly not the same as the desktop. All my windows in the actual experiment fill just 80% of the screen. My problem is that eprime clears the screen just before it begins the experiment, so I have to throw the desktop back up there again, and that desktop looks like a low-resolution screen shot. Ideally, I could run the eprime experiment in the window -- we're talking PC computers here -- that eprime launches from, keeping the original desktop and the familiar border around the window that PC users see when an application runs minimized. Any thoughts on achieving this? Thanks, Leisha Wharfield Decision Research Eugene, Oregon, USA From mhenigha at connect.carleton.ca Tue May 9 21:21:24 2006 From: mhenigha at connect.carleton.ca (Michael Henighan) Date: Tue, 9 May 2006 17:21:24 -0400 Subject: random sampling Message-ID: Hello all, In my experiment I have two procedures that are separate, one procedure is a dual task showing images and one is a dual task showing text. I want the participant to receive either procedure randomly. So, they might get the dual task with images one time and then the dual task text another time. Is there a simple script that accomplishes this? Thanks, Mike From leisha at decisionresearch.org Tue May 9 22:09:54 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Tue, 9 May 2006 15:09:54 -0700 Subject: random sampling In-Reply-To: <814536.1147209684725.JavaMail.mhenigha@connect.carleton.ca> Message-ID: I didn't accomplish this in a simple way, probably, but when I needed to display either text or graphics, I saved my text as bmp files, just like I saved my graphics as bmp files. That way, I could use a single slide as the display object. Then I can randomly pick either type of stimulus from the same list. Hope this helps, Leisha Michael Henighan wrote: >Hello all, > >In my experiment I have two procedures that are separate, one procedure >is a dual task showing images and one is a dual task showing text. I >want the participant to receive either procedure randomly. So, they >might get the dual task with images one time and then the dual task >text another time. Is there a simple script that accomplishes this? > > >Thanks, >Mike > > > > From Fredrik.Ullen at neuro.ki.se Thu May 11 14:29:42 2006 From: Fredrik.Ullen at neuro.ki.se (Fredrik =?iso-8859-1?Q?Ull=E9n?=) Date: Thu, 11 May 2006 16:29:42 +0200 Subject: logging in loop Message-ID: Hi, I have a script where the same (e.g.) ImageDisplay object is run repeatedly in a loop, i.e.: Label 1 ImageDisplay1 Goto Label 1 (in an InLine object) I'd like to log some parameters of ImageDisplay1 each time, but the data file seems to be overwritten so that only the last instance is left. Is there a solution? Thanks! Best Fredrik Fredrik Ullén Associate Professor Stockholm Brain Institute Dept Woman and Child Health Neuropediatric Research Unit (ALB, Q2:07) Karolinska Institutet SE-171 76 Stockholm Sweden personal web page www.fredrikullen.com From hilkep at stanford.edu Thu May 11 15:10:54 2006 From: hilkep at stanford.edu (Hilke Plassmann) Date: Thu, 11 May 2006 08:10:54 -0700 Subject: Synchronizing with Trigger Signal from MRI Scanner Message-ID: Hi, I have a question concerning the use of e-prime for fMRI experiments. I would like to synchronize the ImageDisplay Onset with the trigger signal from the scanner. This signal is send via a response box I'm using and is coded as a '5'. That means that every 2secs (TR=2secs) the scanner sends a '5' to the PC in the control room which can theoretically be detected by E-Prime. Does anybody know how to tell Eprime to use the Trigger Signal to start the Image Display Onset? Or to use the signal to adjust the timing of the Eprime task? Many thanks for your help. Hilke From leisha at decisionresearch.org Thu May 11 16:12:30 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Thu, 11 May 2006 09:12:30 -0700 Subject: logging in loop In-Reply-To: <6.0.3.0.2.20060511162938.02c538b0@mbox.ki.se> Message-ID: I've done this a couple of ways. Say I want to keep track of a total response time. It's one variable that is just one value, so I would write it into the data file. Say I'm going to call the variable TotalResponseTime. First I create TotalResponseTime as an attribute, probably in the user area of the script. I also create another attribute there called Response, which I can use to capture the most recent response: Dim TotalResponseTime as Integer Dim Response as Integer Then every time that Screen1 runs, I add to that variable to Screen1. Here's an If command I used in the case where a non-numeric response ends the screen displays. If IsNumeric(Slide1.RESP) Then Response = Slide1.RESP TotalResponseTime = TotalResponseTime + Response Else c.SetAttrib "TotalResponseTime", TotalResponseTime End If The Else clause writes the TotalResponseTime into your data file. The other method I've used for keeping track of a series of numbers is opening an extra text file & appending it as I go. This results in a list of numbers--say, for example, a series of responses made by a subject. Before the slide, I establish a name for the text file, say subject number plus R for Response: Textname = c.GetAttrib("Subject") + "R.txt" After the slide, I append the response to that filename: Open Textname$ For Append as #1 Write #1,Slide1.RESP Close As far as I know, you may record as many responses as you like this way. Hope this helps. Leisha Wharfield Decision Research Eugene, Oregon, USA Fredrik Ullén wrote: > Hi, > I have a script where the same (e.g.) ImageDisplay object is run > repeatedly in a loop, i.e.: > > Label 1 > ImageDisplay1 > Goto Label 1 (in an InLine object) > > I'd like to log some parameters of ImageDisplay1 each time, but the > data file seems to be > overwritten so that only the last instance is left. Is there a solution? > Thanks! > Best > Fredrik > > > Fredrik Ullén > Associate Professor > Stockholm Brain Institute > Dept Woman and Child Health > Neuropediatric Research Unit (ALB, Q2:07) > Karolinska Institutet > SE-171 76 Stockholm > Sweden > personal web page www.fredrikullen.com > > > From Fredrik.Ullen at ki.se Thu May 11 17:11:59 2006 From: Fredrik.Ullen at ki.se (Fredrik =?iso-8859-1?Q?Ull=E9n?=) Date: Thu, 11 May 2006 19:11:59 +0200 Subject: logging in loop In-Reply-To: <4463626E.40207@decisionresearch.org> Message-ID: Thanks Leisha and others for useful responses! Finally, in this case I decided to log the data I needed manually using the Write command. In this way, you get a "clean" data file with no unnecessary info and it's also easy to append data to the same file, which is good since we're doing a long-term training study with several training sessions. Fredrik At 18:12 2006-05-11, Leisha Wharfield wrote: >I've done this a couple of ways. Say I want to keep track of a total >response time. It's one variable that is just one value, so I would write >it into the data file. Say I'm going to call the variable >TotalResponseTime. First I create TotalResponseTime as an attribute, >probably in the user area of the script. I also create another attribute >there called Response, which I can use to capture the most recent response: > >Dim TotalResponseTime as Integer >Dim Response as Integer > >Then every time that Screen1 runs, I add to that variable to Screen1. >Here's an If command I used in the case where a non-numeric response ends >the screen displays. > >If IsNumeric(Slide1.RESP) Then > Response = Slide1.RESP > TotalResponseTime = TotalResponseTime + Response >Else > c.SetAttrib "TotalResponseTime", TotalResponseTime >End If > >The Else clause writes the TotalResponseTime into your data file. > >The other method I've used for keeping track of a series of numbers is >opening an extra text file & appending it as I go. This results in a list >of numbers--say, for example, a series of responses made by a subject. > >Before the slide, I establish a name for the text file, say subject number >plus R for Response: > >Textname = c.GetAttrib("Subject") + "R.txt" > >After the slide, I append the response to that filename: > > Open Textname$ For Append as #1 > Write #1,Slide1.RESP > Close > >As far as I know, you may record as many responses as you like this way. >Hope this helps. > >Leisha Wharfield >Decision Research >Eugene, Oregon, USA > >Fredrik Ullén wrote: > >>Hi, >>I have a script where the same (e.g.) ImageDisplay object is run >>repeatedly in a loop, i.e.: >> >>Label 1 >>ImageDisplay1 >>Goto Label 1 (in an InLine object) >> >>I'd like to log some parameters of ImageDisplay1 each time, but the data >>file seems to be >>overwritten so that only the last instance is left. Is there a solution? >>Thanks! >>Best >>Fredrik >> >> >>Fredrik Ullén >>Associate Professor >>Stockholm Brain Institute >>Dept Woman and Child Health >>Neuropediatric Research Unit (ALB, Q2:07) >>Karolinska Institutet >>SE-171 76 Stockholm >>Sweden >>personal web page www.fredrikullen.com >> >> Fredrik Ullén Associate Professor Stockholm Brain Institute Dept Woman and Child Health Neuropediatric Research Unit (ALB, Q2:07) Karolinska Institutet SE-171 76 Stockholm Sweden personal web page www.fredrikullen.com From brandon_cernicky at yahoo.com Thu May 11 19:53:39 2006 From: brandon_cernicky at yahoo.com (Brandon Cernicky) Date: Thu, 11 May 2006 12:53:39 -0700 Subject: logging in loop In-Reply-To: <73201.4554@mail.talkbank.org> Message-ID: You can also push a new Context level and keep the information in the edat file. Dim x As Long For x = 1 To 5 c.PushNewFrame ImageDisplay.Run 'Log the properties you want here... c.SetAttrib "ImageDisplay.RT", ImageDisplay.RT c.Log c.PopFrame Next x Another alternative that requires no script is to create another List object with a "SubTrialProc" that only contains the ImageDisplay on it. You then set the SubTrialList with the values for how many times to run (and/or InLine to determine when it should quit). -Brandon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Brandon S. Cernicky Senior Software Engineer Psychology Software Tools >Fredrik Ullén wrote: > >>Hi, >>I have a script where the same (e.g.) ImageDisplay object is run >>repeatedly in a loop, i.e.: >> >>Label 1 >>ImageDisplay1 >>Goto Label 1 (in an InLine object) >> >>I'd like to log some parameters of ImageDisplay1 each time, but the data >>file seems to be >>overwritten so that only the last instance is left. Is there a solution? >>Thanks! >>Best >>Fredrik >> __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From lfalcon at sfu.ca Thu May 11 20:21:08 2006 From: lfalcon at sfu.ca (Laura) Date: Thu, 11 May 2006 13:21:08 -0700 Subject: Using downloaded fonts Message-ID: An embedded and charset-unspecified text was scrubbed... Name: not available URL: From pauls_postbus at hotmail.com Fri May 12 08:08:32 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Fri, 12 May 2006 10:08:32 +0200 Subject: Using downloaded fonts In-Reply-To: <200605112021.k4BKL8SV026213@rm-rstar.sfu.ca> Message-ID: hi laura, Just install Windows compatible fonts in the Windows\Fonts directory (by copying the file) and you should be able to use them in Eprime. (And other programs as well.) best, paul >From: Laura >Reply-To: lfalcon at sfu.ca >To: eprime at mail.talkbank.org >Subject: Using downloaded fonts >Date: Thu, 11 May 2006 13:21:08 -0700 > > >Hi. This is my first post to this discussion group. I am working on my MA >thesis and I would like to know how to get Eprime to recognize new fonts >downloaded from the internet. I would like to use them to display >distractors in a rapidly presented stream of stimuli using a text display >object. >Thanks >Laura > From pauls_postbus at hotmail.com Fri May 12 08:30:45 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Fri, 12 May 2006 10:30:45 +0200 Subject: Synchronizing with Trigger Signal from MRI Scanner In-Reply-To: <74EF1155-77D0-4864-9CDD-B95DCB2F7E53@stanford.edu> Message-ID: hello hilke, In most cases fMRI-trigger signals are sent as a digital TTL-pulse, which can be detected by EPrime by using the parallel printer port (LPT port). The technique used by EPrime to collect trigger pulses is the same as collecting button box responses. You can find a description of this technique at http://www.psy.vu.nl/download/menu. Anyway, you can synchronize your stimuli with these triggers by placing an EPrime wait object (or a blank text screen if you prefer) immediately before the image object. Then add the input device (probably a Port device) to the ‘Input mask device’ list (Duration/Input tab) and set the ‘Duration’ to Infinite and the ‘End Action’ to Terminate. When you use another input device type for collecting the trigger pulses (such as an SRBox device), then you should add this specific device to the list instead of the Port device. In some cases it is also advisable to configure the ‘Allowable’ property to the specific code you’re using (i.e. ‘5’) Note that there will always be a small image onset delay error due to the asynchronous nature of the triggers. This is because the image is normally not shown before the next refresh cycle of the beamer/monitor after a trigger has occurred. When your script is configured properly then this onset error should always be less then the refresh interval time and will not be a problem in fMRI studies. Best, Paul. Vrije Universiteit Amsterdam >From: Hilke Plassmann >To: eprime at mail.talkbank.org >Subject: Synchronizing with Trigger Signal from MRI Scanner >Date: Thu, 11 May 2006 08:10:54 -0700 > >Hi, > >I have a question concerning the use of e-prime for fMRI experiments. I >would like to synchronize the ImageDisplay Onset with the trigger signal >from the scanner. This signal is send via a response box I'm using and is >coded as a '5'. That means that every 2secs (TR=2secs) the scanner sends a >'5' to the PC in the control room which can theoretically be detected by >E-Prime. Does anybody know how to tell Eprime to use the Trigger Signal to >start the Image Display Onset? Or to use the signal to adjust the timing >of the Eprime task? Many thanks for your help. > >Hilke > > > From Daniel.Ansari at Dartmouth.EDU Mon May 15 13:22:04 2006 From: Daniel.Ansari at Dartmouth.EDU (Daniel Ansari) Date: Mon, 15 May 2006 09:22:04 EDT Subject: Playing two streams of sound Message-ID: A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 687 bytes Desc: not available URL: From wendy_davidson79 at hotmail.com Wed May 17 15:39:30 2006 From: wendy_davidson79 at hotmail.com (Wendy Davidson) Date: Wed, 17 May 2006 16:39:30 +0100 Subject: moving image Message-ID: Does anyone know if it is possible to have a moving image stimulus on e-prime. If so, any ideas how this is done? I only need to use a very simple image. Specifically, I need to show a dot moving in a specific direction on the screen, following its short dissappearance, it then reappears and the participant is asked if it is following the same trajectory. Any help on this would be greatly appreciated. Thanks in advance Wendy Davidson The University of Aberdeen Scotland From michael.crowley at yale.edu Wed May 17 16:09:14 2006 From: michael.crowley at yale.edu (Michael J. Crowley) Date: Wed, 17 May 2006 12:09:14 -0400 Subject: moving image In-Reply-To: Message-ID: Wendy, you can specify the x and y coordinates for an object on a slide. if you specify changes in the x and y along a line or whatever path you specify your object will appear to move on the screen. x and y could be attributes in a list that you present serially. best of luck, Mike Quoting Wendy Davidson : > Does anyone know if it is possible to have a moving image stimulus on > e-prime. If so, any ideas how this is done? > > I only need to use a very simple image. Specifically, I need to show a dot > moving in a specific direction on the screen, following its short > dissappearance, it then reappears and the participant is asked if it is > following the same trajectory. > > Any help on this would be greatly appreciated. > > Thanks in advance > > Wendy Davidson > > The University of Aberdeen > Scotland > > > > Michael J. Crowley, Ph.D. Yale Child Study Center 230 South Frontage Rd. New Haven, CT 06520 Please be aware that email communication can be intercepted in transmission or misdirected. Please consider communicating any sensitive information by telephone, fax or mail. The information contained in this message may be privileged and confidential. If you are NOT the intended recipient, please notify the sender immediately with a copy to hipaa.security at yale.edu and destroy this message. From pauls_postbus at hotmail.com Wed May 17 16:09:23 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Wed, 17 May 2006 18:09:23 +0200 Subject: moving image In-Reply-To: Message-ID: Dear Wendy, The easiest way to do this (without using any script), is to create a series of bitmaps images which are displayed in sequence at a relative high rate. (The pictures make up the 'movie'.) However, you will have to create a lot of pictures by using another (scriptable) application. Another downside of this technique is that you need a fast computer to be able to display the image sequence smoothly. It would be a better solution if you could create a video stream of these images and play them directly (I believe the next version of EPrime will support video playback.) Another option is to use some inline scripting to draw the ‘moving’ dot. A good starting point is to draw a circle on a so called (off screen) canvas and then copy this canvas image on the display. (See Canvas.Circle and Canvas.Copy in the EBasic manual. The next step would be to create a repeating loop and change the coordinates of the circle as desired. Hope this is of any help. Best, Paul Groot Vrije Universiteit Amsterdam >From: "Wendy Davidson" >To: eprime at mail.talkbank.org >Subject: moving image >Date: Wed, 17 May 2006 16:39:30 +0100 > >Does anyone know if it is possible to have a moving image stimulus on >e-prime. If so, any ideas how this is done? > >I only need to use a very simple image. Specifically, I need to show a dot >moving in a specific direction on the screen, following its short >dissappearance, it then reappears and the participant is asked if it is >following the same trajectory. > >Any help on this would be greatly appreciated. > >Thanks in advance > >Wendy Davidson > >The University of Aberdeen >Scotland > > > From lfalcon at sfu.ca Thu May 18 23:40:41 2006 From: lfalcon at sfu.ca (Laura) Date: Thu, 18 May 2006 16:40:41 -0700 Subject: Calling an array of BMP images Message-ID: An embedded and charset-unspecified text was scrubbed... Name: not available URL: From Daniel.Ansari at Dartmouth.EDU Fri May 19 00:47:17 2006 From: Daniel.Ansari at Dartmouth.EDU (Daniel Ansari) Date: Thu, 18 May 2006 20:47:17 EDT Subject: More feedback displays Message-ID: A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 230 bytes Desc: not available URL: From leeh at biols.susx.ac.uk Fri May 19 08:09:27 2006 From: leeh at biols.susx.ac.uk (Lee Hogarth) Date: Fri, 19 May 2006 09:09:27 +0100 Subject: More feedback displays In-Reply-To: <69357952@newprancer.Dartmouth.EDU> Message-ID: Hello Daniel, You need a conditional inline statement such as: c.SetAttrib "collectresp1.resp", collectresp1.resp select case c.GetAttrib ("criterion") case Is = "1" If c.GetAttrib ("collectresp1.resp") >= "1" Then Outcome1.Run c End If case Is = "2" If c.GetAttrib ("collectresp1.resp") >= "1" Then Outcome2.Run c End If End Select You will need 5 cases for the criterion variable, which is placed in the list. The if statement checks that the response in the proceeding object satisfied your conditions. I hope this helps. Lee. _____ From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of Daniel Ansari Sent: 19 May 2006 01:47 To: eprime at mail.talkbank.org Subject: More feedback displays Dear E-prime friends, I am trying to design an experiment with 5 different kinds of feedback. The feedback object that is standard in e-prime only has three. Is there a way of increasing this number easily? Thanks! Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: From jankowsk at aecom.yu.edu Fri May 19 13:47:05 2006 From: jankowsk at aecom.yu.edu (Jeffery Jankowski) Date: Fri, 19 May 2006 09:47:05 -0400 Subject: Touchscreen Message-ID: We would like to use a touchscreen in conjunction with EPrime. Does anyone have recommendations? Certainly, we want the device to interface well with the program. Thanks for the help, Jeff Jankowski Dr. Jeffery J. Jankowski Kennedy Center - Room 235 Albert Einstein College of Medicine 1300 Morris Park Avenue Bronx, NY 10461 Ph: (718) 430-2463 From brandon_cernicky at yahoo.com Sun May 21 19:04:34 2006 From: brandon_cernicky at yahoo.com (Brandon Cernicky) Date: Sun, 21 May 2006 12:04:34 -0700 Subject: Calling an array of BMP images In-Reply-To: <78001.76681@mail.talkbank.org> Message-ID: >> Hey everyone. Is it possible to call an array of BMP >> images to an >> Imagedisplay object in the same way that you call an >> array of text to a >> textdisplay object? >> Thanks >> Laura Hi Laura, With the info you provided, here are the suggestions I have for you to try: 1) Set the Filename property of the ImageDisplay to be an [attribute] and then set that column of your List object to be your filename for the images you want. If your images are large, then consider looking at the "pre load image w/o using canvas" sample on the PST support web site. 2) If you are just looking to display images very quickly, then I would suggest looking at the SpriteManager sample/download on the PST support web site. There is a help document off the start menu as well as some samples that should assist in running images very quickly from a List object. 3) You could use Canvas object in script and load the images as well. However, there are a lot of things to consider besides the actual scripting of Canvas objects that relate to the amount of video memory in each of your subject station machines. See the Sprite Manager documentation (see #2 above) for info about that. -Brandon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Brandon S. Cernicky Senior Software Engineer Psychology Software Tools __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From vanerp at LifeSci.UCLA.EDU Sun May 21 19:08:03 2006 From: vanerp at LifeSci.UCLA.EDU (via the vacation program) Date: Sun, 21 May 2006 12:08:03 -0700 Subject: away from my mail Message-ID: I will not be reading my mail for a while. I will be out of town from May 12 - May 19, 2006. Your mail regarding "" will be read when I return, or ealier when I have computer access. Best, Theo From Fredrik.Ullen at ki.se Mon May 22 12:04:39 2006 From: Fredrik.Ullen at ki.se (Fredrik =?iso-8859-1?Q?Ull=E9n?=) Date: Mon, 22 May 2006 14:04:39 +0200 Subject: Calling experiments? In-Reply-To: <3.0.6.32.20060519094705.00a69a58@mailserver.aecom.yu.edu> Message-ID: Hi, We are planning a more complicated study where a subject will perform different E-prime experiments on different days during a longer period. It would be useful to have a "master script" which you run each day and which decides what other script(s) should be run. Each different experiment script is quite big and would be easy to have in a separate experiment file. So: Is there an easy way to call an experiment file from within another experiment file, like a subroutine? Can e.g. a whole script be compiled and then run via a PackageCall object? (My general problem with PackageCall right now is that the Experiment Object property dialogue seems not to find .epk files stored in /PST/E-Prime/Program/Packages...) Best Fredrik From pauls_postbus at hotmail.com Tue May 23 07:14:02 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Tue, 23 May 2006 09:14:02 +0200 Subject: Calling experiments? In-Reply-To: <6.0.3.0.2.20060522135848.03ab3a80@mbox.ki.se> Message-ID: Hi Fredrik, Since EBasic is limited to scripts sizes of about 64kb, including other scripts as packages will probably not be the sollution. As far as I know, there is also no command for running a second script from an existing EPrime script. However, it is rather easy to start EPrime scripts (i.e. ERum) from other (scripting) applications or batch files. You also might take a look at at the EKick utility: http://www.psy.vu.nl/download/menu/xml/eprime_tool_ekick.xml This small program helps you to start EPrime scripts with specific parameters (such as subject ID) Best Paul >From: Fredrik Ullén >To: eprime at mail.talkbank.org >Subject: Calling experiments? >Date: Mon, 22 May 2006 14:04:39 +0200 > >Hi, >We are planning a more complicated study where a subject will perform >different E-prime >experiments on different days during a longer period. >It would be useful to have a "master script" which you run each day and >which decides >what other script(s) should be run. Each different experiment script is >quite big and would >be easy to have in a separate experiment file. > >So: Is there an easy way to call an experiment file from within another >experiment file, like >a subroutine? Can e.g. a whole script be compiled and then run via a >PackageCall object? >(My general problem with PackageCall right now is that the Experiment >Object property dialogue >seems not to find .epk files stored in /PST/E-Prime/Program/Packages...) > >Best >Fredrik > > From steve.kelly at strath.ac.uk Tue May 23 10:31:06 2006 From: steve.kelly at strath.ac.uk (Steve Kelly) Date: Tue, 23 May 2006 11:31:06 +0100 Subject: play tone after error Message-ID: Dear E-primers, I'm trying to get a short tone played if someone presses the wrong key in a 4 button RT task. I've used a sound object and the following inline script: If (testtarget.ACC = 0) Then c.SetAttrib "sound", "beep.wav" Else goto Label1 End if Problem is, when the tone plays the target stays up on the screen for another second or so. Doesn't do this when the correct button is pressed. I'm guessing that using a sound object for feedback is adding time in somewhere and I can't seem to reduce it. So is there a simple way of scripting "if they get it wrong play this tone" without adding in a sound column in the list object? Or do I need to play with the parameters of the sound object?? Thanks in advance Steve ********************************************** Dr Steve Kelly Department of Psychology University of Strathclyde Graham Hills Building 40 George Street Glasgow G1 11QE Tel: 0141 548 4880 Fax: 0141 548 4001 From pseudoverlighter at zonnet.nl Thu May 25 11:28:52 2006 From: pseudoverlighter at zonnet.nl (Mich) Date: Thu, 25 May 2006 13:28:52 +0200 Subject: play tone after error In-Reply-To: <004c01c67e54$00150cd0$9f4e9f82@stevekelly> Message-ID: Hello Steve, SK> So is there a simple way of scripting "if they get it wrong play this tone" SK> without adding in a sound column in the list object? Or do I need to play SK> with the parameters of the sound object?? That should help, but I would suggest making something like: If (testtarget.ACC = 0) Then soundbufferx.play else soundbuffery.play soundbufferx would then point to your beep.wav, but next to it, i would make an empty .wav file which is exactly as long as beep.wav, but then completely silent. You can do this with windows audio recorder (just open beep.wav and keep making it softer until there's nothing anymore) and the idea would be that in both conditions (correct & incorrect answer), the timing remains the same. There's a working example in the ebasic documentation on sound how to fill those soundbuffers (i suggest doing that when the experiment start). Cheers, Michiel Spapé Cognitive Psychology Unit Leiden University From slagter at wisc.edu Thu May 25 14:20:03 2006 From: slagter at wisc.edu (Heleen Slagter) Date: Thu, 25 May 2006 09:20:03 -0500 Subject: event code during object Message-ID: Hi all, I was hoping to get some advice on the following: In my EEG experiment, I would like to send out an event code right when a response is given to a particular object, even though this response might be given *before the offset* of this object (e.g., a face) or *after the offset* of this object (during the presentation of the next object (e.g., a fixation cross)). The response is made with a keyboard. One possibility may be to use a loop to check input from the keyboard, but I am afraid that this will result in timing error across the experiment. Any advice on this matter would be greatly appreciated! Best wishes, Heleen Slagter ------------------------------------------------- University of Wisconsin, Madison Waisman Laboratory for Brain Imaging & Behavior Laboratory for Affective Neuroscience Email: slagter at wisc.edu www (Lab for Affective Neuroscience): http://psyphz.psych.wisc.edu www www (Waisman Lab): http://brainimaging.waisman.wisc.edu ------------------------------------------------- From eddie at ling.ed.ac.uk Thu May 25 14:48:02 2006 From: eddie at ling.ed.ac.uk (Eddie Dubourg) Date: Thu, 25 May 2006 15:48:02 +0100 Subject: Keyboard Layout Message-ID: I'm assisting with an e-prime experiment that is obtaining a string response to visual stimuli. Oddly, even though the machine is set up only to recognise the UK english keyboard layout, and the machine is a UK model, running a UK version of WinXP (SP2), the repsonses are all obtained as if the keyboard had been switched to US english. As the responses are inherently free, symbols can be used, and for example, the UK pound symbol £ is being replaced by #, the @ sign does not give any response at all, and so on. Is there anyway, e.g. with an inline object, to force a codepage on the experiment, and why is it changing the default layout anyway? All the best Eddie Dubourg Computing/Technical Support Officer Linguistics and English Language CHSS, University of Edinburgh From pauls_postbus at hotmail.com Sat May 27 13:17:49 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Sat, 27 May 2006 15:17:49 +0200 Subject: event code during object In-Reply-To: Message-ID: Dear Heleen, The most reliable procedure for relaying responses to event codes in real time is to use the Terminate or JumpTo options for the ‘end action’ in the input mask in combination with some inline scripting. A rather simple construction is possible when the input can only be given during the lifetime of a single EPrime object. In this case you can specify Terminate as ‘end action’ and use some inline script immediately after this input object to generate the event. When you would still like have the initial object (i.e. the stimulus) to stay visible for the specified duration, then you would also have to add an additional delay for the leftover time (=duration-RT). This would look something like this: WritePort &H378, code ‘ send event code to LPT1 dim tLeftover as long tLeftover = Stimulus.Duration – (Clock.ReadMillisec- Stimulus.OnsetTime) if tLeftover>0 then Sleep(tLeftover) ‘ and keep stimulus visible However, the situation is more complex if the response can occur during two or more objects in a sequence. To start with, you should configure only the input mask for the first object and increase the time limit from ‘(same as duration)’ to the total time required. (Or even to ‘infinite’ if the total time for the input window is not fixed.) This way EPrime will also detect responses in the additional object(s). When the end action is set to ‘Terminate’ then you will have to insert some inline script after each object of this sequence to handle the response. Each inline script object will have the same kind of code as shown above, but with an additional test to figure out if the response was given during the previous object. Assuming that you have two objects (Stimulus and Fixation), and have the input mask of the Stimulus object configured for accepting responses during both the Stimulus and the Fixation object, then the inline scripts would look like: ‘ inline after Stimulus: if Stimulus.RtTime>= Stimulus.OnsetTime then WritePort &H378, code ‘ send event code to LPT1 tLeftover = Stimulus.Duration – (Clock.ReadMillisec- Stimulus.OnsetTime) if tLeftover>0 then Sleep(tLeftover) ‘ and keep stimulus visible end if ‘ inline after Fixation: if Stimulus.RtTime>= Fixation.OnsetTime then WritePort &H378, code ‘ send event code to LPT1 tLeftover = Fixation.Duration – (Clock.ReadMillisec- Fixation.OnsetTime) if tLeftover>0 then Sleep(tLeftover) ‘ and keep fixation visible end if However, with this code there is a small risk of ‘missing’ responses that fall between the execution of first inline script and the onset of the fixation. Therefore, it is better to use the following code: ‘ inline after Stimulus: Dim bReponseHandled as Boolean if Stimulus.RtTime>= Stimulus.OnsetTime then bReponseHandled = true WritePort &H378, code ‘ send event code to LPT1 tLeftover = Stimulus.Duration – (Clock.ReadMillisec- Stimulus.OnsetTime) if tLeftover>0 then Sleep(tLeftover) ‘ and keep stimulus visible end if ‘ inline after Fixation: if Stimulus.RtTime>= Stimulus.OnsetTime And Not bReponseHandled then bReponseHandled = true WritePort &H378, code ‘ send event code to LPT1 tLeftover = Fixation.Duration – (Clock.ReadMillisec- Fixation.OnsetTime) if tLeftover>0 then Sleep(tLeftover) ‘ and keep fixation visible end if Note that using PreRelease times might be very tricky in this case. (Although I think the latter code example is safe to use in conjunction with PreRelease times. Be careful though!) Hope this helps. Paul Groot Vrije Universiteit van Amsterdam The Netherlands >From: Heleen Slagter >To: eprime at mail.talkbank.org >Subject: event code during object >Date: Thu, 25 May 2006 09:20:03 -0500 > >Hi all, > >I was hoping to get some advice on the following: > >In my EEG experiment, I would like to send out an event code right when >a response is given to a particular object, even though this response >might be given *before the offset* of this object (e.g., a face) or >*after the offset* of this object (during the presentation of the next >object (e.g., a fixation cross)). The response is made with a keyboard. >One possibility may be to use a loop to check input from the keyboard, >but I am afraid that this will result in timing error across the >experiment. > >Any advice on this matter would be greatly appreciated! >Best wishes, > >Heleen Slagter >------------------------------------------------- >University of Wisconsin, Madison >Waisman Laboratory for Brain Imaging & Behavior >Laboratory for Affective Neuroscience > >Email: slagter at wisc.edu >www (Lab for Affective Neuroscience): http://psyphz.psych.wisc.edu >www www (Waisman Lab): http://brainimaging.waisman.wisc.edu >------------------------------------------------- > From rip5555 at ksu.edu Sat May 27 22:52:28 2006 From: rip5555 at ksu.edu (Reed I. Peterson) Date: Sat, 27 May 2006 17:52:28 -0500 Subject: Unsubscribing Message-ID: Hello all, How do you unsubscribe from this listserv? Thanks, -- Reed Ian Peterson Kansas State University (785)-317-1137 rip5555 at ksu.edu From emistern at MED.UMICH.EDU Tue May 30 14:21:06 2006 From: emistern at MED.UMICH.EDU (Emily Stern) Date: Tue, 30 May 2006 10:21:06 -0400 Subject: Not logging responses Message-ID: An HTML attachment was scrubbed... URL: From baranan at post.tau.ac.il Mon May 1 23:21:19 2006 From: baranan at post.tau.ac.il (baranan at post.tau.ac.il) Date: Tue, 2 May 2006 02:21:19 +0300 Subject: subliminal priming Message-ID: Hello, In the past I was unsuccessful in using subliminal priming/conditioning in a few different experiments. Therefore, I would like to see an example for a procedure that use subliminal display of stimuli and indeed influence any dependent measure. If you have an e-prime code of such procedure, I would be grateful if you can send it to me. Thanks, --Yoav --- Yoav Bar-Anan Department of Psychology 318 Gilmer Hall P.O. Box 400400 University of Virginia Charlottesville, VA 22904-4400 Phone: (434) 982-5390 Email: baranan at virginia.edu ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From leisha at decisionresearch.org Tue May 9 19:12:17 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Tue, 9 May 2006 12:12:17 -0700 Subject: Run eprime minimized Message-ID: Hi, all, I'm hoping to run an eprime experiment in a window that is 80% of the entire screen, so that my desktop shows behind it. I've made a screen shot of the desktop that exists on the testing computer, but it's resolution is a bit fuzzy & clearly not the same as the desktop. All my windows in the actual experiment fill just 80% of the screen. My problem is that eprime clears the screen just before it begins the experiment, so I have to throw the desktop back up there again, and that desktop looks like a low-resolution screen shot. Ideally, I could run the eprime experiment in the window -- we're talking PC computers here -- that eprime launches from, keeping the original desktop and the familiar border around the window that PC users see when an application runs minimized. Any thoughts on achieving this? Thanks, Leisha Wharfield Decision Research Eugene, Oregon, USA From asa8 at le.ac.uk Tue May 9 20:19:08 2006 From: asa8 at le.ac.uk (Andrews, A S) Date: Tue, 9 May 2006 21:19:08 +0100 Subject: Run eprime minimized In-Reply-To: <4460E991.1080203@decisionresearch.org> Message-ID: Leisha E-Prime has to run full screen. If you take a screen shot (using printscreen) and paste it into Paint and save as a .bmp, this will look identical to your regular desktop (apart from the fixed clock!). Provided your E-Prime experiment screen settings are the same as your desktop screen grab, there should be no difference in quality. I suspect you are running at a different resolution and 'stretching' the bitmap to fit, causing blurriness. HTH Tony Andrews Principal Computer Officer School of Psychology University of Leicester. -----Original Message----- From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of Leisha Wharfield Sent: 09 May 2006 20:12 To: 'E-Prime' Subject: Run eprime minimized Hi, all, I'm hoping to run an eprime experiment in a window that is 80% of the entire screen, so that my desktop shows behind it. I've made a screen shot of the desktop that exists on the testing computer, but it's resolution is a bit fuzzy & clearly not the same as the desktop. All my windows in the actual experiment fill just 80% of the screen. My problem is that eprime clears the screen just before it begins the experiment, so I have to throw the desktop back up there again, and that desktop looks like a low-resolution screen shot. Ideally, I could run the eprime experiment in the window -- we're talking PC computers here -- that eprime launches from, keeping the original desktop and the familiar border around the window that PC users see when an application runs minimized. Any thoughts on achieving this? Thanks, Leisha Wharfield Decision Research Eugene, Oregon, USA From mhenigha at connect.carleton.ca Tue May 9 21:21:24 2006 From: mhenigha at connect.carleton.ca (Michael Henighan) Date: Tue, 9 May 2006 17:21:24 -0400 Subject: random sampling Message-ID: Hello all, In my experiment I have two procedures that are separate, one procedure is a dual task showing images and one is a dual task showing text. I want the participant to receive either procedure randomly. So, they might get the dual task with images one time and then the dual task text another time. Is there a simple script that accomplishes this? Thanks, Mike From leisha at decisionresearch.org Tue May 9 22:09:54 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Tue, 9 May 2006 15:09:54 -0700 Subject: random sampling In-Reply-To: <814536.1147209684725.JavaMail.mhenigha@connect.carleton.ca> Message-ID: I didn't accomplish this in a simple way, probably, but when I needed to display either text or graphics, I saved my text as bmp files, just like I saved my graphics as bmp files. That way, I could use a single slide as the display object. Then I can randomly pick either type of stimulus from the same list. Hope this helps, Leisha Michael Henighan wrote: >Hello all, > >In my experiment I have two procedures that are separate, one procedure >is a dual task showing images and one is a dual task showing text. I >want the participant to receive either procedure randomly. So, they >might get the dual task with images one time and then the dual task >text another time. Is there a simple script that accomplishes this? > > >Thanks, >Mike > > > > From Fredrik.Ullen at neuro.ki.se Thu May 11 14:29:42 2006 From: Fredrik.Ullen at neuro.ki.se (Fredrik =?iso-8859-1?Q?Ull=E9n?=) Date: Thu, 11 May 2006 16:29:42 +0200 Subject: logging in loop Message-ID: Hi, I have a script where the same (e.g.) ImageDisplay object is run repeatedly in a loop, i.e.: Label 1 ImageDisplay1 Goto Label 1 (in an InLine object) I'd like to log some parameters of ImageDisplay1 each time, but the data file seems to be overwritten so that only the last instance is left. Is there a solution? Thanks! Best Fredrik Fredrik Ull?n Associate Professor Stockholm Brain Institute Dept Woman and Child Health Neuropediatric Research Unit (ALB, Q2:07) Karolinska Institutet SE-171 76 Stockholm Sweden personal web page www.fredrikullen.com From hilkep at stanford.edu Thu May 11 15:10:54 2006 From: hilkep at stanford.edu (Hilke Plassmann) Date: Thu, 11 May 2006 08:10:54 -0700 Subject: Synchronizing with Trigger Signal from MRI Scanner Message-ID: Hi, I have a question concerning the use of e-prime for fMRI experiments. I would like to synchronize the ImageDisplay Onset with the trigger signal from the scanner. This signal is send via a response box I'm using and is coded as a '5'. That means that every 2secs (TR=2secs) the scanner sends a '5' to the PC in the control room which can theoretically be detected by E-Prime. Does anybody know how to tell Eprime to use the Trigger Signal to start the Image Display Onset? Or to use the signal to adjust the timing of the Eprime task? Many thanks for your help. Hilke From leisha at decisionresearch.org Thu May 11 16:12:30 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Thu, 11 May 2006 09:12:30 -0700 Subject: logging in loop In-Reply-To: <6.0.3.0.2.20060511162938.02c538b0@mbox.ki.se> Message-ID: I've done this a couple of ways. Say I want to keep track of a total response time. It's one variable that is just one value, so I would write it into the data file. Say I'm going to call the variable TotalResponseTime. First I create TotalResponseTime as an attribute, probably in the user area of the script. I also create another attribute there called Response, which I can use to capture the most recent response: Dim TotalResponseTime as Integer Dim Response as Integer Then every time that Screen1 runs, I add to that variable to Screen1. Here's an If command I used in the case where a non-numeric response ends the screen displays. If IsNumeric(Slide1.RESP) Then Response = Slide1.RESP TotalResponseTime = TotalResponseTime + Response Else c.SetAttrib "TotalResponseTime", TotalResponseTime End If The Else clause writes the TotalResponseTime into your data file. The other method I've used for keeping track of a series of numbers is opening an extra text file & appending it as I go. This results in a list of numbers--say, for example, a series of responses made by a subject. Before the slide, I establish a name for the text file, say subject number plus R for Response: Textname = c.GetAttrib("Subject") + "R.txt" After the slide, I append the response to that filename: Open Textname$ For Append as #1 Write #1,Slide1.RESP Close As far as I know, you may record as many responses as you like this way. Hope this helps. Leisha Wharfield Decision Research Eugene, Oregon, USA Fredrik Ull?n wrote: > Hi, > I have a script where the same (e.g.) ImageDisplay object is run > repeatedly in a loop, i.e.: > > Label 1 > ImageDisplay1 > Goto Label 1 (in an InLine object) > > I'd like to log some parameters of ImageDisplay1 each time, but the > data file seems to be > overwritten so that only the last instance is left. Is there a solution? > Thanks! > Best > Fredrik > > > Fredrik Ull?n > Associate Professor > Stockholm Brain Institute > Dept Woman and Child Health > Neuropediatric Research Unit (ALB, Q2:07) > Karolinska Institutet > SE-171 76 Stockholm > Sweden > personal web page www.fredrikullen.com > > > From Fredrik.Ullen at ki.se Thu May 11 17:11:59 2006 From: Fredrik.Ullen at ki.se (Fredrik =?iso-8859-1?Q?Ull=E9n?=) Date: Thu, 11 May 2006 19:11:59 +0200 Subject: logging in loop In-Reply-To: <4463626E.40207@decisionresearch.org> Message-ID: Thanks Leisha and others for useful responses! Finally, in this case I decided to log the data I needed manually using the Write command. In this way, you get a "clean" data file with no unnecessary info and it's also easy to append data to the same file, which is good since we're doing a long-term training study with several training sessions. Fredrik At 18:12 2006-05-11, Leisha Wharfield wrote: >I've done this a couple of ways. Say I want to keep track of a total >response time. It's one variable that is just one value, so I would write >it into the data file. Say I'm going to call the variable >TotalResponseTime. First I create TotalResponseTime as an attribute, >probably in the user area of the script. I also create another attribute >there called Response, which I can use to capture the most recent response: > >Dim TotalResponseTime as Integer >Dim Response as Integer > >Then every time that Screen1 runs, I add to that variable to Screen1. >Here's an If command I used in the case where a non-numeric response ends >the screen displays. > >If IsNumeric(Slide1.RESP) Then > Response = Slide1.RESP > TotalResponseTime = TotalResponseTime + Response >Else > c.SetAttrib "TotalResponseTime", TotalResponseTime >End If > >The Else clause writes the TotalResponseTime into your data file. > >The other method I've used for keeping track of a series of numbers is >opening an extra text file & appending it as I go. This results in a list >of numbers--say, for example, a series of responses made by a subject. > >Before the slide, I establish a name for the text file, say subject number >plus R for Response: > >Textname = c.GetAttrib("Subject") + "R.txt" > >After the slide, I append the response to that filename: > > Open Textname$ For Append as #1 > Write #1,Slide1.RESP > Close > >As far as I know, you may record as many responses as you like this way. >Hope this helps. > >Leisha Wharfield >Decision Research >Eugene, Oregon, USA > >Fredrik Ull?n wrote: > >>Hi, >>I have a script where the same (e.g.) ImageDisplay object is run >>repeatedly in a loop, i.e.: >> >>Label 1 >>ImageDisplay1 >>Goto Label 1 (in an InLine object) >> >>I'd like to log some parameters of ImageDisplay1 each time, but the data >>file seems to be >>overwritten so that only the last instance is left. Is there a solution? >>Thanks! >>Best >>Fredrik >> >> >>Fredrik Ull?n >>Associate Professor >>Stockholm Brain Institute >>Dept Woman and Child Health >>Neuropediatric Research Unit (ALB, Q2:07) >>Karolinska Institutet >>SE-171 76 Stockholm >>Sweden >>personal web page www.fredrikullen.com >> >> Fredrik Ull?n Associate Professor Stockholm Brain Institute Dept Woman and Child Health Neuropediatric Research Unit (ALB, Q2:07) Karolinska Institutet SE-171 76 Stockholm Sweden personal web page www.fredrikullen.com From brandon_cernicky at yahoo.com Thu May 11 19:53:39 2006 From: brandon_cernicky at yahoo.com (Brandon Cernicky) Date: Thu, 11 May 2006 12:53:39 -0700 Subject: logging in loop In-Reply-To: <73201.4554@mail.talkbank.org> Message-ID: You can also push a new Context level and keep the information in the edat file. Dim x As Long For x = 1 To 5 c.PushNewFrame ImageDisplay.Run 'Log the properties you want here... c.SetAttrib "ImageDisplay.RT", ImageDisplay.RT c.Log c.PopFrame Next x Another alternative that requires no script is to create another List object with a "SubTrialProc" that only contains the ImageDisplay on it. You then set the SubTrialList with the values for how many times to run (and/or InLine to determine when it should quit). -Brandon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Brandon S. Cernicky Senior Software Engineer Psychology Software Tools >Fredrik Ull?n wrote: > >>Hi, >>I have a script where the same (e.g.) ImageDisplay object is run >>repeatedly in a loop, i.e.: >> >>Label 1 >>ImageDisplay1 >>Goto Label 1 (in an InLine object) >> >>I'd like to log some parameters of ImageDisplay1 each time, but the data >>file seems to be >>overwritten so that only the last instance is left. Is there a solution? >>Thanks! >>Best >>Fredrik >> __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From lfalcon at sfu.ca Thu May 11 20:21:08 2006 From: lfalcon at sfu.ca (Laura) Date: Thu, 11 May 2006 13:21:08 -0700 Subject: Using downloaded fonts Message-ID: An embedded and charset-unspecified text was scrubbed... Name: not available URL: From pauls_postbus at hotmail.com Fri May 12 08:08:32 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Fri, 12 May 2006 10:08:32 +0200 Subject: Using downloaded fonts In-Reply-To: <200605112021.k4BKL8SV026213@rm-rstar.sfu.ca> Message-ID: hi laura, Just install Windows compatible fonts in the Windows\Fonts directory (by copying the file) and you should be able to use them in Eprime. (And other programs as well.) best, paul >From: Laura >Reply-To: lfalcon at sfu.ca >To: eprime at mail.talkbank.org >Subject: Using downloaded fonts >Date: Thu, 11 May 2006 13:21:08 -0700 > > >Hi. This is my first post to this discussion group. I am working on my MA >thesis and I would like to know how to get Eprime to recognize new fonts >downloaded from the internet. I would like to use them to display >distractors in a rapidly presented stream of stimuli using a text display >object. >Thanks >Laura > From pauls_postbus at hotmail.com Fri May 12 08:30:45 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Fri, 12 May 2006 10:30:45 +0200 Subject: Synchronizing with Trigger Signal from MRI Scanner In-Reply-To: <74EF1155-77D0-4864-9CDD-B95DCB2F7E53@stanford.edu> Message-ID: hello hilke, In most cases fMRI-trigger signals are sent as a digital TTL-pulse, which can be detected by EPrime by using the parallel printer port (LPT port). The technique used by EPrime to collect trigger pulses is the same as collecting button box responses. You can find a description of this technique at http://www.psy.vu.nl/download/menu. Anyway, you can synchronize your stimuli with these triggers by placing an EPrime wait object (or a blank text screen if you prefer) immediately before the image object. Then add the input device (probably a Port device) to the ?Input mask device? list (Duration/Input tab) and set the ?Duration? to Infinite and the ?End Action? to Terminate. When you use another input device type for collecting the trigger pulses (such as an SRBox device), then you should add this specific device to the list instead of the Port device. In some cases it is also advisable to configure the ?Allowable? property to the specific code you?re using (i.e. ?5?) Note that there will always be a small image onset delay error due to the asynchronous nature of the triggers. This is because the image is normally not shown before the next refresh cycle of the beamer/monitor after a trigger has occurred. When your script is configured properly then this onset error should always be less then the refresh interval time and will not be a problem in fMRI studies. Best, Paul. Vrije Universiteit Amsterdam >From: Hilke Plassmann >To: eprime at mail.talkbank.org >Subject: Synchronizing with Trigger Signal from MRI Scanner >Date: Thu, 11 May 2006 08:10:54 -0700 > >Hi, > >I have a question concerning the use of e-prime for fMRI experiments. I >would like to synchronize the ImageDisplay Onset with the trigger signal >from the scanner. This signal is send via a response box I'm using and is >coded as a '5'. That means that every 2secs (TR=2secs) the scanner sends a >'5' to the PC in the control room which can theoretically be detected by >E-Prime. Does anybody know how to tell Eprime to use the Trigger Signal to >start the Image Display Onset? Or to use the signal to adjust the timing >of the Eprime task? Many thanks for your help. > >Hilke > > > From Daniel.Ansari at Dartmouth.EDU Mon May 15 13:22:04 2006 From: Daniel.Ansari at Dartmouth.EDU (Daniel Ansari) Date: Mon, 15 May 2006 09:22:04 EDT Subject: Playing two streams of sound Message-ID: A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 687 bytes Desc: not available URL: From wendy_davidson79 at hotmail.com Wed May 17 15:39:30 2006 From: wendy_davidson79 at hotmail.com (Wendy Davidson) Date: Wed, 17 May 2006 16:39:30 +0100 Subject: moving image Message-ID: Does anyone know if it is possible to have a moving image stimulus on e-prime. If so, any ideas how this is done? I only need to use a very simple image. Specifically, I need to show a dot moving in a specific direction on the screen, following its short dissappearance, it then reappears and the participant is asked if it is following the same trajectory. Any help on this would be greatly appreciated. Thanks in advance Wendy Davidson The University of Aberdeen Scotland From michael.crowley at yale.edu Wed May 17 16:09:14 2006 From: michael.crowley at yale.edu (Michael J. Crowley) Date: Wed, 17 May 2006 12:09:14 -0400 Subject: moving image In-Reply-To: Message-ID: Wendy, you can specify the x and y coordinates for an object on a slide. if you specify changes in the x and y along a line or whatever path you specify your object will appear to move on the screen. x and y could be attributes in a list that you present serially. best of luck, Mike Quoting Wendy Davidson : > Does anyone know if it is possible to have a moving image stimulus on > e-prime. If so, any ideas how this is done? > > I only need to use a very simple image. Specifically, I need to show a dot > moving in a specific direction on the screen, following its short > dissappearance, it then reappears and the participant is asked if it is > following the same trajectory. > > Any help on this would be greatly appreciated. > > Thanks in advance > > Wendy Davidson > > The University of Aberdeen > Scotland > > > > Michael J. Crowley, Ph.D. Yale Child Study Center 230 South Frontage Rd. New Haven, CT 06520 Please be aware that email communication can be intercepted in transmission or misdirected. Please consider communicating any sensitive information by telephone, fax or mail. The information contained in this message may be privileged and confidential. If you are NOT the intended recipient, please notify the sender immediately with a copy to hipaa.security at yale.edu and destroy this message. From pauls_postbus at hotmail.com Wed May 17 16:09:23 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Wed, 17 May 2006 18:09:23 +0200 Subject: moving image In-Reply-To: Message-ID: Dear Wendy, The easiest way to do this (without using any script), is to create a series of bitmaps images which are displayed in sequence at a relative high rate. (The pictures make up the 'movie'.) However, you will have to create a lot of pictures by using another (scriptable) application. Another downside of this technique is that you need a fast computer to be able to display the image sequence smoothly. It would be a better solution if you could create a video stream of these images and play them directly (I believe the next version of EPrime will support video playback.) Another option is to use some inline scripting to draw the ?moving? dot. A good starting point is to draw a circle on a so called (off screen) canvas and then copy this canvas image on the display. (See Canvas.Circle and Canvas.Copy in the EBasic manual. The next step would be to create a repeating loop and change the coordinates of the circle as desired. Hope this is of any help. Best, Paul Groot Vrije Universiteit Amsterdam >From: "Wendy Davidson" >To: eprime at mail.talkbank.org >Subject: moving image >Date: Wed, 17 May 2006 16:39:30 +0100 > >Does anyone know if it is possible to have a moving image stimulus on >e-prime. If so, any ideas how this is done? > >I only need to use a very simple image. Specifically, I need to show a dot >moving in a specific direction on the screen, following its short >dissappearance, it then reappears and the participant is asked if it is >following the same trajectory. > >Any help on this would be greatly appreciated. > >Thanks in advance > >Wendy Davidson > >The University of Aberdeen >Scotland > > > From lfalcon at sfu.ca Thu May 18 23:40:41 2006 From: lfalcon at sfu.ca (Laura) Date: Thu, 18 May 2006 16:40:41 -0700 Subject: Calling an array of BMP images Message-ID: An embedded and charset-unspecified text was scrubbed... Name: not available URL: From Daniel.Ansari at Dartmouth.EDU Fri May 19 00:47:17 2006 From: Daniel.Ansari at Dartmouth.EDU (Daniel Ansari) Date: Thu, 18 May 2006 20:47:17 EDT Subject: More feedback displays Message-ID: A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 230 bytes Desc: not available URL: From leeh at biols.susx.ac.uk Fri May 19 08:09:27 2006 From: leeh at biols.susx.ac.uk (Lee Hogarth) Date: Fri, 19 May 2006 09:09:27 +0100 Subject: More feedback displays In-Reply-To: <69357952@newprancer.Dartmouth.EDU> Message-ID: Hello Daniel, You need a conditional inline statement such as: c.SetAttrib "collectresp1.resp", collectresp1.resp select case c.GetAttrib ("criterion") case Is = "1" If c.GetAttrib ("collectresp1.resp") >= "1" Then Outcome1.Run c End If case Is = "2" If c.GetAttrib ("collectresp1.resp") >= "1" Then Outcome2.Run c End If End Select You will need 5 cases for the criterion variable, which is placed in the list. The if statement checks that the response in the proceeding object satisfied your conditions. I hope this helps. Lee. _____ From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of Daniel Ansari Sent: 19 May 2006 01:47 To: eprime at mail.talkbank.org Subject: More feedback displays Dear E-prime friends, I am trying to design an experiment with 5 different kinds of feedback. The feedback object that is standard in e-prime only has three. Is there a way of increasing this number easily? Thanks! Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: From jankowsk at aecom.yu.edu Fri May 19 13:47:05 2006 From: jankowsk at aecom.yu.edu (Jeffery Jankowski) Date: Fri, 19 May 2006 09:47:05 -0400 Subject: Touchscreen Message-ID: We would like to use a touchscreen in conjunction with EPrime. Does anyone have recommendations? Certainly, we want the device to interface well with the program. Thanks for the help, Jeff Jankowski Dr. Jeffery J. Jankowski Kennedy Center - Room 235 Albert Einstein College of Medicine 1300 Morris Park Avenue Bronx, NY 10461 Ph: (718) 430-2463 From brandon_cernicky at yahoo.com Sun May 21 19:04:34 2006 From: brandon_cernicky at yahoo.com (Brandon Cernicky) Date: Sun, 21 May 2006 12:04:34 -0700 Subject: Calling an array of BMP images In-Reply-To: <78001.76681@mail.talkbank.org> Message-ID: >> Hey everyone. Is it possible to call an array of BMP >> images to an >> Imagedisplay object in the same way that you call an >> array of text to a >> textdisplay object? >> Thanks >> Laura Hi Laura, With the info you provided, here are the suggestions I have for you to try: 1) Set the Filename property of the ImageDisplay to be an [attribute] and then set that column of your List object to be your filename for the images you want. If your images are large, then consider looking at the "pre load image w/o using canvas" sample on the PST support web site. 2) If you are just looking to display images very quickly, then I would suggest looking at the SpriteManager sample/download on the PST support web site. There is a help document off the start menu as well as some samples that should assist in running images very quickly from a List object. 3) You could use Canvas object in script and load the images as well. However, there are a lot of things to consider besides the actual scripting of Canvas objects that relate to the amount of video memory in each of your subject station machines. See the Sprite Manager documentation (see #2 above) for info about that. -Brandon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Brandon S. Cernicky Senior Software Engineer Psychology Software Tools __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From vanerp at LifeSci.UCLA.EDU Sun May 21 19:08:03 2006 From: vanerp at LifeSci.UCLA.EDU (via the vacation program) Date: Sun, 21 May 2006 12:08:03 -0700 Subject: away from my mail Message-ID: I will not be reading my mail for a while. I will be out of town from May 12 - May 19, 2006. Your mail regarding "" will be read when I return, or ealier when I have computer access. Best, Theo From Fredrik.Ullen at ki.se Mon May 22 12:04:39 2006 From: Fredrik.Ullen at ki.se (Fredrik =?iso-8859-1?Q?Ull=E9n?=) Date: Mon, 22 May 2006 14:04:39 +0200 Subject: Calling experiments? In-Reply-To: <3.0.6.32.20060519094705.00a69a58@mailserver.aecom.yu.edu> Message-ID: Hi, We are planning a more complicated study where a subject will perform different E-prime experiments on different days during a longer period. It would be useful to have a "master script" which you run each day and which decides what other script(s) should be run. Each different experiment script is quite big and would be easy to have in a separate experiment file. So: Is there an easy way to call an experiment file from within another experiment file, like a subroutine? Can e.g. a whole script be compiled and then run via a PackageCall object? (My general problem with PackageCall right now is that the Experiment Object property dialogue seems not to find .epk files stored in /PST/E-Prime/Program/Packages...) Best Fredrik From pauls_postbus at hotmail.com Tue May 23 07:14:02 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Tue, 23 May 2006 09:14:02 +0200 Subject: Calling experiments? In-Reply-To: <6.0.3.0.2.20060522135848.03ab3a80@mbox.ki.se> Message-ID: Hi Fredrik, Since EBasic is limited to scripts sizes of about 64kb, including other scripts as packages will probably not be the sollution. As far as I know, there is also no command for running a second script from an existing EPrime script. However, it is rather easy to start EPrime scripts (i.e. ERum) from other (scripting) applications or batch files. You also might take a look at at the EKick utility: http://www.psy.vu.nl/download/menu/xml/eprime_tool_ekick.xml This small program helps you to start EPrime scripts with specific parameters (such as subject ID) Best Paul >From: Fredrik Ull?n >To: eprime at mail.talkbank.org >Subject: Calling experiments? >Date: Mon, 22 May 2006 14:04:39 +0200 > >Hi, >We are planning a more complicated study where a subject will perform >different E-prime >experiments on different days during a longer period. >It would be useful to have a "master script" which you run each day and >which decides >what other script(s) should be run. Each different experiment script is >quite big and would >be easy to have in a separate experiment file. > >So: Is there an easy way to call an experiment file from within another >experiment file, like >a subroutine? Can e.g. a whole script be compiled and then run via a >PackageCall object? >(My general problem with PackageCall right now is that the Experiment >Object property dialogue >seems not to find .epk files stored in /PST/E-Prime/Program/Packages...) > >Best >Fredrik > > From steve.kelly at strath.ac.uk Tue May 23 10:31:06 2006 From: steve.kelly at strath.ac.uk (Steve Kelly) Date: Tue, 23 May 2006 11:31:06 +0100 Subject: play tone after error Message-ID: Dear E-primers, I'm trying to get a short tone played if someone presses the wrong key in a 4 button RT task. I've used a sound object and the following inline script: If (testtarget.ACC = 0) Then c.SetAttrib "sound", "beep.wav" Else goto Label1 End if Problem is, when the tone plays the target stays up on the screen for another second or so. Doesn't do this when the correct button is pressed. I'm guessing that using a sound object for feedback is adding time in somewhere and I can't seem to reduce it. So is there a simple way of scripting "if they get it wrong play this tone" without adding in a sound column in the list object? Or do I need to play with the parameters of the sound object?? Thanks in advance Steve ********************************************** Dr Steve Kelly Department of Psychology University of Strathclyde Graham Hills Building 40 George Street Glasgow G1 11QE Tel: 0141 548 4880 Fax: 0141 548 4001 From pseudoverlighter at zonnet.nl Thu May 25 11:28:52 2006 From: pseudoverlighter at zonnet.nl (Mich) Date: Thu, 25 May 2006 13:28:52 +0200 Subject: play tone after error In-Reply-To: <004c01c67e54$00150cd0$9f4e9f82@stevekelly> Message-ID: Hello Steve, SK> So is there a simple way of scripting "if they get it wrong play this tone" SK> without adding in a sound column in the list object? Or do I need to play SK> with the parameters of the sound object?? That should help, but I would suggest making something like: If (testtarget.ACC = 0) Then soundbufferx.play else soundbuffery.play soundbufferx would then point to your beep.wav, but next to it, i would make an empty .wav file which is exactly as long as beep.wav, but then completely silent. You can do this with windows audio recorder (just open beep.wav and keep making it softer until there's nothing anymore) and the idea would be that in both conditions (correct & incorrect answer), the timing remains the same. There's a working example in the ebasic documentation on sound how to fill those soundbuffers (i suggest doing that when the experiment start). Cheers, Michiel Spap? Cognitive Psychology Unit Leiden University From slagter at wisc.edu Thu May 25 14:20:03 2006 From: slagter at wisc.edu (Heleen Slagter) Date: Thu, 25 May 2006 09:20:03 -0500 Subject: event code during object Message-ID: Hi all, I was hoping to get some advice on the following: In my EEG experiment, I would like to send out an event code right when a response is given to a particular object, even though this response might be given *before the offset* of this object (e.g., a face) or *after the offset* of this object (during the presentation of the next object (e.g., a fixation cross)). The response is made with a keyboard. One possibility may be to use a loop to check input from the keyboard, but I am afraid that this will result in timing error across the experiment. Any advice on this matter would be greatly appreciated! Best wishes, Heleen Slagter ------------------------------------------------- University of Wisconsin, Madison Waisman Laboratory for Brain Imaging & Behavior Laboratory for Affective Neuroscience Email: slagter at wisc.edu www (Lab for Affective Neuroscience): http://psyphz.psych.wisc.edu www www (Waisman Lab): http://brainimaging.waisman.wisc.edu ------------------------------------------------- From eddie at ling.ed.ac.uk Thu May 25 14:48:02 2006 From: eddie at ling.ed.ac.uk (Eddie Dubourg) Date: Thu, 25 May 2006 15:48:02 +0100 Subject: Keyboard Layout Message-ID: I'm assisting with an e-prime experiment that is obtaining a string response to visual stimuli. Oddly, even though the machine is set up only to recognise the UK english keyboard layout, and the machine is a UK model, running a UK version of WinXP (SP2), the repsonses are all obtained as if the keyboard had been switched to US english. As the responses are inherently free, symbols can be used, and for example, the UK pound symbol ? is being replaced by #, the @ sign does not give any response at all, and so on. Is there anyway, e.g. with an inline object, to force a codepage on the experiment, and why is it changing the default layout anyway? All the best Eddie Dubourg Computing/Technical Support Officer Linguistics and English Language CHSS, University of Edinburgh From pauls_postbus at hotmail.com Sat May 27 13:17:49 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Sat, 27 May 2006 15:17:49 +0200 Subject: event code during object In-Reply-To: Message-ID: Dear Heleen, The most reliable procedure for relaying responses to event codes in real time is to use the Terminate or JumpTo options for the ?end action? in the input mask in combination with some inline scripting. A rather simple construction is possible when the input can only be given during the lifetime of a single EPrime object. In this case you can specify Terminate as ?end action? and use some inline script immediately after this input object to generate the event. When you would still like have the initial object (i.e. the stimulus) to stay visible for the specified duration, then you would also have to add an additional delay for the leftover time (=duration-RT). This would look something like this: WritePort &H378, code ? send event code to LPT1 dim tLeftover as long tLeftover = Stimulus.Duration ? (Clock.ReadMillisec- Stimulus.OnsetTime) if tLeftover>0 then Sleep(tLeftover) ? and keep stimulus visible However, the situation is more complex if the response can occur during two or more objects in a sequence. To start with, you should configure only the input mask for the first object and increase the time limit from ?(same as duration)? to the total time required. (Or even to ?infinite? if the total time for the input window is not fixed.) This way EPrime will also detect responses in the additional object(s). When the end action is set to ?Terminate? then you will have to insert some inline script after each object of this sequence to handle the response. Each inline script object will have the same kind of code as shown above, but with an additional test to figure out if the response was given during the previous object. Assuming that you have two objects (Stimulus and Fixation), and have the input mask of the Stimulus object configured for accepting responses during both the Stimulus and the Fixation object, then the inline scripts would look like: ? inline after Stimulus: if Stimulus.RtTime>= Stimulus.OnsetTime then WritePort &H378, code ? send event code to LPT1 tLeftover = Stimulus.Duration ? (Clock.ReadMillisec- Stimulus.OnsetTime) if tLeftover>0 then Sleep(tLeftover) ? and keep stimulus visible end if ? inline after Fixation: if Stimulus.RtTime>= Fixation.OnsetTime then WritePort &H378, code ? send event code to LPT1 tLeftover = Fixation.Duration ? (Clock.ReadMillisec- Fixation.OnsetTime) if tLeftover>0 then Sleep(tLeftover) ? and keep fixation visible end if However, with this code there is a small risk of ?missing? responses that fall between the execution of first inline script and the onset of the fixation. Therefore, it is better to use the following code: ? inline after Stimulus: Dim bReponseHandled as Boolean if Stimulus.RtTime>= Stimulus.OnsetTime then bReponseHandled = true WritePort &H378, code ? send event code to LPT1 tLeftover = Stimulus.Duration ? (Clock.ReadMillisec- Stimulus.OnsetTime) if tLeftover>0 then Sleep(tLeftover) ? and keep stimulus visible end if ? inline after Fixation: if Stimulus.RtTime>= Stimulus.OnsetTime And Not bReponseHandled then bReponseHandled = true WritePort &H378, code ? send event code to LPT1 tLeftover = Fixation.Duration ? (Clock.ReadMillisec- Fixation.OnsetTime) if tLeftover>0 then Sleep(tLeftover) ? and keep fixation visible end if Note that using PreRelease times might be very tricky in this case. (Although I think the latter code example is safe to use in conjunction with PreRelease times. Be careful though!) Hope this helps. Paul Groot Vrije Universiteit van Amsterdam The Netherlands >From: Heleen Slagter >To: eprime at mail.talkbank.org >Subject: event code during object >Date: Thu, 25 May 2006 09:20:03 -0500 > >Hi all, > >I was hoping to get some advice on the following: > >In my EEG experiment, I would like to send out an event code right when >a response is given to a particular object, even though this response >might be given *before the offset* of this object (e.g., a face) or >*after the offset* of this object (during the presentation of the next >object (e.g., a fixation cross)). The response is made with a keyboard. >One possibility may be to use a loop to check input from the keyboard, >but I am afraid that this will result in timing error across the >experiment. > >Any advice on this matter would be greatly appreciated! >Best wishes, > >Heleen Slagter >------------------------------------------------- >University of Wisconsin, Madison >Waisman Laboratory for Brain Imaging & Behavior >Laboratory for Affective Neuroscience > >Email: slagter at wisc.edu >www (Lab for Affective Neuroscience): http://psyphz.psych.wisc.edu >www www (Waisman Lab): http://brainimaging.waisman.wisc.edu >------------------------------------------------- > From rip5555 at ksu.edu Sat May 27 22:52:28 2006 From: rip5555 at ksu.edu (Reed I. Peterson) Date: Sat, 27 May 2006 17:52:28 -0500 Subject: Unsubscribing Message-ID: Hello all, How do you unsubscribe from this listserv? Thanks, -- Reed Ian Peterson Kansas State University (785)-317-1137 rip5555 at ksu.edu From emistern at MED.UMICH.EDU Tue May 30 14:21:06 2006 From: emistern at MED.UMICH.EDU (Emily Stern) Date: Tue, 30 May 2006 10:21:06 -0400 Subject: Not logging responses Message-ID: An HTML attachment was scrubbed... URL: