From m.lopez at ucl.ac.uk Mon Jul 3 11:15:30 2006 From: m.lopez at ucl.ac.uk (Belen Lopez) Date: Mon, 3 Jul 2006 12:15:30 +0100 Subject: reference a listobject Message-ID: Hi, ----Can anyone "help" me with my E-Prime program? I have written a code in which I need to use a label in a previous procedure, but I'm aware that you can not do this. So I was wondering if it's possible to reference a list object in code instead of a label object. The "goto" command in code seems to be followed by a label name. However, is there another command that is used to reference a list object? Any help will be appreciated. Maria ---------------------------------------------------------------------- Belen Lopez Cutrin, PhD student, Phone: 020 7679 5302 Department of Psychology Fax: 020 7436 4276 University College London 26 Bedford Way London WC1H 0AP United Kingdom ---------------------------------------------------------------------- From leisha at decisionresearch.org Mon Jul 3 16:03:23 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Mon, 3 Jul 2006 09:03:23 -0700 Subject: reference a listobject In-Reply-To: <3.0.6.32.20060703121530.00c9cde0@pop-server.ucl.ac.uk> Message-ID: Hi, Maria, I think you can just run your list via an Inline object with the command: Listname.Run c If Listname is in the Unreferenced E-Objects, I think you can run it from anywhere in your script. Leisha Wharfield Decision Research Eugene, Oregon, USA Belen Lopez wrote: >Hi, > >----Can anyone "help" me with my E-Prime program? I have written a code >in which I need to use a label in a previous procedure, but I'm aware that >you can not do this. So I was wondering if it's possible to reference a list >object in code instead of a label object. > >The "goto" command in code seems to be followed by a label name. However, >is there another command that is used to reference a list object? > >Any help will be appreciated. > >Maria > >---------------------------------------------------------------------- >Belen Lopez Cutrin, >PhD student, Phone: 020 7679 5302 >Department of Psychology Fax: 020 7436 4276 >University College London >26 Bedford Way >London WC1H 0AP >United Kingdom >---------------------------------------------------------------------- > > > > From wendy_davidson79 at hotmail.com Wed Jul 5 08:52:25 2006 From: wendy_davidson79 at hotmail.com (Wendy Davidson) Date: Wed, 5 Jul 2006 09:52:25 +0100 Subject: input to canvas Message-ID: Hi I was hoping someone could give me some advice about using the canvas object. I have designed an experiment in which a dot moves along the screen (using a copy from off-screen canvas at refresh) and I need to add input to it. Basically, the subject must press the keyboard to indicate if the dot is the same or different as before. Does anyone know if it is possible to add input to a canvas object? Any help on this would be great! Thanks Wendy Davidson University of Aberdeen From Anna_Abramson at brown.edu Thu Jul 6 18:26:59 2006 From: Anna_Abramson at brown.edu (Abramson, Anna) Date: Thu, 6 Jul 2006 14:26:59 -0400 Subject: quick eprime question Message-ID: Hello, Anyone know how to set a global boolean variable into the user script? I'm working off of a sample that designates rows in the user script but I can't figure out how to add a global variable like this. Thanks!! From info at pstnet.com Thu Jul 6 19:54:42 2006 From: info at pstnet.com (Psychology Software Tools (info)) Date: Thu, 6 Jul 2006 15:54:42 -0400 Subject: quick eprime question In-Reply-To: <471F15E271937A4DA89AC12211DDAD9804AFFFE4@MAIL2.AD.Brown.Edu> Message-ID: Anna, Global variables are declared in the User tab of the Script window. You can open the Script window either by selecting it from the View menu (at the top of the E-Studio GUI) or by pressing ALT+5. Once the Script window is open, click on the User tab and enter your script as normal. For example: Dim x As Boolean Please note that it is a good practice to initialize global variables as the first event in the Procedure in which they will be used. Initialization is done by simply assigning a value to the variable in an InLine object: x = FALSE Once a value has been assigned to the variable, it can be used as normal. I apologize for not making this clearer in the sample. Matt Lenhart Technical Consultant -----Original Message----- From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of Abramson, Anna Sent: Thursday, July 06, 2006 2:27 PM To: eprime at mail.talkbank.org Subject: quick eprime question Hello, Anyone know how to set a global boolean variable into the user script? I'm working off of a sample that designates rows in the user script but I can't figure out how to add a global variable like this. Thanks!! From gunes.yucel at ucdmc.ucdavis.edu Wed Jul 12 23:12:46 2006 From: gunes.yucel at ucdmc.ucdavis.edu (Gunes Yucel) Date: Wed, 12 Jul 2006 16:12:46 -0700 Subject: ITI and sound presentation Message-ID: Dear All, I am trying to jitter ITI. I found an e-mail to answer to ITI jittering (http://listserv.linguistlist.org/cgi-bin/wa?A2=ind0212A&L=EPRIME&P=R142&I=-3 ). It helped for ITI issue but , it does not help me what i would like to do with my design. I am wondering whether any of you have a solution for the following issue: Yes, i would like to use jittering for ITI (2-6sec), however, during this jittering for every 1sec a certain auditory stimulus has to be displayed. any suggestion? Thank you for your time and your interest. Gunes Yucel, Ph.D. UCDavis Imaging Center UC Davis Medical Center 4701 X st. Sacramento, CA 95817 phone: (916) 734-0508 From yhong5 at uwo.ca Thu Jul 13 02:19:56 2006 From: yhong5 at uwo.ca (Yee-Shiun Hong) Date: Thu, 13 Jul 2006 02:19:56 +0000 Subject: Max count for Port Device Message-ID: Dear all, Does anyone knows a way to allow the Maximum Count for a Port Device to have flexibility in values for a single trial? For example, to allow for a MaxCount of 1 or 2 within one trial? I figure that one may have to write up a script or inline code to handle this situation. Any suggestions to this problem is greatly appreciated. Thanks! Ryan Ryan Y. Hong Personality and Measurement Department of Psychology University of Western Ontario London, Ontario, Canada N6A 5C2 Email: yhong5 at uwo.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From r.l.c.mitchell at reading.ac.uk Fri Jul 14 15:30:59 2006 From: r.l.c.mitchell at reading.ac.uk (Rachel Mitchell) Date: Fri, 14 Jul 2006 16:30:59 +0100 Subject: A non-believer Message-ID: Hello all :-) I have received comments back on a manuscript I submitted for publication a while back. The study it described was an fMRI study, of block design, that used E-prime to present the auditory stimuli. One of the reviewers has expressed misgivings though about my use of E-prime and its validity in this context. To quote them.... "The experiment used Eprime. I am concerned about the temporal resolution of this program in combination with fMRI." Could the E-prime authors/technical staff comment on this statement? Has anyone else received comments like this previously? How did they respond? Or, if it did happen to you, what would you say to attenuate their concerns? ALL comments welcome. With very best wishes Rachel -------------------------------------------------------- Dr Rachel L. C. Mitchell. Lecturer in Cognitive Psychology, University of Reading. Honorary Research Fellow, Institute of Psychiatry. Research Psychologist, Berkshire Healthcare NHS Trust. Correspondence Address: School of Psychology and Clinical Language Sciences, Whiteknights Road University of Reading Reading Berkshire RG6 6AL Tel: +44 (0)118 378 8523 Direct Dial: +44 (0)118 378 7530 Fax: +44 (0)118 378 6715 ----------------------------------------------------------------------- From leisha at decisionresearch.org Fri Jul 14 17:02:55 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Fri, 14 Jul 2006 10:02:55 -0700 Subject: A non-believer In-Reply-To: Message-ID: I'm sure that I would be initially offended by this reviewer questioning my choice of software, especially in such a vague way. People defend or oppose software rabidly based on some preference, don't they? I would wonder about the reviewer's affiliation. But then I'd do what one must do to appease the reviewer: Add a footnote to your manuscript describing what testing you did with eprime based upon your own concerns about its capabilities for your specific project or explain clearly & thoughtfully why you thought they were unnecessary. Leisha Wharfield Decision Research Eugene, Oregon, USA leisha at decisionresearch.org Rachel Mitchell wrote: >Hello all :-) > >I have received comments back on a manuscript I submitted for publication a >while back. >The study it described was an fMRI study, of block design, that used E-prime >to present the auditory stimuli. > >One of the reviewers has expressed misgivings though about my use of E-prime >and its validity in this context. >To quote them.... >"The experiment used Eprime. I am concerned about the temporal resolution of >this program in combination with fMRI." > >Could the E-prime authors/technical staff comment on this statement? > >Has anyone else received comments like this previously? >How did they respond? > >Or, if it did happen to you, what would you say to attenuate their concerns? > >ALL comments welcome. > >With very best wishes >Rachel > >-------------------------------------------------------- >Dr Rachel L. C. Mitchell. >Lecturer in Cognitive Psychology, University of Reading. >Honorary Research Fellow, Institute of Psychiatry. >Research Psychologist, Berkshire Healthcare NHS Trust. > >Correspondence Address: >School of Psychology and Clinical Language Sciences, >Whiteknights Road >University of Reading >Reading >Berkshire >RG6 6AL > >Tel: +44 (0)118 378 8523 >Direct Dial: +44 (0)118 378 7530 >Fax: +44 (0)118 378 6715 >----------------------------------------------------------------------- > > > > > From Anna_Abramson at brown.edu Fri Jul 14 18:06:39 2006 From: Anna_Abramson at brown.edu (Abramson, Anna) Date: Fri, 14 Jul 2006 14:06:39 -0400 Subject: Programming click specifications Message-ID: Hello, Does anyone know how to 1. Program a visual analog slide so the subject can click once, change his or her mind, and click a new one---but with only ONE click, the final one, ultimately registering? From lak286 at psu.edu Fri Jul 14 20:02:41 2006 From: lak286 at psu.edu (Lauren Killeen) Date: Fri, 14 Jul 2006 16:02:41 -0400 Subject: Continuous sound during Go/No-Go task Message-ID: Hello, I am trying to figure out how to add a continuous sound file to a Go/No-Go E-Prime task in which participants are instructed to hit a button each time they see a letter, but not if the same letter was presented immediately before. There are 120 trials/block, and I would like participants to either hear the sound of an infant crying starting at the 60th trial (so half-way through the task) and ending with the final trial, or starting at the beginning of a block but ending at the 60th trial. How can I integrate this 1.5-2 minute sound file into the E-Prime task so that it turns on and off at the correct time? Any advice would be greatly appreciated as we¹ve really struggled with this! Thanks, Lauren Killeen -------------- next part -------------- An HTML attachment was scrubbed... URL: From leisha at decisionresearch.org Fri Jul 14 22:10:46 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Fri, 14 Jul 2006 15:10:46 -0700 Subject: Programming click specifications In-Reply-To: <471F15E271937A4DA89AC12211DDAD9804B00026@MAIL2.AD.Brown.Edu> Message-ID: Hi, Anna, I think I used an Inline Object that assigned the initial and each response value to an attribute named something like FinalResponse, overwriting whatever value had been there before, if there was one, and wrote it to the data file, again replacing any pre-existing value. If the FinalResponse was a space bar, which ended the slide object, it wasn't recorded. Leisha Wharfield Decision Research Eugene, Oregon, USA leisha at decisionresearch.org Abramson, Anna wrote: >Hello, >Does anyone know how to >1. Program a visual analog slide so the subject can click once, change his or her mind, and click a new one---but with only ONE click, the final one, ultimately registering? > > > > From pauls_postbus at hotmail.com Mon Jul 17 08:19:37 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Mon, 17 Jul 2006 10:19:37 +0200 Subject: Continuous sound during Go/No-Go task In-Reply-To: Message-ID: Hello Lauren, By using some inline scripting it should be possible to configure the EPrime Sound object to play in the background. I posted a piece of example script about a year ago: http://listserv.linguistlist.org/cgi-bin/wa?A2=ind0504c&L=eprime&P=85 I'm not sure about the maximum allowed length of the sound file though! The previous post also contains an example of playing an audio file by using the Windows multimedia libraries directly. For background sounds this is probably the prefered method. best, Paul Groot Vrije Universiteit >From: Lauren Killeen >To: >Subject: Continuous sound during Go/No-Go task >Date: Fri, 14 Jul 2006 16:02:41 -0400 > >Hello, > >I am trying to figure out how to add a continuous sound file to a Go/No-Go >E-Prime task in which participants are instructed to hit a button each time >they see a letter, but not if the same letter was presented immediately >before. There are 120 trials/block, and I would like participants to >either >hear the sound of an infant crying starting at the 60th trial (so half-way >through the task) and ending with the final trial, or starting at the >beginning of a block but ending at the 60th trial. > >How can I integrate this 1.5-2 minute sound file into the E-Prime task so >that it turns on and off at the correct time? > >Any advice would be greatly appreciated as we¹ve really struggled with >this! > >Thanks, >Lauren Killeen From A.O.J.Cramer at uva.nl Tue Jul 18 08:34:28 2006 From: A.O.J.Cramer at uva.nl (Angelique Cramer) Date: Tue, 18 Jul 2006 10:34:28 +0200 Subject: Programming problem Iowa Gambling Task Message-ID: Dear sir/madam, Currently I'm programming a Duch version of the Iowa Gambling Task in E-prime. The task does fine, but I have encountered a problem. I have made a DesignList with 100 trials and each trial refers to four nested lists: Deck A, Deck B, Deck C and Deck D. The problem is that I want the experiment to proceed as follows: for example, a subject picks 3 cards from Deck D (so the first 3 ID's from the Deck D list) and when he picks a card from Deck A for the fist time, I want the list to go to the first ID/trial of the Deck A list. Instead, the program goes to the fourth line of the Deck A list. How can I program it so that the experiment proceeds according to the abovementioned? Note that the available Iowa Gambling Task made in e-prime suffers from the same problem and if I understand the article about the original version correctly (Bechara et al., 1994), then you have to program the experiment so that you always begin with the first line/trial of the list and then proceed sequentially. Thanks in advance for helping me out, Best regards, Angélique Cramer >From Angélique Cramer on 7/17/2006 10:31:00 AM Additional information: - Designlist: 100 samples, 1 cycle, Nested: DeckA, DeckB, DeckC, DeckD - DeckA/B/C/D: 40 samples per deck, attributes: win, loss - TrialProc: game slide (four cards visble on the screen, request to pick a card from any of the four decks), InLine script (if strHit "DeckA" then Feedback.ActiveState = "FBA", same goes for the other four decks), Feedback slide with 4 possible active states (for example, for Deck A this is FBA with text: "You have won [WinA] and lost [LossA]) Thank you again for helping me, Best regards, Angélique Cramer From jankowsk at aecom.yu.edu Tue Jul 18 13:31:04 2006 From: jankowsk at aecom.yu.edu (Jeffery Jankowski) Date: Tue, 18 Jul 2006 09:31:04 -0400 Subject: Shortcut Message-ID: Hello to all, I would like to create a shortcut to a program. I've followed the manual but when I click on the shortcut, the hourglass appears momentarily, ceases, and nothing happens. Initially, an error message appeared saying in effect that the 'source' path was wrong but this no longer occurs. Any thoughts/suggestions are appreciated. Thanks, Jeff Jankowski From pseudoverlighter at zonnet.nl Wed Jul 19 00:01:56 2006 From: pseudoverlighter at zonnet.nl (Mich) Date: Wed, 19 Jul 2006 02:01:56 +0200 Subject: input to canvas In-Reply-To: Message-ID: Hello Wendy, Wednesday, July 5, 2006, 10:52:25 AM, you wrote: WD> Hi WD> I was hoping someone could give me some advice about using the canvas WD> object. WD> I have designed an experiment in which a dot moves along the screen (using a WD> copy from off-screen canvas at refresh) and I need to add input to it. WD> Basically, the subject must press the keyboard to indicate if the dot is the WD> same or different as before. WD> Does anyone know if it is possible to add input to a canvas object? It is, but it's difficult to implement, so should you still wish to use Eprime instead of going for visual basic, I'd suggest trying the following trick: add a textdisplay of 0 ms just prior to the canvas and set the time limit to something like 2000 ms. That way, you can use all the logging of the textdisplay instead of adding all that using inline (and with the maximum inline being what it is...). I've also done this and it works well enough, but you might consider logging your own reaction time instead of using the text display's response. Just set a clock.read at the first inline and subtract this from the RTTime. Let me know if you need any further help! Cheers, Michiel Spapé Leiden University From ecker at mpib-berlin.mpg.de Wed Jul 19 14:08:32 2006 From: ecker at mpib-berlin.mpg.de (Ecker, Johannes) Date: Wed, 19 Jul 2006 16:08:32 +0200 Subject: responses and fmri triggers simultaneously through parallel port Message-ID: Hi, I have a question concerning the parallel port use in e-prime and how to use multiple devices through it. We have a response mouse and the scanner triggers both connected to the parallel port, the mouse uses the data pins 2-9 and the fmri trigger pulses (TTL) are read in through pin 10. For instance I have a slide to which the participant has to give an answer through the response mouse, but this response should not terminate the slide. This should be timed by the fmri-triggers. The scanner sends 26 pulses in one TR (2.5 sec). So I added 2 port devices in the Input/Duration Tag of the slide, one for the mouse and one for the TTL Signals. The mouse is on address 378 and the TTL on 379. The Mouse device has 2 allowable values, and the Correct Response is coded in a previous list. I set the mouse on "Duration: Infinite" and "End Action: none", and the TTL is set to "Duration: Infinite" and "End Action: Terminate", and under "Advanced" I set the Maxcount to the amount of triggers that the Slide should be on screen. However, as soon as I press a button on the mouse, the slide does not go away. Apparently, it ignores the other port device (TTL) and keeps going for the set duration (infinite) of the device used. If I don't press any mouse button, the experiment runs through without problems. Can anyone tell me how to get the mouse responses without interfering with the Maxcount of the other TTL port device? Many thanks, Johannes -------------- next part -------------- An HTML attachment was scrubbed... URL: From pauls_postbus at hotmail.com Thu Jul 20 19:54:51 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Thu, 20 Jul 2006 21:54:51 +0200 Subject: Programming problem Iowa Gambling Task In-Reply-To: <7428F0B8646AF84891E2B755DA9C3579040CE63E@rea04.fmg.uva.nl> Message-ID: Dear Angélique, I think it should be possible to use a dedicated deck selection list containing 4 levels for the decks A to D. Each level could contain a nested list object as you allready constructed before. Then configure this list to use offset selection and use a single line of script to select the appropriate level. You can place the inline code and the list after the point where a deck selection is made. Assuming that you have a deck selection slide which accepts keystrokes A, B,C or D, the offset selection can be programmed as follows: Set DeckList.Order = OffsetOrder(Asc(UCase(DeckSelectionSlide.Resp)) - Asc("A") + 1) A minimal (but working) framework can be downloaded from: www.psy.vu.nl/download/paul/IowaBody.es best, Paul Groot Vrije Universiteit Amsterdam (klein wereldje toch ;) >From: "Angelique Cramer" >To: >Subject: Programming problem Iowa Gambling Task >Date: Tue, 18 Jul 2006 10:34:28 +0200 > >Dear sir/madam, > >Currently I'm programming a Duch version of the Iowa Gambling Task in >E-prime. The task does fine, but I have encountered a problem. I have made >a DesignList with 100 trials and each trial refers to four nested lists: >Deck A, Deck B, Deck C and Deck D. > >The problem is that I want the experiment to proceed as follows: for >example, a subject picks 3 cards from Deck D (so the first 3 ID's from the >Deck D list) and when he picks a card from Deck A for the fist time, I want >the list to go to the first ID/trial of the Deck A list. Instead, the >program goes to the fourth line of the Deck A list. > >How can I program it so that the experiment proceeds according to the >abovementioned? > >Note that the available Iowa Gambling Task made in e-prime suffers from the >same problem and if I understand the article about the original version >correctly (Bechara et al., 1994), then you have to program the experiment >so that you always begin with the first line/trial of the list and then >proceed sequentially. > >Thanks in advance for helping me out, > >Best regards, > >Angélique Cramer >>From Angélique Cramer on 7/17/2006 10:31:00 AM >Additional information: >- Designlist: 100 samples, 1 cycle, Nested: DeckA, DeckB, DeckC, DeckD >- DeckA/B/C/D: 40 samples per deck, attributes: win, loss >- TrialProc: game slide (four cards visble on the screen, request to pick a >card from any of the four decks), InLine script (if strHit "DeckA" then >Feedback.ActiveState = "FBA", same goes for the other four decks), Feedback >slide with 4 possible active states (for example, for Deck A this is FBA >with text: "You have won [WinA] and lost [LossA]) > >Thank you again for helping me, > >Best regards, > >Angélique Cramer > > > From wendy_davidson79 at hotmail.com Thu Jul 27 08:44:49 2006 From: wendy_davidson79 at hotmail.com (Wendy Davidson) Date: Thu, 27 Jul 2006 09:44:49 +0100 Subject: illegal attribute name Message-ID: Hi Can anyone help? I keep getting an error message - 'illegal attribute name' at runtime. My attributes are named "I" and a number. Ive never had this problem before and can't seem to find any reference to it. Any help would be gratefully appreciated. Wendy Davidson University of Aberdeen From beamgau at gmx.de Thu Jul 27 12:16:14 2006 From: beamgau at gmx.de (Felix Fischer) Date: Thu, 27 Jul 2006 14:16:14 +0200 Subject: write to specific filename Message-ID: hello, i use an inline-script to log the mousecursour-coordinates. i want to write this to a txt-file, and this works fine. but is it possible to put a string or something in the filename? i would like to use the subject-number, which is asked at startup. can anyone give me a hint? thank you f.fischer From pauls_postbus at hotmail.com Thu Jul 27 12:23:59 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Thu, 27 Jul 2006 14:23:59 +0200 Subject: write to specific filename In-Reply-To: <44C8AE8E.2040303@gmx.de> Message-ID: hello felix, The startup parameters are available as attributes of the current context. For example: c.GetAtrrib("Subject") You can use attribute values to assemble strings, such as filenames. Another example: Dim strFilename as String strFilename = "mouse-" & CStr(c.GetAttrib("Subject")) & "-" & CStr(c.GetAttrib("Session")) & ".txt" hope this helps. best, paul >From: Felix Fischer >To: EPRIME at MAIL.TALKBANK.ORG >Subject: write to specific filename >Date: Thu, 27 Jul 2006 14:16:14 +0200 > >hello, > >i use an inline-script to log the mousecursour-coordinates. i want to write >this to a txt-file, and this works fine. but is it possible to put a string >or something in the filename? i would like to use the subject-number, which >is asked at startup. can anyone give me a hint? > >thank you > >f.fischer > From boris.volfson at mail.mcgill.ca Thu Jul 27 15:24:03 2006 From: boris.volfson at mail.mcgill.ca (Boris Volfson) Date: Thu, 27 Jul 2006 11:24:03 -0400 Subject: Blank screen during presentation of E-Prime experiment on projector Message-ID: I was wondering if anyone has encountered the following problem. I am currently piloting a very simple E-Prime experiment with an fMRI. The experiment seems to work perfectly on the laptop, however when I connect it to the projector that is used to display the E-Prime experiment I noticed a problem. I am using a Pentium M, 1700 Mhz, with an ATI MOBILITY RADEON 9000. The problem is that I get an unexpected blank screen during the experiment. The blank screen happend four times (out of four pilot experiments) at what appeared to be random times. It was on both the projected image and on the laptop. They also lasted for different times (anywhere from a few seconds to over a minute). This happend with both an experiment that only had text display and an experiment that had display of text and bmp pictures. As far as I know the projector works fine for other people. Does anyone has any suggestions? From dhair at wfubmc.edu Thu Jul 27 15:46:44 2006 From: dhair at wfubmc.edu (David Hairston) Date: Thu, 27 Jul 2006 11:46:44 -0400 Subject: Blank screen during presentation of E-Prime experiment on projector Message-ID: So is it safe to assume that the only difference between when it "works" and when this occurs is the use of the 2nd video out on the laptop? AKA, it is the same laptop, same program in the same location, etc? Is there ANY other equipment plugged into the laptop when you are running the fMRI? If so, my first suspicion would be something between the drivers for the video card and the projector. Try and run it w/ some other random monitor, see if it continues to occur. That will isolate whether it is related to *that* projector (AKA some weird driver issue) or is more related to the dual-video functions of the ATI card. Q - is the output to the projector a "clone" of the laptop display, or an extension of it? -----Original Message----- From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of Boris Volfson Sent: Thursday, July 27, 2006 11:24 AM To: eprime at mail.talkbank.org Subject: Blank screen during presentation of E-Prime experiment on projector I was wondering if anyone has encountered the following problem. I am currently piloting a very simple E-Prime experiment with an fMRI. The experiment seems to work perfectly on the laptop, however when I connect it to the projector that is used to display the E-Prime experiment I noticed a problem. I am using a Pentium M, 1700 Mhz, with an ATI MOBILITY RADEON 9000. The problem is that I get an unexpected blank screen during the experiment. The blank screen happend four times (out of four pilot experiments) at what appeared to be random times. It was on both the projected image and on the laptop. They also lasted for different times (anywhere from a few seconds to over a minute). This happend with both an experiment that only had text display and an experiment that had display of text and bmp pictures. As far as I know the projector works fine for other people. Does anyone has any suggestions? From kebir_oussama at yahoo.fr Thu Jul 27 17:07:43 2006 From: kebir_oussama at yahoo.fr (kebir oussama) Date: Thu, 27 Jul 2006 19:07:43 +0200 Subject: about error message when install e prime "key too long for register" Message-ID: Hi, I encountered a problem when I tried to install e prime; an error message appears and contains information that can be understood like "key too long for register" is there a solution ? Oussama KEBIR Hopital Razi Tunisia --------------------------------- Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dap at wjh.harvard.edu Thu Jul 27 17:14:39 2006 From: dap at wjh.harvard.edu (Diego Pizzagalli) Date: Thu, 27 Jul 2006 13:14:39 -0400 Subject: Away from my mail Message-ID: Thank you for your message. Please note that I will be out of the office until August 7 and will not be checking email regularly. For urgent matters, please contact Elena Goetz (egoetz at wjh.harvard.edu) or Jeffrey Birk (birk at wjh.harvard.edu), (617) 384-9841. From kratner at wjh.harvard.edu Thu Jul 27 17:14:40 2006 From: kratner at wjh.harvard.edu (Kyle Ratner) Date: Thu, 27 Jul 2006 13:14:40 -0400 Subject: "" Message-ID: This e-mail account is no longer active. If your message concerns the Affective Neuroscience Lab in the Dept. of Psychology at Harvard, please contact Jeff Birk (birk at wjh.harvard.edu) or Elena Goetz (egoetz at wjh.harvard.edu). All other messages should be addressed to kyle.ratner at gmail.com or kgr228 at nyu.edu. Thanks, Kyle From leisha at decisionresearch.org Thu Jul 27 17:45:27 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Thu, 27 Jul 2006 10:45:27 -0700 Subject: illegal attribute name In-Reply-To: Message-ID: I had this problem before and it was because I was trying to use words as attributes that eprime uses, like "desktop" or "screen." I couldn't find a complete list of attribute names that are not allowed, so I just kept trying until I found a name that was legal. Instead of I, try IMyData or something. Leisha Wendy Davidson wrote: > Hi > Can anyone help? I keep getting an error message - 'illegal attribute > name' at runtime. My attributes are named "I" and a number. Ive never > had this problem before and can't seem to find any reference to it. > > Any help would be gratefully appreciated. > > Wendy Davidson > University of Aberdeen > > > > From pauls_postbus at hotmail.com Fri Jul 28 11:41:09 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Fri, 28 Jul 2006 13:41:09 +0200 Subject: about error message when install e prime "key too long for register" In-Reply-To: <20060727170743.3246.qmail@web26505.mail.ukl.yahoo.com> Message-ID: Just try to install the lates HASP drivers from aladdin before installing eprime: http://www.aladdin.com/support/hasp/hasp4/enduser.asp paul >From: kebir oussama >To: eprime at mail.talkbank.org >Subject: about error message when install e prime "key too long for >register" >Date: Thu, 27 Jul 2006 19:07:43 +0200 (CEST) > > > Hi, > > I encountered a problem when I tried to install e prime; an error >message appears and contains information that can be understood like "key >too long for register" > > > is there a solution ? > > Oussama KEBIR > Hopital Razi > Tunisia > > >--------------------------------- > Découvrez un nouveau moyen de poser toutes vos questions quelque soit le >sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos >opinions et vos expériences. Cliquez ici. From beamgau at gmx.de Sat Jul 29 12:55:17 2006 From: beamgau at gmx.de (Felix Fischer) Date: Sat, 29 Jul 2006 14:55:17 +0200 Subject: get a point out of circle.arc Message-ID: hi everybody, i want to have rectangles emerging on different positions on the screen. their positions should depend on distance from a specific point and angle to x-axis. i can easily reach the points by drawing an arc: cnvs.Arc XRes/2, YRes/2, c.getattrib("distance"), 0, c.getattrib("angle") is there a possibility to get the coordinates of the arc's last point? later, this should be the middle of the rectangle. or, do you suggest an easier way to draw those rectangles, using "distance" and "angle"? thank you for your help felix fischer From pauls_postbus at hotmail.com Sat Jul 29 15:43:24 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Sat, 29 Jul 2006 17:43:24 +0200 Subject: get a point out of circle.arc In-Reply-To: <44CB5AB5.5010708@gmx.de> Message-ID: hi Felix, You can use cosinus and sinus functions to compute x and y coordinates of any point of a circle. In the example below a rectangle with width=100 and height=50 is drawn at the specified center point (relative to center of screen). Dim distance as Double ' pixels Dim angle as Double ' radians Dim x as Integer ' center x point of rect Dim y as Integer ' center y point of rect Dim w as Integer ' width of rect Dim h as Integer ' height of rect dim i as integer w = 100 h = 50 distance = CDbl(c.getattrib("distance")) angle = CDbl(c.getattrib("angle")) * 3.14159 / 180 x = Display.XRes/2 + CInt(distance * Cos(angle)) y = Display.YRes/2 + CInt(distance * Sin(angle)) Display.Canvas.Rectangle x-w/2, y-h/2, w, h Best, Paul Groot >From: Felix Fischer >To: EPRIME at MAIL.TALKBANK.ORG >Subject: get a point out of circle.arc >Date: Sat, 29 Jul 2006 14:55:17 +0200 > >hi everybody, > >i want to have rectangles emerging on different positions on the screen. >their positions should depend on distance from a specific point and angle >to x-axis. > >i can easily reach the points by drawing an arc: > >cnvs.Arc XRes/2, YRes/2, c.getattrib("distance"), 0, c.getattrib("angle") > >is there a possibility to get the coordinates of the arc's last point? >later, this should be the middle of the rectangle. or, do you suggest an >easier way to draw those rectangles, using "distance" and "angle"? > >thank you for your help >felix fischer > > From uni at robertdoerr.de Mon Jul 31 20:46:34 2006 From: uni at robertdoerr.de (=?ISO-8859-1?Q?Robert_D=F6rr?=) Date: Mon, 31 Jul 2006 22:46:34 +0200 Subject: illegal attribute name In-Reply-To: <44C8FBB7.1060000@decisionresearch.org> Message-ID: > I couldn't find a complete list of attribute names that are not > allowed.... You can find such a list in the E-Basic Help, topic 'Keywords'. Robert From nikelski at bic.mni.mcgill.ca Mon Jul 31 21:20:48 2006 From: nikelski at bic.mni.mcgill.ca (EJ Nikelski) Date: Mon, 31 Jul 2006 17:20:48 -0400 Subject: Setting complex sound file name in SoundOut object Message-ID: Hello List, I'm a new user, and I've run into a problem that must have a simple solution ... although I haven't been able to find it. Specifically, I am using a SoundOut object to play a wav file for each trial; the wav file to be played is defined as a trial attribute in the trial list. If I set the SoundOut object Filename field to [prime], there is no problem. However, when I place my wav files in a separate directory, and I set the SoundOut Filename to something like "C:\stimuli\auditory\[prime]", I get a compile error at the following line: primeSoundBuffer.Filename = C:\\stimuli\\auditory\[prime") Note that the line of code has been corrupted (double backslash on the end missing, double quote inserted, square bracket changed to right parenthesis). I've tried a few variations on this, but the only thing that I have gotten working is (1) a completely fixed path wav filename, and (2) using only the attribute -- which forces all of the wav files to be located in my experimental directory. I've run out of ideas. Any help would be very appreciated. Thanks, -Jim -- Jim Nikelski, Ph.D. Postdoctoral Research Fellow Bloomfield Centre for Research in Aging Lady Davis Institute for Medical Research Sir Mortimer B. Davis - Jewish General Hospital McGill University Tel: (514) 340-8222 x 2298 Fax: (514) 340-8295 From scampbell at casl.umd.edu Mon Jul 31 21:38:55 2006 From: scampbell at casl.umd.edu (Susan G. Campbell) Date: Mon, 31 Jul 2006 17:38:55 -0400 Subject: Setting complex sound file name in SoundOut object In-Reply-To: <44CE7430.5040607@bic.mni.mcgill.ca> Message-ID: Have you considered setting the path as an attribute as well? That way you could set the path separately in the list or, say, in the Edit: Experiment: Startup Info screen. I tried setting the SoundOut Filename to [PathName][SoundFileName] and E-Prime interpreted it correctly, where PathName was the constant C:\\stimuli\whatever\ and SoundFileName was the name of the wav file. You could also just put the whole path in SoundFileName, but that could be problematic if you ever wanted to move the experiment to another directory. Hope this helps, Susan Campbell Graduate Research Assistant University of Maryland Center for Advanced Study of Language -----Original Message----- From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of EJ Nikelski Sent: Monday, July 31, 2006 5:21 PM To: Subject: Setting complex sound file name in SoundOut object Hello List, I'm a new user, and I've run into a problem that must have a simple solution ... although I haven't been able to find it. Specifically, I am using a SoundOut object to play a wav file for each trial; the wav file to be played is defined as a trial attribute in the trial list. If I set the SoundOut object Filename field to [prime], there is no problem. However, when I place my wav files in a separate directory, and I set the SoundOut Filename to something like "C:\stimuli\auditory\[prime]", I get a compile error at the following line: primeSoundBuffer.Filename = C:\\stimuli\\auditory\[prime") Note that the line of code has been corrupted (double backslash on the end missing, double quote inserted, square bracket changed to right parenthesis). I've tried a few variations on this, but the only thing that I have gotten working is (1) a completely fixed path wav filename, and (2) using only the attribute -- which forces all of the wav files to be located in my experimental directory. I've run out of ideas. Any help would be very appreciated. Thanks, -Jim -- Jim Nikelski, Ph.D. Postdoctoral Research Fellow Bloomfield Centre for Research in Aging Lady Davis Institute for Medical Research Sir Mortimer B. Davis - Jewish General Hospital McGill University Tel: (514) 340-8222 x 2298 Fax: (514) 340-8295 From m.lopez at ucl.ac.uk Mon Jul 3 11:15:30 2006 From: m.lopez at ucl.ac.uk (Belen Lopez) Date: Mon, 3 Jul 2006 12:15:30 +0100 Subject: reference a listobject Message-ID: Hi, ----Can anyone "help" me with my E-Prime program? I have written a code in which I need to use a label in a previous procedure, but I'm aware that you can not do this. So I was wondering if it's possible to reference a list object in code instead of a label object. The "goto" command in code seems to be followed by a label name. However, is there another command that is used to reference a list object? Any help will be appreciated. Maria ---------------------------------------------------------------------- Belen Lopez Cutrin, PhD student, Phone: 020 7679 5302 Department of Psychology Fax: 020 7436 4276 University College London 26 Bedford Way London WC1H 0AP United Kingdom ---------------------------------------------------------------------- From leisha at decisionresearch.org Mon Jul 3 16:03:23 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Mon, 3 Jul 2006 09:03:23 -0700 Subject: reference a listobject In-Reply-To: <3.0.6.32.20060703121530.00c9cde0@pop-server.ucl.ac.uk> Message-ID: Hi, Maria, I think you can just run your list via an Inline object with the command: Listname.Run c If Listname is in the Unreferenced E-Objects, I think you can run it from anywhere in your script. Leisha Wharfield Decision Research Eugene, Oregon, USA Belen Lopez wrote: >Hi, > >----Can anyone "help" me with my E-Prime program? I have written a code >in which I need to use a label in a previous procedure, but I'm aware that >you can not do this. So I was wondering if it's possible to reference a list >object in code instead of a label object. > >The "goto" command in code seems to be followed by a label name. However, >is there another command that is used to reference a list object? > >Any help will be appreciated. > >Maria > >---------------------------------------------------------------------- >Belen Lopez Cutrin, >PhD student, Phone: 020 7679 5302 >Department of Psychology Fax: 020 7436 4276 >University College London >26 Bedford Way >London WC1H 0AP >United Kingdom >---------------------------------------------------------------------- > > > > From wendy_davidson79 at hotmail.com Wed Jul 5 08:52:25 2006 From: wendy_davidson79 at hotmail.com (Wendy Davidson) Date: Wed, 5 Jul 2006 09:52:25 +0100 Subject: input to canvas Message-ID: Hi I was hoping someone could give me some advice about using the canvas object. I have designed an experiment in which a dot moves along the screen (using a copy from off-screen canvas at refresh) and I need to add input to it. Basically, the subject must press the keyboard to indicate if the dot is the same or different as before. Does anyone know if it is possible to add input to a canvas object? Any help on this would be great! Thanks Wendy Davidson University of Aberdeen From Anna_Abramson at brown.edu Thu Jul 6 18:26:59 2006 From: Anna_Abramson at brown.edu (Abramson, Anna) Date: Thu, 6 Jul 2006 14:26:59 -0400 Subject: quick eprime question Message-ID: Hello, Anyone know how to set a global boolean variable into the user script? I'm working off of a sample that designates rows in the user script but I can't figure out how to add a global variable like this. Thanks!! From info at pstnet.com Thu Jul 6 19:54:42 2006 From: info at pstnet.com (Psychology Software Tools (info)) Date: Thu, 6 Jul 2006 15:54:42 -0400 Subject: quick eprime question In-Reply-To: <471F15E271937A4DA89AC12211DDAD9804AFFFE4@MAIL2.AD.Brown.Edu> Message-ID: Anna, Global variables are declared in the User tab of the Script window. You can open the Script window either by selecting it from the View menu (at the top of the E-Studio GUI) or by pressing ALT+5. Once the Script window is open, click on the User tab and enter your script as normal. For example: Dim x As Boolean Please note that it is a good practice to initialize global variables as the first event in the Procedure in which they will be used. Initialization is done by simply assigning a value to the variable in an InLine object: x = FALSE Once a value has been assigned to the variable, it can be used as normal. I apologize for not making this clearer in the sample. Matt Lenhart Technical Consultant -----Original Message----- From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of Abramson, Anna Sent: Thursday, July 06, 2006 2:27 PM To: eprime at mail.talkbank.org Subject: quick eprime question Hello, Anyone know how to set a global boolean variable into the user script? I'm working off of a sample that designates rows in the user script but I can't figure out how to add a global variable like this. Thanks!! From gunes.yucel at ucdmc.ucdavis.edu Wed Jul 12 23:12:46 2006 From: gunes.yucel at ucdmc.ucdavis.edu (Gunes Yucel) Date: Wed, 12 Jul 2006 16:12:46 -0700 Subject: ITI and sound presentation Message-ID: Dear All, I am trying to jitter ITI. I found an e-mail to answer to ITI jittering (http://listserv.linguistlist.org/cgi-bin/wa?A2=ind0212A&L=EPRIME&P=R142&I=-3 ). It helped for ITI issue but , it does not help me what i would like to do with my design. I am wondering whether any of you have a solution for the following issue: Yes, i would like to use jittering for ITI (2-6sec), however, during this jittering for every 1sec a certain auditory stimulus has to be displayed. any suggestion? Thank you for your time and your interest. Gunes Yucel, Ph.D. UCDavis Imaging Center UC Davis Medical Center 4701 X st. Sacramento, CA 95817 phone: (916) 734-0508 From yhong5 at uwo.ca Thu Jul 13 02:19:56 2006 From: yhong5 at uwo.ca (Yee-Shiun Hong) Date: Thu, 13 Jul 2006 02:19:56 +0000 Subject: Max count for Port Device Message-ID: Dear all, Does anyone knows a way to allow the Maximum Count for a Port Device to have flexibility in values for a single trial? For example, to allow for a MaxCount of 1 or 2 within one trial? I figure that one may have to write up a script or inline code to handle this situation. Any suggestions to this problem is greatly appreciated. Thanks! Ryan Ryan Y. Hong Personality and Measurement Department of Psychology University of Western Ontario London, Ontario, Canada N6A 5C2 Email: yhong5 at uwo.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From r.l.c.mitchell at reading.ac.uk Fri Jul 14 15:30:59 2006 From: r.l.c.mitchell at reading.ac.uk (Rachel Mitchell) Date: Fri, 14 Jul 2006 16:30:59 +0100 Subject: A non-believer Message-ID: Hello all :-) I have received comments back on a manuscript I submitted for publication a while back. The study it described was an fMRI study, of block design, that used E-prime to present the auditory stimuli. One of the reviewers has expressed misgivings though about my use of E-prime and its validity in this context. To quote them.... "The experiment used Eprime. I am concerned about the temporal resolution of this program in combination with fMRI." Could the E-prime authors/technical staff comment on this statement? Has anyone else received comments like this previously? How did they respond? Or, if it did happen to you, what would you say to attenuate their concerns? ALL comments welcome. With very best wishes Rachel -------------------------------------------------------- Dr Rachel L. C. Mitchell. Lecturer in Cognitive Psychology, University of Reading. Honorary Research Fellow, Institute of Psychiatry. Research Psychologist, Berkshire Healthcare NHS Trust. Correspondence Address: School of Psychology and Clinical Language Sciences, Whiteknights Road University of Reading Reading Berkshire RG6 6AL Tel: +44 (0)118 378 8523 Direct Dial: +44 (0)118 378 7530 Fax: +44 (0)118 378 6715 ----------------------------------------------------------------------- From leisha at decisionresearch.org Fri Jul 14 17:02:55 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Fri, 14 Jul 2006 10:02:55 -0700 Subject: A non-believer In-Reply-To: Message-ID: I'm sure that I would be initially offended by this reviewer questioning my choice of software, especially in such a vague way. People defend or oppose software rabidly based on some preference, don't they? I would wonder about the reviewer's affiliation. But then I'd do what one must do to appease the reviewer: Add a footnote to your manuscript describing what testing you did with eprime based upon your own concerns about its capabilities for your specific project or explain clearly & thoughtfully why you thought they were unnecessary. Leisha Wharfield Decision Research Eugene, Oregon, USA leisha at decisionresearch.org Rachel Mitchell wrote: >Hello all :-) > >I have received comments back on a manuscript I submitted for publication a >while back. >The study it described was an fMRI study, of block design, that used E-prime >to present the auditory stimuli. > >One of the reviewers has expressed misgivings though about my use of E-prime >and its validity in this context. >To quote them.... >"The experiment used Eprime. I am concerned about the temporal resolution of >this program in combination with fMRI." > >Could the E-prime authors/technical staff comment on this statement? > >Has anyone else received comments like this previously? >How did they respond? > >Or, if it did happen to you, what would you say to attenuate their concerns? > >ALL comments welcome. > >With very best wishes >Rachel > >-------------------------------------------------------- >Dr Rachel L. C. Mitchell. >Lecturer in Cognitive Psychology, University of Reading. >Honorary Research Fellow, Institute of Psychiatry. >Research Psychologist, Berkshire Healthcare NHS Trust. > >Correspondence Address: >School of Psychology and Clinical Language Sciences, >Whiteknights Road >University of Reading >Reading >Berkshire >RG6 6AL > >Tel: +44 (0)118 378 8523 >Direct Dial: +44 (0)118 378 7530 >Fax: +44 (0)118 378 6715 >----------------------------------------------------------------------- > > > > > From Anna_Abramson at brown.edu Fri Jul 14 18:06:39 2006 From: Anna_Abramson at brown.edu (Abramson, Anna) Date: Fri, 14 Jul 2006 14:06:39 -0400 Subject: Programming click specifications Message-ID: Hello, Does anyone know how to 1. Program a visual analog slide so the subject can click once, change his or her mind, and click a new one---but with only ONE click, the final one, ultimately registering? From lak286 at psu.edu Fri Jul 14 20:02:41 2006 From: lak286 at psu.edu (Lauren Killeen) Date: Fri, 14 Jul 2006 16:02:41 -0400 Subject: Continuous sound during Go/No-Go task Message-ID: Hello, I am trying to figure out how to add a continuous sound file to a Go/No-Go E-Prime task in which participants are instructed to hit a button each time they see a letter, but not if the same letter was presented immediately before. There are 120 trials/block, and I would like participants to either hear the sound of an infant crying starting at the 60th trial (so half-way through the task) and ending with the final trial, or starting at the beginning of a block but ending at the 60th trial. How can I integrate this 1.5-2 minute sound file into the E-Prime task so that it turns on and off at the correct time? Any advice would be greatly appreciated as we?ve really struggled with this! Thanks, Lauren Killeen -------------- next part -------------- An HTML attachment was scrubbed... URL: From leisha at decisionresearch.org Fri Jul 14 22:10:46 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Fri, 14 Jul 2006 15:10:46 -0700 Subject: Programming click specifications In-Reply-To: <471F15E271937A4DA89AC12211DDAD9804B00026@MAIL2.AD.Brown.Edu> Message-ID: Hi, Anna, I think I used an Inline Object that assigned the initial and each response value to an attribute named something like FinalResponse, overwriting whatever value had been there before, if there was one, and wrote it to the data file, again replacing any pre-existing value. If the FinalResponse was a space bar, which ended the slide object, it wasn't recorded. Leisha Wharfield Decision Research Eugene, Oregon, USA leisha at decisionresearch.org Abramson, Anna wrote: >Hello, >Does anyone know how to >1. Program a visual analog slide so the subject can click once, change his or her mind, and click a new one---but with only ONE click, the final one, ultimately registering? > > > > From pauls_postbus at hotmail.com Mon Jul 17 08:19:37 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Mon, 17 Jul 2006 10:19:37 +0200 Subject: Continuous sound during Go/No-Go task In-Reply-To: Message-ID: Hello Lauren, By using some inline scripting it should be possible to configure the EPrime Sound object to play in the background. I posted a piece of example script about a year ago: http://listserv.linguistlist.org/cgi-bin/wa?A2=ind0504c&L=eprime&P=85 I'm not sure about the maximum allowed length of the sound file though! The previous post also contains an example of playing an audio file by using the Windows multimedia libraries directly. For background sounds this is probably the prefered method. best, Paul Groot Vrije Universiteit >From: Lauren Killeen >To: >Subject: Continuous sound during Go/No-Go task >Date: Fri, 14 Jul 2006 16:02:41 -0400 > >Hello, > >I am trying to figure out how to add a continuous sound file to a Go/No-Go >E-Prime task in which participants are instructed to hit a button each time >they see a letter, but not if the same letter was presented immediately >before. There are 120 trials/block, and I would like participants to >either >hear the sound of an infant crying starting at the 60th trial (so half-way >through the task) and ending with the final trial, or starting at the >beginning of a block but ending at the 60th trial. > >How can I integrate this 1.5-2 minute sound file into the E-Prime task so >that it turns on and off at the correct time? > >Any advice would be greatly appreciated as we?ve really struggled with >this! > >Thanks, >Lauren Killeen From A.O.J.Cramer at uva.nl Tue Jul 18 08:34:28 2006 From: A.O.J.Cramer at uva.nl (Angelique Cramer) Date: Tue, 18 Jul 2006 10:34:28 +0200 Subject: Programming problem Iowa Gambling Task Message-ID: Dear sir/madam, Currently I'm programming a Duch version of the Iowa Gambling Task in E-prime. The task does fine, but I have encountered a problem. I have made a DesignList with 100 trials and each trial refers to four nested lists: Deck A, Deck B, Deck C and Deck D. The problem is that I want the experiment to proceed as follows: for example, a subject picks 3 cards from Deck D (so the first 3 ID's from the Deck D list) and when he picks a card from Deck A for the fist time, I want the list to go to the first ID/trial of the Deck A list. Instead, the program goes to the fourth line of the Deck A list. How can I program it so that the experiment proceeds according to the abovementioned? Note that the available Iowa Gambling Task made in e-prime suffers from the same problem and if I understand the article about the original version correctly (Bechara et al., 1994), then you have to program the experiment so that you always begin with the first line/trial of the list and then proceed sequentially. Thanks in advance for helping me out, Best regards, Ang?lique Cramer >From Ang?lique Cramer on 7/17/2006 10:31:00 AM Additional information: - Designlist: 100 samples, 1 cycle, Nested: DeckA, DeckB, DeckC, DeckD - DeckA/B/C/D: 40 samples per deck, attributes: win, loss - TrialProc: game slide (four cards visble on the screen, request to pick a card from any of the four decks), InLine script (if strHit "DeckA" then Feedback.ActiveState = "FBA", same goes for the other four decks), Feedback slide with 4 possible active states (for example, for Deck A this is FBA with text: "You have won [WinA] and lost [LossA]) Thank you again for helping me, Best regards, Ang?lique Cramer From jankowsk at aecom.yu.edu Tue Jul 18 13:31:04 2006 From: jankowsk at aecom.yu.edu (Jeffery Jankowski) Date: Tue, 18 Jul 2006 09:31:04 -0400 Subject: Shortcut Message-ID: Hello to all, I would like to create a shortcut to a program. I've followed the manual but when I click on the shortcut, the hourglass appears momentarily, ceases, and nothing happens. Initially, an error message appeared saying in effect that the 'source' path was wrong but this no longer occurs. Any thoughts/suggestions are appreciated. Thanks, Jeff Jankowski From pseudoverlighter at zonnet.nl Wed Jul 19 00:01:56 2006 From: pseudoverlighter at zonnet.nl (Mich) Date: Wed, 19 Jul 2006 02:01:56 +0200 Subject: input to canvas In-Reply-To: Message-ID: Hello Wendy, Wednesday, July 5, 2006, 10:52:25 AM, you wrote: WD> Hi WD> I was hoping someone could give me some advice about using the canvas WD> object. WD> I have designed an experiment in which a dot moves along the screen (using a WD> copy from off-screen canvas at refresh) and I need to add input to it. WD> Basically, the subject must press the keyboard to indicate if the dot is the WD> same or different as before. WD> Does anyone know if it is possible to add input to a canvas object? It is, but it's difficult to implement, so should you still wish to use Eprime instead of going for visual basic, I'd suggest trying the following trick: add a textdisplay of 0 ms just prior to the canvas and set the time limit to something like 2000 ms. That way, you can use all the logging of the textdisplay instead of adding all that using inline (and with the maximum inline being what it is...). I've also done this and it works well enough, but you might consider logging your own reaction time instead of using the text display's response. Just set a clock.read at the first inline and subtract this from the RTTime. Let me know if you need any further help! Cheers, Michiel Spap? Leiden University From ecker at mpib-berlin.mpg.de Wed Jul 19 14:08:32 2006 From: ecker at mpib-berlin.mpg.de (Ecker, Johannes) Date: Wed, 19 Jul 2006 16:08:32 +0200 Subject: responses and fmri triggers simultaneously through parallel port Message-ID: Hi, I have a question concerning the parallel port use in e-prime and how to use multiple devices through it. We have a response mouse and the scanner triggers both connected to the parallel port, the mouse uses the data pins 2-9 and the fmri trigger pulses (TTL) are read in through pin 10. For instance I have a slide to which the participant has to give an answer through the response mouse, but this response should not terminate the slide. This should be timed by the fmri-triggers. The scanner sends 26 pulses in one TR (2.5 sec). So I added 2 port devices in the Input/Duration Tag of the slide, one for the mouse and one for the TTL Signals. The mouse is on address 378 and the TTL on 379. The Mouse device has 2 allowable values, and the Correct Response is coded in a previous list. I set the mouse on "Duration: Infinite" and "End Action: none", and the TTL is set to "Duration: Infinite" and "End Action: Terminate", and under "Advanced" I set the Maxcount to the amount of triggers that the Slide should be on screen. However, as soon as I press a button on the mouse, the slide does not go away. Apparently, it ignores the other port device (TTL) and keeps going for the set duration (infinite) of the device used. If I don't press any mouse button, the experiment runs through without problems. Can anyone tell me how to get the mouse responses without interfering with the Maxcount of the other TTL port device? Many thanks, Johannes -------------- next part -------------- An HTML attachment was scrubbed... URL: From pauls_postbus at hotmail.com Thu Jul 20 19:54:51 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Thu, 20 Jul 2006 21:54:51 +0200 Subject: Programming problem Iowa Gambling Task In-Reply-To: <7428F0B8646AF84891E2B755DA9C3579040CE63E@rea04.fmg.uva.nl> Message-ID: Dear Ang?lique, I think it should be possible to use a dedicated deck selection list containing 4 levels for the decks A to D. Each level could contain a nested list object as you allready constructed before. Then configure this list to use offset selection and use a single line of script to select the appropriate level. You can place the inline code and the list after the point where a deck selection is made. Assuming that you have a deck selection slide which accepts keystrokes A, B,C or D, the offset selection can be programmed as follows: Set DeckList.Order = OffsetOrder(Asc(UCase(DeckSelectionSlide.Resp)) - Asc("A") + 1) A minimal (but working) framework can be downloaded from: www.psy.vu.nl/download/paul/IowaBody.es best, Paul Groot Vrije Universiteit Amsterdam (klein wereldje toch ;) >From: "Angelique Cramer" >To: >Subject: Programming problem Iowa Gambling Task >Date: Tue, 18 Jul 2006 10:34:28 +0200 > >Dear sir/madam, > >Currently I'm programming a Duch version of the Iowa Gambling Task in >E-prime. The task does fine, but I have encountered a problem. I have made >a DesignList with 100 trials and each trial refers to four nested lists: >Deck A, Deck B, Deck C and Deck D. > >The problem is that I want the experiment to proceed as follows: for >example, a subject picks 3 cards from Deck D (so the first 3 ID's from the >Deck D list) and when he picks a card from Deck A for the fist time, I want >the list to go to the first ID/trial of the Deck A list. Instead, the >program goes to the fourth line of the Deck A list. > >How can I program it so that the experiment proceeds according to the >abovementioned? > >Note that the available Iowa Gambling Task made in e-prime suffers from the >same problem and if I understand the article about the original version >correctly (Bechara et al., 1994), then you have to program the experiment >so that you always begin with the first line/trial of the list and then >proceed sequentially. > >Thanks in advance for helping me out, > >Best regards, > >Ang?lique Cramer >>From Ang?lique Cramer on 7/17/2006 10:31:00 AM >Additional information: >- Designlist: 100 samples, 1 cycle, Nested: DeckA, DeckB, DeckC, DeckD >- DeckA/B/C/D: 40 samples per deck, attributes: win, loss >- TrialProc: game slide (four cards visble on the screen, request to pick a >card from any of the four decks), InLine script (if strHit "DeckA" then >Feedback.ActiveState = "FBA", same goes for the other four decks), Feedback >slide with 4 possible active states (for example, for Deck A this is FBA >with text: "You have won [WinA] and lost [LossA]) > >Thank you again for helping me, > >Best regards, > >Ang?lique Cramer > > > From wendy_davidson79 at hotmail.com Thu Jul 27 08:44:49 2006 From: wendy_davidson79 at hotmail.com (Wendy Davidson) Date: Thu, 27 Jul 2006 09:44:49 +0100 Subject: illegal attribute name Message-ID: Hi Can anyone help? I keep getting an error message - 'illegal attribute name' at runtime. My attributes are named "I" and a number. Ive never had this problem before and can't seem to find any reference to it. Any help would be gratefully appreciated. Wendy Davidson University of Aberdeen From beamgau at gmx.de Thu Jul 27 12:16:14 2006 From: beamgau at gmx.de (Felix Fischer) Date: Thu, 27 Jul 2006 14:16:14 +0200 Subject: write to specific filename Message-ID: hello, i use an inline-script to log the mousecursour-coordinates. i want to write this to a txt-file, and this works fine. but is it possible to put a string or something in the filename? i would like to use the subject-number, which is asked at startup. can anyone give me a hint? thank you f.fischer From pauls_postbus at hotmail.com Thu Jul 27 12:23:59 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Thu, 27 Jul 2006 14:23:59 +0200 Subject: write to specific filename In-Reply-To: <44C8AE8E.2040303@gmx.de> Message-ID: hello felix, The startup parameters are available as attributes of the current context. For example: c.GetAtrrib("Subject") You can use attribute values to assemble strings, such as filenames. Another example: Dim strFilename as String strFilename = "mouse-" & CStr(c.GetAttrib("Subject")) & "-" & CStr(c.GetAttrib("Session")) & ".txt" hope this helps. best, paul >From: Felix Fischer >To: EPRIME at MAIL.TALKBANK.ORG >Subject: write to specific filename >Date: Thu, 27 Jul 2006 14:16:14 +0200 > >hello, > >i use an inline-script to log the mousecursour-coordinates. i want to write >this to a txt-file, and this works fine. but is it possible to put a string >or something in the filename? i would like to use the subject-number, which >is asked at startup. can anyone give me a hint? > >thank you > >f.fischer > From boris.volfson at mail.mcgill.ca Thu Jul 27 15:24:03 2006 From: boris.volfson at mail.mcgill.ca (Boris Volfson) Date: Thu, 27 Jul 2006 11:24:03 -0400 Subject: Blank screen during presentation of E-Prime experiment on projector Message-ID: I was wondering if anyone has encountered the following problem. I am currently piloting a very simple E-Prime experiment with an fMRI. The experiment seems to work perfectly on the laptop, however when I connect it to the projector that is used to display the E-Prime experiment I noticed a problem. I am using a Pentium M, 1700 Mhz, with an ATI MOBILITY RADEON 9000. The problem is that I get an unexpected blank screen during the experiment. The blank screen happend four times (out of four pilot experiments) at what appeared to be random times. It was on both the projected image and on the laptop. They also lasted for different times (anywhere from a few seconds to over a minute). This happend with both an experiment that only had text display and an experiment that had display of text and bmp pictures. As far as I know the projector works fine for other people. Does anyone has any suggestions? From dhair at wfubmc.edu Thu Jul 27 15:46:44 2006 From: dhair at wfubmc.edu (David Hairston) Date: Thu, 27 Jul 2006 11:46:44 -0400 Subject: Blank screen during presentation of E-Prime experiment on projector Message-ID: So is it safe to assume that the only difference between when it "works" and when this occurs is the use of the 2nd video out on the laptop? AKA, it is the same laptop, same program in the same location, etc? Is there ANY other equipment plugged into the laptop when you are running the fMRI? If so, my first suspicion would be something between the drivers for the video card and the projector. Try and run it w/ some other random monitor, see if it continues to occur. That will isolate whether it is related to *that* projector (AKA some weird driver issue) or is more related to the dual-video functions of the ATI card. Q - is the output to the projector a "clone" of the laptop display, or an extension of it? -----Original Message----- From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of Boris Volfson Sent: Thursday, July 27, 2006 11:24 AM To: eprime at mail.talkbank.org Subject: Blank screen during presentation of E-Prime experiment on projector I was wondering if anyone has encountered the following problem. I am currently piloting a very simple E-Prime experiment with an fMRI. The experiment seems to work perfectly on the laptop, however when I connect it to the projector that is used to display the E-Prime experiment I noticed a problem. I am using a Pentium M, 1700 Mhz, with an ATI MOBILITY RADEON 9000. The problem is that I get an unexpected blank screen during the experiment. The blank screen happend four times (out of four pilot experiments) at what appeared to be random times. It was on both the projected image and on the laptop. They also lasted for different times (anywhere from a few seconds to over a minute). This happend with both an experiment that only had text display and an experiment that had display of text and bmp pictures. As far as I know the projector works fine for other people. Does anyone has any suggestions? From kebir_oussama at yahoo.fr Thu Jul 27 17:07:43 2006 From: kebir_oussama at yahoo.fr (kebir oussama) Date: Thu, 27 Jul 2006 19:07:43 +0200 Subject: about error message when install e prime "key too long for register" Message-ID: Hi, I encountered a problem when I tried to install e prime; an error message appears and contains information that can be understood like "key too long for register" is there a solution ? Oussama KEBIR Hopital Razi Tunisia --------------------------------- D?couvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/R?ponses pour partager vos connaissances, vos opinions et vos exp?riences. Cliquez ici. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dap at wjh.harvard.edu Thu Jul 27 17:14:39 2006 From: dap at wjh.harvard.edu (Diego Pizzagalli) Date: Thu, 27 Jul 2006 13:14:39 -0400 Subject: Away from my mail Message-ID: Thank you for your message. Please note that I will be out of the office until August 7 and will not be checking email regularly. For urgent matters, please contact Elena Goetz (egoetz at wjh.harvard.edu) or Jeffrey Birk (birk at wjh.harvard.edu), (617) 384-9841. From kratner at wjh.harvard.edu Thu Jul 27 17:14:40 2006 From: kratner at wjh.harvard.edu (Kyle Ratner) Date: Thu, 27 Jul 2006 13:14:40 -0400 Subject: "" Message-ID: This e-mail account is no longer active. If your message concerns the Affective Neuroscience Lab in the Dept. of Psychology at Harvard, please contact Jeff Birk (birk at wjh.harvard.edu) or Elena Goetz (egoetz at wjh.harvard.edu). All other messages should be addressed to kyle.ratner at gmail.com or kgr228 at nyu.edu. Thanks, Kyle From leisha at decisionresearch.org Thu Jul 27 17:45:27 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Thu, 27 Jul 2006 10:45:27 -0700 Subject: illegal attribute name In-Reply-To: Message-ID: I had this problem before and it was because I was trying to use words as attributes that eprime uses, like "desktop" or "screen." I couldn't find a complete list of attribute names that are not allowed, so I just kept trying until I found a name that was legal. Instead of I, try IMyData or something. Leisha Wendy Davidson wrote: > Hi > Can anyone help? I keep getting an error message - 'illegal attribute > name' at runtime. My attributes are named "I" and a number. Ive never > had this problem before and can't seem to find any reference to it. > > Any help would be gratefully appreciated. > > Wendy Davidson > University of Aberdeen > > > > From pauls_postbus at hotmail.com Fri Jul 28 11:41:09 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Fri, 28 Jul 2006 13:41:09 +0200 Subject: about error message when install e prime "key too long for register" In-Reply-To: <20060727170743.3246.qmail@web26505.mail.ukl.yahoo.com> Message-ID: Just try to install the lates HASP drivers from aladdin before installing eprime: http://www.aladdin.com/support/hasp/hasp4/enduser.asp paul >From: kebir oussama >To: eprime at mail.talkbank.org >Subject: about error message when install e prime "key too long for >register" >Date: Thu, 27 Jul 2006 19:07:43 +0200 (CEST) > > > Hi, > > I encountered a problem when I tried to install e prime; an error >message appears and contains information that can be understood like "key >too long for register" > > > is there a solution ? > > Oussama KEBIR > Hopital Razi > Tunisia > > >--------------------------------- > D?couvrez un nouveau moyen de poser toutes vos questions quelque soit le >sujet ! Yahoo! Questions/R?ponses pour partager vos connaissances, vos >opinions et vos exp?riences. Cliquez ici. From beamgau at gmx.de Sat Jul 29 12:55:17 2006 From: beamgau at gmx.de (Felix Fischer) Date: Sat, 29 Jul 2006 14:55:17 +0200 Subject: get a point out of circle.arc Message-ID: hi everybody, i want to have rectangles emerging on different positions on the screen. their positions should depend on distance from a specific point and angle to x-axis. i can easily reach the points by drawing an arc: cnvs.Arc XRes/2, YRes/2, c.getattrib("distance"), 0, c.getattrib("angle") is there a possibility to get the coordinates of the arc's last point? later, this should be the middle of the rectangle. or, do you suggest an easier way to draw those rectangles, using "distance" and "angle"? thank you for your help felix fischer From pauls_postbus at hotmail.com Sat Jul 29 15:43:24 2006 From: pauls_postbus at hotmail.com (Paul Gr) Date: Sat, 29 Jul 2006 17:43:24 +0200 Subject: get a point out of circle.arc In-Reply-To: <44CB5AB5.5010708@gmx.de> Message-ID: hi Felix, You can use cosinus and sinus functions to compute x and y coordinates of any point of a circle. In the example below a rectangle with width=100 and height=50 is drawn at the specified center point (relative to center of screen). Dim distance as Double ' pixels Dim angle as Double ' radians Dim x as Integer ' center x point of rect Dim y as Integer ' center y point of rect Dim w as Integer ' width of rect Dim h as Integer ' height of rect dim i as integer w = 100 h = 50 distance = CDbl(c.getattrib("distance")) angle = CDbl(c.getattrib("angle")) * 3.14159 / 180 x = Display.XRes/2 + CInt(distance * Cos(angle)) y = Display.YRes/2 + CInt(distance * Sin(angle)) Display.Canvas.Rectangle x-w/2, y-h/2, w, h Best, Paul Groot >From: Felix Fischer >To: EPRIME at MAIL.TALKBANK.ORG >Subject: get a point out of circle.arc >Date: Sat, 29 Jul 2006 14:55:17 +0200 > >hi everybody, > >i want to have rectangles emerging on different positions on the screen. >their positions should depend on distance from a specific point and angle >to x-axis. > >i can easily reach the points by drawing an arc: > >cnvs.Arc XRes/2, YRes/2, c.getattrib("distance"), 0, c.getattrib("angle") > >is there a possibility to get the coordinates of the arc's last point? >later, this should be the middle of the rectangle. or, do you suggest an >easier way to draw those rectangles, using "distance" and "angle"? > >thank you for your help >felix fischer > > From uni at robertdoerr.de Mon Jul 31 20:46:34 2006 From: uni at robertdoerr.de (=?ISO-8859-1?Q?Robert_D=F6rr?=) Date: Mon, 31 Jul 2006 22:46:34 +0200 Subject: illegal attribute name In-Reply-To: <44C8FBB7.1060000@decisionresearch.org> Message-ID: > I couldn't find a complete list of attribute names that are not > allowed.... You can find such a list in the E-Basic Help, topic 'Keywords'. Robert From nikelski at bic.mni.mcgill.ca Mon Jul 31 21:20:48 2006 From: nikelski at bic.mni.mcgill.ca (EJ Nikelski) Date: Mon, 31 Jul 2006 17:20:48 -0400 Subject: Setting complex sound file name in SoundOut object Message-ID: Hello List, I'm a new user, and I've run into a problem that must have a simple solution ... although I haven't been able to find it. Specifically, I am using a SoundOut object to play a wav file for each trial; the wav file to be played is defined as a trial attribute in the trial list. If I set the SoundOut object Filename field to [prime], there is no problem. However, when I place my wav files in a separate directory, and I set the SoundOut Filename to something like "C:\stimuli\auditory\[prime]", I get a compile error at the following line: primeSoundBuffer.Filename = C:\\stimuli\\auditory\[prime") Note that the line of code has been corrupted (double backslash on the end missing, double quote inserted, square bracket changed to right parenthesis). I've tried a few variations on this, but the only thing that I have gotten working is (1) a completely fixed path wav filename, and (2) using only the attribute -- which forces all of the wav files to be located in my experimental directory. I've run out of ideas. Any help would be very appreciated. Thanks, -Jim -- Jim Nikelski, Ph.D. Postdoctoral Research Fellow Bloomfield Centre for Research in Aging Lady Davis Institute for Medical Research Sir Mortimer B. Davis - Jewish General Hospital McGill University Tel: (514) 340-8222 x 2298 Fax: (514) 340-8295 From scampbell at casl.umd.edu Mon Jul 31 21:38:55 2006 From: scampbell at casl.umd.edu (Susan G. Campbell) Date: Mon, 31 Jul 2006 17:38:55 -0400 Subject: Setting complex sound file name in SoundOut object In-Reply-To: <44CE7430.5040607@bic.mni.mcgill.ca> Message-ID: Have you considered setting the path as an attribute as well? That way you could set the path separately in the list or, say, in the Edit: Experiment: Startup Info screen. I tried setting the SoundOut Filename to [PathName][SoundFileName] and E-Prime interpreted it correctly, where PathName was the constant C:\\stimuli\whatever\ and SoundFileName was the name of the wav file. You could also just put the whole path in SoundFileName, but that could be problematic if you ever wanted to move the experiment to another directory. Hope this helps, Susan Campbell Graduate Research Assistant University of Maryland Center for Advanced Study of Language -----Original Message----- From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On Behalf Of EJ Nikelski Sent: Monday, July 31, 2006 5:21 PM To: Subject: Setting complex sound file name in SoundOut object Hello List, I'm a new user, and I've run into a problem that must have a simple solution ... although I haven't been able to find it. Specifically, I am using a SoundOut object to play a wav file for each trial; the wav file to be played is defined as a trial attribute in the trial list. If I set the SoundOut object Filename field to [prime], there is no problem. However, when I place my wav files in a separate directory, and I set the SoundOut Filename to something like "C:\stimuli\auditory\[prime]", I get a compile error at the following line: primeSoundBuffer.Filename = C:\\stimuli\\auditory\[prime") Note that the line of code has been corrupted (double backslash on the end missing, double quote inserted, square bracket changed to right parenthesis). I've tried a few variations on this, but the only thing that I have gotten working is (1) a completely fixed path wav filename, and (2) using only the attribute -- which forces all of the wav files to be located in my experimental directory. I've run out of ideas. Any help would be very appreciated. Thanks, -Jim -- Jim Nikelski, Ph.D. Postdoctoral Research Fellow Bloomfield Centre for Research in Aging Lady Davis Institute for Medical Research Sir Mortimer B. Davis - Jewish General Hospital McGill University Tel: (514) 340-8222 x 2298 Fax: (514) 340-8295