From Thomas.Shaffer at SDSTATE.EDU Fri Dec 1 20:38:54 2006 From: Thomas.Shaffer at SDSTATE.EDU (Shaffer, Thomas) Date: Fri, 1 Dec 2006 14:38:54 -0600 Subject: Neuroscan & E-Prime Message-ID: Hello all, This question concerns the use of E-Prime in conjunction with Neuroscan Eeg system. Our system (Neuroscan Synamps 2) uses a Stim Audio System 1105 between the amplifer and the response pad. Our neuroscan response pad plugs into the audio system. We would like to use the Neuroscan STIM audio system response pad in combination with our e-prime software. The eprime code we have now uses a serial input device (SRbox). Due to laboratory constraints we need to use the STIM response pad and the response pad must remain in the phone jack port in the STIM audio system box. Does anyone know how to route input through the response pad jack into the eprime software. Thank you very much. Thomas R. Shaffer, Ph.D. Associate Professor Department of Psychology South Dakota State University Box 504, Brookings SD 57007 Phone: (605) 688-6689 Fax: (605) 688-6754 http://maverick.sdstate.edu/users/shaffert/Homepage.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: From brobinso at mprc.umaryland.edu Fri Dec 1 20:41:38 2006 From: brobinso at mprc.umaryland.edu (Ben Robinson) Date: Fri, 1 Dec 2006 15:41:38 -0500 Subject: aligning text using a Tab Message-ID: i'm trying to format a TextDisplay object to show summary statistics at the end of a block of trials, and try as i might, i can't get the darned thing to line up using tabs. i've tried: Results.Text = \t Results.Text = "\t" Results.Text = Chr$(9) Results.Text = ebTab all i'm getting are little squares wherever there should be a tab. suggestions? what am i doing wrong? ben robinson From borodkk at mail.biu.ac.il Sun Dec 3 10:53:53 2006 From: borodkk at mail.biu.ac.il (BORODKIN KATY) Date: Sun, 3 Dec 2006 12:53:53 +0200 Subject: incorrect response logging? Message-ID: Hi all, I built an experiment in which the participant responds to a picture. Depending on his/hers response, the trial continues further (to different paths). For example, if the response is correct, then the next picture is presented. If the response is incorrect, the participant is presented with cues. If the participant doesn't know how to respond, he is presented with a few questions. After each question, the trial continues to different paths, again, depending on response. All these response-dependent "jumps" within a trial are performed using InLine and Label icons. All works well. But the output is certainly unsatisfactory- responses (RESP) are somehow recorded even when a specific icon was skipped. For example, if the participant answers correctly to the first question following a "don't know" response, the trial stops and the next picture is presented. I would expect that no responses are logged for all the following steps of this trial. Instead, the program presents responses for all these skipped steps. The response recorded is the response that actually occurred on the last trial when the particular step wasn't missed. I have no idea how to deal with it. Be happy to hear any suggestions. Thanks a lot, Katy Borodkin Psychology Department Bar Ilan University Israel -------------- next part -------------- An HTML attachment was scrubbed... URL: From leisha at decisionresearch.org Sun Dec 3 23:14:24 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Sun, 3 Dec 2006 15:14:24 -0800 Subject: incorrect response logging? In-Reply-To: <003e01c716c9$52f27f10$ba3b4684@psb503> Message-ID: Are you using a single object to record responses to different icons, where the response always has the same name--Slide1.RESP, for example? So that response exists and is carried over & recorded even for icons that are not shown? If there's an inline object handling your response-dependent jumps anyway, why not clear Slide1.RESP after the value is recorded in the appropriate trial and before you jump to the next trial? Leisha Wharfield Decision Research Eugene, Oregon, USA BORODKIN KATY wrote: > Hi all, > > I built an experiment in which the participant responds to a picture. > Depending on his/hers response, the trial continues further (to > different paths). For example, if the response is correct, then the > next picture is presented. If the response is incorrect, the > participant is presented with cues. If the participant doesn't know > how to respond, he is presented with a few questions. After each > question, the trial continues to different paths, again, depending on > response. All these response-dependent "jumps" within a trial are > performed using InLine and Label icons. All works well. > > But the output is certainly unsatisfactory- responses (RESP) are > somehow recorded even when a specific icon was skipped. For example, > if the participant answers correctly to the first question following a > "don't know" response, the trial stops and the next picture is > presented. I would expect that no responses are logged for all the > following steps of this trial. Instead, the program presents responses > for all these skipped steps. The response recorded is the response > that actually occurred on the last trial when the particular step > wasn't missed. I have no idea how to deal with it. Be happy to hear > any suggestions. > > Thanks a lot, > Katy Borodkin > Psychology Department > Bar Ilan University > Israel -------------- next part -------------- An HTML attachment was scrubbed... URL: From brandon_cernicky at yahoo.com Mon Dec 4 10:22:15 2006 From: brandon_cernicky at yahoo.com (Brandon Cernicky) Date: Mon, 4 Dec 2006 02:22:15 -0800 Subject: aligning text using a Tab In-Reply-To: <17201.45545@mail.talkbank.org> Message-ID: Hi Ben, The tab character is not supported in E-Prime for space adjustments like you are attempting to perform. You can accomplish what you are trying to do in a number of ways and some of the possible ideas are: 1) Create a Slide and place a SlideText down in the areas that have the summary text and align them the way you wish. This becomes tedious with larger number of entries. 2) Use the format command with the @ character to pad for each possible character. For example Format("ABC", "@@@@@@@@@@") and Format("ABCDEFGH") will result in ABC ABCDEFGH This effectively right aligns the text for multiple entries and for single entries provides a ten character in this case "field" to place data. In any case, you will typically need to use Courier New as each character represents the same amount of pixel width so that alignment is much easier. -Brandon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Brandon S. Cernicky Senior Software Engineer Psychology Software Tools > > Subject: aligning text using a Tab > From: "Ben Robinson" > Date: Fri, 01 Dec 2006 15:41:38 -0500 > > i'm trying to format a TextDisplay object to show > summary statistics at the end of a block of trials, > and try as i might, i can't get the darned thing to > line up using tabs. > > i've tried: > > Results.Text = \t > Results.Text = "\t" > Results.Text = Chr$(9) > Results.Text = ebTab > > all i'm getting are little squares wherever there > should be a tab. > > suggestions? what am i doing wrong? > > ben robinson > ____________________________________________________________________________________ Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index From mcfarla9 at msu.edu Mon Dec 4 23:41:26 2006 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 4 Dec 2006 18:41:26 -0500 Subject: Problem detecting key releases In-Reply-To: <003e01c716c9$52f27f10$ba3b4684@psb503> Message-ID: Tony, >I have the keyboard device set to record Presses and Releases, but I cannot >get the release to be noted/recorded. Is this because the initial press is >on one object, and the release is on another? How can I get the program to >work as desired,i.e. pressing a key starts the looping, releasing it stops >the looping. Forgive me if you've I'm just going over old ground, but to get E-Prime to recognize Releases, you have to do two things. First you must enable Releases in the appropriate input object, e.g., Edit > Experiment > Devices > SRBOX > Collection Mode > Presses and Releases. From your message, you have already done that. Second, in your display/input object, you must set Allowable to include releases using the "-" notation, e.g., {-ANY} will allow all key releases, {ANY}{-ANY} will all all key presses and all key releases. Please see the "{key} nomenclature" topic in the online E-Basic help. -- David McFarlane, Systems Designer Dept. Psychology, Michigan State University mcfarla9 at msu.edu www.msu.edu/~mcfarla9 Voice: (517) 353-0799 Fax: (517) 353-1652 From Stephane.DeBrito at iop.kcl.ac.uk Tue Dec 12 15:47:36 2006 From: Stephane.DeBrito at iop.kcl.ac.uk (De Brito, Stephane) Date: Tue, 12 Dec 2006 15:47:36 -0000 Subject: Consecutive correct response: accuracy check Message-ID: Dear e-prime experts, In my last message, I was experiencing problems creating the object alternation task. Well, since then we have managed to write the script and the task is running fine. I would like to thank Leisha Wharfield for her suggestions which were helpful. If anyone is interested in the task, please get in touch. If you can improve the task or the scripts, we would be very happy to hear from you. However, I still have to finetune the task: I would like to write a bit of script which will terminate my experiment once the participant has achieved 12 CONSECUTIVE correct responses. I have looked at the manual and the archives, but the only answers I found was on how to check the average or the number of correct responses. If anyone has suggestions as to how the script should be written to check consecutive correct responses, I would very much appreciate to hear from you. Best, stephane ------------------------------------------ Stephane De Brito, PhD student Institute of Psychiatry King's College London Forensic Mental Health Science Department Box P023 De Crespigny Park Denmark Hill London SE5 8AF United Kingdom Tel: + 44 (0) 20 7848 0711 Fax: + 44 (0) 20 7848 0754 website: www.iop.kcl.ac.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From Nolan at NKI.RFMH.ORG Tue Dec 12 16:12:20 2006 From: Nolan at NKI.RFMH.ORG (Nolan, Karen) Date: Tue, 12 Dec 2006 11:12:20 -0500 Subject: Consecutive correct response: accuracy check Message-ID: Dear Stephane - I'm no eprime expert, so this solution is not original - I just can't remember where I found it. I set up a counter (CorrectTrialCount in the script below) that is incremented every time the subject responds correctly but reset to zero every time the subject makes an error. On each trial the value of the counter is checked against a criterion (e.g. 12) and the procedure is terminated when the criterion is met. If Slide2.ACC=1 CorrectTrialCount = CorrectTrialCount +1 else CorrectTrialCount = 0 End If If CorrectTrialCount = 6 then TaskList.Terminate End If Hope this is helpful. Karen A Nolan, PhD Research Scientist Nathan Kline Institute for Psychiatric Research 140 Old Orangeburg Road Orangeburg, NY 10962 p: 845-398-6572 f: 845-398-6566 -----Original Message----- From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org]On Behalf Of De Brito, Stephane Sent: Tuesday, December 12, 2006 10:48 AM To: eprime at mail.talkbank.org Subject: Consecutive correct response: accuracy check Dear e-prime experts, In my last message, I was experiencing problems creating the object alternation task. Well, since then we have managed to write the script and the task is running fine. I would like to thank Leisha Wharfield for her suggestions which were helpful. If anyone is interested in the task, please get in touch. If you can improve the task or the scripts, we would be very happy to hear from you. However, I still have to finetune the task: I would like to write a bit of script which will terminate my experiment once the participant has achieved 12 CONSECUTIVE correct responses. I have looked at the manual and the archives, but the only answers I found was on how to check the average or the number of correct responses. If anyone has suggestions as to how the script should be written to check consecutive correct responses, I would very much appreciate to hear from you. Best, stephane ------------------------------------------ Stephane De Brito, PhD student Institute of Psychiatry King's College London Forensic Mental Health Science Department Box P023 De Crespigny Park Denmark Hill London SE5 8AF United Kingdom Tel: + 44 (0) 20 7848 0711 Fax: + 44 (0) 20 7848 0754 website: www.iop.kcl.ac.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From sbakkum at gmail.com Tue Dec 12 19:55:06 2006 From: sbakkum at gmail.com (Suzanne Bakkum) Date: Tue, 12 Dec 2006 20:55:06 +0100 Subject: counterbalancing blocks/tasks, randomizing the words over the blocks and masks In-Reply-To: Message-ID: Thanks so much Ben, you've been a tremendous help! I have a few questions, I adjusted some things in the file you sent me. The background masks are in a bmp format, so I changed the link to the pictures, I think that went ok. Weight Nested Procedure word contrast correctage correctcontrast 4 oldwords trialproc [old] laag.bmp o l 4 oldwords trialproc [old] hoog.bmp o h 4 newwords trialproc [new] laag.bmp n l 4 newwords trialproc [new] hoog.bmp n h And I made a slide to put the picture in and the text [word], in the 'filename' box of the picture I put [contrast], it's all working. I'm so happy. My question is, can I counterbalance the block tasks (contrasttask-oldnewtask-contrasttask etc.) so that the subject never gets the same task as in the previous block? And once a word (from the total of 144 words) has been presented it must not be presented ever again(not in another block). Is it possible to change the settings so that there will be no repetition of words and still be a random selection (this is per subject of course)? When that's fixed, the computer task is ready for experimentation :) Thanks so much for all the help! Greetings, Suzanne Bakkum On 12/11/06, Ben Robinson wrote: > > make a list with two procedures - identify age, identify contrast > select from the list at random (to shuffle which procedure comes first) > exit the list after 3 cycles (3 x identify age block, 3 x identify > contrast block, for a total of six blocks) > > in both the identify age and identify contrast blocks you can use the same > "eobjects:" > have a list, "trailtypes:" > weight nested procedure age > contrast correctage correctcontrast > 3 oldwords trialproc [old] LOW > o l > 3 oldwords trialproc [old] > HIGH o h > 3 newwords trialproc [new] LOW n l > 3 newwords trialproc [new] HIGH n h > > select from trialtypes at random > exit the list after 1 cycle (12 trials) > > in the nested list, "oldwords," add a column, "old," and fill this with > your 72 old words > in the nested list, "newwords," add a column, "new," and fill with 72 new > words > select from each nested list at random, and exit each after 1 *sample* > > in your "trialproc" procedure add two TextDisplays. > TextDisplay1: > text = [word] > background color = gray > forecolor = [contrast] > duration = infinite > > to this add a keyboard device. under allowable responses type the letters > o and n (old and new). for correct response type [correctage]. > add a *second* keyboard device. under allowable type the letters l and h > (low and high). for correct response type [correctcontrast]. > > now add a second text display to your trial proc, set the background to > gray, and you should be good to go. the second text display will simply add > an interstimulus interval, so the words don't come immediately after one > another. > > now for the scripting. there is very little. > > i'm not exactly sure how you want to adjust the contrast, but as an > example you could switch between black and white lettering on a gray > background. to make the black/white example work, go to your "script" > window, and type the following: > CONST LOW = "black" > CONST HIGH = "white" > then add an inline at the very beginning of your SessionProc, and type: > trialtypes.SetAttrib 1, "contrast", LOW > trialtypes.SetAttrib 2, "contrast", HIGH > trialtypes.SetAttrib 3, "contrast", LOW > trialtypes.SetAttrib 4, "contrast", HIGH > trialtypes.Reset > > that should do it. > > ben > > >>> "Suzanne Bakkum" 12/10/2006 8:59 AM >>> > Hi all, > > I'm having trouble programming the test phase of my experiment. I hope > someone can help me here, I've tried so many things but I can't figure the > script codes (InLine) out, it's abracadabra for me. > > This is what the experiment looks like: > There's a list of old words (72) and a list of new words (72). Subjests > will > de shown the words on a background mask, there are to types of > backgroundmasks (one in high contrast with the word shown and one in low > contrast). > > The words will be given in blocks of 12 words (6 old, 6 new). The subject > has to decide whether the word is old or new, and in the second block > whether the word is in high contrast with the mask or in low contrast. I > want the words to be random over the total of 72 words shown and i want > the > 2 types of blocks (old/new and high/lowcontrast) counterbalanced. > > So one block looks like this: > o = old, n = new, h = high contrast mask, l = low contrast mask > o - h > o - h > o - h > o - l > o - l > o - l > n - h > n - h > n - h > n - l > n - l > n - l > > I want the words to be randomized over all the blocks so the words don't > stay in the same block all the time and I want the words to be randomized > over the backgroundmasks, so for example I don't want the word 'apple' on > the high mask all the time. > > The blocks look all alike only the task is different, first block decide > word is old or new, second block decide word is high contrast or low > contrast, third block old/ new again, and so on. But I want one subject to > begin with the old/new block and another with the contrasttask. > > I hope I was clear anough, English is not my first language. I hope > someone > knows how to program this. I'm doing an intership and my tutor never ever > worked with e-prime, so I'm gonna have to fix this.. > > Thanks very much in advance, > > Suzanne Bakkum > Psychonomics > University of Amsterdam > sbakkum at gmail.com > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From finej at msu.edu Tue Dec 19 14:53:23 2006 From: finej at msu.edu (Jodene Fine) Date: Tue, 19 Dec 2006 09:53:23 -0500 Subject: MID task Message-ID: Dear Eprimers, I'm looking for a Monetary Incentive Delay Task that I could start from to build my own. I know that there are some people who share eprime tasks, and I was wondering if any of you know where I would look to find such a task. Thanks! Jodene ____________________________________ Jodene Goldenring Fine, Ph.D. Michigan State University Center for Neuropsychological Study Departments of Psychology and Psychiatry (517) 353-5035 finej at msu.edu "Be a nice person and see if it works." Chinese Fortune Cookie, Berkeley, CA, circa 1974 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bpesta22 at cs.com Thu Dec 28 01:31:44 2006 From: Bpesta22 at cs.com (Bpesta22 at cs.com) Date: Wed, 27 Dec 2006 20:31:44 EST Subject: Eprime Newbie-- need help with inspection time Message-ID: Help with inspection time. Greetings. I am interested in using the inspection time task uploaded onto the eprime website by Paul Groot. I'm having two problems (and I am not at all versed in programming) that I was hoping someone here could help me with. 1) The experiment is written for 100hz monitors. I only have access to machines with 60hz monitors. As far as I can tell from the code, it seems like running in 60hz would be do-able, but I lack the expertise to know if the experiment would still produce reliable data running at 60hz. 2) There's a section of the code that I cannot grasp. Briefly, in the inspection time task, two lines are presented, and the subject decides which one is longer. The lines remain on screen only for a short period of time. The duration for the next trial changes whenever a "reversal" occurs. For example, if the subject gets 4 right at the current duration, a reversal occurs, and the duration time is decreased (making the task more difficult) by a set amount for the next trial. Conversely, if the subject gets this trial wrong, a reversal also occurs, and now the duration time for the next trial is increased. The duration time for any trial is just the refresh interval of the monitor (10 ms for 100 hz, or 16.67ms for 6 hz, as with my monitor) x the number of frames. For example, the first trial has 10 frames, so the stimulus remains onscreen for 100ms (100hz) or 167ms (60hz). If the subject gets 4 right at this duration, the number of frames is "stepped down" by 4. So, the next trial would have 6 frames and the stimulus would last for 60ms. The step sizes decrease in later trials to hone in on the subjects true "inspection time". When I run myself as a subject, though, the data file seems off. Sometimes when I do 4 right at a given duration, the number of reversals does not go up by one (even though the next trial presents the stimulus at a shorter duration). Other times, 4 right at a given duration does result in a reversal. The same is true with mistakes-- sometimes eprime will record the reversal, and the duration for the next trial will increase; other times, the reversal is not recorded in eprime, even though the next trial does have an increased duration. Here's the relevant (I think!) part of the code: if nOK>=REAVALUATE_CORRECT_COUNT then ' decrease stim duration nOK = 0 ' restart counting if (nPrevFrameCount < nFrameCount) then nReversals = nReversals + 1 nPrevFrameCount = nFrameCount nFrameCount = nFrameCount - nStepSize if nFrameCount<=0 then nStepSize = nStepSize \ 2 if nStepSize<1 then nStepSize=1 nFrameCount = nStepSize end if The fourth line makes no sense to me. I have 4 correct trials in a row, so I should get a reversal (the next trial should present the two lines at a shorter duration). But how is it that the previous frame count could be less than the current frame count. Shouldn't it be the opposite (the previous frame count was higher-- the lines were displayed longer-- than the frame count for the current trial). Sorry for the length of this post, perhaps I should stop here. If anyone could help, I would sincerely appreciate it. Bryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Thomas.Shaffer at SDSTATE.EDU Fri Dec 1 20:38:54 2006 From: Thomas.Shaffer at SDSTATE.EDU (Shaffer, Thomas) Date: Fri, 1 Dec 2006 14:38:54 -0600 Subject: Neuroscan & E-Prime Message-ID: Hello all, This question concerns the use of E-Prime in conjunction with Neuroscan Eeg system. Our system (Neuroscan Synamps 2) uses a Stim Audio System 1105 between the amplifer and the response pad. Our neuroscan response pad plugs into the audio system. We would like to use the Neuroscan STIM audio system response pad in combination with our e-prime software. The eprime code we have now uses a serial input device (SRbox). Due to laboratory constraints we need to use the STIM response pad and the response pad must remain in the phone jack port in the STIM audio system box. Does anyone know how to route input through the response pad jack into the eprime software. Thank you very much. Thomas R. Shaffer, Ph.D. Associate Professor Department of Psychology South Dakota State University Box 504, Brookings SD 57007 Phone: (605) 688-6689 Fax: (605) 688-6754 http://maverick.sdstate.edu/users/shaffert/Homepage.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: From brobinso at mprc.umaryland.edu Fri Dec 1 20:41:38 2006 From: brobinso at mprc.umaryland.edu (Ben Robinson) Date: Fri, 1 Dec 2006 15:41:38 -0500 Subject: aligning text using a Tab Message-ID: i'm trying to format a TextDisplay object to show summary statistics at the end of a block of trials, and try as i might, i can't get the darned thing to line up using tabs. i've tried: Results.Text = \t Results.Text = "\t" Results.Text = Chr$(9) Results.Text = ebTab all i'm getting are little squares wherever there should be a tab. suggestions? what am i doing wrong? ben robinson From borodkk at mail.biu.ac.il Sun Dec 3 10:53:53 2006 From: borodkk at mail.biu.ac.il (BORODKIN KATY) Date: Sun, 3 Dec 2006 12:53:53 +0200 Subject: incorrect response logging? Message-ID: Hi all, I built an experiment in which the participant responds to a picture. Depending on his/hers response, the trial continues further (to different paths). For example, if the response is correct, then the next picture is presented. If the response is incorrect, the participant is presented with cues. If the participant doesn't know how to respond, he is presented with a few questions. After each question, the trial continues to different paths, again, depending on response. All these response-dependent "jumps" within a trial are performed using InLine and Label icons. All works well. But the output is certainly unsatisfactory- responses (RESP) are somehow recorded even when a specific icon was skipped. For example, if the participant answers correctly to the first question following a "don't know" response, the trial stops and the next picture is presented. I would expect that no responses are logged for all the following steps of this trial. Instead, the program presents responses for all these skipped steps. The response recorded is the response that actually occurred on the last trial when the particular step wasn't missed. I have no idea how to deal with it. Be happy to hear any suggestions. Thanks a lot, Katy Borodkin Psychology Department Bar Ilan University Israel -------------- next part -------------- An HTML attachment was scrubbed... URL: From leisha at decisionresearch.org Sun Dec 3 23:14:24 2006 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Sun, 3 Dec 2006 15:14:24 -0800 Subject: incorrect response logging? In-Reply-To: <003e01c716c9$52f27f10$ba3b4684@psb503> Message-ID: Are you using a single object to record responses to different icons, where the response always has the same name--Slide1.RESP, for example? So that response exists and is carried over & recorded even for icons that are not shown? If there's an inline object handling your response-dependent jumps anyway, why not clear Slide1.RESP after the value is recorded in the appropriate trial and before you jump to the next trial? Leisha Wharfield Decision Research Eugene, Oregon, USA BORODKIN KATY wrote: > Hi all, > > I built an experiment in which the participant responds to a picture. > Depending on his/hers response, the trial continues further (to > different paths). For example, if the response is correct, then the > next picture is presented. If the response is incorrect, the > participant is presented with cues. If the participant doesn't know > how to respond, he is presented with a few questions. After each > question, the trial continues to different paths, again, depending on > response. All these response-dependent "jumps" within a trial are > performed using InLine and Label icons. All works well. > > But the output is certainly unsatisfactory- responses (RESP) are > somehow recorded even when a specific icon was skipped. For example, > if the participant answers correctly to the first question following a > "don't know" response, the trial stops and the next picture is > presented. I would expect that no responses are logged for all the > following steps of this trial. Instead, the program presents responses > for all these skipped steps. The response recorded is the response > that actually occurred on the last trial when the particular step > wasn't missed. I have no idea how to deal with it. Be happy to hear > any suggestions. > > Thanks a lot, > Katy Borodkin > Psychology Department > Bar Ilan University > Israel -------------- next part -------------- An HTML attachment was scrubbed... URL: From brandon_cernicky at yahoo.com Mon Dec 4 10:22:15 2006 From: brandon_cernicky at yahoo.com (Brandon Cernicky) Date: Mon, 4 Dec 2006 02:22:15 -0800 Subject: aligning text using a Tab In-Reply-To: <17201.45545@mail.talkbank.org> Message-ID: Hi Ben, The tab character is not supported in E-Prime for space adjustments like you are attempting to perform. You can accomplish what you are trying to do in a number of ways and some of the possible ideas are: 1) Create a Slide and place a SlideText down in the areas that have the summary text and align them the way you wish. This becomes tedious with larger number of entries. 2) Use the format command with the @ character to pad for each possible character. For example Format("ABC", "@@@@@@@@@@") and Format("ABCDEFGH") will result in ABC ABCDEFGH This effectively right aligns the text for multiple entries and for single entries provides a ten character in this case "field" to place data. In any case, you will typically need to use Courier New as each character represents the same amount of pixel width so that alignment is much easier. -Brandon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Brandon S. Cernicky Senior Software Engineer Psychology Software Tools > > Subject: aligning text using a Tab > From: "Ben Robinson" > Date: Fri, 01 Dec 2006 15:41:38 -0500 > > i'm trying to format a TextDisplay object to show > summary statistics at the end of a block of trials, > and try as i might, i can't get the darned thing to > line up using tabs. > > i've tried: > > Results.Text = \t > Results.Text = "\t" > Results.Text = Chr$(9) > Results.Text = ebTab > > all i'm getting are little squares wherever there > should be a tab. > > suggestions? what am i doing wrong? > > ben robinson > ____________________________________________________________________________________ Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index From mcfarla9 at msu.edu Mon Dec 4 23:41:26 2006 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 4 Dec 2006 18:41:26 -0500 Subject: Problem detecting key releases In-Reply-To: <003e01c716c9$52f27f10$ba3b4684@psb503> Message-ID: Tony, >I have the keyboard device set to record Presses and Releases, but I cannot >get the release to be noted/recorded. Is this because the initial press is >on one object, and the release is on another? How can I get the program to >work as desired,i.e. pressing a key starts the looping, releasing it stops >the looping. Forgive me if you've I'm just going over old ground, but to get E-Prime to recognize Releases, you have to do two things. First you must enable Releases in the appropriate input object, e.g., Edit > Experiment > Devices > SRBOX > Collection Mode > Presses and Releases. From your message, you have already done that. Second, in your display/input object, you must set Allowable to include releases using the "-" notation, e.g., {-ANY} will allow all key releases, {ANY}{-ANY} will all all key presses and all key releases. Please see the "{key} nomenclature" topic in the online E-Basic help. -- David McFarlane, Systems Designer Dept. Psychology, Michigan State University mcfarla9 at msu.edu www.msu.edu/~mcfarla9 Voice: (517) 353-0799 Fax: (517) 353-1652 From Stephane.DeBrito at iop.kcl.ac.uk Tue Dec 12 15:47:36 2006 From: Stephane.DeBrito at iop.kcl.ac.uk (De Brito, Stephane) Date: Tue, 12 Dec 2006 15:47:36 -0000 Subject: Consecutive correct response: accuracy check Message-ID: Dear e-prime experts, In my last message, I was experiencing problems creating the object alternation task. Well, since then we have managed to write the script and the task is running fine. I would like to thank Leisha Wharfield for her suggestions which were helpful. If anyone is interested in the task, please get in touch. If you can improve the task or the scripts, we would be very happy to hear from you. However, I still have to finetune the task: I would like to write a bit of script which will terminate my experiment once the participant has achieved 12 CONSECUTIVE correct responses. I have looked at the manual and the archives, but the only answers I found was on how to check the average or the number of correct responses. If anyone has suggestions as to how the script should be written to check consecutive correct responses, I would very much appreciate to hear from you. Best, stephane ------------------------------------------ Stephane De Brito, PhD student Institute of Psychiatry King's College London Forensic Mental Health Science Department Box P023 De Crespigny Park Denmark Hill London SE5 8AF United Kingdom Tel: + 44 (0) 20 7848 0711 Fax: + 44 (0) 20 7848 0754 website: www.iop.kcl.ac.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From Nolan at NKI.RFMH.ORG Tue Dec 12 16:12:20 2006 From: Nolan at NKI.RFMH.ORG (Nolan, Karen) Date: Tue, 12 Dec 2006 11:12:20 -0500 Subject: Consecutive correct response: accuracy check Message-ID: Dear Stephane - I'm no eprime expert, so this solution is not original - I just can't remember where I found it. I set up a counter (CorrectTrialCount in the script below) that is incremented every time the subject responds correctly but reset to zero every time the subject makes an error. On each trial the value of the counter is checked against a criterion (e.g. 12) and the procedure is terminated when the criterion is met. If Slide2.ACC=1 CorrectTrialCount = CorrectTrialCount +1 else CorrectTrialCount = 0 End If If CorrectTrialCount = 6 then TaskList.Terminate End If Hope this is helpful. Karen A Nolan, PhD Research Scientist Nathan Kline Institute for Psychiatric Research 140 Old Orangeburg Road Orangeburg, NY 10962 p: 845-398-6572 f: 845-398-6566 -----Original Message----- From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org]On Behalf Of De Brito, Stephane Sent: Tuesday, December 12, 2006 10:48 AM To: eprime at mail.talkbank.org Subject: Consecutive correct response: accuracy check Dear e-prime experts, In my last message, I was experiencing problems creating the object alternation task. Well, since then we have managed to write the script and the task is running fine. I would like to thank Leisha Wharfield for her suggestions which were helpful. If anyone is interested in the task, please get in touch. If you can improve the task or the scripts, we would be very happy to hear from you. However, I still have to finetune the task: I would like to write a bit of script which will terminate my experiment once the participant has achieved 12 CONSECUTIVE correct responses. I have looked at the manual and the archives, but the only answers I found was on how to check the average or the number of correct responses. If anyone has suggestions as to how the script should be written to check consecutive correct responses, I would very much appreciate to hear from you. Best, stephane ------------------------------------------ Stephane De Brito, PhD student Institute of Psychiatry King's College London Forensic Mental Health Science Department Box P023 De Crespigny Park Denmark Hill London SE5 8AF United Kingdom Tel: + 44 (0) 20 7848 0711 Fax: + 44 (0) 20 7848 0754 website: www.iop.kcl.ac.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From sbakkum at gmail.com Tue Dec 12 19:55:06 2006 From: sbakkum at gmail.com (Suzanne Bakkum) Date: Tue, 12 Dec 2006 20:55:06 +0100 Subject: counterbalancing blocks/tasks, randomizing the words over the blocks and masks In-Reply-To: Message-ID: Thanks so much Ben, you've been a tremendous help! I have a few questions, I adjusted some things in the file you sent me. The background masks are in a bmp format, so I changed the link to the pictures, I think that went ok. Weight Nested Procedure word contrast correctage correctcontrast 4 oldwords trialproc [old] laag.bmp o l 4 oldwords trialproc [old] hoog.bmp o h 4 newwords trialproc [new] laag.bmp n l 4 newwords trialproc [new] hoog.bmp n h And I made a slide to put the picture in and the text [word], in the 'filename' box of the picture I put [contrast], it's all working. I'm so happy. My question is, can I counterbalance the block tasks (contrasttask-oldnewtask-contrasttask etc.) so that the subject never gets the same task as in the previous block? And once a word (from the total of 144 words) has been presented it must not be presented ever again(not in another block). Is it possible to change the settings so that there will be no repetition of words and still be a random selection (this is per subject of course)? When that's fixed, the computer task is ready for experimentation :) Thanks so much for all the help! Greetings, Suzanne Bakkum On 12/11/06, Ben Robinson wrote: > > make a list with two procedures - identify age, identify contrast > select from the list at random (to shuffle which procedure comes first) > exit the list after 3 cycles (3 x identify age block, 3 x identify > contrast block, for a total of six blocks) > > in both the identify age and identify contrast blocks you can use the same > "eobjects:" > have a list, "trailtypes:" > weight nested procedure age > contrast correctage correctcontrast > 3 oldwords trialproc [old] LOW > o l > 3 oldwords trialproc [old] > HIGH o h > 3 newwords trialproc [new] LOW n l > 3 newwords trialproc [new] HIGH n h > > select from trialtypes at random > exit the list after 1 cycle (12 trials) > > in the nested list, "oldwords," add a column, "old," and fill this with > your 72 old words > in the nested list, "newwords," add a column, "new," and fill with 72 new > words > select from each nested list at random, and exit each after 1 *sample* > > in your "trialproc" procedure add two TextDisplays. > TextDisplay1: > text = [word] > background color = gray > forecolor = [contrast] > duration = infinite > > to this add a keyboard device. under allowable responses type the letters > o and n (old and new). for correct response type [correctage]. > add a *second* keyboard device. under allowable type the letters l and h > (low and high). for correct response type [correctcontrast]. > > now add a second text display to your trial proc, set the background to > gray, and you should be good to go. the second text display will simply add > an interstimulus interval, so the words don't come immediately after one > another. > > now for the scripting. there is very little. > > i'm not exactly sure how you want to adjust the contrast, but as an > example you could switch between black and white lettering on a gray > background. to make the black/white example work, go to your "script" > window, and type the following: > CONST LOW = "black" > CONST HIGH = "white" > then add an inline at the very beginning of your SessionProc, and type: > trialtypes.SetAttrib 1, "contrast", LOW > trialtypes.SetAttrib 2, "contrast", HIGH > trialtypes.SetAttrib 3, "contrast", LOW > trialtypes.SetAttrib 4, "contrast", HIGH > trialtypes.Reset > > that should do it. > > ben > > >>> "Suzanne Bakkum" 12/10/2006 8:59 AM >>> > Hi all, > > I'm having trouble programming the test phase of my experiment. I hope > someone can help me here, I've tried so many things but I can't figure the > script codes (InLine) out, it's abracadabra for me. > > This is what the experiment looks like: > There's a list of old words (72) and a list of new words (72). Subjests > will > de shown the words on a background mask, there are to types of > backgroundmasks (one in high contrast with the word shown and one in low > contrast). > > The words will be given in blocks of 12 words (6 old, 6 new). The subject > has to decide whether the word is old or new, and in the second block > whether the word is in high contrast with the mask or in low contrast. I > want the words to be random over the total of 72 words shown and i want > the > 2 types of blocks (old/new and high/lowcontrast) counterbalanced. > > So one block looks like this: > o = old, n = new, h = high contrast mask, l = low contrast mask > o - h > o - h > o - h > o - l > o - l > o - l > n - h > n - h > n - h > n - l > n - l > n - l > > I want the words to be randomized over all the blocks so the words don't > stay in the same block all the time and I want the words to be randomized > over the backgroundmasks, so for example I don't want the word 'apple' on > the high mask all the time. > > The blocks look all alike only the task is different, first block decide > word is old or new, second block decide word is high contrast or low > contrast, third block old/ new again, and so on. But I want one subject to > begin with the old/new block and another with the contrasttask. > > I hope I was clear anough, English is not my first language. I hope > someone > knows how to program this. I'm doing an intership and my tutor never ever > worked with e-prime, so I'm gonna have to fix this.. > > Thanks very much in advance, > > Suzanne Bakkum > Psychonomics > University of Amsterdam > sbakkum at gmail.com > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From finej at msu.edu Tue Dec 19 14:53:23 2006 From: finej at msu.edu (Jodene Fine) Date: Tue, 19 Dec 2006 09:53:23 -0500 Subject: MID task Message-ID: Dear Eprimers, I'm looking for a Monetary Incentive Delay Task that I could start from to build my own. I know that there are some people who share eprime tasks, and I was wondering if any of you know where I would look to find such a task. Thanks! Jodene ____________________________________ Jodene Goldenring Fine, Ph.D. Michigan State University Center for Neuropsychological Study Departments of Psychology and Psychiatry (517) 353-5035 finej at msu.edu "Be a nice person and see if it works." Chinese Fortune Cookie, Berkeley, CA, circa 1974 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bpesta22 at cs.com Thu Dec 28 01:31:44 2006 From: Bpesta22 at cs.com (Bpesta22 at cs.com) Date: Wed, 27 Dec 2006 20:31:44 EST Subject: Eprime Newbie-- need help with inspection time Message-ID: Help with inspection time. Greetings. I am interested in using the inspection time task uploaded onto the eprime website by Paul Groot. I'm having two problems (and I am not at all versed in programming) that I was hoping someone here could help me with. 1) The experiment is written for 100hz monitors. I only have access to machines with 60hz monitors. As far as I can tell from the code, it seems like running in 60hz would be do-able, but I lack the expertise to know if the experiment would still produce reliable data running at 60hz. 2) There's a section of the code that I cannot grasp. Briefly, in the inspection time task, two lines are presented, and the subject decides which one is longer. The lines remain on screen only for a short period of time. The duration for the next trial changes whenever a "reversal" occurs. For example, if the subject gets 4 right at the current duration, a reversal occurs, and the duration time is decreased (making the task more difficult) by a set amount for the next trial. Conversely, if the subject gets this trial wrong, a reversal also occurs, and now the duration time for the next trial is increased. The duration time for any trial is just the refresh interval of the monitor (10 ms for 100 hz, or 16.67ms for 6 hz, as with my monitor) x the number of frames. For example, the first trial has 10 frames, so the stimulus remains onscreen for 100ms (100hz) or 167ms (60hz). If the subject gets 4 right at this duration, the number of frames is "stepped down" by 4. So, the next trial would have 6 frames and the stimulus would last for 60ms. The step sizes decrease in later trials to hone in on the subjects true "inspection time". When I run myself as a subject, though, the data file seems off. Sometimes when I do 4 right at a given duration, the number of reversals does not go up by one (even though the next trial presents the stimulus at a shorter duration). Other times, 4 right at a given duration does result in a reversal. The same is true with mistakes-- sometimes eprime will record the reversal, and the duration for the next trial will increase; other times, the reversal is not recorded in eprime, even though the next trial does have an increased duration. Here's the relevant (I think!) part of the code: if nOK>=REAVALUATE_CORRECT_COUNT then ' decrease stim duration nOK = 0 ' restart counting if (nPrevFrameCount < nFrameCount) then nReversals = nReversals + 1 nPrevFrameCount = nFrameCount nFrameCount = nFrameCount - nStepSize if nFrameCount<=0 then nStepSize = nStepSize \ 2 if nStepSize<1 then nStepSize=1 nFrameCount = nStepSize end if The fourth line makes no sense to me. I have 4 correct trials in a row, so I should get a reversal (the next trial should present the two lines at a shorter duration). But how is it that the previous frame count could be less than the current frame count. Shouldn't it be the opposite (the previous frame count was higher-- the lines were displayed longer-- than the frame count for the current trial). Sorry for the length of this post, perhaps I should stop here. If anyone could help, I would sincerely appreciate it. Bryan -------------- next part -------------- An HTML attachment was scrubbed... URL: