From kathy.smolewska at gmail.com Tue Jun 2 19:54:21 2009 From: kathy.smolewska at gmail.com (KKat) Date: Tue, 2 Jun 2009 12:54:21 -0700 Subject: Alternative to response counters for selection from lists with fixed reward/loss? Message-ID: Dear members: I posted a few weeks ago with regard to a modified version of the Iowa Gambling Task that I was working on and I received great initial advice from a fellow member on how to use nested lists to achieve my goal of selecting from four different lists on each trial. However, I now have another problem, so here it goes.... Currently, I have a List object (named DesignList) which consists of one row and the following under the Nested column: DeckA, DeckB, DeckC, Deck D. It looks like this: ID Weight Procedure Nested Attributes..... --------------------------------------------------------------------------------------------------------------------------------- 1 1 TrialProc DeckA,DeckB,DeckC,DeckD Then, I have four separate lists (DeckA, DeckB, DeckC, DeckD) created under the DesignList. Each of these lists has the same structure, which looks like this: DeckA: ID Weight varwin1 varloss1 --------------------------------------------------------------------------------------------------------------------------------- 1 1 +100 0 2 1 +100 0 3 1 +100 -150 etc. DeckB: ID Weight varwin2 varloss2 --------------------------------------------------------------------------------------------------------------------------------- 1 1 +100 0 : 1 +100 0 10 1 +100 -1250 etc. I am able to sample each list (i.e., the program is selecting from the correct list and all lists work) and the task works ok as it's coded. However, it's not doing what I need it to do. In this task, it is imperative that the losses/rewards in each deck are presented in a specific, non-random order so that the experimenter can assess for sensitivity to reward and punishment, as well as reinforcement learning. Although the sampling is set to "sequential" for each list, it does not start on ID_1 for each deck --- for example, if I start selecting from DeckA and then move to DeckB for the second trial, it selects the [varwin2] and [varloss2] values from row ID_2; if I then select DeckD, it selects the [varwin4] and [varloss4] from row ID_3. I would like the sampling for each deck to be independent from the others - the program should refer to row ID_1, then ID_2, then ID_3 and so forth from EACH deck. In other words, the wins/losses should be fixed (i.e., if any participant chooses DeckX for the third time, they will all win/lose the same amount). I have been informed that when using nested lists, e-prime can only select one level from each list for each trial and cannot select one of the lists based on the answer given. This means that for trial 1 the four first levels of the four deck-lists are all four loaded by e- prime and based on the answer one of them is 'shown' to the subject. Because all four first levels are loaded e-prime will load the four second levels for the next trial etc. This means that a level for, for instance, deck B is 'used' whether or not the subject chooses this deck. Instead, it was suggested to me that I should delete the lists and code the wins/losses using response counters. My understanding is that I would would need to declare variables that count each response given (for instance 'respbcounter' counts how often the response is b). Then, based on the respbcounter, the win/loss is determined for a trial (if respbcounter is 8 then varwin2 = +100 and varloss2 = -0; if respbcounter is 9 then varwin2 = +100 and varloss2 = -1250). I would have to do the same for the three other decks. I have never used response counters or nested lists before this task - can anyone confirm whether or not response counters will solve my problem?? Or, does anyone have any other suggestions? Thank you! Kathy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From liwenna at gmail.com Tue Jun 2 11:58:46 2009 From: liwenna at gmail.com (liwenna) Date: Tue, 2 Jun 2009 04:58:46 -0700 Subject: next trial label? In-Reply-To: Message-ID: You're welcome! I am glad to hear it worked out. Happy testing! On May 28, 11:11 pm, M wrote: > thanks so much! that worked really well! > much appreciated! > > On May 28, 10:11 am, liwenna wrote: > > > mmm there's bound to be a better way but first thing that comes to > > mind here... > > > declare a global variable on the user tab of the script, say something > > like... 'dim nogolabeler as integer'. > > Then at the end of a trial add a piece of inline that reads the > > trialtype (from an attribute somewhere in your lists) and toggles the > > nogolabeler accordingly. > > > if c.getattrib ("trialtype" ) = 0 then nogolabeler = 0 > > if c.getattrib ("trialtype") = 1 then nogolabeler = 1 > > > then at the beginning of the trialproc add another inline that reads > > the nogolabeler and writes an attribute if it is set to 1 (by the > > previous described inline at the end of the previous trial). > > > if nogolabeler = 0 then c.setattrib "prevtrialwasnogo", 0 > > if nogolabeler = 1 then c.setattrib "prevtrialwasnogo", 1 > > > I didn't try these lines in e-prime so not sure if they're actually > > working, but it gives you an idea and it might actually do the thing > > you need. > > > Good luck! > > > liwenna > > > On May 28, 5:08 am, M wrote: > > > > Hello, > > > I'm working on a go/no-go experiment, and I'd like to be able to label > > > the trials that come immediately after the no-go trials (the trials > > > appear randomly). > > > Does anyone have any suggestions on how to write code to add an > > > attribute that labels the subsequent trial (and not the actual no-go > > > trial)? > > > I have not had much luck with anything I've tried so far. > > > Thanks so much!- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From liwenna at gmail.com Wed Jun 3 12:59:39 2009 From: liwenna at gmail.com (liwenna) Date: Wed, 3 Jun 2009 05:59:39 -0700 Subject: Alternative to response counters for selection from lists with fixed reward/loss? In-Reply-To: Message-ID: Hey! I couldn't let go of it and got another solution. I made a screenshot of it which can be found here: [img]http://images.redial.net/kkat.bmp[/ img] It's basically a rearrangement of the experiment that you have already with a few elements copied and a couple of elements added. What it does: it starts the experiment and a trial and then based on the answer given it continues to load either one of the decklists. For this the 'procedure' for each trial had to be split in two: the start of the trialproc is just as it was allready, and everything that was happening AFTER the answer is given is now moved to a separate procedure called 'restproc'. (which, I realise now, makes sense in dutch but not in english >.< rename it to somethign that's convenient to you). I realise that the whole thing looks rather messy on the screenshot but it will make sense if you rebuild it. (again: i'd send you the file but it won't work as I am in e-prime 2 and you're on 1). The inline called respchoosedeck makes the program skip to one of four labels based on the response given (labelrespA - labelrespD). These labels are placed on the trialproc and each label is followed by it's corresponding decklist. Still on the trialproc each of the decklists is followed by another piece of inline that tells the program to skip to the end of the trialproc (to endlabel) if that inline is encountered. Let's move to the next level: inside each of the four decklists you should nest a new proc (restproc in my case, call it what you like), and place the inline called "choose1234"and the slide called "FB" on this proc. Make all the levels of all the four decklists refer to this very same 'restproc' . The last pivotal setting is to change the sampling criteria on each of the decklists: a cycle should be all 100 samples, yet the list must be exited after 1 sample (and selection stays sequential). Now you're set! The only drawback is that your errorbar does no longer seem to work, but that might also be due to something else that I tried before founding this solution... I didn't notice when it stopped working. Let me know how this works for you! AW On Jun 2, 9:54 pm, KKat wrote: > Dear members: > > I posted a few weeks ago with regard to a modified version of the Iowa > Gambling Task that I was working on and I received great initial > advice from a fellow member on how to use nested lists to achieve my > goal of selecting from four different lists on each trial. However, I > now have another problem, so here it goes.... > > Currently, I have a List object (named DesignList) which consists of > one row and the following under the Nested column: DeckA, DeckB, > DeckC, Deck D. > > It looks like this: > > ID Weight Procedure > Nested Attributes..... > --------------------------------------------------------------------------------------------------------------------------------- > 1 1 TrialProc DeckA,DeckB,DeckC,DeckD > > Then, I have four separate lists (DeckA, DeckB, DeckC, DeckD) created > under the DesignList. > Each of these lists has the same structure, which looks like this: > > DeckA: > > ID Weight varwin1 varloss1 > --------------------------------------------------------------------------------------------------------------------------------- > 1 1 +100 0 > 2 1 +100 0 > 3 1 +100 -150 > etc. > > DeckB: > ID Weight varwin2 varloss2 > --------------------------------------------------------------------------------------------------------------------------------- > 1 1 +100 0 > : 1 +100 0 > 10 1 +100 -1250 > etc. > > I am able to sample each list (i.e., the program is selecting from the > correct list and all lists work) and the task works ok as it's coded. > However, it's not doing what I need it to do. In this task, it is > imperative that the > losses/rewards in each deck are presented in a specific, non-random > order so that the experimenter can assess for sensitivity to reward > and punishment, as well as reinforcement learning. > > Although the sampling is set to "sequential" for each list, it does > not start on ID_1 for each deck --- for example, if I start selecting > from DeckA and then move to DeckB for the second trial, it selects the > [varwin2] and > [varloss2] values from row ID_2; if I then select DeckD, it selects > the [varwin4] and [varloss4] from row ID_3. > > I would like the sampling for each deck to be independent from the > others - the program should refer to row ID_1, then ID_2, then ID_3 > and so forth from EACH deck. In other words, the wins/losses should be > fixed (i.e., if any participant chooses DeckX for the third time, they > will all win/lose the same amount). > > I have been informed that when using nested lists, e-prime can only > select one level from each list for each trial and cannot select one > of the lists based on the answer given. This means that for trial 1 > the four first levels of the four deck-lists are all four loaded by e- > prime and based on the answer one of them is 'shown' to the subject. > Because all four first levels are loaded e-prime will load the four > second levels for the next trial etc. This means that a level for, for > instance, deck B is 'used' whether or not the subject chooses this > deck. > > Instead, it was suggested to me that I should delete the lists and > code the wins/losses using response counters. My understanding is that > I would would need to declare variables that count each response given > (for instance 'respbcounter' counts how often the response is b). > Then, based on the respbcounter, the win/loss is > determined for a trial (if respbcounter is 8 then varwin2 = +100 and > varloss2 = -0; if respbcounter is 9 then varwin2 = +100 and varloss2 > = -1250). I would have to do the same for the three other decks. > > I have never used response counters or nested lists before this task - > can anyone confirm whether or not response counters will solve my > problem?? Or, does anyone have any other suggestions? > Thank you! > Kathy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From kathy.smolewska at gmail.com Wed Jun 3 23:26:21 2009 From: kathy.smolewska at gmail.com (KKat) Date: Wed, 3 Jun 2009 16:26:21 -0700 Subject: Alternative to response counters for selection from lists with fixed reward/loss? In-Reply-To: <28c807f8-0a8b-4e47-8289-ab5f58bc0c4b@c19g2000yqc.googlegroups.com> Message-ID: Thank you so much! It works fine now. I really appreciate it :) k. On Jun 3, 8:59 am, liwenna wrote: > Hey! > > I couldn't let go of it and got another solution. I made a screenshot > of it which can be found here: [img]http://images.redial.net/kkat.bmp[/ > img] > > It's basically a rearrangement of the experiment that you have already > with a few elements copied and a couple of elements added. What it > does: it starts the experiment and a trial and then based on the > answer given it continues to load either one of the decklists. For > this the 'procedure' for each trial had to be split in two: the start > of the trialproc is just as it was allready, and everything that was > happening AFTER the answer is given is now moved to a separate > procedure called 'restproc'. (which, I realise now, makes sense in > dutch but not in english >.< rename it to somethign that's convenient > to you).  I realise that the whole thing looks rather messy on the > screenshot but it will make sense if you rebuild it. (again: i'd send > you the file but it won't work as I am in e-prime 2 and you're on 1). > > The inline called respchoosedeck makes the program skip to one of four > labels based on the response given (labelrespA - labelrespD). These > labels are placed on the trialproc and each label is followed by it's > corresponding decklist. Still on the trialproc each of the decklists > is followed by another piece of inline that tells the program to skip > to the end of the trialproc (to endlabel) if that inline is > encountered. > > Let's move to the next level: inside each of the four decklists you > should nest a new proc (restproc in my case, call it what you like), > and place the inline called "choose1234"and the slide called "FB" on > this proc. Make all the levels of all the four decklists refer to this > very same  'restproc' . > > The last pivotal setting is to change the sampling criteria on each of > the decklists: a cycle should be all 100 samples, yet the list must be > exited after 1 sample (and selection stays sequential).  Now you're > set! > > The only drawback is that your errorbar does no longer seem to work, > but that might also be due to something else that I tried before > founding this solution... I didn't notice when it stopped working. > > Let me know how this works for you! > > AW > > On Jun 2, 9:54 pm, KKat wrote: > > > Dear members: > > > I posted a few weeks ago with regard to a modified version of the Iowa > > Gambling Task that I was working on and I received great initial > > advice from a fellow member on how to use nested lists to achieve my > > goal of selecting from four different lists on each trial. However, I > > now have another problem, so here it goes.... > > > Currently, I have a List object (named DesignList) which consists of > > one row and the following under the Nested column: DeckA, DeckB, > > DeckC, Deck D. > > > It looks like this: > > > ID    Weight     Procedure > > Nested                                    Attributes..... > > --------------------------------------------------------------------------------------------------------------------------------- > > 1         1          TrialProc     DeckA,DeckB,DeckC,DeckD > > > Then, I have four separate lists (DeckA, DeckB, DeckC, DeckD) created > > under the DesignList. > > Each of these lists has the same structure, which looks like this: > > > DeckA: > > > ID    Weight     varwin1      varloss1 > > --------------------------------------------------------------------------------------------------------------------------------- > > 1         1          +100            0 > > 2         1          +100            0 > > 3         1          +100            -150 > > etc. > > > DeckB: > > ID    Weight     varwin2      varloss2 > > --------------------------------------------------------------------------------------------------------------------------------- > > 1         1          +100            0 > > :          1          +100            0 > > 10        1          +100         -1250 > > etc. > > > I am able to sample each list (i.e., the program is selecting from the > > correct list and all lists work) and the task works ok as it's coded. > > However, it's not doing what I need it to do. In this task, it is > > imperative that the > > losses/rewards in each deck are presented in a specific, non-random > > order so that the experimenter can assess for sensitivity to reward > > and punishment, as well as reinforcement learning. > > > Although the sampling is set to "sequential" for each list, it does > > not start on ID_1 for each deck --- for example, if I start selecting > > from DeckA and then move to DeckB for the second trial, it selects the > > [varwin2] and > > [varloss2] values from row ID_2; if I then select DeckD, it selects > > the [varwin4] and [varloss4] from row ID_3. > > > I would like the sampling for each deck to be independent from the > > others - the program should refer to row ID_1, then ID_2, then ID_3 > > and so forth from EACH deck. In other words, the wins/losses should be > > fixed (i.e., if any participant chooses DeckX for the third time, they > > will all win/lose the same amount). > > > I have been informed that when using nested lists, e-prime can only > > select one level from each list for each trial and  cannot select one > > of the lists based on the answer given. This means that for trial 1 > > the four first levels of the four deck-lists are all four loaded by e- > > prime and based on the answer one of them is 'shown' to the subject. > > Because all four first levels are loaded e-prime will load the four > > second levels for the next trial etc. This means that a level for, for > > instance, deck B is 'used' whether or not the subject chooses this > > deck. > > > Instead, it was suggested to me that I should delete the lists and > > code the wins/losses using response counters. My understanding is that > > I would would need to declare variables that count each response given > > (for instance 'respbcounter' counts how  often the response is b). > > Then, based on the respbcounter, the win/loss is > >  determined for a trial (if respbcounter is 8 then varwin2  = +100 and > > varloss2 = -0;  if respbcounter is 9 then varwin2 = +100 and varloss2 > > = -1250). I would have to do the same for the three other decks. > > > I have never used response counters or nested lists before this task - > > can anyone confirm whether or not response counters will solve my > > problem?? Or, does anyone have any other suggestions? > > Thank you! > > Kathy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From cindygooch at yahoo.com Wed Jun 3 15:23:12 2009 From: cindygooch at yahoo.com (javagirl) Date: Wed, 3 Jun 2009 08:23:12 -0700 Subject: Timing animation in a script? Message-ID: Hi I would like to show animation I created in a Do..While loop for about 600 ms. Does anyone know the best way to do this? Thanks Cindy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From Michiel.Spape at nottingham.ac.uk Thu Jun 4 15:05:31 2009 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Thu, 4 Jun 2009 16:05:31 +0100 Subject: Timing animation in a script? In-Reply-To: Message-ID: Hi, What do you mean by 'show animation I created in..'? Are you trying to show an avi file, for example, or alternatively, move a picture across the screen in 600 ms (say, 1 pixel each 20 ms)? For the latter, I typically set start and end points, and check every time whether the 600 ms have passed. If one would, for example, have an imagedisplay, myDisplay, showing a picture at x,y = 300,400, then moving it, this would be possible: Dim starttime as long Starttime = clock.read While (clock.read - starttime) < 600 do myDisplay.x = myDisplay.x + 1 myDisplay.y = myDisplay.y + 1 myDisplay.run Wend With the image being in the unreferenced objects ('deleted', which makes a mess of your experiment, but using goto loops isn't that transparent either). For the former, I do not see why one would want to use a while...loop. Isn't the duration/offset enough to time it properly (though i have never used avi files, I wouldn't be surprised if this would be the case) Best, Michiel Michiel Spapé Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of javagirl Sent: 03 June 2009 16:23 To: E-Prime Subject: Timing animation in a script? Hi I would like to show animation I created in a Do..While loop for about 600 ms. Does anyone know the best way to do this? Thanks Cindy This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From meg.andrejczuk at gmail.com Thu Jun 4 18:45:44 2009 From: meg.andrejczuk at gmail.com (Megan Andrejczuk) Date: Thu, 4 Jun 2009 14:45:44 -0400 Subject: data collection In-Reply-To: <7d497d1d0905280647m78fa1420jf9d6c61913d12f44@mail.gmail.com> Message-ID: Hi Again, I have synched the Voice Key from the Response box and the SoundIn so they are both working simultaneously however, the system crashes at the end of the experiment. Has anyone experienced this before? any suggestions? On Thu, May 28, 2009 at 9:47 AM, Megan Andrejczuk wrote: > Hi all! > > I have tested the Voice Key and it seems to trip before I speak into the > microphone. I am assuming this has to do with the sensitivity but I am not > sure how to modify this? The gage on the back of the box seems near > impossible to turn. Are there any suggestions? > > Also, I would like to set up a collection of Voice onset at the > presentation of a picture, basically picture naming. I am not sure how this > is done in the procedure to include the voice key. I have the experiment set > up to display the pictures. But I do not know how to set up the procedure to > collect the voice onset. I have made several attempts and have been > unsuccessful thus far. I am assuming I have to have a list somehow and > include the "6" as the allowable input? Can anyone help or point me in the > direction of a tutorial. At this point, I am frustrated and do not have a > great sense of e-prime. > > On Mon, May 18, 2009 at 2:53 PM, Megan Andrejczuk < > meg.andrejczuk at gmail.com> wrote: > >> Thanks David! >> >> >> On Mon, May 18, 2009 at 2:49 PM, David McFarlane wrote: >> >>> >>> Megan, >>> >>> Use of the voice key is described on pages 11-12 and 15 of the manual >>> that came with the SRBox. If you do not have the manual then you >>> really have to contact PST and get one from them ASAP. Also, as >>> stated in the manual, the voice key is already set up to work with >>> the Utiilites test program that came with the SRBox (also >>> downloadable from PST). If your voice key does not work with the >>> Utilities program then you have some troubleshooting to do. >>> >>> -- David McFarlane, Professional Faultfinder >>> >>> >>> >Thanks David! But that is where my confusion comes in. I am not sure >>> >how to incorporate the voice key response. I have the experiment >>> >set-up so the pictures appear but don't know how to collect the >>> >onset time using the voice key. I am extremely new to e-prime so >>> >this may be an elementary question. >>> > >>> >Thanks, >>> > >>> >Megan >>> > >>> >On Mon, May 18, 2009 at 2:28 PM, David McFarlane >>> ><mcfarla9 at msu.edu> wrote: >>> > >>> >Megan, >>> > >>> >As a general E-Prime programming strategy, I would start by >>> >forgetting about the SoundIn, and just make a simple program that >>> >shows the pictures and gets the response time using the voice key >>> >response. Then I would make a second simplified program that just >>> >shows pictures and records voice responses with SoundIn, without >>> >worrying about the response time. Then I would take everything I >>> >learned from those two simplified programs and combine that into one >>> >program that gets response times from the voice key plus records the >>> >responses. >>> > >>> >Good luck, >>> >-- David McFarlane, Professional Faultfinder >>> > >>> > >>> > >I have tested my Serial Response Box and everything seems to be >>> > >functioning properly. I am confused how to add the timing onset to my >>> > >experiment. It is a picture naming task, so an image is displayed for >>> > >two seconds and the participant is directed to name the object as >>> > >quickly as they can. I would like to start timing at voice onset, in >>> > >order to know how quickyl they responded. I added the SRBox and then >>> > >put a SoundIn in the Procedure but I think it is only recording the >>> > >verbalization. How do I have the SRBox only record the onset time? >>> > >Also, where will the data be logged? >>> > > >>> > >Thanks, >>> > > >>> > >Megan >>> > >>> >> >>> >>> >>> >>> >>> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From ll356 at medschl.cam.ac.uk Fri Jun 5 12:23:36 2009 From: ll356 at medschl.cam.ac.uk (River) Date: Fri, 5 Jun 2009 05:23:36 -0700 Subject: Randomisation across blocks Message-ID: Hi, I am trying to randomise stimuli across two test blocks using the following List settings: TestBlock1 41 random images(unrepeated) from ListA 1 cue image_1 3 random images (unrepeated) from ListA TestBlock2 41 random images (unrepeated) from ListA 1 cue image_2 3 random images (unrepeated) from ListA The random images all come from the same list (BlockListA) with two nested lists, Target absent images (containing 43 images) and Target present images(containing 45 images). Each of the two cue images have a separate list to themselves. The TestBlocks state the order should be sequential while BlockListA and the Target Absent and Target Present nested lists both state ordering should be random (without replacement). When i run the experiment one of the target absent images is repeated instead of showing the final target present image. I can't understand why the randomisation is working across these test blocks for all bar a single image (not the same one each time)!! I've changed the experiment to the following structure: TestBlock1 45 (sequentially ordered) images from BlockListA TestBlock2 45 (sequentially ordered) images from BlockListB Where BlockListA states (sequential ordering): 41 images from TargetList (which contains both target absent and target present images) 1 image from Cue_1 3 images from TargetList Where BlockListB states (sequential ordering): 41 images from TargetList (which contains both target absent and target present images) 1 image from Cue_2 3 images from TargetList Where TargetList ordering is random without replacement. This seems to work (i've run the experiment 8 times so far with no duplicates/ missing images) but i'd like to know why this would work instead of the above described experiment as essentially the only difference is that the random images are all in the same list and the sequential ordering of 41 random images, 1cue, 3 random images is described later on in the list structure (i.e. in BlockListA not TestBlock). I hope this is clear enough! Any advice would be much appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From jjm.barnes at gmail.com Wed Jun 10 00:06:09 2009 From: jjm.barnes at gmail.com (Jessica) Date: Tue, 9 Jun 2009 17:06:09 -0700 Subject: Problems with trigger coding Message-ID: Hi everyone, An absolute E-Prime newbie here. I'm just working on my first set of E- Prime tasks (just standard stuff like stop-signal and flanker) for an ERP study and I'm having a few issues with triggering at the moment. The thing is that everyone in my entire lab uses Presentation and has very limited or no experience with E-Prime (and we're trying to diversify, which is why I've been asked to independently teach myself how to use E-Prime so at least someone in the lab knows it), so I'm not getting many answers from that direction. Hopefully you guys can give me a bit of help with my problems. I've set up my first set of triggers in a flanker task. However, when I run it through our BioSemi set-up, the triggers are displaying in an unusual way in the EEG read-out. For the onset of the FlankerImage (see the screencaps below for my task structure), the trigger is correctly displaying as the expected numbers (128, 129, etc). For the onset of the inter-trial interval (which indirectly denotes the participant's response), the trigger is correctly displaying as the expected numbers (64, 65, etc). However, at the onset of the FlankerImage, below the correct number, I'm getting a second number that seems to be a summation of the numbers coming through on the two different pins. So for example, below 128 in the EEG readout will be the number 192, which seems to be a summation of 128 and 64. Here are some screencaps of my inline codes. Inline 1 for onset of FlankerImage: http://i40.tinypic.com/2j2b7gp.jpg Inline 2 for onset of ITI: http://i40.tinypic.com/5kp0ns.jpg Does anyone know where I'm going wrong with the trigger coding? Is the extraneous number in the EEG readout a problem? And please let me know if I've put in any stupid/redundant coding. I'm really just stumbling around in the dark with E-Prime at the moment. Thanks for your help. Jess --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mikedevine1 at gmail.com Wed Jun 10 01:20:57 2009 From: mikedevine1 at gmail.com (Michael Devine) Date: Tue, 9 Jun 2009 18:20:57 -0700 Subject: Displaying multiple images simultaneously Message-ID: Hello all, I am relatively new to the E-Prime game, and I'm having trouble putting together a basic spatial orientation task in which I'd like to present multiple pairs of geometric shapes in different orientations and have participants evaluate whether they are the same. The problem is, I can't seem to figure out how to have 2 images appear simultaneously. Can anyone help me out? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From pquain at une.edu.au Wed Jun 10 01:52:07 2009 From: pquain at une.edu.au (Peter Quain) Date: Wed, 10 Jun 2009 11:52:07 +1000 Subject: Problems with trigger coding In-Reply-To: Message-ID: At 10:06 AM 10/06/2009, you wrote: >Hi everyone, > >An absolute E-Prime newbie here. I'm just working on my first set of E- >Prime tasks (just standard stuff like stop-signal and flanker) for an >ERP study and I'm having a few issues with triggering at the moment. > >The thing is that everyone in my entire lab uses Presentation and has >very limited or no experience with E-Prime (and we're trying to >diversify, which is why I've been asked to independently teach myself >how to use E-Prime so at least someone in the lab knows it), so I'm >not getting many answers from that direction. Hopefully you guys can >give me a bit of help with my problems. > >I've set up my first set of triggers in a flanker task. However, when >I run it through our BioSemi set-up, the triggers are displaying in an >unusual way in the EEG read-out. > >For the onset of the FlankerImage (see the screencaps below for my >task structure), the trigger is correctly displaying as the expected >numbers (128, 129, etc). For the onset of the inter-trial interval >(which indirectly denotes the participant's response), the trigger is >correctly displaying as the expected numbers (64, 65, etc). The code in your screenshots refers to the practice image, not the flanker image. Not sure how you're getting triggers from the flanker slide.. >However, >at the onset of the FlankerImage, below the correct number, Maybe it is just after .. or before the 'proper' pulse, and format for close event codes writes one lower than the other on display. Seems unlikely that BioSemi would be designed to accept or display simultaneous, different event codes. >I'm >getting a second number that seems to be a summation of the numbers >coming through on the two different pins. All 8 pins have a value, 1 or 0. > So for example, below 128 in >the EEG readout will be the number 192, which seems to be a summation >of 128 and 64. Does this happen on the very first trial of the first block, or not until the second? ... in InLine2 the port is not zeroed - WritePort &H378, 0 - after the pulse (value=64) is sent. ... parallel port has 8 pins for ttl pulse. Each pin = 1 bit, 8 pins = 1 byte (or a word) ... WritePort command sends byte, which turns on (makes value of '1') or turns off (makes value of '0') each of the 8 pins. 64 = binary 01000000 128 = binary 10000000 pin addition = 11000000 .. which = 192 decimal 129 = binary 10000001 pin addition = 11000001 .. which = 193 decimal It seems like when you send '128' while '64' still active (pins remain high until pulled low .. set to '0') that e-prime or BioSemi is simply turning on pin8 (leftmost) while leaving pin7 high... so you get a 'new' byte based on the binary value of the active pins. My guess is it is in the BioSemi buffer that this is occurring, because you are getting both the correct and pin additive codes. E-prime would likely send a whole new byte to the port after parsing the trigger value, in decimal or hexadecimal, to binary each time it was called. Also, in inline1, the offset signal is set to 32, not 0. Strange that this isn't causing the same thing? Maybe zero the pins after each pulse will show if that's the problem? --------------------------------------------- WritePort &H378, RespData t5 = Clock.Read ' send pulse for 7ms Do hh = Clock.Read Loop While hh - t5 < 7 'toggle all bits low (turn off TTL pulse) WritePort &H378, &H0 ----------------------------------------- PracticeImage.OffsetSignalData = 0 --------------------------------------------- >Here are some screencaps of my inline codes. >Inline 1 for onset of FlankerImage: http://i40.tinypic.com/2j2b7gp.jpg >Inline 2 for onset of ITI: http://i40.tinypic.com/5kp0ns.jpg > >Does anyone know where I'm going wrong with the trigger coding? Is the >extraneous number in the EEG readout a problem? And please let me know >if I've put in any stupid/redundant coding. I'm really just stumbling >around in the dark with E-Prime at the moment. > >Thanks for your help. > >Jess > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From liwenna at gmail.com Wed Jun 10 12:50:02 2009 From: liwenna at gmail.com (liwenna) Date: Wed, 10 Jun 2009 05:50:02 -0700 Subject: Displaying multiple images simultaneously In-Reply-To: <5318fa8c-f9ff-4e7b-9fe6-4d2a835ac510@y7g2000yqa.googlegroups.com> Message-ID: Hey Michael, If you use a slideobject (find it on the left and drag it onto your procedure) you can then fit multiple imageobjects into that slide. Simply open the slide and find the different kind of objects (text, image, movie, sound etc) in the top part of the screen. Click on the image object and then click somewhere in your slide et voila: an image, do this again and you have two images in one slide ergo: two images that appear simultaneously. Use the dropdown menu in the top part of the slidescreen to select either one of the objects in the slide in order to change their properties (green properties button rifht of the dragdown menu), or change the properties for the slide as a whole by using the white properties button (left of the dragdown menu). This should bring you somewhat further. Good luck on it! On Jun 10, 3:20 am, Michael Devine wrote: > Hello all, > > I am relatively new to the E-Prime game, and I'm having trouble > putting together a basic spatial orientation task in which I'd like to > present multiple pairs of geometric shapes in different orientations > and have participants evaluate whether they are the same. The problem > is, I can't seem to figure out how to have 2 images appear > simultaneously. Can anyone help me out? > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mikedevine1 at gmail.com Wed Jun 10 16:14:37 2009 From: mikedevine1 at gmail.com (Michael Devine) Date: Wed, 10 Jun 2009 09:14:37 -0700 Subject: Displaying multiple images simultaneously In-Reply-To: <02505567-1f5c-4be5-9df9-889dfbf2632d@3g2000yqk.googlegroups.com> Message-ID: That was very helpful, thank you! Do you know if there is a way to set up a list of pictures to be displayed in this way, as you would with a list object? I have 75 pairs of images, and it would definitely be easier if I could type the image file names into a list, rather than setting up an individual slide and fixation for each pair. Thanks again! --Mike On Jun 10, 5:50 am, liwenna wrote: > Hey Michael, > > If you use a slideobject (find it on the left and drag it onto your > procedure) you can then fit multiple imageobjects into that slide. > Simply open the slide and find the different kind of objects (text, > image, movie, sound etc) in the top part of the screen. Click on the > image object and then click somewhere in your slide et voila: an > image, do this again and you have two images in one slide ergo: two > images that appear simultaneously. Use the dropdown menu in the top > part of the slidescreen to select either one of the objects in the > slide in order to change their properties (green properties button > rifht of the dragdown menu), or change the properties for the slide as > a whole by using the white properties button (left of the dragdown > menu). > > This should bring you somewhat further. > > Good luck on it! > > On Jun 10, 3:20 am, Michael Devine wrote: > > > Hello all, > > > I am relatively new to the E-Prime game, and I'm having trouble > > putting together a basic spatial orientation task in which I'd like to > > present multiple pairs of geometric shapes in different orientations > > and have participants evaluate whether they are the same.  The problem > > is, I can't seem to figure out how to have 2 images appear > > simultaneously.  Can anyone help me out? > > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From scampbell at casl.umd.edu Wed Jun 10 16:46:47 2009 From: scampbell at casl.umd.edu (Susan G. Campbell) Date: Wed, 10 Jun 2009 12:46:47 -0400 Subject: Displaying multiple images simultaneously In-Reply-To: Message-ID: I'd take a look at PictureRT.es in the Samples folder of your My Experiments folder. Alternatively, you could look at a more complicated example here: http://step.psy.cmu.edu/scripts/Memory/Weldon1987.html HTH, Susan -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Michael Devine Sent: Wednesday, June 10, 2009 12:15 PM To: E-Prime Subject: Re: Displaying multiple images simultaneously That was very helpful, thank you! Do you know if there is a way to set up a list of pictures to be displayed in this way, as you would with a list object? I have 75 pairs of images, and it would definitely be easier if I could type the image file names into a list, rather than setting up an individual slide and fixation for each pair. Thanks again! --Mike On Jun 10, 5:50 am, liwenna wrote: > Hey Michael, > > If you use a slideobject (find it on the left and drag it onto your > procedure) you can then fit multiple imageobjects into that slide. > Simply open the slide and find the different kind of objects (text, > image, movie, sound etc) in the top part of the screen. Click on the > image object and then click somewhere in your slide et voila: an > image, do this again and you have two images in one slide ergo: two > images that appear simultaneously. Use the dropdown menu in the top > part of the slidescreen to select either one of the objects in the > slide in order to change their properties (green properties button > rifht of the dragdown menu), or change the properties for the slide as > a whole by using the white properties button (left of the dragdown > menu). > > This should bring you somewhat further. > > Good luck on it! > > On Jun 10, 3:20 am, Michael Devine wrote: > > > Hello all, > > > I am relatively new to the E-Prime game, and I'm having trouble > > putting together a basic spatial orientation task in which I'd like to > > present multiple pairs of geometric shapes in different orientations > > and have participants evaluate whether they are the same.  The problem > > is, I can't seem to figure out how to have 2 images appear > > simultaneously.  Can anyone help me out? > > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From liwenna at gmail.com Thu Jun 11 11:27:15 2009 From: liwenna at gmail.com (liwenna) Date: Thu, 11 Jun 2009 04:27:15 -0700 Subject: Displaying multiple images simultaneously In-Reply-To: <91DE5CFA11F8DC49ACA9E1DDAD380E545401FB26A6@EX.casl.umd.edu> Message-ID: Sure...! Make two attributes to a list, one called image1 and one called image2 (for instance). Then at the properties of your imageobjects in your slide, make one refer to image1 (use the text: [image1] under properties at the position of the filename) and one to image2 ( [image2] ). Susan is right. Obviously you are very welcome to ask your questions here (we all started out clueless on e-prime), but this is a bit of a timeconsuming process on your part (waiting for replies), while these are pretty basic things that are covered in the guide (have you got the guide?) and in several example scripts. Do feel free to ask more questions. Best regards, liwenna On Jun 10, 6:46 pm, "Susan G. Campbell" wrote: > I'd take a look at PictureRT.es in the Samples folder of your My Experiments folder.  Alternatively, you could look at a more complicated example here:http://step.psy.cmu.edu/scripts/Memory/Weldon1987.html > > HTH, > Susan > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Michael Devine > Sent: Wednesday, June 10, 2009 12:15 PM > To: E-Prime > Subject: Re: Displaying multiple images simultaneously > > That was very helpful, thank you! > > Do you know if there is a way to set up a list of pictures to be > displayed in this way, as you would with a list object?  I have 75 > pairs of images, and it would definitely be easier if I could type the > image file names into a list, rather than setting up an individual > slide and fixation for each pair. > > Thanks again! > > --Mike > > On Jun 10, 5:50 am, liwenna wrote: > > Hey Michael, > > > If you use a slideobject (find it on the left and drag it onto your > > procedure) you can then fit multiple imageobjects into that slide. > > Simply open the slide and find the different kind of objects (text, > > image, movie, sound etc) in the top part of the screen. Click on the > > image object and then click somewhere in your slide et voila: an > > image, do this again and you have two images in one slide ergo: two > > images that appear simultaneously. Use the dropdown menu in the top > > part of the slidescreen to select either one of the objects in the > > slide in order to change their properties (green properties button > > rifht of the dragdown menu), or change the properties for the slide as > > a whole by using the white properties button (left of the dragdown > > menu). > > > This should bring you somewhat further. > > > Good luck on it! > > > On Jun 10, 3:20 am, Michael Devine wrote: > > > > Hello all, > > > > I am relatively new to the E-Prime game, and I'm having trouble > > > putting together a basic spatial orientation task in which I'd like to > > > present multiple pairs of geometric shapes in different orientations > > > and have participants evaluate whether they are the same.  The problem > > > is, I can't seem to figure out how to have 2 images appear > > > simultaneously.  Can anyone help me out? > > > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From liwenna at gmail.com Thu Jun 11 11:31:16 2009 From: liwenna at gmail.com (liwenna) Date: Thu, 11 Jun 2009 04:31:16 -0700 Subject: Randomisation across blocks In-Reply-To: <27f40663-9517-479c-a761-9fa7b018c909@g37g2000yqn.googlegroups.com> Message-ID: Hey River, Your question for six days now. Personally I find it hard to see what could be wrong based on the info given. Could you perhaps post a screenshot of your setup, make it so that all the relevant lists are opened and visible, so that the settings are shown (for an example see this screenshot which was made for another thread ttp://images.redial.net/kkat.bmp). Or if you have solved problem by now... what was it? Best regards, liwenna On Jun 5, 2:23 pm, River wrote: > Hi, > > I am trying to randomise stimuli across two test blocks using the > following List settings: > > TestBlock1 > 41 random images(unrepeated) from ListA > 1 cue image_1 > 3 random images (unrepeated) from ListA > > TestBlock2 > 41 random images (unrepeated) from ListA > 1 cue image_2 > 3 random images (unrepeated) from ListA > > The random images all come from the same list (BlockListA) with two > nested lists, Target absent images (containing 43 images)  and Target > present images(containing 45 images). Each of the two cue images have > a separate list to themselves. > > The TestBlocks state the order should be sequential while BlockListA > and the Target Absent and Target Present nested lists both state > ordering should be random (without replacement). > > When i run the experiment one of the target absent images is repeated > instead of showing the final target present image. I can't understand > why the randomisation is working across these test blocks for all bar > a single image (not the same one each time)!! > > I've changed the experiment to the following structure: > > TestBlock1 > 45 (sequentially ordered) images from BlockListA > > TestBlock2 > 45 (sequentially ordered) images from BlockListB > > Where BlockListA states (sequential ordering): > 41 images from TargetList (which contains both target absent and > target present images) > 1 image from Cue_1 > 3 images from TargetList > > Where BlockListB states (sequential ordering): > 41 images from TargetList (which contains both target absent and > target present images) > 1 image from Cue_2 > 3 images from TargetList > > Where TargetList ordering is random without replacement. This seems to > work (i've run the experiment 8 times so far with no duplicates/ > missing images) but i'd like to know why this would work instead of > the above described experiment as essentially the only difference is > that the random images are all in the same list and the sequential > ordering of 41 random images, 1cue, 3 random images is described later > on in the list structure (i.e. in BlockListA not TestBlock). > > I hope this is clear enough! Any advice would be much appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mikedevine1 at gmail.com Thu Jun 11 16:59:05 2009 From: mikedevine1 at gmail.com (Mike Devine) Date: Thu, 11 Jun 2009 09:59:05 -0700 Subject: Displaying multiple images simultaneously In-Reply-To: <7e321424-2587-4fe1-a048-a1a1e9194458@o18g2000yqi.googlegroups.com> Message-ID: Thanks, I really appreciate everyone's help! I guess I've developed a bit of learned helplessness when it comes to research software; I'll be sure to look through the guides more thoroughly! --Mike On Thu, Jun 11, 2009 at 4:27 AM, liwenna wrote: > > Sure...! > > Make two attributes to a list, one called image1 and one called image2 > (for instance). Then at the properties of your imageobjects in your > slide, make one refer to image1 (use the text: [image1] under > properties at the position of the filename) and one to image2 > ( [image2] ). > > Susan is right. Obviously you are very welcome to ask your questions > here (we all started out clueless on e-prime), but this is a bit of a > timeconsuming process on your part (waiting for replies), while these > are pretty basic things that are covered in the guide (have you got > the guide?) and in several example scripts. > > Do feel free to ask more questions. > > Best regards, > > liwenna > > On Jun 10, 6:46 pm, "Susan G. Campbell" > wrote: > > I'd take a look at PictureRT.es in the Samples folder of your My > Experiments folder. Alternatively, you could look at a more complicated > example here:http://step.psy.cmu.edu/scripts/Memory/Weldon1987.html > > > > HTH, > > Susan > > > > -----Original Message----- > > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On > Behalf Of Michael Devine > > Sent: Wednesday, June 10, 2009 12:15 PM > > To: E-Prime > > Subject: Re: Displaying multiple images simultaneously > > > > That was very helpful, thank you! > > > > Do you know if there is a way to set up a list of pictures to be > > displayed in this way, as you would with a list object? I have 75 > > pairs of images, and it would definitely be easier if I could type the > > image file names into a list, rather than setting up an individual > > slide and fixation for each pair. > > > > Thanks again! > > > > --Mike > > > > On Jun 10, 5:50 am, liwenna wrote: > > > Hey Michael, > > > > > If you use a slideobject (find it on the left and drag it onto your > > > procedure) you can then fit multiple imageobjects into that slide. > > > Simply open the slide and find the different kind of objects (text, > > > image, movie, sound etc) in the top part of the screen. Click on the > > > image object and then click somewhere in your slide et voila: an > > > image, do this again and you have two images in one slide ergo: two > > > images that appear simultaneously. Use the dropdown menu in the top > > > part of the slidescreen to select either one of the objects in the > > > slide in order to change their properties (green properties button > > > rifht of the dragdown menu), or change the properties for the slide as > > > a whole by using the white properties button (left of the dragdown > > > menu). > > > > > This should bring you somewhat further. > > > > > Good luck on it! > > > > > On Jun 10, 3:20 am, Michael Devine wrote: > > > > > > Hello all, > > > > > > I am relatively new to the E-Prime game, and I'm having trouble > > > > putting together a basic spatial orientation task in which I'd like > to > > > > present multiple pairs of geometric shapes in different orientations > > > > and have participants evaluate whether they are the same. The > problem > > > > is, I can't seem to figure out how to have 2 images appear > > > > simultaneously. Can anyone help me out? > > > > > > Thanks! > > > -- Michael J. Devine Graduate Research Assistant New College of Interdisciplinary Arts & Sciences Arizona State University Glendale, AZ 85306 E-mail: michael.devine at asu.edu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From e_e_c at hotmail.com Fri Jun 12 14:25:45 2009 From: e_e_c at hotmail.com (EmmaB) Date: Fri, 12 Jun 2009 07:25:45 -0700 Subject: multiple response recording with no feedback display Message-ID: Hi, Help required! I've just about completed the eprime program for an experiment involving participants making repetitive responses to an auditory stimulus (within a slide). The participant response does not terminate the slide; instead the slide repeats at an exact timed rate (determined by a "length" variable in the above list which is referred to in the duration tab). Participants respond every time they hear the sound. [the sound file consists of a period of silence, the beep, then more silence hence allowing for responses either side of the beep]. I need to record the time stamp of multiple responses per slide e.g. up to three or four, as participants may anticipate the beep, and press early, recorrect their mistake and press during, or anticipate the next beep during the current stimulus. All these responses are acceptable but I need to record the time of each/any/no responses. I have looked at the other multiple response posts on here, but as I am not experienced at writing script I am struggling to adapt the exemplar samples from the website. They all seem to include script that provides feedback to the participant following multiple responses. In my case I just want to record the timestamp of multiple responses. I also wish to write the responses to the same output file that is already being generated in my experiment, rather than a new one. I have already allowed multiple mouse presses within the advanced settings on the input tab (e.g. up to 10). And this gives me output for how many presses have been made. Any help with script to add into inline objects (& advice on where the inlines should be placed) would be greatly appreciated, as I'm really struggling with this one!!! Many thanks in advance! Emma Below is my attempt, but I know there are many things wrong with it! but it might help demonstrate: Dim i as Integer 'generic counter variable Dim nClicks As Integer 'number of responses Dim mouseMask As InputMask Dim mouseRespColl As ResponseDataCollection Dim OutputString as String 'figure out where we are in List1 i=c.GetAttrib("List8.Sample") OutputString = "Trial Number " + CStr(i) Write #1,OutputString nClicks = practblank1.InputMasks.Item(1).Responses.Count 'write the number of responses to file Write #1,nClicks,"number responses" If nClicks > 0 Then 'get the InputMask associated with the keyboard response Set mouseRespColl = practblank1.InputMasks.Item(1).Responses 'display RTs for each keyboard response (from start of trial) For i = 1 to nClicks OutputString = mouseRespColl(i).RTTime Write #1,i,CInt(OutputString) Next i If nClicks > 1 Then For i = 1 to nClicks OutputString = mouseRespColl(i).RTTime Write #1,i,CInt(OutputString) For i = 2 to nClicks OutputString = mouseRespColl(i+1).RTTime Write #1,i,CInt(OutputString) Next i If nClicks > 2 Then For i = 1 to nClicks OutputString = mouseRespColl(i).RTTime Write #1,i,CInt(OutputString) For i = 2 to nClicks OutputString = mouseRespColl(i+1).RTTime Write #1,i,CInt(OutputString) For i = 3 to nClicks OutputString = mouseRespColl(i+3).RTTime Write #1,i,CInt(OutputString) End If Else If nClicks = 0 Then --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Fri Jun 12 15:43:51 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 12 Jun 2009 11:43:51 -0400 Subject: multiple response recording with no feedback display In-Reply-To: Message-ID: Have you tried submitting this to PST Web Support at http://support.pstnet.com/e-prime/support/login.asp ? They seem to offer help for these things from time to time. -- David McFarlane, Professional Faultfinder >Hi, Help required! > >I've just about completed the eprime program for an experiment >involving participants making repetitive responses to an auditory >stimulus (within a slide). The participant response does not >terminate the slide; instead the slide repeats at an exact timed rate >(determined by a "length" variable in the above list which is referred >to in the duration tab). Participants respond every time they hear >the sound. [the sound file consists of a period of silence, the beep, >then more silence hence allowing for responses either side of the >beep]. I need to record the time stamp of multiple responses per >slide e.g. up to three or four, as participants may anticipate the >beep, and press early, recorrect their mistake and press during, or >anticipate the next beep during the current stimulus. All these >responses are acceptable but I need to record the time of each/any/no >responses. > >I have looked at the other multiple response posts on here, but as I >am not experienced at writing script I am struggling to adapt the >exemplar samples from the website. They all seem to include script >that provides feedback to the participant following multiple >responses. In my case I just want to record the timestamp of multiple >responses. I also wish to write the responses to the same output file >that is already being generated in my experiment, rather than a new >one. > >I have already allowed multiple mouse presses within the advanced >settings on the input tab (e.g. up to 10). And this gives me output >for how many presses have been made. > >Any help with script to add into inline objects (& advice on where the >inlines should be placed) would be greatly appreciated, as I'm really >struggling with this one!!! > >Many thanks in advance! > >Emma > >Below is my attempt, but I know there are many things wrong with it! >but it might help demonstrate: > >Dim i as Integer 'generic counter variable >Dim nClicks As Integer 'number of responses >Dim mouseMask As InputMask >Dim mouseRespColl As ResponseDataCollection >Dim OutputString as String > > >'figure out where we are in List1 >i=c.GetAttrib("List8.Sample") >OutputString = "Trial Number " + CStr(i) >Write #1,OutputString > >nClicks = practblank1.InputMasks.Item(1).Responses.Count > >'write the number of responses to file >Write #1,nClicks,"number responses" > >If nClicks > 0 Then > > 'get the InputMask associated with the keyboard response > Set mouseRespColl = practblank1.InputMasks.Item(1).Responses > > 'display RTs for each keyboard response (from start of trial) > For i = 1 to nClicks > OutputString = mouseRespColl(i).RTTime > Write #1,i,CInt(OutputString) > > Next i > >If nClicks > 1 Then > For i = 1 to nClicks > OutputString = mouseRespColl(i).RTTime > Write #1,i,CInt(OutputString) > > For i = 2 to nClicks > OutputString = mouseRespColl(i+1).RTTime > Write #1,i,CInt(OutputString) > > Next i >If nClicks > 2 Then > For i = 1 to nClicks > OutputString = mouseRespColl(i).RTTime > Write #1,i,CInt(OutputString) > > For i = 2 to nClicks > OutputString = mouseRespColl(i+1).RTTime > Write #1,i,CInt(OutputString) > > For i = 3 to nClicks > OutputString = mouseRespColl(i+3).RTTime > Write #1,i,CInt(OutputString) > > End If > >Else If nClicks = 0 Then --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From sara.agosta at gmail.com Mon Jun 15 22:31:09 2009 From: sara.agosta at gmail.com (saraag) Date: Mon, 15 Jun 2009 15:31:09 -0700 Subject: problem with summation of responses Message-ID: Hi all! I have a behavioral task that consists in series of choices (money) between two possibilities (now or delay), the subject respond with the mouse (1 or 2) and the response is recorded as Pres.Stim.RESP, the ammount of the two different proposals is recorded in the column "RNow" or "RDelay". I would like, for each choice (1 or 2) to sum the ammounts to the previuos ones, so that I have two summations: one for the choice 1 (Now) and one for the choice 2 (delay) and I would like to show just after the choice, I tried starting from the initialization of the variables: Dim Winning1 As Summation Dim Winning2 As Summation Dim RNow As Integer Dim RDelay As Integer and then just after the presentation slide: If PresStim.RESP=1 Then Winning1.AddObservation RNow If Pres.Stim.RESP=2 Then Winning2.AddObservation RDelay End If But this script is not working and I have no idea of what is missing... Can you help me? Thank you very much! Sara --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From Michiel.Spape at nottingham.ac.uk Tue Jun 16 09:38:51 2009 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Tue, 16 Jun 2009 10:38:51 +0100 Subject: problem with summation of responses In-Reply-To: <0fb2a0c0-fd23-4f45-ab24-e027f86aee15@c19g2000prh.googlegroups.com> Message-ID: Hi, Wow, I didn't even know there was such a thing as a summation object; seems i have been writing my own mean and SD functions for no reason. Anyway, I see a couple of things wrong with the code starting with the typo: is it PresStim or Pres.Stim? You use both, and I would guess that only PresStim is correct. If you have difficulty with the summation, you can, of course, always do what I have been doing so far: declare a counter variable and a sum variable, and just sum the winnings. Dim Winning1 As long Dim Winning2 As long Dim nWinning1 as integer Dim nWinning2 as integer Dim RNow As Integer Dim RDelay As Integer RNow = 20 'i don't quite get what you mean by "ammount of the two different proposals is recorded in the column" RDelay = 10 'perhaps you mean it is an attribute? For the sake of the example, i've just used c and then just after the presentation slide: If PresStim.RESP=1 Then 'oh, and wondering: is the response a keyboard button? I'd make it "1" then. Winning1 = Winning1 + RNow End if If PresStim.RESP=2 Then Winning2.AddObservation RDelay Winning2 = Winning2 + RDelay End If 'your enters were placed incorrectly. The first one missed one, so just to be clear about syntax, I changed it to the prototypical form should you have a problem with end ifs. I'd prefer this though: IF PresStim.Resp = "1" THEN Winning1 = Winning1 + RNow ELSE Winning2 = Winning2 + RDelay. Hope this helps. Michiel Spapé Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of saraag Sent: 15 June 2009 23:31 To: E-Prime Subject: problem with summation of responses Hi all! I have a behavioral task that consists in series of choices (money) between two possibilities (now or delay), the subject respond with the mouse (1 or 2) and the response is recorded as Pres.Stim.RESP, the ammount of the two different proposals is recorded in the column "RNow" or "RDelay". I would like, for each choice (1 or 2) to sum the ammounts to the previuos ones, so that I have two summations: one for the choice 1 (Now) and one for the choice 2 (delay) and I would like to show just after the choice, I tried starting from the initialization of the variables: Dim Winning1 As Summation Dim Winning2 As Summation Dim RNow As Integer Dim RDelay As Integer and then just after the presentation slide: If PresStim.RESP=1 Then Winning1.AddObservation RNow If Pres.Stim.RESP=2 Then Winning2.AddObservation RDelay End If But this script is not working and I have no idea of what is missing... Can you help me? Thank you very much! Sara This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Tue Jun 16 20:16:37 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 16 Jun 2009 16:16:37 -0400 Subject: Presenting an image with sound In-Reply-To: <7ce1a10c-6cc3-4e9c-8208-804179b2245c@3g2000yqk.googlegroup s.com> Message-ID: >I am a new ePrime user and I am having trouble figuring out how to >present an image at the same time as a sound file. Any suggestions? Advanced Tutorials 1 & 2 of the Getting Started Guide that came with E-Prime. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From kabrill at gmail.com Tue Jun 16 20:28:39 2009 From: kabrill at gmail.com (Kate Brill) Date: Tue, 16 Jun 2009 13:28:39 -0700 Subject: Presenting an image with sound In-Reply-To: <4a37fdb0.0d0bca0a.3d2e.ffffc7a5SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Alright, I did get both the image and the sound I want. Is there a way to allow the subject to repeat the sound by pressing a key (as in learning a sound matched to an image) before moving on to the next stimulus? Thanks! On Jun 16, 3:16 pm, David McFarlane wrote: > >I am a new ePrime user and I am having trouble figuring out how to > >present an image at the same time as a sound file. Any suggestions? > > Advanced Tutorials 1 & 2 of the Getting Started Guide that came with E-Prime. > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Tue Jun 16 20:47:39 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 16 Jun 2009 16:47:39 -0400 Subject: Presenting an image with sound In-Reply-To: <7030d955-be2e-4c66-b380-9305aa1686c1@k38g2000yqh.googlegro ups.com> Message-ID: For that you might have to resort to inline script and some If - Then statements. And for that you will need to work through first Advanced Tutorials 4 of the Getting Started Guide, and Chapter 4, Using E-Basic, of the User's Guide that came with E-Prime. -- David McFarlane, Professional Faultfinder At 6/16/2009 04:28 PM Tuesday, you wrote: >Alright, I did get both the image and the sound I want. Is there a way >to allow the subject to repeat the sound by pressing a key (as in >learning a sound matched to an image) before moving on to the next >stimulus? > >Thanks! > >On Jun 16, 3:16 pm, David McFarlane wrote: > > >I am a new ePrime user and I am having trouble figuring out how to > > >present an image at the same time as a sound file. Any suggestions? > > > > Advanced Tutorials 1 & 2 of the Getting Started Guide that came > with E-Prime. > > > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From kabrill at gmail.com Tue Jun 16 20:07:36 2009 From: kabrill at gmail.com (Kate Brill) Date: Tue, 16 Jun 2009 13:07:36 -0700 Subject: Presenting an image with sound Message-ID: Hello, I am a new ePrime user and I am having trouble figuring out how to present an image at the same time as a sound file. Any suggestions? Right now I am using the original ePrime but hope to soon be on ePrime version 2. Thanks!!! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From elam.txt at gmail.com Wed Jun 17 17:26:29 2009 From: elam.txt at gmail.com (Edmund Lam) Date: Wed, 17 Jun 2009 10:26:29 -0700 Subject: What does this line of code mean? Message-ID: Hello everyone, I have what I believe to be a relatively simple question for anybody who can help. I am modifying a Stop Signal Task for E-Prime 2. I have a procedures which flows like this TrainPicDisplay --> SkipTrain --> TrainPicDisplay2 --> EndOfTrialTrain (Picture) (inline) (picture) (inline) In the SkipTrain inline script, I have the following code: If TrainPicDisplay.RESP <> "" then goto EndOfTrialTrain beep 1. What does the <> "" in the first line mean? 2. Will the beep always sound? If not, when will it and when will it not? Thanks, Edmund Lam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From baltimore.ben at gmail.com Wed Jun 17 18:53:34 2009 From: baltimore.ben at gmail.com (ben robinson) Date: Wed, 17 Jun 2009 14:53:34 -0400 Subject: What does this line of code mean? In-Reply-To: <652d28d0-8a05-4524-9d9d-e6de8626fcfd@r10g2000yqa.googlegroups.com> Message-ID: the <> "" means "does not equal nothing"<> means "does not equal" and "" means no response was made. so, this line of code means that If a response was made Then Goto the end of the trial, otherwise Beep before going to the end of the trial. On Wed, Jun 17, 2009 at 1:26 PM, Edmund Lam wrote: > > Hello everyone, I have what I believe to be a relatively simple > question for anybody who can help. > > I am modifying a Stop Signal Task for E-Prime 2. I have a procedures > which flows like this > > TrainPicDisplay --> SkipTrain --> TrainPicDisplay2 --> EndOfTrialTrain > (Picture) (inline) > (picture) (inline) > > In the SkipTrain inline script, I have the following code: > > If TrainPicDisplay.RESP <> "" then goto EndOfTrialTrain > > beep > > 1. What does the <> "" in the first line mean? > 2. Will the beep always sound? If not, when will it and when will it > not? > > Thanks, > > Edmund Lam > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathy.smolewska at gmail.com Wed Jun 17 19:47:57 2009 From: kathy.smolewska at gmail.com (KKat) Date: Wed, 17 Jun 2009 12:47:57 -0700 Subject: Run-time Error - "no such attribute" Message-ID: Hello :) I am trying to figure out why I am getting the following error when I try to run my script: Run-time Error (Line 962) -990: Factor Error: No such attribute "varwin4II" I do NOT get this error for the first instance of the script [winII = c.getAttrib("varwin1II")] but it comes up every time I press a response button other than "a" (i.e., f, j, l). The attribute DOES exist, so I'm not sure what is going wrong. I included the relevant section of the script below. I don't know if this is important or not but I am using LABELS and I noticed the following noted on the script but I'm not sure if it has anything to do with my current error: Endlabel2: If Err.Number = ebInputAccepted Then Err.Clear Resume Endlabel2Resume ElseIf Err.Number <> 0 Then 'NOTE: If you receive a runtime error here, it ' is because a runtime error other than ebInputAccepted ' was thrown (ebInputAccepted for catching input masks that jump). 'You are encouraged to either handle the error so that ' it is not thrown in the future or will have to set up ' your own error handler, which will also need to take ' into account for any input masks that jump. ' 'Raise the error so the default error handler will show the message Err.Raise Err.Number, Err.Source, Err.Description End If Sub respproc2_Run(c as Context) ''''''''''''''''''''''''''''''''''''''''''''' ' InLine - Choose1234II BEGIN ''''''''''''''''''''''''''''''''''''''''''''' If game2.RESP = "a" then FB2.ActiveState = "f12" winII = c.getAttrib("varwin1II") lossII = c.getAttrib("varloss1II") totalsumII = totalsumII + winII + lossII TotalGainII = TotalGainII + winII TotalLossII= TotalLossII + lossII c.setAttrib "TotalsumII", TotalsumII c.setAttrib "AmountWonII", winII c.setAttrib "AmountLostII", lossII c.setAttrib "TotalGainII", TotalGainII c.setAttrib "TotalLossII", TotalLossII c.setAttrib "DeckChoiceII", 1 winD1II = c.getAttrib("varwin1II") lossD1II = c.getAttrib("varloss1II") TotalsumD1II = totalsumD1II + winD1II + lossD1II c.setAttrib "TotalsumD1II", TotalsumD1II c.setAttrib "BarWinII", BarWinII If totalsumII > 0 then BarWinII = TotalSumII/5 Else BarWinII = 0 End If elseif game2.RESP = "f" then FB2.ActiveState = "f22" winII = c.getAttrib("varwin2II") lossII = c.getAttrib("varloss2II") totalsumII = totalsumII + winII + lossII TotalGainII = TotalGainII + winII TotalLossII = TotalLossII + lossII c.setAttrib "TotalsumII", TotalsumII c.setAttrib "AmountWonII", winII c.setAttrib "AmountLostII", lossII c.setAttrib "TotalGainII", TotalGainII c.setAttrib "TotalLossII", TotalLossII c.setAttrib "DeckChoiceII", 2 winD2II = c.getAttrib("varwin2II") lossD2II = c.getAttrib("varloss2II") TotalsumD2II = totalsumD2II + winD2II + lossD2II c.setAttrib "TotalsumD2II", TotalsumD2II c.setAttrib "BarWinII", BarWinII If totalsumII > 0 then BarWinII = TotalSumII/5 Else BarWinII = 0 End If elseif game2.RESP = "j" then FB2.ActiveState = "f32" winII = c.getAttrib("varwin3II") lossII = c.getAttrib("varloss3II") totalsumII = totalsumII + winII + lossII TotalGainII = TotalGainII + winII TotalLossII = TotalLossII + lossII c.setAttrib "TotalsumII", TotalsumII c.setAttrib "AmountWonII", winII c.setAttrib "AmountLostII", lossII c.setAttrib "TotalGainII", TotalGainII c.setAttrib "TotalLossII", TotalLossII c.setAttrib "DeckChoiceII", 3 winD3II = c.getAttrib("varwin3II") lossD3II = c.getAttrib("varloss3II") TotalsumD3II = totalsumD3II + winD3II + lossD3II c.setAttrib "TotalsumD3II", TotalsumD3II c.setAttrib "BarWinII", BarWinII If totalsumII > 0 then BarWinII = TotalSumII/5 Else BarWinII = 0 End If elseif game2.RESP = "l" then FB2.ActiveState = "f42" winII = c.getAttrib("varwin4II") lossII = c.getAttrib("varloss4II") totalsumII = totalsumII + winII + lossII TotalGainII = TotalGainII + winII TotalLossII = TotalLossII + lossII c.setAttrib "TotalsumII", TotalsumII c.setAttrib "AmountWonII", winII c.setAttrib "AmountLostII", lossII c.setAttrib "TotalGainII", TotalGainII c.setAttrib "TotalLossII", TotalLossII c.setAttrib "DeckChoiceII", 4 winD4II = c.getAttrib("varwin4II") lossD4II = c.getAttrib("varloss4II") TotalsumD4II = totalsumD4II + winD4II + lossD4II c.setAttrib "TotalsumD4II", TotalsumD4II c.setAttrib "BarWinII", BarWinII If totalsumII > 0 then BarWinII = TotalSumII/5 Else BarWinII = 0 End If End If Thank you :) Kathy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From sara.agosta at gmail.com Wed Jun 17 21:37:54 2009 From: sara.agosta at gmail.com (saraag) Date: Wed, 17 Jun 2009 14:37:54 -0700 Subject: probability of a stimulus Message-ID: Hi All! I'm trying to set the probability of a stimulus. I have present one stimulus on the slide display, but the choice will be between two stimuli, with a probability of 66% for stimulus1 and 34% for stimulus2. I guess I have to add an inline before the Presentation Slide but someone knows the script that I have to use? thank you very much Sara --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From kathy.smolewska at gmail.com Thu Jun 18 00:06:19 2009 From: kathy.smolewska at gmail.com (KKat) Date: Wed, 17 Jun 2009 17:06:19 -0700 Subject: Summation across blocks Message-ID: Hello, I have designed a task with 4 blocks. I currently have a running total of "money" won within each block, however, I would like to alter this so that.... - the starting value for "total won" in Block2 is the total from the last trial of Block1 - the starting value for "total won" in Block3 is the total from the last trial of Block2 - the starting value for "total won" in Block4 is the total from the last trial of Block3 Thank you! Kathy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From t1msky at yahoo.co.uk Thu Jun 18 10:51:09 2009 From: t1msky at yahoo.co.uk (Victor) Date: Thu, 18 Jun 2009 03:51:09 -0700 Subject: Summation across blocks In-Reply-To: Message-ID: Hi Kathy, I am sure that if you have declared a global variable 'total won' with increments after each trial, then all you have to do is use; c.setattrib "total won", total won at the start of each new block in order to recall the running total which at the start of the new block will be the same as the end of the previous block. Or have I misunderstood? Hope this helps, Tim On Jun 18, 1:06 am, KKat wrote: > Hello, > I have designed a task with 4 blocks. I currently have a running total > of "money" won within each block, however, I would like to alter this > so that.... > > - the starting value for "total won" in Block2 is the total from the > last trial of Block1 > - the starting value for "total won" in Block3 is the total from the > last trial of Block2 > - the starting value for "total won" in Block4 is the total from the > last trial of Block3 > > Thank you! > Kathy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From liwenna at gmail.com Thu Jun 18 11:00:51 2009 From: liwenna at gmail.com (liwenna) Date: Thu, 18 Jun 2009 04:00:51 -0700 Subject: probability of a stimulus In-Reply-To: Message-ID: Hi Sara, Are these stimuli presented in a list somewhere? Because in a list you can toggle the weight of each level and thus the 'probability' of this level to happen. To do that you do need the two stimuli to be in separate levels, and I don't know (obviously) if that's possible in your task... but that would be the most easy solution. In this list that determintes which of the two stimuli will be shown (with 66% versus 33% change trough weight set to 1 and 2) you can nest another list that contains the rest of the information needed for eacht trial and have the procedure nested into that 'restinfo list'. This way only the type of stimulus will be varied with the one being picked twice as much as the other (do set it to random selection). Good luck! Let me know if questions arirse (I always find it hard to explain lists/setups in words). AW On Jun 17, 11:37 pm, saraag wrote: > Hi All! > > I'm trying to set the probability of a stimulus. > > I have present one stimulus on the slide display, but the choice will > be between two stimuli, with a probability of 66% for stimulus1 and > 34% for stimulus2. > > I guess I have to add an inline before the Presentation Slide but > someone knows the script that I have to use? > > thank you very much > Sara --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From d.vinson at ucl.ac.uk Thu Jun 18 11:01:56 2009 From: d.vinson at ucl.ac.uk (David Vinson) Date: Thu, 18 Jun 2009 12:01:56 +0100 Subject: probability of a stimulus In-Reply-To: Message-ID: saraag wrote: > I have present one stimulus on the slide display, but the choice will > be between two stimuli, with a probability of 66% for stimulus1 and > 34% for stimulus2. One way to do this would be to draw this item from a List containing two items: stimulus1 (weight 66) and stimulus2 (weight 34). If you want exactly 66% and 34% you could sample without replacement from this List; if approximately 66/34 is good enough, you could sample with replacement. -dpv --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From liwenna at gmail.com Thu Jun 18 10:52:45 2009 From: liwenna at gmail.com (liwenna) Date: Thu, 18 Jun 2009 03:52:45 -0700 Subject: Summation across blocks In-Reply-To: Message-ID: Hey kat! Is this the same task still or a new adventure? I understand that the summation within each block is working. Right? Then there are two options (I think): A. right now you have a separate summationvariable used within each block, for instance sumblock1 to sumblock4 ? In that case you can insert a line like : c.setattrib "sumblock2", sumblock1 at the beginning of each new block... but it would make more sense to just have 1 single summation attribute to run trough all four blocks, right? which brings me to option B: you allready have one single summation attribute but it is set to 0 somewhere in the beginning of each block (probably due to copy/pasting of one existing block into 4 total blocks). In that case simply identify a line like either totalwin = 0 or c.setattrib "totalwin", 0 and remove it from blocks 2, 3 and 4. Alternatively you can send me the file again and I'll see if i can find it. Greets, AW On Jun 18, 2:06 am, KKat wrote: > Hello, > I have designed a task with 4 blocks. I currently have a running total > of "money" won within each block, however, I would like to alter this > so that.... > > - the starting value for "total won" in Block2 is the total from the > last trial of Block1 > - the starting value for "total won" in Block3 is the total from the > last trial of Block2 > - the starting value for "total won" in Block4 is the total from the > last trial of Block3 > > Thank you! > Kathy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From sara.agosta at gmail.com Thu Jun 18 14:33:58 2009 From: sara.agosta at gmail.com (Sara Agosta) Date: Thu, 18 Jun 2009 09:33:58 -0500 Subject: probability of a stimulus In-Reply-To: <4A3A1EA4.1020508@ucl.ac.uk> Message-ID: thank you! Sara 2009/6/18 David Vinson > > saraag wrote: > > I have present one stimulus on the slide display, but the choice will > > be between two stimuli, with a probability of 66% for stimulus1 and > > 34% for stimulus2. > > One way to do this would be to draw this item from a List containing two > items: > stimulus1 (weight 66) and stimulus2 (weight 34). If you want exactly 66% > and > 34% you could sample without replacement from this List; if approximately > 66/34 > is good enough, you could sample with replacement. > > -dpv > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From liwenna at gmail.com Thu Jun 18 20:54:10 2009 From: liwenna at gmail.com (liwenna) Date: Thu, 18 Jun 2009 13:54:10 -0700 Subject: probability of a stimulus In-Reply-To: <50a51e790906180733n12b7fd87n54a076ea343ad258@mail.gmail.com> Message-ID: You got it working? On Jun 18, 4:33 pm, Sara Agosta wrote: > thank you! > Sara > > 2009/6/18 David Vinson > > > > > saraag wrote: > > > I have present one stimulus on the slide display, but the choice will > > > be between two stimuli, with a probability of 66% for stimulus1 and > > > 34% for stimulus2. > > > One way to do this would be to draw this item from a List containing two > > items: > > stimulus1 (weight 66) and stimulus2 (weight 34).  If you want exactly 66% > > and > > 34% you could sample without replacement from this List; if approximately > > 66/34 > > is good enough, you could sample with replacement. > > > -dpv --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From sara.agosta at gmail.com Thu Jun 18 22:38:28 2009 From: sara.agosta at gmail.com (Sara Agosta) Date: Thu, 18 Jun 2009 17:38:28 -0500 Subject: probability of a stimulus In-Reply-To: <6efb516e-69bc-4321-8077-a91f99aa324c@v4g2000vba.googlegroups.com> Message-ID: yes! thank you! Sara 2009/6/18 liwenna > > You got it working? > > On Jun 18, 4:33 pm, Sara Agosta wrote: > > thank you! > > Sara > > > > 2009/6/18 David Vinson > > > > > > > > > saraag wrote: > > > > I have present one stimulus on the slide display, but the choice will > > > > be between two stimuli, with a probability of 66% for stimulus1 and > > > > 34% for stimulus2. > > > > > One way to do this would be to draw this item from a List containing > two > > > items: > > > stimulus1 (weight 66) and stimulus2 (weight 34). If you want exactly > 66% > > > and > > > 34% you could sample without replacement from this List; if > approximately > > > 66/34 > > > is good enough, you could sample with replacement. > > > > > -dpv > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Jun 22 18:46:43 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 22 Jun 2009 14:46:43 -0400 Subject: Run-time Error - "no such attribute" In-Reply-To: <9d8f8d65-8057-4944-b31b-5594460c8e11@t16g2000yqi.googlegro ups.com> Message-ID: Kathy, I would check your code again. Although the attribute "varwin1II" may exist (as evidenced by success in the first instance), the error message indicates that the attribute "varwin4II" does not exist. So please look again and make sure that you have indeed defined "varwin4II" at a time prior to the failing line. Also, exactly where is line 962, that might help us to inspect your script sample? Also, you might go to the PST Forum and run a search using the term "no such attribute", I believe others have asked a similar question and you might get some clues there, although I don't know if it will exactly address your problem. Good luck, -- David McFarlane, Professional Faultfinder >Hello :) > >I am trying to figure out why I am getting the following error when I >try to run my script: > >Run-time Error (Line 962) >-990: Factor Error: >No such attribute "varwin4II" > >I do NOT get this error for the first instance of the script [winII = >c.getAttrib("varwin1II")] but it comes up every time I press a >response button other than "a" (i.e., f, j, l). The attribute DOES >exist, so I'm not sure what is going wrong. I included the relevant >section of the script below. I don't know if this is important or not >but I am using LABELS and I noticed the following noted on the script >but I'm not sure if it has anything to do with my current error: >Endlabel2: > If Err.Number = ebInputAccepted Then > Err.Clear > Resume Endlabel2Resume > ElseIf Err.Number <> 0 Then > 'NOTE: If you receive a runtime error here, it > ' is because a runtime error other than ebInputAccepted > ' was thrown (ebInputAccepted for catching input > masks that jump). > 'You are encouraged to either handle the error so that > ' it is not thrown in the future or will have to set up > ' your own error handler, which will also need to take > ' into account for any input masks that jump. > ' > 'Raise the error so the default error handler will > show the message > Err.Raise Err.Number, Err.Source, Err.Description > End If > >Sub respproc2_Run(c as Context) > > ''''''''''''''''''''''''''''''''''''''''''''' > ' InLine - Choose1234II BEGIN > ''''''''''''''''''''''''''''''''''''''''''''' > If game2.RESP = "a" then > FB2.ActiveState = "f12" > winII = c.getAttrib("varwin1II") > lossII = c.getAttrib("varloss1II") > totalsumII = totalsumII + winII + lossII > TotalGainII = TotalGainII + winII > TotalLossII= TotalLossII + lossII > c.setAttrib "TotalsumII", TotalsumII > c.setAttrib "AmountWonII", winII > c.setAttrib "AmountLostII", lossII > c.setAttrib "TotalGainII", TotalGainII > c.setAttrib "TotalLossII", TotalLossII > c.setAttrib "DeckChoiceII", 1 > winD1II = c.getAttrib("varwin1II") > lossD1II = c.getAttrib("varloss1II") > TotalsumD1II = totalsumD1II + winD1II + lossD1II > c.setAttrib "TotalsumD1II", TotalsumD1II > c.setAttrib "BarWinII", BarWinII > > If totalsumII > 0 then > BarWinII = TotalSumII/5 > Else BarWinII = 0 > End If > > >elseif game2.RESP = "f" then > FB2.ActiveState = "f22" > winII = c.getAttrib("varwin2II") > lossII = c.getAttrib("varloss2II") > totalsumII = totalsumII + winII + lossII > TotalGainII = TotalGainII + winII > TotalLossII = TotalLossII + lossII > c.setAttrib "TotalsumII", TotalsumII > c.setAttrib "AmountWonII", winII > c.setAttrib "AmountLostII", lossII > c.setAttrib "TotalGainII", TotalGainII > c.setAttrib "TotalLossII", TotalLossII > c.setAttrib "DeckChoiceII", 2 > winD2II = c.getAttrib("varwin2II") > lossD2II = c.getAttrib("varloss2II") > TotalsumD2II = totalsumD2II + winD2II + lossD2II > c.setAttrib "TotalsumD2II", TotalsumD2II > c.setAttrib "BarWinII", BarWinII > > If totalsumII > 0 then > BarWinII = TotalSumII/5 > Else BarWinII = 0 > End If > >elseif game2.RESP = "j" then > FB2.ActiveState = "f32" > winII = c.getAttrib("varwin3II") > lossII = c.getAttrib("varloss3II") > totalsumII = totalsumII + winII + lossII > TotalGainII = TotalGainII + winII > TotalLossII = TotalLossII + lossII > c.setAttrib "TotalsumII", TotalsumII > c.setAttrib "AmountWonII", winII > c.setAttrib "AmountLostII", lossII > c.setAttrib "TotalGainII", TotalGainII > c.setAttrib "TotalLossII", TotalLossII > c.setAttrib "DeckChoiceII", 3 > winD3II = c.getAttrib("varwin3II") > lossD3II = c.getAttrib("varloss3II") > TotalsumD3II = totalsumD3II + winD3II + lossD3II > c.setAttrib "TotalsumD3II", TotalsumD3II > c.setAttrib "BarWinII", BarWinII > > If totalsumII > 0 then > BarWinII = TotalSumII/5 > Else BarWinII = 0 > End If > >elseif game2.RESP = "l" then > FB2.ActiveState = "f42" > winII = c.getAttrib("varwin4II") > lossII = c.getAttrib("varloss4II") > totalsumII = totalsumII + winII + lossII > TotalGainII = TotalGainII + winII > TotalLossII = TotalLossII + lossII > c.setAttrib "TotalsumII", TotalsumII > c.setAttrib "AmountWonII", winII > c.setAttrib "AmountLostII", lossII > c.setAttrib "TotalGainII", TotalGainII > c.setAttrib "TotalLossII", TotalLossII > c.setAttrib "DeckChoiceII", 4 > winD4II = c.getAttrib("varwin4II") > lossD4II = c.getAttrib("varloss4II") > TotalsumD4II = totalsumD4II + winD4II + lossD4II > c.setAttrib "TotalsumD4II", TotalsumD4II > c.setAttrib "BarWinII", BarWinII > > If totalsumII > 0 then > BarWinII = TotalSumII/5 > Else BarWinII = 0 > End If >End If > >Thank you :) >Kathy > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From kathy.smolewska at gmail.com Mon Jun 22 20:03:45 2009 From: kathy.smolewska at gmail.com (KKat) Date: Mon, 22 Jun 2009 13:03:45 -0700 Subject: Summation across blocks In-Reply-To: Message-ID: Hi Anne-Wil and Victor, I will try your suggestions and post a reply :) Thank you! Kathy On Jun 18, 6:52 am, liwenna wrote: > Hey kat! > > Is this the same task still or a new adventure? > I understand that the summation within each block is working. Right? > > Then there are two options (I think): > > A. right now you have a separate summationvariable used within each > block, for instance sumblock1 to sumblock4 ? In that case you can > insert a line like : c.setattrib "sumblock2", sumblock1  at the > beginning of each new block... but it would make more sense to just > have 1 single summation attribute to run trough all four blocks, > right? > > which brings me to option > > B: you allready have one single summation attribute but it is set to 0 > somewhere in the beginning of each block (probably due to copy/pasting > of one existing block into 4 total blocks). In that case simply > identify a line like either totalwin = 0 or c.setattrib "totalwin", 0 > and remove it from blocks 2, 3 and 4. > > Alternatively you can send me the file again and I'll see if i can > find it. > > Greets, > > AW > > On Jun 18, 2:06 am, KKat wrote: > > > Hello, > > I have designed a task with 4 blocks. I currently have a running total > > of "money" won within each block, however, I would like to alter this > > so that.... > > > - the starting value for "total won" in Block2 is the total from the > > last trial of Block1 > > - the starting value for "total won" in Block3 is the total from the > > last trial of Block2 > > - the starting value for "total won" in Block4 is the total from the > > last trial of Block3 > > > Thank you! > > Kathy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From hmouras at gmail.com Tue Jun 23 16:47:39 2009 From: hmouras at gmail.com (Harold Mouras) Date: Tue, 23 Jun 2009 18:47:39 +0200 Subject: variable interstimulusinterval Message-ID: Hello, Please forgive this silly question… We constructed an e prime run with an ISI stimulus. This is an object. We would like to make the duration of this stimulus random between two values but do not find any solution at the moment. Could someone help us ? Thank you very much in advance, Sincerely yours, Harold Mouras --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From svlevi at gmail.com Tue Jun 23 18:36:45 2009 From: svlevi at gmail.com (susie) Date: Tue, 23 Jun 2009 11:36:45 -0700 Subject: sound files mysteriously and randomly don't play Message-ID: Hi, I ditched my brand new vista machines and bought a new XP machine yesterday because I had endless timing problems (as I see many of you have had as well) but now have the following problem. (I'm running eprime 2 pro). I have a relatively simple experiment. AX discrimination task where two words are played and listeners have to respond 'same' or 'different' on the button box. There are 3 blocks with 24 trials in each block. The sounds are set up on two different 'slides' with a blank screen serving as the ISI (500 ms). About once per block the program simply doesn't play one of the two sound files. When I run it again, it's not the same ones that don't play, it's a different set. I have the sounds set to 'buffer' right now. It seems to usually be the second sound that doesn't play but I'm having a hard time figuring this out as the FIND function in the data file keeps crashing the program. Thanks so much, Susie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From liwenna at gmail.com Tue Jun 23 18:58:30 2009 From: liwenna at gmail.com (liwenna) Date: Tue, 23 Jun 2009 11:58:30 -0700 Subject: variable interstimulusinterval In-Reply-To: Message-ID: make an attribute called objectduration in a list somewhere.... either make a separate list with two levels, one level duration A, the other duration B (in milliseconds) and nest the list(s) you have in your current setup into this list, or (if the number if levels in your current list is moderate) duplicate the current levels you have and give half of them duration A under the attribute objectduration and the other half duration B. In the properties of your object make 'duration' refer to the objectduration attribute in your list: type [objectduration] in the objectproperties duration box. The program will now, for each showing of your object, use the duration defined in the triallist. Good luck! On Jun 23, 6:47 pm, Harold Mouras wrote: > Hello, > > Please forgive this silly question… > > We constructed an e prime run with an ISI stimulus. This is an object. We > would like to make the duration of this stimulus random between two values > but do not find any solution at the moment. > > Could someone help us ? > > Thank you very much in advance, > > Sincerely yours, > > Harold Mouras --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From hydi703 at gmail.com Wed Jun 24 01:21:04 2009 From: hydi703 at gmail.com (=?ISO-2022-JP?B?GyRCJE8kJCRJJHMbKEI=?=) Date: Wed, 24 Jun 2009 09:21:04 +0800 Subject: sound files mysteriously and randomly don't play In-Reply-To: <3e13d467-e8fb-4109-9a11-62c4db39d063@c36g2000yqn.googlegroups.com> Message-ID: Hi, I had the same problem before. I changed from 'buffered' to 'streaming', then it worked well. Hope it helps. Hydi On Wed, Jun 24, 2009 at 2:36 AM, susie wrote: > > Hi, > > I ditched my brand new vista machines and bought a new XP machine > yesterday because I had endless timing problems (as I see many of you > have had as well) but now have the following problem. (I'm running > eprime 2 pro). > > I have a relatively simple experiment. AX discrimination task where > two words are played and listeners have to respond 'same' or > 'different' on the button box. There are 3 blocks with 24 trials in > each block. The sounds are set up on two different 'slides' with a > blank screen serving as the ISI (500 ms). About once per block the > program simply doesn't play one of the two sound files. When I run it > again, it's not the same ones that don't play, it's a different set. I > have the sounds set to 'buffer' right now. It seems to usually be the > second sound that doesn't play but I'm having a hard time figuring > this out as the FIND function in the data file keeps crashing the > program. > > Thanks so much, > Susie > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian.jeffrey.kramer at gmail.com Wed Jun 24 01:25:14 2009 From: brian.jeffrey.kramer at gmail.com (Brian Kramer) Date: Tue, 23 Jun 2009 18:25:14 -0700 Subject: Question on IFIS Package for Eprime 1.1 Message-ID: I've asked a ton of people and no one has been able to get this to work; but I can't imagine that it's too hard. I have an IFIS CD and Eprime is already installed. How do I get the IFIS packages onto my computer/where do I find them? Do I need to buy them? Is there a setting I have to change? Any help would be greatly appreciated. Thanks, Brian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From Michiel.Spape at nottingham.ac.uk Wed Jun 24 11:58:05 2009 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Wed, 24 Jun 2009 12:58:05 +0100 Subject: variable interstimulusinterval In-Reply-To: <26a0dac2-8c22-43c9-a481-3febc41bc08c@f19g2000yqh.googlegroups.com> Message-ID: Hi, Of course, you could always use a bit of script (some people go quite far to avoid it). Consider the ISI is a textdisplay (or whatever). 1. Add an inline just before the ISI 2. write the following in it: ISI.duration = random(500,2000) Done. Best, Mich PS: more helpful suggestions and bad grammar in: http://www.cognitology.eu/pubs/AnE-Primer2009.pdf Michiel Spapé Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of liwenna Sent: 23 June 2009 19:58 To: E-Prime Subject: Re: variable interstimulusinterval make an attribute called objectduration in a list somewhere.... either make a separate list with two levels, one level duration A, the other duration B (in milliseconds) and nest the list(s) you have in your current setup into this list, or (if the number if levels in your current list is moderate) duplicate the current levels you have and give half of them duration A under the attribute objectduration and the other half duration B. In the properties of your object make 'duration' refer to the objectduration attribute in your list: type [objectduration] in the objectproperties duration box. The program will now, for each showing of your object, use the duration defined in the triallist. Good luck! On Jun 23, 6:47 pm, Harold Mouras wrote: > Hello, > > Please forgive this silly question... > > We constructed an e prime run with an ISI stimulus. This is an object. We > would like to make the duration of this stimulus random between two values > but do not find any solution at the moment. > > Could someone help us ? > > Thank you very much in advance, > > Sincerely yours, > > Harold Mouras This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From Michiel.Spape at nottingham.ac.uk Wed Jun 24 16:15:05 2009 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Wed, 24 Jun 2009 17:15:05 +0100 Subject: variable interstimulusinterval In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF017FBCC6@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: Hi, This was assuming that 'between two values' was a value in-between the two, rather than either value1 or value2, which Liwenna proposes. To compensate, the following script could do just that (step 1 is same): 2. write the following in it: if random(1,2) = 1 then ISI.duration = 500 else ISI.duration = 2000 By the way, I was wondering why the Files section of the googlegroups seems to be used so little? Would it be possible for me to upload experiments there, or is it not set to public? Also, it wouldn't hurt having specific folders there for A: problematic experiments (so people can check your problem) and B: common paradigms (available for use by anyone). Right now it's a bit of a mess. Best, Mich Michiel Spapé Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Michiel Spape Sent: 24 June 2009 12:58 To: e-prime at googlegroups.com Subject: RE: variable interstimulusinterval Hi, Of course, you could always use a bit of script (some people go quite far to avoid it). Consider the ISI is a textdisplay (or whatever). 1. Add an inline just before the ISI 2. write the following in it: ISI.duration = random(500,2000) Done. Best, Mich PS: more helpful suggestions and bad grammar in: http://www.cognitology.eu/pubs/AnE-Primer2009.pdf Michiel Spapé Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of liwenna Sent: 23 June 2009 19:58 To: E-Prime Subject: Re: variable interstimulusinterval make an attribute called objectduration in a list somewhere.... either make a separate list with two levels, one level duration A, the other duration B (in milliseconds) and nest the list(s) you have in your current setup into this list, or (if the number if levels in your current list is moderate) duplicate the current levels you have and give half of them duration A under the attribute objectduration and the other half duration B. In the properties of your object make 'duration' refer to the objectduration attribute in your list: type [objectduration] in the objectproperties duration box. The program will now, for each showing of your object, use the duration defined in the triallist. Good luck! On Jun 23, 6:47 pm, Harold Mouras wrote: > Hello, > > Please forgive this silly question... > > We constructed an e prime run with an ISI stimulus. This is an object. We > would like to make the duration of this stimulus random between two values > but do not find any solution at the moment. > > Could someone help us ? > > Thank you very much in advance, > > Sincerely yours, > > Harold Mouras This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From svlevi at gmail.com Thu Jun 25 16:27:58 2009 From: svlevi at gmail.com (susie) Date: Thu, 25 Jun 2009 09:27:58 -0700 Subject: sound files mysteriously and randomly don't play In-Reply-To: <32dcf4550906231821o5fbebc26o63c1adc077ff18be@mail.gmail.com> Message-ID: Thanks, I tried this and it seems to work now. Best, susie On Jun 23, 9:21 pm, はいどん wrote: > Hi, > > I had the same problem before. > I changed from 'buffered' to 'streaming', then it worked well. > > Hope it helps. > > Hydi > > On Wed, Jun 24, 2009 at 2:36 AM, susie wrote: > > > Hi, > > > I ditched my brand new vista machines and bought a new XP machine > > yesterday because I had endless timing problems (as I see many of you > > have had as well) but now have the following problem. (I'm running > > eprime 2 pro). > > > I have a relatively simple experiment. AX discrimination task where > > two words are played and listeners have to respond 'same' or > > 'different' on the button box. There are 3 blocks with 24 trials in > > each block. The sounds are set up on two different 'slides' with a > > blank screen serving as the ISI (500 ms). About once per block the > > program simply doesn't play one of the two sound files. When I run it > > again, it's not the same ones that don't play, it's a different set. I > > have the sounds set to 'buffer' right now. It seems to usually be the > > second sound that doesn't play but I'm having a hard time figuring > > this out as the FIND function in the data file keeps crashing the > > program. > > > Thanks so much, > > Susie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From cindygooch at yahoo.com Thu Jun 25 19:58:48 2009 From: cindygooch at yahoo.com (javagirl) Date: Thu, 25 Jun 2009 12:58:48 -0700 Subject: Timing animation in a script? In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF0159CF76@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: Thanks for responding, I wound up doing something like what you suggested. Cindy On Jun 4, 11:05 am, Michiel Spape wrote: > Hi, > What do you mean by 'show animation I created in..'? Are you trying to show an avi file, for example, or alternatively, move a picture across the screen in 600 ms (say, 1 pixel each 20 ms)? For the latter, I typically set start and end points, and check every time whether the 600 ms have passed. If one would, for example, have an imagedisplay, myDisplay, showing a picture at x,y = 300,400, then moving it, this would be possible: > > Dim starttime as long > Starttime = clock.read > While (clock.read - starttime) < 600 do >         myDisplay.x = myDisplay.x + 1 >         myDisplay.y = myDisplay.y + 1 >         myDisplay.run > Wend > > With the image being in the unreferenced objects ('deleted', which makes a mess of your experiment, but using goto loops isn't that transparent either). > > For the former, I do not see why one would want to use a while...loop. Isn't the duration/offset enough to time it properly (though i have never used avi files, I wouldn't be surprised if this would be the case) > > Best, > Michiel > > Michiel Spapé > Research Fellow > Perception & Action group > University of Nottingham > School of Psychology > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of javagirl > Sent: 03 June 2009 16:23 > To: E-Prime > Subject: Timing animation in a script? > > Hi > > I would like to show animation I created in a Do..While loop for about > 600 ms.  Does anyone know the best way to do this? > > Thanks > > Cindy > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses, which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From ll356 at medschl.cam.ac.uk Fri Jun 26 14:32:27 2009 From: ll356 at medschl.cam.ac.uk (River) Date: Fri, 26 Jun 2009 07:32:27 -0700 Subject: Randomisation across blocks In-Reply-To: Message-ID: Hi Liwenna, I appear to have solved it-I rearranged the structure slightly to that listed above however to be honest I don't completely understand why that would have worked other than perhaps causing the programme to not have to struggle through multiple Lists. My other (halfbaked) theory is that it was attempting to form pairs of images form two different lists (I had it taking 43 images from list X and 45 from list Y randomly however it repeatedely was taking 44 from each instead...hence causing the repetition of one image and missing value of another image. Now all 88 images are in the same list so once its run through all of them its done...less confusing somehow i guess?! As is probably abundantly obvious I have been reduced to vague guesswork now and am just thankful it seems to be working ok again-fingers crossed it won't repeat. thanks for your comments, River On Jun 11, 12:31 pm, liwenna wrote: > Hey River, > > Your question for six days now. Personally I find it hard to see what > could be wrong based on the info given. Could you perhaps post a > screenshot of your setup, make it so that all the relevant lists are > opened and visible, so that the settings are shown (for an example see > this screenshot which was made for another thread ttp://images.redial.net/kkat.bmp). > > Or if you have solved problem by now... what was it? > > Best regards, > > liwenna > > On Jun 5, 2:23 pm, River wrote: > > > > > Hi, > > > I am trying to randomise stimuli across two test blocks using the > > following List settings: > > > TestBlock1 > > 41 random images(unrepeated) from ListA > > 1 cue image_1 > > 3 random images (unrepeated) from ListA > > > TestBlock2 > > 41 random images (unrepeated) from ListA > > 1 cue image_2 > > 3 random images (unrepeated) from ListA > > > The random images all come from the same list (BlockListA) with two > > nested lists, Target absent images (containing 43 images)  and Target > > present images(containing 45 images). Each of the two cue images have > > a separate list to themselves. > > > The TestBlocks state the order should be sequential while BlockListA > > and the Target Absent and Target Present nested lists both state > > ordering should be random (without replacement). > > > When i run the experiment one of the target absent images is repeated > > instead of showing the final target present image. I can't understand > > why the randomisation is working across these test blocks for all bar > > a single image (not the same one each time)!! > > > I've changed the experiment to the following structure: > > > TestBlock1 > > 45 (sequentially ordered) images from BlockListA > > > TestBlock2 > > 45 (sequentially ordered) images from BlockListB > > > Where BlockListA states (sequential ordering): > > 41 images from TargetList (which contains both target absent and > > target present images) > > 1 image from Cue_1 > > 3 images from TargetList > > > Where BlockListB states (sequential ordering): > > 41 images from TargetList (which contains both target absent and > > target present images) > > 1 image from Cue_2 > > 3 images from TargetList > > > Where TargetList ordering is random without replacement. This seems to > > work (i've run the experiment 8 times so far with no duplicates/ > > missing images) but i'd like to know why this would work instead of > > the above described experiment as essentially the only difference is > > that the random images are all in the same list and the sequential > > ordering of 41 random images, 1cue, 3 random images is described later > > on in the list structure (i.e. in BlockListA not TestBlock). > > > I hope this is clear enough! Any advice would be much appreciated.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From ll356 at medschl.cam.ac.uk Fri Jun 26 14:57:23 2009 From: ll356 at medschl.cam.ac.uk (River) Date: Fri, 26 Jun 2009 07:57:23 -0700 Subject: Sound to signal a key press Message-ID: Hi, This seems like a potentially simple thing to do but I can't figure it out-is it possible to make the computer or SR box emit a beep when a response key is pressed? Participants will be viewing stimuli on a computer screen and responding to it by pressing one of two buttons on the SR box (they will press a key on every trial). I'm looking at reaction times so I don't want them to have to look down to make sure they have made a response (i.e. light flashes by the keys aren't ideal) however its been mentioned that a noise to confirm a response has been recorded would be useful.... Does anyone know if this is possible or should I just ask them to press the keys down firmly!? I'm currently running version 1 of Eprime. Many thanks, River --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From rinusverdonschot at gmail.com Sat Jun 27 14:23:32 2009 From: rinusverdonschot at gmail.com (Rinus) Date: Sat, 27 Jun 2009 07:23:32 -0700 Subject: Sound to signal a key press In-Reply-To: <8d1b5fe0-23f9-484e-90c7-fe4d3662e3d5@l28g2000vba.googlegroups.com> Message-ID: I presume the length is not infinite (otherwise the stimulus will not go away untill they press).. Might it be helpful just to do a simple beep with inline? Something in the line of: if TextDisplay1.RESP <> "" then beep (TextDisplay or whatever you're using that is). Kind regards, Rinus On Jun 26, 4:57 pm, River wrote: > Hi, > > This seems like a potentially simple thing to do but I can't figure it > out-is it possible to make the computer or SR box emit a beep when a > response key is pressed? > Participants will be viewing stimuli on a computer screen and > responding to it by pressing one of two buttons on the SR box (they > will press a key on every trial). I'm looking at reaction times so I > don't want them to have to look down to make sure they have made a > response (i.e. light flashes by the keys aren't ideal) however its > been mentioned that a noise to confirm a response has been recorded > would be useful.... > > Does anyone know if this is possible or should I just ask them to > press the keys down firmly!? I'm currently running version 1 of > Eprime. > > Many thanks, > > River --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Jun 29 18:23:51 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 29 Jun 2009 14:23:51 -0400 Subject: Sound to signal a key press In-Reply-To: <39154cac-d5e0-4074-8a20-b79dfa7a3c69@r25g2000vbn.googlegro ups.com> Message-ID: Are these self-paced trials, with no time limit? If so, you could just put a SoundOut with a beep.wav after whatever object you use to present your stimulus & get response, e.g., - TrialProc - StimSlide - BeepSound If trials are self-paced but with a time limit, then you could use an If-Then either to make a beep in script as Rinus sugessts (although the E-Basic beep command does not work on some computers), or with a label to skip past the BeepSound, e.g. - TrialProc - StimSlide - CheckResponseScript (If StimSlide.RT = 0 Then goto NoResponseLabel) - BeepSound - NoResponseLabel If trials are not self-paced then things get considerably trickier. -- David McFarlane, Professional Faultfinder At 6/27/2009 10:23 AM Saturday, you wrote: >I presume the length is not infinite (otherwise the stimulus will not >go away untill they press).. >Might it be helpful just to do a simple beep with inline? Something in >the line of: > >if TextDisplay1.RESP <> "" then beep > >(TextDisplay or whatever you're using that is). > >Kind regards, > >Rinus > > >On Jun 26, 4:57 pm, River wrote: > > Hi, > > > > This seems like a potentially simple thing to do but I can't figure it > > out-is it possible to make the computer or SR box emit a beep when a > > response key is pressed? > > Participants will be viewing stimuli on a computer screen and > > responding to it by pressing one of two buttons on the SR box (they > > will press a key on every trial). I'm looking at reaction times so I > > don't want them to have to look down to make sure they have made a > > response (i.e. light flashes by the keys aren't ideal) however its > > been mentioned that a noise to confirm a response has been recorded > > would be useful.... > > > > Does anyone know if this is possible or should I just ask them to > > press the keys down firmly!? I'm currently running version 1 of > > Eprime. > > > > Many thanks, > > > > River > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From sleebee123 at gmail.com Mon Jun 29 20:48:28 2009 From: sleebee123 at gmail.com (sleebee123 at gmail.com) Date: Mon, 29 Jun 2009 13:48:28 -0700 Subject: Multiple responses to single stimulus Message-ID: Hi All- I've already posted this on the PST forum and asked for EPrime support, but I'm kind of in a time crunch, so was wondering if anyone on the forum would have a solution to the following problem: I'm trying to have subjects look at 1 image and throughout the image they are going to be pressing either 1 or 2 on an SRBox, so that there will be multiple times during stimulus onset that 1 and 2 will be pressed. The image is up for about 3 minutes. I want to be able to tag in NetStation when the subject pressed one of the 2 buttons and which button was pressed. What sort of EPrime manipulation should be used for this? I've already looked at the PST MultipleResponseCollection example in the Downloads section, but it doesn't add a tagging to NetStation. Their example gives the subject a feedback as to which buttons they pressed and when. I want the button presses to tag directly onto the raw data in NetStation showing when and which button was pressed. If you know a way of doing this I would appreciate it very much. Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From blweidler at davidson.edu Tue Jun 30 03:39:10 2009 From: blweidler at davidson.edu (Blaire) Date: Mon, 29 Jun 2009 20:39:10 -0700 Subject: Multiple correct string responses Message-ID: This is the first time I've ever used E-prime so I'm very much a beginner. My main question is: What is the easiest way to allow multiple responses to be accepted as correct into a string input field on a single trial? In some trials, there are 113 correct responses - and if the participant enters any of those 113, they must be counted as correct and the program needs to let them move on, BUT if they enter anything except those 113 they have to get feedback saying incorrect and must be sent back to the trial until they enter a correct response. I got excited earlier today because I thought that colon syntax would be the way to do this, but I can't seem to make that work - even when just trying with two correct responses. Is colon syntax the way I should be trying to do this? (In which case I'll go back and play with it because I guess I was doing it wrong.) Or is there some easier way? Thanks for any help you can offer, Blaire --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From pquain at une.edu.au Tue Jun 30 03:47:41 2009 From: pquain at une.edu.au (Peter Quain) Date: Tue, 30 Jun 2009 13:47:41 +1000 Subject: Multiple correct string responses In-Reply-To: <1ef3e107-61f4-46cc-8ea0-b6df08161079@i6g2000yqj.googlegrou ps.com> Message-ID: At 01:39 PM 30/06/2009, you wrote: >This is the first time I've ever used E-prime so I'm very much a >beginner. My main question is: What is the easiest way to allow >multiple responses to be accepted as correct into a string input field >on a single trial? > >In some trials, there are 113 correct responses - and if the >participant enters any of those 113, they must be counted as correct >and the program needs to let them move on, BUT if they enter anything >except those 113 they have to get feedback saying incorrect and must >be sent back to the trial until they enter a correct response. just a mud map, but maybe store the 113 correct responses in an array, then collect the string input as a variable and run a loop through the array elements checking for a match. If it finds one, jump out of the loop (maybe go to a label along the trial procedure), if it doesn't, then progress to a text object to tell them incorrect, followed by an inline which would start the trial again. >I got excited earlier today because I thought that colon syntax would >be the way to do this, but I can't seem to make that work - even when >just trying with two correct responses. > >Is colon syntax the way I should be trying to do this? (In which case >I'll go back and play with it because I guess I was doing it wrong.) >Or is there some easier way? > >Thanks for any help you can offer, >Blaire > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From Michiel.Spape at nottingham.ac.uk Tue Jun 30 15:42:27 2009 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Tue, 30 Jun 2009 16:42:27 +0100 Subject: E-Basic being very basic Message-ID: Dear group, Just now I was getting a bit annoyed about E-Prime including and using .NET - I think 2 even? - yet still including merely a lot of archaic Visual Basic. At the moment, I was looking for a function that can easily convert a string into an array of substrings - like string.split() in .NET, but this seems not included in E-Basic. Of course, I should be able to make a function that can do that for me, but last time I tried to do something like that, E-Prime gave me an error, saying that one cannot have arrays as function outputs. I'm not sure what that was about - it might well be my mistake somewhere, but at some point I just went for some inelegant programming instead of looking up everything. Anyway, I was sort of hoping that anyone here might have tried importing the String, or any other class, as used in modern VB6+, into E-Prime. Bit of a long shot, I guess. Best, Mich Michiel Spapé Research Fellow Perception & Action group University of Nottingham School of Psychology This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From rinusverdonschot at gmail.com Tue Jun 30 16:59:27 2009 From: rinusverdonschot at gmail.com (Rinus) Date: Tue, 30 Jun 2009 09:59:27 -0700 Subject: Multiple correct string responses In-Reply-To: <20090630034750.LGGG11262.nschwotgx02p.mx.bigpond.com@tardis.une.edu.au> Message-ID: I agree with Peter.. an easy way is to first put all the allowable responses in an array.. you might even put a list with attributes into a (dynamic) array using a loop .... and subsequently use that (dynamically created or not) array to check whether the given input was correct.. I've made a prelimary setup for you.. I'll send it to you.. (as I can not add files evidently). Groetjes, Rinus On Jun 30, 5:47 am, Peter Quain wrote: > At 01:39 PM 30/06/2009, you wrote: > > >This is the first time I've ever used E-prime so I'm very much a > >beginner. My main question is: What is the easiest way to allow > >multiple responses to be accepted as correct into a string input field > >on a single trial? > > >In some trials, there are 113 correct responses  - and if the > >participant enters any of those 113, they must be counted as correct > >and the program needs to let them move on, BUT if they enter anything > >except those 113 they have to get feedback saying incorrect and must > >be sent back to the trial until they enter a correct response. > > just a mud map, but maybe store the 113 correct responses in an > array, then collect the string input as a variable and run a loop > through the array elements checking for a match. If it finds one, > jump out of the loop (maybe go to a label along the trial procedure), > if it doesn't, then progress to a text object to tell them incorrect, > followed by an inline which would start the trial again. > > > > >I got excited earlier today because I thought that colon syntax would > >be the way to do this, but I can't seem to make that work - even when > >just trying with two correct responses. > > >Is colon syntax the way I should be trying to do this? (In which case > >I'll go back and play with it because I guess I was doing it wrong.) > >Or is there some easier way? > > >Thanks for any help you can offer, > >Blaire- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From adamosth at gmail.com Tue Jun 30 20:34:38 2009 From: adamosth at gmail.com (Adam Osth) Date: Tue, 30 Jun 2009 16:34:38 -0400 Subject: Setting SlideImage filenames in an infile command Message-ID: I need to program a quiz in which three pictures are presented on a slide: one being the correct answer, one being a related lure (physically similar to the correct answer), one being an unrelated lure (dissimilar to the correct answer). It needs to have 15 or so questions that are randomly selected from a larger pool of around 50. I have a nested list that contains each of the picture filenames - one attribute for the correct answer, one for the related lure, one for the unrelated lure. I was thinking I could just use attribute referencing for the filenames, which would work, but the problem would be that the correct answer would ALWAYS be the same picture on the screen. That is, if I designated the left of the three images as the correct answer, the subject could deduce that the left image is correct every time. So I need an infile command preceding the slide that designates which image has which filename. It starts with a random number selection, like this: Randomize Dim ordernumber As Integer ordernumber = Random(0, 5) ...with six total possibilities to account for the six possible orders of the three images. Then, if statements would delegate which image is which. *My question is* - how exactly in eBasic can I designate a slide image's filename? I found this in the eBasic code helpfile: SlideImage Object (topic) Set theImage = CSlideImage(SlideName.States(_ SlideName.ActiveState).Objects("ImageName")) But I couldn't figure out how to change the filename. Any help would be appreciated! Thanks! Adam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathy.smolewska at gmail.com Tue Jun 2 19:54:21 2009 From: kathy.smolewska at gmail.com (KKat) Date: Tue, 2 Jun 2009 12:54:21 -0700 Subject: Alternative to response counters for selection from lists with fixed reward/loss? Message-ID: Dear members: I posted a few weeks ago with regard to a modified version of the Iowa Gambling Task that I was working on and I received great initial advice from a fellow member on how to use nested lists to achieve my goal of selecting from four different lists on each trial. However, I now have another problem, so here it goes.... Currently, I have a List object (named DesignList) which consists of one row and the following under the Nested column: DeckA, DeckB, DeckC, Deck D. It looks like this: ID Weight Procedure Nested Attributes..... --------------------------------------------------------------------------------------------------------------------------------- 1 1 TrialProc DeckA,DeckB,DeckC,DeckD Then, I have four separate lists (DeckA, DeckB, DeckC, DeckD) created under the DesignList. Each of these lists has the same structure, which looks like this: DeckA: ID Weight varwin1 varloss1 --------------------------------------------------------------------------------------------------------------------------------- 1 1 +100 0 2 1 +100 0 3 1 +100 -150 etc. DeckB: ID Weight varwin2 varloss2 --------------------------------------------------------------------------------------------------------------------------------- 1 1 +100 0 : 1 +100 0 10 1 +100 -1250 etc. I am able to sample each list (i.e., the program is selecting from the correct list and all lists work) and the task works ok as it's coded. However, it's not doing what I need it to do. In this task, it is imperative that the losses/rewards in each deck are presented in a specific, non-random order so that the experimenter can assess for sensitivity to reward and punishment, as well as reinforcement learning. Although the sampling is set to "sequential" for each list, it does not start on ID_1 for each deck --- for example, if I start selecting from DeckA and then move to DeckB for the second trial, it selects the [varwin2] and [varloss2] values from row ID_2; if I then select DeckD, it selects the [varwin4] and [varloss4] from row ID_3. I would like the sampling for each deck to be independent from the others - the program should refer to row ID_1, then ID_2, then ID_3 and so forth from EACH deck. In other words, the wins/losses should be fixed (i.e., if any participant chooses DeckX for the third time, they will all win/lose the same amount). I have been informed that when using nested lists, e-prime can only select one level from each list for each trial and cannot select one of the lists based on the answer given. This means that for trial 1 the four first levels of the four deck-lists are all four loaded by e- prime and based on the answer one of them is 'shown' to the subject. Because all four first levels are loaded e-prime will load the four second levels for the next trial etc. This means that a level for, for instance, deck B is 'used' whether or not the subject chooses this deck. Instead, it was suggested to me that I should delete the lists and code the wins/losses using response counters. My understanding is that I would would need to declare variables that count each response given (for instance 'respbcounter' counts how often the response is b). Then, based on the respbcounter, the win/loss is determined for a trial (if respbcounter is 8 then varwin2 = +100 and varloss2 = -0; if respbcounter is 9 then varwin2 = +100 and varloss2 = -1250). I would have to do the same for the three other decks. I have never used response counters or nested lists before this task - can anyone confirm whether or not response counters will solve my problem?? Or, does anyone have any other suggestions? Thank you! Kathy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From liwenna at gmail.com Tue Jun 2 11:58:46 2009 From: liwenna at gmail.com (liwenna) Date: Tue, 2 Jun 2009 04:58:46 -0700 Subject: next trial label? In-Reply-To: Message-ID: You're welcome! I am glad to hear it worked out. Happy testing! On May 28, 11:11 pm, M wrote: > thanks so much! that worked really well! > much appreciated! > > On May 28, 10:11 am, liwenna wrote: > > > mmm there's bound to be a better way but first thing that comes to > > mind here... > > > declare a global variable on the user tab of the script, say something > > like... 'dim nogolabeler as integer'. > > Then at the end of a trial add a piece of inline that reads the > > trialtype (from an attribute somewhere in your lists) and toggles the > > nogolabeler accordingly. > > > if c.getattrib ("trialtype" ) = 0 then nogolabeler = 0 > > if c.getattrib ("trialtype") = 1 then nogolabeler = 1 > > > then at the beginning of the trialproc add another inline that reads > > the nogolabeler and writes an attribute if it is set to 1 (by the > > previous described inline at the end of the previous trial). > > > if nogolabeler = 0 then c.setattrib "prevtrialwasnogo", 0 > > if nogolabeler = 1 then c.setattrib "prevtrialwasnogo", 1 > > > I didn't try these lines in e-prime so not sure if they're actually > > working, but it gives you an idea and it might actually do the thing > > you need. > > > Good luck! > > > liwenna > > > On May 28, 5:08 am, M wrote: > > > > Hello, > > > I'm working on a go/no-go experiment, and I'd like to be able to label > > > the trials that come immediately after the no-go trials (the trials > > > appear randomly). > > > Does anyone have any suggestions on how to write code to add an > > > attribute that labels the subsequent trial (and not the actual no-go > > > trial)? > > > I have not had much luck with anything I've tried so far. > > > Thanks so much!- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From liwenna at gmail.com Wed Jun 3 12:59:39 2009 From: liwenna at gmail.com (liwenna) Date: Wed, 3 Jun 2009 05:59:39 -0700 Subject: Alternative to response counters for selection from lists with fixed reward/loss? In-Reply-To: Message-ID: Hey! I couldn't let go of it and got another solution. I made a screenshot of it which can be found here: [img]http://images.redial.net/kkat.bmp[/ img] It's basically a rearrangement of the experiment that you have already with a few elements copied and a couple of elements added. What it does: it starts the experiment and a trial and then based on the answer given it continues to load either one of the decklists. For this the 'procedure' for each trial had to be split in two: the start of the trialproc is just as it was allready, and everything that was happening AFTER the answer is given is now moved to a separate procedure called 'restproc'. (which, I realise now, makes sense in dutch but not in english >.< rename it to somethign that's convenient to you). I realise that the whole thing looks rather messy on the screenshot but it will make sense if you rebuild it. (again: i'd send you the file but it won't work as I am in e-prime 2 and you're on 1). The inline called respchoosedeck makes the program skip to one of four labels based on the response given (labelrespA - labelrespD). These labels are placed on the trialproc and each label is followed by it's corresponding decklist. Still on the trialproc each of the decklists is followed by another piece of inline that tells the program to skip to the end of the trialproc (to endlabel) if that inline is encountered. Let's move to the next level: inside each of the four decklists you should nest a new proc (restproc in my case, call it what you like), and place the inline called "choose1234"and the slide called "FB" on this proc. Make all the levels of all the four decklists refer to this very same 'restproc' . The last pivotal setting is to change the sampling criteria on each of the decklists: a cycle should be all 100 samples, yet the list must be exited after 1 sample (and selection stays sequential). Now you're set! The only drawback is that your errorbar does no longer seem to work, but that might also be due to something else that I tried before founding this solution... I didn't notice when it stopped working. Let me know how this works for you! AW On Jun 2, 9:54 pm, KKat wrote: > Dear members: > > I posted a few weeks ago with regard to a modified version of the Iowa > Gambling Task that I was working on and I received great initial > advice from a fellow member on how to use nested lists to achieve my > goal of selecting from four different lists on each trial. However, I > now have another problem, so here it goes.... > > Currently, I have a List object (named DesignList) which consists of > one row and the following under the Nested column: DeckA, DeckB, > DeckC, Deck D. > > It looks like this: > > ID Weight Procedure > Nested Attributes..... > --------------------------------------------------------------------------------------------------------------------------------- > 1 1 TrialProc DeckA,DeckB,DeckC,DeckD > > Then, I have four separate lists (DeckA, DeckB, DeckC, DeckD) created > under the DesignList. > Each of these lists has the same structure, which looks like this: > > DeckA: > > ID Weight varwin1 varloss1 > --------------------------------------------------------------------------------------------------------------------------------- > 1 1 +100 0 > 2 1 +100 0 > 3 1 +100 -150 > etc. > > DeckB: > ID Weight varwin2 varloss2 > --------------------------------------------------------------------------------------------------------------------------------- > 1 1 +100 0 > : 1 +100 0 > 10 1 +100 -1250 > etc. > > I am able to sample each list (i.e., the program is selecting from the > correct list and all lists work) and the task works ok as it's coded. > However, it's not doing what I need it to do. In this task, it is > imperative that the > losses/rewards in each deck are presented in a specific, non-random > order so that the experimenter can assess for sensitivity to reward > and punishment, as well as reinforcement learning. > > Although the sampling is set to "sequential" for each list, it does > not start on ID_1 for each deck --- for example, if I start selecting > from DeckA and then move to DeckB for the second trial, it selects the > [varwin2] and > [varloss2] values from row ID_2; if I then select DeckD, it selects > the [varwin4] and [varloss4] from row ID_3. > > I would like the sampling for each deck to be independent from the > others - the program should refer to row ID_1, then ID_2, then ID_3 > and so forth from EACH deck. In other words, the wins/losses should be > fixed (i.e., if any participant chooses DeckX for the third time, they > will all win/lose the same amount). > > I have been informed that when using nested lists, e-prime can only > select one level from each list for each trial and cannot select one > of the lists based on the answer given. This means that for trial 1 > the four first levels of the four deck-lists are all four loaded by e- > prime and based on the answer one of them is 'shown' to the subject. > Because all four first levels are loaded e-prime will load the four > second levels for the next trial etc. This means that a level for, for > instance, deck B is 'used' whether or not the subject chooses this > deck. > > Instead, it was suggested to me that I should delete the lists and > code the wins/losses using response counters. My understanding is that > I would would need to declare variables that count each response given > (for instance 'respbcounter' counts how often the response is b). > Then, based on the respbcounter, the win/loss is > determined for a trial (if respbcounter is 8 then varwin2 = +100 and > varloss2 = -0; if respbcounter is 9 then varwin2 = +100 and varloss2 > = -1250). I would have to do the same for the three other decks. > > I have never used response counters or nested lists before this task - > can anyone confirm whether or not response counters will solve my > problem?? Or, does anyone have any other suggestions? > Thank you! > Kathy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From kathy.smolewska at gmail.com Wed Jun 3 23:26:21 2009 From: kathy.smolewska at gmail.com (KKat) Date: Wed, 3 Jun 2009 16:26:21 -0700 Subject: Alternative to response counters for selection from lists with fixed reward/loss? In-Reply-To: <28c807f8-0a8b-4e47-8289-ab5f58bc0c4b@c19g2000yqc.googlegroups.com> Message-ID: Thank you so much! It works fine now. I really appreciate it :) k. On Jun 3, 8:59?am, liwenna wrote: > Hey! > > I couldn't let go of it and got another solution. I made a screenshot > of it which can be found here: [img]http://images.redial.net/kkat.bmp[/ > img] > > It's basically a rearrangement of the experiment that you have already > with a few elements copied and a couple of elements added. What it > does: it starts the experiment and a trial and then based on the > answer given it continues to load either one of the decklists. For > this the 'procedure' for each trial had to be split in two: the start > of the trialproc is just as it was allready, and everything that was > happening AFTER the answer is given is now moved to a separate > procedure called 'restproc'. (which, I realise now, makes sense in > dutch but not in english >.< rename it to somethign that's convenient > to you). ?I realise that the whole thing looks rather messy on the > screenshot but it will make sense if you rebuild it. (again: i'd send > you the file but it won't work as I am in e-prime 2 and you're on 1). > > The inline called respchoosedeck makes the program skip to one of four > labels based on the response given (labelrespA - labelrespD). These > labels are placed on the trialproc and each label is followed by it's > corresponding decklist. Still on the trialproc each of the decklists > is followed by another piece of inline that tells the program to skip > to the end of the trialproc (to endlabel) if that inline is > encountered. > > Let's move to the next level: inside each of the four decklists you > should nest a new proc (restproc in my case, call it what you like), > and place the inline called "choose1234"and the slide called "FB" on > this proc. Make all the levels of all the four decklists refer to this > very same ?'restproc' . > > The last pivotal setting is to change the sampling criteria on each of > the decklists: a cycle should be all 100 samples, yet the list must be > exited after 1 sample (and selection stays sequential). ?Now you're > set! > > The only drawback is that your errorbar does no longer seem to work, > but that might also be due to something else that I tried before > founding this solution... I didn't notice when it stopped working. > > Let me know how this works for you! > > AW > > On Jun 2, 9:54 pm, KKat wrote: > > > Dear members: > > > I posted a few weeks ago with regard to a modified version of the Iowa > > Gambling Task that I was working on and I received great initial > > advice from a fellow member on how to use nested lists to achieve my > > goal of selecting from four different lists on each trial. However, I > > now have another problem, so here it goes.... > > > Currently, I have a List object (named DesignList) which consists of > > one row and the following under the Nested column: DeckA, DeckB, > > DeckC, Deck D. > > > It looks like this: > > > ID ? ?Weight ? ? Procedure > > Nested ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Attributes..... > > --------------------------------------------------------------------------------------------------------------------------------- > > 1 ? ? ? ? 1 ? ? ? ? ?TrialProc ? ? DeckA,DeckB,DeckC,DeckD > > > Then, I have four separate lists (DeckA, DeckB, DeckC, DeckD) created > > under the DesignList. > > Each of these lists has the same structure, which looks like this: > > > DeckA: > > > ID ? ?Weight ? ? varwin1 ? ? ?varloss1 > > --------------------------------------------------------------------------------------------------------------------------------- > > 1 ? ? ? ? 1 ? ? ? ? ?+100 ? ? ? ? ? ?0 > > 2 ? ? ? ? 1 ? ? ? ? ?+100 ? ? ? ? ? ?0 > > 3 ? ? ? ? 1 ? ? ? ? ?+100 ? ? ? ? ? ?-150 > > etc. > > > DeckB: > > ID ? ?Weight ? ? varwin2 ? ? ?varloss2 > > --------------------------------------------------------------------------------------------------------------------------------- > > 1 ? ? ? ? 1 ? ? ? ? ?+100 ? ? ? ? ? ?0 > > : ? ? ? ? ?1 ? ? ? ? ?+100 ? ? ? ? ? ?0 > > 10 ? ? ? ?1 ? ? ? ? ?+100 ? ? ? ? -1250 > > etc. > > > I am able to sample each list (i.e., the program is selecting from the > > correct list and all lists work) and the task works ok as it's coded. > > However, it's not doing what I need it to do. In this task, it is > > imperative that the > > losses/rewards in each deck are presented in a specific, non-random > > order so that the experimenter can assess for sensitivity to reward > > and punishment, as well as reinforcement learning. > > > Although the sampling is set to "sequential" for each list, it does > > not start on ID_1 for each deck --- for example, if I start selecting > > from DeckA and then move to DeckB for the second trial, it selects the > > [varwin2] and > > [varloss2] values from row ID_2; if I then select DeckD, it selects > > the [varwin4] and [varloss4] from row ID_3. > > > I would like the sampling for each deck to be independent from the > > others - the program should refer to row ID_1, then ID_2, then ID_3 > > and so forth from EACH deck. In other words, the wins/losses should be > > fixed (i.e., if any participant chooses DeckX for the third time, they > > will all win/lose the same amount). > > > I have been informed that when using nested lists, e-prime can only > > select one level from each list for each trial and ?cannot select one > > of the lists based on the answer given. This means that for trial 1 > > the four first levels of the four deck-lists are all four loaded by e- > > prime and based on the answer one of them is 'shown' to the subject. > > Because all four first levels are loaded e-prime will load the four > > second levels for the next trial etc. This means that a level for, for > > instance, deck B is 'used' whether or not the subject chooses this > > deck. > > > Instead, it was suggested to me that I should delete the lists and > > code the wins/losses using response counters. My understanding is that > > I would would need to declare variables that count each response given > > (for instance 'respbcounter' counts how ?often the response is b). > > Then, based on the respbcounter, the win/loss is > > ?determined for a trial (if respbcounter is 8 then varwin2 ?= +100 and > > varloss2 = -0; ?if respbcounter is 9 then varwin2 = +100 and varloss2 > > = -1250). I would have to do the same for the three other decks. > > > I have never used response counters or nested lists before this task - > > can anyone confirm whether or not response counters will solve my > > problem?? Or, does anyone have any other suggestions? > > Thank you! > > Kathy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From cindygooch at yahoo.com Wed Jun 3 15:23:12 2009 From: cindygooch at yahoo.com (javagirl) Date: Wed, 3 Jun 2009 08:23:12 -0700 Subject: Timing animation in a script? Message-ID: Hi I would like to show animation I created in a Do..While loop for about 600 ms. Does anyone know the best way to do this? Thanks Cindy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From Michiel.Spape at nottingham.ac.uk Thu Jun 4 15:05:31 2009 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Thu, 4 Jun 2009 16:05:31 +0100 Subject: Timing animation in a script? In-Reply-To: Message-ID: Hi, What do you mean by 'show animation I created in..'? Are you trying to show an avi file, for example, or alternatively, move a picture across the screen in 600 ms (say, 1 pixel each 20 ms)? For the latter, I typically set start and end points, and check every time whether the 600 ms have passed. If one would, for example, have an imagedisplay, myDisplay, showing a picture at x,y = 300,400, then moving it, this would be possible: Dim starttime as long Starttime = clock.read While (clock.read - starttime) < 600 do myDisplay.x = myDisplay.x + 1 myDisplay.y = myDisplay.y + 1 myDisplay.run Wend With the image being in the unreferenced objects ('deleted', which makes a mess of your experiment, but using goto loops isn't that transparent either). For the former, I do not see why one would want to use a while...loop. Isn't the duration/offset enough to time it properly (though i have never used avi files, I wouldn't be surprised if this would be the case) Best, Michiel Michiel Spap? Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of javagirl Sent: 03 June 2009 16:23 To: E-Prime Subject: Timing animation in a script? Hi I would like to show animation I created in a Do..While loop for about 600 ms. Does anyone know the best way to do this? Thanks Cindy This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From meg.andrejczuk at gmail.com Thu Jun 4 18:45:44 2009 From: meg.andrejczuk at gmail.com (Megan Andrejczuk) Date: Thu, 4 Jun 2009 14:45:44 -0400 Subject: data collection In-Reply-To: <7d497d1d0905280647m78fa1420jf9d6c61913d12f44@mail.gmail.com> Message-ID: Hi Again, I have synched the Voice Key from the Response box and the SoundIn so they are both working simultaneously however, the system crashes at the end of the experiment. Has anyone experienced this before? any suggestions? On Thu, May 28, 2009 at 9:47 AM, Megan Andrejczuk wrote: > Hi all! > > I have tested the Voice Key and it seems to trip before I speak into the > microphone. I am assuming this has to do with the sensitivity but I am not > sure how to modify this? The gage on the back of the box seems near > impossible to turn. Are there any suggestions? > > Also, I would like to set up a collection of Voice onset at the > presentation of a picture, basically picture naming. I am not sure how this > is done in the procedure to include the voice key. I have the experiment set > up to display the pictures. But I do not know how to set up the procedure to > collect the voice onset. I have made several attempts and have been > unsuccessful thus far. I am assuming I have to have a list somehow and > include the "6" as the allowable input? Can anyone help or point me in the > direction of a tutorial. At this point, I am frustrated and do not have a > great sense of e-prime. > > On Mon, May 18, 2009 at 2:53 PM, Megan Andrejczuk < > meg.andrejczuk at gmail.com> wrote: > >> Thanks David! >> >> >> On Mon, May 18, 2009 at 2:49 PM, David McFarlane wrote: >> >>> >>> Megan, >>> >>> Use of the voice key is described on pages 11-12 and 15 of the manual >>> that came with the SRBox. If you do not have the manual then you >>> really have to contact PST and get one from them ASAP. Also, as >>> stated in the manual, the voice key is already set up to work with >>> the Utiilites test program that came with the SRBox (also >>> downloadable from PST). If your voice key does not work with the >>> Utilities program then you have some troubleshooting to do. >>> >>> -- David McFarlane, Professional Faultfinder >>> >>> >>> >Thanks David! But that is where my confusion comes in. I am not sure >>> >how to incorporate the voice key response. I have the experiment >>> >set-up so the pictures appear but don't know how to collect the >>> >onset time using the voice key. I am extremely new to e-prime so >>> >this may be an elementary question. >>> > >>> >Thanks, >>> > >>> >Megan >>> > >>> >On Mon, May 18, 2009 at 2:28 PM, David McFarlane >>> ><mcfarla9 at msu.edu> wrote: >>> > >>> >Megan, >>> > >>> >As a general E-Prime programming strategy, I would start by >>> >forgetting about the SoundIn, and just make a simple program that >>> >shows the pictures and gets the response time using the voice key >>> >response. Then I would make a second simplified program that just >>> >shows pictures and records voice responses with SoundIn, without >>> >worrying about the response time. Then I would take everything I >>> >learned from those two simplified programs and combine that into one >>> >program that gets response times from the voice key plus records the >>> >responses. >>> > >>> >Good luck, >>> >-- David McFarlane, Professional Faultfinder >>> > >>> > >>> > >I have tested my Serial Response Box and everything seems to be >>> > >functioning properly. I am confused how to add the timing onset to my >>> > >experiment. It is a picture naming task, so an image is displayed for >>> > >two seconds and the participant is directed to name the object as >>> > >quickly as they can. I would like to start timing at voice onset, in >>> > >order to know how quickyl they responded. I added the SRBox and then >>> > >put a SoundIn in the Procedure but I think it is only recording the >>> > >verbalization. How do I have the SRBox only record the onset time? >>> > >Also, where will the data be logged? >>> > > >>> > >Thanks, >>> > > >>> > >Megan >>> > >>> >> >>> >>> >>> >>> >>> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From ll356 at medschl.cam.ac.uk Fri Jun 5 12:23:36 2009 From: ll356 at medschl.cam.ac.uk (River) Date: Fri, 5 Jun 2009 05:23:36 -0700 Subject: Randomisation across blocks Message-ID: Hi, I am trying to randomise stimuli across two test blocks using the following List settings: TestBlock1 41 random images(unrepeated) from ListA 1 cue image_1 3 random images (unrepeated) from ListA TestBlock2 41 random images (unrepeated) from ListA 1 cue image_2 3 random images (unrepeated) from ListA The random images all come from the same list (BlockListA) with two nested lists, Target absent images (containing 43 images) and Target present images(containing 45 images). Each of the two cue images have a separate list to themselves. The TestBlocks state the order should be sequential while BlockListA and the Target Absent and Target Present nested lists both state ordering should be random (without replacement). When i run the experiment one of the target absent images is repeated instead of showing the final target present image. I can't understand why the randomisation is working across these test blocks for all bar a single image (not the same one each time)!! I've changed the experiment to the following structure: TestBlock1 45 (sequentially ordered) images from BlockListA TestBlock2 45 (sequentially ordered) images from BlockListB Where BlockListA states (sequential ordering): 41 images from TargetList (which contains both target absent and target present images) 1 image from Cue_1 3 images from TargetList Where BlockListB states (sequential ordering): 41 images from TargetList (which contains both target absent and target present images) 1 image from Cue_2 3 images from TargetList Where TargetList ordering is random without replacement. This seems to work (i've run the experiment 8 times so far with no duplicates/ missing images) but i'd like to know why this would work instead of the above described experiment as essentially the only difference is that the random images are all in the same list and the sequential ordering of 41 random images, 1cue, 3 random images is described later on in the list structure (i.e. in BlockListA not TestBlock). I hope this is clear enough! Any advice would be much appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From jjm.barnes at gmail.com Wed Jun 10 00:06:09 2009 From: jjm.barnes at gmail.com (Jessica) Date: Tue, 9 Jun 2009 17:06:09 -0700 Subject: Problems with trigger coding Message-ID: Hi everyone, An absolute E-Prime newbie here. I'm just working on my first set of E- Prime tasks (just standard stuff like stop-signal and flanker) for an ERP study and I'm having a few issues with triggering at the moment. The thing is that everyone in my entire lab uses Presentation and has very limited or no experience with E-Prime (and we're trying to diversify, which is why I've been asked to independently teach myself how to use E-Prime so at least someone in the lab knows it), so I'm not getting many answers from that direction. Hopefully you guys can give me a bit of help with my problems. I've set up my first set of triggers in a flanker task. However, when I run it through our BioSemi set-up, the triggers are displaying in an unusual way in the EEG read-out. For the onset of the FlankerImage (see the screencaps below for my task structure), the trigger is correctly displaying as the expected numbers (128, 129, etc). For the onset of the inter-trial interval (which indirectly denotes the participant's response), the trigger is correctly displaying as the expected numbers (64, 65, etc). However, at the onset of the FlankerImage, below the correct number, I'm getting a second number that seems to be a summation of the numbers coming through on the two different pins. So for example, below 128 in the EEG readout will be the number 192, which seems to be a summation of 128 and 64. Here are some screencaps of my inline codes. Inline 1 for onset of FlankerImage: http://i40.tinypic.com/2j2b7gp.jpg Inline 2 for onset of ITI: http://i40.tinypic.com/5kp0ns.jpg Does anyone know where I'm going wrong with the trigger coding? Is the extraneous number in the EEG readout a problem? And please let me know if I've put in any stupid/redundant coding. I'm really just stumbling around in the dark with E-Prime at the moment. Thanks for your help. Jess --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mikedevine1 at gmail.com Wed Jun 10 01:20:57 2009 From: mikedevine1 at gmail.com (Michael Devine) Date: Tue, 9 Jun 2009 18:20:57 -0700 Subject: Displaying multiple images simultaneously Message-ID: Hello all, I am relatively new to the E-Prime game, and I'm having trouble putting together a basic spatial orientation task in which I'd like to present multiple pairs of geometric shapes in different orientations and have participants evaluate whether they are the same. The problem is, I can't seem to figure out how to have 2 images appear simultaneously. Can anyone help me out? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From pquain at une.edu.au Wed Jun 10 01:52:07 2009 From: pquain at une.edu.au (Peter Quain) Date: Wed, 10 Jun 2009 11:52:07 +1000 Subject: Problems with trigger coding In-Reply-To: Message-ID: At 10:06 AM 10/06/2009, you wrote: >Hi everyone, > >An absolute E-Prime newbie here. I'm just working on my first set of E- >Prime tasks (just standard stuff like stop-signal and flanker) for an >ERP study and I'm having a few issues with triggering at the moment. > >The thing is that everyone in my entire lab uses Presentation and has >very limited or no experience with E-Prime (and we're trying to >diversify, which is why I've been asked to independently teach myself >how to use E-Prime so at least someone in the lab knows it), so I'm >not getting many answers from that direction. Hopefully you guys can >give me a bit of help with my problems. > >I've set up my first set of triggers in a flanker task. However, when >I run it through our BioSemi set-up, the triggers are displaying in an >unusual way in the EEG read-out. > >For the onset of the FlankerImage (see the screencaps below for my >task structure), the trigger is correctly displaying as the expected >numbers (128, 129, etc). For the onset of the inter-trial interval >(which indirectly denotes the participant's response), the trigger is >correctly displaying as the expected numbers (64, 65, etc). The code in your screenshots refers to the practice image, not the flanker image. Not sure how you're getting triggers from the flanker slide.. >However, >at the onset of the FlankerImage, below the correct number, Maybe it is just after .. or before the 'proper' pulse, and format for close event codes writes one lower than the other on display. Seems unlikely that BioSemi would be designed to accept or display simultaneous, different event codes. >I'm >getting a second number that seems to be a summation of the numbers >coming through on the two different pins. All 8 pins have a value, 1 or 0. > So for example, below 128 in >the EEG readout will be the number 192, which seems to be a summation >of 128 and 64. Does this happen on the very first trial of the first block, or not until the second? ... in InLine2 the port is not zeroed - WritePort &H378, 0 - after the pulse (value=64) is sent. ... parallel port has 8 pins for ttl pulse. Each pin = 1 bit, 8 pins = 1 byte (or a word) ... WritePort command sends byte, which turns on (makes value of '1') or turns off (makes value of '0') each of the 8 pins. 64 = binary 01000000 128 = binary 10000000 pin addition = 11000000 .. which = 192 decimal 129 = binary 10000001 pin addition = 11000001 .. which = 193 decimal It seems like when you send '128' while '64' still active (pins remain high until pulled low .. set to '0') that e-prime or BioSemi is simply turning on pin8 (leftmost) while leaving pin7 high... so you get a 'new' byte based on the binary value of the active pins. My guess is it is in the BioSemi buffer that this is occurring, because you are getting both the correct and pin additive codes. E-prime would likely send a whole new byte to the port after parsing the trigger value, in decimal or hexadecimal, to binary each time it was called. Also, in inline1, the offset signal is set to 32, not 0. Strange that this isn't causing the same thing? Maybe zero the pins after each pulse will show if that's the problem? --------------------------------------------- WritePort &H378, RespData t5 = Clock.Read ' send pulse for 7ms Do hh = Clock.Read Loop While hh - t5 < 7 'toggle all bits low (turn off TTL pulse) WritePort &H378, &H0 ----------------------------------------- PracticeImage.OffsetSignalData = 0 --------------------------------------------- >Here are some screencaps of my inline codes. >Inline 1 for onset of FlankerImage: http://i40.tinypic.com/2j2b7gp.jpg >Inline 2 for onset of ITI: http://i40.tinypic.com/5kp0ns.jpg > >Does anyone know where I'm going wrong with the trigger coding? Is the >extraneous number in the EEG readout a problem? And please let me know >if I've put in any stupid/redundant coding. I'm really just stumbling >around in the dark with E-Prime at the moment. > >Thanks for your help. > >Jess > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From liwenna at gmail.com Wed Jun 10 12:50:02 2009 From: liwenna at gmail.com (liwenna) Date: Wed, 10 Jun 2009 05:50:02 -0700 Subject: Displaying multiple images simultaneously In-Reply-To: <5318fa8c-f9ff-4e7b-9fe6-4d2a835ac510@y7g2000yqa.googlegroups.com> Message-ID: Hey Michael, If you use a slideobject (find it on the left and drag it onto your procedure) you can then fit multiple imageobjects into that slide. Simply open the slide and find the different kind of objects (text, image, movie, sound etc) in the top part of the screen. Click on the image object and then click somewhere in your slide et voila: an image, do this again and you have two images in one slide ergo: two images that appear simultaneously. Use the dropdown menu in the top part of the slidescreen to select either one of the objects in the slide in order to change their properties (green properties button rifht of the dragdown menu), or change the properties for the slide as a whole by using the white properties button (left of the dragdown menu). This should bring you somewhat further. Good luck on it! On Jun 10, 3:20 am, Michael Devine wrote: > Hello all, > > I am relatively new to the E-Prime game, and I'm having trouble > putting together a basic spatial orientation task in which I'd like to > present multiple pairs of geometric shapes in different orientations > and have participants evaluate whether they are the same. The problem > is, I can't seem to figure out how to have 2 images appear > simultaneously. Can anyone help me out? > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mikedevine1 at gmail.com Wed Jun 10 16:14:37 2009 From: mikedevine1 at gmail.com (Michael Devine) Date: Wed, 10 Jun 2009 09:14:37 -0700 Subject: Displaying multiple images simultaneously In-Reply-To: <02505567-1f5c-4be5-9df9-889dfbf2632d@3g2000yqk.googlegroups.com> Message-ID: That was very helpful, thank you! Do you know if there is a way to set up a list of pictures to be displayed in this way, as you would with a list object? I have 75 pairs of images, and it would definitely be easier if I could type the image file names into a list, rather than setting up an individual slide and fixation for each pair. Thanks again! --Mike On Jun 10, 5:50?am, liwenna wrote: > Hey Michael, > > If you use a slideobject (find it on the left and drag it onto your > procedure) you can then fit multiple imageobjects into that slide. > Simply open the slide and find the different kind of objects (text, > image, movie, sound etc) in the top part of the screen. Click on the > image object and then click somewhere in your slide et voila: an > image, do this again and you have two images in one slide ergo: two > images that appear simultaneously. Use the dropdown menu in the top > part of the slidescreen to select either one of the objects in the > slide in order to change their properties (green properties button > rifht of the dragdown menu), or change the properties for the slide as > a whole by using the white properties button (left of the dragdown > menu). > > This should bring you somewhat further. > > Good luck on it! > > On Jun 10, 3:20 am, Michael Devine wrote: > > > Hello all, > > > I am relatively new to the E-Prime game, and I'm having trouble > > putting together a basic spatial orientation task in which I'd like to > > present multiple pairs of geometric shapes in different orientations > > and have participants evaluate whether they are the same. ?The problem > > is, I can't seem to figure out how to have 2 images appear > > simultaneously. ?Can anyone help me out? > > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From scampbell at casl.umd.edu Wed Jun 10 16:46:47 2009 From: scampbell at casl.umd.edu (Susan G. Campbell) Date: Wed, 10 Jun 2009 12:46:47 -0400 Subject: Displaying multiple images simultaneously In-Reply-To: Message-ID: I'd take a look at PictureRT.es in the Samples folder of your My Experiments folder. Alternatively, you could look at a more complicated example here: http://step.psy.cmu.edu/scripts/Memory/Weldon1987.html HTH, Susan -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Michael Devine Sent: Wednesday, June 10, 2009 12:15 PM To: E-Prime Subject: Re: Displaying multiple images simultaneously That was very helpful, thank you! Do you know if there is a way to set up a list of pictures to be displayed in this way, as you would with a list object? I have 75 pairs of images, and it would definitely be easier if I could type the image file names into a list, rather than setting up an individual slide and fixation for each pair. Thanks again! --Mike On Jun 10, 5:50?am, liwenna wrote: > Hey Michael, > > If you use a slideobject (find it on the left and drag it onto your > procedure) you can then fit multiple imageobjects into that slide. > Simply open the slide and find the different kind of objects (text, > image, movie, sound etc) in the top part of the screen. Click on the > image object and then click somewhere in your slide et voila: an > image, do this again and you have two images in one slide ergo: two > images that appear simultaneously. Use the dropdown menu in the top > part of the slidescreen to select either one of the objects in the > slide in order to change their properties (green properties button > rifht of the dragdown menu), or change the properties for the slide as > a whole by using the white properties button (left of the dragdown > menu). > > This should bring you somewhat further. > > Good luck on it! > > On Jun 10, 3:20 am, Michael Devine wrote: > > > Hello all, > > > I am relatively new to the E-Prime game, and I'm having trouble > > putting together a basic spatial orientation task in which I'd like to > > present multiple pairs of geometric shapes in different orientations > > and have participants evaluate whether they are the same. ?The problem > > is, I can't seem to figure out how to have 2 images appear > > simultaneously. ?Can anyone help me out? > > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From liwenna at gmail.com Thu Jun 11 11:27:15 2009 From: liwenna at gmail.com (liwenna) Date: Thu, 11 Jun 2009 04:27:15 -0700 Subject: Displaying multiple images simultaneously In-Reply-To: <91DE5CFA11F8DC49ACA9E1DDAD380E545401FB26A6@EX.casl.umd.edu> Message-ID: Sure...! Make two attributes to a list, one called image1 and one called image2 (for instance). Then at the properties of your imageobjects in your slide, make one refer to image1 (use the text: [image1] under properties at the position of the filename) and one to image2 ( [image2] ). Susan is right. Obviously you are very welcome to ask your questions here (we all started out clueless on e-prime), but this is a bit of a timeconsuming process on your part (waiting for replies), while these are pretty basic things that are covered in the guide (have you got the guide?) and in several example scripts. Do feel free to ask more questions. Best regards, liwenna On Jun 10, 6:46?pm, "Susan G. Campbell" wrote: > I'd take a look at PictureRT.es in the Samples folder of your My Experiments folder. ?Alternatively, you could look at a more complicated example here:http://step.psy.cmu.edu/scripts/Memory/Weldon1987.html > > HTH, > Susan > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Michael Devine > Sent: Wednesday, June 10, 2009 12:15 PM > To: E-Prime > Subject: Re: Displaying multiple images simultaneously > > That was very helpful, thank you! > > Do you know if there is a way to set up a list of pictures to be > displayed in this way, as you would with a list object? ?I have 75 > pairs of images, and it would definitely be easier if I could type the > image file names into a list, rather than setting up an individual > slide and fixation for each pair. > > Thanks again! > > --Mike > > On Jun 10, 5:50?am, liwenna wrote: > > Hey Michael, > > > If you use a slideobject (find it on the left and drag it onto your > > procedure) you can then fit multiple imageobjects into that slide. > > Simply open the slide and find the different kind of objects (text, > > image, movie, sound etc) in the top part of the screen. Click on the > > image object and then click somewhere in your slide et voila: an > > image, do this again and you have two images in one slide ergo: two > > images that appear simultaneously. Use the dropdown menu in the top > > part of the slidescreen to select either one of the objects in the > > slide in order to change their properties (green properties button > > rifht of the dragdown menu), or change the properties for the slide as > > a whole by using the white properties button (left of the dragdown > > menu). > > > This should bring you somewhat further. > > > Good luck on it! > > > On Jun 10, 3:20 am, Michael Devine wrote: > > > > Hello all, > > > > I am relatively new to the E-Prime game, and I'm having trouble > > > putting together a basic spatial orientation task in which I'd like to > > > present multiple pairs of geometric shapes in different orientations > > > and have participants evaluate whether they are the same. ?The problem > > > is, I can't seem to figure out how to have 2 images appear > > > simultaneously. ?Can anyone help me out? > > > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From liwenna at gmail.com Thu Jun 11 11:31:16 2009 From: liwenna at gmail.com (liwenna) Date: Thu, 11 Jun 2009 04:31:16 -0700 Subject: Randomisation across blocks In-Reply-To: <27f40663-9517-479c-a761-9fa7b018c909@g37g2000yqn.googlegroups.com> Message-ID: Hey River, Your question for six days now. Personally I find it hard to see what could be wrong based on the info given. Could you perhaps post a screenshot of your setup, make it so that all the relevant lists are opened and visible, so that the settings are shown (for an example see this screenshot which was made for another thread ttp://images.redial.net/kkat.bmp). Or if you have solved problem by now... what was it? Best regards, liwenna On Jun 5, 2:23?pm, River wrote: > Hi, > > I am trying to randomise stimuli across two test blocks using the > following List settings: > > TestBlock1 > 41 random images(unrepeated) from ListA > 1 cue image_1 > 3 random images (unrepeated) from ListA > > TestBlock2 > 41 random images (unrepeated) from ListA > 1 cue image_2 > 3 random images (unrepeated) from ListA > > The random images all come from the same list (BlockListA) with two > nested lists, Target absent images (containing 43 images) ?and Target > present images(containing 45 images). Each of the two cue images have > a separate list to themselves. > > The TestBlocks state the order should be sequential while BlockListA > and the Target Absent and Target Present nested lists both state > ordering should be random (without replacement). > > When i run the experiment one of the target absent images is repeated > instead of showing the final target present image. I can't understand > why the randomisation is working across these test blocks for all bar > a single image (not the same one each time)!! > > I've changed the experiment to the following structure: > > TestBlock1 > 45 (sequentially ordered) images from BlockListA > > TestBlock2 > 45 (sequentially ordered) images from BlockListB > > Where BlockListA states (sequential ordering): > 41 images from TargetList (which contains both target absent and > target present images) > 1 image from Cue_1 > 3 images from TargetList > > Where BlockListB states (sequential ordering): > 41 images from TargetList (which contains both target absent and > target present images) > 1 image from Cue_2 > 3 images from TargetList > > Where TargetList ordering is random without replacement. This seems to > work (i've run the experiment 8 times so far with no duplicates/ > missing images) but i'd like to know why this would work instead of > the above described experiment as essentially the only difference is > that the random images are all in the same list and the sequential > ordering of 41 random images, 1cue, 3 random images is described later > on in the list structure (i.e. in BlockListA not TestBlock). > > I hope this is clear enough! Any advice would be much appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mikedevine1 at gmail.com Thu Jun 11 16:59:05 2009 From: mikedevine1 at gmail.com (Mike Devine) Date: Thu, 11 Jun 2009 09:59:05 -0700 Subject: Displaying multiple images simultaneously In-Reply-To: <7e321424-2587-4fe1-a048-a1a1e9194458@o18g2000yqi.googlegroups.com> Message-ID: Thanks, I really appreciate everyone's help! I guess I've developed a bit of learned helplessness when it comes to research software; I'll be sure to look through the guides more thoroughly! --Mike On Thu, Jun 11, 2009 at 4:27 AM, liwenna wrote: > > Sure...! > > Make two attributes to a list, one called image1 and one called image2 > (for instance). Then at the properties of your imageobjects in your > slide, make one refer to image1 (use the text: [image1] under > properties at the position of the filename) and one to image2 > ( [image2] ). > > Susan is right. Obviously you are very welcome to ask your questions > here (we all started out clueless on e-prime), but this is a bit of a > timeconsuming process on your part (waiting for replies), while these > are pretty basic things that are covered in the guide (have you got > the guide?) and in several example scripts. > > Do feel free to ask more questions. > > Best regards, > > liwenna > > On Jun 10, 6:46 pm, "Susan G. Campbell" > wrote: > > I'd take a look at PictureRT.es in the Samples folder of your My > Experiments folder. Alternatively, you could look at a more complicated > example here:http://step.psy.cmu.edu/scripts/Memory/Weldon1987.html > > > > HTH, > > Susan > > > > -----Original Message----- > > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On > Behalf Of Michael Devine > > Sent: Wednesday, June 10, 2009 12:15 PM > > To: E-Prime > > Subject: Re: Displaying multiple images simultaneously > > > > That was very helpful, thank you! > > > > Do you know if there is a way to set up a list of pictures to be > > displayed in this way, as you would with a list object? I have 75 > > pairs of images, and it would definitely be easier if I could type the > > image file names into a list, rather than setting up an individual > > slide and fixation for each pair. > > > > Thanks again! > > > > --Mike > > > > On Jun 10, 5:50 am, liwenna wrote: > > > Hey Michael, > > > > > If you use a slideobject (find it on the left and drag it onto your > > > procedure) you can then fit multiple imageobjects into that slide. > > > Simply open the slide and find the different kind of objects (text, > > > image, movie, sound etc) in the top part of the screen. Click on the > > > image object and then click somewhere in your slide et voila: an > > > image, do this again and you have two images in one slide ergo: two > > > images that appear simultaneously. Use the dropdown menu in the top > > > part of the slidescreen to select either one of the objects in the > > > slide in order to change their properties (green properties button > > > rifht of the dragdown menu), or change the properties for the slide as > > > a whole by using the white properties button (left of the dragdown > > > menu). > > > > > This should bring you somewhat further. > > > > > Good luck on it! > > > > > On Jun 10, 3:20 am, Michael Devine wrote: > > > > > > Hello all, > > > > > > I am relatively new to the E-Prime game, and I'm having trouble > > > > putting together a basic spatial orientation task in which I'd like > to > > > > present multiple pairs of geometric shapes in different orientations > > > > and have participants evaluate whether they are the same. The > problem > > > > is, I can't seem to figure out how to have 2 images appear > > > > simultaneously. Can anyone help me out? > > > > > > Thanks! > > > -- Michael J. Devine Graduate Research Assistant New College of Interdisciplinary Arts & Sciences Arizona State University Glendale, AZ 85306 E-mail: michael.devine at asu.edu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From e_e_c at hotmail.com Fri Jun 12 14:25:45 2009 From: e_e_c at hotmail.com (EmmaB) Date: Fri, 12 Jun 2009 07:25:45 -0700 Subject: multiple response recording with no feedback display Message-ID: Hi, Help required! I've just about completed the eprime program for an experiment involving participants making repetitive responses to an auditory stimulus (within a slide). The participant response does not terminate the slide; instead the slide repeats at an exact timed rate (determined by a "length" variable in the above list which is referred to in the duration tab). Participants respond every time they hear the sound. [the sound file consists of a period of silence, the beep, then more silence hence allowing for responses either side of the beep]. I need to record the time stamp of multiple responses per slide e.g. up to three or four, as participants may anticipate the beep, and press early, recorrect their mistake and press during, or anticipate the next beep during the current stimulus. All these responses are acceptable but I need to record the time of each/any/no responses. I have looked at the other multiple response posts on here, but as I am not experienced at writing script I am struggling to adapt the exemplar samples from the website. They all seem to include script that provides feedback to the participant following multiple responses. In my case I just want to record the timestamp of multiple responses. I also wish to write the responses to the same output file that is already being generated in my experiment, rather than a new one. I have already allowed multiple mouse presses within the advanced settings on the input tab (e.g. up to 10). And this gives me output for how many presses have been made. Any help with script to add into inline objects (& advice on where the inlines should be placed) would be greatly appreciated, as I'm really struggling with this one!!! Many thanks in advance! Emma Below is my attempt, but I know there are many things wrong with it! but it might help demonstrate: Dim i as Integer 'generic counter variable Dim nClicks As Integer 'number of responses Dim mouseMask As InputMask Dim mouseRespColl As ResponseDataCollection Dim OutputString as String 'figure out where we are in List1 i=c.GetAttrib("List8.Sample") OutputString = "Trial Number " + CStr(i) Write #1,OutputString nClicks = practblank1.InputMasks.Item(1).Responses.Count 'write the number of responses to file Write #1,nClicks,"number responses" If nClicks > 0 Then 'get the InputMask associated with the keyboard response Set mouseRespColl = practblank1.InputMasks.Item(1).Responses 'display RTs for each keyboard response (from start of trial) For i = 1 to nClicks OutputString = mouseRespColl(i).RTTime Write #1,i,CInt(OutputString) Next i If nClicks > 1 Then For i = 1 to nClicks OutputString = mouseRespColl(i).RTTime Write #1,i,CInt(OutputString) For i = 2 to nClicks OutputString = mouseRespColl(i+1).RTTime Write #1,i,CInt(OutputString) Next i If nClicks > 2 Then For i = 1 to nClicks OutputString = mouseRespColl(i).RTTime Write #1,i,CInt(OutputString) For i = 2 to nClicks OutputString = mouseRespColl(i+1).RTTime Write #1,i,CInt(OutputString) For i = 3 to nClicks OutputString = mouseRespColl(i+3).RTTime Write #1,i,CInt(OutputString) End If Else If nClicks = 0 Then --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Fri Jun 12 15:43:51 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 12 Jun 2009 11:43:51 -0400 Subject: multiple response recording with no feedback display In-Reply-To: Message-ID: Have you tried submitting this to PST Web Support at http://support.pstnet.com/e-prime/support/login.asp ? They seem to offer help for these things from time to time. -- David McFarlane, Professional Faultfinder >Hi, Help required! > >I've just about completed the eprime program for an experiment >involving participants making repetitive responses to an auditory >stimulus (within a slide). The participant response does not >terminate the slide; instead the slide repeats at an exact timed rate >(determined by a "length" variable in the above list which is referred >to in the duration tab). Participants respond every time they hear >the sound. [the sound file consists of a period of silence, the beep, >then more silence hence allowing for responses either side of the >beep]. I need to record the time stamp of multiple responses per >slide e.g. up to three or four, as participants may anticipate the >beep, and press early, recorrect their mistake and press during, or >anticipate the next beep during the current stimulus. All these >responses are acceptable but I need to record the time of each/any/no >responses. > >I have looked at the other multiple response posts on here, but as I >am not experienced at writing script I am struggling to adapt the >exemplar samples from the website. They all seem to include script >that provides feedback to the participant following multiple >responses. In my case I just want to record the timestamp of multiple >responses. I also wish to write the responses to the same output file >that is already being generated in my experiment, rather than a new >one. > >I have already allowed multiple mouse presses within the advanced >settings on the input tab (e.g. up to 10). And this gives me output >for how many presses have been made. > >Any help with script to add into inline objects (& advice on where the >inlines should be placed) would be greatly appreciated, as I'm really >struggling with this one!!! > >Many thanks in advance! > >Emma > >Below is my attempt, but I know there are many things wrong with it! >but it might help demonstrate: > >Dim i as Integer 'generic counter variable >Dim nClicks As Integer 'number of responses >Dim mouseMask As InputMask >Dim mouseRespColl As ResponseDataCollection >Dim OutputString as String > > >'figure out where we are in List1 >i=c.GetAttrib("List8.Sample") >OutputString = "Trial Number " + CStr(i) >Write #1,OutputString > >nClicks = practblank1.InputMasks.Item(1).Responses.Count > >'write the number of responses to file >Write #1,nClicks,"number responses" > >If nClicks > 0 Then > > 'get the InputMask associated with the keyboard response > Set mouseRespColl = practblank1.InputMasks.Item(1).Responses > > 'display RTs for each keyboard response (from start of trial) > For i = 1 to nClicks > OutputString = mouseRespColl(i).RTTime > Write #1,i,CInt(OutputString) > > Next i > >If nClicks > 1 Then > For i = 1 to nClicks > OutputString = mouseRespColl(i).RTTime > Write #1,i,CInt(OutputString) > > For i = 2 to nClicks > OutputString = mouseRespColl(i+1).RTTime > Write #1,i,CInt(OutputString) > > Next i >If nClicks > 2 Then > For i = 1 to nClicks > OutputString = mouseRespColl(i).RTTime > Write #1,i,CInt(OutputString) > > For i = 2 to nClicks > OutputString = mouseRespColl(i+1).RTTime > Write #1,i,CInt(OutputString) > > For i = 3 to nClicks > OutputString = mouseRespColl(i+3).RTTime > Write #1,i,CInt(OutputString) > > End If > >Else If nClicks = 0 Then --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From sara.agosta at gmail.com Mon Jun 15 22:31:09 2009 From: sara.agosta at gmail.com (saraag) Date: Mon, 15 Jun 2009 15:31:09 -0700 Subject: problem with summation of responses Message-ID: Hi all! I have a behavioral task that consists in series of choices (money) between two possibilities (now or delay), the subject respond with the mouse (1 or 2) and the response is recorded as Pres.Stim.RESP, the ammount of the two different proposals is recorded in the column "RNow" or "RDelay". I would like, for each choice (1 or 2) to sum the ammounts to the previuos ones, so that I have two summations: one for the choice 1 (Now) and one for the choice 2 (delay) and I would like to show just after the choice, I tried starting from the initialization of the variables: Dim Winning1 As Summation Dim Winning2 As Summation Dim RNow As Integer Dim RDelay As Integer and then just after the presentation slide: If PresStim.RESP=1 Then Winning1.AddObservation RNow If Pres.Stim.RESP=2 Then Winning2.AddObservation RDelay End If But this script is not working and I have no idea of what is missing... Can you help me? Thank you very much! Sara --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From Michiel.Spape at nottingham.ac.uk Tue Jun 16 09:38:51 2009 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Tue, 16 Jun 2009 10:38:51 +0100 Subject: problem with summation of responses In-Reply-To: <0fb2a0c0-fd23-4f45-ab24-e027f86aee15@c19g2000prh.googlegroups.com> Message-ID: Hi, Wow, I didn't even know there was such a thing as a summation object; seems i have been writing my own mean and SD functions for no reason. Anyway, I see a couple of things wrong with the code starting with the typo: is it PresStim or Pres.Stim? You use both, and I would guess that only PresStim is correct. If you have difficulty with the summation, you can, of course, always do what I have been doing so far: declare a counter variable and a sum variable, and just sum the winnings. Dim Winning1 As long Dim Winning2 As long Dim nWinning1 as integer Dim nWinning2 as integer Dim RNow As Integer Dim RDelay As Integer RNow = 20 'i don't quite get what you mean by "ammount of the two different proposals is recorded in the column" RDelay = 10 'perhaps you mean it is an attribute? For the sake of the example, i've just used c and then just after the presentation slide: If PresStim.RESP=1 Then 'oh, and wondering: is the response a keyboard button? I'd make it "1" then. Winning1 = Winning1 + RNow End if If PresStim.RESP=2 Then Winning2.AddObservation RDelay Winning2 = Winning2 + RDelay End If 'your enters were placed incorrectly. The first one missed one, so just to be clear about syntax, I changed it to the prototypical form should you have a problem with end ifs. I'd prefer this though: IF PresStim.Resp = "1" THEN Winning1 = Winning1 + RNow ELSE Winning2 = Winning2 + RDelay. Hope this helps. Michiel Spap? Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of saraag Sent: 15 June 2009 23:31 To: E-Prime Subject: problem with summation of responses Hi all! I have a behavioral task that consists in series of choices (money) between two possibilities (now or delay), the subject respond with the mouse (1 or 2) and the response is recorded as Pres.Stim.RESP, the ammount of the two different proposals is recorded in the column "RNow" or "RDelay". I would like, for each choice (1 or 2) to sum the ammounts to the previuos ones, so that I have two summations: one for the choice 1 (Now) and one for the choice 2 (delay) and I would like to show just after the choice, I tried starting from the initialization of the variables: Dim Winning1 As Summation Dim Winning2 As Summation Dim RNow As Integer Dim RDelay As Integer and then just after the presentation slide: If PresStim.RESP=1 Then Winning1.AddObservation RNow If Pres.Stim.RESP=2 Then Winning2.AddObservation RDelay End If But this script is not working and I have no idea of what is missing... Can you help me? Thank you very much! Sara This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Tue Jun 16 20:16:37 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 16 Jun 2009 16:16:37 -0400 Subject: Presenting an image with sound In-Reply-To: <7ce1a10c-6cc3-4e9c-8208-804179b2245c@3g2000yqk.googlegroup s.com> Message-ID: >I am a new ePrime user and I am having trouble figuring out how to >present an image at the same time as a sound file. Any suggestions? Advanced Tutorials 1 & 2 of the Getting Started Guide that came with E-Prime. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From kabrill at gmail.com Tue Jun 16 20:28:39 2009 From: kabrill at gmail.com (Kate Brill) Date: Tue, 16 Jun 2009 13:28:39 -0700 Subject: Presenting an image with sound In-Reply-To: <4a37fdb0.0d0bca0a.3d2e.ffffc7a5SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Alright, I did get both the image and the sound I want. Is there a way to allow the subject to repeat the sound by pressing a key (as in learning a sound matched to an image) before moving on to the next stimulus? Thanks! On Jun 16, 3:16?pm, David McFarlane wrote: > >I am a new ePrime user and I am having trouble figuring out how to > >present an image at the same time as a sound file. Any suggestions? > > Advanced Tutorials 1 & 2 of the Getting Started Guide that came with E-Prime. > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Tue Jun 16 20:47:39 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 16 Jun 2009 16:47:39 -0400 Subject: Presenting an image with sound In-Reply-To: <7030d955-be2e-4c66-b380-9305aa1686c1@k38g2000yqh.googlegro ups.com> Message-ID: For that you might have to resort to inline script and some If - Then statements. And for that you will need to work through first Advanced Tutorials 4 of the Getting Started Guide, and Chapter 4, Using E-Basic, of the User's Guide that came with E-Prime. -- David McFarlane, Professional Faultfinder At 6/16/2009 04:28 PM Tuesday, you wrote: >Alright, I did get both the image and the sound I want. Is there a way >to allow the subject to repeat the sound by pressing a key (as in >learning a sound matched to an image) before moving on to the next >stimulus? > >Thanks! > >On Jun 16, 3:16 pm, David McFarlane wrote: > > >I am a new ePrime user and I am having trouble figuring out how to > > >present an image at the same time as a sound file. Any suggestions? > > > > Advanced Tutorials 1 & 2 of the Getting Started Guide that came > with E-Prime. > > > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From kabrill at gmail.com Tue Jun 16 20:07:36 2009 From: kabrill at gmail.com (Kate Brill) Date: Tue, 16 Jun 2009 13:07:36 -0700 Subject: Presenting an image with sound Message-ID: Hello, I am a new ePrime user and I am having trouble figuring out how to present an image at the same time as a sound file. Any suggestions? Right now I am using the original ePrime but hope to soon be on ePrime version 2. Thanks!!! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From elam.txt at gmail.com Wed Jun 17 17:26:29 2009 From: elam.txt at gmail.com (Edmund Lam) Date: Wed, 17 Jun 2009 10:26:29 -0700 Subject: What does this line of code mean? Message-ID: Hello everyone, I have what I believe to be a relatively simple question for anybody who can help. I am modifying a Stop Signal Task for E-Prime 2. I have a procedures which flows like this TrainPicDisplay --> SkipTrain --> TrainPicDisplay2 --> EndOfTrialTrain (Picture) (inline) (picture) (inline) In the SkipTrain inline script, I have the following code: If TrainPicDisplay.RESP <> "" then goto EndOfTrialTrain beep 1. What does the <> "" in the first line mean? 2. Will the beep always sound? If not, when will it and when will it not? Thanks, Edmund Lam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From baltimore.ben at gmail.com Wed Jun 17 18:53:34 2009 From: baltimore.ben at gmail.com (ben robinson) Date: Wed, 17 Jun 2009 14:53:34 -0400 Subject: What does this line of code mean? In-Reply-To: <652d28d0-8a05-4524-9d9d-e6de8626fcfd@r10g2000yqa.googlegroups.com> Message-ID: the <> "" means "does not equal nothing"<> means "does not equal" and "" means no response was made. so, this line of code means that If a response was made Then Goto the end of the trial, otherwise Beep before going to the end of the trial. On Wed, Jun 17, 2009 at 1:26 PM, Edmund Lam wrote: > > Hello everyone, I have what I believe to be a relatively simple > question for anybody who can help. > > I am modifying a Stop Signal Task for E-Prime 2. I have a procedures > which flows like this > > TrainPicDisplay --> SkipTrain --> TrainPicDisplay2 --> EndOfTrialTrain > (Picture) (inline) > (picture) (inline) > > In the SkipTrain inline script, I have the following code: > > If TrainPicDisplay.RESP <> "" then goto EndOfTrialTrain > > beep > > 1. What does the <> "" in the first line mean? > 2. Will the beep always sound? If not, when will it and when will it > not? > > Thanks, > > Edmund Lam > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathy.smolewska at gmail.com Wed Jun 17 19:47:57 2009 From: kathy.smolewska at gmail.com (KKat) Date: Wed, 17 Jun 2009 12:47:57 -0700 Subject: Run-time Error - "no such attribute" Message-ID: Hello :) I am trying to figure out why I am getting the following error when I try to run my script: Run-time Error (Line 962) -990: Factor Error: No such attribute "varwin4II" I do NOT get this error for the first instance of the script [winII = c.getAttrib("varwin1II")] but it comes up every time I press a response button other than "a" (i.e., f, j, l). The attribute DOES exist, so I'm not sure what is going wrong. I included the relevant section of the script below. I don't know if this is important or not but I am using LABELS and I noticed the following noted on the script but I'm not sure if it has anything to do with my current error: Endlabel2: If Err.Number = ebInputAccepted Then Err.Clear Resume Endlabel2Resume ElseIf Err.Number <> 0 Then 'NOTE: If you receive a runtime error here, it ' is because a runtime error other than ebInputAccepted ' was thrown (ebInputAccepted for catching input masks that jump). 'You are encouraged to either handle the error so that ' it is not thrown in the future or will have to set up ' your own error handler, which will also need to take ' into account for any input masks that jump. ' 'Raise the error so the default error handler will show the message Err.Raise Err.Number, Err.Source, Err.Description End If Sub respproc2_Run(c as Context) ''''''''''''''''''''''''''''''''''''''''''''' ' InLine - Choose1234II BEGIN ''''''''''''''''''''''''''''''''''''''''''''' If game2.RESP = "a" then FB2.ActiveState = "f12" winII = c.getAttrib("varwin1II") lossII = c.getAttrib("varloss1II") totalsumII = totalsumII + winII + lossII TotalGainII = TotalGainII + winII TotalLossII= TotalLossII + lossII c.setAttrib "TotalsumII", TotalsumII c.setAttrib "AmountWonII", winII c.setAttrib "AmountLostII", lossII c.setAttrib "TotalGainII", TotalGainII c.setAttrib "TotalLossII", TotalLossII c.setAttrib "DeckChoiceII", 1 winD1II = c.getAttrib("varwin1II") lossD1II = c.getAttrib("varloss1II") TotalsumD1II = totalsumD1II + winD1II + lossD1II c.setAttrib "TotalsumD1II", TotalsumD1II c.setAttrib "BarWinII", BarWinII If totalsumII > 0 then BarWinII = TotalSumII/5 Else BarWinII = 0 End If elseif game2.RESP = "f" then FB2.ActiveState = "f22" winII = c.getAttrib("varwin2II") lossII = c.getAttrib("varloss2II") totalsumII = totalsumII + winII + lossII TotalGainII = TotalGainII + winII TotalLossII = TotalLossII + lossII c.setAttrib "TotalsumII", TotalsumII c.setAttrib "AmountWonII", winII c.setAttrib "AmountLostII", lossII c.setAttrib "TotalGainII", TotalGainII c.setAttrib "TotalLossII", TotalLossII c.setAttrib "DeckChoiceII", 2 winD2II = c.getAttrib("varwin2II") lossD2II = c.getAttrib("varloss2II") TotalsumD2II = totalsumD2II + winD2II + lossD2II c.setAttrib "TotalsumD2II", TotalsumD2II c.setAttrib "BarWinII", BarWinII If totalsumII > 0 then BarWinII = TotalSumII/5 Else BarWinII = 0 End If elseif game2.RESP = "j" then FB2.ActiveState = "f32" winII = c.getAttrib("varwin3II") lossII = c.getAttrib("varloss3II") totalsumII = totalsumII + winII + lossII TotalGainII = TotalGainII + winII TotalLossII = TotalLossII + lossII c.setAttrib "TotalsumII", TotalsumII c.setAttrib "AmountWonII", winII c.setAttrib "AmountLostII", lossII c.setAttrib "TotalGainII", TotalGainII c.setAttrib "TotalLossII", TotalLossII c.setAttrib "DeckChoiceII", 3 winD3II = c.getAttrib("varwin3II") lossD3II = c.getAttrib("varloss3II") TotalsumD3II = totalsumD3II + winD3II + lossD3II c.setAttrib "TotalsumD3II", TotalsumD3II c.setAttrib "BarWinII", BarWinII If totalsumII > 0 then BarWinII = TotalSumII/5 Else BarWinII = 0 End If elseif game2.RESP = "l" then FB2.ActiveState = "f42" winII = c.getAttrib("varwin4II") lossII = c.getAttrib("varloss4II") totalsumII = totalsumII + winII + lossII TotalGainII = TotalGainII + winII TotalLossII = TotalLossII + lossII c.setAttrib "TotalsumII", TotalsumII c.setAttrib "AmountWonII", winII c.setAttrib "AmountLostII", lossII c.setAttrib "TotalGainII", TotalGainII c.setAttrib "TotalLossII", TotalLossII c.setAttrib "DeckChoiceII", 4 winD4II = c.getAttrib("varwin4II") lossD4II = c.getAttrib("varloss4II") TotalsumD4II = totalsumD4II + winD4II + lossD4II c.setAttrib "TotalsumD4II", TotalsumD4II c.setAttrib "BarWinII", BarWinII If totalsumII > 0 then BarWinII = TotalSumII/5 Else BarWinII = 0 End If End If Thank you :) Kathy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From sara.agosta at gmail.com Wed Jun 17 21:37:54 2009 From: sara.agosta at gmail.com (saraag) Date: Wed, 17 Jun 2009 14:37:54 -0700 Subject: probability of a stimulus Message-ID: Hi All! I'm trying to set the probability of a stimulus. I have present one stimulus on the slide display, but the choice will be between two stimuli, with a probability of 66% for stimulus1 and 34% for stimulus2. I guess I have to add an inline before the Presentation Slide but someone knows the script that I have to use? thank you very much Sara --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From kathy.smolewska at gmail.com Thu Jun 18 00:06:19 2009 From: kathy.smolewska at gmail.com (KKat) Date: Wed, 17 Jun 2009 17:06:19 -0700 Subject: Summation across blocks Message-ID: Hello, I have designed a task with 4 blocks. I currently have a running total of "money" won within each block, however, I would like to alter this so that.... - the starting value for "total won" in Block2 is the total from the last trial of Block1 - the starting value for "total won" in Block3 is the total from the last trial of Block2 - the starting value for "total won" in Block4 is the total from the last trial of Block3 Thank you! Kathy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From t1msky at yahoo.co.uk Thu Jun 18 10:51:09 2009 From: t1msky at yahoo.co.uk (Victor) Date: Thu, 18 Jun 2009 03:51:09 -0700 Subject: Summation across blocks In-Reply-To: Message-ID: Hi Kathy, I am sure that if you have declared a global variable 'total won' with increments after each trial, then all you have to do is use; c.setattrib "total won", total won at the start of each new block in order to recall the running total which at the start of the new block will be the same as the end of the previous block. Or have I misunderstood? Hope this helps, Tim On Jun 18, 1:06?am, KKat wrote: > Hello, > I have designed a task with 4 blocks. I currently have a running total > of "money" won within each block, however, I would like to alter this > so that.... > > - the starting value for "total won" in Block2 is the total from the > last trial of Block1 > - the starting value for "total won" in Block3 is the total from the > last trial of Block2 > - the starting value for "total won" in Block4 is the total from the > last trial of Block3 > > Thank you! > Kathy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From liwenna at gmail.com Thu Jun 18 11:00:51 2009 From: liwenna at gmail.com (liwenna) Date: Thu, 18 Jun 2009 04:00:51 -0700 Subject: probability of a stimulus In-Reply-To: Message-ID: Hi Sara, Are these stimuli presented in a list somewhere? Because in a list you can toggle the weight of each level and thus the 'probability' of this level to happen. To do that you do need the two stimuli to be in separate levels, and I don't know (obviously) if that's possible in your task... but that would be the most easy solution. In this list that determintes which of the two stimuli will be shown (with 66% versus 33% change trough weight set to 1 and 2) you can nest another list that contains the rest of the information needed for eacht trial and have the procedure nested into that 'restinfo list'. This way only the type of stimulus will be varied with the one being picked twice as much as the other (do set it to random selection). Good luck! Let me know if questions arirse (I always find it hard to explain lists/setups in words). AW On Jun 17, 11:37 pm, saraag wrote: > Hi All! > > I'm trying to set the probability of a stimulus. > > I have present one stimulus on the slide display, but the choice will > be between two stimuli, with a probability of 66% for stimulus1 and > 34% for stimulus2. > > I guess I have to add an inline before the Presentation Slide but > someone knows the script that I have to use? > > thank you very much > Sara --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From d.vinson at ucl.ac.uk Thu Jun 18 11:01:56 2009 From: d.vinson at ucl.ac.uk (David Vinson) Date: Thu, 18 Jun 2009 12:01:56 +0100 Subject: probability of a stimulus In-Reply-To: Message-ID: saraag wrote: > I have present one stimulus on the slide display, but the choice will > be between two stimuli, with a probability of 66% for stimulus1 and > 34% for stimulus2. One way to do this would be to draw this item from a List containing two items: stimulus1 (weight 66) and stimulus2 (weight 34). If you want exactly 66% and 34% you could sample without replacement from this List; if approximately 66/34 is good enough, you could sample with replacement. -dpv --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From liwenna at gmail.com Thu Jun 18 10:52:45 2009 From: liwenna at gmail.com (liwenna) Date: Thu, 18 Jun 2009 03:52:45 -0700 Subject: Summation across blocks In-Reply-To: Message-ID: Hey kat! Is this the same task still or a new adventure? I understand that the summation within each block is working. Right? Then there are two options (I think): A. right now you have a separate summationvariable used within each block, for instance sumblock1 to sumblock4 ? In that case you can insert a line like : c.setattrib "sumblock2", sumblock1 at the beginning of each new block... but it would make more sense to just have 1 single summation attribute to run trough all four blocks, right? which brings me to option B: you allready have one single summation attribute but it is set to 0 somewhere in the beginning of each block (probably due to copy/pasting of one existing block into 4 total blocks). In that case simply identify a line like either totalwin = 0 or c.setattrib "totalwin", 0 and remove it from blocks 2, 3 and 4. Alternatively you can send me the file again and I'll see if i can find it. Greets, AW On Jun 18, 2:06 am, KKat wrote: > Hello, > I have designed a task with 4 blocks. I currently have a running total > of "money" won within each block, however, I would like to alter this > so that.... > > - the starting value for "total won" in Block2 is the total from the > last trial of Block1 > - the starting value for "total won" in Block3 is the total from the > last trial of Block2 > - the starting value for "total won" in Block4 is the total from the > last trial of Block3 > > Thank you! > Kathy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From sara.agosta at gmail.com Thu Jun 18 14:33:58 2009 From: sara.agosta at gmail.com (Sara Agosta) Date: Thu, 18 Jun 2009 09:33:58 -0500 Subject: probability of a stimulus In-Reply-To: <4A3A1EA4.1020508@ucl.ac.uk> Message-ID: thank you! Sara 2009/6/18 David Vinson > > saraag wrote: > > I have present one stimulus on the slide display, but the choice will > > be between two stimuli, with a probability of 66% for stimulus1 and > > 34% for stimulus2. > > One way to do this would be to draw this item from a List containing two > items: > stimulus1 (weight 66) and stimulus2 (weight 34). If you want exactly 66% > and > 34% you could sample without replacement from this List; if approximately > 66/34 > is good enough, you could sample with replacement. > > -dpv > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From liwenna at gmail.com Thu Jun 18 20:54:10 2009 From: liwenna at gmail.com (liwenna) Date: Thu, 18 Jun 2009 13:54:10 -0700 Subject: probability of a stimulus In-Reply-To: <50a51e790906180733n12b7fd87n54a076ea343ad258@mail.gmail.com> Message-ID: You got it working? On Jun 18, 4:33?pm, Sara Agosta wrote: > thank you! > Sara > > 2009/6/18 David Vinson > > > > > saraag wrote: > > > I have present one stimulus on the slide display, but the choice will > > > be between two stimuli, with a probability of 66% for stimulus1 and > > > 34% for stimulus2. > > > One way to do this would be to draw this item from a List containing two > > items: > > stimulus1 (weight 66) and stimulus2 (weight 34). ?If you want exactly 66% > > and > > 34% you could sample without replacement from this List; if approximately > > 66/34 > > is good enough, you could sample with replacement. > > > -dpv --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From sara.agosta at gmail.com Thu Jun 18 22:38:28 2009 From: sara.agosta at gmail.com (Sara Agosta) Date: Thu, 18 Jun 2009 17:38:28 -0500 Subject: probability of a stimulus In-Reply-To: <6efb516e-69bc-4321-8077-a91f99aa324c@v4g2000vba.googlegroups.com> Message-ID: yes! thank you! Sara 2009/6/18 liwenna > > You got it working? > > On Jun 18, 4:33 pm, Sara Agosta wrote: > > thank you! > > Sara > > > > 2009/6/18 David Vinson > > > > > > > > > saraag wrote: > > > > I have present one stimulus on the slide display, but the choice will > > > > be between two stimuli, with a probability of 66% for stimulus1 and > > > > 34% for stimulus2. > > > > > One way to do this would be to draw this item from a List containing > two > > > items: > > > stimulus1 (weight 66) and stimulus2 (weight 34). If you want exactly > 66% > > > and > > > 34% you could sample without replacement from this List; if > approximately > > > 66/34 > > > is good enough, you could sample with replacement. > > > > > -dpv > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Jun 22 18:46:43 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 22 Jun 2009 14:46:43 -0400 Subject: Run-time Error - "no such attribute" In-Reply-To: <9d8f8d65-8057-4944-b31b-5594460c8e11@t16g2000yqi.googlegro ups.com> Message-ID: Kathy, I would check your code again. Although the attribute "varwin1II" may exist (as evidenced by success in the first instance), the error message indicates that the attribute "varwin4II" does not exist. So please look again and make sure that you have indeed defined "varwin4II" at a time prior to the failing line. Also, exactly where is line 962, that might help us to inspect your script sample? Also, you might go to the PST Forum and run a search using the term "no such attribute", I believe others have asked a similar question and you might get some clues there, although I don't know if it will exactly address your problem. Good luck, -- David McFarlane, Professional Faultfinder >Hello :) > >I am trying to figure out why I am getting the following error when I >try to run my script: > >Run-time Error (Line 962) >-990: Factor Error: >No such attribute "varwin4II" > >I do NOT get this error for the first instance of the script [winII = >c.getAttrib("varwin1II")] but it comes up every time I press a >response button other than "a" (i.e., f, j, l). The attribute DOES >exist, so I'm not sure what is going wrong. I included the relevant >section of the script below. I don't know if this is important or not >but I am using LABELS and I noticed the following noted on the script >but I'm not sure if it has anything to do with my current error: >Endlabel2: > If Err.Number = ebInputAccepted Then > Err.Clear > Resume Endlabel2Resume > ElseIf Err.Number <> 0 Then > 'NOTE: If you receive a runtime error here, it > ' is because a runtime error other than ebInputAccepted > ' was thrown (ebInputAccepted for catching input > masks that jump). > 'You are encouraged to either handle the error so that > ' it is not thrown in the future or will have to set up > ' your own error handler, which will also need to take > ' into account for any input masks that jump. > ' > 'Raise the error so the default error handler will > show the message > Err.Raise Err.Number, Err.Source, Err.Description > End If > >Sub respproc2_Run(c as Context) > > ''''''''''''''''''''''''''''''''''''''''''''' > ' InLine - Choose1234II BEGIN > ''''''''''''''''''''''''''''''''''''''''''''' > If game2.RESP = "a" then > FB2.ActiveState = "f12" > winII = c.getAttrib("varwin1II") > lossII = c.getAttrib("varloss1II") > totalsumII = totalsumII + winII + lossII > TotalGainII = TotalGainII + winII > TotalLossII= TotalLossII + lossII > c.setAttrib "TotalsumII", TotalsumII > c.setAttrib "AmountWonII", winII > c.setAttrib "AmountLostII", lossII > c.setAttrib "TotalGainII", TotalGainII > c.setAttrib "TotalLossII", TotalLossII > c.setAttrib "DeckChoiceII", 1 > winD1II = c.getAttrib("varwin1II") > lossD1II = c.getAttrib("varloss1II") > TotalsumD1II = totalsumD1II + winD1II + lossD1II > c.setAttrib "TotalsumD1II", TotalsumD1II > c.setAttrib "BarWinII", BarWinII > > If totalsumII > 0 then > BarWinII = TotalSumII/5 > Else BarWinII = 0 > End If > > >elseif game2.RESP = "f" then > FB2.ActiveState = "f22" > winII = c.getAttrib("varwin2II") > lossII = c.getAttrib("varloss2II") > totalsumII = totalsumII + winII + lossII > TotalGainII = TotalGainII + winII > TotalLossII = TotalLossII + lossII > c.setAttrib "TotalsumII", TotalsumII > c.setAttrib "AmountWonII", winII > c.setAttrib "AmountLostII", lossII > c.setAttrib "TotalGainII", TotalGainII > c.setAttrib "TotalLossII", TotalLossII > c.setAttrib "DeckChoiceII", 2 > winD2II = c.getAttrib("varwin2II") > lossD2II = c.getAttrib("varloss2II") > TotalsumD2II = totalsumD2II + winD2II + lossD2II > c.setAttrib "TotalsumD2II", TotalsumD2II > c.setAttrib "BarWinII", BarWinII > > If totalsumII > 0 then > BarWinII = TotalSumII/5 > Else BarWinII = 0 > End If > >elseif game2.RESP = "j" then > FB2.ActiveState = "f32" > winII = c.getAttrib("varwin3II") > lossII = c.getAttrib("varloss3II") > totalsumII = totalsumII + winII + lossII > TotalGainII = TotalGainII + winII > TotalLossII = TotalLossII + lossII > c.setAttrib "TotalsumII", TotalsumII > c.setAttrib "AmountWonII", winII > c.setAttrib "AmountLostII", lossII > c.setAttrib "TotalGainII", TotalGainII > c.setAttrib "TotalLossII", TotalLossII > c.setAttrib "DeckChoiceII", 3 > winD3II = c.getAttrib("varwin3II") > lossD3II = c.getAttrib("varloss3II") > TotalsumD3II = totalsumD3II + winD3II + lossD3II > c.setAttrib "TotalsumD3II", TotalsumD3II > c.setAttrib "BarWinII", BarWinII > > If totalsumII > 0 then > BarWinII = TotalSumII/5 > Else BarWinII = 0 > End If > >elseif game2.RESP = "l" then > FB2.ActiveState = "f42" > winII = c.getAttrib("varwin4II") > lossII = c.getAttrib("varloss4II") > totalsumII = totalsumII + winII + lossII > TotalGainII = TotalGainII + winII > TotalLossII = TotalLossII + lossII > c.setAttrib "TotalsumII", TotalsumII > c.setAttrib "AmountWonII", winII > c.setAttrib "AmountLostII", lossII > c.setAttrib "TotalGainII", TotalGainII > c.setAttrib "TotalLossII", TotalLossII > c.setAttrib "DeckChoiceII", 4 > winD4II = c.getAttrib("varwin4II") > lossD4II = c.getAttrib("varloss4II") > TotalsumD4II = totalsumD4II + winD4II + lossD4II > c.setAttrib "TotalsumD4II", TotalsumD4II > c.setAttrib "BarWinII", BarWinII > > If totalsumII > 0 then > BarWinII = TotalSumII/5 > Else BarWinII = 0 > End If >End If > >Thank you :) >Kathy > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From kathy.smolewska at gmail.com Mon Jun 22 20:03:45 2009 From: kathy.smolewska at gmail.com (KKat) Date: Mon, 22 Jun 2009 13:03:45 -0700 Subject: Summation across blocks In-Reply-To: Message-ID: Hi Anne-Wil and Victor, I will try your suggestions and post a reply :) Thank you! Kathy On Jun 18, 6:52?am, liwenna wrote: > Hey kat! > > Is this the same task still or a new adventure? > I understand that the summation within each block is working. Right? > > Then there are two options (I think): > > A. right now you have a separate summationvariable used within each > block, for instance sumblock1 to sumblock4 ? In that case you can > insert a line like : c.setattrib "sumblock2", sumblock1 ?at the > beginning of each new block... but it would make more sense to just > have 1 single summation attribute to run trough all four blocks, > right? > > which brings me to option > > B: you allready have one single summation attribute but it is set to 0 > somewhere in the beginning of each block (probably due to copy/pasting > of one existing block into 4 total blocks). In that case simply > identify a line like either totalwin = 0 or c.setattrib "totalwin", 0 > and remove it from blocks 2, 3 and 4. > > Alternatively you can send me the file again and I'll see if i can > find it. > > Greets, > > AW > > On Jun 18, 2:06 am, KKat wrote: > > > Hello, > > I have designed a task with 4 blocks. I currently have a running total > > of "money" won within each block, however, I would like to alter this > > so that.... > > > - the starting value for "total won" in Block2 is the total from the > > last trial of Block1 > > - the starting value for "total won" in Block3 is the total from the > > last trial of Block2 > > - the starting value for "total won" in Block4 is the total from the > > last trial of Block3 > > > Thank you! > > Kathy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From hmouras at gmail.com Tue Jun 23 16:47:39 2009 From: hmouras at gmail.com (Harold Mouras) Date: Tue, 23 Jun 2009 18:47:39 +0200 Subject: variable interstimulusinterval Message-ID: Hello, Please forgive this silly question? We constructed an e prime run with an ISI stimulus. This is an object. We would like to make the duration of this stimulus random between two values but do not find any solution at the moment. Could someone help us ? Thank you very much in advance, Sincerely yours, Harold Mouras --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From svlevi at gmail.com Tue Jun 23 18:36:45 2009 From: svlevi at gmail.com (susie) Date: Tue, 23 Jun 2009 11:36:45 -0700 Subject: sound files mysteriously and randomly don't play Message-ID: Hi, I ditched my brand new vista machines and bought a new XP machine yesterday because I had endless timing problems (as I see many of you have had as well) but now have the following problem. (I'm running eprime 2 pro). I have a relatively simple experiment. AX discrimination task where two words are played and listeners have to respond 'same' or 'different' on the button box. There are 3 blocks with 24 trials in each block. The sounds are set up on two different 'slides' with a blank screen serving as the ISI (500 ms). About once per block the program simply doesn't play one of the two sound files. When I run it again, it's not the same ones that don't play, it's a different set. I have the sounds set to 'buffer' right now. It seems to usually be the second sound that doesn't play but I'm having a hard time figuring this out as the FIND function in the data file keeps crashing the program. Thanks so much, Susie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From liwenna at gmail.com Tue Jun 23 18:58:30 2009 From: liwenna at gmail.com (liwenna) Date: Tue, 23 Jun 2009 11:58:30 -0700 Subject: variable interstimulusinterval In-Reply-To: Message-ID: make an attribute called objectduration in a list somewhere.... either make a separate list with two levels, one level duration A, the other duration B (in milliseconds) and nest the list(s) you have in your current setup into this list, or (if the number if levels in your current list is moderate) duplicate the current levels you have and give half of them duration A under the attribute objectduration and the other half duration B. In the properties of your object make 'duration' refer to the objectduration attribute in your list: type [objectduration] in the objectproperties duration box. The program will now, for each showing of your object, use the duration defined in the triallist. Good luck! On Jun 23, 6:47?pm, Harold Mouras wrote: > Hello, > > Please forgive this silly question? > > We constructed an e prime run with an ISI stimulus. This is an object. We > would like to make the duration of this stimulus random between two values > but do not find any solution at the moment. > > Could someone help us ? > > Thank you very much in advance, > > Sincerely yours, > > Harold Mouras --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From hydi703 at gmail.com Wed Jun 24 01:21:04 2009 From: hydi703 at gmail.com (=?ISO-2022-JP?B?GyRCJE8kJCRJJHMbKEI=?=) Date: Wed, 24 Jun 2009 09:21:04 +0800 Subject: sound files mysteriously and randomly don't play In-Reply-To: <3e13d467-e8fb-4109-9a11-62c4db39d063@c36g2000yqn.googlegroups.com> Message-ID: Hi, I had the same problem before. I changed from 'buffered' to 'streaming', then it worked well. Hope it helps. Hydi On Wed, Jun 24, 2009 at 2:36 AM, susie wrote: > > Hi, > > I ditched my brand new vista machines and bought a new XP machine > yesterday because I had endless timing problems (as I see many of you > have had as well) but now have the following problem. (I'm running > eprime 2 pro). > > I have a relatively simple experiment. AX discrimination task where > two words are played and listeners have to respond 'same' or > 'different' on the button box. There are 3 blocks with 24 trials in > each block. The sounds are set up on two different 'slides' with a > blank screen serving as the ISI (500 ms). About once per block the > program simply doesn't play one of the two sound files. When I run it > again, it's not the same ones that don't play, it's a different set. I > have the sounds set to 'buffer' right now. It seems to usually be the > second sound that doesn't play but I'm having a hard time figuring > this out as the FIND function in the data file keeps crashing the > program. > > Thanks so much, > Susie > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian.jeffrey.kramer at gmail.com Wed Jun 24 01:25:14 2009 From: brian.jeffrey.kramer at gmail.com (Brian Kramer) Date: Tue, 23 Jun 2009 18:25:14 -0700 Subject: Question on IFIS Package for Eprime 1.1 Message-ID: I've asked a ton of people and no one has been able to get this to work; but I can't imagine that it's too hard. I have an IFIS CD and Eprime is already installed. How do I get the IFIS packages onto my computer/where do I find them? Do I need to buy them? Is there a setting I have to change? Any help would be greatly appreciated. Thanks, Brian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From Michiel.Spape at nottingham.ac.uk Wed Jun 24 11:58:05 2009 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Wed, 24 Jun 2009 12:58:05 +0100 Subject: variable interstimulusinterval In-Reply-To: <26a0dac2-8c22-43c9-a481-3febc41bc08c@f19g2000yqh.googlegroups.com> Message-ID: Hi, Of course, you could always use a bit of script (some people go quite far to avoid it). Consider the ISI is a textdisplay (or whatever). 1. Add an inline just before the ISI 2. write the following in it: ISI.duration = random(500,2000) Done. Best, Mich PS: more helpful suggestions and bad grammar in: http://www.cognitology.eu/pubs/AnE-Primer2009.pdf Michiel Spap? Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of liwenna Sent: 23 June 2009 19:58 To: E-Prime Subject: Re: variable interstimulusinterval make an attribute called objectduration in a list somewhere.... either make a separate list with two levels, one level duration A, the other duration B (in milliseconds) and nest the list(s) you have in your current setup into this list, or (if the number if levels in your current list is moderate) duplicate the current levels you have and give half of them duration A under the attribute objectduration and the other half duration B. In the properties of your object make 'duration' refer to the objectduration attribute in your list: type [objectduration] in the objectproperties duration box. The program will now, for each showing of your object, use the duration defined in the triallist. Good luck! On Jun 23, 6:47?pm, Harold Mouras wrote: > Hello, > > Please forgive this silly question... > > We constructed an e prime run with an ISI stimulus. This is an object. We > would like to make the duration of this stimulus random between two values > but do not find any solution at the moment. > > Could someone help us ? > > Thank you very much in advance, > > Sincerely yours, > > Harold Mouras This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From Michiel.Spape at nottingham.ac.uk Wed Jun 24 16:15:05 2009 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Wed, 24 Jun 2009 17:15:05 +0100 Subject: variable interstimulusinterval In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF017FBCC6@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: Hi, This was assuming that 'between two values' was a value in-between the two, rather than either value1 or value2, which Liwenna proposes. To compensate, the following script could do just that (step 1 is same): 2. write the following in it: if random(1,2) = 1 then ISI.duration = 500 else ISI.duration = 2000 By the way, I was wondering why the Files section of the googlegroups seems to be used so little? Would it be possible for me to upload experiments there, or is it not set to public? Also, it wouldn't hurt having specific folders there for A: problematic experiments (so people can check your problem) and B: common paradigms (available for use by anyone). Right now it's a bit of a mess. Best, Mich Michiel Spap? Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Michiel Spape Sent: 24 June 2009 12:58 To: e-prime at googlegroups.com Subject: RE: variable interstimulusinterval Hi, Of course, you could always use a bit of script (some people go quite far to avoid it). Consider the ISI is a textdisplay (or whatever). 1. Add an inline just before the ISI 2. write the following in it: ISI.duration = random(500,2000) Done. Best, Mich PS: more helpful suggestions and bad grammar in: http://www.cognitology.eu/pubs/AnE-Primer2009.pdf Michiel Spap? Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of liwenna Sent: 23 June 2009 19:58 To: E-Prime Subject: Re: variable interstimulusinterval make an attribute called objectduration in a list somewhere.... either make a separate list with two levels, one level duration A, the other duration B (in milliseconds) and nest the list(s) you have in your current setup into this list, or (if the number if levels in your current list is moderate) duplicate the current levels you have and give half of them duration A under the attribute objectduration and the other half duration B. In the properties of your object make 'duration' refer to the objectduration attribute in your list: type [objectduration] in the objectproperties duration box. The program will now, for each showing of your object, use the duration defined in the triallist. Good luck! On Jun 23, 6:47?pm, Harold Mouras wrote: > Hello, > > Please forgive this silly question... > > We constructed an e prime run with an ISI stimulus. This is an object. We > would like to make the duration of this stimulus random between two values > but do not find any solution at the moment. > > Could someone help us ? > > Thank you very much in advance, > > Sincerely yours, > > Harold Mouras This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From svlevi at gmail.com Thu Jun 25 16:27:58 2009 From: svlevi at gmail.com (susie) Date: Thu, 25 Jun 2009 09:27:58 -0700 Subject: sound files mysteriously and randomly don't play In-Reply-To: <32dcf4550906231821o5fbebc26o63c1adc077ff18be@mail.gmail.com> Message-ID: Thanks, I tried this and it seems to work now. Best, susie On Jun 23, 9:21 pm, ???? wrote: > Hi, > > I had the same problem before. > I changed from 'buffered' to 'streaming', then it worked well. > > Hope it helps. > > Hydi > > On Wed, Jun 24, 2009 at 2:36 AM, susie wrote: > > > Hi, > > > I ditched my brand new vista machines and bought a new XP machine > > yesterday because I had endless timing problems (as I see many of you > > have had as well) but now have the following problem. (I'm running > > eprime 2 pro). > > > I have a relatively simple experiment. AX discrimination task where > > two words are played and listeners have to respond 'same' or > > 'different' on the button box. There are 3 blocks with 24 trials in > > each block. The sounds are set up on two different 'slides' with a > > blank screen serving as the ISI (500 ms). About once per block the > > program simply doesn't play one of the two sound files. When I run it > > again, it's not the same ones that don't play, it's a different set. I > > have the sounds set to 'buffer' right now. It seems to usually be the > > second sound that doesn't play but I'm having a hard time figuring > > this out as the FIND function in the data file keeps crashing the > > program. > > > Thanks so much, > > Susie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From cindygooch at yahoo.com Thu Jun 25 19:58:48 2009 From: cindygooch at yahoo.com (javagirl) Date: Thu, 25 Jun 2009 12:58:48 -0700 Subject: Timing animation in a script? In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF0159CF76@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: Thanks for responding, I wound up doing something like what you suggested. Cindy On Jun 4, 11:05?am, Michiel Spape wrote: > Hi, > What do you mean by 'show animation I created in..'? Are you trying to show an avi file, for example, or alternatively, move a picture across the screen in 600 ms (say, 1 pixel each 20 ms)? For the latter, I typically set start and end points, and check every time whether the 600 ms have passed. If one would, for example, have an imagedisplay, myDisplay, showing a picture at x,y = 300,400, then moving it, this would be possible: > > Dim starttime as long > Starttime = clock.read > While (clock.read - starttime) < 600 do > ? ? ? ? myDisplay.x = myDisplay.x + 1 > ? ? ? ? myDisplay.y = myDisplay.y + 1 > ? ? ? ? myDisplay.run > Wend > > With the image being in the unreferenced objects ('deleted', which makes a mess of your experiment, but using goto loops isn't that transparent either). > > For the former, I do not see why one would want to use a while...loop. Isn't the duration/offset enough to time it properly (though i have never used avi files, I wouldn't be surprised if this would be the case) > > Best, > Michiel > > Michiel Spap? > Research Fellow > Perception & Action group > University of Nottingham > School of Psychology > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of javagirl > Sent: 03 June 2009 16:23 > To: E-Prime > Subject: Timing animation in a script? > > Hi > > I would like to show animation I created in a Do..While loop for about > 600 ms. ?Does anyone know the best way to do this? > > Thanks > > Cindy > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses, which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From ll356 at medschl.cam.ac.uk Fri Jun 26 14:32:27 2009 From: ll356 at medschl.cam.ac.uk (River) Date: Fri, 26 Jun 2009 07:32:27 -0700 Subject: Randomisation across blocks In-Reply-To: Message-ID: Hi Liwenna, I appear to have solved it-I rearranged the structure slightly to that listed above however to be honest I don't completely understand why that would have worked other than perhaps causing the programme to not have to struggle through multiple Lists. My other (halfbaked) theory is that it was attempting to form pairs of images form two different lists (I had it taking 43 images from list X and 45 from list Y randomly however it repeatedely was taking 44 from each instead...hence causing the repetition of one image and missing value of another image. Now all 88 images are in the same list so once its run through all of them its done...less confusing somehow i guess?! As is probably abundantly obvious I have been reduced to vague guesswork now and am just thankful it seems to be working ok again-fingers crossed it won't repeat. thanks for your comments, River On Jun 11, 12:31?pm, liwenna wrote: > Hey River, > > Your question for six days now. Personally I find it hard to see what > could be wrong based on the info given. Could you perhaps post a > screenshot of your setup, make it so that all the relevant lists are > opened and visible, so that the settings are shown (for an example see > this screenshot which was made for another thread ttp://images.redial.net/kkat.bmp). > > Or if you have solved problem by now... what was it? > > Best regards, > > liwenna > > On Jun 5, 2:23?pm, River wrote: > > > > > Hi, > > > I am trying to randomise stimuli across two test blocks using the > > following List settings: > > > TestBlock1 > > 41 random images(unrepeated) from ListA > > 1 cue image_1 > > 3 random images (unrepeated) from ListA > > > TestBlock2 > > 41 random images (unrepeated) from ListA > > 1 cue image_2 > > 3 random images (unrepeated) from ListA > > > The random images all come from the same list (BlockListA) with two > > nested lists, Target absent images (containing 43 images) ?and Target > > present images(containing 45 images). Each of the two cue images have > > a separate list to themselves. > > > The TestBlocks state the order should be sequential while BlockListA > > and the Target Absent and Target Present nested lists both state > > ordering should be random (without replacement). > > > When i run the experiment one of the target absent images is repeated > > instead of showing the final target present image. I can't understand > > why the randomisation is working across these test blocks for all bar > > a single image (not the same one each time)!! > > > I've changed the experiment to the following structure: > > > TestBlock1 > > 45 (sequentially ordered) images from BlockListA > > > TestBlock2 > > 45 (sequentially ordered) images from BlockListB > > > Where BlockListA states (sequential ordering): > > 41 images from TargetList (which contains both target absent and > > target present images) > > 1 image from Cue_1 > > 3 images from TargetList > > > Where BlockListB states (sequential ordering): > > 41 images from TargetList (which contains both target absent and > > target present images) > > 1 image from Cue_2 > > 3 images from TargetList > > > Where TargetList ordering is random without replacement. This seems to > > work (i've run the experiment 8 times so far with no duplicates/ > > missing images) but i'd like to know why this would work instead of > > the above described experiment as essentially the only difference is > > that the random images are all in the same list and the sequential > > ordering of 41 random images, 1cue, 3 random images is described later > > on in the list structure (i.e. in BlockListA not TestBlock). > > > I hope this is clear enough! Any advice would be much appreciated.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From ll356 at medschl.cam.ac.uk Fri Jun 26 14:57:23 2009 From: ll356 at medschl.cam.ac.uk (River) Date: Fri, 26 Jun 2009 07:57:23 -0700 Subject: Sound to signal a key press Message-ID: Hi, This seems like a potentially simple thing to do but I can't figure it out-is it possible to make the computer or SR box emit a beep when a response key is pressed? Participants will be viewing stimuli on a computer screen and responding to it by pressing one of two buttons on the SR box (they will press a key on every trial). I'm looking at reaction times so I don't want them to have to look down to make sure they have made a response (i.e. light flashes by the keys aren't ideal) however its been mentioned that a noise to confirm a response has been recorded would be useful.... Does anyone know if this is possible or should I just ask them to press the keys down firmly!? I'm currently running version 1 of Eprime. Many thanks, River --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From rinusverdonschot at gmail.com Sat Jun 27 14:23:32 2009 From: rinusverdonschot at gmail.com (Rinus) Date: Sat, 27 Jun 2009 07:23:32 -0700 Subject: Sound to signal a key press In-Reply-To: <8d1b5fe0-23f9-484e-90c7-fe4d3662e3d5@l28g2000vba.googlegroups.com> Message-ID: I presume the length is not infinite (otherwise the stimulus will not go away untill they press).. Might it be helpful just to do a simple beep with inline? Something in the line of: if TextDisplay1.RESP <> "" then beep (TextDisplay or whatever you're using that is). Kind regards, Rinus On Jun 26, 4:57?pm, River wrote: > Hi, > > This seems like a potentially simple thing to do but I can't figure it > out-is it possible to make the computer or SR box emit a beep when a > response key is pressed? > Participants will be viewing stimuli on a computer screen and > responding to it by pressing one of two buttons on the SR box (they > will press a key on every trial). I'm looking at reaction times so I > don't want them to have to look down to make sure they have made a > response (i.e. light flashes by the keys aren't ideal) however its > been mentioned that a noise to confirm a response has been recorded > would be useful.... > > Does anyone know if this is possible or should I just ask them to > press the keys down firmly!? I'm currently running version 1 of > Eprime. > > Many thanks, > > River --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Jun 29 18:23:51 2009 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 29 Jun 2009 14:23:51 -0400 Subject: Sound to signal a key press In-Reply-To: <39154cac-d5e0-4074-8a20-b79dfa7a3c69@r25g2000vbn.googlegro ups.com> Message-ID: Are these self-paced trials, with no time limit? If so, you could just put a SoundOut with a beep.wav after whatever object you use to present your stimulus & get response, e.g., - TrialProc - StimSlide - BeepSound If trials are self-paced but with a time limit, then you could use an If-Then either to make a beep in script as Rinus sugessts (although the E-Basic beep command does not work on some computers), or with a label to skip past the BeepSound, e.g. - TrialProc - StimSlide - CheckResponseScript (If StimSlide.RT = 0 Then goto NoResponseLabel) - BeepSound - NoResponseLabel If trials are not self-paced then things get considerably trickier. -- David McFarlane, Professional Faultfinder At 6/27/2009 10:23 AM Saturday, you wrote: >I presume the length is not infinite (otherwise the stimulus will not >go away untill they press).. >Might it be helpful just to do a simple beep with inline? Something in >the line of: > >if TextDisplay1.RESP <> "" then beep > >(TextDisplay or whatever you're using that is). > >Kind regards, > >Rinus > > >On Jun 26, 4:57 pm, River wrote: > > Hi, > > > > This seems like a potentially simple thing to do but I can't figure it > > out-is it possible to make the computer or SR box emit a beep when a > > response key is pressed? > > Participants will be viewing stimuli on a computer screen and > > responding to it by pressing one of two buttons on the SR box (they > > will press a key on every trial). I'm looking at reaction times so I > > don't want them to have to look down to make sure they have made a > > response (i.e. light flashes by the keys aren't ideal) however its > > been mentioned that a noise to confirm a response has been recorded > > would be useful.... > > > > Does anyone know if this is possible or should I just ask them to > > press the keys down firmly!? I'm currently running version 1 of > > Eprime. > > > > Many thanks, > > > > River > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From sleebee123 at gmail.com Mon Jun 29 20:48:28 2009 From: sleebee123 at gmail.com (sleebee123 at gmail.com) Date: Mon, 29 Jun 2009 13:48:28 -0700 Subject: Multiple responses to single stimulus Message-ID: Hi All- I've already posted this on the PST forum and asked for EPrime support, but I'm kind of in a time crunch, so was wondering if anyone on the forum would have a solution to the following problem: I'm trying to have subjects look at 1 image and throughout the image they are going to be pressing either 1 or 2 on an SRBox, so that there will be multiple times during stimulus onset that 1 and 2 will be pressed. The image is up for about 3 minutes. I want to be able to tag in NetStation when the subject pressed one of the 2 buttons and which button was pressed. What sort of EPrime manipulation should be used for this? I've already looked at the PST MultipleResponseCollection example in the Downloads section, but it doesn't add a tagging to NetStation. Their example gives the subject a feedback as to which buttons they pressed and when. I want the button presses to tag directly onto the raw data in NetStation showing when and which button was pressed. If you know a way of doing this I would appreciate it very much. Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From blweidler at davidson.edu Tue Jun 30 03:39:10 2009 From: blweidler at davidson.edu (Blaire) Date: Mon, 29 Jun 2009 20:39:10 -0700 Subject: Multiple correct string responses Message-ID: This is the first time I've ever used E-prime so I'm very much a beginner. My main question is: What is the easiest way to allow multiple responses to be accepted as correct into a string input field on a single trial? In some trials, there are 113 correct responses - and if the participant enters any of those 113, they must be counted as correct and the program needs to let them move on, BUT if they enter anything except those 113 they have to get feedback saying incorrect and must be sent back to the trial until they enter a correct response. I got excited earlier today because I thought that colon syntax would be the way to do this, but I can't seem to make that work - even when just trying with two correct responses. Is colon syntax the way I should be trying to do this? (In which case I'll go back and play with it because I guess I was doing it wrong.) Or is there some easier way? Thanks for any help you can offer, Blaire --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From pquain at une.edu.au Tue Jun 30 03:47:41 2009 From: pquain at une.edu.au (Peter Quain) Date: Tue, 30 Jun 2009 13:47:41 +1000 Subject: Multiple correct string responses In-Reply-To: <1ef3e107-61f4-46cc-8ea0-b6df08161079@i6g2000yqj.googlegrou ps.com> Message-ID: At 01:39 PM 30/06/2009, you wrote: >This is the first time I've ever used E-prime so I'm very much a >beginner. My main question is: What is the easiest way to allow >multiple responses to be accepted as correct into a string input field >on a single trial? > >In some trials, there are 113 correct responses - and if the >participant enters any of those 113, they must be counted as correct >and the program needs to let them move on, BUT if they enter anything >except those 113 they have to get feedback saying incorrect and must >be sent back to the trial until they enter a correct response. just a mud map, but maybe store the 113 correct responses in an array, then collect the string input as a variable and run a loop through the array elements checking for a match. If it finds one, jump out of the loop (maybe go to a label along the trial procedure), if it doesn't, then progress to a text object to tell them incorrect, followed by an inline which would start the trial again. >I got excited earlier today because I thought that colon syntax would >be the way to do this, but I can't seem to make that work - even when >just trying with two correct responses. > >Is colon syntax the way I should be trying to do this? (In which case >I'll go back and play with it because I guess I was doing it wrong.) >Or is there some easier way? > >Thanks for any help you can offer, >Blaire > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From Michiel.Spape at nottingham.ac.uk Tue Jun 30 15:42:27 2009 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Tue, 30 Jun 2009 16:42:27 +0100 Subject: E-Basic being very basic Message-ID: Dear group, Just now I was getting a bit annoyed about E-Prime including and using .NET - I think 2 even? - yet still including merely a lot of archaic Visual Basic. At the moment, I was looking for a function that can easily convert a string into an array of substrings - like string.split() in .NET, but this seems not included in E-Basic. Of course, I should be able to make a function that can do that for me, but last time I tried to do something like that, E-Prime gave me an error, saying that one cannot have arrays as function outputs. I'm not sure what that was about - it might well be my mistake somewhere, but at some point I just went for some inelegant programming instead of looking up everything. Anyway, I was sort of hoping that anyone here might have tried importing the String, or any other class, as used in modern VB6+, into E-Prime. Bit of a long shot, I guess. Best, Mich Michiel Spap? Research Fellow Perception & Action group University of Nottingham School of Psychology This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From rinusverdonschot at gmail.com Tue Jun 30 16:59:27 2009 From: rinusverdonschot at gmail.com (Rinus) Date: Tue, 30 Jun 2009 09:59:27 -0700 Subject: Multiple correct string responses In-Reply-To: <20090630034750.LGGG11262.nschwotgx02p.mx.bigpond.com@tardis.une.edu.au> Message-ID: I agree with Peter.. an easy way is to first put all the allowable responses in an array.. you might even put a list with attributes into a (dynamic) array using a loop .... and subsequently use that (dynamically created or not) array to check whether the given input was correct.. I've made a prelimary setup for you.. I'll send it to you.. (as I can not add files evidently). Groetjes, Rinus On Jun 30, 5:47?am, Peter Quain wrote: > At 01:39 PM 30/06/2009, you wrote: > > >This is the first time I've ever used E-prime so I'm very much a > >beginner. My main question is: What is the easiest way to allow > >multiple responses to be accepted as correct into a string input field > >on a single trial? > > >In some trials, there are 113 correct responses ?- and if the > >participant enters any of those 113, they must be counted as correct > >and the program needs to let them move on, BUT if they enter anything > >except those 113 they have to get feedback saying incorrect and must > >be sent back to the trial until they enter a correct response. > > just a mud map, but maybe store the 113 correct responses in an > array, then collect the string input as a variable and run a loop > through the array elements checking for a match. If it finds one, > jump out of the loop (maybe go to a label along the trial procedure), > if it doesn't, then progress to a text object to tell them incorrect, > followed by an inline which would start the trial again. > > > > >I got excited earlier today because I thought that colon syntax would > >be the way to do this, but I can't seem to make that work - even when > >just trying with two correct responses. > > >Is colon syntax the way I should be trying to do this? (In which case > >I'll go back and play with it because I guess I was doing it wrong.) > >Or is there some easier way? > > >Thanks for any help you can offer, > >Blaire- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From adamosth at gmail.com Tue Jun 30 20:34:38 2009 From: adamosth at gmail.com (Adam Osth) Date: Tue, 30 Jun 2009 16:34:38 -0400 Subject: Setting SlideImage filenames in an infile command Message-ID: I need to program a quiz in which three pictures are presented on a slide: one being the correct answer, one being a related lure (physically similar to the correct answer), one being an unrelated lure (dissimilar to the correct answer). It needs to have 15 or so questions that are randomly selected from a larger pool of around 50. I have a nested list that contains each of the picture filenames - one attribute for the correct answer, one for the related lure, one for the unrelated lure. I was thinking I could just use attribute referencing for the filenames, which would work, but the problem would be that the correct answer would ALWAYS be the same picture on the screen. That is, if I designated the left of the three images as the correct answer, the subject could deduce that the left image is correct every time. So I need an infile command preceding the slide that designates which image has which filename. It starts with a random number selection, like this: Randomize Dim ordernumber As Integer ordernumber = Random(0, 5) ...with six total possibilities to account for the six possible orders of the three images. Then, if statements would delegate which image is which. *My question is* - how exactly in eBasic can I designate a slide image's filename? I found this in the eBasic code helpfile: SlideImage Object (topic) Set theImage = CSlideImage(SlideName.States(_ SlideName.ActiveState).Objects("ImageName")) But I couldn't figure out how to change the filename. Any help would be appreciated! Thanks! Adam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: