From mspape at cognitology.eu Fri Aug 1 07:45:57 2014 From: mspape at cognitology.eu (=?iso-8859-1?Q?Michiel_Sovij=E4rvi-Spap=E9?=) Date: Fri, 1 Aug 2014 10:45:57 +0300 Subject: Does SRBOX/Microphone setup effect RTs? In-Reply-To: <53da6781.0419320a.2b1c.ffff8c0cSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi, Wouldn't the use of two (perhaps even taped together) microphones make a lot more sense? Given that these do very different things: record onset of audio vs record audio, I can think of few reasons why these would need to be very exactly synchronised - apart from that warm feeling we all get from hyper precise timing, obviously! Anyway, the benefit would be that the audio microphone can then be a very good, studio quality, microphone, rather than the SRBox voicekey one which I don't think was really built for audio analysis. Second, it makes from an audio engineer's point of view some sense to direct microphone's different (e.g. a little underneath the mouth). Third, you could use the onset of the SRBox voicekey as a trigger to start an audio input object. Finally: you could always try to sync the data offline if you send out a tone (e.g. at >20 Khz) at the onset of your critical stimulus, then write a bit* of matlab code to calculate the distance between beeps and first human vocal range (0.5I have a question regarding using a microphone for measuring RT and >audio input for a battery I am working on. > >I am debating on whether using a audio splitter (a y cable) to send the >signal to the SRBOX and the computer's recording device vs. >using two microphones. If I choose to use two microphones, this creates >extra environmental stimuli, would make positioning the microphones and >testing the setup in the middle of data collection very time consumming >(I am using non SRBOX tasks and SRBOX tasks that have a set order), >this might create inconsistencies with data collection (each individual >has a slightly different positioning, sound doesn't capture, etc), and >the whole experience might be overwhelming for the participant. On the >other hand, using the splitter would eliminate this issue, but I am not >sure if there would result in differences in RT logged by E-Prime (this >would be in ms and could make or break our outcomes). > >Does setup (using a splitter vs. two microphones) effect reaction time? >I would be interested to know if anyone has looked into this, had any >experience using either setup, or measured this. Feel free to let me >know or tell me I am overthinking this. > >Thanks, > >David -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53da6781.0419320a.2b1c.ffff8c0cSMT PIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/00d601cfad5c%24a231e890%24e695b9b0%24%40cognitology.eu. For more options, visit https://groups.google.com/d/optout. From noam.schneck at gmail.com Fri Aug 1 16:23:51 2014 From: noam.schneck at gmail.com (Noam Schneck) Date: Fri, 1 Aug 2014 09:23:51 -0700 Subject: Nested List Not Following Selection Rules Message-ID: Hi All, I have a task in which a slide object is used to present four words (Positive1, Positive2, Negative1, Negative2). Each word is selected randomly from a list that contains 85 words in total. This list "Wordlist" is nested into the master list. I am trying to set the wordlist so that no words will repeat within a block (24 runs) but that they can repeat across blocks. I set the parameters of the wordlist to random selection with replacement after reset. I set the reset at 24 samples. HOWEVER....E-prime seems to have a different plan. When I run a test on the task I find that the program goes through the first 3 blocks (72 samples) without ever repeating a single word and than in the fourth block it begins repeating words within the block. I cannot figure out why this is happening and I have attached the experiment file. Please help! Noam -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/37451b6e-1767-4ace-bd1d-a808405c42f3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: task_block1.es2 Type: application/octet-stream Size: 208900 bytes Desc: not available URL: From tamiskovich at gmail.com Fri Aug 1 17:30:31 2014 From: tamiskovich at gmail.com (tamiskovich at gmail.com) Date: Fri, 1 Aug 2014 10:30:31 -0700 Subject: Help with Randomization of Non-Overlapping Images In-Reply-To: Message-ID: Does anyone have any suggestions on this? I'm stuck on this and eprime support directed me here. Tara On Monday, July 28, 2014 3:43:33 PM UTC-5, Tara Miskovich wrote: > > Hello, > > I am working on having 4 images randomly places within a rectangular > region without overlapping. I wrote the code below, and it appears to be > working with up to Image 3 added, but when I add in the forth image the > program freezes. I am hoping for some guidance with what to try next or how > to get past this. Here is the code I wrote to randomize the x and y > location for each image. > > Thanks! > Tara > > Dim x1 As Integer > Dim x2 As Integer > Dim x3 As Integer > Dim x4 As Integer > Dim y1 As Integer > Dim y2 As Integer > Dim y3 As Integer > Dim y4 As Integer > > x1 = random(36, 42) > y1 = random(38, 60) > > Do > x2 = random(36, 42) > y2 = random(38, 60) > x3 = random(36, 42) > y3 = random(38, 60) > x4 = random(36, 42) > y4 = random(38, 60) > > > Loop While (x2 = x1 Or x2 = x1 + 1 Or x2 = x1+2 Or x2 = x1 - 1 Or x2 = x1 > - 2 _ > And y2 = y1 Or y2 = y1 + 1 Or y2 = y1 + 2 Or y2 = y1 + 3 Or y2 = y1 - 1 Or > y2 = y1 - 2 Or y2 = y1 - 3)_ > Or (x3 = x1 Or x3 = x1 + 1 Or x3 = x1+2 Or x3 = x1 - 1 Or x3 = x1 - 2 _ > And y3 = y1 Or y3 = y1 + 1 Or y3 = y1 + 2 Or y3 = y1 + 3 Or y3 = y1 - 1 Or > y3 = y1 - 2 Or y3 = y1 - 3)_ > Or (x3 = x2 Or x3 = x2 + 1 Or x3 = x2+2 Or x3 = x2 - 1 Or x3 = x2 - 2 _ > And y3 = y2 Or y3 = y2 + 1 Or y3 = y2 + 2 Or y3 = y2 + 3 Or y3 = y2 - 1 Or > y3 = y2 - 2 Or y3 = y2 - 3)_ > or (x4 = x1 Or x4 = x1 + 1 Or x4 = x1+2 Or x4 = x1 - 1 Or x4 = x1 - 2 _ > And y4 = y1 Or y4 = y1 + 1 Or y4 = y1 + 2 Or y4 = y1 + 3 Or y4 = y1 - 1 Or > y4 = y1 - 2 Or y4 = y1 - 3)_ > Or (x4 = x2 Or x4 = x2 + 1 Or x4 = x2 + 2 Or x4 = x2 - 1 Or x4 = x2 - 2 _ > And y4 = y2 Or y4 = y2 + 1 Or y4 = y2 + 2 Or y4 = y2 + 3 Or y4 = y2 - 1 Or > y4 = y2 - 2 Or y4 = y2 - 3)_ > Or (x4 = x3 Or x4 = x3 + 1 Or x4 = x3 + 2 Or x4 = x3 - 1 Or x4 = x3 - 2 _ > And y4 = y3 Or y4 = y3 + 1 Or y4 = y3 + 2 Or y4 = y3 + 3 Or y4 = y3 - 1 Or > y4 = y3 - 2 Or y4 = y3 - 3) > > c.SetAttrib "x1", x1 > c.SetAttrib "x2", x2 > c.SetAttrib "x3", x3 > c.SetAttrib "x4", x4 > c.SetAttrib "y1", y1 > c.SetAttrib "y2", y2 > c.SetAttrib "y3", y3 > c.SetAttrib "y4", y4 > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8d0ddea8-f54e-4a98-a006-cdcbed5cc8ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.vinson at ucl.ac.uk Fri Aug 1 17:54:23 2014 From: d.vinson at ucl.ac.uk (Vinson, David) Date: Fri, 1 Aug 2014 17:54:23 +0000 Subject: Help with Randomization of Non-Overlapping Images In-Reply-To: <8d0ddea8-f54e-4a98-a006-cdcbed5cc8ce@googlegroups.com> Message-ID: I suspect you didn't get any replies before due the impressively complicated set of OR statements in that loop. I suspect the problem is there somewhere but imagine it world be a nightmare to track it down. My guess is the loop never exits, whether due to an error or impossible constraints. What if instead you enumerated the possible legal combinations of positions in a nested List and then just sampled one of them per trial? Good luck, David V ----- Reply message ----- From: "tamiskovich at gmail.com" To: "e-prime at googlegroups.com" Subject: Help with Randomization of Non-Overlapping Images Date: Fri, Aug 1, 2014 6:30 pm Does anyone have any suggestions on this? I'm stuck on this and eprime support directed me here. Tara On Monday, July 28, 2014 3:43:33 PM UTC-5, Tara Miskovich wrote: Hello, I am working on having 4 images randomly places within a rectangular region without overlapping. I wrote the code below, and it appears to be working with up to Image 3 added, but when I add in the forth image the program freezes. I am hoping for some guidance with what to try next or how to get past this. Here is the code I wrote to randomize the x and y location for each image. Thanks! Tara Dim x1 As Integer Dim x2 As Integer Dim x3 As Integer Dim x4 As Integer Dim y1 As Integer Dim y2 As Integer Dim y3 As Integer Dim y4 As Integer x1 = random(36, 42) y1 = random(38, 60) Do x2 = random(36, 42) y2 = random(38, 60) x3 = random(36, 42) y3 = random(38, 60) x4 = random(36, 42) y4 = random(38, 60) Loop While (x2 = x1 Or x2 = x1 + 1 Or x2 = x1+2 Or x2 = x1 - 1 Or x2 = x1 - 2 _ And y2 = y1 Or y2 = y1 + 1 Or y2 = y1 + 2 Or y2 = y1 + 3 Or y2 = y1 - 1 Or y2 = y1 - 2 Or y2 = y1 - 3)_ Or (x3 = x1 Or x3 = x1 + 1 Or x3 = x1+2 Or x3 = x1 - 1 Or x3 = x1 - 2 _ And y3 = y1 Or y3 = y1 + 1 Or y3 = y1 + 2 Or y3 = y1 + 3 Or y3 = y1 - 1 Or y3 = y1 - 2 Or y3 = y1 - 3)_ Or (x3 = x2 Or x3 = x2 + 1 Or x3 = x2+2 Or x3 = x2 - 1 Or x3 = x2 - 2 _ And y3 = y2 Or y3 = y2 + 1 Or y3 = y2 + 2 Or y3 = y2 + 3 Or y3 = y2 - 1 Or y3 = y2 - 2 Or y3 = y2 - 3)_ or (x4 = x1 Or x4 = x1 + 1 Or x4 = x1+2 Or x4 = x1 - 1 Or x4 = x1 - 2 _ And y4 = y1 Or y4 = y1 + 1 Or y4 = y1 + 2 Or y4 = y1 + 3 Or y4 = y1 - 1 Or y4 = y1 - 2 Or y4 = y1 - 3)_ Or (x4 = x2 Or x4 = x2 + 1 Or x4 = x2 + 2 Or x4 = x2 - 1 Or x4 = x2 - 2 _ And y4 = y2 Or y4 = y2 + 1 Or y4 = y2 + 2 Or y4 = y2 + 3 Or y4 = y2 - 1 Or y4 = y2 - 2 Or y4 = y2 - 3)_ Or (x4 = x3 Or x4 = x3 + 1 Or x4 = x3 + 2 Or x4 = x3 - 1 Or x4 = x3 - 2 _ And y4 = y3 Or y4 = y3 + 1 Or y4 = y3 + 2 Or y4 = y3 + 3 Or y4 = y3 - 1 Or y4 = y3 - 2 Or y4 = y3 - 3) c.SetAttrib "x1", x1 c.SetAttrib "x2", x2 c.SetAttrib "x3", x3 c.SetAttrib "x4", x4 c.SetAttrib "y1", y1 c.SetAttrib "y2", y2 c.SetAttrib "y3", y3 c.SetAttrib "y4", y4 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8d0ddea8-f54e-4a98-a006-cdcbed5cc8ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/B628F720-33AE-48CB-B973-CA5AA81AC8E3%40ucl.ac.uk. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tamiskovich at gmail.com Fri Aug 1 21:43:21 2014 From: tamiskovich at gmail.com (tamiskovich at gmail.com) Date: Fri, 1 Aug 2014 14:43:21 -0700 Subject: Help with Randomization of Non-Overlapping Images In-Reply-To: Message-ID: Thanks for your response David. That is what I was afraid of. Eprime support said it should work in theory, but seems as though it keeps getting stuck when I add in the forth image. I am trying to list all the combinations as well, it is just proving to be a huge task, for there are an enormous amount of possible combinations. I was hoping that this would make coding much quicker and truly random. Tara On Friday, August 1, 2014 12:54:35 PM UTC-5, Vinson, David: UCL wrote: > > I suspect you didn't get any replies before due the impressively > complicated set of OR statements in that loop. I suspect the problem is > there somewhere but imagine it world be a nightmare to track it down. My > guess is the loop never exits, whether due to an error or impossible > constraints. > > What if instead you enumerated the possible legal combinations of > positions in a nested List and then just sampled one of them per trial? > > Good luck, > David V > > ----- Reply message ----- > From: "tamis... at gmail.com " > > > To: "e-p... at googlegroups.com " > > Subject: Help with Randomization of Non-Overlapping Images > Date: Fri, Aug 1, 2014 6:30 pm > > > > Does anyone have any suggestions on this? I'm stuck on this and eprime > support directed me here. > > Tara > > On Monday, July 28, 2014 3:43:33 PM UTC-5, Tara Miskovich wrote: >> >> Hello, >> >> I am working on having 4 images randomly places within a rectangular >> region without overlapping. I wrote the code below, and it appears to be >> working with up to Image 3 added, but when I add in the forth image the >> program freezes. I am hoping for some guidance with what to try next or how >> to get past this. Here is the code I wrote to randomize the x and y >> location for each image. >> >> Thanks! >> Tara >> >> Dim x1 As Integer >> Dim x2 As Integer >> Dim x3 As Integer >> Dim x4 As Integer >> Dim y1 As Integer >> Dim y2 As Integer >> Dim y3 As Integer >> Dim y4 As Integer >> >> x1 = random(36, 42) >> y1 = random(38, 60) >> >> Do >> x2 = random(36, 42) >> y2 = random(38, 60) >> x3 = random(36, 42) >> y3 = random(38, 60) >> x4 = random(36, 42) >> y4 = random(38, 60) >> >> >> Loop While (x2 = x1 Or x2 = x1 + 1 Or x2 = x1+2 Or x2 = x1 - 1 Or x2 = >> x1 - 2 _ >> And y2 = y1 Or y2 = y1 + 1 Or y2 = y1 + 2 Or y2 = y1 + 3 Or y2 = y1 - 1 >> Or y2 = y1 - 2 Or y2 = y1 - 3)_ >> Or (x3 = x1 Or x3 = x1 + 1 Or x3 = x1+2 Or x3 = x1 - 1 Or x3 = x1 - 2 _ >> And y3 = y1 Or y3 = y1 + 1 Or y3 = y1 + 2 Or y3 = y1 + 3 Or y3 = y1 - 1 >> Or y3 = y1 - 2 Or y3 = y1 - 3)_ >> Or (x3 = x2 Or x3 = x2 + 1 Or x3 = x2+2 Or x3 = x2 - 1 Or x3 = x2 - 2 _ >> And y3 = y2 Or y3 = y2 + 1 Or y3 = y2 + 2 Or y3 = y2 + 3 Or y3 = y2 - 1 >> Or y3 = y2 - 2 Or y3 = y2 - 3)_ >> or (x4 = x1 Or x4 = x1 + 1 Or x4 = x1+2 Or x4 = x1 - 1 Or x4 = x1 - 2 _ >> And y4 = y1 Or y4 = y1 + 1 Or y4 = y1 + 2 Or y4 = y1 + 3 Or y4 = y1 - 1 >> Or y4 = y1 - 2 Or y4 = y1 - 3)_ >> Or (x4 = x2 Or x4 = x2 + 1 Or x4 = x2 + 2 Or x4 = x2 - 1 Or x4 = x2 - 2 _ >> And y4 = y2 Or y4 = y2 + 1 Or y4 = y2 + 2 Or y4 = y2 + 3 Or y4 = y2 - 1 >> Or y4 = y2 - 2 Or y4 = y2 - 3)_ >> Or (x4 = x3 Or x4 = x3 + 1 Or x4 = x3 + 2 Or x4 = x3 - 1 Or x4 = x3 - 2 _ >> And y4 = y3 Or y4 = y3 + 1 Or y4 = y3 + 2 Or y4 = y3 + 3 Or y4 = y3 - 1 >> Or y4 = y3 - 2 Or y4 = y3 - 3) >> >> c.SetAttrib "x1", x1 >> c.SetAttrib "x2", x2 >> c.SetAttrib "x3", x3 >> c.SetAttrib "x4", x4 >> c.SetAttrib "y1", y1 >> c.SetAttrib "y2", y2 >> c.SetAttrib "y3", y3 >> c.SetAttrib "y4", y4 >> > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+u... at googlegroups.com . > To post to this group, send email to e-p... at googlegroups.com > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/8d0ddea8-f54e-4a98-a006-cdcbed5cc8ce%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a3b0b0f4-3d00-48dd-87f9-84d83b1f93cd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From doidgea at hotmail.co.uk Mon Aug 4 16:46:10 2014 From: doidgea at hotmail.co.uk (Amie Doidge) Date: Mon, 4 Aug 2014 09:46:10 -0700 Subject: Task Events and using ACC as a Source In-Reply-To: Message-ID: Hello Everyone, Just as an update, E-Prime got back to me and said for the ACC to work in Task Events you can only use coding 0 or 1. As I was coding several different numbers for ACC, this is apparently why it wouldn't work for me. Hope this helps someone, Amie -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/9ba0018e-fd4e-428d-b045-9eb8c6469abc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Aug 4 19:01:38 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 4 Aug 2014 15:01:38 -0400 Subject: Help with Randomization of Non-Overlapping Images In-Reply-To: Message-ID: Tara, Wow, that Loop While statement just hurts my eyes! When something gets that complicated, I would at least try to format it better for readability (indentation and the "_" continuation character are your friends here), or better yet find some way to restructure the code so as to avoid such a long expression. E.g., if you used some arrays instead of simple variables then you could use a loop or two to run through all those tests that appear explicitly in your While expression. So I do not know if something goes wrong with your code per se. But your approach here reminds me of a bogosort (see http://en.wikipedia.org/wiki/Bogosort ), and it may suffer from the same problem. Even with no errors in the code, the code must find a solution *by chance*, and *by chance* that may take many tries. That may work well enough for small problems, but as the proportion of solutions in the problem space gets smaller this approach takes longer and longer to find one. In particular, perhaps for 3 coordinates your "bogosort" code could quickly find a solution, but for 4 images it just takes a lot longer to find one *by chance*. (PST's own "No Repeats on Consecutive Trials" examples, download from their website, suffer the same problem.) I do not like algorithms that work by chance, so I avoid them whenever possible. So first let's restate your problem, and see what we can do. You want to find 4 unique, randomly chosen x values from a pool of 7 values, and 4 unique, randomly chosen y values from a pool of 23 values. IOW, you want to pick 4 x values randomly without replacement from the range [36, 42], and 4 y values randomly without replacement from the range [38, 62]. Did I get that right? Ideally, you would follow David V's advice, make a nested List with all possible (x, y) pairs and just pick from that (Random, without replacement). That should involve 7 x 23 = 161 rows, which would not be too much trouble, and Excel would make it even easier to construct such a List. Alternatively, you might use two nested Lists, one for all the x values and another for all the y values, each Random (without replacement) and pick from those. But if you like inline code, I might start by making a couple arrays to hold my pools of x & y values: Const xPoolSize as Integer = 7, xPool1 as Integer = 36 Const yPoolSize as Integer = 23, yPool1 as Integer = 38 Dim i as Integer Dim xPool( 1 to xPoolSize ) as Integer Dim yPool( 1 to yPoolSize ) as Integer xPool(1) = xPool1 For i = 2 to xPoolSize xPool(i) = xPool(i-1) + 1 Next i yPool(1) = yPool1 For i = 2 to yPoolSize yPool(i) = yPool(i-1) + 1 Next i With a little trouble you could compact that code even better by using a 2-dimensional array for x & y together, although then the next step would not work. I leave that as an exercise. Next, just shuffle these arrays. VBA/E-Basic provides a command just for this (but only for 1-dimensional arrays, sigh): RandomizeArray xPool RandomizeArray yPool You may find RandomizeArray documented in the E-Basic Help facility. Now you may simply pick the first 4 values from the xPool & yPool arrays to construct your coordinates. Does that look like it will work? What have I missed? ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/1/2014 05:43 PM Friday, tamiskovich at gmail.com wrote: >Thanks for your response David. That is what I was afraid of. Eprime >support said it should work in theory, but seems as though it keeps >getting stuck when I add in the forth image. I am trying to list all >the combinations as well, it is just proving to be a huge task, for >there are an enormous amount of possible combinations. > >I was hoping that this would make coding much quicker and truly random. > >Tara > >On Friday, August 1, 2014 12:54:35 PM UTC-5, Vinson, David: UCL wrote: >I suspect you didn't get any replies before due the impressively >complicated set of OR statements in that loop. I suspect the problem >is there somewhere but imagine it world be a nightmare to track it >down. My guess is the loop never exits, whether due to an error or >impossible constraints. > >What if instead you enumerated the possible legal combinations of >positions in a nested List and then just sampled one of them per trial? > >Good luck, >David V > >----- Reply message ----- >From: "tamis... at gmail.com" >To: "e-p... at googlegroups.com" >Subject: Help with Randomization of Non-Overlapping Images >Date: Fri, Aug 1, 2014 6:30 pm > > > >Does anyone have any suggestions on this? I'm stuck on this and >eprime support directed me here. > >Tara > >On Monday, July 28, 2014 3:43:33 PM UTC-5, Tara Miskovich wrote: >Hello, > >I am working on having 4 images randomly places within a rectangular >region without overlapping. I wrote the code below, and it appears >to be working with up to Image 3 added, but when I add in the forth >image the program freezes. I am hoping for some guidance with what >to try next or how to get past this. Here is the code I wrote to >randomize the x and y location for each image. > >Thanks! >Tara > >Dim x1 As Integer >Dim x2 As Integer >Dim x3 As Integer >Dim x4 As Integer >Dim y1 As Integer >Dim y2 As Integer >Dim y3 As Integer >Dim y4 As Integer > >x1 = random(36, 42) >y1 = random(38, 60) > >Do >x2 = random(36, 42) >y2 = random(38, 60) >x3 = random(36, 42) >y3 = random(38, 60) >x4 = random(36, 42) >y4 = random(38, 60) > > >Loop While (x2 = x1 Or x2 = x1 + 1 Or x2 = x1+2 Or x2 = x1 - 1 Or x2 >= x1 - 2 _ >And y2 = y1 Or y2 = y1 + 1 Or y2 = y1 + 2 Or y2 = y1 + 3 Or y2 = y1 >- 1 Or y2 = y1 - 2 Or y2 = y1 - 3)_ >Or (x3 = x1 Or x3 = x1 + 1 Or x3 = x1+2 Or x3 = x1 - 1 Or x3 = x1 - 2 _ >And y3 = y1 Or y3 = y1 + 1 Or y3 = y1 + 2 Or y3 = y1 + 3 Or y3 = y1 >- 1 Or y3 = y1 - 2 Or y3 = y1 - 3)_ >Or (x3 = x2 Or x3 = x2 + 1 Or x3 = x2+2 Or x3 = x2 - 1 Or x3 = x2 - 2 _ >And y3 = y2 Or y3 = y2 + 1 Or y3 = y2 + 2 Or y3 = y2 + 3 Or y3 = y2 >- 1 Or y3 = y2 - 2 Or y3 = y2 - 3)_ >or (x4 = x1 Or x4 = x1 + 1 Or x4 = x1+2 Or x4 = x1 - 1 Or x4 = x1 - 2 _ >And y4 = y1 Or y4 = y1 + 1 Or y4 = y1 + 2 Or y4 = y1 + 3 Or y4 = y1 >- 1 Or y4 = y1 - 2 Or y4 = y1 - 3)_ >Or (x4 = x2 Or x4 = x2 + 1 Or x4 = x2 + 2 Or x4 = x2 - 1 Or x4 = x2 - 2 _ >And y4 = y2 Or y4 = y2 + 1 Or y4 = y2 + 2 Or y4 = y2 + 3 Or y4 = y2 >- 1 Or y4 = y2 - 2 Or y4 = y2 - 3)_ >Or (x4 = x3 Or x4 = x3 + 1 Or x4 = x3 + 2 Or x4 = x3 - 1 Or x4 = x3 - 2 _ >And y4 = y3 Or y4 = y3 + 1 Or y4 = y3 + 2 Or y4 = y3 + 3 Or y4 = y3 >- 1 Or y4 = y3 - 2 Or y4 = y3 - 3) > >c.SetAttrib "x1", x1 >c.SetAttrib "x2", x2 >c.SetAttrib "x3", x3 >c.SetAttrib "x4", x4 >c.SetAttrib "y1", y1 >c.SetAttrib "y2", y2 >c.SetAttrib "y3", y3 >c.SetAttrib "y4", y4 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53dfd89f.066b320a.6adf.5935SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Mon Aug 4 19:18:52 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 4 Aug 2014 15:18:52 -0400 Subject: Naming a specific trial in the trial list In-Reply-To: Message-ID: Jerry, Paul already covered the important part. Just to answer the question that you asked, if you really do want or need to access a paticular ("named") item in a List, you may use List.GetAttrib, e.g., MyList.GetAttrib 7, "Stimulus" See the Factor.GetAttrib topic in the E-Basic Help facility (go to the List topic and click on GetAttrib). You would, of course, have to run List.GetAttrib for each of the attributes that you wish to retrieve from that List level. And just to expand on Paul's comments, you may put all your trial attributes in a nested List set to Random order, and then use a main List in Sequential order to run a mixture of trials, breaks, and whatever. E.g., MainList (Sequential order): Weight Nested Procedure ------ -------- -------------- 250 StimList TrialProc 1 RestProc 150 StimList TrialProc 1 TrialsDoneProc with StimList holding all the stimulus attributes and set to Random order -- E-Prime keeps track of where it is in the shuffled StimList and just picks up where it left off (unless you tell it to Reset) (and yes, we do this in my inline course). ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 7/30/2014 04:17 AM Wednesday, Paul Groot wrote: >Hi Jerry, > >There are several way's to do such a thing >without using inline script. If the trial list >is ran sequentially, you could simply add a >specific trial procedure by inserting a row into >the list at level 250. This specific trial could >have a different name and is configured >completely independent of the other trials. >However, if you use some kind of trial order >randomization, things become slightly more >complicated. In that case you would have to put >the special trials in a separate list. The two >lists with regular and special trials can then >be used as nested lists in a master trial list. >The master trial list can have two levels: the >first having weight=250, nested >list=RegularTrialList and proc=RegularTrialProc; >the second having weight=1, nested >list=SpecialTrialList and proc=SpecialTrialProc. > >Lots of trial and block orders are possible when >using nested lists this way. > >Best >Paul > > > > >On 29 July 2014 20:06, Jerry Shen ><jerryshen1993 at gmail.com> wrote: >Is there a way to label a specific trial with a >name? I would like to present a specific trial >after a certain number of trials and was >wondering if there is an inline code where I can refer to the trial >ie. If TrialCount = 250 Then display TrialList.ID = 7 > >Something along the lines of that? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53dfdc9e.6a39320a.187f.7ce8SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From tamiskovich at gmail.com Mon Aug 4 19:50:59 2014 From: tamiskovich at gmail.com (tamiskovich at gmail.com) Date: Mon, 4 Aug 2014 12:50:59 -0700 Subject: Help with Randomization of Non-Overlapping Images In-Reply-To: <53dfd89f.066b320a.6adf.5935SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David, Thank you so much for your reply. I know the thing is a visual nightmare at the moment and needs a little aesthetic touch up. Sorry! These are incredibly helpful suggestions and getting me to think about this a lot deeper. The only issue with the array, while it would be easier, is that 1. It seems like I could still have some over lap since my images are 2x3 % in eprime and 2. ideally I would like to still be able to use the same x coordinate for two images just so long as they don't overlap (they are far enough apart on the y). So it's really tricky since I need to consider a range of coordinates when I place an image to insure they do not overlap. I like the idea of the 2 dimensional array (sounds tricky) cause that would solve #1 but not sure how to get around #2 and ensuring they don't overlap + or - 2 or 3 values. Thanks again so much for the help! On Monday, August 4, 2014 2:01:56 PM UTC-5, McFarlane, David wrote: > > Tara, > > Wow, that Loop While statement just hurts my eyes! When something > gets that complicated, I would at least try to format it better for > readability (indentation and the "_" continuation character are your > friends here), or better yet find some way to restructure the code so > as to avoid such a long expression. E.g., if you used some arrays > instead of simple variables then you could use a loop or two to run > through all those tests that appear explicitly in your While expression. > > So I do not know if something goes wrong with your code per se. But > your approach here reminds me of a bogosort (see > http://en.wikipedia.org/wiki/Bogosort ), and it may suffer from the > same problem. Even with no errors in the code, the code must find a > solution *by chance*, and *by chance* that may take many tries. That > may work well enough for small problems, but as the proportion of > solutions in the problem space gets smaller this approach takes > longer and longer to find one. In particular, perhaps for 3 > coordinates your "bogosort" code could quickly find a solution, but > for 4 images it just takes a lot longer to find one *by > chance*. (PST's own "No Repeats on Consecutive Trials" examples, > download from their website, suffer the same problem.) > > I do not like algorithms that work by chance, so I avoid them > whenever possible. So first let's restate your problem, and see what > we can do. > > You want to find 4 unique, randomly chosen x values from a pool of 7 > values, and 4 unique, randomly chosen y values from a pool of 23 > values. IOW, you want to pick 4 x values randomly without > replacement from the range [36, 42], and 4 y values randomly without > replacement from the range [38, 62]. Did I get that right? > > Ideally, you would follow David V's advice, make a nested List with > all possible (x, y) pairs and just pick from that (Random, without > replacement). That should involve 7 x 23 = 161 rows, which would not > be too much trouble, and Excel would make it even easier to construct > such a List. Alternatively, you might use two nested Lists, one for > all the x values and another for all the y values, each Random > (without replacement) and pick from those. > > But if you like inline code, I might start by making a couple arrays > to hold my pools of x & y values: > > Const xPoolSize as Integer = 7, xPool1 as Integer = 36 > Const yPoolSize as Integer = 23, yPool1 as Integer = 38 > Dim i as Integer > Dim xPool( 1 to xPoolSize ) as Integer > Dim yPool( 1 to yPoolSize ) as Integer > xPool(1) = xPool1 > For i = 2 to xPoolSize > xPool(i) = xPool(i-1) + 1 > Next i > yPool(1) = yPool1 > For i = 2 to yPoolSize > yPool(i) = yPool(i-1) + 1 > Next i > > With a little trouble you could compact that code even better by > using a 2-dimensional array for x & y together, although then the > next step would not work. I leave that as an exercise. > > Next, just shuffle these arrays. VBA/E-Basic provides a command just > for this (but only for 1-dimensional arrays, sigh): > > RandomizeArray xPool > RandomizeArray yPool > > > You may find RandomizeArray documented in the E-Basic Help facility. > > Now you may simply pick the first 4 values from the xPool & yPool > arrays to construct your coordinates. > > Does that look like it will work? What have I missed? > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) If you do get an answer from PST > staff, please extend the courtesy of posting their reply back here > for the sake of others. > \---- > > > At 8/1/2014 05:43 PM Friday, tamis... at gmail.com wrote: > >Thanks for your response David. That is what I was afraid of. Eprime > >support said it should work in theory, but seems as though it keeps > >getting stuck when I add in the forth image. I am trying to list all > >the combinations as well, it is just proving to be a huge task, for > >there are an enormous amount of possible combinations. > > > >I was hoping that this would make coding much quicker and truly random. > > > >Tara > > > >On Friday, August 1, 2014 12:54:35 PM UTC-5, Vinson, David: UCL wrote: > >I suspect you didn't get any replies before due the impressively > >complicated set of OR statements in that loop. I suspect the problem > >is there somewhere but imagine it world be a nightmare to track it > >down. My guess is the loop never exits, whether due to an error or > >impossible constraints. > > > >What if instead you enumerated the possible legal combinations of > >positions in a nested List and then just sampled one of them per trial? > > > >Good luck, > >David V > > > >----- Reply message ----- > >From: "tamis... at gmail.com" > >To: "e-p... at googlegroups.com" > >Subject: Help with Randomization of Non-Overlapping Images > >Date: Fri, Aug 1, 2014 6:30 pm > > > > > > > >Does anyone have any suggestions on this? I'm stuck on this and > >eprime support directed me here. > > > >Tara > > > >On Monday, July 28, 2014 3:43:33 PM UTC-5, Tara Miskovich wrote: > >Hello, > > > >I am working on having 4 images randomly places within a rectangular > >region without overlapping. I wrote the code below, and it appears > >to be working with up to Image 3 added, but when I add in the forth > >image the program freezes. I am hoping for some guidance with what > >to try next or how to get past this. Here is the code I wrote to > >randomize the x and y location for each image. > > > >Thanks! > >Tara > > > >Dim x1 As Integer > >Dim x2 As Integer > >Dim x3 As Integer > >Dim x4 As Integer > >Dim y1 As Integer > >Dim y2 As Integer > >Dim y3 As Integer > >Dim y4 As Integer > > > >x1 = random(36, 42) > >y1 = random(38, 60) > > > >Do > >x2 = random(36, 42) > >y2 = random(38, 60) > >x3 = random(36, 42) > >y3 = random(38, 60) > >x4 = random(36, 42) > >y4 = random(38, 60) > > > > > >Loop While (x2 = x1 Or x2 = x1 + 1 Or x2 = x1+2 Or x2 = x1 - 1 Or x2 > >= x1 - 2 _ > >And y2 = y1 Or y2 = y1 + 1 Or y2 = y1 + 2 Or y2 = y1 + 3 Or y2 = y1 > >- 1 Or y2 = y1 - 2 Or y2 = y1 - 3)_ > >Or (x3 = x1 Or x3 = x1 + 1 Or x3 = x1+2 Or x3 = x1 - 1 Or x3 = x1 - 2 _ > >And y3 = y1 Or y3 = y1 + 1 Or y3 = y1 + 2 Or y3 = y1 + 3 Or y3 = y1 > >- 1 Or y3 = y1 - 2 Or y3 = y1 - 3)_ > >Or (x3 = x2 Or x3 = x2 + 1 Or x3 = x2+2 Or x3 = x2 - 1 Or x3 = x2 - 2 _ > >And y3 = y2 Or y3 = y2 + 1 Or y3 = y2 + 2 Or y3 = y2 + 3 Or y3 = y2 > >- 1 Or y3 = y2 - 2 Or y3 = y2 - 3)_ > >or (x4 = x1 Or x4 = x1 + 1 Or x4 = x1+2 Or x4 = x1 - 1 Or x4 = x1 - 2 _ > >And y4 = y1 Or y4 = y1 + 1 Or y4 = y1 + 2 Or y4 = y1 + 3 Or y4 = y1 > >- 1 Or y4 = y1 - 2 Or y4 = y1 - 3)_ > >Or (x4 = x2 Or x4 = x2 + 1 Or x4 = x2 + 2 Or x4 = x2 - 1 Or x4 = x2 - 2 _ > >And y4 = y2 Or y4 = y2 + 1 Or y4 = y2 + 2 Or y4 = y2 + 3 Or y4 = y2 > >- 1 Or y4 = y2 - 2 Or y4 = y2 - 3)_ > >Or (x4 = x3 Or x4 = x3 + 1 Or x4 = x3 + 2 Or x4 = x3 - 1 Or x4 = x3 - 2 _ > >And y4 = y3 Or y4 = y3 + 1 Or y4 = y3 + 2 Or y4 = y3 + 3 Or y4 = y3 > >- 1 Or y4 = y3 - 2 Or y4 = y3 - 3) > > > >c.SetAttrib "x1", x1 > >c.SetAttrib "x2", x2 > >c.SetAttrib "x3", x3 > >c.SetAttrib "x4", x4 > >c.SetAttrib "y1", y1 > >c.SetAttrib "y2", y2 > >c.SetAttrib "y3", y3 > >c.SetAttrib "y4", y4 > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/dec96210-911d-40dd-a0a3-06a6afd97695%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tamiskovich at gmail.com Mon Aug 4 19:51:46 2014 From: tamiskovich at gmail.com (tamiskovich at gmail.com) Date: Mon, 4 Aug 2014 12:51:46 -0700 Subject: Help with Randomization of Non-Overlapping Images In-Reply-To: <53dfd89f.066b320a.6adf.5935SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David, Thank you so much for your reply. I know the thing is a visual nightmare at the moment and needs a little aesthetic touch up. Sorry! These are incredibly helpful suggestions and getting me to think about this a lot deeper. The only issue with the array, while it would be easier, is that 1. It seems like I could still have some over lap since my images are 2x3 % in eprime and 2. ideally I would like to still be able to use the same x coordinate for two images just so long as they don't overlap (they are far enough apart on the y). So it's really tricky since I need to consider a range of coordinates when I place an image to insure they do not overlap. I like the idea of the 2 dimensional array (sounds tricky) cause that would solve #1 but not sure how to get around #2 and ensuring they don't overlap + or - 2 or 3 values. Thanks again so much for the help! Tara -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/3cbf9b88-a19a-41af-9a39-9baa3c20d10f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Tue Aug 5 03:29:45 2014 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Tue, 5 Aug 2014 11:29:45 +0800 Subject: Nested List Not Following Selection Rules In-Reply-To: <37451b6e-1767-4ace-bd1d-a808405c42f3@googlegroups.com> Message-ID: Hi,Noam, I am trying to download the attachemnt you posted but it seems my version is lower than yours, so I cann't open yout profile to see the details. I suppose the four words cannot be the same and you may seperate the 85 words into 2 different groups: positive and negative. then randomly select 2 words from each group. I hope you can find a lower eprime version so I can see the details. Hope everything goes well, Sally 2014-08-02 0:23 GMT+08:00 Noam Schneck : > Hi All, > > I have a task in which a slide object is used to present four words > (Positive1, Positive2, Negative1, Negative2). Each word is selected > randomly from a list that contains 85 words in total. This list "Wordlist" > is nested into the master list. I am trying to set the wordlist so that no > words will repeat within a block (24 runs) but that they can repeat across > blocks. I set the parameters of the wordlist to random selection with > replacement after reset. I set the reset at 24 samples. > > HOWEVER....E-prime seems to have a different plan. When I run a test on > the task I find that the program goes through the first 3 blocks (72 > samples) without ever repeating a single word and than in the fourth block > it begins repeating words within the block. I cannot figure out why this > is happening and I have attached the experiment file. Please help! > > Noam > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/37451b6e-1767-4ace-bd1d-a808405c42f3%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAJO0WNZWFVgaLt1zBLxsBKw%2BAPzZrwfb7t_GF4MiYNv48snP2g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tamiskovich at gmail.com Tue Aug 5 13:30:23 2014 From: tamiskovich at gmail.com (tamiskovich at gmail.com) Date: Tue, 5 Aug 2014 06:30:23 -0700 Subject: Help with Randomization of Non-Overlapping Images In-Reply-To: <3cbf9b88-a19a-41af-9a39-9baa3c20d10f@googlegroups.com> Message-ID: Hi all, I just got an email from a user today who had trouble posting to the board, but his solution appears to work so far. Here it is: (I had trouble with google groups responding – I hope you’re the Tara who emailed the eprime group – if not please ignore – sorry…) Hi Tara, I'm not certain this will fix the problem, but I think the loop fails due to the precedence of OR vs AND in the conditional. The sets of X's and Y's need to be grouped together. Add the parenthesis shown beloww to hopefully fix the problem: Loop While ((x2 = x1 Or x2 = x1 + 1 Or x2 = x1+2 Or x2 = x1 - 1 Or x2 = x1 - 2) _ And (y2 = y1 Or y2 = y1 + 1 Or y2 = y1 + 2 Or y2 = y1 + 3 Or y2 = y1 - 1 Or y2 = y1 - 2 Or y2 = y1 - 3))_ Or ((x3 = x1 Or x3 = x1 + 1 Or x3 = x1+2 Or x3 = x1 - 1 Or x3 = x1 - 2) _ And (y3 = y1 Or y3 = y1 + 1 Or y3 = y1 + 2 Or y3 = y1 + 3 Or y3 = y1 - 1 Or y3 = y1 - 2 Or y3 = y1 - 3))_ Or ((x3 = x2 Or x3 = x2 + 1 Or x3 = x2+2 Or x3 = x2 - 1 Or x3 = x2 - 2) _ And (y3 = y2 Or y3 = y2 + 1 Or y3 = y2 + 2 Or y3 = y2 + 3 Or y3 = y2 - 1 Or y3 = y2 - 2 Or y3 = y2 - 3))_ or ((x4 = x1 Or x4 = x1 + 1 Or x4 = x1+2 Or x4 = x1 - 1 Or x4 = x1 - 2) _ And (y4 = y1 Or y4 = y1 + 1 Or y4 = y1 + 2 Or y4 = y1 + 3 Or y4 = y1 - 1 Or y4 = y1 - 2 Or y4 = y1 - 3))_ Or ((x4 = x2 Or x4 = x2 + 1 Or x4 = x2 + 2 Or x4 = x2 - 1 Or x4 = x2 - 2) _ And (y4 = y2 Or y4 = y2 + 1 Or y4 = y2 + 2 Or y4 = y2 + 3 Or y4 = y2 - 1 Or y4 = y2 - 2 Or y4 = y2 - 3))_ Or ((x4 = x3 Or x4 = x3 + 1 Or x4 = x3 + 2 Or x4 = x3 - 1 Or x4 = x3 - 2) _ And (y4 = y3 Or y4 = y3 + 1 Or y4 = y3 + 2 Or y4 = y3 + 3 Or y4 = y3 - 1 Or y4 = y3 - 2 Or y4 = y3 - 3)) Regards, Bill -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/be042776-ff29-443f-8cb4-252d202cb63c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jotaylor2306 at gmail.com Tue Aug 5 14:57:11 2014 From: jotaylor2306 at gmail.com (jotaylor2306 at gmail.com) Date: Tue, 5 Aug 2014 07:57:11 -0700 Subject: define slide images inline - need to clear after each trial? Message-ID: Hi there, I have a spelling task in which participants listen to a 3 phoneme word (consonant-vowel-consonant) and must select which 3 (from an array of 16) symbols spell that word, in the correct order. They should see each selection appear on the screen, and after all 3 symbols have been selected they should see the correctly spelled word alongside their own selections and receive correct/incorrect feedback. They are spelling them in a new script they have learned so I can't use keyboard input as they are not Latin letters. I have programmed the task by having each trial contain 4 slide objects: stimslide1. Shows the array of symbols - same layout each trial stimslide2. Shows the array of symbols - plus the symbol they selected on Slide 1 stimeslide3. Shows the array of symbols - plus the symbols they selected on Slide 1 and Slide 2 stimslide4. Shows the array of symbols - plus the symbols they selected on Slides 1, 2, and 3. And also shows the correctly spelled word and a text object saying whether their spelling was correct or incorrect. The inline code I have used to determine which slide image they selected (which is placed after stimstlide1 in the trialproc) is pasted below. The problem I am having is that after trial 1, the image selections from the previous trial are displayed very briefly (i.e. they flash up) before the image selections from the current trial. I am aware that I must need to clear the images from each trial, but can't figure out how to do so. I have the line Set s1Image = Nothing as this seems to be good practice but tbh I am not sure what it does as this doesnt do what I would want it to do! I have also tried adding an inline at the end of the trialproc that says s1Image.clear but I got a runtime error (Object variable or With block variable not set). Could someone please tell me the proper way to clear images from trial to trial? Thanks, Jo 'This section determines which image they clicked on. nCurrentResponse=0 bContinue=True While bContinue<>False If stimslide1.InputMasks.Responses.Count<>nCurrentResponse Then nCurrentResponse=nCurrentResponse+1 Set theMouseResponseData=CMouseResponseData(stimslide1.InputMasks.Responses(nCurrentResponse)) If Not theMouseResponseData Is Nothing Then strHit=stimslide1State.HitTest(theMouseResponseData.CursorX,theMouseResponseData.CursorY) If strHit<>"" Then Set theSlideImage=CSlideImage(stimslide1State.Objects(strHit)) If Not theSlideImage Is Nothing Then bContinue=False ' this creates an attribute called LocChose1 that contains the Name of the Image they selected which is the same as its actual file name. c.SetAttrib "LocChose1", strHit If c.GetAttrib("LocChose1") = c.GetAttrib("Correct1") Then CountAcc=CountAcc+1 End If End If End If End If End If ' This section tells the programme to display the image they clicked on on the next slide (stimslide2) in the image called "Selection1" which by default is set to be a blank bmp file. Dim slImage as SlideImage Set slImage = CSlideImage(stimslide2.States("Default").Objects("Selection1")) ' This retrieves the LocChose1 attribute which was the image they selected and adds the file extension so that the image can be displayed slImage.Filename = c.GetAttrib("LocChose1") & ".tif" slImage.Load stimslide2.Draw Set s1Image = Nothing Sleep 100 WEnd -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/20f5f343-2b6c-4d7d-94bd-724e9b467fce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidruvolo51 at gmail.com Tue Aug 5 18:09:37 2014 From: davidruvolo51 at gmail.com (David Ruvolo) Date: Tue, 5 Aug 2014 11:09:37 -0700 Subject: Does SRBOX/Microphone setup effect RTs? In-Reply-To: <00d601cfad5c$a231e890$e695b9b0$@cognitology.eu> Message-ID: Thank you both for your responses and input. I am leaning more towards using two microphones for simplicity. Maybe in the future I will revisit this issue and try to come up with something. Thanks, David On Friday, August 1, 2014 2:46:05 AM UTC-5, Michiel Sovijärvi-Spapé wrote: > Hi, > Wouldn't the use of two (perhaps even taped together) microphones make a > lot > more sense? Given that these do very different things: record onset of > audio > vs record audio, I can think of few reasons why these would need to be > very > exactly synchronised - apart from that warm feeling we all get from hyper > precise timing, obviously! Anyway, the benefit would be that the audio > microphone can then be a very good, studio quality, microphone, rather > than > the SRBox voicekey one which I don't think was really built for audio > analysis. Second, it makes from an audio engineer's point of view some > sense > to direct microphone's different (e.g. a little underneath the mouth). > Third, you could use the onset of the SRBox voicekey as a trigger to start > an audio input object. Finally: you could always try to sync the data > offline if you send out a tone (e.g. at >20 Khz) at the onset of your > critical stimulus, then write a bit* of matlab code to calculate the > distance between beeps and first human vocal range (0.5 the > chunk as data - it has certain benefits, since you will be more sure that > it's not just some subject's sigh that triggers the voicekey. > Anyway, just some ideas, maybe one helps. > Best, > Michiel > > * That sounds like it's little work - obviously, it's not, but maybe there > are toolboxes out there already. > PS: Many audio interfaces (cards) do provide line level inputs, I've > previously recommended M-Audio Fast Track USB before as a cheap one (also > comes with dedicated ASIO drivers and such which might help E-Prime 2 > audio > out latency) > ------------ > > Dr. Michiel Spapé > Helsinki Institute for Information Technology HIIT > Aalto University & University of Helsinki > Finland > > > -----Original Message----- > From: e-p... at googlegroups.com [mailto: > e-p... at googlegroups.com ] On Behalf > Of David McFarlane > Sent: 31 July 2014 18:58 > To: e-p... at googlegroups.com > Subject: Re: Does SRBOX/Microphone setup effect RTs? > > David, > > I dearly hope that you get simultaneous voice key and sound recording to > work with a single microphone, and then report back here on how to do it. > I > never got that to work here, we gave up and used two microphones, one for > the voice key (SRBox) and one for sound recording through the computer's > mic > input. Some details ... > > In short, when we used any sort of Y splitter to connect one mic to both > SRBox and cmoputer mic input, we had trouble getting the voice key to > respond, and the recorded sound contained a high-pitched whine. I worked > on > this with PST Support, and they could not do much better themselves -- in > their own tests using a splitter, either the voice key did not work, or > the > audio quality was degraded (e.g., low volume). > > In case it helps, the SRBox uses a dynamic microphone (see > http://en.wikipedia.org/wiki/Microphone ), with a 3.5mm unbalanced TS > (tip-sleeve) connector. Computer mic inputs typically use a condenser > mic, > with a 3.5mm TRS (tip-ring-sleeve) connector where the computer may supply > power to the mic through the ring. So things get complicated already > right > there. Beyond that, I suspect that each device connected to the > microphone > presents an additional load, and the microphone simply cannot handle the > load of two input devices, which would account for the loss in volume. > > What we need, of course, is a device that presents a low load to the > microphone, and can drive multiple loads for the next stage. Ordinarily, > that device would be a preamp that supplies line-level signals to the next > stage. Unfortunately, in our case a line-level signal will likely > overload > our inputs -- the SRBox can take only a mic-level signal, and many > computer > sound devices no longer provide a line-level input, they provide mic-level > input only. If you can find a device that takes a mic-level input and > then > buffers that to provide output to multiple mic-level inputs, that would be > great, but I asked around and could not find such a device. One other > option might be to use a preamp, as mentioned above, and then attentuate > the > preamp output using something like a series resistor to the mic-level > inputs. I have not yet tried this myself, so if you get this to work > please > write back. (Even if this works, it just seems twisted -- I mean, first > we > would boost the signal from the mic, then attenuate the boosted signal > back > down to mic level so that we could feed it into another mic input that > then > boosts it yet again -- sheesh!) > > So in sum, splitting a microphone between the SRBox voice key and the > computer sound card is not as straightforwared as you might think, and in > the end using two microphones still seems the best solution. > > But to answer your question, I cannot think of any reason that using a > splitter would affect the measured reaction time, the electric signal > should > travel at the same rate with or without a splitter. Of course, that > should > be tested empirically (and no one should just take my work for any of this > :) ), but I would be very surprised if it made any difference. But note > that, even with a splitter, as a result of latencies in sound recording > you > will almost certainly find a discrepancy between RT measured by voice key > vs. sound recording, see thread at > https://groups.google.com/d/topic/e-prime/DcKdgNJKAlM . > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained > staff (and other support facilities) at https://support.pstnet.com . 3) > If > you do get an answer from PST staff, please extend the courtesy of posting > their reply back here for the sake of others. > \---- > > > At 7/31/2014 10:54 AM Thursday, David Ruvolo wrote: > >I have a question regarding using a microphone for measuring RT and > >audio input for a battery I am working on. > > > >I am debating on whether using a audio splitter (a y cable) to send the > >signal to the SRBOX and the computer's recording device vs. > >using two microphones. If I choose to use two microphones, this creates > >extra environmental stimuli, would make positioning the microphones and > >testing the setup in the middle of data collection very time consumming > >(I am using non SRBOX tasks and SRBOX tasks that have a set order), > >this might create inconsistencies with data collection (each individual > >has a slightly different positioning, sound doesn't capture, etc), and > >the whole experience might be overwhelming for the participant. On the > >other hand, using the splitter would eliminate this issue, but I am not > >sure if there would result in differences in RT logged by E-Prime (this > >would be in ms and could make or break our outcomes). > > > >Does setup (using a splitter vs. two microphones) effect reaction time? > >I would be interested to know if anyone has looked into this, had any > >experience using either setup, or measured this. Feel free to let me > >know or tell me I am overthinking this. > > > >Thanks, > > > >David > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+u... at googlegroups.com . > To post to this group, send email to e-p... at googlegroups.com . > > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/53da6781.0419320a.2b1c.ffff8c0cSMT > > PIN_ADDED_MISSING%40gmr-mx.google.com > . > > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/f8b6d16c-8a69-4aa7-9d0a-fbcbf2338007%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From noam.schneck at gmail.com Wed Aug 6 14:08:34 2014 From: noam.schneck at gmail.com (Noam Schneck) Date: Wed, 6 Aug 2014 07:08:34 -0700 Subject: Nested List Not Following Selection Rules In-Reply-To: Message-ID: Hi Sally, Thank you for the response. Sorry for the e-prime version elitism. I can't downgrade because I don't have the lower version and would need to reprogram the entire task if I did. I am attaching here an edat file extracted into an excel spreadsheet. If you look at columns DB-DK you will see the words that were selected for each trial. Columns DD and DE show the alternating blocks. What this file shows is that for the first six blocks there are no repetitions and then in blocks 7 and 8 (rows 153-200 on the excel spreadsheet) there are repetitions (highlighted in pink). The problem is that these repetitions occur within one block. I can't figure out why that is happening since I set the wordlist to random. I don't mind if the repetitions happen across blocks but I can't have them within blocks. Let me know if you have any further thoughts, noam On Monday, August 4, 2014 11:29:48 PM UTC-4, sally wrote: > > Hi,Noam, I am trying to download the attachemnt you posted but it seems my > version is lower than yours, so I cann't open yout profile to see the > details. I suppose the four words cannot be the same and you may seperate > the 85 words into 2 different groups: positive and negative. then randomly > select 2 words from each group. I hope you can find a lower eprime version > so I can see the details. > > Hope everything goes well, > > Sally > > > 2014-08-02 0:23 GMT+08:00 Noam Schneck > > : > >> Hi All, >> >> I have a task in which a slide object is used to present four words >> (Positive1, Positive2, Negative1, Negative2). Each word is selected >> randomly from a list that contains 85 words in total. This list "Wordlist" >> is nested into the master list. I am trying to set the wordlist so that no >> words will repeat within a block (24 runs) but that they can repeat across >> blocks. I set the parameters of the wordlist to random selection with >> replacement after reset. I set the reset at 24 samples. >> >> HOWEVER....E-prime seems to have a different plan. When I run a test on >> the task I find that the program goes through the first 3 blocks (72 >> samples) without ever repeating a single word and than in the fourth block >> it begins repeating words within the block. I cannot figure out why this >> is happening and I have attached the experiment file. Please help! >> >> Noam >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+u... at googlegroups.com . >> To post to this group, send email to e-p... at googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/37451b6e-1767-4ace-bd1d-a808405c42f3%40googlegroups.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/49fe56fb-7d13-4d31-b493-0692016b90c3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 6.xlsx Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet Size: 162293 bytes Desc: not available URL: From robmanc2014 at gmail.com Wed Aug 6 15:42:41 2014 From: robmanc2014 at gmail.com (Rob Manchester) Date: Wed, 6 Aug 2014 08:42:41 -0700 Subject: List.AddLevel returns 'Error -999' Level name that is an integer with level count mismatch Message-ID: Hi I'm a newbie to E-Prime and I'm using a program that someone else has written that has used code rather than the GUI for some aspects of the program. In the program there is a list 'triallist' which has 2 levels as standard. However there is some in line code which creates a new level for each trial over and above these first two levels (I don't know why it is written this way). The section of the code causing the error is shown below: For i=1 To nTrials 'note: ntrials is set as 72 in a separate inline piece of code - this specifies the number of trials in the block. If i>2 Then trialList.AddLevel i 'ERROR OCCURS HERE End If trialList.SetWeight i, "1" k=goodList(i) trialList.SetAttrib i, "picture", "resources\\" & picToShowList(k) 'blockList.GetAttrib(nBlockID,"picture1") trialList.SetAttrib i, "picType", picToShowTypeList(k) If ifReward(i) Mod 2 =1 Then trialList.SetProc i, "rewaShow" trialList.SetAttrib i, "ifReward", "1" Else trialList.SetProc i, "noneShow" trialList.SetAttrib i, "ifReward", "0" End If Next i Set trialList.TerminateCondition = Cycles(1) Set trialList.ResetCondition = Samples(nTrials) trialList.Reset print #9, nBlockID, fName(reShowPicList.GetAttrib(1,"reShowName1")), fName(reShowPicList.GetAttrib(1,"reShowName2")) print #9, " " Set reShowPicList.TerminateCondition = Cycles(1) Set reShowPicList.ResetCondition = Samples(2) reShowPicList.Reset The error is 'Error -999' Level name that is an integer with level count mismatch The code runs for each block (i.e. it specifies the trials for each block). For the first block it runs fine. Then for the second block it produces an error when i = 3. I used a debug print to get the value of trialList.size and found that it was equal to the ntrials value (i.e. the number of trials that occurs in the first block). This I assume means that the temporary levels added in the first block haven't been removed, thus causing the error on the second block. I assume the trialList.reset line near the bottom is supposed to do this. Any ideas what might be going wrong? I'm using Version 2, weirdly I'm sure this code works on version 1! Thanks Rob -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/9d9af65c-7771-4f57-967f-0242d039244e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Thu Aug 7 02:02:18 2014 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Thu, 7 Aug 2014 10:02:18 +0800 Subject: Nested List Not Following Selection Rules In-Reply-To: <49fe56fb-7d13-4d31-b493-0692016b90c3@googlegroups.com> Message-ID: Dear Noam, I have seen your excel profile and I have some questions about your procedure. How did you random the wordlist so that you can get the random 4 words to show? Did you write any inline codes or just random the list, if the latter, what's inside the list, how come the numbers named newlist1,newlist2,wordlist,wordlist2? This is why I would like to see your eprime program. I want the structure of your program so that I can get you. Besides, I think you can group the 85 words into two groups, negative(list1) and positive(list2) and then make a master list list3,list1 and list2 are nested in list3, and in list3, you have 4 attributions:p1,p2,n1,n2, and you can define p1 as [list2:0],p2 as [list2:1],n1 as [list1:0],n2 as [list1:1], then you can set the weight of List3 as 24. I think this can work.you can have a try. hope that helps. My best, Sally 2014-08-06 22:08 GMT+08:00 Noam Schneck : > Hi Sally, > > Thank you for the response. Sorry for the e-prime version elitism. I > can't downgrade because I don't have the lower version and would need to > reprogram the entire task if I did. I am attaching here an edat file > extracted into an excel spreadsheet. If you look at columns DB-DK you > will see the words that were selected for each trial. Columns DD and DE > show the alternating blocks. What this file shows is that for the first > six blocks there are no repetitions and then in blocks 7 and 8 (rows > 153-200 on the excel spreadsheet) there are repetitions (highlighted in > pink). The problem is that these repetitions occur within one block. I > can't figure out why that is happening since I set the wordlist to random. > I don't mind if the repetitions happen across blocks but I can't have them > within blocks. > > Let me know if you have any further thoughts, > noam > > > On Monday, August 4, 2014 11:29:48 PM UTC-4, sally wrote: > >> Hi,Noam, I am trying to download the attachemnt you posted but it seems >> my version is lower than yours, so I cann't open yout profile to see the >> details. I suppose the four words cannot be the same and you may seperate >> the 85 words into 2 different groups: positive and negative. then randomly >> select 2 words from each group. I hope you can find a lower eprime version >> so I can see the details. >> >> Hope everything goes well, >> >> Sally >> >> >> 2014-08-02 0:23 GMT+08:00 Noam Schneck : >> >>> Hi All, >>> >>> I have a task in which a slide object is used to present four words >>> (Positive1, Positive2, Negative1, Negative2). Each word is selected >>> randomly from a list that contains 85 words in total. This list "Wordlist" >>> is nested into the master list. I am trying to set the wordlist so that no >>> words will repeat within a block (24 runs) but that they can repeat across >>> blocks. I set the parameters of the wordlist to random selection with >>> replacement after reset. I set the reset at 24 samples. >>> >>> HOWEVER....E-prime seems to have a different plan. When I run a test on >>> the task I find that the program goes through the first 3 blocks (72 >>> samples) without ever repeating a single word and than in the fourth block >>> it begins repeating words within the block. I cannot figure out why this >>> is happening and I have attached the experiment file. Please help! >>> >>> Noam >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+u... at googlegroups.com. >>> To post to this group, send email to e-p... at googlegroups.com. >>> >>> To view this discussion on the web visit https://groups.google.com/d/ >>> msgid/e-prime/37451b6e-1767-4ace-bd1d-a808405c42f3%40googlegroups.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/49fe56fb-7d13-4d31-b493-0692016b90c3%40googlegroups.com > > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAJO0WNbie0B8%3DbjmUmj7muhRNWb5QpCfST51XMqK0ygcTYLo-A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Thu Aug 7 02:17:14 2014 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Thu, 7 Aug 2014 10:17:14 +0800 Subject: SRboxresponsedata lost Message-ID: Dear all, I have encountered a problem about SRbox, I added the device in the program and also add the response SRbox into my response slice, it seems the SRbox is working all right since when I press the pad the light indeicated it's working well, but the problem I cannot get the SRboxresponsedata by sript. My experiment needs the subject to move a cursor in the screen by SRbox, and I coded all this process. But when I tried in fMRI, the SRboxresponsedata is not available. I used codes as follows: Dim theResponseObject As RteRunnableInputObject Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("CE")) Dim KD As SRboxResponseData nindex2=nindex1 nindex1=val(theResponseObject.InputMasks.Responses.Count) if nindex1>nindex2 then Set KD = CSRboxResponseData(theResponseObject.InputMasks.Responses(nindex1)) set theSlideText=CSlideText(CE.states.item("default").objects("Text5")) ...... end if I have tested already that nindex1 always be zero. So is anyone can help? Any help would be appreciated. My best, Sally -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAJO0WNZfDCRS3zXAvBmEEPL3a4r2CNjLCLzhCCx9L_Jb43RUtQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Thu Aug 7 02:18:35 2014 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Thu, 7 Aug 2014 10:18:35 +0800 Subject: Nested List Not Following Selection Rules In-Reply-To: Message-ID: Dear Noam, I have seen your excel profile and I have some questions about your procedure. How did you random the wordlist so that you can get the random 4 words to show? Did you write any inline codes or just random the list, if the latter, what's inside the list, how come the numbers named newlist1,newlist2,wordlist,wordlist2? This is why I would like to see your eprime program. I want the structure of your program so that I can get you. Besides, I think you can group the 85 words into two groups, negative(list1) and positive(list2) and then make a master list list3,list1 and list2 are nested in list3, and in list3, you have 4 attributions:p1,p2,n1,n2, and you can define p1 as [list2:0],p2 as [list2:1],n1 as [list1:0],n2 as [list1:1], then you can set the weight of List3 as 24. I think this can work.you can have a try. hope that helps. My best, Sally 2014-08-07 10:02 GMT+08:00 gorgeous yayuan geng : > Dear Noam, > > I have seen your excel profile and I have some questions about your > procedure. How did you random the wordlist so that you can get the random 4 > words to show? Did you write any inline codes or just random the list, if > the latter, what's inside the list, how come the numbers named > newlist1,newlist2,wordlist,wordlist2? This is why I would like to see your > eprime program. I want the structure of your program so that I can get you. > > Besides, I think you can group the 85 words into two groups, > negative(list1) and positive(list2) and then make a master list list3,list1 > and list2 are nested in list3, and in list3, you have 4 > attributions:p1,p2,n1,n2, and you can define p1 as [list2:0],p2 as > [list2:1],n1 as [list1:0],n2 as [list1:1], then you can set the weight of > List3 as 24. I think this can work.you can have a try. > > hope that helps. > > My best, > > Sally > > > 2014-08-06 22:08 GMT+08:00 Noam Schneck : > > Hi Sally, >> >> Thank you for the response. Sorry for the e-prime version elitism. I >> can't downgrade because I don't have the lower version and would need to >> reprogram the entire task if I did. I am attaching here an edat file >> extracted into an excel spreadsheet. If you look at columns DB-DK you >> will see the words that were selected for each trial. Columns DD and DE >> show the alternating blocks. What this file shows is that for the first >> six blocks there are no repetitions and then in blocks 7 and 8 (rows >> 153-200 on the excel spreadsheet) there are repetitions (highlighted in >> pink). The problem is that these repetitions occur within one block. I >> can't figure out why that is happening since I set the wordlist to random. >> I don't mind if the repetitions happen across blocks but I can't have them >> within blocks. >> >> Let me know if you have any further thoughts, >> noam >> >> >> On Monday, August 4, 2014 11:29:48 PM UTC-4, sally wrote: >> >>> Hi,Noam, I am trying to download the attachemnt you posted but it seems >>> my version is lower than yours, so I cann't open yout profile to see the >>> details. I suppose the four words cannot be the same and you may seperate >>> the 85 words into 2 different groups: positive and negative. then randomly >>> select 2 words from each group. I hope you can find a lower eprime version >>> so I can see the details. >>> >>> Hope everything goes well, >>> >>> Sally >>> >>> >>> 2014-08-02 0:23 GMT+08:00 Noam Schneck : >>> >>>> Hi All, >>>> >>>> I have a task in which a slide object is used to present four words >>>> (Positive1, Positive2, Negative1, Negative2). Each word is selected >>>> randomly from a list that contains 85 words in total. This list "Wordlist" >>>> is nested into the master list. I am trying to set the wordlist so that no >>>> words will repeat within a block (24 runs) but that they can repeat across >>>> blocks. I set the parameters of the wordlist to random selection with >>>> replacement after reset. I set the reset at 24 samples. >>>> >>>> HOWEVER....E-prime seems to have a different plan. When I run a test >>>> on the task I find that the program goes through the first 3 blocks (72 >>>> samples) without ever repeating a single word and than in the fourth block >>>> it begins repeating words within the block. I cannot figure out why this >>>> is happening and I have attached the experiment file. Please help! >>>> >>>> Noam >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to e-prime+u... at googlegroups.com. >>>> To post to this group, send email to e-p... at googlegroups.com. >>>> >>>> To view this discussion on the web visit https://groups.google.com/d/ >>>> msgid/e-prime/37451b6e-1767-4ace-bd1d-a808405c42f3%40googlegroups.com >>>> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/49fe56fb-7d13-4d31-b493-0692016b90c3%40googlegroups.com >> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAJO0WNYLEzpKyz5h9T1R%3DQGiq9-tJvPBAkmWsQU64SLT4LfnWA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Thu Aug 7 05:10:48 2014 From: gusunny1 at gmail.com (sunnygu) Date: Thu, 7 Aug 2014 13:10:48 +0800 Subject: Nested List Not Following Selection Rules In-Reply-To: <49fe56fb-7d13-4d31-b493-0692016b90c3@googlegroups.com> Message-ID: have you seen my reply since I have some problem about my network. If not please let me know. 发自我的 iPhone > 在 2014年8月6日,下午10:08,Noam Schneck 写道: > > Hi Sally, > > Thank you for the response. Sorry for the e-prime version elitism. I can't downgrade because I don't have the lower version and would need to reprogram the entire task if I did. I am attaching here an edat file extracted into an excel spreadsheet. If you look at columns DB-DK you will see the words that were selected for each trial. Columns DD and DE show the alternating blocks. What this file shows is that for the first six blocks there are no repetitions and then in blocks 7 and 8 (rows 153-200 on the excel spreadsheet) there are repetitions (highlighted in pink). The problem is that these repetitions occur within one block. I can't figure out why that is happening since I set the wordlist to random. I don't mind if the repetitions happen across blocks but I can't have them within blocks. > > Let me know if you have any further thoughts, > noam > > >> On Monday, August 4, 2014 11:29:48 PM UTC-4, sally wrote: >> Hi,Noam, I am trying to download the attachemnt you posted but it seems my version is lower than yours, so I cann't open yout profile to see the details. I suppose the four words cannot be the same and you may seperate the 85 words into 2 different groups: positive and negative. then randomly select 2 words from each group. I hope you can find a lower eprime version so I can see the details. >> >> Hope everything goes well, >> >> Sally >> >> >> 2014-08-02 0:23 GMT+08:00 Noam Schneck : >>> Hi All, >>> >>> I have a task in which a slide object is used to present four words (Positive1, Positive2, Negative1, Negative2). Each word is selected randomly from a list that contains 85 words in total. This list "Wordlist" is nested into the master list. I am trying to set the wordlist so that no words will repeat within a block (24 runs) but that they can repeat across blocks. I set the parameters of the wordlist to random selection with replacement after reset. I set the reset at 24 samples. >>> >>> HOWEVER....E-prime seems to have a different plan. When I run a test on the task I find that the program goes through the first 3 blocks (72 samples) without ever repeating a single word and than in the fourth block it begins repeating words within the block. I cannot figure out why this is happening and I have attached the experiment file. Please help! >>> >>> Noam >>> -- >>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+u... at googlegroups.com. >>> To post to this group, send email to e-p... at googlegroups.com. >>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/37451b6e-1767-4ace-bd1d-a808405c42f3%40googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/49fe56fb-7d13-4d31-b493-0692016b90c3%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > <6.xlsx> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/36CAAB62-7113-43FD-BC9E-247EEEB80290%40gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From robmanc2014 at gmail.com Thu Aug 7 17:33:01 2014 From: robmanc2014 at gmail.com (Rob Manchester) Date: Thu, 7 Aug 2014 10:33:01 -0700 Subject: Trying to present visual and audio together - getting 16ms lag Message-ID: I'm trying to edit someone else's experiment in E-Prime V1. They have a procedure that contains 8 objects. 4 of these objects are slides which contain images. The slides have duration = 0. The other 4 objects are bits of inline code that calls another procedure which contains 1) a slide with duration 1000 which has a 'soundout' object of duration 1000 that terminates on a keyboard response. 2) a further bit of code = sleep(1000-c.getattrib("TonePlay.rt")). This last bit of code I think tries to ensure that the procedure lasts 1000 regardless of the reaction time to the sound. The image slides are interespersed with the inline code that call the audio procedure i.e. Image Slide Duration = 0 Code calling audio proc, duration 1000ms Image Slide Duration = 0 Code calling audio proc, duration 1000ms Image Slide Duration = 0 Code calling audio proc, duration 1000ms Image Slide Duration = 0 Code calling audio proc, duration 1000ms My screen refresh is 60hz. The idea of the code is that the Images and Audio display together for 1000s each, with the audio (but not the image) terminating on response. It works apart from the fact that the audio loads 16/17ms after the image - i.e. 1 screen refresh. The ISI between sucessive audio stimuli is 1034ms rather than 1000ms (i.e. two screen refreshes too long). Could anyone tell me why these delays are occurring? I presume the system is losing a refresh for every object loading (i.e. a delay = to a screen refresh is occuring when E-prime moves between the slide object and the inline code object. I've tried putting a pre-release value of 20ms on the slides but this doesn't seem to have had any effect. Does any have any ideas as to how to solve this? Thanks Rob -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/14599323-3203-44be-a186-cfb4e4de70a2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Aug 7 20:27:32 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 7 Aug 2014 16:27:32 -0400 Subject: Trying to present visual and audio together - getting 16ms lag In-Reply-To: <14599323-3203-44be-a186-cfb4e4de70a2@googlegroups.com> Message-ID: Rob, To answer the question asked: Yes, you are correct that the system is losing a refresh for every object loading. You may avoid that simply by going to the Sync tab of your Slide objects and setting Onset Sync to "(none)". That said ... To get even better synchronization between onset of your image & sound, you could add the sound right to the Slide. Your following inline code (to terminate sound on response) would then have to refer to the SlideSound sub-object instead, but if you look at some of the automatically generated code and fuss around a little you should figure it out. Instead of sleep(1000-c.getattrib("TonePlay.rt") you could simply use sleep(1000-TonePlay.rt) which avoids having to deal with an attribute that may or may not be set at the time. But I would not use this method anyway, as I fear that it still leaves too much room for slop (RT may not take into account other delays that have set in, etc.). Instead, I would take advantage of the neat built-in timing facilities of EP objects themselves, and just manipulate the NextTargetOnsetTime directly, e.g., SetNextTargetOnsetTime Slide1.OnsetTime + 1000 to emulate Event timing mode, or SetNextTargetOnsetTime Slide1.TargetOnsetTime + 1000 to emulate Cumulative timing mode. Set the SetNextTargetOnsetTime topic in the E-Basic Help facility. Better yet, just set the Slide Durations to 1000, and PreRelease to 1000, and you will not need any code at all to make each Slide start 1000 ms apart (don't take my word for that, try the exercise yourself). The inline code will run during the PreRelease period as directed, and the next Slide will start 1000 ms after the previous one (assuming that your inline code does not run beyond the PreRelease). (In fact, EP2.0.10 now sets PreRelease to "(same as duration)" by default, making much of this automatic.) ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/7/2014 01:33 PM Thursday, Rob Manchester wrote: >I'm trying to edit someone else's experiment in E-Prime V1. > >They have a procedure that contains 8 objects. 4 of these objects >are slides which contain images. The slides have duration = 0. The >other 4 objects are bits of inline code that calls another procedure >which contains 1) a slide with duration 1000 which has a 'soundout' >object of duration 1000 that terminates on a keyboard response. 2) >a further bit of code = sleep(1000-c.getattrib("TonePlay.rt")). This >last bit of code I think tries to ensure that the procedure lasts >1000 regardless of the reaction time to the sound. > >The image slides are interespersed with the inline code that call >the audio procedure i.e. > >Image Slide Duration = 0 >Code calling audio proc, duration 1000ms >Image Slide Duration = 0 >Code calling audio proc, duration 1000ms >Image Slide Duration = 0 >Code calling audio proc, duration 1000ms >Image Slide Duration = 0 >Code calling audio proc, duration 1000ms > >My screen refresh is 60hz. The idea of the code is that the Images >and Audio display together for 1000s each, with the audio (but not >the image) terminating on response. It works apart from the fact >that the audio loads 16/17ms after the image - i.e. 1 screen >refresh. The ISI between sucessive audio stimuli is 1034ms rather >than 1000ms (i.e. two screen refreshes too long). Could anyone tell >me why these delays are occurring? I presume the system is losing a >refresh for every object loading (i.e. a delay = to a screen refresh >is occuring when E-prime moves between the slide object and the >inline code object. I've tried putting a pre-release value of 20ms >on the slides but this doesn't seem to have had any effect. Does any >have any ideas as to how to solve this? > >Thanks >Rob -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53e3e139.033d320a.29ab.0778SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From jotaylor2306 at gmail.com Fri Aug 8 11:45:05 2014 From: jotaylor2306 at gmail.com (jotaylor2306 at gmail.com) Date: Fri, 8 Aug 2014 04:45:05 -0700 Subject: define slide images inline - need to clear after each trial? In-Reply-To: <20f5f343-2b6c-4d7d-94bd-724e9b467fce@googlegroups.com> Message-ID: Well I guess I'll reply to my own question now that I've solved my problem! >> It turns out that it wasnt that I needed to clear my images or set them to nothing, but that I was "drawing" each slide twice. In each inline I had the following piece of code: slImage.Filename = c.GetAttrib("LocChose1") & ".tif" slImage.Load stimslide2.Draw I didn't need the line stimslide2.Draw because I had stimslide2 in my procedure and thus I didnt need to "Draw" it. So each trial I was "Drawing" (i.e. presenting) each stimslide twice and the first time it still had the attributes from the previous trial. ______________ On Tuesday, August 5, 2014 3:57:11 PM UTC+1, jotayl... at gmail.com wrote: > > Hi there, > I have a spelling task in which participants listen to a 3 phoneme word > (consonant-vowel-consonant) and must select which 3 (from an array of 16) > symbols spell that word, in the correct order. > They should see each selection appear on the screen, and after all 3 > symbols have been selected they should see the correctly spelled word > alongside their own selections and receive correct/incorrect feedback. > They are spelling them in a new script they have learned so I can't use > keyboard input as they are not Latin letters. > > I have programmed the task by having each trial contain 4 slide objects: > stimslide1. Shows the array of symbols - same layout each trial > stimslide2. Shows the array of symbols - plus the symbol they selected on > Slide 1 > stimeslide3. Shows the array of symbols - plus the symbols they selected > on Slide 1 and Slide 2 > stimslide4. Shows the array of symbols - plus the symbols they selected on > Slides 1, 2, and 3. And also shows the correctly spelled word and a text > object saying whether their spelling was correct or incorrect. > > > The inline code I have used to determine which slide image they selected > (which is placed after stimstlide1 in the trialproc) is pasted below. > > > The problem I am having is that after trial 1, the image selections from > the previous trial are displayed very briefly (i.e. they flash up) before > the image selections from the current trial. > I am aware that I must need to clear the images from each trial, but can't > figure out how to do so. I have the line Set s1Image = Nothing as this > seems to be good practice but tbh I am not sure what it does as this doesnt > do what I would want it to do! > > I have also tried adding an inline at the end of the trialproc that says > s1Image.clear but I got a runtime error (Object variable or With block > variable not set). > > Could someone please tell me the proper way to clear images from trial to > trial? > Thanks, > Jo > > > > 'This section determines which image they clicked on. > nCurrentResponse=0 > bContinue=True > > > While bContinue<>False > > If stimslide1.InputMasks.Responses.Count<>nCurrentResponse Then > nCurrentResponse=nCurrentResponse+1 > > Set > theMouseResponseData=CMouseResponseData(stimslide1.InputMasks.Responses(nCurrentResponse)) > If Not theMouseResponseData Is Nothing Then > > strHit=stimslide1State.HitTest(theMouseResponseData.CursorX,theMouseResponseData.CursorY) > > If strHit<>"" Then > > Set theSlideImage=CSlideImage(stimslide1State.Objects(strHit)) > If Not theSlideImage Is Nothing Then > > bContinue=False > > ' this creates an attribute called LocChose1 that contains the Name of the > Image they selected which is the same as its actual file name. > c.SetAttrib "LocChose1", strHit > > If c.GetAttrib("LocChose1") = c.GetAttrib("Correct1") Then > CountAcc=CountAcc+1 > End If > > End If > End If > End If > End If > > ' This section tells the programme to display the image they clicked on on > the next slide (stimslide2) in the image called "Selection1" which by > default is set to be a blank bmp file. > Dim slImage as SlideImage > > Set slImage = > CSlideImage(stimslide2.States("Default").Objects("Selection1")) > > ' This retrieves the LocChose1 attribute which was the image they selected > and adds the file extension so that the image can be displayed > slImage.Filename = c.GetAttrib("LocChose1") & ".tif" > slImage.Load > stimslide2.Draw > Set s1Image = Nothing > > Sleep 100 > WEnd > > > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/9cf68c2d-af89-460e-90b2-edd17fb28cbd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From robmanc2014 at gmail.com Mon Aug 11 09:12:37 2014 From: robmanc2014 at gmail.com (Rob Manchester) Date: Mon, 11 Aug 2014 02:12:37 -0700 Subject: Trying to present visual and audio together - getting 16ms lag In-Reply-To: <53e3e139.033d320a.29ab.0778SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: David The 'sync to none' solution reduced the lag to 2ms from 16ms so that is a significant improvement. Thanks. Editing the pre-release value didn't seem to do anything, the files are very small so there is probably very little delay in loading them Thanks Rob On Thursday, 7 August 2014 21:27:39 UTC+1, McFarlane, David wrote: > > Rob, > > To answer the question asked: Yes, you are correct that the system > is losing a refresh for every object loading. You may avoid that > simply by going to the Sync tab of your Slide objects and setting > Onset Sync to "(none)". > > That said ... > > To get even better synchronization between onset of your image & > sound, you could add the sound right to the Slide. Your following > inline code (to terminate sound on response) would then have to refer > to the SlideSound sub-object instead, but if you look at some of the > automatically generated code and fuss around a little you should figure it > out. > > Instead of > > sleep(1000-c.getattrib("TonePlay.rt") > > you could simply use > > sleep(1000-TonePlay.rt) > > which avoids having to deal with an attribute that may or may not be > set at the time. But I would not use this method anyway, as I fear > that it still leaves too much room for slop (RT may not take into > account other delays that have set in, etc.). Instead, I would take > advantage of the neat built-in timing facilities of EP objects > themselves, and just manipulate the NextTargetOnsetTime directly, e.g., > > SetNextTargetOnsetTime Slide1.OnsetTime + 1000 > > to emulate Event timing mode, or > > SetNextTargetOnsetTime Slide1.TargetOnsetTime + 1000 > > to emulate Cumulative timing mode. Set the SetNextTargetOnsetTime > topic in the E-Basic Help facility. > > Better yet, just set the Slide Durations to 1000, and PreRelease to > 1000, and you will not need any code at all to make each Slide start > 1000 ms apart (don't take my word for that, try the exercise > yourself). The inline code will run during the PreRelease period as > directed, and the next Slide will start 1000 ms after the previous > one (assuming that your inline code does not run beyond the > PreRelease). (In fact, EP2.0.10 now sets PreRelease to "(same as > duration)" by default, making much of this automatic.) > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) If you do get an answer from PST > staff, please extend the courtesy of posting their reply back here > for the sake of others. > \---- > > > At 8/7/2014 01:33 PM Thursday, Rob Manchester wrote: > >I'm trying to edit someone else's experiment in E-Prime V1. > > > >They have a procedure that contains 8 objects. 4 of these objects > >are slides which contain images. The slides have duration = 0. The > >other 4 objects are bits of inline code that calls another procedure > >which contains 1) a slide with duration 1000 which has a 'soundout' > >object of duration 1000 that terminates on a keyboard response. 2) > >a further bit of code = sleep(1000-c.getattrib("TonePlay.rt")). This > >last bit of code I think tries to ensure that the procedure lasts > >1000 regardless of the reaction time to the sound. > > > >The image slides are interespersed with the inline code that call > >the audio procedure i.e. > > > >Image Slide Duration = 0 > >Code calling audio proc, duration 1000ms > >Image Slide Duration = 0 > >Code calling audio proc, duration 1000ms > >Image Slide Duration = 0 > >Code calling audio proc, duration 1000ms > >Image Slide Duration = 0 > >Code calling audio proc, duration 1000ms > > > >My screen refresh is 60hz. The idea of the code is that the Images > >and Audio display together for 1000s each, with the audio (but not > >the image) terminating on response. It works apart from the fact > >that the audio loads 16/17ms after the image - i.e. 1 screen > >refresh. The ISI between sucessive audio stimuli is 1034ms rather > >than 1000ms (i.e. two screen refreshes too long). Could anyone tell > >me why these delays are occurring? I presume the system is losing a > >refresh for every object loading (i.e. a delay = to a screen refresh > >is occuring when E-prime moves between the slide object and the > >inline code object. I've tried putting a pre-release value of 20ms > >on the slides but this doesn't seem to have had any effect. Does any > >have any ideas as to how to solve this? > > > >Thanks > >Rob > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/ad146219-7e82-4c7f-b1a7-10882023d18b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From robmanc2014 at gmail.com Mon Aug 11 09:15:08 2014 From: robmanc2014 at gmail.com (Rob Manchester) Date: Mon, 11 Aug 2014 02:15:08 -0700 Subject: List.AddLevel returns 'Error -999' Level name that is an integer with level count mismatch In-Reply-To: <9d9af65c-7771-4f57-967f-0242d039244e@googlegroups.com> Message-ID: As an update to this, it appears to be a problem with converting code from E-Prime V1 to V2. The code works fine in V1. I got around it originally by sticking an If statement in that meant the offending code only ran for the first block. However other compatability problems meant that we ended up going back to using E-prime V1 anyway. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/d5a5a5b4-5737-4a32-84aa-4742993c1283%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jerryshen1993 at gmail.com Tue Aug 12 18:27:39 2014 From: jerryshen1993 at gmail.com (Jerry Shen) Date: Tue, 12 Aug 2014 11:27:39 -0700 Subject: Naming a specific trial in the trial list In-Reply-To: Message-ID: Hey guys! Thanks a lot for your advice. I ended up using the nested list feature in order to produce the randomization. Thanks again for all your help! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/820d76f2-f7d8-4556-a263-07e32fb757b9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wzhmelly at gmail.com Wed Aug 13 23:17:56 2014 From: wzhmelly at gmail.com (Zh Wu) Date: Wed, 13 Aug 2014 16:17:56 -0700 Subject: Equal distance to the left and right of the fixation (center of the screen) Message-ID: I am designing a paradigm to present one word pair at a time, each word at the same distance (maybe two or three spaces) to the left or right of the fixation which is at the center of the screen. The only way I could think of is to type '[stimulusLeft] [stimulusRight]' into the attribute 'stimulus'. But if the two words are of different length, will the two words still be at the same distance from the fixation point? Thank you very much and I am looking forward to your suggestions and comments! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/d287ed3d-87bd-44e1-a0cb-417a2502762b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wzhmelly at gmail.com Wed Aug 13 23:35:34 2014 From: wzhmelly at gmail.com (Zh Wu) Date: Wed, 13 Aug 2014 16:35:34 -0700 Subject: Ramdomize the blocks while selecting a specific selection for a block in real time Message-ID: I am designing an experiment with two blocks, BlockA and BlockB. I want 1/4 of participants to do BlockA randomly and then BlockB sequentially, 1/4 of participants to do BlockA sequentially and then BlockB randomly, 1/4 of participants to do BlockB randomly and then BlockA sequentially, and 1/4 of participants to do BlockB sequentially and then BlockA randomly. I know how to select the blocks randomly (i.e., half participants do BlockA first and the other half BlockB first), but for the specific list, I don't know how to change the selection for a specific participant. Any help would be greatly appreciated! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/6b4aa8c3-81c2-4251-bc12-c44f9931f288%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From asaliam20 at gmail.com Thu Aug 14 05:29:52 2014 From: asaliam20 at gmail.com (anahita khorrami) Date: Thu, 14 Aug 2014 00:29:52 -0500 Subject: Urgent Important Document Message-ID: Hello, Here is the Urgent Important Document i have upload for you please* CLICK HERE .* and sign on with your email for secure access., this is safe and secured. Thanks -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKBgtVKts9hA%2BA%2B9Q%3DeiXan7VY%2BF24xigo91pvGNRzyUMG-T%3Dg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From liwenna at gmail.com Thu Aug 14 11:15:57 2014 From: liwenna at gmail.com (Anne-Wil) Date: Thu, 14 Aug 2014 04:15:57 -0700 Subject: Equal distance to the left and right of the fixation (center of the screen) In-Reply-To: Message-ID: On the slide that shows your stimilu, use two textboxes for [stimulusleft] and [stimulusleft]. Place them to either side of a third textbox with the cross, and use the properties menu for each textbox to align the text in the left box to the right side and the text in the right box to the left side (and center the text in the cross box as well as the box' position on the display). Much more exotic solutions may be possible, but this may be simple and sufficient. Good luck! Anne-Wil On Thursday, 14 August 2014 00:17:56 UTC+1, Zh Wu wrote: > > I am designing a paradigm to present one word pair at a time, each word at > the same distance (maybe two or three spaces) to the left or right of the > fixation which is at the center of the screen. > > The only way I could think of is to type '[stimulusLeft] > [stimulusRight]' into the attribute 'stimulus'. But if the two words are of > different length, will the two words still be at the same distance from the > fixation point? > > Thank you very much and I am looking forward to your suggestions and > comments! > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/2679aeda-7177-416c-96d5-e08d5dce4b48%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Thu Aug 14 11:49:22 2014 From: gusunny1 at gmail.com (gorgeous yayuan Geng) Date: Thu, 14 Aug 2014 19:49:22 +0800 Subject: Nested List Not Following Selection Rules In-Reply-To: <49fe56fb-7d13-4d31-b493-0692016b90c3@googlegroups.com> Message-ID: Dear Noam, I have seen your excel profile and I have some questions about your procedure. How did you random the 2014-08-06 22:08 GMT+08:00 Noam Schneck : > Hi Sally, > > Thank you for the response. Sorry for the e-prime version elitism. I > can't downgrade because I don't have the lower version and would need to > reprogram the entire task if I did. I am attaching here an edat file > extracted into an excel spreadsheet. If you look at columns DB-DK you > will see the words that were selected for each trial. Columns DD and DE > show the alternating blocks. What this file shows is that for the first > six blocks there are no repetitions and then in blocks 7 and 8 (rows > 153-200 on the excel spreadsheet) there are repetitions (highlighted in > pink). The problem is that these repetitions occur within one block. I > can't figure out why that is happening since I set the wordlist to random. > I don't mind if the repetitions happen across blocks but I can't have them > within blocks. > > Let me know if you have any further thoughts, > noam > > > On Monday, August 4, 2014 11:29:48 PM UTC-4, sally wrote: > >> Hi,Noam, I am trying to download the attachemnt you posted but it seems >> my version is lower than yours, so I cann't open yout profile to see the >> details. I suppose the four words cannot be the same and you may seperate >> the 85 words into 2 different groups: positive and negative. then randomly >> select 2 words from each group. I hope you can find a lower eprime version >> so I can see the details. >> >> Hope everything goes well, >> >> Sally >> >> >> 2014-08-02 0:23 GMT+08:00 Noam Schneck : >> >>> Hi All, >>> >>> I have a task in which a slide object is used to present four words >>> (Positive1, Positive2, Negative1, Negative2). Each word is selected >>> randomly from a list that contains 85 words in total. This list "Wordlist" >>> is nested into the master list. I am trying to set the wordlist so that no >>> words will repeat within a block (24 runs) but that they can repeat across >>> blocks. I set the parameters of the wordlist to random selection with >>> replacement after reset. I set the reset at 24 samples. >>> >>> HOWEVER....E-prime seems to have a different plan. When I run a test on >>> the task I find that the program goes through the first 3 blocks (72 >>> samples) without ever repeating a single word and than in the fourth block >>> it begins repeating words within the block. I cannot figure out why this >>> is happening and I have attached the experiment file. Please help! >>> >>> Noam >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+u... at googlegroups.com. >>> To post to this group, send email to e-p... at googlegroups.com. >>> >>> To view this discussion on the web visit https://groups.google.com/d/ >>> msgid/e-prime/37451b6e-1767-4ace-bd1d-a808405c42f3%40googlegroups.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/49fe56fb-7d13-4d31-b493-0692016b90c3%40googlegroups.com > > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAJO0WNZwoVaGzJG6RViF_iCkE_S0WUqVoR_L3fGC137fJ18iJA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From xzilong at gmail.com Thu Aug 14 19:34:17 2014 From: xzilong at gmail.com (Zilong Xie) Date: Thu, 14 Aug 2014 12:34:17 -0700 Subject: Sound onset and response time issues Message-ID: Hi E-Prime experts, In my experiment, in each trial, I presented a sound and simultaneously collected response to the sound with the slide object. When I checked the edat2 file, I noticed that there was onset delay of about 100 ms (the time scale in the edat2 file is ms, right?) in the slide object. So my questions are: (1) How can I reduce the onset delay of the slide object? (2) Is the RT recorded here relative to the actual onset of the sound or the expected onset of the sound? (3) In the case of large onset delay, can I trust the RT values reported in the edat2 file? And how can I get the actual RT values? Thanks! best, Zilong -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/3afbe48b-468a-484f-b3b5-5eb7865444e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lgulley511 at gmail.com Thu Aug 14 21:34:04 2014 From: lgulley511 at gmail.com (Lauren Gulley) Date: Thu, 14 Aug 2014 14:34:04 -0700 Subject: TET package not listed as an available package in properties - can't add to e-prime In-Reply-To: <9c6d4c06-ca85-44f1-9015-aa2a45ee39e5@googlegroups.com> Message-ID: Does anyone know how to install 2.0.2.41? I also have the EET version 2.0.1.26 and am now running into a similar problem. Thanks! Take care, Lauren On Friday, April 4, 2014 12:14:23 PM UTC-6, csmi... at kent.edu wrote: > > We have a strange mystery. > > We are just beginning to work with Tobii and e-prime 2. We installed the > e-prime for Tobii extensions (2.0.1.10 from disk). We are running e-prime > 2.0 release 2.0.10.353 and Studio is 2.0.10.248. > > The first time we installed we could see the package and we added it to > e-prime. This allowed us to see the Tobii device on the device list and > chose it to make it available. We were able to run the sample experiment. > > We rebooted the machine and now the package is not listed to add in the > object properties dialog box, in the packages tab. The TET is in the device > list but cannot be selected (error message says "nothing selected"). We can > add devices that are not connected. The TET server is connected and > working. > > We tried the whole setup on another machine, this time we never saw the > package in the package list. We uninstalled and reinstalled on the original > machine and there is still no package listed. > > We can see the package file for TET and the TET dll in the device > directory. All this is in this path: PST>E-Prime 2.0>Program>Packages>TET. > > E-prime properties dialog seems to not know where the extensions are > located. We noticed that we were not asked to supply any sort of serial > number for the extensions. We are baffled. > > Does anyone have a suggestion for getting around this mystery? Any help > much appreciated. > > Best, > Cathy Smith and Alison Dickerhoof > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/06abf17b-820f-44fa-81d5-df3f17e0b383%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wzhmelly at gmail.com Fri Aug 15 01:36:38 2014 From: wzhmelly at gmail.com (Zh Wu) Date: Thu, 14 Aug 2014 18:36:38 -0700 Subject: Equal distance to the left and right of the fixation (center of the screen) In-Reply-To: <2679aeda-7177-416c-96d5-e08d5dce4b48@googlegroups.com> Message-ID: Thanks so much Anne! Your solution solved my weeks-long problem instantly! Clever and simple! Very much appreciated! Zhaohong On Thursday, August 14, 2014 7:15:57 AM UTC-4, Anne-Wil wrote: > > On the slide that shows your stimilu, use two textboxes for [stimulusleft] > and [stimulusleft]. Place them to either side of a third textbox with the > cross, and use the properties menu for each textbox to align the text in > the left box to the right side and the text in the right box to the left > side (and center the text in the cross box as well as the box' position on > the display). > > Much more exotic solutions may be possible, but this may be simple and > sufficient. > > Good luck! > > Anne-Wil > > On Thursday, 14 August 2014 00:17:56 UTC+1, Zh Wu wrote: >> >> I am designing a paradigm to present one word pair at a time, each word >> at the same distance (maybe two or three spaces) to the left or right of >> the fixation which is at the center of the screen. >> >> The only way I could think of is to type '[stimulusLeft] >> [stimulusRight]' into the attribute 'stimulus'. But if the two words are of >> different length, will the two words still be at the same distance from the >> fixation point? >> >> Thank you very much and I am looking forward to your suggestions and >> comments! >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/37200362-419a-4322-9d53-6694cde190d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wzhmelly at gmail.com Fri Aug 15 02:07:32 2014 From: wzhmelly at gmail.com (Zh Wu) Date: Thu, 14 Aug 2014 19:07:32 -0700 Subject: Equal distance to the left and right of the fixation (center of the screen) In-Reply-To: <2679aeda-7177-416c-96d5-e08d5dce4b48@googlegroups.com> Message-ID: Oh another question, is there a properties menu for each text box? I can only see one properties menu for the Stimulus. On Thursday, August 14, 2014 7:15:57 AM UTC-4, Anne-Wil wrote: > > On the slide that shows your stimilu, use two textboxes for [stimulusleft] > and [stimulusleft]. Place them to either side of a third textbox with the > cross, and use the properties menu for each textbox to align the text in > the left box to the right side and the text in the right box to the left > side (and center the text in the cross box as well as the box' position on > the display). > > Much more exotic solutions may be possible, but this may be simple and > sufficient. > > Good luck! > > Anne-Wil > > On Thursday, 14 August 2014 00:17:56 UTC+1, Zh Wu wrote: >> >> I am designing a paradigm to present one word pair at a time, each word >> at the same distance (maybe two or three spaces) to the left or right of >> the fixation which is at the center of the screen. >> >> The only way I could think of is to type '[stimulusLeft] >> [stimulusRight]' into the attribute 'stimulus'. But if the two words are of >> different length, will the two words still be at the same distance from the >> fixation point? >> >> Thank you very much and I am looking forward to your suggestions and >> comments! >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/925d43ec-3047-42a8-a0a3-a3b4fa3ec8f0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From liwenna at gmail.com Fri Aug 15 10:18:29 2014 From: liwenna at gmail.com (Anne-Wil) Date: Fri, 15 Aug 2014 03:18:29 -0700 Subject: Equal distance to the left and right of the fixation (center of the screen) In-Reply-To: <925d43ec-3047-42a8-a0a3-a3b4fa3ec8f0@googlegroups.com> Message-ID: When on a slide, you can select (click on) any text- or picture 'box' (or on the background called 'default' by default) or select each of these from the dragdown menu on the left side of the bar at the top of the slide. To the left of this dragdown menu you see a white properties icon, to modify the properties of the slide itself, and to the right a green properties item, to modify the properties of the object that is selected in the dragdown menu. Good luck! On Friday, 15 August 2014 03:07:32 UTC+1, Zh Wu wrote: > > Oh another question, is there a properties menu for each text box? I can > only see one properties menu for the Stimulus. > > > On Thursday, August 14, 2014 7:15:57 AM UTC-4, Anne-Wil wrote: >> >> On the slide that shows your stimilu, use two textboxes for >> [stimulusleft] and [stimulusleft]. Place them to either side of a third >> textbox with the cross, and use the properties menu for each textbox to >> align the text in the left box to the right side and the text in the right >> box to the left side (and center the text in the cross box as well as the >> box' position on the display). >> >> Much more exotic solutions may be possible, but this may be simple and >> sufficient. >> >> Good luck! >> >> Anne-Wil >> >> On Thursday, 14 August 2014 00:17:56 UTC+1, Zh Wu wrote: >>> >>> I am designing a paradigm to present one word pair at a time, each word >>> at the same distance (maybe two or three spaces) to the left or right of >>> the fixation which is at the center of the screen. >>> >>> The only way I could think of is to type '[stimulusLeft] >>> [stimulusRight]' into the attribute 'stimulus'. But if the two words are of >>> different length, will the two words still be at the same distance from the >>> fixation point? >>> >>> Thank you very much and I am looking forward to your suggestions and >>> comments! >>> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/6b99a5de-1176-4a50-a8db-17d59b5d6caf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wzhmelly at gmail.com Fri Aug 15 12:17:22 2014 From: wzhmelly at gmail.com (Zh Wu) Date: Fri, 15 Aug 2014 05:17:22 -0700 Subject: Equal distance to the left and right of the fixation (center of the screen) In-Reply-To: <6b99a5de-1176-4a50-a8db-17d59b5d6caf@googlegroups.com> Message-ID: Yes I see it now! Thanks so much Anne! I really appreciate your help! Zhaohong On Friday, August 15, 2014 6:18:29 AM UTC-4, Anne-Wil wrote: > > When on a slide, you can select (click on) any text- or picture 'box' (or > on the background called 'default' by default) or select each of these from > the dragdown menu on the left side of the bar at the top of the slide. To > the left of this dragdown menu you see a white properties icon, to modify > the properties of the slide itself, and to the right a green properties > item, to modify the properties of the object that is selected in the > dragdown menu. > > Good luck! > > On Friday, 15 August 2014 03:07:32 UTC+1, Zh Wu wrote: >> >> Oh another question, is there a properties menu for each text box? I can >> only see one properties menu for the Stimulus. >> >> >> On Thursday, August 14, 2014 7:15:57 AM UTC-4, Anne-Wil wrote: >>> >>> On the slide that shows your stimilu, use two textboxes for >>> [stimulusleft] and [stimulusleft]. Place them to either side of a third >>> textbox with the cross, and use the properties menu for each textbox to >>> align the text in the left box to the right side and the text in the right >>> box to the left side (and center the text in the cross box as well as the >>> box' position on the display). >>> >>> Much more exotic solutions may be possible, but this may be simple and >>> sufficient. >>> >>> Good luck! >>> >>> Anne-Wil >>> >>> On Thursday, 14 August 2014 00:17:56 UTC+1, Zh Wu wrote: >>>> >>>> I am designing a paradigm to present one word pair at a time, each word >>>> at the same distance (maybe two or three spaces) to the left or right of >>>> the fixation which is at the center of the screen. >>>> >>>> The only way I could think of is to type '[stimulusLeft] >>>> [stimulusRight]' into the attribute 'stimulus'. But if the two words are of >>>> different length, will the two words still be at the same distance from the >>>> fixation point? >>>> >>>> Thank you very much and I am looking forward to your suggestions and >>>> comments! >>>> >>> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/79a69903-76ba-4da3-a9b5-d88a6c2bf31d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mylam8 at gmail.com Fri Aug 15 14:39:16 2014 From: mylam8 at gmail.com (Melanie Lam) Date: Fri, 15 Aug 2014 07:39:16 -0700 Subject: Mac. E-Prime. Keyboard. HELP! Message-ID: Hi everyone, I've successfully loaded E-Prime on my Mac. Using Windows 7 (BootCamp). Recognized the dongle key. Check. Loaded E-Studio, E-Data Aid, and E-Run. Check. Here's where I'm losing my mind. I start my experiment. I am able to input the subject number, session number. Proceeds to the instruction page. Participants are meant to press the Spacebar to move on the next screen. The key press is not being detected. I've been playing around with different ideas. Maybe, a PC keyboard would resolve it. Nope. Maybe, its the Spacebar. I'll change it to the "H" key. Nope. Funny, if I chance the response device to the mouse, I can move past the intro screen as the mouse click is detected. Then I get to the next screen where they have to choose option 1, 2 or 3. Won't detect those keys. Has anyone run into this problem? Any thoughts or ideas? I'd really appreciate it! Best, Mel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/f6adef84-1ce6-49dd-a7b1-83c33f5c32b3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From liwenna at gmail.com Sat Aug 16 10:22:49 2014 From: liwenna at gmail.com (Anne-Wil) Date: Sat, 16 Aug 2014 03:22:49 -0700 Subject: Mac. E-Prime. Keyboard. HELP! In-Reply-To: Message-ID: Hi Mel, Here no problems with mac keyboards. Just a very simply - probably silly- thought: did you define allowable responses to include {ANY}, [SPACE} or h? best, Anne-Wil On Friday, 15 August 2014 15:39:16 UTC+1, Melanie Lam wrote: > > Hi everyone, > > I've successfully loaded E-Prime on my Mac. Using Windows 7 (BootCamp). > Recognized the dongle key. Check. Loaded E-Studio, E-Data Aid, and E-Run. > Check. > > Here's where I'm losing my mind. I start my experiment. I am able to input > the subject number, session number. Proceeds to the instruction page. > Participants are meant to press the Spacebar to move on the next screen. > The key press is not being detected. I've been playing around with > different ideas. Maybe, a PC keyboard would resolve it. Nope. Maybe, its > the Spacebar. I'll change it to the "H" key. Nope. Funny, if I chance the > response device to the mouse, I can move past the intro screen as the mouse > click is detected. Then I get to the next screen where they have to choose > option 1, 2 or 3. Won't detect those keys. > > Has anyone run into this problem? Any thoughts or ideas? I'd really > appreciate it! > > Best, > Mel > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/89411fd3-d664-4c1d-9bde-ed1eda83baa5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wzhmelly at gmail.com Sat Aug 16 23:52:04 2014 From: wzhmelly at gmail.com (Zh Wu) Date: Sat, 16 Aug 2014 16:52:04 -0700 Subject: Ramdomize the blocks while selecting a specific selection for a block in real time In-Reply-To: <6b4aa8c3-81c2-4251-bc12-c44f9931f288@googlegroups.com> Message-ID: For simplicity, I just designed four different scripts, but I am still wondering whether this is doable in Eprime:) On Wednesday, August 13, 2014 7:35:34 PM UTC-4, Zh Wu wrote: > > I am designing an experiment with two blocks, BlockA and BlockB. > > I want 1/4 of participants to do BlockA randomly and then BlockB > sequentially, 1/4 of participants to do BlockA sequentially and then BlockB > randomly, 1/4 of participants to do BlockB randomly and then BlockA > sequentially, and 1/4 of participants to do BlockB sequentially and then > BlockA randomly. > > I know how to select the blocks randomly (i.e., half participants do > BlockA first and the other half BlockB first), but for the specific list, I > don't know how to change the selection for a specific participant. > > Any help would be greatly appreciated! > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/896fe8bb-9888-4d12-b65c-87b8c54b7147%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From katrinheimann at gmail.com Sun Aug 17 06:52:59 2014 From: katrinheimann at gmail.com (KatrinH Heimann) Date: Sun, 17 Aug 2014 08:52:59 +0200 Subject: Ramdomize the blocks while selecting a specific selection for a block in real time In-Reply-To: <896fe8bb-9888-4d12-b65c-87b8c54b7147@googlegroups.com> Message-ID: Hey, well I guess what you could do is, referring in an inline before and after the block to the attribute subjectnumber and depending on this let eprime jump to the right block using a "goto" command and a label so assuming you would have two blocks only and subjects 1 would have to do the first block first, subject 2 the second: you would need to put an inline object before the blocks saying something like if getattribute "subjectnumber" = 2 (I am not sure though anymore about how the getattribute command is implemented precisely, look it up googling) goto label1 (which you should put before block 2) and then after block 2: if getattribute "subjectnumber" = 2 goto label2 (which you should put before block 1 after the first inline) and then after block 1: if getattribute "subjectnumber" = 2 (I am not sure about how the getattribute command is implemented anymore, look it up googling) goto label2 (which you should put before block 1 after the first inline) if getattribute "subjectnumber" = 2 (I am not sure about how the getattribute command is implemented anymore, look it up googling) goto label3 (which you should put at the end of the experiment) but there are a lot of inlines involved like this.... probably there is an easier way, too.... k 2014-08-17 1:52 GMT+02:00 Zh Wu : > For simplicity, I just designed four different scripts, but I am still > wondering whether this is doable in Eprime:) > > On Wednesday, August 13, 2014 7:35:34 PM UTC-4, Zh Wu wrote: >> >> I am designing an experiment with two blocks, BlockA and BlockB. >> >> I want 1/4 of participants to do BlockA randomly and then BlockB >> sequentially, 1/4 of participants to do BlockA sequentially and then BlockB >> randomly, 1/4 of participants to do BlockB randomly and then BlockA >> sequentially, and 1/4 of participants to do BlockB sequentially and then >> BlockA randomly. >> >> I know how to select the blocks randomly (i.e., half participants do >> BlockA first and the other half BlockB first), but for the specific list, I >> don't know how to change the selection for a specific participant. >> >> Any help would be greatly appreciated! >> > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/896fe8bb-9888-4d12-b65c-87b8c54b7147%40googlegroups.com > > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CACnHcBchEDeATpVnUguyNgBbj1%3DZws9tURyV1NddLd-gdw0G-Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wzhmelly at gmail.com Sun Aug 17 14:22:55 2014 From: wzhmelly at gmail.com (Zh Wu) Date: Sun, 17 Aug 2014 07:22:55 -0700 Subject: Ramdomize the blocks while selecting a specific selection for a block in real time In-Reply-To: Message-ID: Thank you so much for your great suggestions Katrin! Using an inline is so much useful, not only determining the block sequences but also changing the selections as wanted. Is there a function for the getattribute to be either odd or even, so that we don't need to write the inline for each subject number? Zhaohong On Sunday, August 17, 2014 2:53:01 AM UTC-4, Katrin wrote: > > Hey, well I guess what you could do is, referring in an inline before and > after the block to the attribute subjectnumber and depending on this let > eprime jump to the right block using a "goto" command and a label > > so assuming you would have two blocks only and subjects 1 would have to do > the first block first, subject 2 the second: > you would need to put an inline object before the blocks saying something > like > > if getattribute "subjectnumber" = 2 (I am not sure though anymore about > how the getattribute command is implemented precisely, look it up googling) > goto label1 (which you should put before block 2) > > and then after block 2: > > if getattribute "subjectnumber" = 2 > goto label2 (which you should put before block 1 after the first inline) > > and then after block 1: > > if getattribute "subjectnumber" = 2 (I am not sure about how the > getattribute command is implemented anymore, look it up googling) > goto label2 (which you should put before block 1 after the first inline) > > if getattribute "subjectnumber" = 2 (I am not sure about how the > getattribute command is implemented anymore, look it up googling) > goto label3 (which you should put at the end of the experiment) > > but there are a lot of inlines involved like this.... > probably there is an easier way, too.... > > k > > > > > > 2014-08-17 1:52 GMT+02:00 Zh Wu >: > >> For simplicity, I just designed four different scripts, but I am still >> wondering whether this is doable in Eprime:) >> >> On Wednesday, August 13, 2014 7:35:34 PM UTC-4, Zh Wu wrote: >>> >>> I am designing an experiment with two blocks, BlockA and BlockB. >>> >>> I want 1/4 of participants to do BlockA randomly and then BlockB >>> sequentially, 1/4 of participants to do BlockA sequentially and then BlockB >>> randomly, 1/4 of participants to do BlockB randomly and then BlockA >>> sequentially, and 1/4 of participants to do BlockB sequentially and then >>> BlockA randomly. >>> >>> I know how to select the blocks randomly (i.e., half participants do >>> BlockA first and the other half BlockB first), but for the specific list, I >>> don't know how to change the selection for a specific participant. >>> >>> Any help would be greatly appreciated! >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+u... at googlegroups.com . >> To post to this group, send email to e-p... at googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/896fe8bb-9888-4d12-b65c-87b8c54b7147%40googlegroups.com >> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7ec6a809-43cc-4e29-aa6d-879edf0e1fa1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Mon Aug 18 07:43:41 2014 From: aadpors at gmail.com (Aad Pors) Date: Mon, 18 Aug 2014 00:43:41 -0700 Subject: Response collection over blank Message-ID: Dear all, I'll try to be short. Stimulus setup: text screen with stimulus (StimExp) is presented for 250 ms, followed by an empty text screen (BlankExp) for 900 ms. This cycle is repeated multiple times with different contents of the stimulus screen. I want to collect multiple keyboard 'b' presses and releases (b{-b}, max count 10). This works to the extent that I can indeed collect all these responses, as long as StimExp is being presented. I want to collect responses over the complete period of 1150 ms, as defined in the StimExp Duration properties Time Limit (1150 ms). Responses that are provided whilst the blank is being presented are not recorded. What can I do about that? The InLIne reads as follows: Dim theResponseObject As RteRunnableInputObject Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp")) 'If the assert below fires, then the object named in the line above does not exist Debug.Assert Not theResponseObject Is Nothing 'Counter variable for the number of responses made Dim nPressCount As Long 'Counter variable Dim nIndex As Integer 'Used to set attributes for statistics Dim strStatistic As String 'Enumerate through the response collection 'If any of the responses were made by the keyboard, display 'the statistics to the user. For nIndex = 1 To theResponseObject.InputMasks.Responses.Count 'Set theKeyboardResponseData equal to the current keyboard response Dim theKeyboardResponseData As KeyboardResponseData Set theKeyboardResponseData = CKeyboardResponseData(theResponseObject.InputMasks.Responses(nIndex)) If Not theKeyboardResponseData Is Nothing Then 'Increment the press count nPressCount = nPressCount + 1 'Log reaction time and response for each key press. c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP End If Next 'nIndex -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/bf2cd9e2-d3ae-4fb0-b333-358522ad02c6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Mon Aug 18 11:24:24 2014 From: aadpors at gmail.com (Aad Pors) Date: Mon, 18 Aug 2014 04:24:24 -0700 Subject: Response collection over blank In-Reply-To: Message-ID: *UPDATE* it seems that in previous versions I have not been able to collect responses during the blank properly as well. So now it seems to have become a matter of response time extension from the StimExp into the blank. Google provides hits with nested lists and other stuff which I believe to be more difficult than it has to be in my case. A helping word please? Op maandag 18 augustus 2014 09:43:41 UTC+2 schreef Aad Pors: > > Dear all, > > I'll try to be short. > > Stimulus setup: text screen with stimulus (StimExp) is presented for 250 > ms, followed by an empty text screen (BlankExp) for 900 ms. This cycle is > repeated multiple times with different contents of the stimulus screen. > I want to collect multiple keyboard 'b' presses and releases (b{-b}, max > count 10). This works to the extent that I can indeed collect all these > responses, as long as StimExp is being presented. I want to collect > responses over the complete period of 1150 ms, as defined in the StimExp > Duration properties Time Limit (1150 ms). Responses that are provided > whilst the blank is being presented are not recorded. What can I do about > that? The InLIne reads as follows: > > > Dim theResponseObject As RteRunnableInputObject > Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp")) > > 'If the assert below fires, then the object named in the line above does > not exist > Debug.Assert Not theResponseObject Is Nothing > > 'Counter variable for the number of responses made > Dim nPressCount As Long > > 'Counter variable > Dim nIndex As Integer > > 'Used to set attributes for statistics > Dim strStatistic As String > 'Enumerate through the response collection > 'If any of the responses were made by the keyboard, display > 'the statistics to the user. > For nIndex = 1 To theResponseObject.InputMasks.Responses.Count > > 'Set theKeyboardResponseData equal to the current keyboard response > Dim theKeyboardResponseData As KeyboardResponseData > Set theKeyboardResponseData = > CKeyboardResponseData(theResponseObject.InputMasks.Responses(nIndex)) > If Not theKeyboardResponseData Is Nothing Then > > 'Increment the press count > nPressCount = nPressCount + 1 > > 'Log reaction time and response for each key press. > c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT > c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP > End If > > > Next 'nIndex > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/6661a444-51db-4466-bdcd-d87662818c93%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Mon Aug 18 11:41:23 2014 From: aadpors at gmail.com (Aad Pors) Date: Mon, 18 Aug 2014 04:41:23 -0700 Subject: response recording during several displays In-Reply-To: Message-ID: I have a stimulus screen that lasts for 250 ms, followed by a mask of 900 ms. The total response time (Time Limit) is 1150 ms. However, it does not work, and I cannot figure out why. See attachment for the studio file... Op donderdag 17 december 2009 19:15:48 UTC+1 schreef Sravani Vinapamula: > > Oh... Thank you! I will definitely look at the Appendix C > > On Thu, Dec 17, 2009 at 12:57 PM, David McFarlane > wrote: > >> Indeed, that is not a bad solution, and it is the first solution that >> all my students come up with when I pose the question to them (and >> was my own first solution). But for one thing it does seem >> kludgy: The .RT appears sometimes in the stimulus column, sometimes >> in the mask column, and when it appears in the mask column you have >> to add in the duration of the stim. And if you do just that, your RT >> will *not* include the time between the offset of the stimulus and >> the onset of the mask. So to get it right when the response comes >> during the mask you would need to calculate mask.RTTime - >> stim.OnsetTime. Whew! >> >> There has to be an easier way, and there is -- *Extended >> Input*. Extended input cleanly, simply, and transparently takes care >> of all of this. Please please do not overlook Appendix C. >> >> -- David McFarlane, Professional Faultfinder >> >> >> At 12/17/2009 11:32 AM Thursday, Sravani Vinapamula wrote: >> >I think you can just give the duration for the response as the sum >> >of the times of both slides. >> > >> > >> > >> > >> >On Wed, Dec 16, 2009 at 4:23 AM, Tobi >> ><>tobias.fw at gmail.com >> > wrote: >> >Hi everyone, >> > >> >I have the following, although sounding simple, hard to solve problem: >> > >> >I want to show a stimulus for x ms and then to show a mask for y ms. >> >Participants should be able to respond for the x+y ms, i.e. during two >> >displays. >> > >> >How can I do this? >> >Any hints are most welcome! >> > >> >Cheers, >> >Tobias >> >> -- >> >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To post to this group, send email to e-p... at googlegroups.com >> . >> To unsubscribe from this group, send email to >> e-prime+u... at googlegroups.com . >> For more options, visit this group at >> http://groups.google.com/group/e-prime?hl=en. >> >> >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/758edcd2-be76-4d2a-ac91-85f83086f979%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test.es2 Type: application/octet-stream Size: 53068 bytes Desc: not available URL: From mcfarla9 at msu.edu Tue Aug 19 15:46:06 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 19 Aug 2014 11:46:06 -0400 Subject: Ramdomize the blocks while selecting a specific selection for a block in real time In-Reply-To: Message-ID: You could achieve much the same effect, without any inline code, by using a main List with Selection Order set to Counterbalance, and Order By set to Subject. That List would have one row for each of your possible scenarios, and then use the Subject number to select which row to run. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/17/2014 02:52 AM Sunday, KatrinH Heimann wrote: >Hey, well I guess what you could do is, >referring in an inline before and after the >block to the attribute subjectnumber and >depending on this let eprime jump to the right >block using a "goto" command and a label > >so assuming you would have two blocks only and >subjects 1 would have to do the first block first, subject 2 the second: >you would need to put an inline object before >the blocks saying something like > >if getattribute "subjectnumber" = 2 (I am not >sure though anymore about how the getattribute >command is implemented precisely, look it up googling) >goto label1 (which you should put before block 2) > >and then after block 2: > >if getattribute "subjectnumber" = 2 >goto label2 (which you should put before block 1 after the first inline) > >and then after block 1: > >if getattribute "subjectnumber" = 2 (I am not >sure about how the getattribute command is >implemented anymore, look it up googling) >goto label2 (which you should put before block 1 after the first inline) > >if getattribute "subjectnumber" = 2 (I am not >sure about how the getattribute command is >implemented anymore, look it up googling) >goto label3 (which you should put at the end of the experiment) > >but there are a lot of inlines involved like this.... >probably there is an easier way, too.... > >k > > > > > >2014-08-17 1:52 GMT+02:00 Zh Wu ><wzhmelly at gmail.com>: >For simplicity, I just designed four different >scripts, but I am still wondering whether this is doable in Eprime:) > >On Wednesday, August 13, 2014 7:35:34 PM UTC-4, Zh Wu wrote: >I am designing an experiment with two blocks, BlockA and BlockB. > >I want 1/4 of participants to do BlockA randomly >and then BlockB sequentially, 1/4 of >participants to do BlockA sequentially and then >BlockB randomly, 1/4 of participants to do >BlockB randomly and then BlockA sequentially, >and 1/4 of participants to do BlockB sequentially and then BlockA randomly. > >I know how to select the blocks randomly (i.e., >half participants do BlockA first and the other >half BlockB first), but for the specific list, I >don't know how to change the selection for a specific participant. > >Any help would be greatly appreciated! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f37149.6a39320a.4739.0d2cSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Tue Aug 19 15:57:40 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 19 Aug 2014 11:57:40 -0400 Subject: Response collection over blank In-Reply-To: <6661a444-51db-4466-bdcd-d87662818c93@googlegroups.com> Message-ID: Please work through the extended input example (NestingXRT) in Appendix C of the User's Guide that came with E-Prime. And if you do not already have the multiple responses working, then also look at the Multiple Response Collection example that you may download from the PST website. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/18/2014 07:24 AM Monday, Aad Pors wrote: >UPDATE > >it seems that in previous versions I have not been able to collect >responses during the blank properly as well. So now it seems to have >become a matter of response time extension from the StimExp into the >blank. Google provides hits with nested lists and other stuff which >I believe to be more difficult than it has to be in my case. > >A helping word please? > >Op maandag 18 augustus 2014 09:43:41 UTC+2 schreef Aad Pors: >Dear all, > >I'll try to be short. > >Stimulus setup: text screen with stimulus (StimExp) is presented for >250 ms, followed by an empty text screen (BlankExp) for 900 ms. This >cycle is repeated multiple times with different contents of the >stimulus screen. >I want to collect multiple keyboard 'b' presses and releases (b{-b}, >max count 10). This works to the extent that I can indeed collect >all these responses, as long as StimExp is being presented. I want >to collect responses over the complete period of 1150 ms, as defined >in the StimExp Duration properties Time Limit (1150 ms). Responses >that are provided whilst the blank is being presented are not >recorded. What can I do about that? The InLIne reads as follows: > > >Dim theResponseObject As RteRunnableInputObject >Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp")) > >'If the assert below fires, then the object named in the line above >does not exist >Debug.Assert Not theResponseObject Is Nothing > >'Counter variable for the number of responses made >Dim nPressCount As Long > >'Counter variable >Dim nIndex As Integer > >'Used to set attributes for statistics >Dim strStatistic As String >'Enumerate through the response collection >'If any of the responses were made by the keyboard, display >'the statistics to the user. >For nIndex = 1 To theResponseObject.InputMasks.Responses.Count > >'Set theKeyboardResponseData equal to the current keyboard response >Dim theKeyboardResponseData As KeyboardResponseData >Set theKeyboardResponseData = >CKeyboardResponseData(theResponseObject.InputMasks.Responses(nIndex)) >If Not theKeyboardResponseData Is Nothing Then > >'Increment the press count >nPressCount = nPressCount + 1 > >'Log reaction time and response for each key press. >c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT >c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP >End If > > >Next 'nIndex -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f373ff.5099320a.022d.6819SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Tue Aug 19 16:06:43 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 19 Aug 2014 12:06:43 -0400 Subject: Sound onset and response time issues In-Reply-To: <3afbe48b-468a-484f-b3b5-5eb7865444e5@googlegroups.com> Message-ID: Zilong, 1) First and foremost, please thoroughly study the "Critical Timing" chapter in the User's Guide that came with E-Prime. 2) The RT is relative to the OnsetTime of the E-Object that plays the sound, e.g., StimSlide.RT = StimSlide.RTTime - StimSlide.OnsetTime (do not take my word for that, please look for yourself). Note that the audio hardware may impose additional delays so that actual onset of sound lags even further behind OnsetTime, to test this you would need additional equipment (e.g., oscilloscope or Black Box Toolkit). 3) Yes, you should be able to trust the RT values even with large OnsetDelay values. But you do well to verify this yourself with external testing equipment as mentioned above. Finally, look at https://groups.google.com/d/topic/e-prime/OeiZ00V9SRc for a discussion of the various time audit measures. Best, ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/14/2014 03:34 PM Thursday, Zilong Xie wrote: > Hi E-Prime experts, > In my experiment, in each trial, I presented a sound and > simultaneously collected response to the sound with the slide > object. When I checked the edat2 file, I noticed that there was > onset delay of about 100 ms (the time scale in the edat2 file is > ms, right?) in the slide object. So my questions are: > (1) How can I reduce the onset delay of the slide object? > (2) Is the RT recorded here relative to the actual onset of the > sound or the expected onset of the sound? > (3) In the case of large onset delay, can I trust the RT values > reported in the edat2 file? And how can I get the actual RT values? > > Thanks! > >best, >Zilong -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f3761e.4937320a.5adb.6773SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From tobias.fw at gmail.com Tue Aug 19 17:49:01 2014 From: tobias.fw at gmail.com (Tobias) Date: Tue, 19 Aug 2014 10:49:01 -0700 Subject: How can I insert an image on a slide with code? Message-ID: Dear all, I have a slide ("Slide1") that has an image on it called "Image1". Now I want to use code to specify the filename of that image according to my needs. I have tried something like Slide1.Image1.filename = "picture.bmp" but that doesn't seem to work. It says "Image1 is not a property of the object". Any ideas how to solve this problem? Thanks, Tobias -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/77b24211-97a5-4ba2-8bbc-85b866437bc8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Aug 19 18:11:11 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 19 Aug 2014 14:11:11 -0400 Subject: How can I insert an image on a slide with code? In-Reply-To: <77b24211-97a5-4ba2-8bbc-85b866437bc8@googlegroups.com> Message-ID: Tobias, First, if at all possible I recommend that you instead use an attribute reference for the image filename, and if needed just use inline code to set that attribute. Please see discussion at https://groups.google.com/d/topic/e-prime/dWpfjk-BeLs . If you must persist in assigning the filename directly in code, that takes several steps, too tedious to write out here. Your best bet is to make a Slide with an image sub-object that uses an attribute reference, have E-Studio generate the code, then look at the code that generated by E-Studio and go from there. That's how I figure out much of this stuff. Best, ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/19/2014 01:49 PM Tuesday, Tobias wrote: >I have a slide ("Slide1") that has an image on it called "Image1". >Now I want to use code to specify the filename of that image >according to my needs. > >I have tried something like Slide1.Image1.filename = "picture.bmp" >but that doesn't seem to work. It says "Image1 is not a property of >the object". > >Any ideas how to solve this problem? > >Thanks, >Tobias -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f3934b.496b320a.4998.1389SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From yakunina at gmail.com Wed Aug 20 00:26:38 2014 From: yakunina at gmail.com (yakunina at gmail.com) Date: Tue, 19 Aug 2014 17:26:38 -0700 Subject: Displaying a countdown timer for participants In-Reply-To: <17becff4-f878-4796-ba2a-8c23908a2fdf@24g2000hsh.googlegroups.com> Message-ID: Hello Matt, I'm sorry if it's a dumb question, but where can I download the sample CountDownClock.es? I'm new to this group and I couldn't find files section. And I'm in desperate need of the countdown timer :) Thank you! Natalia On Thursday, April 17, 2008 2:37:44 AM UTC+9, Matt wrote: > > Hello, > > Ben's advice is very good and is the method we would recommend. I have > added our formal sample (CountDownClock.es) to the Files section of > this group for reference. If you have any questions, please let me > know. > > Sincerely, > Matt Lenhart > PST Technical Consultant > http://pstnet.com -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7ec6329b-240c-41ef-8f7f-0fa87cda04e4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Wed Aug 20 01:22:42 2014 From: gusunny1 at gmail.com (sunnygu) Date: Wed, 20 Aug 2014 09:22:42 +0800 Subject: Displaying a countdown timer for participants In-Reply-To: <7ec6329b-240c-41ef-8f7f-0fa87cda04e4@googlegroups.com> Message-ID: Dear Natalia, As far as I know, I think there is no file download section and you can try in PST community since this is a discussion forum. And I may suppose you can try gettimer function in eprime or search timer in help for ebasic to see if there is any function you can use. My best, Sally 发自我的 iPhone > 在 2014年8月20日,上午8:26,yakunina at gmail.com 写道: > > Hello Matt, > > I'm sorry if it's a dumb question, but where can I download the sample CountDownClock.es? > I'm new to this group and I couldn't find files section. And I'm in desperate need of the countdown timer :) > > Thank you! > Natalia > >> On Thursday, April 17, 2008 2:37:44 AM UTC+9, Matt wrote: >> Hello, >> >> Ben's advice is very good and is the method we would recommend. I have >> added our formal sample (CountDownClock.es) to the Files section of >> this group for reference. If you have any questions, please let me >> know. >> >> Sincerely, >> Matt Lenhart >> PST Technical Consultant >> http://pstnet.com > > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7ec6329b-240c-41ef-8f7f-0fa87cda04e4%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/FE0330AE-72CF-4593-B133-D23D1544940D%40gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Wed Aug 20 08:50:51 2014 From: aadpors at gmail.com (Aad Pors) Date: Wed, 20 Aug 2014 01:50:51 -0700 Subject: Collect response during blank Message-ID: Dear all, *The experiment* 250 ms text stimulus followed by a 900 ms empty text screen (blank). Single keyboard button responses thoughout this cycle of 1150 ms. *The goal* To collect multiple button presses and releases that are omitted during on-screen time of the stimulus (StimExp) and the blank (BlankExp), with their respective response times. *The InLine script* *- - - - - - - - - - - - - - - - - - - * Dim theResponseObject As RteRunnableInputObject Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp")) 'If the assert below fires, then the object named in the line above does not exist Debug.Assert Not theResponseObject Is Nothing 'Counter variable for the number of responses made Dim nPressCount As Long 'Counter variable Dim nIndex As Integer 'Used to set attributes for statistics Dim strStatistic As String 'Enumerate through the response collection 'If any of the responses were made by the keyboard, display 'the statistics to the user. For nIndex = 1 To theResponseObject.InputMasks.Responses.Count 'Set theKeyboardResponseData equal to the current keyboard response Dim theKeyboardResponseData As KeyboardResponseData Set theKeyboardResponseData = CKeyboardResponseData(theResponseObject.InputMasks.Responses(nIndex)) If Not theKeyboardResponseData Is Nothing Then 'Increment the press count nPressCount = nPressCount + 1 'Log reaction time and response for each key press. c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP End If Next 'nIndex *- - - - - - - - - - - - - - - - - - - - - -* *The problem* The time limit in the StimExp object has been set to 1150 ms. Therefore, Eprime does what it is supposed to do: it records all button presses and releases (as set by me), but keeps records on the response time of the last input only. Te Script works, as long as the responses are provided during the on-screen time of the stimulus. Inputs whilst the blank is being presented are not recorded by the script. *The question* How do I solve this problem? I can't figure it out on my own. Regards, Aad PS, the origin of the script is the Multiple Responses example of PST support. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From katrinheimann at gmail.com Wed Aug 20 08:58:49 2014 From: katrinheimann at gmail.com (KatrinH Heimann) Date: Wed, 20 Aug 2014 10:58:49 +0200 Subject: Collect response during blank In-Reply-To: <10f406a6-d1e8-4637-92c7-44f5c10b4a7f@googlegroups.com> Message-ID: Hi Aad, as far as I get it the problem is that as Response Object you only choose the stimulusslide. I am referring to the following line: Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp")) You have to probably create two Response Objects(1 and 2) ... Best Katrin 2014-08-20 10:50 GMT+02:00 Aad Pors : > Dear all, > > *The experiment* > 250 ms text stimulus followed by a 900 ms empty text screen (blank). > Single keyboard button responses thoughout this cycle of 1150 ms. > > *The goal* > To collect multiple button presses and releases that are omitted during > on-screen time of the stimulus (StimExp) and the blank (BlankExp), with > their respective response times. > > *The InLine script* > > *- - - - - - - - - - - - - - - - - - - * > > Dim theResponseObject As RteRunnableInputObject > Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp")) > > 'If the assert below fires, then the object named in the line above does > not exist > Debug.Assert Not theResponseObject Is Nothing > > 'Counter variable for the number of responses made > Dim nPressCount As Long > > 'Counter variable > Dim nIndex As Integer > > 'Used to set attributes for statistics > Dim strStatistic As String > 'Enumerate through the response collection > 'If any of the responses were made by the keyboard, display > 'the statistics to the user. > For nIndex = 1 To theResponseObject.InputMasks.Responses.Count > > 'Set theKeyboardResponseData equal to the current keyboard response > Dim theKeyboardResponseData As KeyboardResponseData > Set theKeyboardResponseData = > CKeyboardResponseData(theResponseObject.InputMasks.Responses(nIndex)) > If Not theKeyboardResponseData Is Nothing Then > > 'Increment the press count > nPressCount = nPressCount + 1 > > 'Log reaction time and response for each key press. > c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT > c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP > End If > > > Next 'nIndex > > *- - - - - - - - - - - - - - - - - - - - - -* > > *The problem* > The time limit in the StimExp object has been set to 1150 ms. Therefore, > Eprime does what it is supposed to do: it records all button presses and > releases (as set by me), but keeps records on the response time of the last > input only. Te Script works, as long as the responses are provided during > the on-screen time of the stimulus. Inputs whilst the blank is being > presented are not recorded by the script. > > *The question* > How do I solve this problem? I can't figure it out on my own. > > Regards, > > Aad > > PS, the origin of the script is the Multiple Responses example of PST > support. > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CACnHcBd2MU8DoiX5tz%2BXhcrRVn-aMiVmiprRCaZN%3D61tUm1wmw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Wed Aug 20 09:06:56 2014 From: aadpors at gmail.com (Aad Pors) Date: Wed, 20 Aug 2014 02:06:56 -0700 Subject: Collect response during blank In-Reply-To: Message-ID: Indeed. But in my opinion, since the Time Limit in the StimExp properties has been set to 1150 ms, responses that are provided during BlankExp presentation should be recorded as responses to the stimulus slide (as Eprime intrinsically does). Furthermore, if I would indeed add a second ResponseObject, would it not be necessary to "copy/paste" the whole script for the second response object as well? Op woensdag 20 augustus 2014 10:58:51 UTC+2 schreef Katrin: > > Hi Aad, as far as I get it the problem is that as Response Object you only > choose the stimulusslide. I am referring to the following line: > Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp")) > > You have to probably create two Response Objects(1 and 2) ... > Best > Katrin > > > 2014-08-20 10:50 GMT+02:00 Aad Pors >: > >> Dear all, >> >> *The experiment* >> 250 ms text stimulus followed by a 900 ms empty text screen (blank). >> Single keyboard button responses thoughout this cycle of 1150 ms. >> >> *The goal* >> To collect multiple button presses and releases that are omitted during >> on-screen time of the stimulus (StimExp) and the blank (BlankExp), with >> their respective response times. >> >> *The InLine script* >> >> *- - - - - - - - - - - - - - - - - - - * >> >> Dim theResponseObject As RteRunnableInputObject >> Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp" >> )) >> >> 'If the assert below fires, then the object named in the line above does >> not exist >> Debug.Assert Not theResponseObject Is Nothing >> >> 'Counter variable for the number of responses made >> Dim nPressCount As Long >> >> 'Counter variable >> Dim nIndex As Integer >> >> 'Used to set attributes for statistics >> Dim strStatistic As String >> 'Enumerate through the response collection >> 'If any of the responses were made by the keyboard, display >> 'the statistics to the user. >> For nIndex = 1 To theResponseObject.InputMasks.Responses.Count >> >> 'Set theKeyboardResponseData equal to the current keyboard response >> Dim theKeyboardResponseData As KeyboardResponseData >> Set theKeyboardResponseData = >> CKeyboardResponseData(theResponseObject.InputMasks.Responses(nIndex)) >> If Not theKeyboardResponseData Is Nothing Then >> >> 'Increment the press count >> nPressCount = nPressCount + 1 >> >> 'Log reaction time and response for each key press. >> c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT >> c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP >> End If >> >> >> Next 'nIndex >> >> *- - - - - - - - - - - - - - - - - - - - - -* >> >> *The problem* >> The time limit in the StimExp object has been set to 1150 ms. Therefore, >> Eprime does what it is supposed to do: it records all button presses and >> releases (as set by me), but keeps records on the response time of the last >> input only. Te Script works, as long as the responses are provided during >> the on-screen time of the stimulus. Inputs whilst the blank is being >> presented are not recorded by the script. >> >> *The question* >> How do I solve this problem? I can't figure it out on my own. >> >> Regards, >> >> Aad >> >> PS, the origin of the script is the Multiple Responses example of PST >> support. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+u... at googlegroups.com . >> To post to this group, send email to e-p... at googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/4d403894-204d-4051-a041-f396b75c387e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Wed Aug 20 09:11:03 2014 From: aadpors at gmail.com (Aad Pors) Date: Wed, 20 Aug 2014 02:11:03 -0700 Subject: Response collection over blank In-Reply-To: <53f373ff.5099320a.022d.6819SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: I thought I found a solution, and had this thread deleted. However, the problem occurred again, and I made a new thread, just before you replied. Even before I posted these messages I did both. The script is based upon the PST Support example. For further discussion please go to https://groups.google.com/forum/#!topic/e-prime/yq4WYryicRc. If possible this thread can be deleted permanently... Op dinsdag 19 augustus 2014 17:57:54 UTC+2 schreef McFarlane, David: > > Please work through the extended input example (NestingXRT) in > Appendix C of the User's Guide that came with E-Prime. And if you do > not already have the multiple responses working, then also look at > the Multiple Response Collection example that you may download from > the PST website. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) If you do get an answer from PST > staff, please extend the courtesy of posting their reply back here > for the sake of others. > \---- > > > At 8/18/2014 07:24 AM Monday, Aad Pors wrote: > >UPDATE > > > >it seems that in previous versions I have not been able to collect > >responses during the blank properly as well. So now it seems to have > >become a matter of response time extension from the StimExp into the > >blank. Google provides hits with nested lists and other stuff which > >I believe to be more difficult than it has to be in my case. > > > >A helping word please? > > > >Op maandag 18 augustus 2014 09:43:41 UTC+2 schreef Aad Pors: > >Dear all, > > > >I'll try to be short. > > > >Stimulus setup: text screen with stimulus (StimExp) is presented for > >250 ms, followed by an empty text screen (BlankExp) for 900 ms. This > >cycle is repeated multiple times with different contents of the > >stimulus screen. > >I want to collect multiple keyboard 'b' presses and releases (b{-b}, > >max count 10). This works to the extent that I can indeed collect > >all these responses, as long as StimExp is being presented. I want > >to collect responses over the complete period of 1150 ms, as defined > >in the StimExp Duration properties Time Limit (1150 ms). Responses > >that are provided whilst the blank is being presented are not > >recorded. What can I do about that? The InLIne reads as follows: > > > > > >Dim theResponseObject As RteRunnableInputObject > >Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp")) > > > >'If the assert below fires, then the object named in the line above > >does not exist > >Debug.Assert Not theResponseObject Is Nothing > > > >'Counter variable for the number of responses made > >Dim nPressCount As Long > > > >'Counter variable > >Dim nIndex As Integer > > > >'Used to set attributes for statistics > >Dim strStatistic As String > >'Enumerate through the response collection > >'If any of the responses were made by the keyboard, display > >'the statistics to the user. > >For nIndex = 1 To theResponseObject.InputMasks.Responses.Count > > > >'Set theKeyboardResponseData equal to the current keyboard response > >Dim theKeyboardResponseData As KeyboardResponseData > >Set theKeyboardResponseData = > >CKeyboardResponseData(theResponseObject.InputMasks.Responses(nIndex)) > >If Not theKeyboardResponseData Is Nothing Then > > > >'Increment the press count > >nPressCount = nPressCount + 1 > > > >'Log reaction time and response for each key press. > >c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT > >c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP > >End If > > > > > >Next 'nIndex > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/21146d55-a2c1-4251-8beb-2bf50d04edf3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From katrinheimann at gmail.com Wed Aug 20 09:11:19 2014 From: katrinheimann at gmail.com (KatrinH Heimann) Date: Wed, 20 Aug 2014 11:11:19 +0200 Subject: Collect response during blank In-Reply-To: <4d403894-204d-4051-a041-f396b75c387e@googlegroups.com> Message-ID: Hey try the following: copy the whole inline while replacing all Response objects with Responseobject2 and filling in the other slide... should take you 2 min... Cheers k 2014-08-20 11:06 GMT+02:00 Aad Pors : > Indeed. But in my opinion, since the Time Limit in the StimExp properties > has been set to 1150 ms, responses that are provided during BlankExp > presentation should be recorded as responses to the stimulus slide (as > Eprime intrinsically does). > Furthermore, if I would indeed add a second ResponseObject, would it not > be necessary to "copy/paste" the whole script for the second response > object as well? > > Op woensdag 20 augustus 2014 10:58:51 UTC+2 schreef Katrin: >> >> Hi Aad, as far as I get it the problem is that as Response Object you >> only choose the stimulusslide. I am referring to the following line: >> Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp" >> )) >> >> You have to probably create two Response Objects(1 and 2) ... >> Best >> Katrin >> >> >> 2014-08-20 10:50 GMT+02:00 Aad Pors : >> >>> Dear all, >>> >>> *The experiment* >>> 250 ms text stimulus followed by a 900 ms empty text screen (blank). >>> Single keyboard button responses thoughout this cycle of 1150 ms. >>> >>> *The goal* >>> To collect multiple button presses and releases that are omitted during >>> on-screen time of the stimulus (StimExp) and the blank (BlankExp), with >>> their respective response times. >>> >>> *The InLine script* >>> >>> *- - - - - - - - - - - - - - - - - - - * >>> >>> Dim theResponseObject As RteRunnableInputObject >>> Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp" >>> )) >>> >>> 'If the assert below fires, then the object named in the line above does >>> not exist >>> Debug.Assert Not theResponseObject Is Nothing >>> >>> 'Counter variable for the number of responses made >>> Dim nPressCount As Long >>> >>> 'Counter variable >>> Dim nIndex As Integer >>> >>> 'Used to set attributes for statistics >>> Dim strStatistic As String >>> 'Enumerate through the response collection >>> 'If any of the responses were made by the keyboard, display >>> 'the statistics to the user. >>> For nIndex = 1 To theResponseObject.InputMasks.Responses.Count >>> >>> 'Set theKeyboardResponseData equal to the current keyboard response >>> Dim theKeyboardResponseData As KeyboardResponseData >>> Set theKeyboardResponseData = CKeyboardResponseData( >>> theResponseObject.InputMasks.Responses(nIndex)) >>> If Not theKeyboardResponseData Is Nothing Then >>> >>> 'Increment the press count >>> nPressCount = nPressCount + 1 >>> >>> 'Log reaction time and response for each key press. >>> c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT >>> c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP >>> End If >>> >>> >>> Next 'nIndex >>> >>> *- - - - - - - - - - - - - - - - - - - - - -* >>> >>> *The problem* >>> The time limit in the StimExp object has been set to 1150 ms. Therefore, >>> Eprime does what it is supposed to do: it records all button presses and >>> releases (as set by me), but keeps records on the response time of the last >>> input only. Te Script works, as long as the responses are provided during >>> the on-screen time of the stimulus. Inputs whilst the blank is being >>> presented are not recorded by the script. >>> >>> *The question* >>> How do I solve this problem? I can't figure it out on my own. >>> >>> Regards, >>> >>> Aad >>> >>> PS, the origin of the script is the Multiple Responses example of PST >>> support. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+u... at googlegroups.com. >>> To post to this group, send email to e-p... at googlegroups.com. >>> >>> To view this discussion on the web visit https://groups.google.com/d/ >>> msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/4d403894-204d-4051-a041-f396b75c387e%40googlegroups.com > > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CACnHcBd5t7XMLNH7U4AuPUE3V809BnRpd2aqvtn6v550byv8wQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Wed Aug 20 12:22:58 2014 From: aadpors at gmail.com (Aad Pors) Date: Wed, 20 Aug 2014 05:22:58 -0700 Subject: Collect response during blank In-Reply-To: Message-ID: I have been trying this in several ways, but nothing seems to work. Could you post an example of what your intent is? Op woensdag 20 augustus 2014 11:11:22 UTC+2 schreef Katrin: > > Hey > try the following: copy the whole inline while replacing all Response > objects with Responseobject2 and filling in the other slide... should take > you 2 min... > Cheers > k > > > 2014-08-20 11:06 GMT+02:00 Aad Pors >: > >> Indeed. But in my opinion, since the Time Limit in the StimExp properties >> has been set to 1150 ms, responses that are provided during BlankExp >> presentation should be recorded as responses to the stimulus slide (as >> Eprime intrinsically does). >> Furthermore, if I would indeed add a second ResponseObject, would it not >> be necessary to "copy/paste" the whole script for the second response >> object as well? >> >> Op woensdag 20 augustus 2014 10:58:51 UTC+2 schreef Katrin: >>> >>> Hi Aad, as far as I get it the problem is that as Response Object you >>> only choose the stimulusslide. I am referring to the following line: >>> Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp" >>> )) >>> >>> You have to probably create two Response Objects(1 and 2) ... >>> Best >>> Katrin >>> >>> >>> 2014-08-20 10:50 GMT+02:00 Aad Pors : >>> >>>> Dear all, >>>> >>>> *The experiment* >>>> 250 ms text stimulus followed by a 900 ms empty text screen (blank). >>>> Single keyboard button responses thoughout this cycle of 1150 ms. >>>> >>>> *The goal* >>>> To collect multiple button presses and releases that are omitted during >>>> on-screen time of the stimulus (StimExp) and the blank (BlankExp), with >>>> their respective response times. >>>> >>>> *The InLine script* >>>> >>>> *- - - - - - - - - - - - - - - - - - - * >>>> >>>> Dim theResponseObject As RteRunnableInputObject >>>> Set theResponseObject = CRteRunnableInputObject(Rte.GetObject( >>>> "StimExp")) >>>> >>>> 'If the assert below fires, then the object named in the line above >>>> does not exist >>>> Debug.Assert Not theResponseObject Is Nothing >>>> >>>> 'Counter variable for the number of responses made >>>> Dim nPressCount As Long >>>> >>>> 'Counter variable >>>> Dim nIndex As Integer >>>> >>>> 'Used to set attributes for statistics >>>> Dim strStatistic As String >>>> 'Enumerate through the response collection >>>> 'If any of the responses were made by the keyboard, display >>>> 'the statistics to the user. >>>> For nIndex = 1 To theResponseObject.InputMasks.Responses.Count >>>> >>>> 'Set theKeyboardResponseData equal to the current keyboard response >>>> Dim theKeyboardResponseData As KeyboardResponseData >>>> Set theKeyboardResponseData = CKeyboardResponseData( >>>> theResponseObject.InputMasks.Responses(nIndex)) >>>> If Not theKeyboardResponseData Is Nothing Then >>>> >>>> 'Increment the press count >>>> nPressCount = nPressCount + 1 >>>> >>>> 'Log reaction time and response for each key press. >>>> c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT >>>> c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP >>>> End If >>>> >>>> >>>> Next 'nIndex >>>> >>>> *- - - - - - - - - - - - - - - - - - - - - -* >>>> >>>> *The problem* >>>> The time limit in the StimExp object has been set to 1150 ms. >>>> Therefore, Eprime does what it is supposed to do: it records all button >>>> presses and releases (as set by me), but keeps records on the response time >>>> of the last input only. Te Script works, as long as the responses are >>>> provided during the on-screen time of the stimulus. Inputs whilst the blank >>>> is being presented are not recorded by the script. >>>> >>>> *The question* >>>> How do I solve this problem? I can't figure it out on my own. >>>> >>>> Regards, >>>> >>>> Aad >>>> >>>> PS, the origin of the script is the Multiple Responses example of PST >>>> support. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to e-prime+u... at googlegroups.com. >>>> To post to this group, send email to e-p... at googlegroups.com. >>>> >>>> To view this discussion on the web visit https://groups.google.com/d/ >>>> msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com >>>> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+u... at googlegroups.com . >> To post to this group, send email to e-p... at googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/4d403894-204d-4051-a041-f396b75c387e%40googlegroups.com >> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/3c73ccf2-fee2-4b2b-a302-eba50dfe091d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From saxguy007 at gmail.com Wed Aug 20 13:16:08 2014 From: saxguy007 at gmail.com (Jim Bjork) Date: Wed, 20 Aug 2014 06:16:08 -0700 Subject: Does PsycholTools or any lab group maintain a repository of e-prime experiment files of cogn. tasks? Message-ID: Hello group, New here. Just hired to join faculty group at VCU to do neuroimaging of human addiction. The group owns/uses both Eprime 1.2 and 2.0. (My old group at NIH used Presentation). While they have several tasks coded up for Eprime for use off-line and with fMRI pulses, none are quite like the Monetary Incentive Delay task (Knutson) and the Stop Task (Logan). I'm wondering if anyone out there has coded these up in an es2 file and would share it, where I could work from their working task and tweak it. I'd really appreciate any leads! Jim Bjork -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/de5c40db-1529-4a86-9cca-a94c0f8bfe21%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From raufsubhani at gmail.com Wed Aug 20 18:27:40 2014 From: raufsubhani at gmail.com (Rauf Subhani) Date: Wed, 20 Aug 2014 11:27:40 -0700 Subject: LSL link in E-Prime to connect with data acquisition system Message-ID: Hi, does E-Prime support lab streaming layer (LSL) link to transmit stimulus markers to the data acquisition system? E-Prime supports TCP/IP link but the systems require LSL connection for communication between the stimulus software and the data acquisition system. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/ca3c5bd2-5337-4ef6-813e-0d5d3e7b9a07%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From raufsubhani at gmail.com Wed Aug 20 18:35:17 2014 From: raufsubhani at gmail.com (Rauf Subhani) Date: Wed, 20 Aug 2014 11:35:17 -0700 Subject: LSL link in E-Prime to connect with data acquisition system Message-ID: Hi, does E-Prime support lab streaming layer (LSL) link to transmit stimulus markers to the data acquisition system? E-Prime supports TCP/IP link but some systems require LSL connection for communication between the stimulus software and data acquisition system. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/f5974642-bc00-4a56-9bef-e9e59dd99601%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wzhmelly at gmail.com Wed Aug 20 21:32:23 2014 From: wzhmelly at gmail.com (Zh Wu) Date: Wed, 20 Aug 2014 14:32:23 -0700 Subject: Ramdomize the blocks while selecting a specific selection for a block in real time In-Reply-To: <53f37149.6a39320a.4739.0d2cSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David, Thank you so much for your suggestions! I did try to do that but I am not sure how to let Eprime select a Random/Categorized BlockA and Categorized/Random BlockB, because I want 1/4 of participants to do BlockA randomly and then BlockB sequentially, 1/4 of participants to do BlockA sequentially and then BlockB randomly, 1/4 of participants to do BlockB randomly and then BlockA sequentially, and 1/4 of participants to do BlockB sequentially and then BlockA randomly. Besides, the random list is not entirely random. I had to generate a randomized (with restrictions) list through Python and use it for every participant. So essentially the Randomized list is a sequential one. Therefore, there are four lists: categorized BlockA, 'randomized' BlockA, categorized BlockB, 'randomized' BlockB. I want Eprime to select one Block A and one Block B, the two of which has opposite selections (one categorized, the other 'randomized'). Is it possible to be done through Eprime? Looking forward to your reply! On Tuesday, August 19, 2014 11:46:21 AM UTC-4, McFarlane, David wrote: > > You could achieve much the same effect, without > any inline code, by using a main List with > Selection Order set to Counterbalance, and Order > By set to Subject. That List would have one row > for each of your possible scenarios, and then use > the Subject number to select which row to run. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) > You may reach PST's trained staff (and other > support facilities) at https://support.pstnet.com > . 3) If you do get an answer from PST staff, > please extend the courtesy of posting their reply > back here for the sake of others. > \---- > > > At 8/17/2014 02:52 AM Sunday, KatrinH Heimann wrote: > >Hey, well I guess what you could do is, > >referring in an inline before and after the > >block to the attribute subjectnumber and > >depending on this let eprime jump to the right > >block using a "goto" command and a label > > > >so assuming you would have two blocks only and > >subjects 1 would have to do the first block first, subject 2 the second: > >you would need to put an inline object before > >the blocks saying something like > > > >if getattribute "subjectnumber" = 2 (I am not > >sure though anymore about how the getattribute > >command is implemented precisely, look it up googling) > >goto label1 (which you should put before block 2) > > > >and then after block 2: > > > >if getattribute "subjectnumber" = 2 > >goto label2 (which you should put before block 1 after the first inline) > > > >and then after block 1: > > > >if getattribute "subjectnumber" = 2 (I am not > >sure about how the getattribute command is > >implemented anymore, look it up googling) > >goto label2 (which you should put before block 1 after the first inline) > > > >if getattribute "subjectnumber" = 2 (I am not > >sure about how the getattribute command is > >implemented anymore, look it up googling) > >goto label3 (which you should put at the end of the experiment) > > > >but there are a lot of inlines involved like this.... > >probably there is an easier way, too.... > > > >k > > > > > > > > > > > >2014-08-17 1:52 GMT+02:00 Zh Wu > ><>wzhmelly at gmail.com >: > > >For simplicity, I just designed four different > >scripts, but I am still wondering whether this is doable in Eprime:) > > > >On Wednesday, August 13, 2014 7:35:34 PM UTC-4, Zh Wu wrote: > >I am designing an experiment with two blocks, BlockA and BlockB. > > > >I want 1/4 of participants to do BlockA randomly > >and then BlockB sequentially, 1/4 of > >participants to do BlockA sequentially and then > >BlockB randomly, 1/4 of participants to do > >BlockB randomly and then BlockA sequentially, > >and 1/4 of participants to do BlockB sequentially and then BlockA > randomly. > > > >I know how to select the blocks randomly (i.e., > >half participants do BlockA first and the other > >half BlockB first), but for the specific list, I > >don't know how to change the selection for a specific participant. > > > >Any help would be greatly appreciated! > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7ffd9546-fc9c-40c3-bdb8-c07921154c2d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcof at connect.hku.hk Thu Aug 21 03:19:15 2014 From: marcof at connect.hku.hk (marcof at connect.hku.hk) Date: Wed, 20 Aug 2014 20:19:15 -0700 Subject: Run-time Error (Line 2106) 11012 Message-ID: Hello guys! I have a problem encountered while I am running the program. An error pumped up "Run-time Error (Line 2106) 11012: Internal Drawing Error: 0x8007000e Unable to draw Echo Client" Does anyone have any idea what this is? I couldn't find this error in any user forum or common error list. Thanks guys! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1a5646c2-8ace-47d0-a199-742c190a258a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Thu Aug 21 08:14:23 2014 From: aadpors at gmail.com (Aad Pors) Date: Thu, 21 Aug 2014 01:14:23 -0700 Subject: Collect response during blank In-Reply-To: <3c73ccf2-fee2-4b2b-a302-eba50dfe091d@googlegroups.com> Message-ID: Never mind! The problem was the PreRelease. I thought I had that ruled out, but apparently I was not thorough enough. Regards, Aad Op woensdag 20 augustus 2014 14:22:58 UTC+2 schreef Aad Pors: > > I have been trying this in several ways, but nothing seems to work. Could > you post an example of what your intent is? > > Op woensdag 20 augustus 2014 11:11:22 UTC+2 schreef Katrin: >> >> Hey >> try the following: copy the whole inline while replacing all Response >> objects with Responseobject2 and filling in the other slide... should take >> you 2 min... >> Cheers >> k >> >> >> 2014-08-20 11:06 GMT+02:00 Aad Pors : >> >>> Indeed. But in my opinion, since the Time Limit in the StimExp >>> properties has been set to 1150 ms, responses that are provided during >>> BlankExp presentation should be recorded as responses to the stimulus slide >>> (as Eprime intrinsically does). >>> Furthermore, if I would indeed add a second ResponseObject, would it not >>> be necessary to "copy/paste" the whole script for the second response >>> object as well? >>> >>> Op woensdag 20 augustus 2014 10:58:51 UTC+2 schreef Katrin: >>>> >>>> Hi Aad, as far as I get it the problem is that as Response Object you >>>> only choose the stimulusslide. I am referring to the following line: >>>> Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp" >>>> )) >>>> >>>> You have to probably create two Response Objects(1 and 2) ... >>>> Best >>>> Katrin >>>> >>>> >>>> 2014-08-20 10:50 GMT+02:00 Aad Pors : >>>> >>>>> Dear all, >>>>> >>>>> *The experiment* >>>>> 250 ms text stimulus followed by a 900 ms empty text screen (blank). >>>>> Single keyboard button responses thoughout this cycle of 1150 ms. >>>>> >>>>> *The goal* >>>>> To collect multiple button presses and releases that are omitted >>>>> during on-screen time of the stimulus (StimExp) and the blank (BlankExp), >>>>> with their respective response times. >>>>> >>>>> *The InLine script* >>>>> >>>>> *- - - - - - - - - - - - - - - - - - - * >>>>> >>>>> Dim theResponseObject As RteRunnableInputObject >>>>> Set theResponseObject = CRteRunnableInputObject(Rte.GetObject( >>>>> "StimExp")) >>>>> >>>>> 'If the assert below fires, then the object named in the line above >>>>> does not exist >>>>> Debug.Assert Not theResponseObject Is Nothing >>>>> >>>>> 'Counter variable for the number of responses made >>>>> Dim nPressCount As Long >>>>> >>>>> 'Counter variable >>>>> Dim nIndex As Integer >>>>> >>>>> 'Used to set attributes for statistics >>>>> Dim strStatistic As String >>>>> 'Enumerate through the response collection >>>>> 'If any of the responses were made by the keyboard, display >>>>> 'the statistics to the user. >>>>> For nIndex = 1 To theResponseObject.InputMasks.Responses.Count >>>>> >>>>> 'Set theKeyboardResponseData equal to the current keyboard response >>>>> Dim theKeyboardResponseData As KeyboardResponseData >>>>> Set theKeyboardResponseData = CKeyboardResponseData( >>>>> theResponseObject.InputMasks.Responses(nIndex)) >>>>> If Not theKeyboardResponseData Is Nothing Then >>>>> >>>>> 'Increment the press count >>>>> nPressCount = nPressCount + 1 >>>>> >>>>> 'Log reaction time and response for each key press. >>>>> c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT >>>>> c.SetAttrib "KeyPress" & nIndex & "RESP", >>>>> theKeyboardResponseData.RESP >>>>> End If >>>>> >>>>> >>>>> Next 'nIndex >>>>> >>>>> *- - - - - - - - - - - - - - - - - - - - - -* >>>>> >>>>> *The problem* >>>>> The time limit in the StimExp object has been set to 1150 ms. >>>>> Therefore, Eprime does what it is supposed to do: it records all button >>>>> presses and releases (as set by me), but keeps records on the response time >>>>> of the last input only. Te Script works, as long as the responses are >>>>> provided during the on-screen time of the stimulus. Inputs whilst the blank >>>>> is being presented are not recorded by the script. >>>>> >>>>> *The question* >>>>> How do I solve this problem? I can't figure it out on my own. >>>>> >>>>> Regards, >>>>> >>>>> Aad >>>>> >>>>> PS, the origin of the script is the Multiple Responses example of PST >>>>> support. >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "E-Prime" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to e-prime+u... at googlegroups.com. >>>>> To post to this group, send email to e-p... at googlegroups.com. >>>>> >>>>> To view this discussion on the web visit https://groups.google.com/d/ >>>>> msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com >>>>> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+u... at googlegroups.com. >>> To post to this group, send email to e-p... at googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/e-prime/4d403894-204d-4051-a041-f396b75c387e%40googlegroups.com >>> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5fa182f7-0f53-42cd-badf-0bfca0251e7f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Thu Aug 21 11:41:46 2014 From: aadpors at gmail.com (Aad Pors) Date: Thu, 21 Aug 2014 04:41:46 -0700 Subject: Show actual response on feedback slide Message-ID: Short question: how can I show the actual response (.RESP) on the feedback screen? Regards, Aad -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/accf1f9a-dd0c-4901-aca3-2c67f91cc2fb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From xzilong at gmail.com Thu Aug 21 14:51:57 2014 From: xzilong at gmail.com (Zilong Xie) Date: Thu, 21 Aug 2014 09:51:57 -0500 Subject: Sound onset and response time issues In-Reply-To: <53f3761e.4937320a.5adb.6773SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David, Thanks for the detailed response! Best, Zilong On Tue, Aug 19, 2014 at 11:06 AM, David McFarlane wrote: > Zilong, > > 1) First and foremost, please thoroughly study the "Critical Timing" > chapter in the User's Guide that came with E-Prime. > > 2) The RT is relative to the OnsetTime of the E-Object that plays the > sound, e.g., > StimSlide.RT = StimSlide.RTTime - StimSlide.OnsetTime > (do not take my word for that, please look for yourself). Note that the > audio hardware may impose additional delays so that actual onset of sound > lags even further behind OnsetTime, to test this you would need additional > equipment (e.g., oscilloscope or Black Box Toolkit). > > 3) Yes, you should be able to trust the RT values even with large > OnsetDelay values. But you do well to verify this yourself with external > testing equipment as mentioned above. > > Finally, look at https://groups.google.com/d/topic/e-prime/OeiZ00V9SRc > for a discussion of the various time audit measures. > > Best, > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/ > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained > staff (and other support facilities) at https://support.pstnet.com . 3) > If you do get an answer from PST staff, please extend the courtesy of > posting their reply back here for the sake of others. > \---- > > > > At 8/14/2014 03:34 PM Thursday, Zilong Xie wrote: > > Hi E-Prime experts, >> In my experiment, in each trial, I presented a sound and >> simultaneously collected response to the sound with the slide object. When >> I checked the edat2 file, I noticed that there was onset delay of about 100 >> ms (the time scale in the edat2 file is ms, right?) in the slide object. So >> my questions are: >> (1) How can I reduce the onset delay of the slide object? >> (2) Is the RT recorded here relative to the actual onset of the sound >> or the expected onset of the sound? >> (3) In the case of large onset delay, can I trust the RT values >> reported in the edat2 file? And how can I get the actual RT values? >> >> Thanks! >> >> best, >> Zilong >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "E-Prime" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/e-prime/5PGPRnXBl3w/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/e-prime/53f3761e.4937320a.5adb.6773SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/d/optout. > -- Zi-Long Xie (谢子龙) SoundBrain Lab, Department of Communication Sciences & Disorders, College of Communication, The University of Texas at Austin Austin, Texas 78712 Phone:1-(512)550-8521 Email: xzilong at gmail.com -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CANQbNb38KSbJTTmRRYPNaaD%2BFUjPbSj8pAoNfCg50LKy-s-xyA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Aug 21 15:45:19 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Aug 2014 11:45:19 -0400 Subject: Does PsycholTools or any lab group maintain a repository of e-prime experiment files of cogn. tasks? In-Reply-To: Message-ID: Jim, I would start with the STEP repository, step.psy.cmu.edu. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 8/20/2014 09:16 AM Wednesday, Jim Bjork wrote: >Hello group, > >New here. Just hired to join faculty group at VCU to do >neuroimaging of human addiction. The group owns/uses both Eprime >1.2 and 2.0. (My old group at NIH used Presentation). > >While they have several tasks coded up for Eprime for use off-line >and with fMRI pulses, none are quite like the Monetary Incentive >Delay task (Knutson) and the Stop Task (Logan). I'm wondering if >anyone out there has coded these up in an es2 file and would share >it, where I could work from their working task and tweak it. > >I'd really appreciate any leads! > >Jim Bjork -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f6141b.61e1320a.6681.1f94SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Thu Aug 21 15:50:47 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Aug 2014 11:50:47 -0400 Subject: Run-time Error (Line 2106) 11012 In-Reply-To: <1a5646c2-8ace-47d0-a199-742c190a258a@googlegroups.com> Message-ID: Have you contacted PST Support about this (see link below)? What did they say? (And I presume "guys" here includes gals :) ) ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/20/2014 11:19 PM Wednesday, marcof at connect.hku.hk wrote: >Hello guys []! >I have a problem encountered while I am running the program. >An error pumped up > > "Run-time Error (Line 2106) 11012: Internal Drawing Error: 0x8007000e >Unable to draw Echo Client" > >Does anyone have any idea what this is? >I couldn't find this error in any user forum or common error list. >Thanks guys! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f61563.c219320a.2977.1ec8SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From saxguy007 at gmail.com Thu Aug 21 16:49:41 2014 From: saxguy007 at gmail.com (Jim Bjork) Date: Thu, 21 Aug 2014 09:49:41 -0700 Subject: Does PsycholTools or any lab group maintain a repository of e-prime experiment files of cogn. tasks? In-Reply-To: <53f6141b.61e1320a.6681.1f94SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: This is great! Thanks! Jim On Thursday, August 21, 2014 11:45:34 AM UTC-4, McFarlane, David wrote: > > Jim, > > I would start with the STEP repository, step.psy.cmu.edu. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > At 8/20/2014 09:16 AM Wednesday, Jim Bjork wrote: > >Hello group, > > > >New here. Just hired to join faculty group at VCU to do > >neuroimaging of human addiction. The group owns/uses both Eprime > >1.2 and 2.0. (My old group at NIH used Presentation). > > > >While they have several tasks coded up for Eprime for use off-line > >and with fMRI pulses, none are quite like the Monetary Incentive > >Delay task (Knutson) and the Stop Task (Logan). I'm wondering if > >anyone out there has coded these up in an es2 file and would share > >it, where I could work from their working task and tweak it. > > > >I'd really appreciate any leads! > > > >Jim Bjork > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/2d8c9483-7315-41d1-8a42-bfb6ac18ef36%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Aug 21 19:51:53 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Aug 2014 15:51:53 -0400 Subject: Show actual response on feedback slide In-Reply-To: Message-ID: Aad, Long answer ... Suppose you get a RESP for StimSlide. Then on your feedback screen (which must be either a Slide or a FeedbackDisplay), add a text sub-object and use an attribute reference thus: [StimSlide.RESP] You also need to set that attribute first, if you have StimSlide set to log RESP then it should already generate the code to do that, otherwise you may need to add inline code before your feedback screen such as c.SetAttrib "StimSlide.RESP", StimSlide.RESP Note that if you use a FeedbackDisplay then for some other response items (e.g., RT) you may use Feedback Display Macros, see that section in the Reference Guide that came with E-Prime. And of course pay attention to PreRelease, if your feedback screen gets prepared during the PreRelease of StimSlide then it may not show the proper RESP (see http://www.pstnet.com/support/kb.asp?TopicID=2619 )! ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/21/2014 07:41 AM Thursday, Aad Pors wrote: >Short question: how can I show the actual response (.RESP) on the >feedback screen? > >Regards, > >Aad -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f64de6.4937320a.7e82.2426SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Thu Aug 21 20:05:30 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Aug 2014 16:05:30 -0400 Subject: Displaying a countdown timer for participants In-Reply-To: Message-ID: Natalia, Indeed, Matt Lenhart from PST posted that file to the Group over 6 years ago, back when Google Groups included a files section. Google Groups has since discontinued that feature. But you may still download that example directly from the PST website. You will need to register and login there first in order to get to the Sample Programs area. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/19/2014 09:22 PM Tuesday, sunnygu wrote: >Dear Natalia, >As far as I know, I think there is no file >download section and you can try in PST >community since this is a discussion forum. And >I may suppose you can try gettimer function in >eprime or search timer in help for ebasic to see >if there is any function you can use. >My best, > >Sally > >å ‘è‡ªæˆ‘çš„ iPhone > >在 >2014å¹´8月20æ—¥ï¼Œä¸Šå ˆ8:26,yakunina at gmail.com >å†™é “ï¼š > >>Hello Matt, >> >>I'm sorry if it's a dumb question, but where >>can I download the sample CountDownClock.es? >>I'm new to this group and I couldn't find files >>section. And I'm in desperate need of the countdown timer :) >> >>Thank you! >>Natalia >> >>On Thursday, April 17, 2008 2:37:44 AM UTC+9, Matt wrote: >>Hello, >> >>Ben's advice is very good and is the method we would recommend. I have >>added our formal sample >>(CountDownClock.es) to the Files section of >>this group for reference. If you have any questions, please let me >>know. >> >>Sincerely, >>Matt Lenhart >>PST Technical Consultant >>http://pstnet.com -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f65118.61e1320a.6681.24f8SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From aadpors at gmail.com Fri Aug 22 04:57:43 2014 From: aadpors at gmail.com (Aad Pors) Date: Thu, 21 Aug 2014 21:57:43 -0700 Subject: Show actual response on feedback slide In-Reply-To: <53f64de6.4937320a.7e82.2426SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: David, Thanks again for your help. It will come as no surprise that it works as expected. Aad Op donderdag 21 augustus 2014 21:52:10 UTC+2 schreef McFarlane, David: > > Aad, > > Long answer ... > > Suppose you get a RESP for StimSlide. Then on your feedback screen > (which must be either a Slide or a FeedbackDisplay), add a text > sub-object and use an attribute reference thus: > > [StimSlide.RESP] > > You also need to set that attribute first, if you have StimSlide set > to log RESP then it should already generate the code to do that, > otherwise you may need to add inline code before your feedback screen such > as > > c.SetAttrib "StimSlide.RESP", StimSlide.RESP > > Note that if you use a FeedbackDisplay then for some other response > items (e.g., RT) you may use Feedback Display Macros, see that > section in the Reference Guide that came with E-Prime. > > And of course pay attention to PreRelease, if your feedback screen > gets prepared during the PreRelease of StimSlide then it may not show > the proper RESP (see http://www.pstnet.com/support/kb.asp?TopicID=2619 )! > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) If you do get an answer from PST > staff, please extend the courtesy of posting their reply back here > for the sake of others. > \---- > > At 8/21/2014 07:41 AM Thursday, Aad Pors wrote: > >Short question: how can I show the actual response (.RESP) on the > >feedback screen? > > > >Regards, > > > >Aad > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/728b62bf-f7cf-4d31-b3ee-94fe3e3b3136%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tobias.fw at gmail.com Fri Aug 22 10:43:58 2014 From: tobias.fw at gmail.com (Tobias) Date: Fri, 22 Aug 2014 03:43:58 -0700 Subject: How can I insert an image on a slide with code? In-Reply-To: <53f3934b.496b320a.4998.1389SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thanks David, it worked with the attribute (which in fact I had to create with set.attrib in each trial). The thing with creating an experimental procedure without code first (using the drag&drop elements) and then looking at the code, that didn't really work out. I remember in old versions the code was quite readable, though. In the current version the code is written like all in one block of text and you don't really see what's heppening. That is sad because I think it was one of the great features of E-Prime. Best,Tobias Am Dienstag, 19. August 2014 20:11:26 UTC+2 schrieb McFarlane, David: > > Tobias, > > First, if at all possible I recommend that you instead use an > attribute reference for the image filename, and if needed just use > inline code to set that attribute. Please see discussion at > https://groups.google.com/d/topic/e-prime/dWpfjk-BeLs . > > If you must persist in assigning the filename directly in code, that > takes several steps, too tedious to write out here. Your best bet is > to make a Slide with an image sub-object that uses an attribute > reference, have E-Studio generate the code, then look at the code > that generated by E-Studio and go from there. That's how I figure > out much of this stuff. > > Best, > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) If you do get an answer from PST > staff, please extend the courtesy of posting their reply back here > for the sake of others. > \---- > > > At 8/19/2014 01:49 PM Tuesday, Tobias wrote: > >I have a slide ("Slide1") that has an image on it called "Image1". > >Now I want to use code to specify the filename of that image > >according to my needs. > > > >I have tried something like Slide1.Image1.filename = "picture.bmp" > >but that doesn't seem to work. It says "Image1 is not a property of > >the object". > > > >Any ideas how to solve this problem? > > > >Thanks, > >Tobias > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/400470d9-e304-4ec7-8dc7-9a0fc76d4720%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ajwithers at ualr.edu Mon Aug 25 17:47:57 2014 From: ajwithers at ualr.edu (ajwithers at ualr.edu) Date: Mon, 25 Aug 2014 10:47:57 -0700 Subject: Find and analyze Array Display RESP and Accuracy Message-ID: Hi, This is probably a very simple question but I'm new to E Prime: Where in an .edat file does E Prime record response accuracy? I see the column that says Array Display.RESP, but I want to know the accuracy of these responses so I can analyze the percentage of the questions they got correct in the file. Thanks -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/800cbce3-755b-437f-bca8-2b49ca0cb829%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Aug 25 19:04:44 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 25 Aug 2014 15:04:44 -0400 Subject: Find and analyze Array Display RESP and Accuracy In-Reply-To: <800cbce3-755b-437f-bca8-2b49ca0cb829@googlegroups.com> Message-ID: If, e.g., you collect a response for a stimulus object named "MyStim", then E-Prime will log the response accuracy under "MyStim.ACC" -- but ONLY if you have enabled logging of ACC for that object! Easiest to do that by selecting "Standard" or "Response Only" for Data Logging on the Duration/Input tab of the object's Properties Pages, but for more granular control you may also go directly to the Logging tab. BTW, the Analyze feature of E-DataAid will nicely help you get percentage correct and other results from your E-DataAid files, I highly recommend taking some time to look through the manuals and learn that program too (or take my course, which includes a lesson on this). ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/25/2014 01:47 PM Monday, ajwithers at ualr.edu wrote: >This is probably a very simple question but I'm new to E Prime: >Where in an .edat file does E Prime record response accuracy? I see >the column that says Array Display.RESP, but I want to know the >accuracy of these responses so I can analyze the percentage of the >questions they got correct in the file. > >Thanks -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53fb88db.a2ea320a.5dc9.05a3SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From ajwithers at ualr.edu Mon Aug 25 19:33:02 2014 From: ajwithers at ualr.edu (Alton Withers) Date: Mon, 25 Aug 2014 15:33:02 -0400 Subject: Find and analyze Array Display RESP and Accuracy In-Reply-To: <53fb88db.a2ea320a.5dc9.05a3SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Which object would that be? Are you referring to the different blocks in the experiment? On Mon, Aug 25, 2014 at 3:04 PM, David McFarlane wrote: > If, e.g., you collect a response for a stimulus object named "MyStim", > then E-Prime will log the response accuracy under "MyStim.ACC" -- but ONLY > if you have enabled logging of ACC for that object! Easiest to do that by > selecting "Standard" or "Response Only" for Data Logging on the > Duration/Input tab of the object's Properties Pages, but for more granular > control you may also go directly to the Logging tab. > > BTW, the Analyze feature of E-DataAid will nicely help you get percentage > correct and other results from your E-DataAid files, I highly recommend > taking some time to look through the manuals and learn that program too (or > take my course, which includes a lesson on this). > > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/ > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained > staff (and other support facilities) at https://support.pstnet.com . 3) > If you do get an answer from PST staff, please extend the courtesy of > posting their reply back here for the sake of others. > \---- > > > > At 8/25/2014 01:47 PM Monday, ajwithers at ualr.edu wrote: > >> This is probably a very simple question but I'm new to E Prime: Where in >> an .edat file does E Prime record response accuracy? I see the column that >> says Array Display.RESP, but I want to know the accuracy of these responses >> so I can analyze the percentage of the questions they got correct in the >> file. >> >> Thanks >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "E-Prime" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/e-prime/lgXZsOT7MvE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/e-prime/53fb88db.a2ea320a.5dc9.05a3SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CADTcKa6s_u8TbyXU2MK%2BXgsyAFiguTViswOGEnQ2r8PTJTnZVQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Aug 25 20:11:47 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 25 Aug 2014 16:11:47 -0400 Subject: Find and analyze Array Display RESP and Accuracy In-Reply-To: Message-ID: Whichever E-Object (TextDisplay, ImageDisplay, SoundOut, Slide, etc.) you use to get a response from the subject. -- David McFarlane At 8/25/2014 03:33 PM Monday, Alton Withers wrote: >Which object would that be? Are you referring to >the different blocks in the experiment? > > >On Mon, Aug 25, 2014 at 3:04 PM, David McFarlane ><mcfarla9 at msu.edu> wrote: >If, e.g., you collect a response for a stimulus >object named "MyStim", then E-Prime will log the >response accuracy under "MyStim.ACC" -- but ONLY >if you have enabled logging of ACC for that >object! Easiest to do that by selecting >"Standard" or "Response Only" for Data Logging >on the Duration/Input tab of the object's >Properties Pages, but for more granular control >you may also go directly to the Logging tab. > >BTW, the Analyze feature of E-DataAid will >nicely help you get percentage correct and other >results from your E-DataAid files, I highly >recommend taking some time to look through the >manuals and learn that program too (or take my >course, which includes a lesson on this). > >----- >David McFarlane >E-Prime training >online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster >(https://twitter.com/EPrimeMaster) > >/---- >Stock reminder: 1) I do not work for PST. 2) >You may reach PST's trained staff (and other >support facilities) at >https://support.pstnet.com >. 3) If you do get an answer from PST staff, >please extend the courtesy of posting their >reply back here for the sake of others. >\---- > > > >At 8/25/2014 01:47 PM Monday, >ajwithers at ualr.edu wrote: >This is probably a very simple question but I'm >new to E Prime: Where in an .edat file does E >Prime record response accuracy? I see the column >that says Array Display.RESP, but I want to know >the accuracy of these responses so I can analyze >the percentage of the questions they got correct in the file. > >Thanks -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53fb9897.1243320a.09e3.063bSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mspape at cognitology.eu Wed Aug 27 15:26:01 2014 From: mspape at cognitology.eu (Cognitology) Date: Wed, 27 Aug 2014 18:26:01 +0300 Subject: Run-time Error (Line 2106) 11012 In-Reply-To: <1a5646c2-8ace-47d0-a199-742c190a258a@googlegroups.com> Message-ID: Hi, I suppose this remained unanswered. You’ll have to be a bit more specific: ep1, 2, which subversion, when does the error happen? I *think* this is what used to happen in ep1 if the start button was pressed during the experiment, and otherwise, if your outlook/skype/whatever pops up a balloon notification or such (or “windows’s got an update!”). In each case, it’s really an error of improperly setting up your system to not do this kind of thing (it thus happens a lot on the pc I use to do experiment coding). Hope that helps, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of marcof at connect.hku.hk Sent: 21. August 2014 06:19 To: e-prime at googlegroups.com Subject: Run-time Error (Line 2106) 11012 Hello guys! I have a problem encountered while I am running the program. An error pumped up "Run-time Error (Line 2106) 11012: Internal Drawing Error: 0x8007000e Unable to draw Echo Client" Does anyone have any idea what this is? I couldn't find this error in any user forum or common error list. Thanks guys! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1a5646c2-8ace-47d0-a199-742c190a258a%40googlegroups.com . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/03e301cfc20b%24358485e0%24a08d91a0%24%40eu. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Wed Aug 27 15:56:43 2014 From: mspape at cognitology.eu (Cognitology) Date: Wed, 27 Aug 2014 18:56:43 +0300 Subject: Displaying a countdown timer for participants In-Reply-To: <53f65118.61e1320a.6681.24f8SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi, I'm not sure whether this would serve as a countdowntimer in the absence of the Real Deal, but here's a quick and dirty way of drawing a progressbar (the reverse of a countdown, easily fixed). 1. Have a textDisplay, we call it TextDisplay1, duration 1, timelimit 10000 (or end of procedure, that also works). Add keyboard. 2. Add inline after this textDisplay: '--------- Dim cnvs As canvas Dim percdone As Integer Set cnvs = Display.Canvas cnvs.PenColor = CColor("black") cnvs.FillColor = CColor("white") cnvs.Rectangle Display.Xres / 2-100,Display.Yres / 2-10, 200, 20 'draw bar cnvs.FillColor = CColor("red") Do 'specially for David McFarlane, I'd use WHILE sneakily percdone = (clock.read - textdisplay2.OnsetTime) / 100 cnvs.Rectangle Display.Xres / 2-100,Display.Yres / 2-10, 2*percdone, 20 'draw filler sleep 10 Loop Until ((clock.read - textdisplay1.OnsetTime) > 10000) Or TextDisplay2.RESP <> "" 'because loop until sounds silly. '---------- It works in EP2, probably in 1 as well. It shows a bar for 10 s, overlaying with whatever is on the screen (make textdisplay1 transparent for more options), and shows until end of response or end of 10s. It's not fantastic, I just wrote this in a few minutes. I'm not sure, for instance, if sleep 10 is necessary, for instance - if memory serves, EP2 always adds a display.waitforverticleblank after canvas operations. Best, Michiel Michiel Sovijärvi-Spapé Helsinki Institute for Information Technology HIIT Aalto & Helsinki University Finland -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of David McFarlane Sent: 21. August 2014 23:06 To: e-prime at googlegroups.com Subject: Re: Displaying a countdown timer for participants Natalia, Indeed, Matt Lenhart from PST posted that file to the Group over 6 years ago, back when Google Groups included a files section. Google Groups has since discontinued that feature. But you may still download that example directly from the PST website. You will need to register and login there first in order to get to the Sample Programs area. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/19/2014 09:22 PM Tuesday, sunnygu wrote: >Dear Natalia, >As far as I know, I think there is no file >download section and you can try in PST >community since this is a discussion forum. And >I may suppose you can try gettimer function in >eprime or search timer in help for ebasic to see >if there is any function you can use. >My best, > >Sally > >å ‘è‡ªæˆ‘çš„ iPhone > >在 >2014å¹´8月20æ—¥ï¼Œä¸Šå ˆ8:26,yakunina at gmail.com >å†™é “ï¼š > >>Hello Matt, >> >>I'm sorry if it's a dumb question, but where >>can I download the sample CountDownClock.es? >>I'm new to this group and I couldn't find files >>section. And I'm in desperate need of the countdown timer :) >> >>Thank you! >>Natalia >> >>On Thursday, April 17, 2008 2:37:44 AM UTC+9, Matt wrote: >>Hello, >> >>Ben's advice is very good and is the method we would recommend. I have >>added our formal sample >>(CountDownClock.es) to the Files section of >>this group for reference. If you have any questions, please let me >>know. >> >>Sincerely, >>Matt Lenhart >>PST Technical Consultant >>http://pstnet.com -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f65118.61e1320a.6681.24f8SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/03f101cfc20f%247fdaafd0%247f900f70%24%40eu. For more options, visit https://groups.google.com/d/optout. From ncllab at gmail.com Thu Aug 28 17:20:07 2014 From: ncllab at gmail.com (Neuro Cog Lab) Date: Thu, 28 Aug 2014 10:20:07 -0700 Subject: Video buffering issue In-Reply-To: Message-ID: Any update on this? Using XP and Eprime 2.0.8.90 -- cannot upgrade to newer version of Eprime because of timing issues related to Eprime Extension for Netstation. I downloaded FFDShow and the videos render properly in Codec Config (they are AVIs) but after a few blocks 3-5 I get the same error message (see image). Note I'm only playing 2 videos (around 1600 ms each) interchangeably. On Monday, 14 January 2013 15:43:38 UTC-5, th3rav3n wrote: > > I'm using Windows XP and am having this problem. Some of the smaller video > files seem to work fine (~2-4secs) but none of the larger ones. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/64ca053c-ebba-44bf-bab2-1514aec7f3f5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: photo.JPG Type: image/jpeg Size: 18352 bytes Desc: not available URL: From mspape at cognitology.eu Thu Aug 28 18:39:47 2014 From: mspape at cognitology.eu (=?UTF-8?Q?Michiel_Sovij=C3=A4rvi-Spap=C3=A9?=) Date: Thu, 28 Aug 2014 21:39:47 +0300 Subject: Video buffering issue In-Reply-To: <64ca053c-ebba-44bf-bab2-1514aec7f3f5@googlegroups.com> Message-ID: Hi, This is an informal group, rather than an official support forum, of volunteers, rather than employees – just to point out that one doesn’t always get response. I think in general, people don’t feel obliged to respond to ill-formulated questions to which they are required to fish for more information – unless the solution is extremely straightforward. In any case: * AVI is not a codec, it’s a container format. That means that virtually any type of compressor could have been used (e.g. divx). In other words, it’s about as useful as saying I’m presenting an image (they are PICTURES). Diagnostic steps: * Have you tried: running the experiment on a different computer? * With a new E-Prime version (yeah, I know, Netstation can be a pain like that, but do press them to update their software!) on the same computer? It’s helpful to diagnose whether the problem is an old E-Prime issue. * Have you tried using the same videos in a different “known to work” experiment? (like the sample video experiment) * Have you tried re-compressing the videos to some other codec? There are many that pretty much always work. If you go through these steps, the chance is pretty high you’ll find out what’s the problem. Let us know if you do! BTW: the original “th3rav3n” problem seems to be inability to play long videos – the current issue seems to be short ones instead. Hope that helps! Best, Michiel Dr. Michiel M. Spapé Helsinki Institute for Information Technology HIIT Aalto & Helsinki University Finland ------- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Neuro Cog Lab Sent: 28 August 2014 20:20 To: e-prime at googlegroups.com Subject: Re: Video buffering issue Any update on this? Using XP and Eprime 2.0.8.90 -- cannot upgrade to newer version of Eprime because of timing issues related to Eprime Extension for Netstation. I downloaded FFDShow and the videos render properly in Codec Config (they are AVIs) but after a few blocks 3-5 I get the same error message (see image). Note I'm only playing 2 videos (around 1600 ms each) interchangeably. On Monday, 14 January 2013 15:43:38 UTC-5, th3rav3n wrote: I'm using Windows XP and am having this problem. Some of the smaller video files seem to work fine (~2-4secs) but none of the larger ones. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com . To post to this group, send email to e-prime at googlegroups.com . To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/64ca053c-ebba-44bf-bab2-1514aec7f3f5%40googlegroups.com . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/007e01cfc2ef%24720339a0%245609ace0%24%40cognitology.eu. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mylam8 at gmail.com Thu Aug 28 18:55:24 2014 From: mylam8 at gmail.com (Melanie Lam) Date: Thu, 28 Aug 2014 11:55:24 -0700 Subject: Mac. E-Prime. Keyboard. HELP! In-Reply-To: <89411fd3-d664-4c1d-9bde-ed1eda83baa5@googlegroups.com> Message-ID: Hi Anne-Wil! Thank you for getting back to me. Yes. I made sure to define the allowable response as "h" in this case. I'm really so confused about all this. It runs fine on a PC. Its driving me absolutely mad. I don't understand why it will pick up the key presses when I input the subject # and session # but as soon as I try to move past the Introduction screen using the space bar, it does nothing. So can I ask, you run EPrime through Bootcamp and have been able to use the keyboard as a response device successfully then? Best, Mel On Saturday, 16 August 2014 07:22:49 UTC-3, Anne-Wil wrote: > > Hi Mel, > > Here no problems with mac keyboards. Just a very simply - probably silly- > thought: did you define allowable responses to include {ANY}, [SPACE} or > h? > > best, > > Anne-Wil > > On Friday, 15 August 2014 15:39:16 UTC+1, Melanie Lam wrote: >> >> Hi everyone, >> >> I've successfully loaded E-Prime on my Mac. Using Windows 7 (BootCamp). >> Recognized the dongle key. Check. Loaded E-Studio, E-Data Aid, and E-Run. >> Check. >> >> Here's where I'm losing my mind. I start my experiment. I am able to >> input the subject number, session number. Proceeds to the instruction page. >> Participants are meant to press the Spacebar to move on the next screen. >> The key press is not being detected. I've been playing around with >> different ideas. Maybe, a PC keyboard would resolve it. Nope. Maybe, its >> the Spacebar. I'll change it to the "H" key. Nope. Funny, if I chance the >> response device to the mouse, I can move past the intro screen as the mouse >> click is detected. Then I get to the next screen where they have to choose >> option 1, 2 or 3. Won't detect those keys. >> >> Has anyone run into this problem? Any thoughts or ideas? I'd really >> appreciate it! >> >> Best, >> Mel >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/4e913625-66ef-479a-aaea-ac7b730090f6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mylam8 at gmail.com Thu Aug 28 19:00:14 2014 From: mylam8 at gmail.com (Melanie Lam) Date: Thu, 28 Aug 2014 12:00:14 -0700 Subject: Processing icon won't stop spinning (MAC) Processing icon won't disappear (PC) Message-ID: Hi everyone, New problem (I'm still having the issue with the keyboard if anyone has any new thoughts). When I start the experiment, the processing icon remains on the screen. It just sits there spinning. Mind you, this is on the Mac and it won't move past the first screen when I press the Spacebar which is supposed to allow it to move on. But, I've noticed that it does this on my PC as well. I can run the experiment but I have to move the cursor to the side as it doesn't seem to disappear any more. Has anyone else had this problem and been able to resolve it? Best, Mel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/9cb4a2b6-90bd-485d-a3f5-46d78df23fb5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Thu Aug 28 19:26:05 2014 From: mspape at cognitology.eu (=?UTF-8?Q?Michiel_Sovij=C3=A4rvi-Spap=C3=A9?=) Date: Thu, 28 Aug 2014 22:26:05 +0300 Subject: Processing icon won't stop spinning (MAC) Processing icon won't disappear (PC) In-Reply-To: <9cb4a2b6-90bd-485d-a3f5-46d78df23fb5@googlegroups.com> Message-ID: Hi, Do other (like the examples) experiments work? Otherwise it makes little sense to discuss what may or may not be the problem in your particular experiment. Notice that a mac keyboard works perfectly fine on a PC as well (if it’s USB, partly a Microsoft design btw). As far as I know, you’re the only one around to run E-Prime on a Mac :) You could, of course, pick up an ancient PC with XP or WIN98SE installed with a solid 100 Hz CRT monitor over at most 2nd hand shops and it might be better for your experiment even – I generally take the IT helpdesk’s discarded junk for my lab. I’m just saying this because it might, in the end, be that OSX runs about as well on a “PC” (i.e. a non-mac) as Windows does on a Mac – does its job, but no bells or whistles, while the alternative is cheap and for many reasons of timing, preferred. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Melanie Lam Sent: 28 August 2014 22:00 To: e-prime at googlegroups.com Subject: Processing icon won't stop spinning (MAC) Processing icon won't disappear (PC) Hi everyone, New problem (I'm still having the issue with the keyboard if anyone has any new thoughts). When I start the experiment, the processing icon remains on the screen. It just sits there spinning. Mind you, this is on the Mac and it won't move past the first screen when I press the Spacebar which is supposed to allow it to move on. But, I've noticed that it does this on my PC as well. I can run the experiment but I have to move the cursor to the side as it doesn't seem to disappear any more. Has anyone else had this problem and been able to resolve it? Best, Mel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com . To post to this group, send email to e-prime at googlegroups.com . To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/9cb4a2b6-90bd-485d-a3f5-46d78df23fb5%40googlegroups.com . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/008f01cfc2f5%24e9be4290%24bd3ac7b0%24%40cognitology.eu. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mylam8 at gmail.com Thu Aug 28 19:36:11 2014 From: mylam8 at gmail.com (Melanie Lam) Date: Thu, 28 Aug 2014 12:36:11 -0700 Subject: Mac. E-Prime. Keyboard. HELP! In-Reply-To: Message-ID: A thought...if anyone is who has successfully run an EPrime experiment through Bootcamp on their Mac, I'd love it if you'd be willing to try and run my experiment. I'm sure this is a strange request but I'm wondering if it's my computer. Just an idea. Another thought...would anyone like to send me one of their experiments that they've been successfully able to run that uses the keyboard as a response device? Best, Mel On Friday, 15 August 2014 11:39:16 UTC-3, Melanie Lam wrote: > > Hi everyone, > > I've successfully loaded E-Prime on my Mac. Using Windows 7 (BootCamp). > Recognized the dongle key. Check. Loaded E-Studio, E-Data Aid, and E-Run. > Check. > > Here's where I'm losing my mind. I start my experiment. I am able to input > the subject number, session number. Proceeds to the instruction page. > Participants are meant to press the Spacebar to move on the next screen. > The key press is not being detected. I've been playing around with > different ideas. Maybe, a PC keyboard would resolve it. Nope. Maybe, its > the Spacebar. I'll change it to the "H" key. Nope. Funny, if I chance the > response device to the mouse, I can move past the intro screen as the mouse > click is detected. Then I get to the next screen where they have to choose > option 1, 2 or 3. Won't detect those keys. > > Has anyone run into this problem? Any thoughts or ideas? I'd really > appreciate it! > > Best, > Mel > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a81143f1-f54e-4551-9d54-be42e00c93eb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Aug 28 19:44:11 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 28 Aug 2014 15:44:11 -0400 Subject: Mac. E-Prime. Keyboard. HELP! In-Reply-To: Message-ID: Just curious -- what happens when you try to run the example programs that come with E-Prime (BasicRT, etc.)? (Or did you answer that earlier and I just failed to notice?) Thanks, -- David McFarlane At 8/28/2014 03:36 PM Thursday, Melanie Lam wrote: >A thought...if anyone is who has successfully run an EPrime >experiment through Bootcamp on their Mac, I'd love it if you'd be >willing to try and run my experiment. I'm sure this is a strange >request but I'm wondering if it's my computer. Just an idea. > >Another thought...would anyone like to send me one of their >experiments that they've been successfully able to run that uses the >keyboard as a response device? > >Best, >Mel > >On Friday, 15 August 2014 11:39:16 UTC-3, Melanie Lam wrote: >Hi everyone, > >I've successfully loaded E-Prime on my Mac. Using Windows 7 >(BootCamp). Recognized the dongle key. Check. Loaded E-Studio, >E-Data Aid, and E-Run. Check. > >Here's where I'm losing my mind. I start my experiment. I am able to >input the subject number, session number. Proceeds to the >instruction page. Participants are meant to press the Spacebar to >move on the next screen. The key press is not being detected. I've >been playing around with different ideas. Maybe, a PC keyboard would >resolve it. Nope. Maybe, its the Spacebar. I'll change it to the "H" >key. Nope. Funny, if I chance the response device to the mouse, I >can move past the intro screen as the mouse click is detected. Then >I get to the next screen where they have to choose option 1, 2 or 3. >Won't detect those keys. > >Has anyone run into this problem? Any thoughts or ideas? I'd really >appreciate it! > >Best, >Mel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53ff869d.1243320a.09e3.3fe0SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Thu Aug 28 20:13:58 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 28 Aug 2014 16:13:58 -0400 Subject: Video buffering issue In-Reply-To: <64ca053c-ebba-44bf-bab2-1514aec7f3f5@googlegroups.com> Message-ID: Ah, the old "sound timed out" error, if you search the Group for that you will find other threads that explore it. We used to get that all the time when running sound or video with EP2.0.8 under Windows Vista or 7, but never with Windows XP, so I have no ideas to help you, just passing along this bit of background information. PST seems to have fixed this in EP2.0.10, but as you said you must stay back at EP2.0.8 to work with the Netstation Package. Sorry. You might try contacting PST Support. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/28/2014 01:20 PM Thursday, Neuro Cog Lab wrote: >Any update on this? Using XP and Eprime 2.0.8.90 -- cannot upgrade >to newer version of Eprime because of timing issues related to >Eprime Extension for Netstation. I downloaded FFDShow and the videos >render properly in Codec Config (they are AVIs) but after a few >blocks 3-5 I get the same error message (see image). Note I'm only >playing 2 videos (around 1600 ms each) interchangeably. > > > >On Monday, 14 January 2013 15:43:38 UTC-5, th3rav3n wrote: >I'm using Windows XP and am having this problem. Some of the smaller >video files seem to work fine (~2-4secs) but none of the larger ones. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53ff8d99.1243320a.09e3.403dSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mylam8 at gmail.com Fri Aug 29 00:44:48 2014 From: mylam8 at gmail.com (Melanie Lam) Date: Thu, 28 Aug 2014 17:44:48 -0700 Subject: Processing icon won't stop spinning (MAC) Processing icon won't disappear (PC) In-Reply-To: <9cb4a2b6-90bd-485d-a3f5-46d78df23fb5@googlegroups.com> Message-ID: Hi Michiel! Thanks so much for responding. I have resolved the "processing icon remaining on the screen" issue (I enabled the mouse and then turned the "show cursor" to off. FIXED! I appreciate your suggests and advice :) In the past, I have always run EPrime off of a PC. Unfortunately, my lab has been equipped with 10 pretty much brand new Mac computers, for which I am EXTREMELY grateful. So, I had no choice but to get them loaded with Bootcamp in hopes that my experiments could still run off there. I've tried running the 6 different experiments that I have created (which work fine on a PC). I've tried running the sample experiments offered by EPrime. When the keyboard is set as the response device, it does not work. As mentioned, I can input the subject number and session number using the keyboard. But after that, the experiment does not seem to detect the key presses. I'm at a total lost. I've tried everything. PC keyboard. Update drivers..... Thoughts? Best, Mel On Thursday, 28 August 2014 16:00:14 UTC-3, Melanie Lam wrote: > > Hi everyone, > > New problem (I'm still having the issue with the keyboard if anyone has > any new thoughts). When I start the experiment, the processing icon remains > on the screen. It just sits there spinning. Mind you, this is on the Mac > and it won't move past the first screen when I press the Spacebar which is > supposed to allow it to move on. > > But, I've noticed that it does this on my PC as well. I can run the > experiment but I have to move the cursor to the side as it doesn't seem to > disappear any more. Has anyone else had this problem and been able to > resolve it? > > Best, > Mel > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/3b0fda52-f90c-45b5-bce8-fd6a5e4692cc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mylam8 at gmail.com Fri Aug 29 00:52:28 2014 From: mylam8 at gmail.com (Melanie Lam) Date: Thu, 28 Aug 2014 17:52:28 -0700 Subject: Mac. E-Prime. Keyboard. HELP! In-Reply-To: <53ff869d.1243320a.09e3.3fe0SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David! Great question. No, I didn't answer that earlier. Funny enough, something I tried today. Ran the Basic RT program. Didn't work. I'm at a complete loss. My colleague just loaded the experiment I programmed on his PCs for his lab (at another university). Ran no problem. I've even tried just one text event that required a "G" key press. Nothing. I'm thinking it has something to do with the key code translation maybe from Mac to PC? When I try and exit the EPrime experiment using Control, Alt, Shift, it won't quit. Instead I have to Control, Alt, Delete to get out of the program. Thoughts? Best, Mel On Thursday, 28 August 2014 16:44:32 UTC-3, McFarlane, David wrote: > > Just curious -- what happens when you try to run the example programs > that come with E-Prime (BasicRT, etc.)? (Or did you answer that > earlier and I just failed to notice?) > > Thanks, > -- David McFarlane > > > At 8/28/2014 03:36 PM Thursday, Melanie Lam wrote: > >A thought...if anyone is who has successfully run an EPrime > >experiment through Bootcamp on their Mac, I'd love it if you'd be > >willing to try and run my experiment. I'm sure this is a strange > >request but I'm wondering if it's my computer. Just an idea. > > > >Another thought...would anyone like to send me one of their > >experiments that they've been successfully able to run that uses the > >keyboard as a response device? > > > >Best, > >Mel > > > >On Friday, 15 August 2014 11:39:16 UTC-3, Melanie Lam wrote: > >Hi everyone, > > > >I've successfully loaded E-Prime on my Mac. Using Windows 7 > >(BootCamp). Recognized the dongle key. Check. Loaded E-Studio, > >E-Data Aid, and E-Run. Check. > > > >Here's where I'm losing my mind. I start my experiment. I am able to > >input the subject number, session number. Proceeds to the > >instruction page. Participants are meant to press the Spacebar to > >move on the next screen. The key press is not being detected. I've > >been playing around with different ideas. Maybe, a PC keyboard would > >resolve it. Nope. Maybe, its the Spacebar. I'll change it to the "H" > >key. Nope. Funny, if I chance the response device to the mouse, I > >can move past the intro screen as the mouse click is detected. Then > >I get to the next screen where they have to choose option 1, 2 or 3. > >Won't detect those keys. > > > >Has anyone run into this problem? Any thoughts or ideas? I'd really > >appreciate it! > > > >Best, > >Mel > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/fa597bce-2a15-4ca1-b4be-5175e540eb19%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Fri Aug 29 11:54:19 2014 From: mspape at cognitology.eu (Cognitology) Date: Fri, 29 Aug 2014 14:54:19 +0300 Subject: Displaying a countdown timer for participants In-Reply-To: <03f101cfc20f$7fdaafd0$7f900f70$@eu> Message-ID: Hi, Oops, correction: 1. Have a textDisplay, we call it PreText, duration 1, timelimit 10000 (or end of procedure, that also works). Add keyboard. 2. Add inline after this PreText: '--------- Dim cnvs As canvas Dim percdone As Integer Set cnvs = Display.Canvas cnvs.PenColor = CColor("black") cnvs.FillColor = CColor("white") cnvs.Rectangle Display.Xres / 2-100,Display.Yres / 2-10, 200, 20 'draw bar cnvs.FillColor = CColor("red") Do 'specially for David McFarlane, I'd use WHILE sneakily percdone = (clock.read - PreText.OnsetTime) / 100 cnvs.Rectangle Display.Xres / 2-100,Display.Yres / 2-10, 2*percdone, 20 'draw filler sleep 10 Loop Until ((clock.read - PreText.OnsetTime) > 10000) Or PreText.RESP <> "" 'because loop until sounds silly. '---------- It works in EP2, probably in 1 as well. It shows a bar for 10 s, overlaying with whatever is on the screen (make PreText transparent for more options), and shows until end of response or end of 10s. -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Cognitology Sent: 27. August 2014 18:57 To: e-prime at googlegroups.com Subject: RE: Displaying a countdown timer for participants Hi, I'm not sure whether this would serve as a countdowntimer in the absence of the Real Deal, but here's a quick and dirty way of drawing a progressbar (the reverse of a countdown, easily fixed). 1. Have a textDisplay, we call it TextDisplay1, duration 1, timelimit 10000 (or end of procedure, that also works). Add keyboard. 2. Add inline after this textDisplay: '--------- Dim cnvs As canvas Dim percdone As Integer Set cnvs = Display.Canvas cnvs.PenColor = CColor("black") cnvs.FillColor = CColor("white") cnvs.Rectangle Display.Xres / 2-100,Display.Yres / 2-10, 200, 20 'draw bar cnvs.FillColor = CColor("red") Do 'specially for David McFarlane, I'd use WHILE sneakily percdone = (clock.read - textdisplay2.OnsetTime) / 100 cnvs.Rectangle Display.Xres / 2-100,Display.Yres / 2-10, 2*percdone, 20 'draw filler sleep 10 Loop Until ((clock.read - textdisplay1.OnsetTime) > 10000) Or TextDisplay2.RESP <> "" 'because loop until sounds silly. '---------- It works in EP2, probably in 1 as well. It shows a bar for 10 s, overlaying with whatever is on the screen (make textdisplay1 transparent for more options), and shows until end of response or end of 10s. It's not fantastic, I just wrote this in a few minutes. I'm not sure, for instance, if sleep 10 is necessary, for instance - if memory serves, EP2 always adds a display.waitforverticleblank after canvas operations. Best, Michiel Michiel Sovijärvi-Spapé Helsinki Institute for Information Technology HIIT Aalto & Helsinki University Finland -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of David McFarlane Sent: 21. August 2014 23:06 To: e-prime at googlegroups.com Subject: Re: Displaying a countdown timer for participants Natalia, Indeed, Matt Lenhart from PST posted that file to the Group over 6 years ago, back when Google Groups included a files section. Google Groups has since discontinued that feature. But you may still download that example directly from the PST website. You will need to register and login there first in order to get to the Sample Programs area. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/19/2014 09:22 PM Tuesday, sunnygu wrote: >Dear Natalia, >As far as I know, I think there is no file >download section and you can try in PST >community since this is a discussion forum. And >I may suppose you can try gettimer function in >eprime or search timer in help for ebasic to see >if there is any function you can use. >My best, > >Sally > >å ‘è‡ªæˆ‘çš„ iPhone > >在 >2014å¹´8月20æ—¥ï¼Œä¸Šå ˆ8:26,yakunina at gmail.com >å†™é “ï¼š > >>Hello Matt, >> >>I'm sorry if it's a dumb question, but where >>can I download the sample CountDownClock.es? >>I'm new to this group and I couldn't find files >>section. And I'm in desperate need of the countdown timer :) >> >>Thank you! >>Natalia >> >>On Thursday, April 17, 2008 2:37:44 AM UTC+9, Matt wrote: >>Hello, >> >>Ben's advice is very good and is the method we would recommend. I have >>added our formal sample >>(CountDownClock.es) to the Files section of >>this group for reference. If you have any questions, please let me >>know. >> >>Sincerely, >>Matt Lenhart >>PST Technical Consultant >>http://pstnet.com -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f65118.61e1320a.6681.24f8SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/03f101cfc20f%247fdaafd0%247f900f70%24%40eu. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/008001cfc37f%24f79edc00%24e6dc9400%24%40eu. For more options, visit https://groups.google.com/d/optout. From raaron47 at gmail.com Fri Aug 29 14:04:07 2014 From: raaron47 at gmail.com (Rachel Aaron) Date: Fri, 29 Aug 2014 07:04:07 -0700 Subject: Error 11093: "Unable to buffer movie" Message-ID: Hi there, I'm working on a program that displays clips from 14 different videos, followed by a series of questions. The videos range from 8s - 4 minutes 7 seconds, in sizes 298 KB - 43786 KB. The videos are all located within one List Object. When I run the experiment, I always get Error 11093: "Unable to buffer movie." The odd thing is that every time I run the experiment, the error occurs at a different time (after 5 movies, after 8 movies, etc.), even when they order is the same. I've ensured that all clips play by switching the order of the video in the List Object. I can't figure out a consistent reason why this error is occurring, the length, number, and size of videos that play is different every time. I've gone back and forth with eprime support many times trying to figure this error out, but haven't solved anything yet? Any thoughts from the eprime community? Many thanks, Rachel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5dd3bb75-de69-44a5-b6bb-befd558726e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Aug 29 14:18:15 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 29 Aug 2014 10:18:15 -0400 Subject: Error 11093: "Unable to buffer movie" In-Reply-To: <5dd3bb75-de69-44a5-b6bb-befd558726e5@googlegroups.com> Message-ID: Hmm, putting "e-prime error 11093" into Google reveals that this very question was asked here on 12 Feb 2014, https://groups.google.com/d/topic/e-prime/kPm3uvuiraI , and got no replies then. Not very hopeful, I'm afraid. We had similar problems last year with a very simple movie-playing program, never did figure it out. We finally switched that experiment to PsychoPy, and still had problems with the codecs there. Once we straightened out codecs it all worked in PsychoPy, and for all I know if we were to go back to E-Prime those movie files would now work there. So when I see these problems, I always think codecs. Just my US$.02, -- David McFarlane At 8/29/2014 10:04 AM Friday, Rachel Aaron wrote: >Hi there, > >I'm working on a program that displays clips from 14 different >videos, followed by a series of questions. The videos range from 8s >- 4 minutes 7 seconds, in sizes 298 KB - 43786 KB. The videos are >all located within one List Object. When I run the experiment, I >always get Error 11093: "Unable to buffer movie." The odd thing is >that every time I run the experiment, the error occurs at a >different time (after 5 movies, after 8 movies, etc.), even when >they order is the same. I've ensured that all clips play by >switching the order of the video in the List Object. I can't figure >out a consistent reason why this error is occurring, the length, >number, and size of videos that play is different every time. > >I've gone back and forth with eprime support many times trying to >figure this error out, but haven't solved anything yet? Any >thoughts from the eprime community? > >Many thanks, >Rachel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/54008bb7.4946320a.4bb9.00bcSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From d.vinson at ucl.ac.uk Fri Aug 29 14:32:49 2014 From: d.vinson at ucl.ac.uk (David Vinson) Date: Fri, 29 Aug 2014 15:32:49 +0100 Subject: Error 11093: "Unable to buffer movie" In-Reply-To: <5dd3bb75-de69-44a5-b6bb-befd558726e5@googlegroups.com> Message-ID: Hi Rachel, We've had some similar issues over the years using video: unpredictable but frequent buffer errors or crashes. Although we never exactly identified the cause (quite possibly: related to HD access times), we managed to practically eliminate the occurrence by always preloading video clips before they need to be displayed (ie first event of a trial Procedure), and wherever possible, building in a bit of extra time between one video clip and the next. We also found this problem was hardware dependent, some PCs being really bad and others, not so bad. And finally, it might possibly be reduced by loading videos from a second internal HD that was not being used for caching etc. (although this may just have been superstitious conclusions on our part). Once we had something that looked like it might be working, we set up a stress test: auto-running experiment that displayed our videos up to ~1000 times each, with the same timing we planned to use in our experiment (logging data). This way we could let it go on its own, and in the event of buffer/crash problems, inspect the data .txt file to see how many trials it went before running into problems. Successful autoruns on this scale gave us a lot more confidence that we could trust our experiments to real participants. Preloading videos: can be done like the ImageDisplay example at the bottom of this page: http://imaging.mrc-cbu.cam.ac.uk/imaging/EprimeTiming Finally, we did get some good advice from PST Support about video codecs (after a long dead-end trying various codec-based solutions, we eventually cleared them all out and went back to a fresh install of E-Prime). Good luck, David V On 29/08/2014 15:04, Rachel Aaron wrote: > Hi there, > > I'm working on a program that displays clips from 14 different videos, > followed by a series of questions. The videos range from 8s - 4 > minutes 7 seconds, in sizes 298 KB - 43786 KB. The videos are all > located within one List Object. When I run the experiment, I always > get Error 11093: "Unable to buffer movie." The odd thing is that every > time I run the experiment, the error occurs at a different time (after > 5 movies, after 8 movies, etc.), even when they order is the same. > I've ensured that all clips play by switching the order of the video > in the List Object. I can't figure out a consistent reason why this > error is occurring, the length, number, and size of videos that play > is different every time. > > I've gone back and forth with eprime support many times trying to > figure this error out, but haven't solved anything yet? Any thoughts > from the eprime community? > > Many thanks, > Rachel > -- > You received this message because you are subscribed to the Google > Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to e-prime+unsubscribe at googlegroups.com > . > To post to this group, send email to e-prime at googlegroups.com > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/5dd3bb75-de69-44a5-b6bb-befd558726e5%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. -- David Vinson, Ph.D. ESRC Research Fellow Experimental Psychology University College London 26 Bedford Way, London WC1H 0AP Tel +44 (0)20 7679 5311 (UCL internal ext. 25311) -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/54008F11.5080102%40ucl.ac.uk. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryanblything at gmail.com Sat Aug 30 21:05:53 2014 From: ryanblything at gmail.com (Ryan Blything) Date: Sat, 30 Aug 2014 14:05:53 -0700 Subject: Eprime triggers to EEG out of sync In-Reply-To: Message-ID: Hi everyone, I came across this post because I am going to be trying a similar thing in my experiment such that we will be using e-prime v.1 to present audio stimuli and we are interested in setting markers so that they are not just at the onset of stimuli - but also at a number of specific points in each sentence (e.g. onset of the verb, noun, preposition). This would require having several markers for each trial and Im wondering about the best way to go about this? One way is through code but no one seems to have managed to do this successfully that Im aware of. How did it go for any of you? Im quite new to e-prime and SPM (which we will use to analyse data) so I would appreciate any advice before I continue. An alternative option Ive heard about is post-hoc labelling, which would be done in SPM, post-hoc working from the onset triggers provided by e-prime (and psuedo-marking points later in the sentence). Im not very familiar with SPM but am I right in thinking that as long as the onset of the sentence is marked accurately, then we can - post hoc - set markers anywhere we want in the data thereafter? This may be the most ideal solution because I have 200 sentences, each of which must be labelled separately (so that I can recognise each one). Apparently e-prime is limited to sending out 250 labels so perhaps post-hoc multiple labelling is the answer. I would appreciate any thoughts any of you may have. Many Thanks, Ryan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/30ec6632-8759-4931-ba0a-5857cf50c506%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From arminka.jan at gmail.com Sun Aug 31 11:28:40 2014 From: arminka.jan at gmail.com (armina) Date: Sun, 31 Aug 2014 04:28:40 -0700 Subject: Eprime triggers to EEG out of sync In-Reply-To: <30ec6632-8759-4931-ba0a-5857cf50c506@googlegroups.com> Message-ID: Hi Ryan, A few years ago we did it, it's quite simple. Now I am far from my working place and from the needed computer so I cannot tell you the exact InLine and the rest but the idea is the following. We've sent TTL signals from the lamps (you have 5 lamps on the SRB, just flash/sleep them). Each lamp signal was going to a separate channel. So, you have 5 channels to code/mark whatever you want. You may vary duration of the signal, number of the signals, duration between the TTL signals, and the channel. it gives you practically unlimited number of different markers :) you can have several markers for each trial and you never get lost in them. each channel can be set for something particular, say, one channel for sentence onset, another for specific components within the sentence (with each component having its specific marker), etc. This system was easy to structure and to use. Hope it helps. good luck, armina On Sunday, 31 August 2014 00:05:53 UTC+3, Ryan Blything wrote: > > Hi everyone, > > I came across this post because I am going to be trying a similar thing in > my experiment such that we will be using e-prime v.1 to present audio > stimuli and we are interested in setting markers so that they are not > just at the onset of stimuli - but also at a number of specific points in > each sentence (e.g. onset of the verb, noun, preposition). This would > require having several markers for each trial and Im wondering about the > best way to go about this? One way is through code but no one seems to have > managed to do this successfully that Im aware of. How did it go for any of > you? Im quite new to e-prime and SPM (which we will use to analyse data) so > I would appreciate any advice before I continue. > > An alternative option Ive heard about is post-hoc labelling, which would > be done in SPM, post-hoc working from the onset triggers provided by > e-prime (and psuedo-marking points later in the sentence). Im not very > familiar with SPM but am I right in thinking that as long as the onset of > the sentence is marked accurately, then we can - post hoc - set markers > anywhere we want in the data thereafter? This may be the most ideal > solution because I have 200 sentences, each of which must be labelled > separately (so that I can recognise each one). Apparently e-prime is > limited to sending out 250 labels so perhaps post-hoc multiple labelling is > the answer. I would appreciate any thoughts any of you may have. > > Many Thanks, > Ryan > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/4e6b3a82-db1f-47e6-a117-4b295c554620%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Sun Aug 31 18:03:34 2014 From: mspape at cognitology.eu (=?UTF-8?Q?Michiel_Sovij=C3=A4rvi-Spap=C3=A9?=) Date: Sun, 31 Aug 2014 21:03:34 +0300 Subject: Eprime triggers to EEG out of sync In-Reply-To: <4e6b3a82-db1f-47e6-a117-4b295c554620@googlegroups.com> Message-ID: Hi Ryan, et al., What is “this post”? AFAIK, most people have successfully sent triggers using E-Prime (that’s probably why there are few messages suggesting anything else!), accurately timed, and indeed, the number of publications with EEG and E-Prime must be in the hundreds by now. I have never had a problem with out of sync triggers myself. In general, you always set triggers, and the software used for recoding is insignificant – of course you can change them with MATLAB (using whatever toolbox, e.g. SPM, EEGLAB), but that doesn’t change timing. In general, any EEG amp worth its salt will come with dedicated E-Prime packaged – find them on their website. In other words: post-hoc labelling isn’t an alternative: it’s just a way that you change “124” – the byte sent over parallel port, for instance, to “Stimulus Onset, VERB”. In general, I use two types of triggers: *Timing critical: particularly onset of the stimulus. You can use the “.onsetsignalenabled” (not sure about the exact phrase, being out of office at the moment) and so on for that (search here or elsewhere). Only needs to be a bit – the stimulus is ON NOW. This you need to code before the stimulus X happens (e.g. X.onsetsignalenabled). E-Prime then ensures the trigger is sent at the time the monitor refreshes, rather than at some other odd moment that isn’t related to the stimulus. *Timing non-critical: data, in other words. I send loads of data nowadays with the following: Writeport outport, 254 Sleep 1 ‘sleep is necessary because triggers can overwrite one another. ‘…Then start writing all sorts of more bytes For i = 2 to 100, Writeport outport, i Sleep 1 Writeport outport, 0 ‘to avoid problems with repetitions. Sleep 1 Next i ‘ Ending with Writeport outport, 255 (search for outport elsewhere). The deal is that afterwards, you concatenate the data in between (the …then start writing bit, here resulting in trigger values 2 to 100 being send), so that basically, you can afterwards always recode the Timing critical event using the triggers that precede it. Hope that helps. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of armina Sent: 31 August 2014 14:29 To: e-prime at googlegroups.com Subject: Re: Eprime triggers to EEG out of sync Hi Ryan, A few years ago we did it, it's quite simple. Now I am far from my working place and from the needed computer so I cannot tell you the exact InLine and the rest but the idea is the following. We've sent TTL signals from the lamps (you have 5 lamps on the SRB, just flash/sleep them). Each lamp signal was going to a separate channel. So, you have 5 channels to code/mark whatever you want. You may vary duration of the signal, number of the signals, duration between the TTL signals, and the channel. it gives you practically unlimited number of different markers :) you can have several markers for each trial and you never get lost in them. each channel can be set for something particular, say, one channel for sentence onset, another for specific components within the sentence (with each component having its specific marker), etc. This system was easy to structure and to use. Hope it helps. good luck, armina On Sunday, 31 August 2014 00:05:53 UTC+3, Ryan Blything wrote: Hi everyone, I came across this post because I am going to be trying a similar thing in my experiment such that we will be using e-prime v.1 to present audio stimuli and we are interested in setting markers so that they are not just at the onset of stimuli - but also at a number of specific points in each sentence (e.g. onset of the verb, noun, preposition). This would require having several markers for each trial and Im wondering about the best way to go about this? One way is through code but no one seems to have managed to do this successfully that Im aware of. How did it go for any of you? Im quite new to e-prime and SPM (which we will use to analyse data) so I would appreciate any advice before I continue. An alternative option Ive heard about is post-hoc labelling, which would be done in SPM, post-hoc working from the onset triggers provided by e-prime (and psuedo-marking points later in the sentence). Im not very familiar with SPM but am I right in thinking that as long as the onset of the sentence is marked accurately, then we can - post hoc - set markers anywhere we want in the data thereafter? This may be the most ideal solution because I have 200 sentences, each of which must be labelled separately (so that I can recognise each one). Apparently e-prime is limited to sending out 250 labels so perhaps post-hoc multiple labelling is the answer. I would appreciate any thoughts any of you may have. Many Thanks, Ryan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com . To post to this group, send email to e-prime at googlegroups.com . To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/4e6b3a82-db1f-47e6-a117-4b295c554620%40googlegroups.com . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/001001cfc545%24f01afeb0%24d050fc10%24%40cognitology.eu. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Fri Aug 1 07:45:57 2014 From: mspape at cognitology.eu (=?iso-8859-1?Q?Michiel_Sovij=E4rvi-Spap=E9?=) Date: Fri, 1 Aug 2014 10:45:57 +0300 Subject: Does SRBOX/Microphone setup effect RTs? In-Reply-To: <53da6781.0419320a.2b1c.ffff8c0cSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi, Wouldn't the use of two (perhaps even taped together) microphones make a lot more sense? Given that these do very different things: record onset of audio vs record audio, I can think of few reasons why these would need to be very exactly synchronised - apart from that warm feeling we all get from hyper precise timing, obviously! Anyway, the benefit would be that the audio microphone can then be a very good, studio quality, microphone, rather than the SRBox voicekey one which I don't think was really built for audio analysis. Second, it makes from an audio engineer's point of view some sense to direct microphone's different (e.g. a little underneath the mouth). Third, you could use the onset of the SRBox voicekey as a trigger to start an audio input object. Finally: you could always try to sync the data offline if you send out a tone (e.g. at >20 Khz) at the onset of your critical stimulus, then write a bit* of matlab code to calculate the distance between beeps and first human vocal range (0.5I have a question regarding using a microphone for measuring RT and >audio input for a battery I am working on. > >I am debating on whether using a audio splitter (a y cable) to send the >signal to the SRBOX and the computer's recording device vs. >using two microphones. If I choose to use two microphones, this creates >extra environmental stimuli, would make positioning the microphones and >testing the setup in the middle of data collection very time consumming >(I am using non SRBOX tasks and SRBOX tasks that have a set order), >this might create inconsistencies with data collection (each individual >has a slightly different positioning, sound doesn't capture, etc), and >the whole experience might be overwhelming for the participant. On the >other hand, using the splitter would eliminate this issue, but I am not >sure if there would result in differences in RT logged by E-Prime (this >would be in ms and could make or break our outcomes). > >Does setup (using a splitter vs. two microphones) effect reaction time? >I would be interested to know if anyone has looked into this, had any >experience using either setup, or measured this. Feel free to let me >know or tell me I am overthinking this. > >Thanks, > >David -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53da6781.0419320a.2b1c.ffff8c0cSMT PIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/00d601cfad5c%24a231e890%24e695b9b0%24%40cognitology.eu. For more options, visit https://groups.google.com/d/optout. From noam.schneck at gmail.com Fri Aug 1 16:23:51 2014 From: noam.schneck at gmail.com (Noam Schneck) Date: Fri, 1 Aug 2014 09:23:51 -0700 Subject: Nested List Not Following Selection Rules Message-ID: Hi All, I have a task in which a slide object is used to present four words (Positive1, Positive2, Negative1, Negative2). Each word is selected randomly from a list that contains 85 words in total. This list "Wordlist" is nested into the master list. I am trying to set the wordlist so that no words will repeat within a block (24 runs) but that they can repeat across blocks. I set the parameters of the wordlist to random selection with replacement after reset. I set the reset at 24 samples. HOWEVER....E-prime seems to have a different plan. When I run a test on the task I find that the program goes through the first 3 blocks (72 samples) without ever repeating a single word and than in the fourth block it begins repeating words within the block. I cannot figure out why this is happening and I have attached the experiment file. Please help! Noam -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/37451b6e-1767-4ace-bd1d-a808405c42f3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: task_block1.es2 Type: application/octet-stream Size: 208900 bytes Desc: not available URL: From tamiskovich at gmail.com Fri Aug 1 17:30:31 2014 From: tamiskovich at gmail.com (tamiskovich at gmail.com) Date: Fri, 1 Aug 2014 10:30:31 -0700 Subject: Help with Randomization of Non-Overlapping Images In-Reply-To: Message-ID: Does anyone have any suggestions on this? I'm stuck on this and eprime support directed me here. Tara On Monday, July 28, 2014 3:43:33 PM UTC-5, Tara Miskovich wrote: > > Hello, > > I am working on having 4 images randomly places within a rectangular > region without overlapping. I wrote the code below, and it appears to be > working with up to Image 3 added, but when I add in the forth image the > program freezes. I am hoping for some guidance with what to try next or how > to get past this. Here is the code I wrote to randomize the x and y > location for each image. > > Thanks! > Tara > > Dim x1 As Integer > Dim x2 As Integer > Dim x3 As Integer > Dim x4 As Integer > Dim y1 As Integer > Dim y2 As Integer > Dim y3 As Integer > Dim y4 As Integer > > x1 = random(36, 42) > y1 = random(38, 60) > > Do > x2 = random(36, 42) > y2 = random(38, 60) > x3 = random(36, 42) > y3 = random(38, 60) > x4 = random(36, 42) > y4 = random(38, 60) > > > Loop While (x2 = x1 Or x2 = x1 + 1 Or x2 = x1+2 Or x2 = x1 - 1 Or x2 = x1 > - 2 _ > And y2 = y1 Or y2 = y1 + 1 Or y2 = y1 + 2 Or y2 = y1 + 3 Or y2 = y1 - 1 Or > y2 = y1 - 2 Or y2 = y1 - 3)_ > Or (x3 = x1 Or x3 = x1 + 1 Or x3 = x1+2 Or x3 = x1 - 1 Or x3 = x1 - 2 _ > And y3 = y1 Or y3 = y1 + 1 Or y3 = y1 + 2 Or y3 = y1 + 3 Or y3 = y1 - 1 Or > y3 = y1 - 2 Or y3 = y1 - 3)_ > Or (x3 = x2 Or x3 = x2 + 1 Or x3 = x2+2 Or x3 = x2 - 1 Or x3 = x2 - 2 _ > And y3 = y2 Or y3 = y2 + 1 Or y3 = y2 + 2 Or y3 = y2 + 3 Or y3 = y2 - 1 Or > y3 = y2 - 2 Or y3 = y2 - 3)_ > or (x4 = x1 Or x4 = x1 + 1 Or x4 = x1+2 Or x4 = x1 - 1 Or x4 = x1 - 2 _ > And y4 = y1 Or y4 = y1 + 1 Or y4 = y1 + 2 Or y4 = y1 + 3 Or y4 = y1 - 1 Or > y4 = y1 - 2 Or y4 = y1 - 3)_ > Or (x4 = x2 Or x4 = x2 + 1 Or x4 = x2 + 2 Or x4 = x2 - 1 Or x4 = x2 - 2 _ > And y4 = y2 Or y4 = y2 + 1 Or y4 = y2 + 2 Or y4 = y2 + 3 Or y4 = y2 - 1 Or > y4 = y2 - 2 Or y4 = y2 - 3)_ > Or (x4 = x3 Or x4 = x3 + 1 Or x4 = x3 + 2 Or x4 = x3 - 1 Or x4 = x3 - 2 _ > And y4 = y3 Or y4 = y3 + 1 Or y4 = y3 + 2 Or y4 = y3 + 3 Or y4 = y3 - 1 Or > y4 = y3 - 2 Or y4 = y3 - 3) > > c.SetAttrib "x1", x1 > c.SetAttrib "x2", x2 > c.SetAttrib "x3", x3 > c.SetAttrib "x4", x4 > c.SetAttrib "y1", y1 > c.SetAttrib "y2", y2 > c.SetAttrib "y3", y3 > c.SetAttrib "y4", y4 > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8d0ddea8-f54e-4a98-a006-cdcbed5cc8ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.vinson at ucl.ac.uk Fri Aug 1 17:54:23 2014 From: d.vinson at ucl.ac.uk (Vinson, David) Date: Fri, 1 Aug 2014 17:54:23 +0000 Subject: Help with Randomization of Non-Overlapping Images In-Reply-To: <8d0ddea8-f54e-4a98-a006-cdcbed5cc8ce@googlegroups.com> Message-ID: I suspect you didn't get any replies before due the impressively complicated set of OR statements in that loop. I suspect the problem is there somewhere but imagine it world be a nightmare to track it down. My guess is the loop never exits, whether due to an error or impossible constraints. What if instead you enumerated the possible legal combinations of positions in a nested List and then just sampled one of them per trial? Good luck, David V ----- Reply message ----- From: "tamiskovich at gmail.com" To: "e-prime at googlegroups.com" Subject: Help with Randomization of Non-Overlapping Images Date: Fri, Aug 1, 2014 6:30 pm Does anyone have any suggestions on this? I'm stuck on this and eprime support directed me here. Tara On Monday, July 28, 2014 3:43:33 PM UTC-5, Tara Miskovich wrote: Hello, I am working on having 4 images randomly places within a rectangular region without overlapping. I wrote the code below, and it appears to be working with up to Image 3 added, but when I add in the forth image the program freezes. I am hoping for some guidance with what to try next or how to get past this. Here is the code I wrote to randomize the x and y location for each image. Thanks! Tara Dim x1 As Integer Dim x2 As Integer Dim x3 As Integer Dim x4 As Integer Dim y1 As Integer Dim y2 As Integer Dim y3 As Integer Dim y4 As Integer x1 = random(36, 42) y1 = random(38, 60) Do x2 = random(36, 42) y2 = random(38, 60) x3 = random(36, 42) y3 = random(38, 60) x4 = random(36, 42) y4 = random(38, 60) Loop While (x2 = x1 Or x2 = x1 + 1 Or x2 = x1+2 Or x2 = x1 - 1 Or x2 = x1 - 2 _ And y2 = y1 Or y2 = y1 + 1 Or y2 = y1 + 2 Or y2 = y1 + 3 Or y2 = y1 - 1 Or y2 = y1 - 2 Or y2 = y1 - 3)_ Or (x3 = x1 Or x3 = x1 + 1 Or x3 = x1+2 Or x3 = x1 - 1 Or x3 = x1 - 2 _ And y3 = y1 Or y3 = y1 + 1 Or y3 = y1 + 2 Or y3 = y1 + 3 Or y3 = y1 - 1 Or y3 = y1 - 2 Or y3 = y1 - 3)_ Or (x3 = x2 Or x3 = x2 + 1 Or x3 = x2+2 Or x3 = x2 - 1 Or x3 = x2 - 2 _ And y3 = y2 Or y3 = y2 + 1 Or y3 = y2 + 2 Or y3 = y2 + 3 Or y3 = y2 - 1 Or y3 = y2 - 2 Or y3 = y2 - 3)_ or (x4 = x1 Or x4 = x1 + 1 Or x4 = x1+2 Or x4 = x1 - 1 Or x4 = x1 - 2 _ And y4 = y1 Or y4 = y1 + 1 Or y4 = y1 + 2 Or y4 = y1 + 3 Or y4 = y1 - 1 Or y4 = y1 - 2 Or y4 = y1 - 3)_ Or (x4 = x2 Or x4 = x2 + 1 Or x4 = x2 + 2 Or x4 = x2 - 1 Or x4 = x2 - 2 _ And y4 = y2 Or y4 = y2 + 1 Or y4 = y2 + 2 Or y4 = y2 + 3 Or y4 = y2 - 1 Or y4 = y2 - 2 Or y4 = y2 - 3)_ Or (x4 = x3 Or x4 = x3 + 1 Or x4 = x3 + 2 Or x4 = x3 - 1 Or x4 = x3 - 2 _ And y4 = y3 Or y4 = y3 + 1 Or y4 = y3 + 2 Or y4 = y3 + 3 Or y4 = y3 - 1 Or y4 = y3 - 2 Or y4 = y3 - 3) c.SetAttrib "x1", x1 c.SetAttrib "x2", x2 c.SetAttrib "x3", x3 c.SetAttrib "x4", x4 c.SetAttrib "y1", y1 c.SetAttrib "y2", y2 c.SetAttrib "y3", y3 c.SetAttrib "y4", y4 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8d0ddea8-f54e-4a98-a006-cdcbed5cc8ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/B628F720-33AE-48CB-B973-CA5AA81AC8E3%40ucl.ac.uk. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tamiskovich at gmail.com Fri Aug 1 21:43:21 2014 From: tamiskovich at gmail.com (tamiskovich at gmail.com) Date: Fri, 1 Aug 2014 14:43:21 -0700 Subject: Help with Randomization of Non-Overlapping Images In-Reply-To: Message-ID: Thanks for your response David. That is what I was afraid of. Eprime support said it should work in theory, but seems as though it keeps getting stuck when I add in the forth image. I am trying to list all the combinations as well, it is just proving to be a huge task, for there are an enormous amount of possible combinations. I was hoping that this would make coding much quicker and truly random. Tara On Friday, August 1, 2014 12:54:35 PM UTC-5, Vinson, David: UCL wrote: > > I suspect you didn't get any replies before due the impressively > complicated set of OR statements in that loop. I suspect the problem is > there somewhere but imagine it world be a nightmare to track it down. My > guess is the loop never exits, whether due to an error or impossible > constraints. > > What if instead you enumerated the possible legal combinations of > positions in a nested List and then just sampled one of them per trial? > > Good luck, > David V > > ----- Reply message ----- > From: "tamis... at gmail.com " > > > To: "e-p... at googlegroups.com " > > Subject: Help with Randomization of Non-Overlapping Images > Date: Fri, Aug 1, 2014 6:30 pm > > > > Does anyone have any suggestions on this? I'm stuck on this and eprime > support directed me here. > > Tara > > On Monday, July 28, 2014 3:43:33 PM UTC-5, Tara Miskovich wrote: >> >> Hello, >> >> I am working on having 4 images randomly places within a rectangular >> region without overlapping. I wrote the code below, and it appears to be >> working with up to Image 3 added, but when I add in the forth image the >> program freezes. I am hoping for some guidance with what to try next or how >> to get past this. Here is the code I wrote to randomize the x and y >> location for each image. >> >> Thanks! >> Tara >> >> Dim x1 As Integer >> Dim x2 As Integer >> Dim x3 As Integer >> Dim x4 As Integer >> Dim y1 As Integer >> Dim y2 As Integer >> Dim y3 As Integer >> Dim y4 As Integer >> >> x1 = random(36, 42) >> y1 = random(38, 60) >> >> Do >> x2 = random(36, 42) >> y2 = random(38, 60) >> x3 = random(36, 42) >> y3 = random(38, 60) >> x4 = random(36, 42) >> y4 = random(38, 60) >> >> >> Loop While (x2 = x1 Or x2 = x1 + 1 Or x2 = x1+2 Or x2 = x1 - 1 Or x2 = >> x1 - 2 _ >> And y2 = y1 Or y2 = y1 + 1 Or y2 = y1 + 2 Or y2 = y1 + 3 Or y2 = y1 - 1 >> Or y2 = y1 - 2 Or y2 = y1 - 3)_ >> Or (x3 = x1 Or x3 = x1 + 1 Or x3 = x1+2 Or x3 = x1 - 1 Or x3 = x1 - 2 _ >> And y3 = y1 Or y3 = y1 + 1 Or y3 = y1 + 2 Or y3 = y1 + 3 Or y3 = y1 - 1 >> Or y3 = y1 - 2 Or y3 = y1 - 3)_ >> Or (x3 = x2 Or x3 = x2 + 1 Or x3 = x2+2 Or x3 = x2 - 1 Or x3 = x2 - 2 _ >> And y3 = y2 Or y3 = y2 + 1 Or y3 = y2 + 2 Or y3 = y2 + 3 Or y3 = y2 - 1 >> Or y3 = y2 - 2 Or y3 = y2 - 3)_ >> or (x4 = x1 Or x4 = x1 + 1 Or x4 = x1+2 Or x4 = x1 - 1 Or x4 = x1 - 2 _ >> And y4 = y1 Or y4 = y1 + 1 Or y4 = y1 + 2 Or y4 = y1 + 3 Or y4 = y1 - 1 >> Or y4 = y1 - 2 Or y4 = y1 - 3)_ >> Or (x4 = x2 Or x4 = x2 + 1 Or x4 = x2 + 2 Or x4 = x2 - 1 Or x4 = x2 - 2 _ >> And y4 = y2 Or y4 = y2 + 1 Or y4 = y2 + 2 Or y4 = y2 + 3 Or y4 = y2 - 1 >> Or y4 = y2 - 2 Or y4 = y2 - 3)_ >> Or (x4 = x3 Or x4 = x3 + 1 Or x4 = x3 + 2 Or x4 = x3 - 1 Or x4 = x3 - 2 _ >> And y4 = y3 Or y4 = y3 + 1 Or y4 = y3 + 2 Or y4 = y3 + 3 Or y4 = y3 - 1 >> Or y4 = y3 - 2 Or y4 = y3 - 3) >> >> c.SetAttrib "x1", x1 >> c.SetAttrib "x2", x2 >> c.SetAttrib "x3", x3 >> c.SetAttrib "x4", x4 >> c.SetAttrib "y1", y1 >> c.SetAttrib "y2", y2 >> c.SetAttrib "y3", y3 >> c.SetAttrib "y4", y4 >> > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+u... at googlegroups.com . > To post to this group, send email to e-p... at googlegroups.com > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/8d0ddea8-f54e-4a98-a006-cdcbed5cc8ce%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a3b0b0f4-3d00-48dd-87f9-84d83b1f93cd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From doidgea at hotmail.co.uk Mon Aug 4 16:46:10 2014 From: doidgea at hotmail.co.uk (Amie Doidge) Date: Mon, 4 Aug 2014 09:46:10 -0700 Subject: Task Events and using ACC as a Source In-Reply-To: Message-ID: Hello Everyone, Just as an update, E-Prime got back to me and said for the ACC to work in Task Events you can only use coding 0 or 1. As I was coding several different numbers for ACC, this is apparently why it wouldn't work for me. Hope this helps someone, Amie -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/9ba0018e-fd4e-428d-b045-9eb8c6469abc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Aug 4 19:01:38 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 4 Aug 2014 15:01:38 -0400 Subject: Help with Randomization of Non-Overlapping Images In-Reply-To: Message-ID: Tara, Wow, that Loop While statement just hurts my eyes! When something gets that complicated, I would at least try to format it better for readability (indentation and the "_" continuation character are your friends here), or better yet find some way to restructure the code so as to avoid such a long expression. E.g., if you used some arrays instead of simple variables then you could use a loop or two to run through all those tests that appear explicitly in your While expression. So I do not know if something goes wrong with your code per se. But your approach here reminds me of a bogosort (see http://en.wikipedia.org/wiki/Bogosort ), and it may suffer from the same problem. Even with no errors in the code, the code must find a solution *by chance*, and *by chance* that may take many tries. That may work well enough for small problems, but as the proportion of solutions in the problem space gets smaller this approach takes longer and longer to find one. In particular, perhaps for 3 coordinates your "bogosort" code could quickly find a solution, but for 4 images it just takes a lot longer to find one *by chance*. (PST's own "No Repeats on Consecutive Trials" examples, download from their website, suffer the same problem.) I do not like algorithms that work by chance, so I avoid them whenever possible. So first let's restate your problem, and see what we can do. You want to find 4 unique, randomly chosen x values from a pool of 7 values, and 4 unique, randomly chosen y values from a pool of 23 values. IOW, you want to pick 4 x values randomly without replacement from the range [36, 42], and 4 y values randomly without replacement from the range [38, 62]. Did I get that right? Ideally, you would follow David V's advice, make a nested List with all possible (x, y) pairs and just pick from that (Random, without replacement). That should involve 7 x 23 = 161 rows, which would not be too much trouble, and Excel would make it even easier to construct such a List. Alternatively, you might use two nested Lists, one for all the x values and another for all the y values, each Random (without replacement) and pick from those. But if you like inline code, I might start by making a couple arrays to hold my pools of x & y values: Const xPoolSize as Integer = 7, xPool1 as Integer = 36 Const yPoolSize as Integer = 23, yPool1 as Integer = 38 Dim i as Integer Dim xPool( 1 to xPoolSize ) as Integer Dim yPool( 1 to yPoolSize ) as Integer xPool(1) = xPool1 For i = 2 to xPoolSize xPool(i) = xPool(i-1) + 1 Next i yPool(1) = yPool1 For i = 2 to yPoolSize yPool(i) = yPool(i-1) + 1 Next i With a little trouble you could compact that code even better by using a 2-dimensional array for x & y together, although then the next step would not work. I leave that as an exercise. Next, just shuffle these arrays. VBA/E-Basic provides a command just for this (but only for 1-dimensional arrays, sigh): RandomizeArray xPool RandomizeArray yPool You may find RandomizeArray documented in the E-Basic Help facility. Now you may simply pick the first 4 values from the xPool & yPool arrays to construct your coordinates. Does that look like it will work? What have I missed? ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/1/2014 05:43 PM Friday, tamiskovich at gmail.com wrote: >Thanks for your response David. That is what I was afraid of. Eprime >support said it should work in theory, but seems as though it keeps >getting stuck when I add in the forth image. I am trying to list all >the combinations as well, it is just proving to be a huge task, for >there are an enormous amount of possible combinations. > >I was hoping that this would make coding much quicker and truly random. > >Tara > >On Friday, August 1, 2014 12:54:35 PM UTC-5, Vinson, David: UCL wrote: >I suspect you didn't get any replies before due the impressively >complicated set of OR statements in that loop. I suspect the problem >is there somewhere but imagine it world be a nightmare to track it >down. My guess is the loop never exits, whether due to an error or >impossible constraints. > >What if instead you enumerated the possible legal combinations of >positions in a nested List and then just sampled one of them per trial? > >Good luck, >David V > >----- Reply message ----- >From: "tamis... at gmail.com" >To: "e-p... at googlegroups.com" >Subject: Help with Randomization of Non-Overlapping Images >Date: Fri, Aug 1, 2014 6:30 pm > > > >Does anyone have any suggestions on this? I'm stuck on this and >eprime support directed me here. > >Tara > >On Monday, July 28, 2014 3:43:33 PM UTC-5, Tara Miskovich wrote: >Hello, > >I am working on having 4 images randomly places within a rectangular >region without overlapping. I wrote the code below, and it appears >to be working with up to Image 3 added, but when I add in the forth >image the program freezes. I am hoping for some guidance with what >to try next or how to get past this. Here is the code I wrote to >randomize the x and y location for each image. > >Thanks! >Tara > >Dim x1 As Integer >Dim x2 As Integer >Dim x3 As Integer >Dim x4 As Integer >Dim y1 As Integer >Dim y2 As Integer >Dim y3 As Integer >Dim y4 As Integer > >x1 = random(36, 42) >y1 = random(38, 60) > >Do >x2 = random(36, 42) >y2 = random(38, 60) >x3 = random(36, 42) >y3 = random(38, 60) >x4 = random(36, 42) >y4 = random(38, 60) > > >Loop While (x2 = x1 Or x2 = x1 + 1 Or x2 = x1+2 Or x2 = x1 - 1 Or x2 >= x1 - 2 _ >And y2 = y1 Or y2 = y1 + 1 Or y2 = y1 + 2 Or y2 = y1 + 3 Or y2 = y1 >- 1 Or y2 = y1 - 2 Or y2 = y1 - 3)_ >Or (x3 = x1 Or x3 = x1 + 1 Or x3 = x1+2 Or x3 = x1 - 1 Or x3 = x1 - 2 _ >And y3 = y1 Or y3 = y1 + 1 Or y3 = y1 + 2 Or y3 = y1 + 3 Or y3 = y1 >- 1 Or y3 = y1 - 2 Or y3 = y1 - 3)_ >Or (x3 = x2 Or x3 = x2 + 1 Or x3 = x2+2 Or x3 = x2 - 1 Or x3 = x2 - 2 _ >And y3 = y2 Or y3 = y2 + 1 Or y3 = y2 + 2 Or y3 = y2 + 3 Or y3 = y2 >- 1 Or y3 = y2 - 2 Or y3 = y2 - 3)_ >or (x4 = x1 Or x4 = x1 + 1 Or x4 = x1+2 Or x4 = x1 - 1 Or x4 = x1 - 2 _ >And y4 = y1 Or y4 = y1 + 1 Or y4 = y1 + 2 Or y4 = y1 + 3 Or y4 = y1 >- 1 Or y4 = y1 - 2 Or y4 = y1 - 3)_ >Or (x4 = x2 Or x4 = x2 + 1 Or x4 = x2 + 2 Or x4 = x2 - 1 Or x4 = x2 - 2 _ >And y4 = y2 Or y4 = y2 + 1 Or y4 = y2 + 2 Or y4 = y2 + 3 Or y4 = y2 >- 1 Or y4 = y2 - 2 Or y4 = y2 - 3)_ >Or (x4 = x3 Or x4 = x3 + 1 Or x4 = x3 + 2 Or x4 = x3 - 1 Or x4 = x3 - 2 _ >And y4 = y3 Or y4 = y3 + 1 Or y4 = y3 + 2 Or y4 = y3 + 3 Or y4 = y3 >- 1 Or y4 = y3 - 2 Or y4 = y3 - 3) > >c.SetAttrib "x1", x1 >c.SetAttrib "x2", x2 >c.SetAttrib "x3", x3 >c.SetAttrib "x4", x4 >c.SetAttrib "y1", y1 >c.SetAttrib "y2", y2 >c.SetAttrib "y3", y3 >c.SetAttrib "y4", y4 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53dfd89f.066b320a.6adf.5935SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Mon Aug 4 19:18:52 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 4 Aug 2014 15:18:52 -0400 Subject: Naming a specific trial in the trial list In-Reply-To: Message-ID: Jerry, Paul already covered the important part. Just to answer the question that you asked, if you really do want or need to access a paticular ("named") item in a List, you may use List.GetAttrib, e.g., MyList.GetAttrib 7, "Stimulus" See the Factor.GetAttrib topic in the E-Basic Help facility (go to the List topic and click on GetAttrib). You would, of course, have to run List.GetAttrib for each of the attributes that you wish to retrieve from that List level. And just to expand on Paul's comments, you may put all your trial attributes in a nested List set to Random order, and then use a main List in Sequential order to run a mixture of trials, breaks, and whatever. E.g., MainList (Sequential order): Weight Nested Procedure ------ -------- -------------- 250 StimList TrialProc 1 RestProc 150 StimList TrialProc 1 TrialsDoneProc with StimList holding all the stimulus attributes and set to Random order -- E-Prime keeps track of where it is in the shuffled StimList and just picks up where it left off (unless you tell it to Reset) (and yes, we do this in my inline course). ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 7/30/2014 04:17 AM Wednesday, Paul Groot wrote: >Hi Jerry, > >There are several way's to do such a thing >without using inline script. If the trial list >is ran sequentially, you could simply add a >specific trial procedure by inserting a row into >the list at level 250. This specific trial could >have a different name and is configured >completely independent of the other trials. >However, if you use some kind of trial order >randomization, things become slightly more >complicated. In that case you would have to put >the special trials in a separate list. The two >lists with regular and special trials can then >be used as nested lists in a master trial list. >The master trial list can have two levels: the >first having weight=250, nested >list=RegularTrialList and proc=RegularTrialProc; >the second having weight=1, nested >list=SpecialTrialList and proc=SpecialTrialProc.? > >Lots of trial and block orders are possible when >using nested lists this way.? > >Best >Paul > > > > >On 29 July 2014 20:06, Jerry Shen ><jerryshen1993 at gmail.com> wrote: >Is there a way to label a specific trial with a >name? I would like to present a specific trial >after a certain number of trials and was >wondering if there is an inline code where I can refer to the trial? >ie. If TrialCount = 250 Then display TrialList.ID = 7 > >Something along the lines of that? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53dfdc9e.6a39320a.187f.7ce8SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From tamiskovich at gmail.com Mon Aug 4 19:50:59 2014 From: tamiskovich at gmail.com (tamiskovich at gmail.com) Date: Mon, 4 Aug 2014 12:50:59 -0700 Subject: Help with Randomization of Non-Overlapping Images In-Reply-To: <53dfd89f.066b320a.6adf.5935SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David, Thank you so much for your reply. I know the thing is a visual nightmare at the moment and needs a little aesthetic touch up. Sorry! These are incredibly helpful suggestions and getting me to think about this a lot deeper. The only issue with the array, while it would be easier, is that 1. It seems like I could still have some over lap since my images are 2x3 % in eprime and 2. ideally I would like to still be able to use the same x coordinate for two images just so long as they don't overlap (they are far enough apart on the y). So it's really tricky since I need to consider a range of coordinates when I place an image to insure they do not overlap. I like the idea of the 2 dimensional array (sounds tricky) cause that would solve #1 but not sure how to get around #2 and ensuring they don't overlap + or - 2 or 3 values. Thanks again so much for the help! On Monday, August 4, 2014 2:01:56 PM UTC-5, McFarlane, David wrote: > > Tara, > > Wow, that Loop While statement just hurts my eyes! When something > gets that complicated, I would at least try to format it better for > readability (indentation and the "_" continuation character are your > friends here), or better yet find some way to restructure the code so > as to avoid such a long expression. E.g., if you used some arrays > instead of simple variables then you could use a loop or two to run > through all those tests that appear explicitly in your While expression. > > So I do not know if something goes wrong with your code per se. But > your approach here reminds me of a bogosort (see > http://en.wikipedia.org/wiki/Bogosort ), and it may suffer from the > same problem. Even with no errors in the code, the code must find a > solution *by chance*, and *by chance* that may take many tries. That > may work well enough for small problems, but as the proportion of > solutions in the problem space gets smaller this approach takes > longer and longer to find one. In particular, perhaps for 3 > coordinates your "bogosort" code could quickly find a solution, but > for 4 images it just takes a lot longer to find one *by > chance*. (PST's own "No Repeats on Consecutive Trials" examples, > download from their website, suffer the same problem.) > > I do not like algorithms that work by chance, so I avoid them > whenever possible. So first let's restate your problem, and see what > we can do. > > You want to find 4 unique, randomly chosen x values from a pool of 7 > values, and 4 unique, randomly chosen y values from a pool of 23 > values. IOW, you want to pick 4 x values randomly without > replacement from the range [36, 42], and 4 y values randomly without > replacement from the range [38, 62]. Did I get that right? > > Ideally, you would follow David V's advice, make a nested List with > all possible (x, y) pairs and just pick from that (Random, without > replacement). That should involve 7 x 23 = 161 rows, which would not > be too much trouble, and Excel would make it even easier to construct > such a List. Alternatively, you might use two nested Lists, one for > all the x values and another for all the y values, each Random > (without replacement) and pick from those. > > But if you like inline code, I might start by making a couple arrays > to hold my pools of x & y values: > > Const xPoolSize as Integer = 7, xPool1 as Integer = 36 > Const yPoolSize as Integer = 23, yPool1 as Integer = 38 > Dim i as Integer > Dim xPool( 1 to xPoolSize ) as Integer > Dim yPool( 1 to yPoolSize ) as Integer > xPool(1) = xPool1 > For i = 2 to xPoolSize > xPool(i) = xPool(i-1) + 1 > Next i > yPool(1) = yPool1 > For i = 2 to yPoolSize > yPool(i) = yPool(i-1) + 1 > Next i > > With a little trouble you could compact that code even better by > using a 2-dimensional array for x & y together, although then the > next step would not work. I leave that as an exercise. > > Next, just shuffle these arrays. VBA/E-Basic provides a command just > for this (but only for 1-dimensional arrays, sigh): > > RandomizeArray xPool > RandomizeArray yPool > > > You may find RandomizeArray documented in the E-Basic Help facility. > > Now you may simply pick the first 4 values from the xPool & yPool > arrays to construct your coordinates. > > Does that look like it will work? What have I missed? > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) If you do get an answer from PST > staff, please extend the courtesy of posting their reply back here > for the sake of others. > \---- > > > At 8/1/2014 05:43 PM Friday, tamis... at gmail.com wrote: > >Thanks for your response David. That is what I was afraid of. Eprime > >support said it should work in theory, but seems as though it keeps > >getting stuck when I add in the forth image. I am trying to list all > >the combinations as well, it is just proving to be a huge task, for > >there are an enormous amount of possible combinations. > > > >I was hoping that this would make coding much quicker and truly random. > > > >Tara > > > >On Friday, August 1, 2014 12:54:35 PM UTC-5, Vinson, David: UCL wrote: > >I suspect you didn't get any replies before due the impressively > >complicated set of OR statements in that loop. I suspect the problem > >is there somewhere but imagine it world be a nightmare to track it > >down. My guess is the loop never exits, whether due to an error or > >impossible constraints. > > > >What if instead you enumerated the possible legal combinations of > >positions in a nested List and then just sampled one of them per trial? > > > >Good luck, > >David V > > > >----- Reply message ----- > >From: "tamis... at gmail.com" > >To: "e-p... at googlegroups.com" > >Subject: Help with Randomization of Non-Overlapping Images > >Date: Fri, Aug 1, 2014 6:30 pm > > > > > > > >Does anyone have any suggestions on this? I'm stuck on this and > >eprime support directed me here. > > > >Tara > > > >On Monday, July 28, 2014 3:43:33 PM UTC-5, Tara Miskovich wrote: > >Hello, > > > >I am working on having 4 images randomly places within a rectangular > >region without overlapping. I wrote the code below, and it appears > >to be working with up to Image 3 added, but when I add in the forth > >image the program freezes. I am hoping for some guidance with what > >to try next or how to get past this. Here is the code I wrote to > >randomize the x and y location for each image. > > > >Thanks! > >Tara > > > >Dim x1 As Integer > >Dim x2 As Integer > >Dim x3 As Integer > >Dim x4 As Integer > >Dim y1 As Integer > >Dim y2 As Integer > >Dim y3 As Integer > >Dim y4 As Integer > > > >x1 = random(36, 42) > >y1 = random(38, 60) > > > >Do > >x2 = random(36, 42) > >y2 = random(38, 60) > >x3 = random(36, 42) > >y3 = random(38, 60) > >x4 = random(36, 42) > >y4 = random(38, 60) > > > > > >Loop While (x2 = x1 Or x2 = x1 + 1 Or x2 = x1+2 Or x2 = x1 - 1 Or x2 > >= x1 - 2 _ > >And y2 = y1 Or y2 = y1 + 1 Or y2 = y1 + 2 Or y2 = y1 + 3 Or y2 = y1 > >- 1 Or y2 = y1 - 2 Or y2 = y1 - 3)_ > >Or (x3 = x1 Or x3 = x1 + 1 Or x3 = x1+2 Or x3 = x1 - 1 Or x3 = x1 - 2 _ > >And y3 = y1 Or y3 = y1 + 1 Or y3 = y1 + 2 Or y3 = y1 + 3 Or y3 = y1 > >- 1 Or y3 = y1 - 2 Or y3 = y1 - 3)_ > >Or (x3 = x2 Or x3 = x2 + 1 Or x3 = x2+2 Or x3 = x2 - 1 Or x3 = x2 - 2 _ > >And y3 = y2 Or y3 = y2 + 1 Or y3 = y2 + 2 Or y3 = y2 + 3 Or y3 = y2 > >- 1 Or y3 = y2 - 2 Or y3 = y2 - 3)_ > >or (x4 = x1 Or x4 = x1 + 1 Or x4 = x1+2 Or x4 = x1 - 1 Or x4 = x1 - 2 _ > >And y4 = y1 Or y4 = y1 + 1 Or y4 = y1 + 2 Or y4 = y1 + 3 Or y4 = y1 > >- 1 Or y4 = y1 - 2 Or y4 = y1 - 3)_ > >Or (x4 = x2 Or x4 = x2 + 1 Or x4 = x2 + 2 Or x4 = x2 - 1 Or x4 = x2 - 2 _ > >And y4 = y2 Or y4 = y2 + 1 Or y4 = y2 + 2 Or y4 = y2 + 3 Or y4 = y2 > >- 1 Or y4 = y2 - 2 Or y4 = y2 - 3)_ > >Or (x4 = x3 Or x4 = x3 + 1 Or x4 = x3 + 2 Or x4 = x3 - 1 Or x4 = x3 - 2 _ > >And y4 = y3 Or y4 = y3 + 1 Or y4 = y3 + 2 Or y4 = y3 + 3 Or y4 = y3 > >- 1 Or y4 = y3 - 2 Or y4 = y3 - 3) > > > >c.SetAttrib "x1", x1 > >c.SetAttrib "x2", x2 > >c.SetAttrib "x3", x3 > >c.SetAttrib "x4", x4 > >c.SetAttrib "y1", y1 > >c.SetAttrib "y2", y2 > >c.SetAttrib "y3", y3 > >c.SetAttrib "y4", y4 > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/dec96210-911d-40dd-a0a3-06a6afd97695%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tamiskovich at gmail.com Mon Aug 4 19:51:46 2014 From: tamiskovich at gmail.com (tamiskovich at gmail.com) Date: Mon, 4 Aug 2014 12:51:46 -0700 Subject: Help with Randomization of Non-Overlapping Images In-Reply-To: <53dfd89f.066b320a.6adf.5935SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David, Thank you so much for your reply. I know the thing is a visual nightmare at the moment and needs a little aesthetic touch up. Sorry! These are incredibly helpful suggestions and getting me to think about this a lot deeper. The only issue with the array, while it would be easier, is that 1. It seems like I could still have some over lap since my images are 2x3 % in eprime and 2. ideally I would like to still be able to use the same x coordinate for two images just so long as they don't overlap (they are far enough apart on the y). So it's really tricky since I need to consider a range of coordinates when I place an image to insure they do not overlap. I like the idea of the 2 dimensional array (sounds tricky) cause that would solve #1 but not sure how to get around #2 and ensuring they don't overlap + or - 2 or 3 values. Thanks again so much for the help! Tara -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/3cbf9b88-a19a-41af-9a39-9baa3c20d10f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Tue Aug 5 03:29:45 2014 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Tue, 5 Aug 2014 11:29:45 +0800 Subject: Nested List Not Following Selection Rules In-Reply-To: <37451b6e-1767-4ace-bd1d-a808405c42f3@googlegroups.com> Message-ID: Hi,Noam, I am trying to download the attachemnt you posted but it seems my version is lower than yours, so I cann't open yout profile to see the details. I suppose the four words cannot be the same and you may seperate the 85 words into 2 different groups: positive and negative. then randomly select 2 words from each group. I hope you can find a lower eprime version so I can see the details. Hope everything goes well, Sally 2014-08-02 0:23 GMT+08:00 Noam Schneck : > Hi All, > > I have a task in which a slide object is used to present four words > (Positive1, Positive2, Negative1, Negative2). Each word is selected > randomly from a list that contains 85 words in total. This list "Wordlist" > is nested into the master list. I am trying to set the wordlist so that no > words will repeat within a block (24 runs) but that they can repeat across > blocks. I set the parameters of the wordlist to random selection with > replacement after reset. I set the reset at 24 samples. > > HOWEVER....E-prime seems to have a different plan. When I run a test on > the task I find that the program goes through the first 3 blocks (72 > samples) without ever repeating a single word and than in the fourth block > it begins repeating words within the block. I cannot figure out why this > is happening and I have attached the experiment file. Please help! > > Noam > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/37451b6e-1767-4ace-bd1d-a808405c42f3%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAJO0WNZWFVgaLt1zBLxsBKw%2BAPzZrwfb7t_GF4MiYNv48snP2g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tamiskovich at gmail.com Tue Aug 5 13:30:23 2014 From: tamiskovich at gmail.com (tamiskovich at gmail.com) Date: Tue, 5 Aug 2014 06:30:23 -0700 Subject: Help with Randomization of Non-Overlapping Images In-Reply-To: <3cbf9b88-a19a-41af-9a39-9baa3c20d10f@googlegroups.com> Message-ID: Hi all, I just got an email from a user today who had trouble posting to the board, but his solution appears to work so far. Here it is: (I had trouble with google groups responding ? I hope you?re the Tara who emailed the eprime group ? if not please ignore ? sorry?) Hi Tara, I'm not certain this will fix the problem, but I think the loop fails due to the precedence of OR vs AND in the conditional. The sets of X's and Y's need to be grouped together. Add the parenthesis shown beloww to hopefully fix the problem: Loop While ((x2 = x1 Or x2 = x1 + 1 Or x2 = x1+2 Or x2 = x1 - 1 Or x2 = x1 - 2) _ And (y2 = y1 Or y2 = y1 + 1 Or y2 = y1 + 2 Or y2 = y1 + 3 Or y2 = y1 - 1 Or y2 = y1 - 2 Or y2 = y1 - 3))_ Or ((x3 = x1 Or x3 = x1 + 1 Or x3 = x1+2 Or x3 = x1 - 1 Or x3 = x1 - 2) _ And (y3 = y1 Or y3 = y1 + 1 Or y3 = y1 + 2 Or y3 = y1 + 3 Or y3 = y1 - 1 Or y3 = y1 - 2 Or y3 = y1 - 3))_ Or ((x3 = x2 Or x3 = x2 + 1 Or x3 = x2+2 Or x3 = x2 - 1 Or x3 = x2 - 2) _ And (y3 = y2 Or y3 = y2 + 1 Or y3 = y2 + 2 Or y3 = y2 + 3 Or y3 = y2 - 1 Or y3 = y2 - 2 Or y3 = y2 - 3))_ or ((x4 = x1 Or x4 = x1 + 1 Or x4 = x1+2 Or x4 = x1 - 1 Or x4 = x1 - 2) _ And (y4 = y1 Or y4 = y1 + 1 Or y4 = y1 + 2 Or y4 = y1 + 3 Or y4 = y1 - 1 Or y4 = y1 - 2 Or y4 = y1 - 3))_ Or ((x4 = x2 Or x4 = x2 + 1 Or x4 = x2 + 2 Or x4 = x2 - 1 Or x4 = x2 - 2) _ And (y4 = y2 Or y4 = y2 + 1 Or y4 = y2 + 2 Or y4 = y2 + 3 Or y4 = y2 - 1 Or y4 = y2 - 2 Or y4 = y2 - 3))_ Or ((x4 = x3 Or x4 = x3 + 1 Or x4 = x3 + 2 Or x4 = x3 - 1 Or x4 = x3 - 2) _ And (y4 = y3 Or y4 = y3 + 1 Or y4 = y3 + 2 Or y4 = y3 + 3 Or y4 = y3 - 1 Or y4 = y3 - 2 Or y4 = y3 - 3)) Regards, Bill -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/be042776-ff29-443f-8cb4-252d202cb63c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jotaylor2306 at gmail.com Tue Aug 5 14:57:11 2014 From: jotaylor2306 at gmail.com (jotaylor2306 at gmail.com) Date: Tue, 5 Aug 2014 07:57:11 -0700 Subject: define slide images inline - need to clear after each trial? Message-ID: Hi there, I have a spelling task in which participants listen to a 3 phoneme word (consonant-vowel-consonant) and must select which 3 (from an array of 16) symbols spell that word, in the correct order. They should see each selection appear on the screen, and after all 3 symbols have been selected they should see the correctly spelled word alongside their own selections and receive correct/incorrect feedback. They are spelling them in a new script they have learned so I can't use keyboard input as they are not Latin letters. I have programmed the task by having each trial contain 4 slide objects: stimslide1. Shows the array of symbols - same layout each trial stimslide2. Shows the array of symbols - plus the symbol they selected on Slide 1 stimeslide3. Shows the array of symbols - plus the symbols they selected on Slide 1 and Slide 2 stimslide4. Shows the array of symbols - plus the symbols they selected on Slides 1, 2, and 3. And also shows the correctly spelled word and a text object saying whether their spelling was correct or incorrect. The inline code I have used to determine which slide image they selected (which is placed after stimstlide1 in the trialproc) is pasted below. The problem I am having is that after trial 1, the image selections from the previous trial are displayed very briefly (i.e. they flash up) before the image selections from the current trial. I am aware that I must need to clear the images from each trial, but can't figure out how to do so. I have the line Set s1Image = Nothing as this seems to be good practice but tbh I am not sure what it does as this doesnt do what I would want it to do! I have also tried adding an inline at the end of the trialproc that says s1Image.clear but I got a runtime error (Object variable or With block variable not set). Could someone please tell me the proper way to clear images from trial to trial? Thanks, Jo 'This section determines which image they clicked on. nCurrentResponse=0 bContinue=True While bContinue<>False If stimslide1.InputMasks.Responses.Count<>nCurrentResponse Then nCurrentResponse=nCurrentResponse+1 Set theMouseResponseData=CMouseResponseData(stimslide1.InputMasks.Responses(nCurrentResponse)) If Not theMouseResponseData Is Nothing Then strHit=stimslide1State.HitTest(theMouseResponseData.CursorX,theMouseResponseData.CursorY) If strHit<>"" Then Set theSlideImage=CSlideImage(stimslide1State.Objects(strHit)) If Not theSlideImage Is Nothing Then bContinue=False ' this creates an attribute called LocChose1 that contains the Name of the Image they selected which is the same as its actual file name. c.SetAttrib "LocChose1", strHit If c.GetAttrib("LocChose1") = c.GetAttrib("Correct1") Then CountAcc=CountAcc+1 End If End If End If End If End If ' This section tells the programme to display the image they clicked on on the next slide (stimslide2) in the image called "Selection1" which by default is set to be a blank bmp file. Dim slImage as SlideImage Set slImage = CSlideImage(stimslide2.States("Default").Objects("Selection1")) ' This retrieves the LocChose1 attribute which was the image they selected and adds the file extension so that the image can be displayed slImage.Filename = c.GetAttrib("LocChose1") & ".tif" slImage.Load stimslide2.Draw Set s1Image = Nothing Sleep 100 WEnd -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/20f5f343-2b6c-4d7d-94bd-724e9b467fce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidruvolo51 at gmail.com Tue Aug 5 18:09:37 2014 From: davidruvolo51 at gmail.com (David Ruvolo) Date: Tue, 5 Aug 2014 11:09:37 -0700 Subject: Does SRBOX/Microphone setup effect RTs? In-Reply-To: <00d601cfad5c$a231e890$e695b9b0$@cognitology.eu> Message-ID: Thank you both for your responses and input. I am leaning more towards using two microphones for simplicity. Maybe in the future I will revisit this issue and try to come up with something. Thanks, David On Friday, August 1, 2014 2:46:05 AM UTC-5, Michiel Sovij?rvi-Spap? wrote: > Hi, > Wouldn't the use of two (perhaps even taped together) microphones make a > lot > more sense? Given that these do very different things: record onset of > audio > vs record audio, I can think of few reasons why these would need to be > very > exactly synchronised - apart from that warm feeling we all get from hyper > precise timing, obviously! Anyway, the benefit would be that the audio > microphone can then be a very good, studio quality, microphone, rather > than > the SRBox voicekey one which I don't think was really built for audio > analysis. Second, it makes from an audio engineer's point of view some > sense > to direct microphone's different (e.g. a little underneath the mouth). > Third, you could use the onset of the SRBox voicekey as a trigger to start > an audio input object. Finally: you could always try to sync the data > offline if you send out a tone (e.g. at >20 Khz) at the onset of your > critical stimulus, then write a bit* of matlab code to calculate the > distance between beeps and first human vocal range (0.5 the > chunk as data - it has certain benefits, since you will be more sure that > it's not just some subject's sigh that triggers the voicekey. > Anyway, just some ideas, maybe one helps. > Best, > Michiel > > * That sounds like it's little work - obviously, it's not, but maybe there > are toolboxes out there already. > PS: Many audio interfaces (cards) do provide line level inputs, I've > previously recommended M-Audio Fast Track USB before as a cheap one (also > comes with dedicated ASIO drivers and such which might help E-Prime 2 > audio > out latency) > ------------ > > Dr. Michiel Spap? > Helsinki Institute for Information Technology HIIT > Aalto University & University of Helsinki > Finland > > > -----Original Message----- > From: e-p... at googlegroups.com [mailto: > e-p... at googlegroups.com ] On Behalf > Of David McFarlane > Sent: 31 July 2014 18:58 > To: e-p... at googlegroups.com > Subject: Re: Does SRBOX/Microphone setup effect RTs? > > David, > > I dearly hope that you get simultaneous voice key and sound recording to > work with a single microphone, and then report back here on how to do it. > I > never got that to work here, we gave up and used two microphones, one for > the voice key (SRBox) and one for sound recording through the computer's > mic > input. Some details ... > > In short, when we used any sort of Y splitter to connect one mic to both > SRBox and cmoputer mic input, we had trouble getting the voice key to > respond, and the recorded sound contained a high-pitched whine. I worked > on > this with PST Support, and they could not do much better themselves -- in > their own tests using a splitter, either the voice key did not work, or > the > audio quality was degraded (e.g., low volume). > > In case it helps, the SRBox uses a dynamic microphone (see > http://en.wikipedia.org/wiki/Microphone ), with a 3.5mm unbalanced TS > (tip-sleeve) connector. Computer mic inputs typically use a condenser > mic, > with a 3.5mm TRS (tip-ring-sleeve) connector where the computer may supply > power to the mic through the ring. So things get complicated already > right > there. Beyond that, I suspect that each device connected to the > microphone > presents an additional load, and the microphone simply cannot handle the > load of two input devices, which would account for the loss in volume. > > What we need, of course, is a device that presents a low load to the > microphone, and can drive multiple loads for the next stage. Ordinarily, > that device would be a preamp that supplies line-level signals to the next > stage. Unfortunately, in our case a line-level signal will likely > overload > our inputs -- the SRBox can take only a mic-level signal, and many > computer > sound devices no longer provide a line-level input, they provide mic-level > input only. If you can find a device that takes a mic-level input and > then > buffers that to provide output to multiple mic-level inputs, that would be > great, but I asked around and could not find such a device. One other > option might be to use a preamp, as mentioned above, and then attentuate > the > preamp output using something like a series resistor to the mic-level > inputs. I have not yet tried this myself, so if you get this to work > please > write back. (Even if this works, it just seems twisted -- I mean, first > we > would boost the signal from the mic, then attenuate the boosted signal > back > down to mic level so that we could feed it into another mic input that > then > boosts it yet again -- sheesh!) > > So in sum, splitting a microphone between the SRBox voice key and the > computer sound card is not as straightforwared as you might think, and in > the end using two microphones still seems the best solution. > > But to answer your question, I cannot think of any reason that using a > splitter would affect the measured reaction time, the electric signal > should > travel at the same rate with or without a splitter. Of course, that > should > be tested empirically (and no one should just take my work for any of this > :) ), but I would be very surprised if it made any difference. But note > that, even with a splitter, as a result of latencies in sound recording > you > will almost certainly find a discrepancy between RT measured by voice key > vs. sound recording, see thread at > https://groups.google.com/d/topic/e-prime/DcKdgNJKAlM . > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained > staff (and other support facilities) at https://support.pstnet.com . 3) > If > you do get an answer from PST staff, please extend the courtesy of posting > their reply back here for the sake of others. > \---- > > > At 7/31/2014 10:54 AM Thursday, David Ruvolo wrote: > >I have a question regarding using a microphone for measuring RT and > >audio input for a battery I am working on. > > > >I am debating on whether using a audio splitter (a y cable) to send the > >signal to the SRBOX and the computer's recording device vs. > >using two microphones. If I choose to use two microphones, this creates > >extra environmental stimuli, would make positioning the microphones and > >testing the setup in the middle of data collection very time consumming > >(I am using non SRBOX tasks and SRBOX tasks that have a set order), > >this might create inconsistencies with data collection (each individual > >has a slightly different positioning, sound doesn't capture, etc), and > >the whole experience might be overwhelming for the participant. On the > >other hand, using the splitter would eliminate this issue, but I am not > >sure if there would result in differences in RT logged by E-Prime (this > >would be in ms and could make or break our outcomes). > > > >Does setup (using a splitter vs. two microphones) effect reaction time? > >I would be interested to know if anyone has looked into this, had any > >experience using either setup, or measured this. Feel free to let me > >know or tell me I am overthinking this. > > > >Thanks, > > > >David > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+u... at googlegroups.com . > To post to this group, send email to e-p... at googlegroups.com . > > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/53da6781.0419320a.2b1c.ffff8c0cSMT > > PIN_ADDED_MISSING%40gmr-mx.google.com > . > > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/f8b6d16c-8a69-4aa7-9d0a-fbcbf2338007%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From noam.schneck at gmail.com Wed Aug 6 14:08:34 2014 From: noam.schneck at gmail.com (Noam Schneck) Date: Wed, 6 Aug 2014 07:08:34 -0700 Subject: Nested List Not Following Selection Rules In-Reply-To: Message-ID: Hi Sally, Thank you for the response. Sorry for the e-prime version elitism. I can't downgrade because I don't have the lower version and would need to reprogram the entire task if I did. I am attaching here an edat file extracted into an excel spreadsheet. If you look at columns DB-DK you will see the words that were selected for each trial. Columns DD and DE show the alternating blocks. What this file shows is that for the first six blocks there are no repetitions and then in blocks 7 and 8 (rows 153-200 on the excel spreadsheet) there are repetitions (highlighted in pink). The problem is that these repetitions occur within one block. I can't figure out why that is happening since I set the wordlist to random. I don't mind if the repetitions happen across blocks but I can't have them within blocks. Let me know if you have any further thoughts, noam On Monday, August 4, 2014 11:29:48 PM UTC-4, sally wrote: > > Hi,Noam, I am trying to download the attachemnt you posted but it seems my > version is lower than yours, so I cann't open yout profile to see the > details. I suppose the four words cannot be the same and you may seperate > the 85 words into 2 different groups: positive and negative. then randomly > select 2 words from each group. I hope you can find a lower eprime version > so I can see the details. > > Hope everything goes well, > > Sally > > > 2014-08-02 0:23 GMT+08:00 Noam Schneck > > : > >> Hi All, >> >> I have a task in which a slide object is used to present four words >> (Positive1, Positive2, Negative1, Negative2). Each word is selected >> randomly from a list that contains 85 words in total. This list "Wordlist" >> is nested into the master list. I am trying to set the wordlist so that no >> words will repeat within a block (24 runs) but that they can repeat across >> blocks. I set the parameters of the wordlist to random selection with >> replacement after reset. I set the reset at 24 samples. >> >> HOWEVER....E-prime seems to have a different plan. When I run a test on >> the task I find that the program goes through the first 3 blocks (72 >> samples) without ever repeating a single word and than in the fourth block >> it begins repeating words within the block. I cannot figure out why this >> is happening and I have attached the experiment file. Please help! >> >> Noam >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+u... at googlegroups.com . >> To post to this group, send email to e-p... at googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/37451b6e-1767-4ace-bd1d-a808405c42f3%40googlegroups.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/49fe56fb-7d13-4d31-b493-0692016b90c3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 6.xlsx Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet Size: 162293 bytes Desc: not available URL: From robmanc2014 at gmail.com Wed Aug 6 15:42:41 2014 From: robmanc2014 at gmail.com (Rob Manchester) Date: Wed, 6 Aug 2014 08:42:41 -0700 Subject: List.AddLevel returns 'Error -999' Level name that is an integer with level count mismatch Message-ID: Hi I'm a newbie to E-Prime and I'm using a program that someone else has written that has used code rather than the GUI for some aspects of the program. In the program there is a list 'triallist' which has 2 levels as standard. However there is some in line code which creates a new level for each trial over and above these first two levels (I don't know why it is written this way). The section of the code causing the error is shown below: For i=1 To nTrials 'note: ntrials is set as 72 in a separate inline piece of code - this specifies the number of trials in the block. If i>2 Then trialList.AddLevel i 'ERROR OCCURS HERE End If trialList.SetWeight i, "1" k=goodList(i) trialList.SetAttrib i, "picture", "resources\\" & picToShowList(k) 'blockList.GetAttrib(nBlockID,"picture1") trialList.SetAttrib i, "picType", picToShowTypeList(k) If ifReward(i) Mod 2 =1 Then trialList.SetProc i, "rewaShow" trialList.SetAttrib i, "ifReward", "1" Else trialList.SetProc i, "noneShow" trialList.SetAttrib i, "ifReward", "0" End If Next i Set trialList.TerminateCondition = Cycles(1) Set trialList.ResetCondition = Samples(nTrials) trialList.Reset print #9, nBlockID, fName(reShowPicList.GetAttrib(1,"reShowName1")), fName(reShowPicList.GetAttrib(1,"reShowName2")) print #9, " " Set reShowPicList.TerminateCondition = Cycles(1) Set reShowPicList.ResetCondition = Samples(2) reShowPicList.Reset The error is 'Error -999' Level name that is an integer with level count mismatch The code runs for each block (i.e. it specifies the trials for each block). For the first block it runs fine. Then for the second block it produces an error when i = 3. I used a debug print to get the value of trialList.size and found that it was equal to the ntrials value (i.e. the number of trials that occurs in the first block). This I assume means that the temporary levels added in the first block haven't been removed, thus causing the error on the second block. I assume the trialList.reset line near the bottom is supposed to do this. Any ideas what might be going wrong? I'm using Version 2, weirdly I'm sure this code works on version 1! Thanks Rob -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/9d9af65c-7771-4f57-967f-0242d039244e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Thu Aug 7 02:02:18 2014 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Thu, 7 Aug 2014 10:02:18 +0800 Subject: Nested List Not Following Selection Rules In-Reply-To: <49fe56fb-7d13-4d31-b493-0692016b90c3@googlegroups.com> Message-ID: Dear Noam, I have seen your excel profile and I have some questions about your procedure. How did you random the wordlist so that you can get the random 4 words to show? Did you write any inline codes or just random the list, if the latter, what's inside the list, how come the numbers named newlist1,newlist2,wordlist,wordlist2? This is why I would like to see your eprime program. I want the structure of your program so that I can get you. Besides, I think you can group the 85 words into two groups, negative(list1) and positive(list2) and then make a master list list3,list1 and list2 are nested in list3, and in list3, you have 4 attributions:p1,p2,n1,n2, and you can define p1 as [list2:0],p2 as [list2:1],n1 as [list1:0],n2 as [list1:1], then you can set the weight of List3 as 24. I think this can work.you can have a try. hope that helps. My best, Sally 2014-08-06 22:08 GMT+08:00 Noam Schneck : > Hi Sally, > > Thank you for the response. Sorry for the e-prime version elitism. I > can't downgrade because I don't have the lower version and would need to > reprogram the entire task if I did. I am attaching here an edat file > extracted into an excel spreadsheet. If you look at columns DB-DK you > will see the words that were selected for each trial. Columns DD and DE > show the alternating blocks. What this file shows is that for the first > six blocks there are no repetitions and then in blocks 7 and 8 (rows > 153-200 on the excel spreadsheet) there are repetitions (highlighted in > pink). The problem is that these repetitions occur within one block. I > can't figure out why that is happening since I set the wordlist to random. > I don't mind if the repetitions happen across blocks but I can't have them > within blocks. > > Let me know if you have any further thoughts, > noam > > > On Monday, August 4, 2014 11:29:48 PM UTC-4, sally wrote: > >> Hi,Noam, I am trying to download the attachemnt you posted but it seems >> my version is lower than yours, so I cann't open yout profile to see the >> details. I suppose the four words cannot be the same and you may seperate >> the 85 words into 2 different groups: positive and negative. then randomly >> select 2 words from each group. I hope you can find a lower eprime version >> so I can see the details. >> >> Hope everything goes well, >> >> Sally >> >> >> 2014-08-02 0:23 GMT+08:00 Noam Schneck : >> >>> Hi All, >>> >>> I have a task in which a slide object is used to present four words >>> (Positive1, Positive2, Negative1, Negative2). Each word is selected >>> randomly from a list that contains 85 words in total. This list "Wordlist" >>> is nested into the master list. I am trying to set the wordlist so that no >>> words will repeat within a block (24 runs) but that they can repeat across >>> blocks. I set the parameters of the wordlist to random selection with >>> replacement after reset. I set the reset at 24 samples. >>> >>> HOWEVER....E-prime seems to have a different plan. When I run a test on >>> the task I find that the program goes through the first 3 blocks (72 >>> samples) without ever repeating a single word and than in the fourth block >>> it begins repeating words within the block. I cannot figure out why this >>> is happening and I have attached the experiment file. Please help! >>> >>> Noam >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+u... at googlegroups.com. >>> To post to this group, send email to e-p... at googlegroups.com. >>> >>> To view this discussion on the web visit https://groups.google.com/d/ >>> msgid/e-prime/37451b6e-1767-4ace-bd1d-a808405c42f3%40googlegroups.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/49fe56fb-7d13-4d31-b493-0692016b90c3%40googlegroups.com > > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAJO0WNbie0B8%3DbjmUmj7muhRNWb5QpCfST51XMqK0ygcTYLo-A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Thu Aug 7 02:17:14 2014 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Thu, 7 Aug 2014 10:17:14 +0800 Subject: SRboxresponsedata lost Message-ID: Dear all, I have encountered a problem about SRbox, I added the device in the program and also add the response SRbox into my response slice, it seems the SRbox is working all right since when I press the pad the light indeicated it's working well, but the problem I cannot get the SRboxresponsedata by sript. My experiment needs the subject to move a cursor in the screen by SRbox, and I coded all this process. But when I tried in fMRI, the SRboxresponsedata is not available. I used codes as follows: Dim theResponseObject As RteRunnableInputObject Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("CE")) Dim KD As SRboxResponseData nindex2=nindex1 nindex1=val(theResponseObject.InputMasks.Responses.Count) if nindex1>nindex2 then Set KD = CSRboxResponseData(theResponseObject.InputMasks.Responses(nindex1)) set theSlideText=CSlideText(CE.states.item("default").objects("Text5")) ...... end if I have tested already that nindex1 always be zero. So is anyone can help? Any help would be appreciated. My best, Sally -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAJO0WNZfDCRS3zXAvBmEEPL3a4r2CNjLCLzhCCx9L_Jb43RUtQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Thu Aug 7 02:18:35 2014 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Thu, 7 Aug 2014 10:18:35 +0800 Subject: Nested List Not Following Selection Rules In-Reply-To: Message-ID: Dear Noam, I have seen your excel profile and I have some questions about your procedure. How did you random the wordlist so that you can get the random 4 words to show? Did you write any inline codes or just random the list, if the latter, what's inside the list, how come the numbers named newlist1,newlist2,wordlist,wordlist2? This is why I would like to see your eprime program. I want the structure of your program so that I can get you. Besides, I think you can group the 85 words into two groups, negative(list1) and positive(list2) and then make a master list list3,list1 and list2 are nested in list3, and in list3, you have 4 attributions:p1,p2,n1,n2, and you can define p1 as [list2:0],p2 as [list2:1],n1 as [list1:0],n2 as [list1:1], then you can set the weight of List3 as 24. I think this can work.you can have a try. hope that helps. My best, Sally 2014-08-07 10:02 GMT+08:00 gorgeous yayuan geng : > Dear Noam, > > I have seen your excel profile and I have some questions about your > procedure. How did you random the wordlist so that you can get the random 4 > words to show? Did you write any inline codes or just random the list, if > the latter, what's inside the list, how come the numbers named > newlist1,newlist2,wordlist,wordlist2? This is why I would like to see your > eprime program. I want the structure of your program so that I can get you. > > Besides, I think you can group the 85 words into two groups, > negative(list1) and positive(list2) and then make a master list list3,list1 > and list2 are nested in list3, and in list3, you have 4 > attributions:p1,p2,n1,n2, and you can define p1 as [list2:0],p2 as > [list2:1],n1 as [list1:0],n2 as [list1:1], then you can set the weight of > List3 as 24. I think this can work.you can have a try. > > hope that helps. > > My best, > > Sally > > > 2014-08-06 22:08 GMT+08:00 Noam Schneck : > > Hi Sally, >> >> Thank you for the response. Sorry for the e-prime version elitism. I >> can't downgrade because I don't have the lower version and would need to >> reprogram the entire task if I did. I am attaching here an edat file >> extracted into an excel spreadsheet. If you look at columns DB-DK you >> will see the words that were selected for each trial. Columns DD and DE >> show the alternating blocks. What this file shows is that for the first >> six blocks there are no repetitions and then in blocks 7 and 8 (rows >> 153-200 on the excel spreadsheet) there are repetitions (highlighted in >> pink). The problem is that these repetitions occur within one block. I >> can't figure out why that is happening since I set the wordlist to random. >> I don't mind if the repetitions happen across blocks but I can't have them >> within blocks. >> >> Let me know if you have any further thoughts, >> noam >> >> >> On Monday, August 4, 2014 11:29:48 PM UTC-4, sally wrote: >> >>> Hi,Noam, I am trying to download the attachemnt you posted but it seems >>> my version is lower than yours, so I cann't open yout profile to see the >>> details. I suppose the four words cannot be the same and you may seperate >>> the 85 words into 2 different groups: positive and negative. then randomly >>> select 2 words from each group. I hope you can find a lower eprime version >>> so I can see the details. >>> >>> Hope everything goes well, >>> >>> Sally >>> >>> >>> 2014-08-02 0:23 GMT+08:00 Noam Schneck : >>> >>>> Hi All, >>>> >>>> I have a task in which a slide object is used to present four words >>>> (Positive1, Positive2, Negative1, Negative2). Each word is selected >>>> randomly from a list that contains 85 words in total. This list "Wordlist" >>>> is nested into the master list. I am trying to set the wordlist so that no >>>> words will repeat within a block (24 runs) but that they can repeat across >>>> blocks. I set the parameters of the wordlist to random selection with >>>> replacement after reset. I set the reset at 24 samples. >>>> >>>> HOWEVER....E-prime seems to have a different plan. When I run a test >>>> on the task I find that the program goes through the first 3 blocks (72 >>>> samples) without ever repeating a single word and than in the fourth block >>>> it begins repeating words within the block. I cannot figure out why this >>>> is happening and I have attached the experiment file. Please help! >>>> >>>> Noam >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to e-prime+u... at googlegroups.com. >>>> To post to this group, send email to e-p... at googlegroups.com. >>>> >>>> To view this discussion on the web visit https://groups.google.com/d/ >>>> msgid/e-prime/37451b6e-1767-4ace-bd1d-a808405c42f3%40googlegroups.com >>>> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/49fe56fb-7d13-4d31-b493-0692016b90c3%40googlegroups.com >> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAJO0WNYLEzpKyz5h9T1R%3DQGiq9-tJvPBAkmWsQU64SLT4LfnWA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Thu Aug 7 05:10:48 2014 From: gusunny1 at gmail.com (sunnygu) Date: Thu, 7 Aug 2014 13:10:48 +0800 Subject: Nested List Not Following Selection Rules In-Reply-To: <49fe56fb-7d13-4d31-b493-0692016b90c3@googlegroups.com> Message-ID: have you seen my reply since I have some problem about my network. If not please let me know. ???? iPhone > ? 2014?8?6????10:08?Noam Schneck ??? > > Hi Sally, > > Thank you for the response. Sorry for the e-prime version elitism. I can't downgrade because I don't have the lower version and would need to reprogram the entire task if I did. I am attaching here an edat file extracted into an excel spreadsheet. If you look at columns DB-DK you will see the words that were selected for each trial. Columns DD and DE show the alternating blocks. What this file shows is that for the first six blocks there are no repetitions and then in blocks 7 and 8 (rows 153-200 on the excel spreadsheet) there are repetitions (highlighted in pink). The problem is that these repetitions occur within one block. I can't figure out why that is happening since I set the wordlist to random. I don't mind if the repetitions happen across blocks but I can't have them within blocks. > > Let me know if you have any further thoughts, > noam > > >> On Monday, August 4, 2014 11:29:48 PM UTC-4, sally wrote: >> Hi,Noam, I am trying to download the attachemnt you posted but it seems my version is lower than yours, so I cann't open yout profile to see the details. I suppose the four words cannot be the same and you may seperate the 85 words into 2 different groups: positive and negative. then randomly select 2 words from each group. I hope you can find a lower eprime version so I can see the details. >> >> Hope everything goes well, >> >> Sally >> >> >> 2014-08-02 0:23 GMT+08:00 Noam Schneck : >>> Hi All, >>> >>> I have a task in which a slide object is used to present four words (Positive1, Positive2, Negative1, Negative2). Each word is selected randomly from a list that contains 85 words in total. This list "Wordlist" is nested into the master list. I am trying to set the wordlist so that no words will repeat within a block (24 runs) but that they can repeat across blocks. I set the parameters of the wordlist to random selection with replacement after reset. I set the reset at 24 samples. >>> >>> HOWEVER....E-prime seems to have a different plan. When I run a test on the task I find that the program goes through the first 3 blocks (72 samples) without ever repeating a single word and than in the fourth block it begins repeating words within the block. I cannot figure out why this is happening and I have attached the experiment file. Please help! >>> >>> Noam >>> -- >>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+u... at googlegroups.com. >>> To post to this group, send email to e-p... at googlegroups.com. >>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/37451b6e-1767-4ace-bd1d-a808405c42f3%40googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/49fe56fb-7d13-4d31-b493-0692016b90c3%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > <6.xlsx> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/36CAAB62-7113-43FD-BC9E-247EEEB80290%40gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From robmanc2014 at gmail.com Thu Aug 7 17:33:01 2014 From: robmanc2014 at gmail.com (Rob Manchester) Date: Thu, 7 Aug 2014 10:33:01 -0700 Subject: Trying to present visual and audio together - getting 16ms lag Message-ID: I'm trying to edit someone else's experiment in E-Prime V1. They have a procedure that contains 8 objects. 4 of these objects are slides which contain images. The slides have duration = 0. The other 4 objects are bits of inline code that calls another procedure which contains 1) a slide with duration 1000 which has a 'soundout' object of duration 1000 that terminates on a keyboard response. 2) a further bit of code = sleep(1000-c.getattrib("TonePlay.rt")). This last bit of code I think tries to ensure that the procedure lasts 1000 regardless of the reaction time to the sound. The image slides are interespersed with the inline code that call the audio procedure i.e. Image Slide Duration = 0 Code calling audio proc, duration 1000ms Image Slide Duration = 0 Code calling audio proc, duration 1000ms Image Slide Duration = 0 Code calling audio proc, duration 1000ms Image Slide Duration = 0 Code calling audio proc, duration 1000ms My screen refresh is 60hz. The idea of the code is that the Images and Audio display together for 1000s each, with the audio (but not the image) terminating on response. It works apart from the fact that the audio loads 16/17ms after the image - i.e. 1 screen refresh. The ISI between sucessive audio stimuli is 1034ms rather than 1000ms (i.e. two screen refreshes too long). Could anyone tell me why these delays are occurring? I presume the system is losing a refresh for every object loading (i.e. a delay = to a screen refresh is occuring when E-prime moves between the slide object and the inline code object. I've tried putting a pre-release value of 20ms on the slides but this doesn't seem to have had any effect. Does any have any ideas as to how to solve this? Thanks Rob -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/14599323-3203-44be-a186-cfb4e4de70a2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Aug 7 20:27:32 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 7 Aug 2014 16:27:32 -0400 Subject: Trying to present visual and audio together - getting 16ms lag In-Reply-To: <14599323-3203-44be-a186-cfb4e4de70a2@googlegroups.com> Message-ID: Rob, To answer the question asked: Yes, you are correct that the system is losing a refresh for every object loading. You may avoid that simply by going to the Sync tab of your Slide objects and setting Onset Sync to "(none)". That said ... To get even better synchronization between onset of your image & sound, you could add the sound right to the Slide. Your following inline code (to terminate sound on response) would then have to refer to the SlideSound sub-object instead, but if you look at some of the automatically generated code and fuss around a little you should figure it out. Instead of sleep(1000-c.getattrib("TonePlay.rt") you could simply use sleep(1000-TonePlay.rt) which avoids having to deal with an attribute that may or may not be set at the time. But I would not use this method anyway, as I fear that it still leaves too much room for slop (RT may not take into account other delays that have set in, etc.). Instead, I would take advantage of the neat built-in timing facilities of EP objects themselves, and just manipulate the NextTargetOnsetTime directly, e.g., SetNextTargetOnsetTime Slide1.OnsetTime + 1000 to emulate Event timing mode, or SetNextTargetOnsetTime Slide1.TargetOnsetTime + 1000 to emulate Cumulative timing mode. Set the SetNextTargetOnsetTime topic in the E-Basic Help facility. Better yet, just set the Slide Durations to 1000, and PreRelease to 1000, and you will not need any code at all to make each Slide start 1000 ms apart (don't take my word for that, try the exercise yourself). The inline code will run during the PreRelease period as directed, and the next Slide will start 1000 ms after the previous one (assuming that your inline code does not run beyond the PreRelease). (In fact, EP2.0.10 now sets PreRelease to "(same as duration)" by default, making much of this automatic.) ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/7/2014 01:33 PM Thursday, Rob Manchester wrote: >I'm trying to edit someone else's experiment in E-Prime V1. > >They have a procedure that contains 8 objects. 4 of these objects >are slides which contain images. The slides have duration = 0. The >other 4 objects are bits of inline code that calls another procedure >which contains 1) a slide with duration 1000 which has a 'soundout' >object of duration 1000 that terminates on a keyboard response. 2) >a further bit of code = sleep(1000-c.getattrib("TonePlay.rt")). This >last bit of code I think tries to ensure that the procedure lasts >1000 regardless of the reaction time to the sound. > >The image slides are interespersed with the inline code that call >the audio procedure i.e. > >Image Slide Duration = 0 >Code calling audio proc, duration 1000ms >Image Slide Duration = 0 >Code calling audio proc, duration 1000ms >Image Slide Duration = 0 >Code calling audio proc, duration 1000ms >Image Slide Duration = 0 >Code calling audio proc, duration 1000ms > >My screen refresh is 60hz. The idea of the code is that the Images >and Audio display together for 1000s each, with the audio (but not >the image) terminating on response. It works apart from the fact >that the audio loads 16/17ms after the image - i.e. 1 screen >refresh. The ISI between sucessive audio stimuli is 1034ms rather >than 1000ms (i.e. two screen refreshes too long). Could anyone tell >me why these delays are occurring? I presume the system is losing a >refresh for every object loading (i.e. a delay = to a screen refresh >is occuring when E-prime moves between the slide object and the >inline code object. I've tried putting a pre-release value of 20ms >on the slides but this doesn't seem to have had any effect. Does any >have any ideas as to how to solve this? > >Thanks >Rob -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53e3e139.033d320a.29ab.0778SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From jotaylor2306 at gmail.com Fri Aug 8 11:45:05 2014 From: jotaylor2306 at gmail.com (jotaylor2306 at gmail.com) Date: Fri, 8 Aug 2014 04:45:05 -0700 Subject: define slide images inline - need to clear after each trial? In-Reply-To: <20f5f343-2b6c-4d7d-94bd-724e9b467fce@googlegroups.com> Message-ID: Well I guess I'll reply to my own question now that I've solved my problem! >> It turns out that it wasnt that I needed to clear my images or set them to nothing, but that I was "drawing" each slide twice. In each inline I had the following piece of code: slImage.Filename = c.GetAttrib("LocChose1") & ".tif" slImage.Load stimslide2.Draw I didn't need the line stimslide2.Draw because I had stimslide2 in my procedure and thus I didnt need to "Draw" it. So each trial I was "Drawing" (i.e. presenting) each stimslide twice and the first time it still had the attributes from the previous trial. ______________ On Tuesday, August 5, 2014 3:57:11 PM UTC+1, jotayl... at gmail.com wrote: > > Hi there, > I have a spelling task in which participants listen to a 3 phoneme word > (consonant-vowel-consonant) and must select which 3 (from an array of 16) > symbols spell that word, in the correct order. > They should see each selection appear on the screen, and after all 3 > symbols have been selected they should see the correctly spelled word > alongside their own selections and receive correct/incorrect feedback. > They are spelling them in a new script they have learned so I can't use > keyboard input as they are not Latin letters. > > I have programmed the task by having each trial contain 4 slide objects: > stimslide1. Shows the array of symbols - same layout each trial > stimslide2. Shows the array of symbols - plus the symbol they selected on > Slide 1 > stimeslide3. Shows the array of symbols - plus the symbols they selected > on Slide 1 and Slide 2 > stimslide4. Shows the array of symbols - plus the symbols they selected on > Slides 1, 2, and 3. And also shows the correctly spelled word and a text > object saying whether their spelling was correct or incorrect. > > > The inline code I have used to determine which slide image they selected > (which is placed after stimstlide1 in the trialproc) is pasted below. > > > The problem I am having is that after trial 1, the image selections from > the previous trial are displayed very briefly (i.e. they flash up) before > the image selections from the current trial. > I am aware that I must need to clear the images from each trial, but can't > figure out how to do so. I have the line Set s1Image = Nothing as this > seems to be good practice but tbh I am not sure what it does as this doesnt > do what I would want it to do! > > I have also tried adding an inline at the end of the trialproc that says > s1Image.clear but I got a runtime error (Object variable or With block > variable not set). > > Could someone please tell me the proper way to clear images from trial to > trial? > Thanks, > Jo > > > > 'This section determines which image they clicked on. > nCurrentResponse=0 > bContinue=True > > > While bContinue<>False > > If stimslide1.InputMasks.Responses.Count<>nCurrentResponse Then > nCurrentResponse=nCurrentResponse+1 > > Set > theMouseResponseData=CMouseResponseData(stimslide1.InputMasks.Responses(nCurrentResponse)) > If Not theMouseResponseData Is Nothing Then > > strHit=stimslide1State.HitTest(theMouseResponseData.CursorX,theMouseResponseData.CursorY) > > If strHit<>"" Then > > Set theSlideImage=CSlideImage(stimslide1State.Objects(strHit)) > If Not theSlideImage Is Nothing Then > > bContinue=False > > ' this creates an attribute called LocChose1 that contains the Name of the > Image they selected which is the same as its actual file name. > c.SetAttrib "LocChose1", strHit > > If c.GetAttrib("LocChose1") = c.GetAttrib("Correct1") Then > CountAcc=CountAcc+1 > End If > > End If > End If > End If > End If > > ' This section tells the programme to display the image they clicked on on > the next slide (stimslide2) in the image called "Selection1" which by > default is set to be a blank bmp file. > Dim slImage as SlideImage > > Set slImage = > CSlideImage(stimslide2.States("Default").Objects("Selection1")) > > ' This retrieves the LocChose1 attribute which was the image they selected > and adds the file extension so that the image can be displayed > slImage.Filename = c.GetAttrib("LocChose1") & ".tif" > slImage.Load > stimslide2.Draw > Set s1Image = Nothing > > Sleep 100 > WEnd > > > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/9cf68c2d-af89-460e-90b2-edd17fb28cbd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From robmanc2014 at gmail.com Mon Aug 11 09:12:37 2014 From: robmanc2014 at gmail.com (Rob Manchester) Date: Mon, 11 Aug 2014 02:12:37 -0700 Subject: Trying to present visual and audio together - getting 16ms lag In-Reply-To: <53e3e139.033d320a.29ab.0778SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: David The 'sync to none' solution reduced the lag to 2ms from 16ms so that is a significant improvement. Thanks. Editing the pre-release value didn't seem to do anything, the files are very small so there is probably very little delay in loading them Thanks Rob On Thursday, 7 August 2014 21:27:39 UTC+1, McFarlane, David wrote: > > Rob, > > To answer the question asked: Yes, you are correct that the system > is losing a refresh for every object loading. You may avoid that > simply by going to the Sync tab of your Slide objects and setting > Onset Sync to "(none)". > > That said ... > > To get even better synchronization between onset of your image & > sound, you could add the sound right to the Slide. Your following > inline code (to terminate sound on response) would then have to refer > to the SlideSound sub-object instead, but if you look at some of the > automatically generated code and fuss around a little you should figure it > out. > > Instead of > > sleep(1000-c.getattrib("TonePlay.rt") > > you could simply use > > sleep(1000-TonePlay.rt) > > which avoids having to deal with an attribute that may or may not be > set at the time. But I would not use this method anyway, as I fear > that it still leaves too much room for slop (RT may not take into > account other delays that have set in, etc.). Instead, I would take > advantage of the neat built-in timing facilities of EP objects > themselves, and just manipulate the NextTargetOnsetTime directly, e.g., > > SetNextTargetOnsetTime Slide1.OnsetTime + 1000 > > to emulate Event timing mode, or > > SetNextTargetOnsetTime Slide1.TargetOnsetTime + 1000 > > to emulate Cumulative timing mode. Set the SetNextTargetOnsetTime > topic in the E-Basic Help facility. > > Better yet, just set the Slide Durations to 1000, and PreRelease to > 1000, and you will not need any code at all to make each Slide start > 1000 ms apart (don't take my word for that, try the exercise > yourself). The inline code will run during the PreRelease period as > directed, and the next Slide will start 1000 ms after the previous > one (assuming that your inline code does not run beyond the > PreRelease). (In fact, EP2.0.10 now sets PreRelease to "(same as > duration)" by default, making much of this automatic.) > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) If you do get an answer from PST > staff, please extend the courtesy of posting their reply back here > for the sake of others. > \---- > > > At 8/7/2014 01:33 PM Thursday, Rob Manchester wrote: > >I'm trying to edit someone else's experiment in E-Prime V1. > > > >They have a procedure that contains 8 objects. 4 of these objects > >are slides which contain images. The slides have duration = 0. The > >other 4 objects are bits of inline code that calls another procedure > >which contains 1) a slide with duration 1000 which has a 'soundout' > >object of duration 1000 that terminates on a keyboard response. 2) > >a further bit of code = sleep(1000-c.getattrib("TonePlay.rt")). This > >last bit of code I think tries to ensure that the procedure lasts > >1000 regardless of the reaction time to the sound. > > > >The image slides are interespersed with the inline code that call > >the audio procedure i.e. > > > >Image Slide Duration = 0 > >Code calling audio proc, duration 1000ms > >Image Slide Duration = 0 > >Code calling audio proc, duration 1000ms > >Image Slide Duration = 0 > >Code calling audio proc, duration 1000ms > >Image Slide Duration = 0 > >Code calling audio proc, duration 1000ms > > > >My screen refresh is 60hz. The idea of the code is that the Images > >and Audio display together for 1000s each, with the audio (but not > >the image) terminating on response. It works apart from the fact > >that the audio loads 16/17ms after the image - i.e. 1 screen > >refresh. The ISI between sucessive audio stimuli is 1034ms rather > >than 1000ms (i.e. two screen refreshes too long). Could anyone tell > >me why these delays are occurring? I presume the system is losing a > >refresh for every object loading (i.e. a delay = to a screen refresh > >is occuring when E-prime moves between the slide object and the > >inline code object. I've tried putting a pre-release value of 20ms > >on the slides but this doesn't seem to have had any effect. Does any > >have any ideas as to how to solve this? > > > >Thanks > >Rob > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/ad146219-7e82-4c7f-b1a7-10882023d18b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From robmanc2014 at gmail.com Mon Aug 11 09:15:08 2014 From: robmanc2014 at gmail.com (Rob Manchester) Date: Mon, 11 Aug 2014 02:15:08 -0700 Subject: List.AddLevel returns 'Error -999' Level name that is an integer with level count mismatch In-Reply-To: <9d9af65c-7771-4f57-967f-0242d039244e@googlegroups.com> Message-ID: As an update to this, it appears to be a problem with converting code from E-Prime V1 to V2. The code works fine in V1. I got around it originally by sticking an If statement in that meant the offending code only ran for the first block. However other compatability problems meant that we ended up going back to using E-prime V1 anyway. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/d5a5a5b4-5737-4a32-84aa-4742993c1283%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jerryshen1993 at gmail.com Tue Aug 12 18:27:39 2014 From: jerryshen1993 at gmail.com (Jerry Shen) Date: Tue, 12 Aug 2014 11:27:39 -0700 Subject: Naming a specific trial in the trial list In-Reply-To: Message-ID: Hey guys! Thanks a lot for your advice. I ended up using the nested list feature in order to produce the randomization. Thanks again for all your help! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/820d76f2-f7d8-4556-a263-07e32fb757b9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wzhmelly at gmail.com Wed Aug 13 23:17:56 2014 From: wzhmelly at gmail.com (Zh Wu) Date: Wed, 13 Aug 2014 16:17:56 -0700 Subject: Equal distance to the left and right of the fixation (center of the screen) Message-ID: I am designing a paradigm to present one word pair at a time, each word at the same distance (maybe two or three spaces) to the left or right of the fixation which is at the center of the screen. The only way I could think of is to type '[stimulusLeft] [stimulusRight]' into the attribute 'stimulus'. But if the two words are of different length, will the two words still be at the same distance from the fixation point? Thank you very much and I am looking forward to your suggestions and comments! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/d287ed3d-87bd-44e1-a0cb-417a2502762b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wzhmelly at gmail.com Wed Aug 13 23:35:34 2014 From: wzhmelly at gmail.com (Zh Wu) Date: Wed, 13 Aug 2014 16:35:34 -0700 Subject: Ramdomize the blocks while selecting a specific selection for a block in real time Message-ID: I am designing an experiment with two blocks, BlockA and BlockB. I want 1/4 of participants to do BlockA randomly and then BlockB sequentially, 1/4 of participants to do BlockA sequentially and then BlockB randomly, 1/4 of participants to do BlockB randomly and then BlockA sequentially, and 1/4 of participants to do BlockB sequentially and then BlockA randomly. I know how to select the blocks randomly (i.e., half participants do BlockA first and the other half BlockB first), but for the specific list, I don't know how to change the selection for a specific participant. Any help would be greatly appreciated! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/6b4aa8c3-81c2-4251-bc12-c44f9931f288%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From asaliam20 at gmail.com Thu Aug 14 05:29:52 2014 From: asaliam20 at gmail.com (anahita khorrami) Date: Thu, 14 Aug 2014 00:29:52 -0500 Subject: Urgent Important Document Message-ID: Hello, Here is the Urgent Important Document i have upload for you please* CLICK HERE .* and sign on with your email for secure access., this is safe and secured. Thanks -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKBgtVKts9hA%2BA%2B9Q%3DeiXan7VY%2BF24xigo91pvGNRzyUMG-T%3Dg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From liwenna at gmail.com Thu Aug 14 11:15:57 2014 From: liwenna at gmail.com (Anne-Wil) Date: Thu, 14 Aug 2014 04:15:57 -0700 Subject: Equal distance to the left and right of the fixation (center of the screen) In-Reply-To: Message-ID: On the slide that shows your stimilu, use two textboxes for [stimulusleft] and [stimulusleft]. Place them to either side of a third textbox with the cross, and use the properties menu for each textbox to align the text in the left box to the right side and the text in the right box to the left side (and center the text in the cross box as well as the box' position on the display). Much more exotic solutions may be possible, but this may be simple and sufficient. Good luck! Anne-Wil On Thursday, 14 August 2014 00:17:56 UTC+1, Zh Wu wrote: > > I am designing a paradigm to present one word pair at a time, each word at > the same distance (maybe two or three spaces) to the left or right of the > fixation which is at the center of the screen. > > The only way I could think of is to type '[stimulusLeft] > [stimulusRight]' into the attribute 'stimulus'. But if the two words are of > different length, will the two words still be at the same distance from the > fixation point? > > Thank you very much and I am looking forward to your suggestions and > comments! > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/2679aeda-7177-416c-96d5-e08d5dce4b48%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Thu Aug 14 11:49:22 2014 From: gusunny1 at gmail.com (gorgeous yayuan Geng) Date: Thu, 14 Aug 2014 19:49:22 +0800 Subject: Nested List Not Following Selection Rules In-Reply-To: <49fe56fb-7d13-4d31-b493-0692016b90c3@googlegroups.com> Message-ID: Dear Noam, I have seen your excel profile and I have some questions about your procedure. How did you random the 2014-08-06 22:08 GMT+08:00 Noam Schneck : > Hi Sally, > > Thank you for the response. Sorry for the e-prime version elitism. I > can't downgrade because I don't have the lower version and would need to > reprogram the entire task if I did. I am attaching here an edat file > extracted into an excel spreadsheet. If you look at columns DB-DK you > will see the words that were selected for each trial. Columns DD and DE > show the alternating blocks. What this file shows is that for the first > six blocks there are no repetitions and then in blocks 7 and 8 (rows > 153-200 on the excel spreadsheet) there are repetitions (highlighted in > pink). The problem is that these repetitions occur within one block. I > can't figure out why that is happening since I set the wordlist to random. > I don't mind if the repetitions happen across blocks but I can't have them > within blocks. > > Let me know if you have any further thoughts, > noam > > > On Monday, August 4, 2014 11:29:48 PM UTC-4, sally wrote: > >> Hi,Noam, I am trying to download the attachemnt you posted but it seems >> my version is lower than yours, so I cann't open yout profile to see the >> details. I suppose the four words cannot be the same and you may seperate >> the 85 words into 2 different groups: positive and negative. then randomly >> select 2 words from each group. I hope you can find a lower eprime version >> so I can see the details. >> >> Hope everything goes well, >> >> Sally >> >> >> 2014-08-02 0:23 GMT+08:00 Noam Schneck : >> >>> Hi All, >>> >>> I have a task in which a slide object is used to present four words >>> (Positive1, Positive2, Negative1, Negative2). Each word is selected >>> randomly from a list that contains 85 words in total. This list "Wordlist" >>> is nested into the master list. I am trying to set the wordlist so that no >>> words will repeat within a block (24 runs) but that they can repeat across >>> blocks. I set the parameters of the wordlist to random selection with >>> replacement after reset. I set the reset at 24 samples. >>> >>> HOWEVER....E-prime seems to have a different plan. When I run a test on >>> the task I find that the program goes through the first 3 blocks (72 >>> samples) without ever repeating a single word and than in the fourth block >>> it begins repeating words within the block. I cannot figure out why this >>> is happening and I have attached the experiment file. Please help! >>> >>> Noam >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+u... at googlegroups.com. >>> To post to this group, send email to e-p... at googlegroups.com. >>> >>> To view this discussion on the web visit https://groups.google.com/d/ >>> msgid/e-prime/37451b6e-1767-4ace-bd1d-a808405c42f3%40googlegroups.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/49fe56fb-7d13-4d31-b493-0692016b90c3%40googlegroups.com > > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAJO0WNZwoVaGzJG6RViF_iCkE_S0WUqVoR_L3fGC137fJ18iJA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From xzilong at gmail.com Thu Aug 14 19:34:17 2014 From: xzilong at gmail.com (Zilong Xie) Date: Thu, 14 Aug 2014 12:34:17 -0700 Subject: Sound onset and response time issues Message-ID: Hi E-Prime experts, In my experiment, in each trial, I presented a sound and simultaneously collected response to the sound with the slide object. When I checked the edat2 file, I noticed that there was onset delay of about 100 ms (the time scale in the edat2 file is ms, right?) in the slide object. So my questions are: (1) How can I reduce the onset delay of the slide object? (2) Is the RT recorded here relative to the actual onset of the sound or the expected onset of the sound? (3) In the case of large onset delay, can I trust the RT values reported in the edat2 file? And how can I get the actual RT values? Thanks! best, Zilong -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/3afbe48b-468a-484f-b3b5-5eb7865444e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lgulley511 at gmail.com Thu Aug 14 21:34:04 2014 From: lgulley511 at gmail.com (Lauren Gulley) Date: Thu, 14 Aug 2014 14:34:04 -0700 Subject: TET package not listed as an available package in properties - can't add to e-prime In-Reply-To: <9c6d4c06-ca85-44f1-9015-aa2a45ee39e5@googlegroups.com> Message-ID: Does anyone know how to install 2.0.2.41? I also have the EET version 2.0.1.26 and am now running into a similar problem. Thanks! Take care, Lauren On Friday, April 4, 2014 12:14:23 PM UTC-6, csmi... at kent.edu wrote: > > We have a strange mystery. > > We are just beginning to work with Tobii and e-prime 2. We installed the > e-prime for Tobii extensions (2.0.1.10 from disk). We are running e-prime > 2.0 release 2.0.10.353 and Studio is 2.0.10.248. > > The first time we installed we could see the package and we added it to > e-prime. This allowed us to see the Tobii device on the device list and > chose it to make it available. We were able to run the sample experiment. > > We rebooted the machine and now the package is not listed to add in the > object properties dialog box, in the packages tab. The TET is in the device > list but cannot be selected (error message says "nothing selected"). We can > add devices that are not connected. The TET server is connected and > working. > > We tried the whole setup on another machine, this time we never saw the > package in the package list. We uninstalled and reinstalled on the original > machine and there is still no package listed. > > We can see the package file for TET and the TET dll in the device > directory. All this is in this path: PST>E-Prime 2.0>Program>Packages>TET. > > E-prime properties dialog seems to not know where the extensions are > located. We noticed that we were not asked to supply any sort of serial > number for the extensions. We are baffled. > > Does anyone have a suggestion for getting around this mystery? Any help > much appreciated. > > Best, > Cathy Smith and Alison Dickerhoof > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/06abf17b-820f-44fa-81d5-df3f17e0b383%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wzhmelly at gmail.com Fri Aug 15 01:36:38 2014 From: wzhmelly at gmail.com (Zh Wu) Date: Thu, 14 Aug 2014 18:36:38 -0700 Subject: Equal distance to the left and right of the fixation (center of the screen) In-Reply-To: <2679aeda-7177-416c-96d5-e08d5dce4b48@googlegroups.com> Message-ID: Thanks so much Anne! Your solution solved my weeks-long problem instantly! Clever and simple! Very much appreciated! Zhaohong On Thursday, August 14, 2014 7:15:57 AM UTC-4, Anne-Wil wrote: > > On the slide that shows your stimilu, use two textboxes for [stimulusleft] > and [stimulusleft]. Place them to either side of a third textbox with the > cross, and use the properties menu for each textbox to align the text in > the left box to the right side and the text in the right box to the left > side (and center the text in the cross box as well as the box' position on > the display). > > Much more exotic solutions may be possible, but this may be simple and > sufficient. > > Good luck! > > Anne-Wil > > On Thursday, 14 August 2014 00:17:56 UTC+1, Zh Wu wrote: >> >> I am designing a paradigm to present one word pair at a time, each word >> at the same distance (maybe two or three spaces) to the left or right of >> the fixation which is at the center of the screen. >> >> The only way I could think of is to type '[stimulusLeft] >> [stimulusRight]' into the attribute 'stimulus'. But if the two words are of >> different length, will the two words still be at the same distance from the >> fixation point? >> >> Thank you very much and I am looking forward to your suggestions and >> comments! >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/37200362-419a-4322-9d53-6694cde190d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wzhmelly at gmail.com Fri Aug 15 02:07:32 2014 From: wzhmelly at gmail.com (Zh Wu) Date: Thu, 14 Aug 2014 19:07:32 -0700 Subject: Equal distance to the left and right of the fixation (center of the screen) In-Reply-To: <2679aeda-7177-416c-96d5-e08d5dce4b48@googlegroups.com> Message-ID: Oh another question, is there a properties menu for each text box? I can only see one properties menu for the Stimulus. On Thursday, August 14, 2014 7:15:57 AM UTC-4, Anne-Wil wrote: > > On the slide that shows your stimilu, use two textboxes for [stimulusleft] > and [stimulusleft]. Place them to either side of a third textbox with the > cross, and use the properties menu for each textbox to align the text in > the left box to the right side and the text in the right box to the left > side (and center the text in the cross box as well as the box' position on > the display). > > Much more exotic solutions may be possible, but this may be simple and > sufficient. > > Good luck! > > Anne-Wil > > On Thursday, 14 August 2014 00:17:56 UTC+1, Zh Wu wrote: >> >> I am designing a paradigm to present one word pair at a time, each word >> at the same distance (maybe two or three spaces) to the left or right of >> the fixation which is at the center of the screen. >> >> The only way I could think of is to type '[stimulusLeft] >> [stimulusRight]' into the attribute 'stimulus'. But if the two words are of >> different length, will the two words still be at the same distance from the >> fixation point? >> >> Thank you very much and I am looking forward to your suggestions and >> comments! >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/925d43ec-3047-42a8-a0a3-a3b4fa3ec8f0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From liwenna at gmail.com Fri Aug 15 10:18:29 2014 From: liwenna at gmail.com (Anne-Wil) Date: Fri, 15 Aug 2014 03:18:29 -0700 Subject: Equal distance to the left and right of the fixation (center of the screen) In-Reply-To: <925d43ec-3047-42a8-a0a3-a3b4fa3ec8f0@googlegroups.com> Message-ID: When on a slide, you can select (click on) any text- or picture 'box' (or on the background called 'default' by default) or select each of these from the dragdown menu on the left side of the bar at the top of the slide. To the left of this dragdown menu you see a white properties icon, to modify the properties of the slide itself, and to the right a green properties item, to modify the properties of the object that is selected in the dragdown menu. Good luck! On Friday, 15 August 2014 03:07:32 UTC+1, Zh Wu wrote: > > Oh another question, is there a properties menu for each text box? I can > only see one properties menu for the Stimulus. > > > On Thursday, August 14, 2014 7:15:57 AM UTC-4, Anne-Wil wrote: >> >> On the slide that shows your stimilu, use two textboxes for >> [stimulusleft] and [stimulusleft]. Place them to either side of a third >> textbox with the cross, and use the properties menu for each textbox to >> align the text in the left box to the right side and the text in the right >> box to the left side (and center the text in the cross box as well as the >> box' position on the display). >> >> Much more exotic solutions may be possible, but this may be simple and >> sufficient. >> >> Good luck! >> >> Anne-Wil >> >> On Thursday, 14 August 2014 00:17:56 UTC+1, Zh Wu wrote: >>> >>> I am designing a paradigm to present one word pair at a time, each word >>> at the same distance (maybe two or three spaces) to the left or right of >>> the fixation which is at the center of the screen. >>> >>> The only way I could think of is to type '[stimulusLeft] >>> [stimulusRight]' into the attribute 'stimulus'. But if the two words are of >>> different length, will the two words still be at the same distance from the >>> fixation point? >>> >>> Thank you very much and I am looking forward to your suggestions and >>> comments! >>> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/6b99a5de-1176-4a50-a8db-17d59b5d6caf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wzhmelly at gmail.com Fri Aug 15 12:17:22 2014 From: wzhmelly at gmail.com (Zh Wu) Date: Fri, 15 Aug 2014 05:17:22 -0700 Subject: Equal distance to the left and right of the fixation (center of the screen) In-Reply-To: <6b99a5de-1176-4a50-a8db-17d59b5d6caf@googlegroups.com> Message-ID: Yes I see it now! Thanks so much Anne! I really appreciate your help! Zhaohong On Friday, August 15, 2014 6:18:29 AM UTC-4, Anne-Wil wrote: > > When on a slide, you can select (click on) any text- or picture 'box' (or > on the background called 'default' by default) or select each of these from > the dragdown menu on the left side of the bar at the top of the slide. To > the left of this dragdown menu you see a white properties icon, to modify > the properties of the slide itself, and to the right a green properties > item, to modify the properties of the object that is selected in the > dragdown menu. > > Good luck! > > On Friday, 15 August 2014 03:07:32 UTC+1, Zh Wu wrote: >> >> Oh another question, is there a properties menu for each text box? I can >> only see one properties menu for the Stimulus. >> >> >> On Thursday, August 14, 2014 7:15:57 AM UTC-4, Anne-Wil wrote: >>> >>> On the slide that shows your stimilu, use two textboxes for >>> [stimulusleft] and [stimulusleft]. Place them to either side of a third >>> textbox with the cross, and use the properties menu for each textbox to >>> align the text in the left box to the right side and the text in the right >>> box to the left side (and center the text in the cross box as well as the >>> box' position on the display). >>> >>> Much more exotic solutions may be possible, but this may be simple and >>> sufficient. >>> >>> Good luck! >>> >>> Anne-Wil >>> >>> On Thursday, 14 August 2014 00:17:56 UTC+1, Zh Wu wrote: >>>> >>>> I am designing a paradigm to present one word pair at a time, each word >>>> at the same distance (maybe two or three spaces) to the left or right of >>>> the fixation which is at the center of the screen. >>>> >>>> The only way I could think of is to type '[stimulusLeft] >>>> [stimulusRight]' into the attribute 'stimulus'. But if the two words are of >>>> different length, will the two words still be at the same distance from the >>>> fixation point? >>>> >>>> Thank you very much and I am looking forward to your suggestions and >>>> comments! >>>> >>> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/79a69903-76ba-4da3-a9b5-d88a6c2bf31d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mylam8 at gmail.com Fri Aug 15 14:39:16 2014 From: mylam8 at gmail.com (Melanie Lam) Date: Fri, 15 Aug 2014 07:39:16 -0700 Subject: Mac. E-Prime. Keyboard. HELP! Message-ID: Hi everyone, I've successfully loaded E-Prime on my Mac. Using Windows 7 (BootCamp). Recognized the dongle key. Check. Loaded E-Studio, E-Data Aid, and E-Run. Check. Here's where I'm losing my mind. I start my experiment. I am able to input the subject number, session number. Proceeds to the instruction page. Participants are meant to press the Spacebar to move on the next screen. The key press is not being detected. I've been playing around with different ideas. Maybe, a PC keyboard would resolve it. Nope. Maybe, its the Spacebar. I'll change it to the "H" key. Nope. Funny, if I chance the response device to the mouse, I can move past the intro screen as the mouse click is detected. Then I get to the next screen where they have to choose option 1, 2 or 3. Won't detect those keys. Has anyone run into this problem? Any thoughts or ideas? I'd really appreciate it! Best, Mel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/f6adef84-1ce6-49dd-a7b1-83c33f5c32b3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From liwenna at gmail.com Sat Aug 16 10:22:49 2014 From: liwenna at gmail.com (Anne-Wil) Date: Sat, 16 Aug 2014 03:22:49 -0700 Subject: Mac. E-Prime. Keyboard. HELP! In-Reply-To: Message-ID: Hi Mel, Here no problems with mac keyboards. Just a very simply - probably silly- thought: did you define allowable responses to include {ANY}, [SPACE} or h? best, Anne-Wil On Friday, 15 August 2014 15:39:16 UTC+1, Melanie Lam wrote: > > Hi everyone, > > I've successfully loaded E-Prime on my Mac. Using Windows 7 (BootCamp). > Recognized the dongle key. Check. Loaded E-Studio, E-Data Aid, and E-Run. > Check. > > Here's where I'm losing my mind. I start my experiment. I am able to input > the subject number, session number. Proceeds to the instruction page. > Participants are meant to press the Spacebar to move on the next screen. > The key press is not being detected. I've been playing around with > different ideas. Maybe, a PC keyboard would resolve it. Nope. Maybe, its > the Spacebar. I'll change it to the "H" key. Nope. Funny, if I chance the > response device to the mouse, I can move past the intro screen as the mouse > click is detected. Then I get to the next screen where they have to choose > option 1, 2 or 3. Won't detect those keys. > > Has anyone run into this problem? Any thoughts or ideas? I'd really > appreciate it! > > Best, > Mel > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/89411fd3-d664-4c1d-9bde-ed1eda83baa5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wzhmelly at gmail.com Sat Aug 16 23:52:04 2014 From: wzhmelly at gmail.com (Zh Wu) Date: Sat, 16 Aug 2014 16:52:04 -0700 Subject: Ramdomize the blocks while selecting a specific selection for a block in real time In-Reply-To: <6b4aa8c3-81c2-4251-bc12-c44f9931f288@googlegroups.com> Message-ID: For simplicity, I just designed four different scripts, but I am still wondering whether this is doable in Eprime:) On Wednesday, August 13, 2014 7:35:34 PM UTC-4, Zh Wu wrote: > > I am designing an experiment with two blocks, BlockA and BlockB. > > I want 1/4 of participants to do BlockA randomly and then BlockB > sequentially, 1/4 of participants to do BlockA sequentially and then BlockB > randomly, 1/4 of participants to do BlockB randomly and then BlockA > sequentially, and 1/4 of participants to do BlockB sequentially and then > BlockA randomly. > > I know how to select the blocks randomly (i.e., half participants do > BlockA first and the other half BlockB first), but for the specific list, I > don't know how to change the selection for a specific participant. > > Any help would be greatly appreciated! > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/896fe8bb-9888-4d12-b65c-87b8c54b7147%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From katrinheimann at gmail.com Sun Aug 17 06:52:59 2014 From: katrinheimann at gmail.com (KatrinH Heimann) Date: Sun, 17 Aug 2014 08:52:59 +0200 Subject: Ramdomize the blocks while selecting a specific selection for a block in real time In-Reply-To: <896fe8bb-9888-4d12-b65c-87b8c54b7147@googlegroups.com> Message-ID: Hey, well I guess what you could do is, referring in an inline before and after the block to the attribute subjectnumber and depending on this let eprime jump to the right block using a "goto" command and a label so assuming you would have two blocks only and subjects 1 would have to do the first block first, subject 2 the second: you would need to put an inline object before the blocks saying something like if getattribute "subjectnumber" = 2 (I am not sure though anymore about how the getattribute command is implemented precisely, look it up googling) goto label1 (which you should put before block 2) and then after block 2: if getattribute "subjectnumber" = 2 goto label2 (which you should put before block 1 after the first inline) and then after block 1: if getattribute "subjectnumber" = 2 (I am not sure about how the getattribute command is implemented anymore, look it up googling) goto label2 (which you should put before block 1 after the first inline) if getattribute "subjectnumber" = 2 (I am not sure about how the getattribute command is implemented anymore, look it up googling) goto label3 (which you should put at the end of the experiment) but there are a lot of inlines involved like this.... probably there is an easier way, too.... k 2014-08-17 1:52 GMT+02:00 Zh Wu : > For simplicity, I just designed four different scripts, but I am still > wondering whether this is doable in Eprime:) > > On Wednesday, August 13, 2014 7:35:34 PM UTC-4, Zh Wu wrote: >> >> I am designing an experiment with two blocks, BlockA and BlockB. >> >> I want 1/4 of participants to do BlockA randomly and then BlockB >> sequentially, 1/4 of participants to do BlockA sequentially and then BlockB >> randomly, 1/4 of participants to do BlockB randomly and then BlockA >> sequentially, and 1/4 of participants to do BlockB sequentially and then >> BlockA randomly. >> >> I know how to select the blocks randomly (i.e., half participants do >> BlockA first and the other half BlockB first), but for the specific list, I >> don't know how to change the selection for a specific participant. >> >> Any help would be greatly appreciated! >> > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/896fe8bb-9888-4d12-b65c-87b8c54b7147%40googlegroups.com > > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CACnHcBchEDeATpVnUguyNgBbj1%3DZws9tURyV1NddLd-gdw0G-Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wzhmelly at gmail.com Sun Aug 17 14:22:55 2014 From: wzhmelly at gmail.com (Zh Wu) Date: Sun, 17 Aug 2014 07:22:55 -0700 Subject: Ramdomize the blocks while selecting a specific selection for a block in real time In-Reply-To: Message-ID: Thank you so much for your great suggestions Katrin! Using an inline is so much useful, not only determining the block sequences but also changing the selections as wanted. Is there a function for the getattribute to be either odd or even, so that we don't need to write the inline for each subject number? Zhaohong On Sunday, August 17, 2014 2:53:01 AM UTC-4, Katrin wrote: > > Hey, well I guess what you could do is, referring in an inline before and > after the block to the attribute subjectnumber and depending on this let > eprime jump to the right block using a "goto" command and a label > > so assuming you would have two blocks only and subjects 1 would have to do > the first block first, subject 2 the second: > you would need to put an inline object before the blocks saying something > like > > if getattribute "subjectnumber" = 2 (I am not sure though anymore about > how the getattribute command is implemented precisely, look it up googling) > goto label1 (which you should put before block 2) > > and then after block 2: > > if getattribute "subjectnumber" = 2 > goto label2 (which you should put before block 1 after the first inline) > > and then after block 1: > > if getattribute "subjectnumber" = 2 (I am not sure about how the > getattribute command is implemented anymore, look it up googling) > goto label2 (which you should put before block 1 after the first inline) > > if getattribute "subjectnumber" = 2 (I am not sure about how the > getattribute command is implemented anymore, look it up googling) > goto label3 (which you should put at the end of the experiment) > > but there are a lot of inlines involved like this.... > probably there is an easier way, too.... > > k > > > > > > 2014-08-17 1:52 GMT+02:00 Zh Wu >: > >> For simplicity, I just designed four different scripts, but I am still >> wondering whether this is doable in Eprime:) >> >> On Wednesday, August 13, 2014 7:35:34 PM UTC-4, Zh Wu wrote: >>> >>> I am designing an experiment with two blocks, BlockA and BlockB. >>> >>> I want 1/4 of participants to do BlockA randomly and then BlockB >>> sequentially, 1/4 of participants to do BlockA sequentially and then BlockB >>> randomly, 1/4 of participants to do BlockB randomly and then BlockA >>> sequentially, and 1/4 of participants to do BlockB sequentially and then >>> BlockA randomly. >>> >>> I know how to select the blocks randomly (i.e., half participants do >>> BlockA first and the other half BlockB first), but for the specific list, I >>> don't know how to change the selection for a specific participant. >>> >>> Any help would be greatly appreciated! >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+u... at googlegroups.com . >> To post to this group, send email to e-p... at googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/896fe8bb-9888-4d12-b65c-87b8c54b7147%40googlegroups.com >> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7ec6a809-43cc-4e29-aa6d-879edf0e1fa1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Mon Aug 18 07:43:41 2014 From: aadpors at gmail.com (Aad Pors) Date: Mon, 18 Aug 2014 00:43:41 -0700 Subject: Response collection over blank Message-ID: Dear all, I'll try to be short. Stimulus setup: text screen with stimulus (StimExp) is presented for 250 ms, followed by an empty text screen (BlankExp) for 900 ms. This cycle is repeated multiple times with different contents of the stimulus screen. I want to collect multiple keyboard 'b' presses and releases (b{-b}, max count 10). This works to the extent that I can indeed collect all these responses, as long as StimExp is being presented. I want to collect responses over the complete period of 1150 ms, as defined in the StimExp Duration properties Time Limit (1150 ms). Responses that are provided whilst the blank is being presented are not recorded. What can I do about that? The InLIne reads as follows: Dim theResponseObject As RteRunnableInputObject Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp")) 'If the assert below fires, then the object named in the line above does not exist Debug.Assert Not theResponseObject Is Nothing 'Counter variable for the number of responses made Dim nPressCount As Long 'Counter variable Dim nIndex As Integer 'Used to set attributes for statistics Dim strStatistic As String 'Enumerate through the response collection 'If any of the responses were made by the keyboard, display 'the statistics to the user. For nIndex = 1 To theResponseObject.InputMasks.Responses.Count 'Set theKeyboardResponseData equal to the current keyboard response Dim theKeyboardResponseData As KeyboardResponseData Set theKeyboardResponseData = CKeyboardResponseData(theResponseObject.InputMasks.Responses(nIndex)) If Not theKeyboardResponseData Is Nothing Then 'Increment the press count nPressCount = nPressCount + 1 'Log reaction time and response for each key press. c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP End If Next 'nIndex -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/bf2cd9e2-d3ae-4fb0-b333-358522ad02c6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Mon Aug 18 11:24:24 2014 From: aadpors at gmail.com (Aad Pors) Date: Mon, 18 Aug 2014 04:24:24 -0700 Subject: Response collection over blank In-Reply-To: Message-ID: *UPDATE* it seems that in previous versions I have not been able to collect responses during the blank properly as well. So now it seems to have become a matter of response time extension from the StimExp into the blank. Google provides hits with nested lists and other stuff which I believe to be more difficult than it has to be in my case. A helping word please? Op maandag 18 augustus 2014 09:43:41 UTC+2 schreef Aad Pors: > > Dear all, > > I'll try to be short. > > Stimulus setup: text screen with stimulus (StimExp) is presented for 250 > ms, followed by an empty text screen (BlankExp) for 900 ms. This cycle is > repeated multiple times with different contents of the stimulus screen. > I want to collect multiple keyboard 'b' presses and releases (b{-b}, max > count 10). This works to the extent that I can indeed collect all these > responses, as long as StimExp is being presented. I want to collect > responses over the complete period of 1150 ms, as defined in the StimExp > Duration properties Time Limit (1150 ms). Responses that are provided > whilst the blank is being presented are not recorded. What can I do about > that? The InLIne reads as follows: > > > Dim theResponseObject As RteRunnableInputObject > Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp")) > > 'If the assert below fires, then the object named in the line above does > not exist > Debug.Assert Not theResponseObject Is Nothing > > 'Counter variable for the number of responses made > Dim nPressCount As Long > > 'Counter variable > Dim nIndex As Integer > > 'Used to set attributes for statistics > Dim strStatistic As String > 'Enumerate through the response collection > 'If any of the responses were made by the keyboard, display > 'the statistics to the user. > For nIndex = 1 To theResponseObject.InputMasks.Responses.Count > > 'Set theKeyboardResponseData equal to the current keyboard response > Dim theKeyboardResponseData As KeyboardResponseData > Set theKeyboardResponseData = > CKeyboardResponseData(theResponseObject.InputMasks.Responses(nIndex)) > If Not theKeyboardResponseData Is Nothing Then > > 'Increment the press count > nPressCount = nPressCount + 1 > > 'Log reaction time and response for each key press. > c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT > c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP > End If > > > Next 'nIndex > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/6661a444-51db-4466-bdcd-d87662818c93%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Mon Aug 18 11:41:23 2014 From: aadpors at gmail.com (Aad Pors) Date: Mon, 18 Aug 2014 04:41:23 -0700 Subject: response recording during several displays In-Reply-To: Message-ID: I have a stimulus screen that lasts for 250 ms, followed by a mask of 900 ms. The total response time (Time Limit) is 1150 ms. However, it does not work, and I cannot figure out why. See attachment for the studio file... Op donderdag 17 december 2009 19:15:48 UTC+1 schreef Sravani Vinapamula: > > Oh... Thank you! I will definitely look at the Appendix C > > On Thu, Dec 17, 2009 at 12:57 PM, David McFarlane > wrote: > >> Indeed, that is not a bad solution, and it is the first solution that >> all my students come up with when I pose the question to them (and >> was my own first solution). But for one thing it does seem >> kludgy: The .RT appears sometimes in the stimulus column, sometimes >> in the mask column, and when it appears in the mask column you have >> to add in the duration of the stim. And if you do just that, your RT >> will *not* include the time between the offset of the stimulus and >> the onset of the mask. So to get it right when the response comes >> during the mask you would need to calculate mask.RTTime - >> stim.OnsetTime. Whew! >> >> There has to be an easier way, and there is -- *Extended >> Input*. Extended input cleanly, simply, and transparently takes care >> of all of this. Please please do not overlook Appendix C. >> >> -- David McFarlane, Professional Faultfinder >> >> >> At 12/17/2009 11:32 AM Thursday, Sravani Vinapamula wrote: >> >I think you can just give the duration for the response as the sum >> >of the times of both slides. >> > >> > >> > >> > >> >On Wed, Dec 16, 2009 at 4:23 AM, Tobi >> ><>tobias.fw at gmail.com >> > wrote: >> >Hi everyone, >> > >> >I have the following, although sounding simple, hard to solve problem: >> > >> >I want to show a stimulus for x ms and then to show a mask for y ms. >> >Participants should be able to respond for the x+y ms, i.e. during two >> >displays. >> > >> >How can I do this? >> >Any hints are most welcome! >> > >> >Cheers, >> >Tobias >> >> -- >> >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To post to this group, send email to e-p... at googlegroups.com >> . >> To unsubscribe from this group, send email to >> e-prime+u... at googlegroups.com . >> For more options, visit this group at >> http://groups.google.com/group/e-prime?hl=en. >> >> >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/758edcd2-be76-4d2a-ac91-85f83086f979%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test.es2 Type: application/octet-stream Size: 53068 bytes Desc: not available URL: From mcfarla9 at msu.edu Tue Aug 19 15:46:06 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 19 Aug 2014 11:46:06 -0400 Subject: Ramdomize the blocks while selecting a specific selection for a block in real time In-Reply-To: Message-ID: You could achieve much the same effect, without any inline code, by using a main List with Selection Order set to Counterbalance, and Order By set to Subject. That List would have one row for each of your possible scenarios, and then use the Subject number to select which row to run. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/17/2014 02:52 AM Sunday, KatrinH Heimann wrote: >Hey, well I guess what you could do is, >referring in an inline before and after the >block to the attribute subjectnumber and >depending on this let eprime jump to the right >block using a "goto" command and a label > >so assuming you would have two blocks only and >subjects 1 would have to do the first block first, subject 2 the second: >you would need to put an inline object before >the blocks saying something like? > >if getattribute "subjectnumber" = 2 (I am not >sure though anymore about how the getattribute >command is implemented precisely, look it up googling) >goto label1 (which you should put before block 2)? > >and then after block 2:? > >if getattribute "subjectnumber" = 2? >goto label2 (which you should put before block 1 after the first inline) > >and then after block 1: >? >if getattribute "subjectnumber" = 2 (I am not >sure about how the getattribute command is >implemented anymore, look it up googling) >goto label2 (which you should put before block 1 after the first inline) > >if getattribute "subjectnumber" = 2 (I am not >sure about how the getattribute command is >implemented anymore, look it up googling) >goto label3 (which you should put at the end of the experiment) > >but there are a lot of inlines involved like this.... >probably there is an easier way, too.... > >k? > > > > > >2014-08-17 1:52 GMT+02:00 Zh Wu ><wzhmelly at gmail.com>: >For simplicity, I just designed four different >scripts, but I am still wondering whether this is doable in Eprime:) > >On Wednesday, August 13, 2014 7:35:34 PM UTC-4, Zh Wu wrote: >I am designing an experiment with two blocks, BlockA and BlockB.? > >I want 1/4 of participants to do BlockA randomly >and then BlockB sequentially,? 1/4 of >participants to do BlockA sequentially and then >BlockB randomly,? 1/4 of participants to do >BlockB randomly and then BlockA sequentially, >and 1/4 of participants to do BlockB sequentially and then BlockA randomly.? > >I know how to select the blocks randomly (i.e., >half participants do BlockA first and the other >half BlockB first), but for the specific list, I >don't know how to change the selection for a specific participant. > >Any help would be greatly appreciated! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f37149.6a39320a.4739.0d2cSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Tue Aug 19 15:57:40 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 19 Aug 2014 11:57:40 -0400 Subject: Response collection over blank In-Reply-To: <6661a444-51db-4466-bdcd-d87662818c93@googlegroups.com> Message-ID: Please work through the extended input example (NestingXRT) in Appendix C of the User's Guide that came with E-Prime. And if you do not already have the multiple responses working, then also look at the Multiple Response Collection example that you may download from the PST website. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/18/2014 07:24 AM Monday, Aad Pors wrote: >UPDATE > >it seems that in previous versions I have not been able to collect >responses during the blank properly as well. So now it seems to have >become a matter of response time extension from the StimExp into the >blank. Google provides hits with nested lists and other stuff which >I believe to be more difficult than it has to be in my case. > >A helping word please? > >Op maandag 18 augustus 2014 09:43:41 UTC+2 schreef Aad Pors: >Dear all, > >I'll try to be short. > >Stimulus setup: text screen with stimulus (StimExp) is presented for >250 ms, followed by an empty text screen (BlankExp) for 900 ms. This >cycle is repeated multiple times with different contents of the >stimulus screen. >I want to collect multiple keyboard 'b' presses and releases (b{-b}, >max count 10). This works to the extent that I can indeed collect >all these responses, as long as StimExp is being presented. I want >to collect responses over the complete period of 1150 ms, as defined >in the StimExp Duration properties Time Limit (1150 ms). Responses >that are provided whilst the blank is being presented are not >recorded. What can I do about that? The InLIne reads as follows: > > >Dim theResponseObject As RteRunnableInputObject >Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp")) > >'If the assert below fires, then the object named in the line above >does not exist >Debug.Assert Not theResponseObject Is Nothing > >'Counter variable for the number of responses made >Dim nPressCount As Long > >'Counter variable >Dim nIndex As Integer > >'Used to set attributes for statistics >Dim strStatistic As String >'Enumerate through the response collection >'If any of the responses were made by the keyboard, display >'the statistics to the user. >For nIndex = 1 To theResponseObject.InputMasks.Responses.Count > >'Set theKeyboardResponseData equal to the current keyboard response >Dim theKeyboardResponseData As KeyboardResponseData >Set theKeyboardResponseData = >CKeyboardResponseData(theResponseObject.InputMasks.Responses(nIndex)) >If Not theKeyboardResponseData Is Nothing Then > >'Increment the press count >nPressCount = nPressCount + 1 > >'Log reaction time and response for each key press. >c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT >c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP >End If > > >Next 'nIndex -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f373ff.5099320a.022d.6819SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Tue Aug 19 16:06:43 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 19 Aug 2014 12:06:43 -0400 Subject: Sound onset and response time issues In-Reply-To: <3afbe48b-468a-484f-b3b5-5eb7865444e5@googlegroups.com> Message-ID: Zilong, 1) First and foremost, please thoroughly study the "Critical Timing" chapter in the User's Guide that came with E-Prime. 2) The RT is relative to the OnsetTime of the E-Object that plays the sound, e.g., StimSlide.RT = StimSlide.RTTime - StimSlide.OnsetTime (do not take my word for that, please look for yourself). Note that the audio hardware may impose additional delays so that actual onset of sound lags even further behind OnsetTime, to test this you would need additional equipment (e.g., oscilloscope or Black Box Toolkit). 3) Yes, you should be able to trust the RT values even with large OnsetDelay values. But you do well to verify this yourself with external testing equipment as mentioned above. Finally, look at https://groups.google.com/d/topic/e-prime/OeiZ00V9SRc for a discussion of the various time audit measures. Best, ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/14/2014 03:34 PM Thursday, Zilong Xie wrote: > Hi E-Prime experts, > In my experiment, in each trial, I presented a sound and > simultaneously collected response to the sound with the slide > object. When I checked the edat2 file, I noticed that there was > onset delay of about 100 ms (the time scale in the edat2 file is > ms, right?) in the slide object. So my questions are: > (1) How can I reduce the onset delay of the slide object? > (2) Is the RT recorded here relative to the actual onset of the > sound or the expected onset of the sound? > (3) In the case of large onset delay, can I trust the RT values > reported in the edat2 file? And how can I get the actual RT values? > > Thanks! > >best, >Zilong -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f3761e.4937320a.5adb.6773SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From tobias.fw at gmail.com Tue Aug 19 17:49:01 2014 From: tobias.fw at gmail.com (Tobias) Date: Tue, 19 Aug 2014 10:49:01 -0700 Subject: How can I insert an image on a slide with code? Message-ID: Dear all, I have a slide ("Slide1") that has an image on it called "Image1". Now I want to use code to specify the filename of that image according to my needs. I have tried something like Slide1.Image1.filename = "picture.bmp" but that doesn't seem to work. It says "Image1 is not a property of the object". Any ideas how to solve this problem? Thanks, Tobias -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/77b24211-97a5-4ba2-8bbc-85b866437bc8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Aug 19 18:11:11 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 19 Aug 2014 14:11:11 -0400 Subject: How can I insert an image on a slide with code? In-Reply-To: <77b24211-97a5-4ba2-8bbc-85b866437bc8@googlegroups.com> Message-ID: Tobias, First, if at all possible I recommend that you instead use an attribute reference for the image filename, and if needed just use inline code to set that attribute. Please see discussion at https://groups.google.com/d/topic/e-prime/dWpfjk-BeLs . If you must persist in assigning the filename directly in code, that takes several steps, too tedious to write out here. Your best bet is to make a Slide with an image sub-object that uses an attribute reference, have E-Studio generate the code, then look at the code that generated by E-Studio and go from there. That's how I figure out much of this stuff. Best, ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/19/2014 01:49 PM Tuesday, Tobias wrote: >I have a slide ("Slide1") that has an image on it called "Image1". >Now I want to use code to specify the filename of that image >according to my needs. > >I have tried something like Slide1.Image1.filename = "picture.bmp" >but that doesn't seem to work. It says "Image1 is not a property of >the object". > >Any ideas how to solve this problem? > >Thanks, >Tobias -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f3934b.496b320a.4998.1389SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From yakunina at gmail.com Wed Aug 20 00:26:38 2014 From: yakunina at gmail.com (yakunina at gmail.com) Date: Tue, 19 Aug 2014 17:26:38 -0700 Subject: Displaying a countdown timer for participants In-Reply-To: <17becff4-f878-4796-ba2a-8c23908a2fdf@24g2000hsh.googlegroups.com> Message-ID: Hello Matt, I'm sorry if it's a dumb question, but where can I download the sample CountDownClock.es? I'm new to this group and I couldn't find files section. And I'm in desperate need of the countdown timer :) Thank you! Natalia On Thursday, April 17, 2008 2:37:44 AM UTC+9, Matt wrote: > > Hello, > > Ben's advice is very good and is the method we would recommend. I have > added our formal sample (CountDownClock.es) to the Files section of > this group for reference. If you have any questions, please let me > know. > > Sincerely, > Matt Lenhart > PST Technical Consultant > http://pstnet.com -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7ec6329b-240c-41ef-8f7f-0fa87cda04e4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Wed Aug 20 01:22:42 2014 From: gusunny1 at gmail.com (sunnygu) Date: Wed, 20 Aug 2014 09:22:42 +0800 Subject: Displaying a countdown timer for participants In-Reply-To: <7ec6329b-240c-41ef-8f7f-0fa87cda04e4@googlegroups.com> Message-ID: Dear Natalia, As far as I know, I think there is no file download section and you can try in PST community since this is a discussion forum. And I may suppose you can try gettimer function in eprime or search timer in help for ebasic to see if there is any function you can use. My best, Sally ???? iPhone > ? 2014?8?20????8:26?yakunina at gmail.com ??? > > Hello Matt, > > I'm sorry if it's a dumb question, but where can I download the sample CountDownClock.es? > I'm new to this group and I couldn't find files section. And I'm in desperate need of the countdown timer :) > > Thank you! > Natalia > >> On Thursday, April 17, 2008 2:37:44 AM UTC+9, Matt wrote: >> Hello, >> >> Ben's advice is very good and is the method we would recommend. I have >> added our formal sample (CountDownClock.es) to the Files section of >> this group for reference. If you have any questions, please let me >> know. >> >> Sincerely, >> Matt Lenhart >> PST Technical Consultant >> http://pstnet.com > > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7ec6329b-240c-41ef-8f7f-0fa87cda04e4%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/FE0330AE-72CF-4593-B133-D23D1544940D%40gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Wed Aug 20 08:50:51 2014 From: aadpors at gmail.com (Aad Pors) Date: Wed, 20 Aug 2014 01:50:51 -0700 Subject: Collect response during blank Message-ID: Dear all, *The experiment* 250 ms text stimulus followed by a 900 ms empty text screen (blank). Single keyboard button responses thoughout this cycle of 1150 ms. *The goal* To collect multiple button presses and releases that are omitted during on-screen time of the stimulus (StimExp) and the blank (BlankExp), with their respective response times. *The InLine script* *- - - - - - - - - - - - - - - - - - - * Dim theResponseObject As RteRunnableInputObject Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp")) 'If the assert below fires, then the object named in the line above does not exist Debug.Assert Not theResponseObject Is Nothing 'Counter variable for the number of responses made Dim nPressCount As Long 'Counter variable Dim nIndex As Integer 'Used to set attributes for statistics Dim strStatistic As String 'Enumerate through the response collection 'If any of the responses were made by the keyboard, display 'the statistics to the user. For nIndex = 1 To theResponseObject.InputMasks.Responses.Count 'Set theKeyboardResponseData equal to the current keyboard response Dim theKeyboardResponseData As KeyboardResponseData Set theKeyboardResponseData = CKeyboardResponseData(theResponseObject.InputMasks.Responses(nIndex)) If Not theKeyboardResponseData Is Nothing Then 'Increment the press count nPressCount = nPressCount + 1 'Log reaction time and response for each key press. c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP End If Next 'nIndex *- - - - - - - - - - - - - - - - - - - - - -* *The problem* The time limit in the StimExp object has been set to 1150 ms. Therefore, Eprime does what it is supposed to do: it records all button presses and releases (as set by me), but keeps records on the response time of the last input only. Te Script works, as long as the responses are provided during the on-screen time of the stimulus. Inputs whilst the blank is being presented are not recorded by the script. *The question* How do I solve this problem? I can't figure it out on my own. Regards, Aad PS, the origin of the script is the Multiple Responses example of PST support. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From katrinheimann at gmail.com Wed Aug 20 08:58:49 2014 From: katrinheimann at gmail.com (KatrinH Heimann) Date: Wed, 20 Aug 2014 10:58:49 +0200 Subject: Collect response during blank In-Reply-To: <10f406a6-d1e8-4637-92c7-44f5c10b4a7f@googlegroups.com> Message-ID: Hi Aad, as far as I get it the problem is that as Response Object you only choose the stimulusslide. I am referring to the following line: Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp")) You have to probably create two Response Objects(1 and 2) ... Best Katrin 2014-08-20 10:50 GMT+02:00 Aad Pors : > Dear all, > > *The experiment* > 250 ms text stimulus followed by a 900 ms empty text screen (blank). > Single keyboard button responses thoughout this cycle of 1150 ms. > > *The goal* > To collect multiple button presses and releases that are omitted during > on-screen time of the stimulus (StimExp) and the blank (BlankExp), with > their respective response times. > > *The InLine script* > > *- - - - - - - - - - - - - - - - - - - * > > Dim theResponseObject As RteRunnableInputObject > Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp")) > > 'If the assert below fires, then the object named in the line above does > not exist > Debug.Assert Not theResponseObject Is Nothing > > 'Counter variable for the number of responses made > Dim nPressCount As Long > > 'Counter variable > Dim nIndex As Integer > > 'Used to set attributes for statistics > Dim strStatistic As String > 'Enumerate through the response collection > 'If any of the responses were made by the keyboard, display > 'the statistics to the user. > For nIndex = 1 To theResponseObject.InputMasks.Responses.Count > > 'Set theKeyboardResponseData equal to the current keyboard response > Dim theKeyboardResponseData As KeyboardResponseData > Set theKeyboardResponseData = > CKeyboardResponseData(theResponseObject.InputMasks.Responses(nIndex)) > If Not theKeyboardResponseData Is Nothing Then > > 'Increment the press count > nPressCount = nPressCount + 1 > > 'Log reaction time and response for each key press. > c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT > c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP > End If > > > Next 'nIndex > > *- - - - - - - - - - - - - - - - - - - - - -* > > *The problem* > The time limit in the StimExp object has been set to 1150 ms. Therefore, > Eprime does what it is supposed to do: it records all button presses and > releases (as set by me), but keeps records on the response time of the last > input only. Te Script works, as long as the responses are provided during > the on-screen time of the stimulus. Inputs whilst the blank is being > presented are not recorded by the script. > > *The question* > How do I solve this problem? I can't figure it out on my own. > > Regards, > > Aad > > PS, the origin of the script is the Multiple Responses example of PST > support. > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CACnHcBd2MU8DoiX5tz%2BXhcrRVn-aMiVmiprRCaZN%3D61tUm1wmw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Wed Aug 20 09:06:56 2014 From: aadpors at gmail.com (Aad Pors) Date: Wed, 20 Aug 2014 02:06:56 -0700 Subject: Collect response during blank In-Reply-To: Message-ID: Indeed. But in my opinion, since the Time Limit in the StimExp properties has been set to 1150 ms, responses that are provided during BlankExp presentation should be recorded as responses to the stimulus slide (as Eprime intrinsically does). Furthermore, if I would indeed add a second ResponseObject, would it not be necessary to "copy/paste" the whole script for the second response object as well? Op woensdag 20 augustus 2014 10:58:51 UTC+2 schreef Katrin: > > Hi Aad, as far as I get it the problem is that as Response Object you only > choose the stimulusslide. I am referring to the following line: > Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp")) > > You have to probably create two Response Objects(1 and 2) ... > Best > Katrin > > > 2014-08-20 10:50 GMT+02:00 Aad Pors >: > >> Dear all, >> >> *The experiment* >> 250 ms text stimulus followed by a 900 ms empty text screen (blank). >> Single keyboard button responses thoughout this cycle of 1150 ms. >> >> *The goal* >> To collect multiple button presses and releases that are omitted during >> on-screen time of the stimulus (StimExp) and the blank (BlankExp), with >> their respective response times. >> >> *The InLine script* >> >> *- - - - - - - - - - - - - - - - - - - * >> >> Dim theResponseObject As RteRunnableInputObject >> Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp" >> )) >> >> 'If the assert below fires, then the object named in the line above does >> not exist >> Debug.Assert Not theResponseObject Is Nothing >> >> 'Counter variable for the number of responses made >> Dim nPressCount As Long >> >> 'Counter variable >> Dim nIndex As Integer >> >> 'Used to set attributes for statistics >> Dim strStatistic As String >> 'Enumerate through the response collection >> 'If any of the responses were made by the keyboard, display >> 'the statistics to the user. >> For nIndex = 1 To theResponseObject.InputMasks.Responses.Count >> >> 'Set theKeyboardResponseData equal to the current keyboard response >> Dim theKeyboardResponseData As KeyboardResponseData >> Set theKeyboardResponseData = >> CKeyboardResponseData(theResponseObject.InputMasks.Responses(nIndex)) >> If Not theKeyboardResponseData Is Nothing Then >> >> 'Increment the press count >> nPressCount = nPressCount + 1 >> >> 'Log reaction time and response for each key press. >> c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT >> c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP >> End If >> >> >> Next 'nIndex >> >> *- - - - - - - - - - - - - - - - - - - - - -* >> >> *The problem* >> The time limit in the StimExp object has been set to 1150 ms. Therefore, >> Eprime does what it is supposed to do: it records all button presses and >> releases (as set by me), but keeps records on the response time of the last >> input only. Te Script works, as long as the responses are provided during >> the on-screen time of the stimulus. Inputs whilst the blank is being >> presented are not recorded by the script. >> >> *The question* >> How do I solve this problem? I can't figure it out on my own. >> >> Regards, >> >> Aad >> >> PS, the origin of the script is the Multiple Responses example of PST >> support. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+u... at googlegroups.com . >> To post to this group, send email to e-p... at googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/4d403894-204d-4051-a041-f396b75c387e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Wed Aug 20 09:11:03 2014 From: aadpors at gmail.com (Aad Pors) Date: Wed, 20 Aug 2014 02:11:03 -0700 Subject: Response collection over blank In-Reply-To: <53f373ff.5099320a.022d.6819SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: I thought I found a solution, and had this thread deleted. However, the problem occurred again, and I made a new thread, just before you replied. Even before I posted these messages I did both. The script is based upon the PST Support example. For further discussion please go to https://groups.google.com/forum/#!topic/e-prime/yq4WYryicRc. If possible this thread can be deleted permanently... Op dinsdag 19 augustus 2014 17:57:54 UTC+2 schreef McFarlane, David: > > Please work through the extended input example (NestingXRT) in > Appendix C of the User's Guide that came with E-Prime. And if you do > not already have the multiple responses working, then also look at > the Multiple Response Collection example that you may download from > the PST website. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) If you do get an answer from PST > staff, please extend the courtesy of posting their reply back here > for the sake of others. > \---- > > > At 8/18/2014 07:24 AM Monday, Aad Pors wrote: > >UPDATE > > > >it seems that in previous versions I have not been able to collect > >responses during the blank properly as well. So now it seems to have > >become a matter of response time extension from the StimExp into the > >blank. Google provides hits with nested lists and other stuff which > >I believe to be more difficult than it has to be in my case. > > > >A helping word please? > > > >Op maandag 18 augustus 2014 09:43:41 UTC+2 schreef Aad Pors: > >Dear all, > > > >I'll try to be short. > > > >Stimulus setup: text screen with stimulus (StimExp) is presented for > >250 ms, followed by an empty text screen (BlankExp) for 900 ms. This > >cycle is repeated multiple times with different contents of the > >stimulus screen. > >I want to collect multiple keyboard 'b' presses and releases (b{-b}, > >max count 10). This works to the extent that I can indeed collect > >all these responses, as long as StimExp is being presented. I want > >to collect responses over the complete period of 1150 ms, as defined > >in the StimExp Duration properties Time Limit (1150 ms). Responses > >that are provided whilst the blank is being presented are not > >recorded. What can I do about that? The InLIne reads as follows: > > > > > >Dim theResponseObject As RteRunnableInputObject > >Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp")) > > > >'If the assert below fires, then the object named in the line above > >does not exist > >Debug.Assert Not theResponseObject Is Nothing > > > >'Counter variable for the number of responses made > >Dim nPressCount As Long > > > >'Counter variable > >Dim nIndex As Integer > > > >'Used to set attributes for statistics > >Dim strStatistic As String > >'Enumerate through the response collection > >'If any of the responses were made by the keyboard, display > >'the statistics to the user. > >For nIndex = 1 To theResponseObject.InputMasks.Responses.Count > > > >'Set theKeyboardResponseData equal to the current keyboard response > >Dim theKeyboardResponseData As KeyboardResponseData > >Set theKeyboardResponseData = > >CKeyboardResponseData(theResponseObject.InputMasks.Responses(nIndex)) > >If Not theKeyboardResponseData Is Nothing Then > > > >'Increment the press count > >nPressCount = nPressCount + 1 > > > >'Log reaction time and response for each key press. > >c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT > >c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP > >End If > > > > > >Next 'nIndex > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/21146d55-a2c1-4251-8beb-2bf50d04edf3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From katrinheimann at gmail.com Wed Aug 20 09:11:19 2014 From: katrinheimann at gmail.com (KatrinH Heimann) Date: Wed, 20 Aug 2014 11:11:19 +0200 Subject: Collect response during blank In-Reply-To: <4d403894-204d-4051-a041-f396b75c387e@googlegroups.com> Message-ID: Hey try the following: copy the whole inline while replacing all Response objects with Responseobject2 and filling in the other slide... should take you 2 min... Cheers k 2014-08-20 11:06 GMT+02:00 Aad Pors : > Indeed. But in my opinion, since the Time Limit in the StimExp properties > has been set to 1150 ms, responses that are provided during BlankExp > presentation should be recorded as responses to the stimulus slide (as > Eprime intrinsically does). > Furthermore, if I would indeed add a second ResponseObject, would it not > be necessary to "copy/paste" the whole script for the second response > object as well? > > Op woensdag 20 augustus 2014 10:58:51 UTC+2 schreef Katrin: >> >> Hi Aad, as far as I get it the problem is that as Response Object you >> only choose the stimulusslide. I am referring to the following line: >> Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp" >> )) >> >> You have to probably create two Response Objects(1 and 2) ... >> Best >> Katrin >> >> >> 2014-08-20 10:50 GMT+02:00 Aad Pors : >> >>> Dear all, >>> >>> *The experiment* >>> 250 ms text stimulus followed by a 900 ms empty text screen (blank). >>> Single keyboard button responses thoughout this cycle of 1150 ms. >>> >>> *The goal* >>> To collect multiple button presses and releases that are omitted during >>> on-screen time of the stimulus (StimExp) and the blank (BlankExp), with >>> their respective response times. >>> >>> *The InLine script* >>> >>> *- - - - - - - - - - - - - - - - - - - * >>> >>> Dim theResponseObject As RteRunnableInputObject >>> Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp" >>> )) >>> >>> 'If the assert below fires, then the object named in the line above does >>> not exist >>> Debug.Assert Not theResponseObject Is Nothing >>> >>> 'Counter variable for the number of responses made >>> Dim nPressCount As Long >>> >>> 'Counter variable >>> Dim nIndex As Integer >>> >>> 'Used to set attributes for statistics >>> Dim strStatistic As String >>> 'Enumerate through the response collection >>> 'If any of the responses were made by the keyboard, display >>> 'the statistics to the user. >>> For nIndex = 1 To theResponseObject.InputMasks.Responses.Count >>> >>> 'Set theKeyboardResponseData equal to the current keyboard response >>> Dim theKeyboardResponseData As KeyboardResponseData >>> Set theKeyboardResponseData = CKeyboardResponseData( >>> theResponseObject.InputMasks.Responses(nIndex)) >>> If Not theKeyboardResponseData Is Nothing Then >>> >>> 'Increment the press count >>> nPressCount = nPressCount + 1 >>> >>> 'Log reaction time and response for each key press. >>> c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT >>> c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP >>> End If >>> >>> >>> Next 'nIndex >>> >>> *- - - - - - - - - - - - - - - - - - - - - -* >>> >>> *The problem* >>> The time limit in the StimExp object has been set to 1150 ms. Therefore, >>> Eprime does what it is supposed to do: it records all button presses and >>> releases (as set by me), but keeps records on the response time of the last >>> input only. Te Script works, as long as the responses are provided during >>> the on-screen time of the stimulus. Inputs whilst the blank is being >>> presented are not recorded by the script. >>> >>> *The question* >>> How do I solve this problem? I can't figure it out on my own. >>> >>> Regards, >>> >>> Aad >>> >>> PS, the origin of the script is the Multiple Responses example of PST >>> support. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+u... at googlegroups.com. >>> To post to this group, send email to e-p... at googlegroups.com. >>> >>> To view this discussion on the web visit https://groups.google.com/d/ >>> msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/4d403894-204d-4051-a041-f396b75c387e%40googlegroups.com > > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CACnHcBd5t7XMLNH7U4AuPUE3V809BnRpd2aqvtn6v550byv8wQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Wed Aug 20 12:22:58 2014 From: aadpors at gmail.com (Aad Pors) Date: Wed, 20 Aug 2014 05:22:58 -0700 Subject: Collect response during blank In-Reply-To: Message-ID: I have been trying this in several ways, but nothing seems to work. Could you post an example of what your intent is? Op woensdag 20 augustus 2014 11:11:22 UTC+2 schreef Katrin: > > Hey > try the following: copy the whole inline while replacing all Response > objects with Responseobject2 and filling in the other slide... should take > you 2 min... > Cheers > k > > > 2014-08-20 11:06 GMT+02:00 Aad Pors >: > >> Indeed. But in my opinion, since the Time Limit in the StimExp properties >> has been set to 1150 ms, responses that are provided during BlankExp >> presentation should be recorded as responses to the stimulus slide (as >> Eprime intrinsically does). >> Furthermore, if I would indeed add a second ResponseObject, would it not >> be necessary to "copy/paste" the whole script for the second response >> object as well? >> >> Op woensdag 20 augustus 2014 10:58:51 UTC+2 schreef Katrin: >>> >>> Hi Aad, as far as I get it the problem is that as Response Object you >>> only choose the stimulusslide. I am referring to the following line: >>> Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp" >>> )) >>> >>> You have to probably create two Response Objects(1 and 2) ... >>> Best >>> Katrin >>> >>> >>> 2014-08-20 10:50 GMT+02:00 Aad Pors : >>> >>>> Dear all, >>>> >>>> *The experiment* >>>> 250 ms text stimulus followed by a 900 ms empty text screen (blank). >>>> Single keyboard button responses thoughout this cycle of 1150 ms. >>>> >>>> *The goal* >>>> To collect multiple button presses and releases that are omitted during >>>> on-screen time of the stimulus (StimExp) and the blank (BlankExp), with >>>> their respective response times. >>>> >>>> *The InLine script* >>>> >>>> *- - - - - - - - - - - - - - - - - - - * >>>> >>>> Dim theResponseObject As RteRunnableInputObject >>>> Set theResponseObject = CRteRunnableInputObject(Rte.GetObject( >>>> "StimExp")) >>>> >>>> 'If the assert below fires, then the object named in the line above >>>> does not exist >>>> Debug.Assert Not theResponseObject Is Nothing >>>> >>>> 'Counter variable for the number of responses made >>>> Dim nPressCount As Long >>>> >>>> 'Counter variable >>>> Dim nIndex As Integer >>>> >>>> 'Used to set attributes for statistics >>>> Dim strStatistic As String >>>> 'Enumerate through the response collection >>>> 'If any of the responses were made by the keyboard, display >>>> 'the statistics to the user. >>>> For nIndex = 1 To theResponseObject.InputMasks.Responses.Count >>>> >>>> 'Set theKeyboardResponseData equal to the current keyboard response >>>> Dim theKeyboardResponseData As KeyboardResponseData >>>> Set theKeyboardResponseData = CKeyboardResponseData( >>>> theResponseObject.InputMasks.Responses(nIndex)) >>>> If Not theKeyboardResponseData Is Nothing Then >>>> >>>> 'Increment the press count >>>> nPressCount = nPressCount + 1 >>>> >>>> 'Log reaction time and response for each key press. >>>> c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT >>>> c.SetAttrib "KeyPress" & nIndex & "RESP", theKeyboardResponseData.RESP >>>> End If >>>> >>>> >>>> Next 'nIndex >>>> >>>> *- - - - - - - - - - - - - - - - - - - - - -* >>>> >>>> *The problem* >>>> The time limit in the StimExp object has been set to 1150 ms. >>>> Therefore, Eprime does what it is supposed to do: it records all button >>>> presses and releases (as set by me), but keeps records on the response time >>>> of the last input only. Te Script works, as long as the responses are >>>> provided during the on-screen time of the stimulus. Inputs whilst the blank >>>> is being presented are not recorded by the script. >>>> >>>> *The question* >>>> How do I solve this problem? I can't figure it out on my own. >>>> >>>> Regards, >>>> >>>> Aad >>>> >>>> PS, the origin of the script is the Multiple Responses example of PST >>>> support. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to e-prime+u... at googlegroups.com. >>>> To post to this group, send email to e-p... at googlegroups.com. >>>> >>>> To view this discussion on the web visit https://groups.google.com/d/ >>>> msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com >>>> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+u... at googlegroups.com . >> To post to this group, send email to e-p... at googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/4d403894-204d-4051-a041-f396b75c387e%40googlegroups.com >> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/3c73ccf2-fee2-4b2b-a302-eba50dfe091d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From saxguy007 at gmail.com Wed Aug 20 13:16:08 2014 From: saxguy007 at gmail.com (Jim Bjork) Date: Wed, 20 Aug 2014 06:16:08 -0700 Subject: Does PsycholTools or any lab group maintain a repository of e-prime experiment files of cogn. tasks? Message-ID: Hello group, New here. Just hired to join faculty group at VCU to do neuroimaging of human addiction. The group owns/uses both Eprime 1.2 and 2.0. (My old group at NIH used Presentation). While they have several tasks coded up for Eprime for use off-line and with fMRI pulses, none are quite like the Monetary Incentive Delay task (Knutson) and the Stop Task (Logan). I'm wondering if anyone out there has coded these up in an es2 file and would share it, where I could work from their working task and tweak it. I'd really appreciate any leads! Jim Bjork -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/de5c40db-1529-4a86-9cca-a94c0f8bfe21%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From raufsubhani at gmail.com Wed Aug 20 18:27:40 2014 From: raufsubhani at gmail.com (Rauf Subhani) Date: Wed, 20 Aug 2014 11:27:40 -0700 Subject: LSL link in E-Prime to connect with data acquisition system Message-ID: Hi, does E-Prime support lab streaming layer (LSL) link to transmit stimulus markers to the data acquisition system? E-Prime supports TCP/IP link but the systems require LSL connection for communication between the stimulus software and the data acquisition system. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/ca3c5bd2-5337-4ef6-813e-0d5d3e7b9a07%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From raufsubhani at gmail.com Wed Aug 20 18:35:17 2014 From: raufsubhani at gmail.com (Rauf Subhani) Date: Wed, 20 Aug 2014 11:35:17 -0700 Subject: LSL link in E-Prime to connect with data acquisition system Message-ID: Hi, does E-Prime support lab streaming layer (LSL) link to transmit stimulus markers to the data acquisition system? E-Prime supports TCP/IP link but some systems require LSL connection for communication between the stimulus software and data acquisition system. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/f5974642-bc00-4a56-9bef-e9e59dd99601%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wzhmelly at gmail.com Wed Aug 20 21:32:23 2014 From: wzhmelly at gmail.com (Zh Wu) Date: Wed, 20 Aug 2014 14:32:23 -0700 Subject: Ramdomize the blocks while selecting a specific selection for a block in real time In-Reply-To: <53f37149.6a39320a.4739.0d2cSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David, Thank you so much for your suggestions! I did try to do that but I am not sure how to let Eprime select a Random/Categorized BlockA and Categorized/Random BlockB, because I want 1/4 of participants to do BlockA randomly and then BlockB sequentially, 1/4 of participants to do BlockA sequentially and then BlockB randomly, 1/4 of participants to do BlockB randomly and then BlockA sequentially, and 1/4 of participants to do BlockB sequentially and then BlockA randomly. Besides, the random list is not entirely random. I had to generate a randomized (with restrictions) list through Python and use it for every participant. So essentially the Randomized list is a sequential one. Therefore, there are four lists: categorized BlockA, 'randomized' BlockA, categorized BlockB, 'randomized' BlockB. I want Eprime to select one Block A and one Block B, the two of which has opposite selections (one categorized, the other 'randomized'). Is it possible to be done through Eprime? Looking forward to your reply! On Tuesday, August 19, 2014 11:46:21 AM UTC-4, McFarlane, David wrote: > > You could achieve much the same effect, without > any inline code, by using a main List with > Selection Order set to Counterbalance, and Order > By set to Subject. That List would have one row > for each of your possible scenarios, and then use > the Subject number to select which row to run. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) > You may reach PST's trained staff (and other > support facilities) at https://support.pstnet.com > . 3) If you do get an answer from PST staff, > please extend the courtesy of posting their reply > back here for the sake of others. > \---- > > > At 8/17/2014 02:52 AM Sunday, KatrinH Heimann wrote: > >Hey, well I guess what you could do is, > >referring in an inline before and after the > >block to the attribute subjectnumber and > >depending on this let eprime jump to the right > >block using a "goto" command and a label > > > >so assuming you would have two blocks only and > >subjects 1 would have to do the first block first, subject 2 the second: > >you would need to put an inline object before > >the blocks saying something like? > > > >if getattribute "subjectnumber" = 2 (I am not > >sure though anymore about how the getattribute > >command is implemented precisely, look it up googling) > >goto label1 (which you should put before block 2)? > > > >and then after block 2:? > > > >if getattribute "subjectnumber" = 2? > >goto label2 (which you should put before block 1 after the first inline) > > > >and then after block 1: > >? > >if getattribute "subjectnumber" = 2 (I am not > >sure about how the getattribute command is > >implemented anymore, look it up googling) > >goto label2 (which you should put before block 1 after the first inline) > > > >if getattribute "subjectnumber" = 2 (I am not > >sure about how the getattribute command is > >implemented anymore, look it up googling) > >goto label3 (which you should put at the end of the experiment) > > > >but there are a lot of inlines involved like this.... > >probably there is an easier way, too.... > > > >k? > > > > > > > > > > > >2014-08-17 1:52 GMT+02:00 Zh Wu > ><>wzhmelly at gmail.com >: > > >For simplicity, I just designed four different > >scripts, but I am still wondering whether this is doable in Eprime:) > > > >On Wednesday, August 13, 2014 7:35:34 PM UTC-4, Zh Wu wrote: > >I am designing an experiment with two blocks, BlockA and BlockB.? > > > >I want 1/4 of participants to do BlockA randomly > >and then BlockB sequentially,? 1/4 of > >participants to do BlockA sequentially and then > >BlockB randomly,? 1/4 of participants to do > >BlockB randomly and then BlockA sequentially, > >and 1/4 of participants to do BlockB sequentially and then BlockA > randomly.? > > > >I know how to select the blocks randomly (i.e., > >half participants do BlockA first and the other > >half BlockB first), but for the specific list, I > >don't know how to change the selection for a specific participant. > > > >Any help would be greatly appreciated! > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7ffd9546-fc9c-40c3-bdb8-c07921154c2d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcof at connect.hku.hk Thu Aug 21 03:19:15 2014 From: marcof at connect.hku.hk (marcof at connect.hku.hk) Date: Wed, 20 Aug 2014 20:19:15 -0700 Subject: Run-time Error (Line 2106) 11012 Message-ID: Hello guys! I have a problem encountered while I am running the program. An error pumped up "Run-time Error (Line 2106) 11012: Internal Drawing Error: 0x8007000e Unable to draw Echo Client" Does anyone have any idea what this is? I couldn't find this error in any user forum or common error list. Thanks guys! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1a5646c2-8ace-47d0-a199-742c190a258a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Thu Aug 21 08:14:23 2014 From: aadpors at gmail.com (Aad Pors) Date: Thu, 21 Aug 2014 01:14:23 -0700 Subject: Collect response during blank In-Reply-To: <3c73ccf2-fee2-4b2b-a302-eba50dfe091d@googlegroups.com> Message-ID: Never mind! The problem was the PreRelease. I thought I had that ruled out, but apparently I was not thorough enough. Regards, Aad Op woensdag 20 augustus 2014 14:22:58 UTC+2 schreef Aad Pors: > > I have been trying this in several ways, but nothing seems to work. Could > you post an example of what your intent is? > > Op woensdag 20 augustus 2014 11:11:22 UTC+2 schreef Katrin: >> >> Hey >> try the following: copy the whole inline while replacing all Response >> objects with Responseobject2 and filling in the other slide... should take >> you 2 min... >> Cheers >> k >> >> >> 2014-08-20 11:06 GMT+02:00 Aad Pors : >> >>> Indeed. But in my opinion, since the Time Limit in the StimExp >>> properties has been set to 1150 ms, responses that are provided during >>> BlankExp presentation should be recorded as responses to the stimulus slide >>> (as Eprime intrinsically does). >>> Furthermore, if I would indeed add a second ResponseObject, would it not >>> be necessary to "copy/paste" the whole script for the second response >>> object as well? >>> >>> Op woensdag 20 augustus 2014 10:58:51 UTC+2 schreef Katrin: >>>> >>>> Hi Aad, as far as I get it the problem is that as Response Object you >>>> only choose the stimulusslide. I am referring to the following line: >>>> Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("StimExp" >>>> )) >>>> >>>> You have to probably create two Response Objects(1 and 2) ... >>>> Best >>>> Katrin >>>> >>>> >>>> 2014-08-20 10:50 GMT+02:00 Aad Pors : >>>> >>>>> Dear all, >>>>> >>>>> *The experiment* >>>>> 250 ms text stimulus followed by a 900 ms empty text screen (blank). >>>>> Single keyboard button responses thoughout this cycle of 1150 ms. >>>>> >>>>> *The goal* >>>>> To collect multiple button presses and releases that are omitted >>>>> during on-screen time of the stimulus (StimExp) and the blank (BlankExp), >>>>> with their respective response times. >>>>> >>>>> *The InLine script* >>>>> >>>>> *- - - - - - - - - - - - - - - - - - - * >>>>> >>>>> Dim theResponseObject As RteRunnableInputObject >>>>> Set theResponseObject = CRteRunnableInputObject(Rte.GetObject( >>>>> "StimExp")) >>>>> >>>>> 'If the assert below fires, then the object named in the line above >>>>> does not exist >>>>> Debug.Assert Not theResponseObject Is Nothing >>>>> >>>>> 'Counter variable for the number of responses made >>>>> Dim nPressCount As Long >>>>> >>>>> 'Counter variable >>>>> Dim nIndex As Integer >>>>> >>>>> 'Used to set attributes for statistics >>>>> Dim strStatistic As String >>>>> 'Enumerate through the response collection >>>>> 'If any of the responses were made by the keyboard, display >>>>> 'the statistics to the user. >>>>> For nIndex = 1 To theResponseObject.InputMasks.Responses.Count >>>>> >>>>> 'Set theKeyboardResponseData equal to the current keyboard response >>>>> Dim theKeyboardResponseData As KeyboardResponseData >>>>> Set theKeyboardResponseData = CKeyboardResponseData( >>>>> theResponseObject.InputMasks.Responses(nIndex)) >>>>> If Not theKeyboardResponseData Is Nothing Then >>>>> >>>>> 'Increment the press count >>>>> nPressCount = nPressCount + 1 >>>>> >>>>> 'Log reaction time and response for each key press. >>>>> c.SetAttrib "KeyPress" & nIndex & "RT", theKeyboardResponseData.RT >>>>> c.SetAttrib "KeyPress" & nIndex & "RESP", >>>>> theKeyboardResponseData.RESP >>>>> End If >>>>> >>>>> >>>>> Next 'nIndex >>>>> >>>>> *- - - - - - - - - - - - - - - - - - - - - -* >>>>> >>>>> *The problem* >>>>> The time limit in the StimExp object has been set to 1150 ms. >>>>> Therefore, Eprime does what it is supposed to do: it records all button >>>>> presses and releases (as set by me), but keeps records on the response time >>>>> of the last input only. Te Script works, as long as the responses are >>>>> provided during the on-screen time of the stimulus. Inputs whilst the blank >>>>> is being presented are not recorded by the script. >>>>> >>>>> *The question* >>>>> How do I solve this problem? I can't figure it out on my own. >>>>> >>>>> Regards, >>>>> >>>>> Aad >>>>> >>>>> PS, the origin of the script is the Multiple Responses example of PST >>>>> support. >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "E-Prime" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to e-prime+u... at googlegroups.com. >>>>> To post to this group, send email to e-p... at googlegroups.com. >>>>> >>>>> To view this discussion on the web visit https://groups.google.com/d/ >>>>> msgid/e-prime/10f406a6-d1e8-4637-92c7-44f5c10b4a7f%40googlegroups.com >>>>> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+u... at googlegroups.com. >>> To post to this group, send email to e-p... at googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/e-prime/4d403894-204d-4051-a041-f396b75c387e%40googlegroups.com >>> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5fa182f7-0f53-42cd-badf-0bfca0251e7f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aadpors at gmail.com Thu Aug 21 11:41:46 2014 From: aadpors at gmail.com (Aad Pors) Date: Thu, 21 Aug 2014 04:41:46 -0700 Subject: Show actual response on feedback slide Message-ID: Short question: how can I show the actual response (.RESP) on the feedback screen? Regards, Aad -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/accf1f9a-dd0c-4901-aca3-2c67f91cc2fb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From xzilong at gmail.com Thu Aug 21 14:51:57 2014 From: xzilong at gmail.com (Zilong Xie) Date: Thu, 21 Aug 2014 09:51:57 -0500 Subject: Sound onset and response time issues In-Reply-To: <53f3761e.4937320a.5adb.6773SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David, Thanks for the detailed response! Best, Zilong On Tue, Aug 19, 2014 at 11:06 AM, David McFarlane wrote: > Zilong, > > 1) First and foremost, please thoroughly study the "Critical Timing" > chapter in the User's Guide that came with E-Prime. > > 2) The RT is relative to the OnsetTime of the E-Object that plays the > sound, e.g., > StimSlide.RT = StimSlide.RTTime - StimSlide.OnsetTime > (do not take my word for that, please look for yourself). Note that the > audio hardware may impose additional delays so that actual onset of sound > lags even further behind OnsetTime, to test this you would need additional > equipment (e.g., oscilloscope or Black Box Toolkit). > > 3) Yes, you should be able to trust the RT values even with large > OnsetDelay values. But you do well to verify this yourself with external > testing equipment as mentioned above. > > Finally, look at https://groups.google.com/d/topic/e-prime/OeiZ00V9SRc > for a discussion of the various time audit measures. > > Best, > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/ > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained > staff (and other support facilities) at https://support.pstnet.com . 3) > If you do get an answer from PST staff, please extend the courtesy of > posting their reply back here for the sake of others. > \---- > > > > At 8/14/2014 03:34 PM Thursday, Zilong Xie wrote: > > Hi E-Prime experts, >> In my experiment, in each trial, I presented a sound and >> simultaneously collected response to the sound with the slide object. When >> I checked the edat2 file, I noticed that there was onset delay of about 100 >> ms (the time scale in the edat2 file is ms, right?) in the slide object. So >> my questions are: >> (1) How can I reduce the onset delay of the slide object? >> (2) Is the RT recorded here relative to the actual onset of the sound >> or the expected onset of the sound? >> (3) In the case of large onset delay, can I trust the RT values >> reported in the edat2 file? And how can I get the actual RT values? >> >> Thanks! >> >> best, >> Zilong >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "E-Prime" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/e-prime/5PGPRnXBl3w/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/e-prime/53f3761e.4937320a.5adb.6773SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/d/optout. > -- Zi-Long Xie (???) SoundBrain Lab, Department of Communication Sciences & Disorders, College of Communication, The University of Texas at Austin Austin, Texas 78712 Phone:1-(512)550-8521 Email: xzilong at gmail.com -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CANQbNb38KSbJTTmRRYPNaaD%2BFUjPbSj8pAoNfCg50LKy-s-xyA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Aug 21 15:45:19 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Aug 2014 11:45:19 -0400 Subject: Does PsycholTools or any lab group maintain a repository of e-prime experiment files of cogn. tasks? In-Reply-To: Message-ID: Jim, I would start with the STEP repository, step.psy.cmu.edu. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 8/20/2014 09:16 AM Wednesday, Jim Bjork wrote: >Hello group, > >New here. Just hired to join faculty group at VCU to do >neuroimaging of human addiction. The group owns/uses both Eprime >1.2 and 2.0. (My old group at NIH used Presentation). > >While they have several tasks coded up for Eprime for use off-line >and with fMRI pulses, none are quite like the Monetary Incentive >Delay task (Knutson) and the Stop Task (Logan). I'm wondering if >anyone out there has coded these up in an es2 file and would share >it, where I could work from their working task and tweak it. > >I'd really appreciate any leads! > >Jim Bjork -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f6141b.61e1320a.6681.1f94SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Thu Aug 21 15:50:47 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Aug 2014 11:50:47 -0400 Subject: Run-time Error (Line 2106) 11012 In-Reply-To: <1a5646c2-8ace-47d0-a199-742c190a258a@googlegroups.com> Message-ID: Have you contacted PST Support about this (see link below)? What did they say? (And I presume "guys" here includes gals :) ) ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/20/2014 11:19 PM Wednesday, marcof at connect.hku.hk wrote: >Hello guys []! >I have a problem encountered while I am running the program. >An error pumped up > > "Run-time Error (Line 2106) 11012: Internal Drawing Error: 0x8007000e >Unable to draw Echo Client" > >Does anyone have any idea what this is? >I couldn't find this error in any user forum or common error list. >Thanks guys! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f61563.c219320a.2977.1ec8SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From saxguy007 at gmail.com Thu Aug 21 16:49:41 2014 From: saxguy007 at gmail.com (Jim Bjork) Date: Thu, 21 Aug 2014 09:49:41 -0700 Subject: Does PsycholTools or any lab group maintain a repository of e-prime experiment files of cogn. tasks? In-Reply-To: <53f6141b.61e1320a.6681.1f94SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: This is great! Thanks! Jim On Thursday, August 21, 2014 11:45:34 AM UTC-4, McFarlane, David wrote: > > Jim, > > I would start with the STEP repository, step.psy.cmu.edu. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > At 8/20/2014 09:16 AM Wednesday, Jim Bjork wrote: > >Hello group, > > > >New here. Just hired to join faculty group at VCU to do > >neuroimaging of human addiction. The group owns/uses both Eprime > >1.2 and 2.0. (My old group at NIH used Presentation). > > > >While they have several tasks coded up for Eprime for use off-line > >and with fMRI pulses, none are quite like the Monetary Incentive > >Delay task (Knutson) and the Stop Task (Logan). I'm wondering if > >anyone out there has coded these up in an es2 file and would share > >it, where I could work from their working task and tweak it. > > > >I'd really appreciate any leads! > > > >Jim Bjork > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/2d8c9483-7315-41d1-8a42-bfb6ac18ef36%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Aug 21 19:51:53 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Aug 2014 15:51:53 -0400 Subject: Show actual response on feedback slide In-Reply-To: Message-ID: Aad, Long answer ... Suppose you get a RESP for StimSlide. Then on your feedback screen (which must be either a Slide or a FeedbackDisplay), add a text sub-object and use an attribute reference thus: [StimSlide.RESP] You also need to set that attribute first, if you have StimSlide set to log RESP then it should already generate the code to do that, otherwise you may need to add inline code before your feedback screen such as c.SetAttrib "StimSlide.RESP", StimSlide.RESP Note that if you use a FeedbackDisplay then for some other response items (e.g., RT) you may use Feedback Display Macros, see that section in the Reference Guide that came with E-Prime. And of course pay attention to PreRelease, if your feedback screen gets prepared during the PreRelease of StimSlide then it may not show the proper RESP (see http://www.pstnet.com/support/kb.asp?TopicID=2619 )! ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/21/2014 07:41 AM Thursday, Aad Pors wrote: >Short question: how can I show the actual response (.RESP) on the >feedback screen? > >Regards, > >Aad -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f64de6.4937320a.7e82.2426SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Thu Aug 21 20:05:30 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Aug 2014 16:05:30 -0400 Subject: Displaying a countdown timer for participants In-Reply-To: Message-ID: Natalia, Indeed, Matt Lenhart from PST posted that file to the Group over 6 years ago, back when Google Groups included a files section. Google Groups has since discontinued that feature. But you may still download that example directly from the PST website. You will need to register and login there first in order to get to the Sample Programs area. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/19/2014 09:22 PM Tuesday, sunnygu wrote: >Dear Natalia, >As far as I know, I think there is no file >download section and you can try in PST >community since this is a discussion forum. And >I may suppose you can try gettimer function in >eprime or search timer in help for ebasic to see >if there is any function you can use. >My best, > >Sally > >? ?????????? iPhone > >??? >2014???8???20?????????? ?8:26???yakunina at gmail.com >???? ???? > >>Hello Matt, >> >>I'm sorry if it's a dumb question, but where >>can I download the sample CountDownClock.es? >>I'm new to this group and I couldn't find files >>section. And I'm in desperate need of the countdown timer :) >> >>Thank you! >>Natalia >> >>On Thursday, April 17, 2008 2:37:44 AM UTC+9, Matt wrote: >>Hello, >> >>Ben's advice is very good and is the method we would recommend. I have >>added our formal sample >>(CountDownClock.es) to the Files section of >>this group for reference. If you have any questions, please let me >>know. >> >>Sincerely, >>Matt Lenhart >>PST Technical Consultant >>http://pstnet.com -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f65118.61e1320a.6681.24f8SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From aadpors at gmail.com Fri Aug 22 04:57:43 2014 From: aadpors at gmail.com (Aad Pors) Date: Thu, 21 Aug 2014 21:57:43 -0700 Subject: Show actual response on feedback slide In-Reply-To: <53f64de6.4937320a.7e82.2426SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: David, Thanks again for your help. It will come as no surprise that it works as expected. Aad Op donderdag 21 augustus 2014 21:52:10 UTC+2 schreef McFarlane, David: > > Aad, > > Long answer ... > > Suppose you get a RESP for StimSlide. Then on your feedback screen > (which must be either a Slide or a FeedbackDisplay), add a text > sub-object and use an attribute reference thus: > > [StimSlide.RESP] > > You also need to set that attribute first, if you have StimSlide set > to log RESP then it should already generate the code to do that, > otherwise you may need to add inline code before your feedback screen such > as > > c.SetAttrib "StimSlide.RESP", StimSlide.RESP > > Note that if you use a FeedbackDisplay then for some other response > items (e.g., RT) you may use Feedback Display Macros, see that > section in the Reference Guide that came with E-Prime. > > And of course pay attention to PreRelease, if your feedback screen > gets prepared during the PreRelease of StimSlide then it may not show > the proper RESP (see http://www.pstnet.com/support/kb.asp?TopicID=2619 )! > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) If you do get an answer from PST > staff, please extend the courtesy of posting their reply back here > for the sake of others. > \---- > > At 8/21/2014 07:41 AM Thursday, Aad Pors wrote: > >Short question: how can I show the actual response (.RESP) on the > >feedback screen? > > > >Regards, > > > >Aad > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/728b62bf-f7cf-4d31-b3ee-94fe3e3b3136%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tobias.fw at gmail.com Fri Aug 22 10:43:58 2014 From: tobias.fw at gmail.com (Tobias) Date: Fri, 22 Aug 2014 03:43:58 -0700 Subject: How can I insert an image on a slide with code? In-Reply-To: <53f3934b.496b320a.4998.1389SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thanks David, it worked with the attribute (which in fact I had to create with set.attrib in each trial). The thing with creating an experimental procedure without code first (using the drag&drop elements) and then looking at the code, that didn't really work out. I remember in old versions the code was quite readable, though. In the current version the code is written like all in one block of text and you don't really see what's heppening. That is sad because I think it was one of the great features of E-Prime. Best,Tobias Am Dienstag, 19. August 2014 20:11:26 UTC+2 schrieb McFarlane, David: > > Tobias, > > First, if at all possible I recommend that you instead use an > attribute reference for the image filename, and if needed just use > inline code to set that attribute. Please see discussion at > https://groups.google.com/d/topic/e-prime/dWpfjk-BeLs . > > If you must persist in assigning the filename directly in code, that > takes several steps, too tedious to write out here. Your best bet is > to make a Slide with an image sub-object that uses an attribute > reference, have E-Studio generate the code, then look at the code > that generated by E-Studio and go from there. That's how I figure > out much of this stuff. > > Best, > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) If you do get an answer from PST > staff, please extend the courtesy of posting their reply back here > for the sake of others. > \---- > > > At 8/19/2014 01:49 PM Tuesday, Tobias wrote: > >I have a slide ("Slide1") that has an image on it called "Image1". > >Now I want to use code to specify the filename of that image > >according to my needs. > > > >I have tried something like Slide1.Image1.filename = "picture.bmp" > >but that doesn't seem to work. It says "Image1 is not a property of > >the object". > > > >Any ideas how to solve this problem? > > > >Thanks, > >Tobias > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/400470d9-e304-4ec7-8dc7-9a0fc76d4720%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ajwithers at ualr.edu Mon Aug 25 17:47:57 2014 From: ajwithers at ualr.edu (ajwithers at ualr.edu) Date: Mon, 25 Aug 2014 10:47:57 -0700 Subject: Find and analyze Array Display RESP and Accuracy Message-ID: Hi, This is probably a very simple question but I'm new to E Prime: Where in an .edat file does E Prime record response accuracy? I see the column that says Array Display.RESP, but I want to know the accuracy of these responses so I can analyze the percentage of the questions they got correct in the file. Thanks -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/800cbce3-755b-437f-bca8-2b49ca0cb829%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Aug 25 19:04:44 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 25 Aug 2014 15:04:44 -0400 Subject: Find and analyze Array Display RESP and Accuracy In-Reply-To: <800cbce3-755b-437f-bca8-2b49ca0cb829@googlegroups.com> Message-ID: If, e.g., you collect a response for a stimulus object named "MyStim", then E-Prime will log the response accuracy under "MyStim.ACC" -- but ONLY if you have enabled logging of ACC for that object! Easiest to do that by selecting "Standard" or "Response Only" for Data Logging on the Duration/Input tab of the object's Properties Pages, but for more granular control you may also go directly to the Logging tab. BTW, the Analyze feature of E-DataAid will nicely help you get percentage correct and other results from your E-DataAid files, I highly recommend taking some time to look through the manuals and learn that program too (or take my course, which includes a lesson on this). ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/25/2014 01:47 PM Monday, ajwithers at ualr.edu wrote: >This is probably a very simple question but I'm new to E Prime: >Where in an .edat file does E Prime record response accuracy? I see >the column that says Array Display.RESP, but I want to know the >accuracy of these responses so I can analyze the percentage of the >questions they got correct in the file. > >Thanks -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53fb88db.a2ea320a.5dc9.05a3SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From ajwithers at ualr.edu Mon Aug 25 19:33:02 2014 From: ajwithers at ualr.edu (Alton Withers) Date: Mon, 25 Aug 2014 15:33:02 -0400 Subject: Find and analyze Array Display RESP and Accuracy In-Reply-To: <53fb88db.a2ea320a.5dc9.05a3SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Which object would that be? Are you referring to the different blocks in the experiment? On Mon, Aug 25, 2014 at 3:04 PM, David McFarlane wrote: > If, e.g., you collect a response for a stimulus object named "MyStim", > then E-Prime will log the response accuracy under "MyStim.ACC" -- but ONLY > if you have enabled logging of ACC for that object! Easiest to do that by > selecting "Standard" or "Response Only" for Data Logging on the > Duration/Input tab of the object's Properties Pages, but for more granular > control you may also go directly to the Logging tab. > > BTW, the Analyze feature of E-DataAid will nicely help you get percentage > correct and other results from your E-DataAid files, I highly recommend > taking some time to look through the manuals and learn that program too (or > take my course, which includes a lesson on this). > > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/ > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained > staff (and other support facilities) at https://support.pstnet.com . 3) > If you do get an answer from PST staff, please extend the courtesy of > posting their reply back here for the sake of others. > \---- > > > > At 8/25/2014 01:47 PM Monday, ajwithers at ualr.edu wrote: > >> This is probably a very simple question but I'm new to E Prime: Where in >> an .edat file does E Prime record response accuracy? I see the column that >> says Array Display.RESP, but I want to know the accuracy of these responses >> so I can analyze the percentage of the questions they got correct in the >> file. >> >> Thanks >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "E-Prime" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/e-prime/lgXZsOT7MvE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/e-prime/53fb88db.a2ea320a.5dc9.05a3SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CADTcKa6s_u8TbyXU2MK%2BXgsyAFiguTViswOGEnQ2r8PTJTnZVQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Aug 25 20:11:47 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 25 Aug 2014 16:11:47 -0400 Subject: Find and analyze Array Display RESP and Accuracy In-Reply-To: Message-ID: Whichever E-Object (TextDisplay, ImageDisplay, SoundOut, Slide, etc.) you use to get a response from the subject. -- David McFarlane At 8/25/2014 03:33 PM Monday, Alton Withers wrote: >Which object would that be? Are you referring to >the different blocks in the experiment?? > > >On Mon, Aug 25, 2014 at 3:04 PM, David McFarlane ><mcfarla9 at msu.edu> wrote: >If, e.g., you collect a response for a stimulus >object named "MyStim", then E-Prime will log the >response accuracy under "MyStim.ACC" -- but ONLY >if you have enabled logging of ACC for that >object!? Easiest to do that by selecting >"Standard" or "Response Only" for Data Logging >on the Duration/Input tab of the object's >Properties Pages, but for more granular control >you may also go directly to the Logging tab. > >BTW, the Analyze feature of E-DataAid will >nicely help you get percentage correct and other >results from your E-DataAid files, I highly >recommend taking some time to look through the >manuals and learn that program too (or take my >course, which includes a lesson on this). > >----- >David McFarlane >E-Prime training >online:? >http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter:? @EPrimeMaster >(https://twitter.com/EPrimeMaster) > >/---- >Stock reminder:? 1) I do not work for PST.? 2) >You may reach PST's trained staff (and other >support facilities) at >https://support.pstnet.com >.? 3) If you do get an answer from PST staff, >please extend the courtesy of posting their >reply back here for the sake of others. >\---- > > > >At 8/25/2014 01:47 PM Monday, >ajwithers at ualr.edu wrote: >This is probably a very simple question but I'm >new to E Prime: Where in an .edat file does E >Prime record response accuracy? I see the column >that says Array Display.RESP, but I want to know >the accuracy of these responses so I can analyze >the percentage of the questions they got correct in the file. > >Thanks -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53fb9897.1243320a.09e3.063bSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mspape at cognitology.eu Wed Aug 27 15:26:01 2014 From: mspape at cognitology.eu (Cognitology) Date: Wed, 27 Aug 2014 18:26:01 +0300 Subject: Run-time Error (Line 2106) 11012 In-Reply-To: <1a5646c2-8ace-47d0-a199-742c190a258a@googlegroups.com> Message-ID: Hi, I suppose this remained unanswered. You?ll have to be a bit more specific: ep1, 2, which subversion, when does the error happen? I *think* this is what used to happen in ep1 if the start button was pressed during the experiment, and otherwise, if your outlook/skype/whatever pops up a balloon notification or such (or ?windows?s got an update!?). In each case, it?s really an error of improperly setting up your system to not do this kind of thing (it thus happens a lot on the pc I use to do experiment coding). Hope that helps, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of marcof at connect.hku.hk Sent: 21. August 2014 06:19 To: e-prime at googlegroups.com Subject: Run-time Error (Line 2106) 11012 Hello guys! I have a problem encountered while I am running the program. An error pumped up "Run-time Error (Line 2106) 11012: Internal Drawing Error: 0x8007000e Unable to draw Echo Client" Does anyone have any idea what this is? I couldn't find this error in any user forum or common error list. Thanks guys! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1a5646c2-8ace-47d0-a199-742c190a258a%40googlegroups.com . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/03e301cfc20b%24358485e0%24a08d91a0%24%40eu. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Wed Aug 27 15:56:43 2014 From: mspape at cognitology.eu (Cognitology) Date: Wed, 27 Aug 2014 18:56:43 +0300 Subject: Displaying a countdown timer for participants In-Reply-To: <53f65118.61e1320a.6681.24f8SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi, I'm not sure whether this would serve as a countdowntimer in the absence of the Real Deal, but here's a quick and dirty way of drawing a progressbar (the reverse of a countdown, easily fixed). 1. Have a textDisplay, we call it TextDisplay1, duration 1, timelimit 10000 (or end of procedure, that also works). Add keyboard. 2. Add inline after this textDisplay: '--------- Dim cnvs As canvas Dim percdone As Integer Set cnvs = Display.Canvas cnvs.PenColor = CColor("black") cnvs.FillColor = CColor("white") cnvs.Rectangle Display.Xres / 2-100,Display.Yres / 2-10, 200, 20 'draw bar cnvs.FillColor = CColor("red") Do 'specially for David McFarlane, I'd use WHILE sneakily percdone = (clock.read - textdisplay2.OnsetTime) / 100 cnvs.Rectangle Display.Xres / 2-100,Display.Yres / 2-10, 2*percdone, 20 'draw filler sleep 10 Loop Until ((clock.read - textdisplay1.OnsetTime) > 10000) Or TextDisplay2.RESP <> "" 'because loop until sounds silly. '---------- It works in EP2, probably in 1 as well. It shows a bar for 10 s, overlaying with whatever is on the screen (make textdisplay1 transparent for more options), and shows until end of response or end of 10s. It's not fantastic, I just wrote this in a few minutes. I'm not sure, for instance, if sleep 10 is necessary, for instance - if memory serves, EP2 always adds a display.waitforverticleblank after canvas operations. Best, Michiel Michiel Sovij?rvi-Spap? Helsinki Institute for Information Technology HIIT Aalto & Helsinki University Finland -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of David McFarlane Sent: 21. August 2014 23:06 To: e-prime at googlegroups.com Subject: Re: Displaying a countdown timer for participants Natalia, Indeed, Matt Lenhart from PST posted that file to the Group over 6 years ago, back when Google Groups included a files section. Google Groups has since discontinued that feature. But you may still download that example directly from the PST website. You will need to register and login there first in order to get to the Sample Programs area. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/19/2014 09:22 PM Tuesday, sunnygu wrote: >Dear Natalia, >As far as I know, I think there is no file >download section and you can try in PST >community since this is a discussion forum. And >I may suppose you can try gettimer function in >eprime or search timer in help for ebasic to see >if there is any function you can use. >My best, > >Sally > >? ?????????? iPhone > >??? >2014???8???20?????????? ?8:26???yakunina at gmail.com >???? ???? > >>Hello Matt, >> >>I'm sorry if it's a dumb question, but where >>can I download the sample CountDownClock.es? >>I'm new to this group and I couldn't find files >>section. And I'm in desperate need of the countdown timer :) >> >>Thank you! >>Natalia >> >>On Thursday, April 17, 2008 2:37:44 AM UTC+9, Matt wrote: >>Hello, >> >>Ben's advice is very good and is the method we would recommend. I have >>added our formal sample >>(CountDownClock.es) to the Files section of >>this group for reference. If you have any questions, please let me >>know. >> >>Sincerely, >>Matt Lenhart >>PST Technical Consultant >>http://pstnet.com -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f65118.61e1320a.6681.24f8SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/03f101cfc20f%247fdaafd0%247f900f70%24%40eu. For more options, visit https://groups.google.com/d/optout. From ncllab at gmail.com Thu Aug 28 17:20:07 2014 From: ncllab at gmail.com (Neuro Cog Lab) Date: Thu, 28 Aug 2014 10:20:07 -0700 Subject: Video buffering issue In-Reply-To: Message-ID: Any update on this? Using XP and Eprime 2.0.8.90 -- cannot upgrade to newer version of Eprime because of timing issues related to Eprime Extension for Netstation. I downloaded FFDShow and the videos render properly in Codec Config (they are AVIs) but after a few blocks 3-5 I get the same error message (see image). Note I'm only playing 2 videos (around 1600 ms each) interchangeably. On Monday, 14 January 2013 15:43:38 UTC-5, th3rav3n wrote: > > I'm using Windows XP and am having this problem. Some of the smaller video > files seem to work fine (~2-4secs) but none of the larger ones. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/64ca053c-ebba-44bf-bab2-1514aec7f3f5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: photo.JPG Type: image/jpeg Size: 18352 bytes Desc: not available URL: From mspape at cognitology.eu Thu Aug 28 18:39:47 2014 From: mspape at cognitology.eu (=?UTF-8?Q?Michiel_Sovij=C3=A4rvi-Spap=C3=A9?=) Date: Thu, 28 Aug 2014 21:39:47 +0300 Subject: Video buffering issue In-Reply-To: <64ca053c-ebba-44bf-bab2-1514aec7f3f5@googlegroups.com> Message-ID: Hi, This is an informal group, rather than an official support forum, of volunteers, rather than employees ? just to point out that one doesn?t always get response. I think in general, people don?t feel obliged to respond to ill-formulated questions to which they are required to fish for more information ? unless the solution is extremely straightforward. In any case: * AVI is not a codec, it?s a container format. That means that virtually any type of compressor could have been used (e.g. divx). In other words, it?s about as useful as saying I?m presenting an image (they are PICTURES). Diagnostic steps: * Have you tried: running the experiment on a different computer? * With a new E-Prime version (yeah, I know, Netstation can be a pain like that, but do press them to update their software!) on the same computer? It?s helpful to diagnose whether the problem is an old E-Prime issue. * Have you tried using the same videos in a different ?known to work? experiment? (like the sample video experiment) * Have you tried re-compressing the videos to some other codec? There are many that pretty much always work. If you go through these steps, the chance is pretty high you?ll find out what?s the problem. Let us know if you do! BTW: the original ?th3rav3n? problem seems to be inability to play long videos ? the current issue seems to be short ones instead. Hope that helps! Best, Michiel Dr. Michiel M. Spap? Helsinki Institute for Information Technology HIIT Aalto & Helsinki University Finland ------- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Neuro Cog Lab Sent: 28 August 2014 20:20 To: e-prime at googlegroups.com Subject: Re: Video buffering issue Any update on this? Using XP and Eprime 2.0.8.90 -- cannot upgrade to newer version of Eprime because of timing issues related to Eprime Extension for Netstation. I downloaded FFDShow and the videos render properly in Codec Config (they are AVIs) but after a few blocks 3-5 I get the same error message (see image). Note I'm only playing 2 videos (around 1600 ms each) interchangeably. On Monday, 14 January 2013 15:43:38 UTC-5, th3rav3n wrote: I'm using Windows XP and am having this problem. Some of the smaller video files seem to work fine (~2-4secs) but none of the larger ones. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com . To post to this group, send email to e-prime at googlegroups.com . To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/64ca053c-ebba-44bf-bab2-1514aec7f3f5%40googlegroups.com . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/007e01cfc2ef%24720339a0%245609ace0%24%40cognitology.eu. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mylam8 at gmail.com Thu Aug 28 18:55:24 2014 From: mylam8 at gmail.com (Melanie Lam) Date: Thu, 28 Aug 2014 11:55:24 -0700 Subject: Mac. E-Prime. Keyboard. HELP! In-Reply-To: <89411fd3-d664-4c1d-9bde-ed1eda83baa5@googlegroups.com> Message-ID: Hi Anne-Wil! Thank you for getting back to me. Yes. I made sure to define the allowable response as "h" in this case. I'm really so confused about all this. It runs fine on a PC. Its driving me absolutely mad. I don't understand why it will pick up the key presses when I input the subject # and session # but as soon as I try to move past the Introduction screen using the space bar, it does nothing. So can I ask, you run EPrime through Bootcamp and have been able to use the keyboard as a response device successfully then? Best, Mel On Saturday, 16 August 2014 07:22:49 UTC-3, Anne-Wil wrote: > > Hi Mel, > > Here no problems with mac keyboards. Just a very simply - probably silly- > thought: did you define allowable responses to include {ANY}, [SPACE} or > h? > > best, > > Anne-Wil > > On Friday, 15 August 2014 15:39:16 UTC+1, Melanie Lam wrote: >> >> Hi everyone, >> >> I've successfully loaded E-Prime on my Mac. Using Windows 7 (BootCamp). >> Recognized the dongle key. Check. Loaded E-Studio, E-Data Aid, and E-Run. >> Check. >> >> Here's where I'm losing my mind. I start my experiment. I am able to >> input the subject number, session number. Proceeds to the instruction page. >> Participants are meant to press the Spacebar to move on the next screen. >> The key press is not being detected. I've been playing around with >> different ideas. Maybe, a PC keyboard would resolve it. Nope. Maybe, its >> the Spacebar. I'll change it to the "H" key. Nope. Funny, if I chance the >> response device to the mouse, I can move past the intro screen as the mouse >> click is detected. Then I get to the next screen where they have to choose >> option 1, 2 or 3. Won't detect those keys. >> >> Has anyone run into this problem? Any thoughts or ideas? I'd really >> appreciate it! >> >> Best, >> Mel >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/4e913625-66ef-479a-aaea-ac7b730090f6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mylam8 at gmail.com Thu Aug 28 19:00:14 2014 From: mylam8 at gmail.com (Melanie Lam) Date: Thu, 28 Aug 2014 12:00:14 -0700 Subject: Processing icon won't stop spinning (MAC) Processing icon won't disappear (PC) Message-ID: Hi everyone, New problem (I'm still having the issue with the keyboard if anyone has any new thoughts). When I start the experiment, the processing icon remains on the screen. It just sits there spinning. Mind you, this is on the Mac and it won't move past the first screen when I press the Spacebar which is supposed to allow it to move on. But, I've noticed that it does this on my PC as well. I can run the experiment but I have to move the cursor to the side as it doesn't seem to disappear any more. Has anyone else had this problem and been able to resolve it? Best, Mel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/9cb4a2b6-90bd-485d-a3f5-46d78df23fb5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Thu Aug 28 19:26:05 2014 From: mspape at cognitology.eu (=?UTF-8?Q?Michiel_Sovij=C3=A4rvi-Spap=C3=A9?=) Date: Thu, 28 Aug 2014 22:26:05 +0300 Subject: Processing icon won't stop spinning (MAC) Processing icon won't disappear (PC) In-Reply-To: <9cb4a2b6-90bd-485d-a3f5-46d78df23fb5@googlegroups.com> Message-ID: Hi, Do other (like the examples) experiments work? Otherwise it makes little sense to discuss what may or may not be the problem in your particular experiment. Notice that a mac keyboard works perfectly fine on a PC as well (if it?s USB, partly a Microsoft design btw). As far as I know, you?re the only one around to run E-Prime on a Mac :) You could, of course, pick up an ancient PC with XP or WIN98SE installed with a solid 100 Hz CRT monitor over at most 2nd hand shops and it might be better for your experiment even ? I generally take the IT helpdesk?s discarded junk for my lab. I?m just saying this because it might, in the end, be that OSX runs about as well on a ?PC? (i.e. a non-mac) as Windows does on a Mac ? does its job, but no bells or whistles, while the alternative is cheap and for many reasons of timing, preferred. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Melanie Lam Sent: 28 August 2014 22:00 To: e-prime at googlegroups.com Subject: Processing icon won't stop spinning (MAC) Processing icon won't disappear (PC) Hi everyone, New problem (I'm still having the issue with the keyboard if anyone has any new thoughts). When I start the experiment, the processing icon remains on the screen. It just sits there spinning. Mind you, this is on the Mac and it won't move past the first screen when I press the Spacebar which is supposed to allow it to move on. But, I've noticed that it does this on my PC as well. I can run the experiment but I have to move the cursor to the side as it doesn't seem to disappear any more. Has anyone else had this problem and been able to resolve it? Best, Mel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com . To post to this group, send email to e-prime at googlegroups.com . To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/9cb4a2b6-90bd-485d-a3f5-46d78df23fb5%40googlegroups.com . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/008f01cfc2f5%24e9be4290%24bd3ac7b0%24%40cognitology.eu. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mylam8 at gmail.com Thu Aug 28 19:36:11 2014 From: mylam8 at gmail.com (Melanie Lam) Date: Thu, 28 Aug 2014 12:36:11 -0700 Subject: Mac. E-Prime. Keyboard. HELP! In-Reply-To: Message-ID: A thought...if anyone is who has successfully run an EPrime experiment through Bootcamp on their Mac, I'd love it if you'd be willing to try and run my experiment. I'm sure this is a strange request but I'm wondering if it's my computer. Just an idea. Another thought...would anyone like to send me one of their experiments that they've been successfully able to run that uses the keyboard as a response device? Best, Mel On Friday, 15 August 2014 11:39:16 UTC-3, Melanie Lam wrote: > > Hi everyone, > > I've successfully loaded E-Prime on my Mac. Using Windows 7 (BootCamp). > Recognized the dongle key. Check. Loaded E-Studio, E-Data Aid, and E-Run. > Check. > > Here's where I'm losing my mind. I start my experiment. I am able to input > the subject number, session number. Proceeds to the instruction page. > Participants are meant to press the Spacebar to move on the next screen. > The key press is not being detected. I've been playing around with > different ideas. Maybe, a PC keyboard would resolve it. Nope. Maybe, its > the Spacebar. I'll change it to the "H" key. Nope. Funny, if I chance the > response device to the mouse, I can move past the intro screen as the mouse > click is detected. Then I get to the next screen where they have to choose > option 1, 2 or 3. Won't detect those keys. > > Has anyone run into this problem? Any thoughts or ideas? I'd really > appreciate it! > > Best, > Mel > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a81143f1-f54e-4551-9d54-be42e00c93eb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Aug 28 19:44:11 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 28 Aug 2014 15:44:11 -0400 Subject: Mac. E-Prime. Keyboard. HELP! In-Reply-To: Message-ID: Just curious -- what happens when you try to run the example programs that come with E-Prime (BasicRT, etc.)? (Or did you answer that earlier and I just failed to notice?) Thanks, -- David McFarlane At 8/28/2014 03:36 PM Thursday, Melanie Lam wrote: >A thought...if anyone is who has successfully run an EPrime >experiment through Bootcamp on their Mac, I'd love it if you'd be >willing to try and run my experiment. I'm sure this is a strange >request but I'm wondering if it's my computer. Just an idea. > >Another thought...would anyone like to send me one of their >experiments that they've been successfully able to run that uses the >keyboard as a response device? > >Best, >Mel > >On Friday, 15 August 2014 11:39:16 UTC-3, Melanie Lam wrote: >Hi everyone, > >I've successfully loaded E-Prime on my Mac. Using Windows 7 >(BootCamp). Recognized the dongle key. Check. Loaded E-Studio, >E-Data Aid, and E-Run. Check. > >Here's where I'm losing my mind. I start my experiment. I am able to >input the subject number, session number. Proceeds to the >instruction page. Participants are meant to press the Spacebar to >move on the next screen. The key press is not being detected. I've >been playing around with different ideas. Maybe, a PC keyboard would >resolve it. Nope. Maybe, its the Spacebar. I'll change it to the "H" >key. Nope. Funny, if I chance the response device to the mouse, I >can move past the intro screen as the mouse click is detected. Then >I get to the next screen where they have to choose option 1, 2 or 3. >Won't detect those keys. > >Has anyone run into this problem? Any thoughts or ideas? I'd really >appreciate it! > >Best, >Mel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53ff869d.1243320a.09e3.3fe0SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Thu Aug 28 20:13:58 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 28 Aug 2014 16:13:58 -0400 Subject: Video buffering issue In-Reply-To: <64ca053c-ebba-44bf-bab2-1514aec7f3f5@googlegroups.com> Message-ID: Ah, the old "sound timed out" error, if you search the Group for that you will find other threads that explore it. We used to get that all the time when running sound or video with EP2.0.8 under Windows Vista or 7, but never with Windows XP, so I have no ideas to help you, just passing along this bit of background information. PST seems to have fixed this in EP2.0.10, but as you said you must stay back at EP2.0.8 to work with the Netstation Package. Sorry. You might try contacting PST Support. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/28/2014 01:20 PM Thursday, Neuro Cog Lab wrote: >Any update on this? Using XP and Eprime 2.0.8.90 -- cannot upgrade >to newer version of Eprime because of timing issues related to >Eprime Extension for Netstation. I downloaded FFDShow and the videos >render properly in Codec Config (they are AVIs) but after a few >blocks 3-5 I get the same error message (see image). Note I'm only >playing 2 videos (around 1600 ms each) interchangeably. > > > >On Monday, 14 January 2013 15:43:38 UTC-5, th3rav3n wrote: >I'm using Windows XP and am having this problem. Some of the smaller >video files seem to work fine (~2-4secs) but none of the larger ones. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53ff8d99.1243320a.09e3.403dSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mylam8 at gmail.com Fri Aug 29 00:44:48 2014 From: mylam8 at gmail.com (Melanie Lam) Date: Thu, 28 Aug 2014 17:44:48 -0700 Subject: Processing icon won't stop spinning (MAC) Processing icon won't disappear (PC) In-Reply-To: <9cb4a2b6-90bd-485d-a3f5-46d78df23fb5@googlegroups.com> Message-ID: Hi Michiel! Thanks so much for responding. I have resolved the "processing icon remaining on the screen" issue (I enabled the mouse and then turned the "show cursor" to off. FIXED! I appreciate your suggests and advice :) In the past, I have always run EPrime off of a PC. Unfortunately, my lab has been equipped with 10 pretty much brand new Mac computers, for which I am EXTREMELY grateful. So, I had no choice but to get them loaded with Bootcamp in hopes that my experiments could still run off there. I've tried running the 6 different experiments that I have created (which work fine on a PC). I've tried running the sample experiments offered by EPrime. When the keyboard is set as the response device, it does not work. As mentioned, I can input the subject number and session number using the keyboard. But after that, the experiment does not seem to detect the key presses. I'm at a total lost. I've tried everything. PC keyboard. Update drivers..... Thoughts? Best, Mel On Thursday, 28 August 2014 16:00:14 UTC-3, Melanie Lam wrote: > > Hi everyone, > > New problem (I'm still having the issue with the keyboard if anyone has > any new thoughts). When I start the experiment, the processing icon remains > on the screen. It just sits there spinning. Mind you, this is on the Mac > and it won't move past the first screen when I press the Spacebar which is > supposed to allow it to move on. > > But, I've noticed that it does this on my PC as well. I can run the > experiment but I have to move the cursor to the side as it doesn't seem to > disappear any more. Has anyone else had this problem and been able to > resolve it? > > Best, > Mel > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/3b0fda52-f90c-45b5-bce8-fd6a5e4692cc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mylam8 at gmail.com Fri Aug 29 00:52:28 2014 From: mylam8 at gmail.com (Melanie Lam) Date: Thu, 28 Aug 2014 17:52:28 -0700 Subject: Mac. E-Prime. Keyboard. HELP! In-Reply-To: <53ff869d.1243320a.09e3.3fe0SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David! Great question. No, I didn't answer that earlier. Funny enough, something I tried today. Ran the Basic RT program. Didn't work. I'm at a complete loss. My colleague just loaded the experiment I programmed on his PCs for his lab (at another university). Ran no problem. I've even tried just one text event that required a "G" key press. Nothing. I'm thinking it has something to do with the key code translation maybe from Mac to PC? When I try and exit the EPrime experiment using Control, Alt, Shift, it won't quit. Instead I have to Control, Alt, Delete to get out of the program. Thoughts? Best, Mel On Thursday, 28 August 2014 16:44:32 UTC-3, McFarlane, David wrote: > > Just curious -- what happens when you try to run the example programs > that come with E-Prime (BasicRT, etc.)? (Or did you answer that > earlier and I just failed to notice?) > > Thanks, > -- David McFarlane > > > At 8/28/2014 03:36 PM Thursday, Melanie Lam wrote: > >A thought...if anyone is who has successfully run an EPrime > >experiment through Bootcamp on their Mac, I'd love it if you'd be > >willing to try and run my experiment. I'm sure this is a strange > >request but I'm wondering if it's my computer. Just an idea. > > > >Another thought...would anyone like to send me one of their > >experiments that they've been successfully able to run that uses the > >keyboard as a response device? > > > >Best, > >Mel > > > >On Friday, 15 August 2014 11:39:16 UTC-3, Melanie Lam wrote: > >Hi everyone, > > > >I've successfully loaded E-Prime on my Mac. Using Windows 7 > >(BootCamp). Recognized the dongle key. Check. Loaded E-Studio, > >E-Data Aid, and E-Run. Check. > > > >Here's where I'm losing my mind. I start my experiment. I am able to > >input the subject number, session number. Proceeds to the > >instruction page. Participants are meant to press the Spacebar to > >move on the next screen. The key press is not being detected. I've > >been playing around with different ideas. Maybe, a PC keyboard would > >resolve it. Nope. Maybe, its the Spacebar. I'll change it to the "H" > >key. Nope. Funny, if I chance the response device to the mouse, I > >can move past the intro screen as the mouse click is detected. Then > >I get to the next screen where they have to choose option 1, 2 or 3. > >Won't detect those keys. > > > >Has anyone run into this problem? Any thoughts or ideas? I'd really > >appreciate it! > > > >Best, > >Mel > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/fa597bce-2a15-4ca1-b4be-5175e540eb19%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Fri Aug 29 11:54:19 2014 From: mspape at cognitology.eu (Cognitology) Date: Fri, 29 Aug 2014 14:54:19 +0300 Subject: Displaying a countdown timer for participants In-Reply-To: <03f101cfc20f$7fdaafd0$7f900f70$@eu> Message-ID: Hi, Oops, correction: 1. Have a textDisplay, we call it PreText, duration 1, timelimit 10000 (or end of procedure, that also works). Add keyboard. 2. Add inline after this PreText: '--------- Dim cnvs As canvas Dim percdone As Integer Set cnvs = Display.Canvas cnvs.PenColor = CColor("black") cnvs.FillColor = CColor("white") cnvs.Rectangle Display.Xres / 2-100,Display.Yres / 2-10, 200, 20 'draw bar cnvs.FillColor = CColor("red") Do 'specially for David McFarlane, I'd use WHILE sneakily percdone = (clock.read - PreText.OnsetTime) / 100 cnvs.Rectangle Display.Xres / 2-100,Display.Yres / 2-10, 2*percdone, 20 'draw filler sleep 10 Loop Until ((clock.read - PreText.OnsetTime) > 10000) Or PreText.RESP <> "" 'because loop until sounds silly. '---------- It works in EP2, probably in 1 as well. It shows a bar for 10 s, overlaying with whatever is on the screen (make PreText transparent for more options), and shows until end of response or end of 10s. -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Cognitology Sent: 27. August 2014 18:57 To: e-prime at googlegroups.com Subject: RE: Displaying a countdown timer for participants Hi, I'm not sure whether this would serve as a countdowntimer in the absence of the Real Deal, but here's a quick and dirty way of drawing a progressbar (the reverse of a countdown, easily fixed). 1. Have a textDisplay, we call it TextDisplay1, duration 1, timelimit 10000 (or end of procedure, that also works). Add keyboard. 2. Add inline after this textDisplay: '--------- Dim cnvs As canvas Dim percdone As Integer Set cnvs = Display.Canvas cnvs.PenColor = CColor("black") cnvs.FillColor = CColor("white") cnvs.Rectangle Display.Xres / 2-100,Display.Yres / 2-10, 200, 20 'draw bar cnvs.FillColor = CColor("red") Do 'specially for David McFarlane, I'd use WHILE sneakily percdone = (clock.read - textdisplay2.OnsetTime) / 100 cnvs.Rectangle Display.Xres / 2-100,Display.Yres / 2-10, 2*percdone, 20 'draw filler sleep 10 Loop Until ((clock.read - textdisplay1.OnsetTime) > 10000) Or TextDisplay2.RESP <> "" 'because loop until sounds silly. '---------- It works in EP2, probably in 1 as well. It shows a bar for 10 s, overlaying with whatever is on the screen (make textdisplay1 transparent for more options), and shows until end of response or end of 10s. It's not fantastic, I just wrote this in a few minutes. I'm not sure, for instance, if sleep 10 is necessary, for instance - if memory serves, EP2 always adds a display.waitforverticleblank after canvas operations. Best, Michiel Michiel Sovij?rvi-Spap? Helsinki Institute for Information Technology HIIT Aalto & Helsinki University Finland -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of David McFarlane Sent: 21. August 2014 23:06 To: e-prime at googlegroups.com Subject: Re: Displaying a countdown timer for participants Natalia, Indeed, Matt Lenhart from PST posted that file to the Group over 6 years ago, back when Google Groups included a files section. Google Groups has since discontinued that feature. But you may still download that example directly from the PST website. You will need to register and login there first in order to get to the Sample Programs area. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/19/2014 09:22 PM Tuesday, sunnygu wrote: >Dear Natalia, >As far as I know, I think there is no file >download section and you can try in PST >community since this is a discussion forum. And >I may suppose you can try gettimer function in >eprime or search timer in help for ebasic to see >if there is any function you can use. >My best, > >Sally > >? ?????????? iPhone > >??? >2014???8???20?????????? ?8:26???yakunina at gmail.com >???? ???? > >>Hello Matt, >> >>I'm sorry if it's a dumb question, but where >>can I download the sample CountDownClock.es? >>I'm new to this group and I couldn't find files >>section. And I'm in desperate need of the countdown timer :) >> >>Thank you! >>Natalia >> >>On Thursday, April 17, 2008 2:37:44 AM UTC+9, Matt wrote: >>Hello, >> >>Ben's advice is very good and is the method we would recommend. I have >>added our formal sample >>(CountDownClock.es) to the Files section of >>this group for reference. If you have any questions, please let me >>know. >> >>Sincerely, >>Matt Lenhart >>PST Technical Consultant >>http://pstnet.com -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53f65118.61e1320a.6681.24f8SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/03f101cfc20f%247fdaafd0%247f900f70%24%40eu. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/008001cfc37f%24f79edc00%24e6dc9400%24%40eu. For more options, visit https://groups.google.com/d/optout. From raaron47 at gmail.com Fri Aug 29 14:04:07 2014 From: raaron47 at gmail.com (Rachel Aaron) Date: Fri, 29 Aug 2014 07:04:07 -0700 Subject: Error 11093: "Unable to buffer movie" Message-ID: Hi there, I'm working on a program that displays clips from 14 different videos, followed by a series of questions. The videos range from 8s - 4 minutes 7 seconds, in sizes 298 KB - 43786 KB. The videos are all located within one List Object. When I run the experiment, I always get Error 11093: "Unable to buffer movie." The odd thing is that every time I run the experiment, the error occurs at a different time (after 5 movies, after 8 movies, etc.), even when they order is the same. I've ensured that all clips play by switching the order of the video in the List Object. I can't figure out a consistent reason why this error is occurring, the length, number, and size of videos that play is different every time. I've gone back and forth with eprime support many times trying to figure this error out, but haven't solved anything yet? Any thoughts from the eprime community? Many thanks, Rachel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5dd3bb75-de69-44a5-b6bb-befd558726e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Aug 29 14:18:15 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 29 Aug 2014 10:18:15 -0400 Subject: Error 11093: "Unable to buffer movie" In-Reply-To: <5dd3bb75-de69-44a5-b6bb-befd558726e5@googlegroups.com> Message-ID: Hmm, putting "e-prime error 11093" into Google reveals that this very question was asked here on 12 Feb 2014, https://groups.google.com/d/topic/e-prime/kPm3uvuiraI , and got no replies then. Not very hopeful, I'm afraid. We had similar problems last year with a very simple movie-playing program, never did figure it out. We finally switched that experiment to PsychoPy, and still had problems with the codecs there. Once we straightened out codecs it all worked in PsychoPy, and for all I know if we were to go back to E-Prime those movie files would now work there. So when I see these problems, I always think codecs. Just my US$.02, -- David McFarlane At 8/29/2014 10:04 AM Friday, Rachel Aaron wrote: >Hi there, > >I'm working on a program that displays clips from 14 different >videos, followed by a series of questions. The videos range from 8s >- 4 minutes 7 seconds, in sizes 298 KB - 43786 KB. The videos are >all located within one List Object. When I run the experiment, I >always get Error 11093: "Unable to buffer movie." The odd thing is >that every time I run the experiment, the error occurs at a >different time (after 5 movies, after 8 movies, etc.), even when >they order is the same. I've ensured that all clips play by >switching the order of the video in the List Object. I can't figure >out a consistent reason why this error is occurring, the length, >number, and size of videos that play is different every time. > >I've gone back and forth with eprime support many times trying to >figure this error out, but haven't solved anything yet? Any >thoughts from the eprime community? > >Many thanks, >Rachel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/54008bb7.4946320a.4bb9.00bcSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From d.vinson at ucl.ac.uk Fri Aug 29 14:32:49 2014 From: d.vinson at ucl.ac.uk (David Vinson) Date: Fri, 29 Aug 2014 15:32:49 +0100 Subject: Error 11093: "Unable to buffer movie" In-Reply-To: <5dd3bb75-de69-44a5-b6bb-befd558726e5@googlegroups.com> Message-ID: Hi Rachel, We've had some similar issues over the years using video: unpredictable but frequent buffer errors or crashes. Although we never exactly identified the cause (quite possibly: related to HD access times), we managed to practically eliminate the occurrence by always preloading video clips before they need to be displayed (ie first event of a trial Procedure), and wherever possible, building in a bit of extra time between one video clip and the next. We also found this problem was hardware dependent, some PCs being really bad and others, not so bad. And finally, it might possibly be reduced by loading videos from a second internal HD that was not being used for caching etc. (although this may just have been superstitious conclusions on our part). Once we had something that looked like it might be working, we set up a stress test: auto-running experiment that displayed our videos up to ~1000 times each, with the same timing we planned to use in our experiment (logging data). This way we could let it go on its own, and in the event of buffer/crash problems, inspect the data .txt file to see how many trials it went before running into problems. Successful autoruns on this scale gave us a lot more confidence that we could trust our experiments to real participants. Preloading videos: can be done like the ImageDisplay example at the bottom of this page: http://imaging.mrc-cbu.cam.ac.uk/imaging/EprimeTiming Finally, we did get some good advice from PST Support about video codecs (after a long dead-end trying various codec-based solutions, we eventually cleared them all out and went back to a fresh install of E-Prime). Good luck, David V On 29/08/2014 15:04, Rachel Aaron wrote: > Hi there, > > I'm working on a program that displays clips from 14 different videos, > followed by a series of questions. The videos range from 8s - 4 > minutes 7 seconds, in sizes 298 KB - 43786 KB. The videos are all > located within one List Object. When I run the experiment, I always > get Error 11093: "Unable to buffer movie." The odd thing is that every > time I run the experiment, the error occurs at a different time (after > 5 movies, after 8 movies, etc.), even when they order is the same. > I've ensured that all clips play by switching the order of the video > in the List Object. I can't figure out a consistent reason why this > error is occurring, the length, number, and size of videos that play > is different every time. > > I've gone back and forth with eprime support many times trying to > figure this error out, but haven't solved anything yet? Any thoughts > from the eprime community? > > Many thanks, > Rachel > -- > You received this message because you are subscribed to the Google > Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to e-prime+unsubscribe at googlegroups.com > . > To post to this group, send email to e-prime at googlegroups.com > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/5dd3bb75-de69-44a5-b6bb-befd558726e5%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. -- David Vinson, Ph.D. ESRC Research Fellow Experimental Psychology University College London 26 Bedford Way, London WC1H 0AP Tel +44 (0)20 7679 5311 (UCL internal ext. 25311) -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/54008F11.5080102%40ucl.ac.uk. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryanblything at gmail.com Sat Aug 30 21:05:53 2014 From: ryanblything at gmail.com (Ryan Blything) Date: Sat, 30 Aug 2014 14:05:53 -0700 Subject: Eprime triggers to EEG out of sync In-Reply-To: Message-ID: Hi everyone, I came across this post because I am going to be trying a similar thing in my experiment such that we will be using e-prime v.1 to present audio stimuli and we are interested in setting markers so that they are not just at the onset of stimuli - but also at a number of specific points in each sentence (e.g. onset of the verb, noun, preposition). This would require having several markers for each trial and Im wondering about the best way to go about this? One way is through code but no one seems to have managed to do this successfully that Im aware of. How did it go for any of you? Im quite new to e-prime and SPM (which we will use to analyse data) so I would appreciate any advice before I continue. An alternative option Ive heard about is post-hoc labelling, which would be done in SPM, post-hoc working from the onset triggers provided by e-prime (and psuedo-marking points later in the sentence). Im not very familiar with SPM but am I right in thinking that as long as the onset of the sentence is marked accurately, then we can - post hoc - set markers anywhere we want in the data thereafter? This may be the most ideal solution because I have 200 sentences, each of which must be labelled separately (so that I can recognise each one). Apparently e-prime is limited to sending out 250 labels so perhaps post-hoc multiple labelling is the answer. I would appreciate any thoughts any of you may have. Many Thanks, Ryan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/30ec6632-8759-4931-ba0a-5857cf50c506%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From arminka.jan at gmail.com Sun Aug 31 11:28:40 2014 From: arminka.jan at gmail.com (armina) Date: Sun, 31 Aug 2014 04:28:40 -0700 Subject: Eprime triggers to EEG out of sync In-Reply-To: <30ec6632-8759-4931-ba0a-5857cf50c506@googlegroups.com> Message-ID: Hi Ryan, A few years ago we did it, it's quite simple. Now I am far from my working place and from the needed computer so I cannot tell you the exact InLine and the rest but the idea is the following. We've sent TTL signals from the lamps (you have 5 lamps on the SRB, just flash/sleep them). Each lamp signal was going to a separate channel. So, you have 5 channels to code/mark whatever you want. You may vary duration of the signal, number of the signals, duration between the TTL signals, and the channel. it gives you practically unlimited number of different markers :) you can have several markers for each trial and you never get lost in them. each channel can be set for something particular, say, one channel for sentence onset, another for specific components within the sentence (with each component having its specific marker), etc. This system was easy to structure and to use. Hope it helps. good luck, armina On Sunday, 31 August 2014 00:05:53 UTC+3, Ryan Blything wrote: > > Hi everyone, > > I came across this post because I am going to be trying a similar thing in > my experiment such that we will be using e-prime v.1 to present audio > stimuli and we are interested in setting markers so that they are not > just at the onset of stimuli - but also at a number of specific points in > each sentence (e.g. onset of the verb, noun, preposition). This would > require having several markers for each trial and Im wondering about the > best way to go about this? One way is through code but no one seems to have > managed to do this successfully that Im aware of. How did it go for any of > you? Im quite new to e-prime and SPM (which we will use to analyse data) so > I would appreciate any advice before I continue. > > An alternative option Ive heard about is post-hoc labelling, which would > be done in SPM, post-hoc working from the onset triggers provided by > e-prime (and psuedo-marking points later in the sentence). Im not very > familiar with SPM but am I right in thinking that as long as the onset of > the sentence is marked accurately, then we can - post hoc - set markers > anywhere we want in the data thereafter? This may be the most ideal > solution because I have 200 sentences, each of which must be labelled > separately (so that I can recognise each one). Apparently e-prime is > limited to sending out 250 labels so perhaps post-hoc multiple labelling is > the answer. I would appreciate any thoughts any of you may have. > > Many Thanks, > Ryan > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/4e6b3a82-db1f-47e6-a117-4b295c554620%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Sun Aug 31 18:03:34 2014 From: mspape at cognitology.eu (=?UTF-8?Q?Michiel_Sovij=C3=A4rvi-Spap=C3=A9?=) Date: Sun, 31 Aug 2014 21:03:34 +0300 Subject: Eprime triggers to EEG out of sync In-Reply-To: <4e6b3a82-db1f-47e6-a117-4b295c554620@googlegroups.com> Message-ID: Hi Ryan, et al., What is ?this post?? AFAIK, most people have successfully sent triggers using E-Prime (that?s probably why there are few messages suggesting anything else!), accurately timed, and indeed, the number of publications with EEG and E-Prime must be in the hundreds by now. I have never had a problem with out of sync triggers myself. In general, you always set triggers, and the software used for recoding is insignificant ? of course you can change them with MATLAB (using whatever toolbox, e.g. SPM, EEGLAB), but that doesn?t change timing. In general, any EEG amp worth its salt will come with dedicated E-Prime packaged ? find them on their website. In other words: post-hoc labelling isn?t an alternative: it?s just a way that you change ?124? ? the byte sent over parallel port, for instance, to ?Stimulus Onset, VERB?. In general, I use two types of triggers: *Timing critical: particularly onset of the stimulus. You can use the ?.onsetsignalenabled? (not sure about the exact phrase, being out of office at the moment) and so on for that (search here or elsewhere). Only needs to be a bit ? the stimulus is ON NOW. This you need to code before the stimulus X happens (e.g. X.onsetsignalenabled). E-Prime then ensures the trigger is sent at the time the monitor refreshes, rather than at some other odd moment that isn?t related to the stimulus. *Timing non-critical: data, in other words. I send loads of data nowadays with the following: Writeport outport, 254 Sleep 1 ?sleep is necessary because triggers can overwrite one another. ??Then start writing all sorts of more bytes For i = 2 to 100, Writeport outport, i Sleep 1 Writeport outport, 0 ?to avoid problems with repetitions. Sleep 1 Next i ? Ending with Writeport outport, 255 (search for outport elsewhere). The deal is that afterwards, you concatenate the data in between (the ?then start writing bit, here resulting in trigger values 2 to 100 being send), so that basically, you can afterwards always recode the Timing critical event using the triggers that precede it. Hope that helps. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of armina Sent: 31 August 2014 14:29 To: e-prime at googlegroups.com Subject: Re: Eprime triggers to EEG out of sync Hi Ryan, A few years ago we did it, it's quite simple. Now I am far from my working place and from the needed computer so I cannot tell you the exact InLine and the rest but the idea is the following. We've sent TTL signals from the lamps (you have 5 lamps on the SRB, just flash/sleep them). Each lamp signal was going to a separate channel. So, you have 5 channels to code/mark whatever you want. You may vary duration of the signal, number of the signals, duration between the TTL signals, and the channel. it gives you practically unlimited number of different markers :) you can have several markers for each trial and you never get lost in them. each channel can be set for something particular, say, one channel for sentence onset, another for specific components within the sentence (with each component having its specific marker), etc. This system was easy to structure and to use. Hope it helps. good luck, armina On Sunday, 31 August 2014 00:05:53 UTC+3, Ryan Blything wrote: Hi everyone, I came across this post because I am going to be trying a similar thing in my experiment such that we will be using e-prime v.1 to present audio stimuli and we are interested in setting markers so that they are not just at the onset of stimuli - but also at a number of specific points in each sentence (e.g. onset of the verb, noun, preposition). This would require having several markers for each trial and Im wondering about the best way to go about this? One way is through code but no one seems to have managed to do this successfully that Im aware of. How did it go for any of you? Im quite new to e-prime and SPM (which we will use to analyse data) so I would appreciate any advice before I continue. An alternative option Ive heard about is post-hoc labelling, which would be done in SPM, post-hoc working from the onset triggers provided by e-prime (and psuedo-marking points later in the sentence). Im not very familiar with SPM but am I right in thinking that as long as the onset of the sentence is marked accurately, then we can - post hoc - set markers anywhere we want in the data thereafter? This may be the most ideal solution because I have 200 sentences, each of which must be labelled separately (so that I can recognise each one). Apparently e-prime is limited to sending out 250 labels so perhaps post-hoc multiple labelling is the answer. I would appreciate any thoughts any of you may have. Many Thanks, Ryan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com . To post to this group, send email to e-prime at googlegroups.com . To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/4e6b3a82-db1f-47e6-a117-4b295c554620%40googlegroups.com . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/001001cfc545%24f01afeb0%24d050fc10%24%40cognitology.eu. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: