From bermanm at umich.edu Tue Sep 4 18:51:22 2007 From: bermanm at umich.edu (Marc Berman) Date: Tue, 4 Sep 2007 14:51:22 -0400 Subject: Selecting trialtypes from a larger set without replacement Message-ID: Hi, I'm currently coding a study where I have a large set of trials that I want to present (144 many of which are unique), but only want to have blocks of 36 trials with rest breaks in between. I'm wondering if I nest the blocklist, into my totaltrial list, if I will be able to sample from the 144 trials, 4 times, and get all of the 144 trials without replacement. If this will not work, is there some other way to do it? Thanks so much and hopefully, this is clear. Thanks in advance, -Marc From BRobinso at mprc.umaryland.edu Wed Sep 5 18:37:07 2007 From: BRobinso at mprc.umaryland.edu (Ben Robinson) Date: Wed, 5 Sep 2007 14:37:07 -0400 Subject: Selecting trialtypes from a larger set without replacement Message-ID: hi marc. here's how i would do this. make a new list object. first row: blockproc. second row: breakproc. 3rd row: blockproc. then breakproc then blockproc then breakproc then blockproc. that gives you 4 blocks, with a break procedure between each. on the blockproc timeline set your totaltriallist. set the totaltriallist to Random Selection, and to Exit List after 36 trials, and to Reset Sampling until all samples have been used. this will randomly select 36 of your 144 trials, then exit the list. the next time the list is run, during the next blockproc, the sampling will resume where it left-off - never again pulling any of the 36 already-sampled trials. ben robinson >>> Marc Berman 9/4/2007 2:51 PM >>> Hi, I'm currently coding a study where I have a large set of trials that I want to present (144 many of which are unique), but only want to have blocks of 36 trials with rest breaks in between. I'm wondering if I nest the blocklist, into my totaltrial list, if I will be able to sample from the 144 trials, 4 times, and get all of the 144 trials without replacement. If this will not work, is there some other way to do it? Thanks so much and hopefully, this is clear. Thanks in advance, -Marc From venug001 at bama.ua.edu Thu Sep 6 20:39:30 2007 From: venug001 at bama.ua.edu (Gopakumar Venugopalan) Date: Thu, 6 Sep 2007 15:39:30 -0500 Subject: &HD200 Message-ID: Hello everyone what is command &HD200, if &HD378 is an address, what is that (&HD200) value referring to? Thanks in advance. Secondly, if I were to assign a trigger value to each MEG condition (Control, word, pseudoword) then do I simply list say 1, 9, 17 or 33 in a column called "trigger" in the stimlist? Will that then tag my MEG files appropriately? Thanks in advance. Warm regards gopa From pauls_postbus at hotmail.com Thu Sep 6 20:50:26 2007 From: pauls_postbus at hotmail.com (Paul Gr) Date: Thu, 6 Sep 2007 22:50:26 +0200 Subject: &HD200 In-Reply-To: <1189111170.46e0658297b0b@bamamail.ua.edu> Message-ID: hi gopa, In e-basic, hexadecimal values are prefixed with &H. So, &HD200 denotes the hexadecimal value D200, which is the same as 53760 in base-10. You can use the windows calulator in scientific mode to convert hex to decimal. If you put the trigger values in a list object then you should also use the c.GetAttrib('trigger') call in your script at the appropriate place in your inline script. For example: WritePort &H378, c.GetAttrib('trigger') or: mystim.OffsetSignalEnabled = Truemystim.OnsetSignalEnabled = True mystim.OffsetSignalPort = &H378 mystim.OnsetSignalPort = &H378 mystim.OffsetSignalData = &H00 mystim.OnsetSignalData = c.GetAttrib('trigger') best paul Paul Groot VU University Amsterdam > Date: Thu, 6 Sep 2007 15:39:30 -0500> From: venug001 at bama.ua.edu> To: eprime at mail.talkbank.org> Subject: &HD200> > Hello everyone what is command &HD200, if &HD378 is an address, what > is that (&HD200) value referring to?> Thanks in advance.> > Secondly, if I were to assign a trigger value to each MEG condition > (Control, word, pseudoword) then do I simply list say 1, 9, 17 or 33 > in a column called "trigger" in the stimlist? Will that then tag my > MEG files appropriately? Thanks in advance.> Warm regards> gopa> > > > > > _________________________________________________________________ De mooiste afbeeldingen van Jessica Simpson vind je met Live Search http://search.live.com/images/results.aspx?q=jessica%20simpson&FORM=BIRE -------------- next part -------------- An HTML attachment was scrubbed... URL: From damch at uottawa.ca Wed Sep 12 12:01:49 2007 From: damch at uottawa.ca (Alain M. Desrochers) Date: Wed, 12 Sep 2007 08:01:49 -0400 Subject: How to interface a MIDI keyboard with E-Prime Message-ID: Hello E-Prime users, I am calling on the expertise of the E-Prime user community for suggestions on how to interface a digital keyboard (piano) with E-Prime. I would like to investigate how piano students learn to decode musical notation. To do so I would like to present musical score on the monitor and record participants' responses through a digital keyboard with a MIDI interface. The primary hurdle to overcome is to get E-Prime to receive and record responses to the keyboard with accurate time stamping and response detail (e.g., the key chosen, the force applied, the duration of the key press). May I ask for suggestions, recommendations or directions on how such an interface could be developed? Thank you in advance for your assistance. Sincerely, Alain Desrochers School of Psychology University of Ottawa Ottawa, Canada -------------- next part -------------- An HTML attachment was scrubbed... URL: From pauls_postbus at hotmail.com Wed Sep 12 14:16:43 2007 From: pauls_postbus at hotmail.com (Paul Gr) Date: Wed, 12 Sep 2007 16:16:43 +0200 Subject: How to interface a MIDI keyboard with E-Prime In-Reply-To: <3F5C7E60AF962A4C87615893F1A4310B0259283B@MSMAIL2.uottawa.o.univ> Message-ID: Hello Alain, Although interfacing MIDI equipment is a completely new topic for me, you might find the folowing helpful. I can think of the following approaches to interface EPrime to MIDI devices: 1) Use an existing software library to establish a connection with the Windows audio/MIDI drivers. This would be the preferred method because you only have to create EPrime inline script. However, the difficulty with this approach is that there is no trivial implementation possible to handle time critical input events in EPrime. (This would normally require an EPrime compatible input device object.) How MIDI input events should be handled is described in the ‘Inputting MIDI data’ at http://www.borg.com/~jglatt/tech/lowmidi.htm. If you don’t require accurate time stamps on the ‘keystroke’ events, then it might be possible to use the so called polling technique to handle all input. Sending information (i.e. commands) to MIDI devices should not be a big problem with this technique. The low level MIDI application programming interface (API) is described at the microsoft developers site: http://msdn2.microsoft.com/en-us/library/ms712733.aspx 2) Use a dedicated hardware interface that maps MIDI input events to one of the input devices which are supported by EPrime (i.e. parallel printer port, RS232, …) The advantage of this approach is that (translated) keystrokes can be handled very accurately by EPrime itself. The downside is that you need a special piece of hardware. If development of such a piece of digital hardware yourself is not an option, then you could consider having a second computer that interfaces between MIDI and one of the input ports (such as the serial RS232 port) at the EPrime side. You still have to create (or modify) an application to handle all I/O at the interfacing PC. 3) In theory it should also be possible to bypass the windows MIDI API and implement the serial MIDI protocol in EPrime inline script to interface directly to the MIDI hardware. I wouldn’t advise this though, because the script could become very complex and will not be very easy to merge with the experiment itself. Perhaps other E-Prime or MIDI expert have alternative suggestions. best,Paul Paul Groot VU University, Amsterdam Subject: How to interface a MIDI keyboard with E-PrimeDate: Wed, 12 Sep 2007 08:01:49 -0400From: damch at uottawa.caTo: eprime at mail.talkbank.org Hello E-Prime users, I am calling on the expertise of the E-Prime user community for suggestions on how to interface a digital keyboard (piano) with E-Prime. I would like to investigate how piano students learn to decode musical notation. To do so I would like to present musical score on the monitor and record participants’ responses through a digital keyboard with a MIDI interface. The primary hurdle to overcome is to get E-Prime to receive and record responses to the keyboard with accurate time stamping and response detail (e.g., the key chosen, the force applied, the duration of the key press). May I ask for suggestions, recommendations or directions on how such an interface could be developed? Thank you in advance for your assistance. Sincerely, Alain Desrochers School of Psychology University of Ottawa Ottawa, Canada _________________________________________________________________ Jouw nieuws en entertainment, vind je op MSN.nl! http://nl.msn.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From brobinso at mprc.umaryland.edu Fri Sep 14 12:25:19 2007 From: brobinso at mprc.umaryland.edu (Ben Robinson) Date: Fri, 14 Sep 2007 08:25:19 -0400 Subject: word list exhaustion Message-ID: so you have 3 lists of words: wordslist1, wordslist2, wordslist3. let's say each list has 10 words, one word per row, in a single column. call that column, "word". each row has a weight of '1'. set the properties of each of these three lists to random selection, and exit list after 1 sample. now you just need a trial list with three rows. call it triallist. set it to random selection. each row calls the same procedure, 'displaywordproc', but each has a different word list nested on it. row 1 will have wordslist1 nested ([wordslist1]); row two will have wordslist2 nested; row 3 has wordslist3. because wordslist1 and wordslist2 need to call all their words twice, and each has 10 words, both lists will need to run 20 times (twice the number of words in each list). set the weight for rows one and two of your triallist to 20 and 20. row three will need a weight of 30 (three times the number of words in wordslist3). in your displaywordsproc place a TextDisplay object, and in the center of it type '[word]' (don't type the quotes). that should do it. the big list should run 70 times (20+20+30), each time calling randomly from one of your three nested wordslists. each time a wordslist is called it will randomly select a word from the 'word' column to be presented in the middle of your textdisplay object. ben >>> "Michelle Schoenleber" 09/13/07 7:42 PM >>> Hi~ This is probably something relatively easy that I just don't have time to work out for myself. The block of words that I have set up includes words from three different lists -- two of which need to be repeated twice during presentation and one of which needs to be repeated three times. I am able to get all of the words to be presented the appropriate number of times, but does anyone know I can get E-prime to exhaust the words within each list before that particular list repeats for the appropriate number of times, while still randomizing the words across the three lists. Thanks so much for your help! M From Nelly-van-der.Meer at unilever.com Thu Sep 20 11:52:17 2007 From: Nelly-van-der.Meer at unilever.com (Meer, Nelly-van-der) Date: Thu, 20 Sep 2007 12:52:17 +0100 Subject: serial seven test in E-prime Message-ID: Dear all, I was wondering whether someone could help this lay-person who tries to programme the serial seven test in E-prime. The task goes as follows: Serial Sevens involves presenting a participant with a starting number from which they must subtract 7, then subtract 7 from the resultant number and so on. A randomly generated starting number between 800 and 999, which disappears at the first key-press, is displayed on the monitor of a desktop computer. Responses are made in the form of three-digit numbers, which are recorded via the numeric keypad. Each key-press results in an asterisk being displayed in the first, second or third position, as appropriate, in a box on the screen. Pressing the 'enter' key signals the end of each response and clears the three asterisks in the box ready for the next three-digit number. Duration ot the task: 2 minutes. The task is scored for both total number of subtractions and number of errors. In the case of a mistake, subsequent responses are scored as positive if they are correct in relation to the new number. This task is particularly difficult to design because there are no set correct and incorrect answers, as this relies on the previous response. However, I am sure that it is possible to programme E-prime to determine whether an answer is correct based on a previous answer.... but how...? Thank you very much in advance for your responses, Nelly van der Meer -------------- next part -------------- An HTML attachment was scrubbed... URL: From francisa at purdue.edu Fri Sep 21 16:51:04 2007 From: francisa at purdue.edu (Alex Francis) Date: Fri, 21 Sep 2007 12:51:04 -0400 Subject: Luck & Vogel (1997)-like task? Message-ID: Greetings, I need to present a task similar to one used by Luck & Vogel (1997, "The capacity of visual working memory for features and conjunctions", Nature 390) in which, on each trial, 8 distinct (non-overlapping) color patches are presented at random locations on the screen. I can come up with a brute-force way to do this in eprime, randomizing X- and Y-axis frame location values, but the amount of randomization, comparison and re-randomization seems prohibitive for 8 squares (and there is an obvious possibility of getting stuck in an infinite loop). Does anyone out there either have such a script I could copy that already does this, or a suggestion of a more elegant and foolproof way to place objects randomly on the screen without having any of them overlap? Thanks in advance, -alex Alexander L. Francis http://web.ics.purdue.edu/~francisa Assistant Professor francisA at purdue.edu Speech, Language & Hearing Sciences ofc. +1 (765) 494-3815 Purdue University lab. +1 (765) 494-7553 500 Oval Drive fax. +1 (765) 494-0771 West Lafayette IN 47907-2038 USA From brandon_cernicky at yahoo.com Fri Sep 21 17:14:00 2007 From: brandon_cernicky at yahoo.com (Brandon Cernicky) Date: Fri, 21 Sep 2007 10:14:00 -0700 Subject: serial seven test in E-prime In-Reply-To: <14001.33661@mail.talkbank.org> Message-ID: A bootstrap to what might be a solution at http://support.pstnet.com/forum/Topic641-5-1.aspx where an example is attached. -Brandon ____________________________________________________________________________________ Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/ From BRobinso at mprc.umaryland.edu Mon Sep 24 15:36:25 2007 From: BRobinso at mprc.umaryland.edu (Ben Robinson) Date: Mon, 24 Sep 2007 11:36:25 -0400 Subject: Luck & Vogel (1997)-like task? Message-ID: there's no way to avoid randomizing the x and y axis values, but there should be no need for comparison and rerandomization. rather than randomize to the whole screen, divide the screen into 8 non-overlapping regions, perhaps around the circumference of an imaginary circle, perhaps not. make sure that there's enough of a gap between your regions that if your shape is drawn all the way on the edge of one region it won't be covering up some of the space in the region next to it. that means, if your shapes are 20 pixels wide, make sure there are at least 20 unused pixels between regions. dim x0,x1,x2,x3,x4,x5,x6,x7 as integer dim y0,y1,y2,y3,y4,y5,y6,y7 as integer x0 = random(region0left, region0right) y0 = random(region0top, region0bottom) etc. then i can think of two ways to use these x and y axis values. if you are using canvas.draw you would calculate the x's and y's at the beginning of each trial. if you wanted to, instead, use a list object, before the start of your block place an inline object with a For loop in it: For i = 1 to ListObject.Size x0 = random(region0left, region0right) y0 = random(region0top, region0bottom) etc. ListObject.SetAttrib i, "x0", x0 ListObject.SetAttrib i, "y0", y0 etc. Next i ListObject.Reset in your trial procedure just place a slide object with 8 different TextObjects. have the x and y axis for your text object pull from the [x0] and [y0] columns on your list. i hope this makes sense. it's not that difficult, but it's also not that easy to describe in a succinct manner. ben robinson >>> Alex Francis 9/21/2007 12:51 PM >>> Greetings, I need to present a task similar to one used by Luck & Vogel (1997, "The capacity of visual working memory for features and conjunctions", Nature 390) in which, on each trial, 8 distinct (non-overlapping) color patches are presented at random locations on the screen. I can come up with a brute-force way to do this in eprime, randomizing X- and Y-axis frame location values, but the amount of randomization, comparison and re-randomization seems prohibitive for 8 squares (and there is an obvious possibility of getting stuck in an infinite loop). Does anyone out there either have such a script I could copy that already does this, or a suggestion of a more elegant and foolproof way to place objects randomly on the screen without having any of them overlap? Thanks in advance, -alex Alexander L. Francis http://web.ics.purdue.edu/~francisa Assistant Professor francisA at purdue.edu Speech, Language & Hearing Sciences ofc. +1 (765) 494-3815 Purdue University lab. +1 (765) 494-7553 500 Oval Drive fax. +1 (765) 494-0771 West Lafayette IN 47907-2038 USA From leisha at decisionresearch.org Mon Sep 24 19:47:16 2007 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Mon, 24 Sep 2007 12:47:16 -0700 Subject: 8 x 8 Latin square design needed Message-ID: Hi, Eprime list, I need a design of an 8 x 8 Latin square. This is *not* an eprime question; I just need a picture of how it's done and thought that someone on the list may know where to find it. Sorry if it's an imposition on the list to ask a non-eprime question. Sincerely, Leisha Wharfield Decision Research Eugene, Oregon, USA From mcfarla9 at msu.edu Mon Sep 24 19:53:39 2007 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 24 Sep 2007 15:53:39 -0400 Subject: 8 x 8 Latin square design needed In-Reply-To: <46F81444.1050407@decisionresearch.org> Message-ID: At 9/24/2007 03:47 PM Monday, you wrote: >Hi, Eprime list, > >I need a design of an 8 x 8 Latin square. This is *not* an eprime >question; I just need a picture of how it's done and thought that >someone on the list may know where to find it. How about http://en.wikipedia.org/wiki/Latin_square -- dkm --- 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 leisha at decisionresearch.org Mon Sep 24 20:17:20 2007 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Mon, 24 Sep 2007 13:17:20 -0700 Subject: 8 x 8 Latin square design needed In-Reply-To: <46F81444.1050407@decisionresearch.org> Message-ID: Thank you, but that one's 4x4. Leisha David McFarlane wrote: > At 9/24/2007 03:47 PM Monday, you wrote: > >> Hi, Eprime list, >> >> I need a design of an 8 x 8 Latin square. This is *not* an eprime >> question; I just need a picture of how it's done and thought that >> someone on the list may know where to find it. > > > How about http://en.wikipedia.org/wiki/Latin_square > > -- dkm > > --- > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- “And then many things happened at the same moment.” From leisha at decisionresearch.org Mon Sep 24 21:01:49 2007 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Mon, 24 Sep 2007 14:01:49 -0700 Subject: 8 x 8 Latin square design needed In-Reply-To: <002e01c7feeb$fb2a1fc0$f17e5f40$@edu> Message-ID: Thanks! You guys are awesome. I'm replying with both solutions in this email so it will go in the archives. Leisha David McFarlane wrote: Leisha, At 9/24/2007 04:17 PM Monday, you wrote: > Thank you, but that one's 4x4. Hmm, I thought the article outlined how to create a Latin Square of any arbitrary order. Following their instructions, here's an example: 1 2 3 4 5 6 7 8 2 3 4 5 6 7 8 1 3 4 5 6 7 8 1 2 4 5 6 7 8 1 2 3 5 6 7 8 1 2 3 4 6 7 8 1 2 3 4 5 7 8 1 2 3 4 5 6 8 1 2 3 4 5 6 7 Now I'm not an expert, but does this look like what you're looking for? Regards, -- dkm Edward Carney wrote: >2 7 8 1 4 5 6 3 >1 8 3 6 7 2 5 4 >8 1 6 3 2 7 4 5 >7 2 1 8 5 4 3 6 >4 5 2 7 6 3 8 1 >3 6 5 4 1 8 7 2 >6 3 4 5 8 1 2 7 >5 4 7 2 3 6 1 8 > >This LS has additional virtues which are cool. It comes from >http://www.borderschess.org/Knight%20Tour%20Latin%20Square.doc. This is >attached as a PDF. > > > >>-----Original Message----- >>From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On >>Behalf Of Leisha Wharfield >>Sent: Monday, September 24, 2007 3:17 PM >>To: David McFarlane >>Cc: eprime at mail.talkbank.org >>Subject: Re: 8 x 8 Latin square design needed >> >>Thank you, but that one's 4x4. >> >>Leisha >> >>David McFarlane wrote: >> >> >> >>>At 9/24/2007 03:47 PM Monday, you wrote: >>> >>> >>> >>>>Hi, Eprime list, >>>> >>>>I need a design of an 8 x 8 Latin square. This is *not* an eprime >>>>question; I just need a picture of how it's done and thought that >>>>someone on the list may know where to find it. >>>> >>>> >>>How about http://en.wikipedia.org/wiki/Latin_square >>> >>>-- dkm >>> >>>--- >>>David McFarlane, Systems Designer >>>Dept. Psychology, Michigan State University >>> >>> >>> From uni at robertdoerr.de Mon Sep 24 20:40:42 2007 From: uni at robertdoerr.de (=?ISO-8859-1?Q?Robert_D=F6rr?=) Date: Mon, 24 Sep 2007 22:40:42 +0200 Subject: 8 x 8 Latin square design needed In-Reply-To: <46F81444.1050407@decisionresearch.org> Message-ID: Hi Leisha, take a look at this example: http://www.borderschess.org/LatinKT2.htm Leisha Wharfield schrieb: > Hi, Eprime list, > > I need a design of an 8 x 8 Latin square. This is *not* an eprime > question; I just need a picture of how it's done and thought that > someone on the list may know where to find it. > > Sorry if it's an imposition on the list to ask a non-eprime question. > > Sincerely, > > Leisha Wharfield > Decision Research > Eugene, Oregon, USA From leisha at decisionresearch.org Mon Sep 24 21:37:38 2007 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Mon, 24 Sep 2007 14:37:38 -0700 Subject: 8 x 8 Latin square design needed In-Reply-To: <46F820C9.4050405@robertdoerr.de> Message-ID: Thanks, What's cool & different about this site is that the designs it presents are less simplistic than some others in that 2 does not always follow 3, for example. This is great! Leisha Robert Dörr wrote: Hi Leisha, take a look at this example: http://www.borderschess.org/LatinKT2.htm Leisha Wharfield schrieb: >Hi, Eprime list, > >I need a design of an 8 x 8 Latin square. This is *not* an eprime >question; I just need a picture of how it's done and thought that >someone on the list may know where to find it. > >Sorry if it's an imposition on the list to ask a non-eprime question. > >Sincerely, > >Leisha Wharfield >Decision Research >Eugene, Oregon, USA > From brandon_cernicky at yahoo.com Tue Sep 25 13:26:51 2007 From: brandon_cernicky at yahoo.com (Brandon Cernicky) Date: Tue, 25 Sep 2007 06:26:51 -0700 Subject: Luck & Vogel (1997)-like task? In-Reply-To: <14001.33661@mail.talkbank.org> Message-ID: This is not a direct reply to your task, but something everyone should be aware of. Note that when you declare (i.e. DIM) variables on one line, if you omit the type, they are treated as a VARIANT which may not be what you intended and could cause rounding or data type conversion issues. So note in the line... dim x0,x1,x2,x3,x4,x5,x6,x7 as integer ...only x7 is an Integer. To declare all of those variables on one line as Integer, the following would be used... Dim x0 As Integer, x1 As Integer, x2 As Integer, x3 As Integer,x4 As Integer,x5 As Integer,x6 As Integer,x7 As Integer KB1794 - INFO: Declaring Multiple Variables on a Single Line in E-Basic http://www.pstnet.com/e-prime/support/kb.asp?TopicID=1794 In addition, consider using the Long data type to avoid overflow errors when using values larger than 32,767. -Brandon ____________________________________________________________________________________ Check out the hottest 2008 models today at Yahoo! Autos. http://autos.yahoo.com/new_cars.html From BRobinso at mprc.umaryland.edu Tue Sep 25 14:01:30 2007 From: BRobinso at mprc.umaryland.edu (Ben Robinson) Date: Tue, 25 Sep 2007 10:01:30 -0400 Subject: Luck & Vogel (1997)-like task? Message-ID: thank you, brandon. i had no idea. >>> Brandon Cernicky 9/25/2007 9:26:51 AM >>> This is not a direct reply to your task, but something everyone should be aware of. Note that when you declare (i.e. DIM) variables on one line, if you omit the type, they are treated as a VARIANT which may not be what you intended and could cause rounding or data type conversion issues. So note in the line... dim x0,x1,x2,x3,x4,x5,x6,x7 as integer ...only x7 is an Integer. To declare all of those variables on one line as Integer, the following would be used... Dim x0 As Integer, x1 As Integer, x2 As Integer, x3 As Integer,x4 As Integer,x5 As Integer,x6 As Integer,x7 As Integer KB1794 - INFO: Declaring Multiple Variables on a Single Line in E-Basic http://www.pstnet.com/e-prime/support/kb.asp?TopicID=1794 In addition, consider using the Long data type to avoid overflow errors when using values larger than 32,767. -Brandon ____________________________________________________________________________________ Check out the hottest 2008 models today at Yahoo! Autos. http://autos.yahoo.com/new_cars.html From francisa at purdue.edu Tue Sep 25 18:10:11 2007 From: francisa at purdue.edu (Alex Francis) Date: Tue, 25 Sep 2007 14:10:11 -0400 Subject: Thanks for all the suggestions! (Luck & Vogel task) Message-ID: Thanks to everyone who responded to my request for (pseudo)code for implementing the Luck & Vogel (1997) visual memory task. The general consensus seems to be that it's relatively easy to do if there are a relatively small number of possible locations for the stimuli (e.g. in a more typical inhibition-of-return type of task with 8 circularly distributed possible stimulus locations) - just pick amongst the possible locations, and go from there. To get something that looks more like the truly random distribution of locations I was seeking, it's also possible to make these regions larger than the stimuli they are to contain, and have more of them than the number of stimuli to be displayed, and then randomly jitter the location of each stimulus within the region selected for it - with most regions empty, and the stimuli distributed randomly with their respective region, the chance of getting two that line up exactly, either vertically or horizontally, should be quite similar to that in a truly random distribution. However, even this still gives a more spread-out, and potentially more grid-like (or circle-like) distribution than I would like unless the number of regions is extremely large. Ultimately, it seems as if allowing for locating any stimulus anywhere on the screen is best done with brute force randomization and double-checking for overlaps, re-randomizing when necessary. If the stimuli are very small (as these are) there is little chance of getting stuck permanently in the loop. I have been greatly aided in this latter endeavor by Candice Morey, who generously shared the code she used to implement the Luck & Vogel (1997) task a few years ago, as described in the excellent paper "When visual and verbal memories compete: Evidence of cross-domain limits in working memory" (Morey & Cowan, 2004, Psychonomic Bulletin & Review, 11(2), 296-301). Thanks, -alex Alexander L. Francis http://web.ics.purdue.edu/~francisa Assistant Professor francisA at purdue.edu Speech, Language & Hearing Sciences ofc. +1 (765) 494-3815 Purdue University lab. +1 (765) 494-7553 500 Oval Drive fax. +1 (765) 494-0771 West Lafayette IN 47907-2038 USA From listman at listserv.linguistlist.org Tue Sep 25 18:18:42 2007 From: listman at listserv.linguistlist.org (Listserv Administrator) Date: Tue, 25 Sep 2007 14:18:42 -0400 Subject: Forwarded mail.... Message-ID: ---------- Forwarded message ---------- Date: Thu, 13 Sep 2007 19:44:51 -0400 (EDT) From: listserv b=kWoO+Sfy7zeMtzPBalmNH81Wk8N6ViUwQMOnfhxCZtaa78TyC3rgLcxwpQZXz4kbqH6RLEmP5iB9C6Ogye2VXnG8kyWy55JX80eZ/0Bbw6w21C02mgEnIVhz+xsDeJosk2Qnskp93/ifP6MiYVaKXDv3SiG/Pf/ZwSwO7Alxg+w= Message-ID: Date: Thu, 13 Sep 2007 18:42:38 -0500 From: "Michelle Schoenleber" To: eprime at mail.talkbank.org Subject: word list exhaustion MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_22980_33205849.1189726958870" Sender: Precedence: List X-LR-SENT-TO: eprime at listserv.linguistlist.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-3.0 (listserv.linguistlist.org [164.76.102.107]); Thu, 13 Sep 2007 19:44:51 -0400 (EDT) ------=_Part_22980_33205849.1189726958870 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi~ This is probably something relatively easy that I just don't have time to work out for myself. The block of words that I have set up includes words from three different lists -- two of which need to be repeated twice during presentation and one of which needs to be repeated three times. I am able to get all of the words to be presented the appropriate number of times, but does anyone know I can get E-prime to exhaust the words within each list before that particular list repeats for the appropriate number of times, while still randomizing the words across the three lists. Thanks so much for your help! M ------=_Part_22980_33205849.1189726958870 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi~
 
This is probably something relatively easy that I just don't have time to work out for myself.
 
The block of words that I have set up includes words from three different lists -- two of which need to be repeated twice during presentation and one of which needs to be repeated three times.  I am able to get all of the words to be presented the appropriate number of times, but does anyone know I can get E-prime to exhaust the words within each list before that particular list repeats for the appropriate number of times, while still randomizing the words across the three lists.
 
Thanks so much for your help!
 
M
------=_Part_22980_33205849.1189726958870-- From tlorat at psychology.ou.edu Tue Sep 25 21:22:33 2007 From: tlorat at psychology.ou.edu (Tim Lorat) Date: Tue, 25 Sep 2007 16:22:33 -0500 Subject: Multiple possible correct answers Message-ID: Hello, I am creating an experiment in which three Digits are presented (Digit1, Digit2, Digit3). The subject has to memorize and later report any one of those three. Is there a way to check for the correct response? If I enter [Digit1][Digit2][Digit3] in the "Correct:" space, it checks versus a concatenation of the three digits (e.g. 824 instead of 8 or 2 or 4). Thanks for your help, Tim Lorat -------------- next part -------------- An HTML attachment was scrubbed... URL: From pauls_postbus at hotmail.com Wed Sep 26 07:36:32 2007 From: pauls_postbus at hotmail.com (Paul Gr) Date: Wed, 26 Sep 2007 09:36:32 +0200 Subject: Multiple possible correct answers In-Reply-To: Message-ID: Hi Tim, Assuming that the subject has to enter his/her answer in an object called TextDisplay1 and that the correct answers are defined as attribute with the name "CorrectResponses", you could use the following inline script to set the accuracy property (to be inserted after TextDisplay1): ' get the correct answers attribute Dim sCorrectResponses as StringsCorrectResponses = c.GetAttrib("CorrectResponses") ' perform a case-insensitive search operation if Instr(sCorrectResponses, TextDisplay1.RESP, 1)=0 then TextDisplay1.ACC = 0else TextDisplay1.ACC = 1end if ' and also save the accuracy as attributec.SetAttrib "TextDisplay1.ACC", TextDisplay1.ACCNote that the Instr function will search for any character included in the "CorrectResponses" attribute, so don't include spaces unless a space is a correct response.Best, Paul Groot VU University Amsterdam From: tlorat at psychology.ou.eduSubject: Multiple possible correct answersTo: eprime at mail.talkbank.orgDate: Tue, 25 Sep 2007 16:22:33 -0500 Hello, I am creating an experiment in which three Digits are presented (Digit1, Digit2, Digit3). The subject has to memorize and later report any one of those three. Is there a way to check for the correct response? If I enter [Digit1][Digit2][Digit3] in the "Correct:" space, it checks versus a concatenation of the three digits (e.g. 824 instead of 8 or 2 or 4). Thanks for your help, Tim Lorat _________________________________________________________________ De leukste video's en de beste concerten vind je op MSN Video http://video.nl.msn.com/v/nl-nl/v.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: From dolores888 at hotmail.com Thu Sep 27 14:46:32 2007 From: dolores888 at hotmail.com (dolores ma) Date: Thu, 27 Sep 2007 16:46:32 +0200 Subject: POST-DOC POSITION IN SPAIN In-Reply-To: <733979.39819.qm@web33008.mail.mud.yahoo.com> Message-ID: Hi, POST-DOC POSITION IN SPAIN: 4 years contract, from January 1, 2008 The researcher would collaborate in two grants about the Neurobiology of Specific Language Impairment at a lab with 128-channel Neuroscan system. 30.000 €/year Deadline: October 20, 2007! Please, for more info email me at girbau at psb.uji.es. Thank you. Best regards, Dolors Girbau, PhD Associate Professor University Jaume I Castelló de la Plana, Spain http://www.humcom.uji.es _________________________________________________________________ Llama a tus amigos de PC a PC: ¡Es GRATIS! http://get.live.com/messenger/overview -------------- next part -------------- An HTML attachment was scrubbed... URL: From mac13 at psu.edu Thu Sep 27 15:17:04 2007 From: mac13 at psu.edu (Mark A. Casteel) Date: Thu, 27 Sep 2007 11:17:04 -0400 Subject: Different color text on the opening instructions screen Message-ID: Hi. I realize this should be an easy thing to figure out, but I can't seem to get it to work. I have an opening instructions screen where I tell the subjects that a Get Ready signal will appear showing where the text stories will appear in the left margin. The instructions are in black on a white background, but I would like the "Get Ready" to appear in red, as it will in the actual experiment. How can I do this easily? TIA -- Mark ********************************* Mark A. Casteel, Ph.D. Associate Professor of Psychology Penn State York 1031 Edgecomb Ave. York, PA 17403 (717) 771-4028 ********************************* From BRobinso at mprc.umaryland.edu Thu Sep 27 15:19:31 2007 From: BRobinso at mprc.umaryland.edu (Ben Robinson) Date: Thu, 27 Sep 2007 11:19:31 -0400 Subject: Different color text on the opening instructions screen Message-ID: it's not as easy as it should be. you might need to use a Slide Object, with two different Text Objects embedded in it. make one text object for the instructions in black type, and the other text object for the "Get Ready" prompt in red type. ben robinson >>> "Mark A. Casteel" 9/27/2007 11:17 AM >>> Hi. I realize this should be an easy thing to figure out, but I can't seem to get it to work. I have an opening instructions screen where I tell the subjects that a Get Ready signal will appear showing where the text stories will appear in the left margin. The instructions are in black on a white background, but I would like the "Get Ready" to appear in red, as it will in the actual experiment. How can I do this easily? TIA -- Mark ********************************* Mark A. Casteel, Ph.D. Associate Professor of Psychology Penn State York 1031 Edgecomb Ave. York, PA 17403 (717) 771-4028 ********************************* From macw at cmu.edu Sat Sep 29 23:39:36 2007 From: macw at cmu.edu (Brian MacWhinney) Date: Sat, 29 Sep 2007 19:39:36 -0400 Subject: moving the mailing list Message-ID: Dear E-Prime Readers, I have been finding that administration of the E-Prime mailing list through the mailing system here at CMU is taking up a bit too much of my time, particularly because I have been traveling a lot lately. Unfortunately, CMU doesn't provide me a good way to allow users to control their own subscribing and unsubscribing without my hand intervention. So, I have been thinking about the possibility of moving the mailing list to Google Groups, where these processes are controlled by the individual subscriber. However, before exploring this possibility, I wanted to see if anyone would be interested in taking over administration through their own local university mail system. If you are interested, please contact me directly (macw at cmu.edu). I would also like to draw people's attention to the PST User Forum at http://www.pstnet.com/forum which can also serve many of the same functions currently being served by the eprime at mail.talkbank.org mailing list. That forum has been operative now for over a year and has been well received. -- Brian MacWhinney, Psychology, CMU From bermanm at umich.edu Tue Sep 4 18:51:22 2007 From: bermanm at umich.edu (Marc Berman) Date: Tue, 4 Sep 2007 14:51:22 -0400 Subject: Selecting trialtypes from a larger set without replacement Message-ID: Hi, I'm currently coding a study where I have a large set of trials that I want to present (144 many of which are unique), but only want to have blocks of 36 trials with rest breaks in between. I'm wondering if I nest the blocklist, into my totaltrial list, if I will be able to sample from the 144 trials, 4 times, and get all of the 144 trials without replacement. If this will not work, is there some other way to do it? Thanks so much and hopefully, this is clear. Thanks in advance, -Marc From BRobinso at mprc.umaryland.edu Wed Sep 5 18:37:07 2007 From: BRobinso at mprc.umaryland.edu (Ben Robinson) Date: Wed, 5 Sep 2007 14:37:07 -0400 Subject: Selecting trialtypes from a larger set without replacement Message-ID: hi marc. here's how i would do this. make a new list object. first row: blockproc. second row: breakproc. 3rd row: blockproc. then breakproc then blockproc then breakproc then blockproc. that gives you 4 blocks, with a break procedure between each. on the blockproc timeline set your totaltriallist. set the totaltriallist to Random Selection, and to Exit List after 36 trials, and to Reset Sampling until all samples have been used. this will randomly select 36 of your 144 trials, then exit the list. the next time the list is run, during the next blockproc, the sampling will resume where it left-off - never again pulling any of the 36 already-sampled trials. ben robinson >>> Marc Berman 9/4/2007 2:51 PM >>> Hi, I'm currently coding a study where I have a large set of trials that I want to present (144 many of which are unique), but only want to have blocks of 36 trials with rest breaks in between. I'm wondering if I nest the blocklist, into my totaltrial list, if I will be able to sample from the 144 trials, 4 times, and get all of the 144 trials without replacement. If this will not work, is there some other way to do it? Thanks so much and hopefully, this is clear. Thanks in advance, -Marc From venug001 at bama.ua.edu Thu Sep 6 20:39:30 2007 From: venug001 at bama.ua.edu (Gopakumar Venugopalan) Date: Thu, 6 Sep 2007 15:39:30 -0500 Subject: &HD200 Message-ID: Hello everyone what is command &HD200, if &HD378 is an address, what is that (&HD200) value referring to? Thanks in advance. Secondly, if I were to assign a trigger value to each MEG condition (Control, word, pseudoword) then do I simply list say 1, 9, 17 or 33 in a column called "trigger" in the stimlist? Will that then tag my MEG files appropriately? Thanks in advance. Warm regards gopa From pauls_postbus at hotmail.com Thu Sep 6 20:50:26 2007 From: pauls_postbus at hotmail.com (Paul Gr) Date: Thu, 6 Sep 2007 22:50:26 +0200 Subject: &HD200 In-Reply-To: <1189111170.46e0658297b0b@bamamail.ua.edu> Message-ID: hi gopa, In e-basic, hexadecimal values are prefixed with &H. So, &HD200 denotes the hexadecimal value D200, which is the same as 53760 in base-10. You can use the windows calulator in scientific mode to convert hex to decimal. If you put the trigger values in a list object then you should also use the c.GetAttrib('trigger') call in your script at the appropriate place in your inline script. For example: WritePort &H378, c.GetAttrib('trigger') or: mystim.OffsetSignalEnabled = Truemystim.OnsetSignalEnabled = True mystim.OffsetSignalPort = &H378 mystim.OnsetSignalPort = &H378 mystim.OffsetSignalData = &H00 mystim.OnsetSignalData = c.GetAttrib('trigger') best paul Paul Groot VU University Amsterdam > Date: Thu, 6 Sep 2007 15:39:30 -0500> From: venug001 at bama.ua.edu> To: eprime at mail.talkbank.org> Subject: &HD200> > Hello everyone what is command &HD200, if &HD378 is an address, what > is that (&HD200) value referring to?> Thanks in advance.> > Secondly, if I were to assign a trigger value to each MEG condition > (Control, word, pseudoword) then do I simply list say 1, 9, 17 or 33 > in a column called "trigger" in the stimlist? Will that then tag my > MEG files appropriately? Thanks in advance.> Warm regards> gopa> > > > > > _________________________________________________________________ De mooiste afbeeldingen van Jessica Simpson vind je met Live Search http://search.live.com/images/results.aspx?q=jessica%20simpson&FORM=BIRE -------------- next part -------------- An HTML attachment was scrubbed... URL: From damch at uottawa.ca Wed Sep 12 12:01:49 2007 From: damch at uottawa.ca (Alain M. Desrochers) Date: Wed, 12 Sep 2007 08:01:49 -0400 Subject: How to interface a MIDI keyboard with E-Prime Message-ID: Hello E-Prime users, I am calling on the expertise of the E-Prime user community for suggestions on how to interface a digital keyboard (piano) with E-Prime. I would like to investigate how piano students learn to decode musical notation. To do so I would like to present musical score on the monitor and record participants' responses through a digital keyboard with a MIDI interface. The primary hurdle to overcome is to get E-Prime to receive and record responses to the keyboard with accurate time stamping and response detail (e.g., the key chosen, the force applied, the duration of the key press). May I ask for suggestions, recommendations or directions on how such an interface could be developed? Thank you in advance for your assistance. Sincerely, Alain Desrochers School of Psychology University of Ottawa Ottawa, Canada -------------- next part -------------- An HTML attachment was scrubbed... URL: From pauls_postbus at hotmail.com Wed Sep 12 14:16:43 2007 From: pauls_postbus at hotmail.com (Paul Gr) Date: Wed, 12 Sep 2007 16:16:43 +0200 Subject: How to interface a MIDI keyboard with E-Prime In-Reply-To: <3F5C7E60AF962A4C87615893F1A4310B0259283B@MSMAIL2.uottawa.o.univ> Message-ID: Hello Alain, Although interfacing MIDI equipment is a completely new topic for me, you might find the folowing helpful. I can think of the following approaches to interface EPrime to MIDI devices: 1) Use an existing software library to establish a connection with the Windows audio/MIDI drivers. This would be the preferred method because you only have to create EPrime inline script. However, the difficulty with this approach is that there is no trivial implementation possible to handle time critical input events in EPrime. (This would normally require an EPrime compatible input device object.) How MIDI input events should be handled is described in the ?Inputting MIDI data? at http://www.borg.com/~jglatt/tech/lowmidi.htm. If you don?t require accurate time stamps on the ?keystroke? events, then it might be possible to use the so called polling technique to handle all input. Sending information (i.e. commands) to MIDI devices should not be a big problem with this technique. The low level MIDI application programming interface (API) is described at the microsoft developers site: http://msdn2.microsoft.com/en-us/library/ms712733.aspx 2) Use a dedicated hardware interface that maps MIDI input events to one of the input devices which are supported by EPrime (i.e. parallel printer port, RS232, ?) The advantage of this approach is that (translated) keystrokes can be handled very accurately by EPrime itself. The downside is that you need a special piece of hardware. If development of such a piece of digital hardware yourself is not an option, then you could consider having a second computer that interfaces between MIDI and one of the input ports (such as the serial RS232 port) at the EPrime side. You still have to create (or modify) an application to handle all I/O at the interfacing PC. 3) In theory it should also be possible to bypass the windows MIDI API and implement the serial MIDI protocol in EPrime inline script to interface directly to the MIDI hardware. I wouldn?t advise this though, because the script could become very complex and will not be very easy to merge with the experiment itself. Perhaps other E-Prime or MIDI expert have alternative suggestions. best,Paul Paul Groot VU University, Amsterdam Subject: How to interface a MIDI keyboard with E-PrimeDate: Wed, 12 Sep 2007 08:01:49 -0400From: damch at uottawa.caTo: eprime at mail.talkbank.org Hello E-Prime users, I am calling on the expertise of the E-Prime user community for suggestions on how to interface a digital keyboard (piano) with E-Prime. I would like to investigate how piano students learn to decode musical notation. To do so I would like to present musical score on the monitor and record participants? responses through a digital keyboard with a MIDI interface. The primary hurdle to overcome is to get E-Prime to receive and record responses to the keyboard with accurate time stamping and response detail (e.g., the key chosen, the force applied, the duration of the key press). May I ask for suggestions, recommendations or directions on how such an interface could be developed? Thank you in advance for your assistance. Sincerely, Alain Desrochers School of Psychology University of Ottawa Ottawa, Canada _________________________________________________________________ Jouw nieuws en entertainment, vind je op MSN.nl! http://nl.msn.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From brobinso at mprc.umaryland.edu Fri Sep 14 12:25:19 2007 From: brobinso at mprc.umaryland.edu (Ben Robinson) Date: Fri, 14 Sep 2007 08:25:19 -0400 Subject: word list exhaustion Message-ID: so you have 3 lists of words: wordslist1, wordslist2, wordslist3. let's say each list has 10 words, one word per row, in a single column. call that column, "word". each row has a weight of '1'. set the properties of each of these three lists to random selection, and exit list after 1 sample. now you just need a trial list with three rows. call it triallist. set it to random selection. each row calls the same procedure, 'displaywordproc', but each has a different word list nested on it. row 1 will have wordslist1 nested ([wordslist1]); row two will have wordslist2 nested; row 3 has wordslist3. because wordslist1 and wordslist2 need to call all their words twice, and each has 10 words, both lists will need to run 20 times (twice the number of words in each list). set the weight for rows one and two of your triallist to 20 and 20. row three will need a weight of 30 (three times the number of words in wordslist3). in your displaywordsproc place a TextDisplay object, and in the center of it type '[word]' (don't type the quotes). that should do it. the big list should run 70 times (20+20+30), each time calling randomly from one of your three nested wordslists. each time a wordslist is called it will randomly select a word from the 'word' column to be presented in the middle of your textdisplay object. ben >>> "Michelle Schoenleber" 09/13/07 7:42 PM >>> Hi~ This is probably something relatively easy that I just don't have time to work out for myself. The block of words that I have set up includes words from three different lists -- two of which need to be repeated twice during presentation and one of which needs to be repeated three times. I am able to get all of the words to be presented the appropriate number of times, but does anyone know I can get E-prime to exhaust the words within each list before that particular list repeats for the appropriate number of times, while still randomizing the words across the three lists. Thanks so much for your help! M From Nelly-van-der.Meer at unilever.com Thu Sep 20 11:52:17 2007 From: Nelly-van-der.Meer at unilever.com (Meer, Nelly-van-der) Date: Thu, 20 Sep 2007 12:52:17 +0100 Subject: serial seven test in E-prime Message-ID: Dear all, I was wondering whether someone could help this lay-person who tries to programme the serial seven test in E-prime. The task goes as follows: Serial Sevens involves presenting a participant with a starting number from which they must subtract 7, then subtract 7 from the resultant number and so on. A randomly generated starting number between 800 and 999, which disappears at the first key-press, is displayed on the monitor of a desktop computer. Responses are made in the form of three-digit numbers, which are recorded via the numeric keypad. Each key-press results in an asterisk being displayed in the first, second or third position, as appropriate, in a box on the screen. Pressing the 'enter' key signals the end of each response and clears the three asterisks in the box ready for the next three-digit number. Duration ot the task: 2 minutes. The task is scored for both total number of subtractions and number of errors. In the case of a mistake, subsequent responses are scored as positive if they are correct in relation to the new number. This task is particularly difficult to design because there are no set correct and incorrect answers, as this relies on the previous response. However, I am sure that it is possible to programme E-prime to determine whether an answer is correct based on a previous answer.... but how...? Thank you very much in advance for your responses, Nelly van der Meer -------------- next part -------------- An HTML attachment was scrubbed... URL: From francisa at purdue.edu Fri Sep 21 16:51:04 2007 From: francisa at purdue.edu (Alex Francis) Date: Fri, 21 Sep 2007 12:51:04 -0400 Subject: Luck & Vogel (1997)-like task? Message-ID: Greetings, I need to present a task similar to one used by Luck & Vogel (1997, "The capacity of visual working memory for features and conjunctions", Nature 390) in which, on each trial, 8 distinct (non-overlapping) color patches are presented at random locations on the screen. I can come up with a brute-force way to do this in eprime, randomizing X- and Y-axis frame location values, but the amount of randomization, comparison and re-randomization seems prohibitive for 8 squares (and there is an obvious possibility of getting stuck in an infinite loop). Does anyone out there either have such a script I could copy that already does this, or a suggestion of a more elegant and foolproof way to place objects randomly on the screen without having any of them overlap? Thanks in advance, -alex Alexander L. Francis http://web.ics.purdue.edu/~francisa Assistant Professor francisA at purdue.edu Speech, Language & Hearing Sciences ofc. +1 (765) 494-3815 Purdue University lab. +1 (765) 494-7553 500 Oval Drive fax. +1 (765) 494-0771 West Lafayette IN 47907-2038 USA From brandon_cernicky at yahoo.com Fri Sep 21 17:14:00 2007 From: brandon_cernicky at yahoo.com (Brandon Cernicky) Date: Fri, 21 Sep 2007 10:14:00 -0700 Subject: serial seven test in E-prime In-Reply-To: <14001.33661@mail.talkbank.org> Message-ID: A bootstrap to what might be a solution at http://support.pstnet.com/forum/Topic641-5-1.aspx where an example is attached. -Brandon ____________________________________________________________________________________ Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/ From BRobinso at mprc.umaryland.edu Mon Sep 24 15:36:25 2007 From: BRobinso at mprc.umaryland.edu (Ben Robinson) Date: Mon, 24 Sep 2007 11:36:25 -0400 Subject: Luck & Vogel (1997)-like task? Message-ID: there's no way to avoid randomizing the x and y axis values, but there should be no need for comparison and rerandomization. rather than randomize to the whole screen, divide the screen into 8 non-overlapping regions, perhaps around the circumference of an imaginary circle, perhaps not. make sure that there's enough of a gap between your regions that if your shape is drawn all the way on the edge of one region it won't be covering up some of the space in the region next to it. that means, if your shapes are 20 pixels wide, make sure there are at least 20 unused pixels between regions. dim x0,x1,x2,x3,x4,x5,x6,x7 as integer dim y0,y1,y2,y3,y4,y5,y6,y7 as integer x0 = random(region0left, region0right) y0 = random(region0top, region0bottom) etc. then i can think of two ways to use these x and y axis values. if you are using canvas.draw you would calculate the x's and y's at the beginning of each trial. if you wanted to, instead, use a list object, before the start of your block place an inline object with a For loop in it: For i = 1 to ListObject.Size x0 = random(region0left, region0right) y0 = random(region0top, region0bottom) etc. ListObject.SetAttrib i, "x0", x0 ListObject.SetAttrib i, "y0", y0 etc. Next i ListObject.Reset in your trial procedure just place a slide object with 8 different TextObjects. have the x and y axis for your text object pull from the [x0] and [y0] columns on your list. i hope this makes sense. it's not that difficult, but it's also not that easy to describe in a succinct manner. ben robinson >>> Alex Francis 9/21/2007 12:51 PM >>> Greetings, I need to present a task similar to one used by Luck & Vogel (1997, "The capacity of visual working memory for features and conjunctions", Nature 390) in which, on each trial, 8 distinct (non-overlapping) color patches are presented at random locations on the screen. I can come up with a brute-force way to do this in eprime, randomizing X- and Y-axis frame location values, but the amount of randomization, comparison and re-randomization seems prohibitive for 8 squares (and there is an obvious possibility of getting stuck in an infinite loop). Does anyone out there either have such a script I could copy that already does this, or a suggestion of a more elegant and foolproof way to place objects randomly on the screen without having any of them overlap? Thanks in advance, -alex Alexander L. Francis http://web.ics.purdue.edu/~francisa Assistant Professor francisA at purdue.edu Speech, Language & Hearing Sciences ofc. +1 (765) 494-3815 Purdue University lab. +1 (765) 494-7553 500 Oval Drive fax. +1 (765) 494-0771 West Lafayette IN 47907-2038 USA From leisha at decisionresearch.org Mon Sep 24 19:47:16 2007 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Mon, 24 Sep 2007 12:47:16 -0700 Subject: 8 x 8 Latin square design needed Message-ID: Hi, Eprime list, I need a design of an 8 x 8 Latin square. This is *not* an eprime question; I just need a picture of how it's done and thought that someone on the list may know where to find it. Sorry if it's an imposition on the list to ask a non-eprime question. Sincerely, Leisha Wharfield Decision Research Eugene, Oregon, USA From mcfarla9 at msu.edu Mon Sep 24 19:53:39 2007 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 24 Sep 2007 15:53:39 -0400 Subject: 8 x 8 Latin square design needed In-Reply-To: <46F81444.1050407@decisionresearch.org> Message-ID: At 9/24/2007 03:47 PM Monday, you wrote: >Hi, Eprime list, > >I need a design of an 8 x 8 Latin square. This is *not* an eprime >question; I just need a picture of how it's done and thought that >someone on the list may know where to find it. How about http://en.wikipedia.org/wiki/Latin_square -- dkm --- 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 leisha at decisionresearch.org Mon Sep 24 20:17:20 2007 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Mon, 24 Sep 2007 13:17:20 -0700 Subject: 8 x 8 Latin square design needed In-Reply-To: <46F81444.1050407@decisionresearch.org> Message-ID: Thank you, but that one's 4x4. Leisha David McFarlane wrote: > At 9/24/2007 03:47 PM Monday, you wrote: > >> Hi, Eprime list, >> >> I need a design of an 8 x 8 Latin square. This is *not* an eprime >> question; I just need a picture of how it's done and thought that >> someone on the list may know where to find it. > > > How about http://en.wikipedia.org/wiki/Latin_square > > -- dkm > > --- > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- ?And then many things happened at the same moment.? From leisha at decisionresearch.org Mon Sep 24 21:01:49 2007 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Mon, 24 Sep 2007 14:01:49 -0700 Subject: 8 x 8 Latin square design needed In-Reply-To: <002e01c7feeb$fb2a1fc0$f17e5f40$@edu> Message-ID: Thanks! You guys are awesome. I'm replying with both solutions in this email so it will go in the archives. Leisha David McFarlane wrote: Leisha, At 9/24/2007 04:17 PM Monday, you wrote: > Thank you, but that one's 4x4. Hmm, I thought the article outlined how to create a Latin Square of any arbitrary order. Following their instructions, here's an example: 1 2 3 4 5 6 7 8 2 3 4 5 6 7 8 1 3 4 5 6 7 8 1 2 4 5 6 7 8 1 2 3 5 6 7 8 1 2 3 4 6 7 8 1 2 3 4 5 7 8 1 2 3 4 5 6 8 1 2 3 4 5 6 7 Now I'm not an expert, but does this look like what you're looking for? Regards, -- dkm Edward Carney wrote: >2 7 8 1 4 5 6 3 >1 8 3 6 7 2 5 4 >8 1 6 3 2 7 4 5 >7 2 1 8 5 4 3 6 >4 5 2 7 6 3 8 1 >3 6 5 4 1 8 7 2 >6 3 4 5 8 1 2 7 >5 4 7 2 3 6 1 8 > >This LS has additional virtues which are cool. It comes from >http://www.borderschess.org/Knight%20Tour%20Latin%20Square.doc. This is >attached as a PDF. > > > >>-----Original Message----- >>From: eprime at mail.talkbank.org [mailto:eprime at mail.talkbank.org] On >>Behalf Of Leisha Wharfield >>Sent: Monday, September 24, 2007 3:17 PM >>To: David McFarlane >>Cc: eprime at mail.talkbank.org >>Subject: Re: 8 x 8 Latin square design needed >> >>Thank you, but that one's 4x4. >> >>Leisha >> >>David McFarlane wrote: >> >> >> >>>At 9/24/2007 03:47 PM Monday, you wrote: >>> >>> >>> >>>>Hi, Eprime list, >>>> >>>>I need a design of an 8 x 8 Latin square. This is *not* an eprime >>>>question; I just need a picture of how it's done and thought that >>>>someone on the list may know where to find it. >>>> >>>> >>>How about http://en.wikipedia.org/wiki/Latin_square >>> >>>-- dkm >>> >>>--- >>>David McFarlane, Systems Designer >>>Dept. Psychology, Michigan State University >>> >>> >>> From uni at robertdoerr.de Mon Sep 24 20:40:42 2007 From: uni at robertdoerr.de (=?ISO-8859-1?Q?Robert_D=F6rr?=) Date: Mon, 24 Sep 2007 22:40:42 +0200 Subject: 8 x 8 Latin square design needed In-Reply-To: <46F81444.1050407@decisionresearch.org> Message-ID: Hi Leisha, take a look at this example: http://www.borderschess.org/LatinKT2.htm Leisha Wharfield schrieb: > Hi, Eprime list, > > I need a design of an 8 x 8 Latin square. This is *not* an eprime > question; I just need a picture of how it's done and thought that > someone on the list may know where to find it. > > Sorry if it's an imposition on the list to ask a non-eprime question. > > Sincerely, > > Leisha Wharfield > Decision Research > Eugene, Oregon, USA From leisha at decisionresearch.org Mon Sep 24 21:37:38 2007 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Mon, 24 Sep 2007 14:37:38 -0700 Subject: 8 x 8 Latin square design needed In-Reply-To: <46F820C9.4050405@robertdoerr.de> Message-ID: Thanks, What's cool & different about this site is that the designs it presents are less simplistic than some others in that 2 does not always follow 3, for example. This is great! Leisha Robert D?rr wrote: Hi Leisha, take a look at this example: http://www.borderschess.org/LatinKT2.htm Leisha Wharfield schrieb: >Hi, Eprime list, > >I need a design of an 8 x 8 Latin square. This is *not* an eprime >question; I just need a picture of how it's done and thought that >someone on the list may know where to find it. > >Sorry if it's an imposition on the list to ask a non-eprime question. > >Sincerely, > >Leisha Wharfield >Decision Research >Eugene, Oregon, USA > From brandon_cernicky at yahoo.com Tue Sep 25 13:26:51 2007 From: brandon_cernicky at yahoo.com (Brandon Cernicky) Date: Tue, 25 Sep 2007 06:26:51 -0700 Subject: Luck & Vogel (1997)-like task? In-Reply-To: <14001.33661@mail.talkbank.org> Message-ID: This is not a direct reply to your task, but something everyone should be aware of. Note that when you declare (i.e. DIM) variables on one line, if you omit the type, they are treated as a VARIANT which may not be what you intended and could cause rounding or data type conversion issues. So note in the line... dim x0,x1,x2,x3,x4,x5,x6,x7 as integer ...only x7 is an Integer. To declare all of those variables on one line as Integer, the following would be used... Dim x0 As Integer, x1 As Integer, x2 As Integer, x3 As Integer,x4 As Integer,x5 As Integer,x6 As Integer,x7 As Integer KB1794 - INFO: Declaring Multiple Variables on a Single Line in E-Basic http://www.pstnet.com/e-prime/support/kb.asp?TopicID=1794 In addition, consider using the Long data type to avoid overflow errors when using values larger than 32,767. -Brandon ____________________________________________________________________________________ Check out the hottest 2008 models today at Yahoo! Autos. http://autos.yahoo.com/new_cars.html From BRobinso at mprc.umaryland.edu Tue Sep 25 14:01:30 2007 From: BRobinso at mprc.umaryland.edu (Ben Robinson) Date: Tue, 25 Sep 2007 10:01:30 -0400 Subject: Luck & Vogel (1997)-like task? Message-ID: thank you, brandon. i had no idea. >>> Brandon Cernicky 9/25/2007 9:26:51 AM >>> This is not a direct reply to your task, but something everyone should be aware of. Note that when you declare (i.e. DIM) variables on one line, if you omit the type, they are treated as a VARIANT which may not be what you intended and could cause rounding or data type conversion issues. So note in the line... dim x0,x1,x2,x3,x4,x5,x6,x7 as integer ...only x7 is an Integer. To declare all of those variables on one line as Integer, the following would be used... Dim x0 As Integer, x1 As Integer, x2 As Integer, x3 As Integer,x4 As Integer,x5 As Integer,x6 As Integer,x7 As Integer KB1794 - INFO: Declaring Multiple Variables on a Single Line in E-Basic http://www.pstnet.com/e-prime/support/kb.asp?TopicID=1794 In addition, consider using the Long data type to avoid overflow errors when using values larger than 32,767. -Brandon ____________________________________________________________________________________ Check out the hottest 2008 models today at Yahoo! Autos. http://autos.yahoo.com/new_cars.html From francisa at purdue.edu Tue Sep 25 18:10:11 2007 From: francisa at purdue.edu (Alex Francis) Date: Tue, 25 Sep 2007 14:10:11 -0400 Subject: Thanks for all the suggestions! (Luck & Vogel task) Message-ID: Thanks to everyone who responded to my request for (pseudo)code for implementing the Luck & Vogel (1997) visual memory task. The general consensus seems to be that it's relatively easy to do if there are a relatively small number of possible locations for the stimuli (e.g. in a more typical inhibition-of-return type of task with 8 circularly distributed possible stimulus locations) - just pick amongst the possible locations, and go from there. To get something that looks more like the truly random distribution of locations I was seeking, it's also possible to make these regions larger than the stimuli they are to contain, and have more of them than the number of stimuli to be displayed, and then randomly jitter the location of each stimulus within the region selected for it - with most regions empty, and the stimuli distributed randomly with their respective region, the chance of getting two that line up exactly, either vertically or horizontally, should be quite similar to that in a truly random distribution. However, even this still gives a more spread-out, and potentially more grid-like (or circle-like) distribution than I would like unless the number of regions is extremely large. Ultimately, it seems as if allowing for locating any stimulus anywhere on the screen is best done with brute force randomization and double-checking for overlaps, re-randomizing when necessary. If the stimuli are very small (as these are) there is little chance of getting stuck permanently in the loop. I have been greatly aided in this latter endeavor by Candice Morey, who generously shared the code she used to implement the Luck & Vogel (1997) task a few years ago, as described in the excellent paper "When visual and verbal memories compete: Evidence of cross-domain limits in working memory" (Morey & Cowan, 2004, Psychonomic Bulletin & Review, 11(2), 296-301). Thanks, -alex Alexander L. Francis http://web.ics.purdue.edu/~francisa Assistant Professor francisA at purdue.edu Speech, Language & Hearing Sciences ofc. +1 (765) 494-3815 Purdue University lab. +1 (765) 494-7553 500 Oval Drive fax. +1 (765) 494-0771 West Lafayette IN 47907-2038 USA From listman at listserv.linguistlist.org Tue Sep 25 18:18:42 2007 From: listman at listserv.linguistlist.org (Listserv Administrator) Date: Tue, 25 Sep 2007 14:18:42 -0400 Subject: Forwarded mail.... Message-ID: ---------- Forwarded message ---------- Date: Thu, 13 Sep 2007 19:44:51 -0400 (EDT) From: listserv b=kWoO+Sfy7zeMtzPBalmNH81Wk8N6ViUwQMOnfhxCZtaa78TyC3rgLcxwpQZXz4kbqH6RLEmP5iB9C6Ogye2VXnG8kyWy55JX80eZ/0Bbw6w21C02mgEnIVhz+xsDeJosk2Qnskp93/ifP6MiYVaKXDv3SiG/Pf/ZwSwO7Alxg+w= Message-ID: Date: Thu, 13 Sep 2007 18:42:38 -0500 From: "Michelle Schoenleber" To: eprime at mail.talkbank.org Subject: word list exhaustion MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_22980_33205849.1189726958870" Sender: Precedence: List X-LR-SENT-TO: eprime at listserv.linguistlist.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-3.0 (listserv.linguistlist.org [164.76.102.107]); Thu, 13 Sep 2007 19:44:51 -0400 (EDT) ------=_Part_22980_33205849.1189726958870 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi~ This is probably something relatively easy that I just don't have time to work out for myself. The block of words that I have set up includes words from three different lists -- two of which need to be repeated twice during presentation and one of which needs to be repeated three times. I am able to get all of the words to be presented the appropriate number of times, but does anyone know I can get E-prime to exhaust the words within each list before that particular list repeats for the appropriate number of times, while still randomizing the words across the three lists. Thanks so much for your help! M ------=_Part_22980_33205849.1189726958870 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi~
 
This is probably something relatively easy that I just don't have time to work out for myself.
 
The block of words that I have set up includes words from three different lists -- two of which need to be repeated twice during presentation and one of which needs to be repeated three times.  I am able to get all of the words to be presented the appropriate number of times, but does anyone know I can get E-prime to exhaust the words within each list before that particular list repeats for the appropriate number of times, while still randomizing the words across the three lists.
 
Thanks so much for your help!
 
M
------=_Part_22980_33205849.1189726958870-- From tlorat at psychology.ou.edu Tue Sep 25 21:22:33 2007 From: tlorat at psychology.ou.edu (Tim Lorat) Date: Tue, 25 Sep 2007 16:22:33 -0500 Subject: Multiple possible correct answers Message-ID: Hello, I am creating an experiment in which three Digits are presented (Digit1, Digit2, Digit3). The subject has to memorize and later report any one of those three. Is there a way to check for the correct response? If I enter [Digit1][Digit2][Digit3] in the "Correct:" space, it checks versus a concatenation of the three digits (e.g. 824 instead of 8 or 2 or 4). Thanks for your help, Tim Lorat -------------- next part -------------- An HTML attachment was scrubbed... URL: From pauls_postbus at hotmail.com Wed Sep 26 07:36:32 2007 From: pauls_postbus at hotmail.com (Paul Gr) Date: Wed, 26 Sep 2007 09:36:32 +0200 Subject: Multiple possible correct answers In-Reply-To: Message-ID: Hi Tim, Assuming that the subject has to enter his/her answer in an object called TextDisplay1 and that the correct answers are defined as attribute with the name "CorrectResponses", you could use the following inline script to set the accuracy property (to be inserted after TextDisplay1): ' get the correct answers attribute Dim sCorrectResponses as StringsCorrectResponses = c.GetAttrib("CorrectResponses") ' perform a case-insensitive search operation if Instr(sCorrectResponses, TextDisplay1.RESP, 1)=0 then TextDisplay1.ACC = 0else TextDisplay1.ACC = 1end if ' and also save the accuracy as attributec.SetAttrib "TextDisplay1.ACC", TextDisplay1.ACCNote that the Instr function will search for any character included in the "CorrectResponses" attribute, so don't include spaces unless a space is a correct response.Best, Paul Groot VU University Amsterdam From: tlorat at psychology.ou.eduSubject: Multiple possible correct answersTo: eprime at mail.talkbank.orgDate: Tue, 25 Sep 2007 16:22:33 -0500 Hello, I am creating an experiment in which three Digits are presented (Digit1, Digit2, Digit3). The subject has to memorize and later report any one of those three. Is there a way to check for the correct response? If I enter [Digit1][Digit2][Digit3] in the "Correct:" space, it checks versus a concatenation of the three digits (e.g. 824 instead of 8 or 2 or 4). Thanks for your help, Tim Lorat _________________________________________________________________ De leukste video's en de beste concerten vind je op MSN Video http://video.nl.msn.com/v/nl-nl/v.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: From dolores888 at hotmail.com Thu Sep 27 14:46:32 2007 From: dolores888 at hotmail.com (dolores ma) Date: Thu, 27 Sep 2007 16:46:32 +0200 Subject: POST-DOC POSITION IN SPAIN In-Reply-To: <733979.39819.qm@web33008.mail.mud.yahoo.com> Message-ID: Hi, POST-DOC POSITION IN SPAIN: 4 years contract, from January 1, 2008 The researcher would collaborate in two grants about the Neurobiology of Specific Language Impairment at a lab with 128-channel Neuroscan system. 30.000 ?/year Deadline: October 20, 2007! Please, for more info email me at girbau at psb.uji.es. Thank you. Best regards, Dolors Girbau, PhD Associate Professor University Jaume I Castell? de la Plana, Spain http://www.humcom.uji.es _________________________________________________________________ Llama a tus amigos de PC a PC: ?Es GRATIS! http://get.live.com/messenger/overview -------------- next part -------------- An HTML attachment was scrubbed... URL: From mac13 at psu.edu Thu Sep 27 15:17:04 2007 From: mac13 at psu.edu (Mark A. Casteel) Date: Thu, 27 Sep 2007 11:17:04 -0400 Subject: Different color text on the opening instructions screen Message-ID: Hi. I realize this should be an easy thing to figure out, but I can't seem to get it to work. I have an opening instructions screen where I tell the subjects that a Get Ready signal will appear showing where the text stories will appear in the left margin. The instructions are in black on a white background, but I would like the "Get Ready" to appear in red, as it will in the actual experiment. How can I do this easily? TIA -- Mark ********************************* Mark A. Casteel, Ph.D. Associate Professor of Psychology Penn State York 1031 Edgecomb Ave. York, PA 17403 (717) 771-4028 ********************************* From BRobinso at mprc.umaryland.edu Thu Sep 27 15:19:31 2007 From: BRobinso at mprc.umaryland.edu (Ben Robinson) Date: Thu, 27 Sep 2007 11:19:31 -0400 Subject: Different color text on the opening instructions screen Message-ID: it's not as easy as it should be. you might need to use a Slide Object, with two different Text Objects embedded in it. make one text object for the instructions in black type, and the other text object for the "Get Ready" prompt in red type. ben robinson >>> "Mark A. Casteel" 9/27/2007 11:17 AM >>> Hi. I realize this should be an easy thing to figure out, but I can't seem to get it to work. I have an opening instructions screen where I tell the subjects that a Get Ready signal will appear showing where the text stories will appear in the left margin. The instructions are in black on a white background, but I would like the "Get Ready" to appear in red, as it will in the actual experiment. How can I do this easily? TIA -- Mark ********************************* Mark A. Casteel, Ph.D. Associate Professor of Psychology Penn State York 1031 Edgecomb Ave. York, PA 17403 (717) 771-4028 ********************************* From macw at cmu.edu Sat Sep 29 23:39:36 2007 From: macw at cmu.edu (Brian MacWhinney) Date: Sat, 29 Sep 2007 19:39:36 -0400 Subject: moving the mailing list Message-ID: Dear E-Prime Readers, I have been finding that administration of the E-Prime mailing list through the mailing system here at CMU is taking up a bit too much of my time, particularly because I have been traveling a lot lately. Unfortunately, CMU doesn't provide me a good way to allow users to control their own subscribing and unsubscribing without my hand intervention. So, I have been thinking about the possibility of moving the mailing list to Google Groups, where these processes are controlled by the individual subscriber. However, before exploring this possibility, I wanted to see if anyone would be interested in taking over administration through their own local university mail system. If you are interested, please contact me directly (macw at cmu.edu). I would also like to draw people's attention to the PST User Forum at http://www.pstnet.com/forum which can also serve many of the same functions currently being served by the eprime at mail.talkbank.org mailing list. That forum has been operative now for over a year and has been well received. -- Brian MacWhinney, Psychology, CMU