From gusunny1 at gmail.com Fri Nov 1 02:03:05 2013 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Fri, 1 Nov 2013 10:03:05 +0800 Subject: 2 slides equal to one time duration In-Reply-To: <5272b74d.2cdd320a.7803.0516SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Dear David McFarlane, I'm totally agree with you that we need to be precise. I just understand what you mean and my origianl problem is due to my confusion for the meaning of all these kinds of time. I need to work hard to make these name familiar to me. Thanks. All my best, Sally 2013/11/1 David McFarlane > Glad you found that useful. > > Hope I understand your question... Let's see, we have > > BSlide.Duration = 2500 - ASlide.RT > > and since RT = (ASlide.RTTime - ASlide.OnsetTime), that is the same as > > BSlide.Duration = 2500 - (ASlide.RTTime - ASlide.OnsetTime) > > which is not all that different from > > > BSlide.Duration = 2500 - (Clock.Read - ASlide.OnsetTime) > > So the difference is slight. But here's the deal. The goal here is to > make BSlide end precisely 2500 ms after the onset of ASlide. Some small > time may pass between ASlide.RTTime and the time when BSlide starts, and if > that happens then if you base BSlide.Duration on ASlide.RTTime then the > Duration will be a little too long and that will make the full time of > ASlide + BSlide longer than intended. Using the Clock.Read in code > immediately before BSlide should give you a closer estimate of the Duration > needed for BSlide, but even here, any delay between the computation of > BSlide.Duration and when BSlide actually starts running will result in > Duration being just a little too long. May not be enough to matter, but > why not be more exact if we can? > > So I advise *against* doing things this way just because of the > complications of all these little delays. Instead, my main advice of using > SetNextTargetOnsetTime along with Cumulative timing mode avoids these > complications, and used properly, can result in precise timing. > > > ----- > 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) PST's trained staff take > any and all questions at https://support.pstnet.com , and they strive to > respond to all requests in 24-48 hours, so make full use of it. 3) In > addition, PST offers several instructional videos on their YouTube channel ( > http://www.youtube.com/user/**PSTNET ). 4) 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 10/30/2013 11:03 PM Wednesday, =?GB2312?B?vKrP6cjn0uI=?= wrote: > >> Dear David McFarlane, >> >> I have tried your suggestion, it really works and it's quite simple >> compared with what I performed before as : BSlide.Duration=2500-ASlide.**RT, >> and one more question, why you use 2500 - (Clock.Read - ASlide.OnsetTime). >> Thanks a lot. >> >> >> 2013/10/22 David McFarlane <mcfa**rla9 at msu.edu >> > >> >> Just for the record, I need to correct a bit of my advice here. Earlier, >> I said that using >> >> SetNextTargetOnsetTime ASlide.OnsetTime >> >> between ASlide and BSlide would make the total duration from the start of >> ASlide to the end of BSlide equal the specified Duration of BSlide (in this >> case, 2500 ms). But I neglected to say that, for this to work, you must >> also set BSlide to use Cumulative timing mode. This works because, in >> Cumulative timing mode, the TargetOnset time for whatever follows BSlide >> will be based on the TargetOnsetTime of BSlide (instead of actual >> OnsetTime), and BSlide.TargetOnsetTime will come from the >> NextTargetOnsetTime implied in the code above. I generally like this >> approach because it eliminates any errors due to delays in starting BSlide. >> >> Furthermore, the line of code above makes the total duration of ASlide + >> BSlide act like Event timing mode (think it through). If you want that to >> instead act like Cumulative timing mode, then that line should read >> >> SetNextTargetOnsetTime ASlide.TargetOnsetTime >> >> i.e., use .TargetOnsetTime instead of just .OnsetTime. >> >> >> If you stubbornly insist on keeping BSlide set to Event timing mode, then >> the TargetOnset time for whatever follows BSlide will be based on the >> actual OnsetTime of BSlide, and you have no recourse but to manipulate the >> Duration of BSlide. In that case, your inline code between ASlide and >> BSlide should look more like >> >> BSlide.Duration = 2500 - (Clock.Read - ASlide.OnsetTime) >> >> or if you prefer, >> >> c.SetAttrib "BSlideDuration", 2500 - (Clock.Read - ASlide.OnsetTime) >> >> and then use "[BSlideDuration]" as an attribute reference for the >> Duration of BSlide (see comments on assigning object properties directly in >> code vs. via attribute reference at > topic/e-prime/dWpfjk-BeLs >> >http**s://groups.google.com/d/topic/**e-prime/dWpfjk-BeLsand < >> https://groups.google.com/d/**topic/e-prime/g1Fv2CGaSeg >> >http**s://groups.google.com/d/topic/**e-prime/g1Fv2CGaSeg). >> >> >> Manipulating Duration (instead of NextTargetOnsetTime) also means that >> the actual duration of BSlide (and ASlide + BSlide) will vary depending on >> any delays in starting BSlide, but maybe that is what you want. >> >> >> ----- >> David McFarlane >> E-Prime training online: > Workshops_Courses/eprime.aspx >> >**http://psychology.msu.edu/**Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster ( >> >https://twitter.**com/EPrimeMaster ) >> >> /---- >> Stock reminder: 1) I do not work for PST. 2) PST's trained staff take >> any and all questions at ht** >> tps://support.pstnet.com , and they strive >> to respond to all requests in 24-48 hours, so make full use of it. 3) In >> addition, PST offers several instructional videos on their YouTube channel >> ( >> >http://www.youtube.com/**user/PSTNET). 4) 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 10/14/2013 02:22 PM Monday, David McFarlane wrote: >> Not sure I follow your description of the problem. But let's suppose you >> have two Slides in your Procedure, let's call them ASlide and BSlide. >> ASlide takes a response, and the Procedure moves on to present BSlide >> whenever ASlide gets a response, or 2000 ms, whichever comes first. And >> you want the total duration for ASlide & BSlide to be 2500 ms, i.e., BSlide >> should last for 2500 - (ASlide_actual_duration). >> >> There are many ways to skin this cat. My favorite method goes as >> follows. Set the Duration of BSlide to 2500, and in an Inline between >> ASlide and BSlide, do the following: >> >> SetNextTargetOnsetTime ASlide.OnsetTime >> >> That's all! Understanding how this works takes some deeper understanding >> of E-Prime timing models & mechanisms, more than I can go into here, but >> look at the SetNextTargetOnsetTime topic in the E-Basic Help facility. But >> in short, with that bit of code, BSlide will use the actual OnsetTime from >> ASlide in order to compute its own ending time, and so will end at 2500 ms >> from the OnsetTime of ASlide, whithout you having to do anything more. >> Presto! >> >> ----- >> David McFarlane >> E-Prime training online: > Workshops_Courses/eprime.aspx >> >**http://psychology.msu.edu/**Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster ( >> >https://twitter.**com/EPrimeMaster ) >> >> /---- >> Stock reminder: 1) I do not work for PST. 2) PST's trained staff take >> any and all questions at ht** >> tps://support.pstnet.com , and they strive >> to respond to all requests in 24-48 hours, so make full use of it. 3) In >> addition, PST offers several instructional videos on their YouTube channel >> ( >> >http://www.youtube.com/**user/PSTNET). 4) 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 10/8/2013 10:00 PM Tuesday, Kim Goodyear wrote: >> I am trying to have two sequential slides that are equal to one time >> duration of 2500 ms. The first slide and the second slide are completely >> identical, except in the second slide the text color changes to red so that >> the participant can see their selection, I want the first slide to >> terminate and then have the second slide come up so that they both equal >> the same 2500 ms. Since the response time will vary I don't know how to >> make both slides equal to the same 2500. I don't know why, but if the >> buttons aren't selected right away, the total duration is around 5000, or >> if there is a delay in the response, the total duration is around 4200. I >> am not sure how to fix this issue, any advice would be great. Here is my >> inline script: >> >> Dim ResetSlide as integer >> Dim x as integer >> >> ResetSlide = StimDisplay.Duration + StimDisplay2.Duration >> ResetSlide = x >> x = 2500 >> > > -- > You received this message because you are subscribed 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@**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/5272b74d.**2cdd320a.7803.0516SMTPIN_** > ADDED_MISSING%40gmr-mx.google.**com > . > > For more options, visit https://groups.google.com/**groups/opt_out > . > -- You received this message because you are subscribed 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/CAJO0WNYoGjdcw_mVh0w2kwD5FM_3jAMo9Mdj43KVrr3ju%2BX07w%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nxplasmid at gmail.com Sat Nov 2 17:40:31 2013 From: nxplasmid at gmail.com (Mark Burlingame) Date: Sat, 2 Nov 2013 10:40:31 -0700 Subject: After update, stimulus wont play if video is rotated 180 degrees Message-ID: Hello Everyone, I am an MRI tech at UCSF and we present stimulus via eprime, presentation, and Matlab. The monitor is view via a mirror so we have flip the image upsidedown so it displays properly. Unfortunately when I upgraded from an older installation of eprime 2 to service pack 1 .353 build irrc, the scripts start and the patient number and information can be entered, but the "ready" or instruction screens don't display when I have the image inverted using the diplay driver settings. I have tried it with both Nvidia and AMD graphics cards and drivers. The scripts run just fine if I don't invert the image. Of course, they need to be inverted to work for our studies. Any help would be greatly appreciated. thanks, Mark -- You received this message because you are subscribed 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/56a5bd00-dbf4-4ba2-9af9-2cf4ba31653a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacanterbury at gmail.com Sat Nov 2 21:33:50 2013 From: jacanterbury at gmail.com (JACanterbury) Date: Sat, 2 Nov 2013 14:33:50 -0700 Subject: Unable to play sound files In-Reply-To: <9ec58a36-4200-4985-8e1c-a9998203c34c@googlegroups.com> Message-ID: i assume the sounds play fine by themselves in native windows? In which case, have you run PST's 'codec config' utility program on the machine that you want to run the experiment on? I don't have e-prime to hand but I believe you need the file/render file option and you're looking to get green ticks to indicate that all is well. John On Thursday, October 31, 2013 12:46:08 PM UTC, Ieva Zeromskaite wrote: > > > > Hello, > > I am having problems with the loading of sound files. After showing the > instructions, neither the Slide Object (with a soundfile inside) nor the > SoundOut Object plays when I run the experiment. > > I checked that the soundfile names are correct, in the same file as the > eps file, procedure titles are correct too. There's something wrong with > the SoundBuffer, however, Eprime script doesn't say what exactly. > > Below is the script's copy : > > **** > > SoundOut1.ResetLoggingProperties > > Set SoundOut1SoundBuffer = SoundOut1.Buffers(1) > > SoundOut1SoundBuffer.Filename = c.GetAttrib(ebUCase_S & ebLCase_o & > ebLCase_u & ebLCase_n & ebLCase_d & ebUCase_F & ebLCase_i & ebLCase_l & > ebLCase_e) > > SoundOut1SoundBuffer.Load > > > > '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' > > ' Label - Procedure_Timeline_Start BEGIN > > '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' > > > > Procedure_Timeline_Start: > > If Err.Number = ebInputAccepted Then > > Err.Clear > > Resume Procedure_Timeline_StartResume > > ElseIf Err.Number <> 0 Then > > *** > > > > I would be grateful if anybody could help me with that. > > Thanks, > > Ieva > -- You received this message because you are subscribed 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/1bbbea72-9e22-432d-a91c-0f9f462e573a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From xusihua80 at gmail.com Mon Nov 4 02:47:46 2013 From: xusihua80 at gmail.com (sihua xu) Date: Mon, 4 Nov 2013 10:47:46 +0800 Subject: how to define an array Message-ID: Dear all I am having problems with the definition of the array and assign the value in the e-prime, for example, I want to define two arrays. the first one including 36 units and values and the second one including 12 units and values. we should get one value randomly from each array, and then stop the program by comparing the size of them. my main question is how to define the array including 36 or 12 units, how to get the value from the array randomly and compare them? the two arrays as follows: a[36] ={2,3,4,5,6,7,8,9,10,11,12,4,5,6,7,8,9,10,5,6,7,8,9,5,6,7,8,9,6,7,8,4,5,6,7,8} b[12] = {12,7,8,2,6,3,9,10,4,5,11,9,10,11,12} I would be grateful if anybody could help me with that thanks Sihua Xu PhD Department of psychology Sun Yat-Sen University Guangzhou, 510275 P. R. China -- You received this message because you are subscribed 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/CAPEBGuZ1_p6CvL43-B6720CnppEsVi0P2j4Gn5W5AXNN9kjKow%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Mon Nov 4 03:23:08 2013 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Mon, 4 Nov 2013 11:23:08 +0800 Subject: how to define an array In-Reply-To: Message-ID: Dear, you should defiine the array one by one like this, a(1)=2 a(2)=3 and you can random the array use the arrayrandomize method. then you can get a random number use random method ,then randomizearray a t=random(1,ubound(a)) a(t) is what you want. Hope this help. 2013/11/4 sihua xu > Dear all > I am having problems with the definition of the array and assign the > value in the e-prime, for example, I want to define two arrays. the first > one including 36 units and values and the second one including 12 units > and values. we should get one value randomly from each array, and then > stop the program by comparing the size of them. > my main question is how to define the array including 36 or 12 units, how > to get the value from the array randomly and compare them? > the two arrays as follows: > a[36] > ={2,3,4,5,6,7,8,9,10,11,12,4,5,6,7,8,9,10,5,6,7,8,9,5,6,7,8,9,6,7,8,4,5,6,7,8} > b[12] = {12,7,8,2,6,3,9,10,4,5,11,9,10,11,12} > > I would be grateful if anybody could help me with that > thanks > > > > > Sihua Xu > > PhD > Department of psychology > Sun Yat-Sen University > Guangzhou, 510275 > P. R. China > > -- > You received this message because you are subscribed 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/CAPEBGuZ1_p6CvL43-B6720CnppEsVi0P2j4Gn5W5AXNN9kjKow%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAJO0WNZ4bd_ntp1%3D21JPwpTmdhJfDMfT5SzHEAZwBUOZFt%2BEmQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nebizzy at gmail.com Mon Nov 4 13:32:45 2013 From: nebizzy at gmail.com (Ieva Zeromskaite) Date: Mon, 4 Nov 2013 05:32:45 -0800 Subject: Unable to play sound files In-Reply-To: <9ec58a36-4200-4985-8e1c-a9998203c34c@googlegroups.com> Message-ID: Thank you so much for your answer, I tried and everything works perfectly now! Thank you:) Ieva -- You received this message because you are subscribed 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/ef2ee091-4bfd-40d0-ada9-5f1ed8ee118c%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nxplasmid at gmail.com Mon Nov 4 20:16:41 2013 From: nxplasmid at gmail.com (Mark Burlingame) Date: Mon, 4 Nov 2013 12:16:41 -0800 Subject: After update, stimulus wont play if video is rotated 180 degrees In-Reply-To: <56a5bd00-dbf4-4ba2-9af9-2cf4ba31653a@googlegroups.com> Message-ID: Just to clarify, the scripts run just fine if the display driver does have the display image inverted 180 degrees, and is happening on both a pc with an AMD video card, and one with an Nvidia video card, so it's not video driver related, or at least not a specific video driver release issue. Mark On Saturday, November 2, 2013 10:40:31 AM UTC-7, Mark Burlingame wrote: > > Hello Everyone, > I am an MRI tech at UCSF and we present stimulus via eprime, > presentation, and Matlab. The monitor is view via a mirror so we have flip > the image upsidedown so it displays properly. Unfortunately when I > upgraded from an older installation of eprime 2 to service pack 1 .353 > build irrc, the scripts start and the patient number and information can be > entered, but the "ready" or instruction screens don't display when I have > the image inverted using the diplay driver settings. I have tried it with > both Nvidia and AMD graphics cards and drivers. The scripts run just fine > if I don't invert the image. Of course, they need to be inverted to work > for our studies. Any help would be greatly appreciated. thanks, Mark > -- You received this message because you are subscribed 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/ac11816e-c32d-4ff7-8094-07da6f0ec493%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Eric at ericwalden.net Mon Nov 4 21:32:57 2013 From: Eric at ericwalden.net (Eric at ericwalden.net) Date: Mon, 4 Nov 2013 13:32:57 -0800 Subject: terminate current list Message-ID: I am trying to figure out how to terminate the currently running list on a certain key press. I can get the currently running list with c.GetAttribute("Running"). I can use the list name as a variable in the list as [Running]. What I need is code that basically does this: if DsiplayProductInfoSlide.ACC = 1 then c.GetAttribute("Running").terminate however, c.GetAttribute("Running") is the string name of the running list not the running list itself. If I run if DsiplayProductInfoSlide.ACC = 1 then List1.terminates then it works fine. However, I have many lists and I need it to automatically terminate the current one. -- You received this message because you are subscribed 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/1cee53cc-755e-4173-8f3c-dfd9bbb97637%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nxplasmid at gmail.com Mon Nov 4 22:47:38 2013 From: nxplasmid at gmail.com (Mark Burlingame) Date: Mon, 4 Nov 2013 14:47:38 -0800 Subject: After update, stimulus wont play if video is rotated 180 degrees In-Reply-To: <56a5bd00-dbf4-4ba2-9af9-2cf4ba31653a@googlegroups.com> Message-ID: I figured it out, just in case someone hits the same issue. There is a display setting under the edit/experiments/devices/display/edit there is a toggle "Flipping enabled" that must be toggled to yes. Mark On Saturday, November 2, 2013 10:40:31 AM UTC-7, Mark Burlingame wrote: > > Hello Everyone, > I am an MRI tech at UCSF and we present stimulus via eprime, > presentation, and Matlab. The monitor is view via a mirror so we have flip > the image upsidedown so it displays properly. Unfortunately when I > upgraded from an older installation of eprime 2 to service pack 1 .353 > build irrc, the scripts start and the patient number and information can be > entered, but the "ready" or instruction screens don't display when I have > the image inverted using the diplay driver settings. I have tried it with > both Nvidia and AMD graphics cards and drivers. The scripts run just fine > if I don't invert the image. Of course, they need to be inverted to work > for our studies. Any help would be greatly appreciated. thanks, Mark > -- You received this message because you are subscribed 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/d308c09c-0db0-412b-9511-d17e110b9871%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From joanna.e.lewis at gmail.com Mon Nov 4 23:13:31 2013 From: joanna.e.lewis at gmail.com (Joanna Lewis) Date: Mon, 4 Nov 2013 15:13:31 -0800 Subject: Horizontal Display Line Issue Message-ID: Hello everyone! I'm running a flicker paradigm in e-prime that utilizes millisecond timing for the alternating displays. One is a screen of black dots on a white background (one disappears every other flicker), the other display is gray scale full screen noise mask. *When the two flicker, there is a horizontal line that appears near the top of the screen*. We have tried to account for the screen updating cycles, but I can't seem to figure out why the issue persists. Here are more specifications. LED monitor Refresh rate: 60 hz Display 1: 250 ms onset sync: vertical blank Offset: None Display 2: 83 ms onset sync: vertical blank Offset: None Displays lengths were chosen based on 1000/60=16.667, and 16.667*5 =83.35 and 16.667*15=250 I'm at a dead end and am asking you if there is something I can do or it's not possible at this speed of presentation. Thank you for any ideas Joanna -- You received this message because you are subscribed 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/ad5f39c5-a00c-404e-af52-7c700b86ff5c%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacanterbury at gmail.com Tue Nov 5 13:38:19 2013 From: jacanterbury at gmail.com (JACanterbury) Date: Tue, 5 Nov 2013 05:38:19 -0800 Subject: Unable to play sound files In-Reply-To: Message-ID: you're welcome - it's nice to be able to provide an answer - normally I'm the one asking the questions :) On Monday, November 4, 2013 1:32:45 PM UTC, Ieva Zeromskaite wrote: > > Thank you so much for your answer, I tried and everything works perfectly > now! > > Thank you:) > > Ieva > -- You received this message because you are subscribed 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/15cfe39e-a7a7-46f4-9009-d7716fc9203a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Tue Nov 5 15:19:21 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Tue, 5 Nov 2013 16:19:21 +0100 Subject: terminate current list In-Reply-To: <1cee53cc-755e-4173-8f3c-dfd9bbb97637@googlegroups.com> Message-ID: I think I grabbed this from the E_Basic manual some time ago: Dim theList As List Set theList = CList(Rte.GetObject(c.GetAttrib("Running"))) If Not theList Is Nothing Then theList.Terminate End If Paul On 4 November 2013 22:32, Eric at ericwalden.net wrote: > I am trying to figure out how to terminate the currently running list on a > certain key press. I can get the currently running list with > c.GetAttribute("Running"). I can use the list name as a variable in the > list as [Running]. What I need is code that basically does this: > > if DsiplayProductInfoSlide.ACC = 1 then c.GetAttribute("Running").terminate > > however, c.GetAttribute("Running") is the string name of the running list > not the running list itself. > > If I run if DsiplayProductInfoSlide.ACC = 1 then List1.terminates > > then it works fine. However, I have many lists and I need it to > automatically terminate the current one. > > -- > You received this message because you are subscribed 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/1cee53cc-755e-4173-8f3c-dfd9bbb97637%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAKAdR-v%2BJ6doFk_FGHOaeZ96MBau1K_MOT7JykCbMxfGTusvog%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Tue Nov 5 15:41:15 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Tue, 5 Nov 2013 16:41:15 +0100 Subject: Horizontal Display Line Issue In-Reply-To: Message-ID: Are the pre-release times set to 'same as duration'? And is flipping enabled' set to yes (in the display device properties)? Paul On 5 November 2013 00:13, Joanna Lewis wrote: > Hello everyone! > > I'm running a flicker paradigm in e-prime that utilizes millisecond timing > for the alternating displays. One is a screen of black dots on a white > background (one disappears every other flicker), the other display is gray > scale full screen noise mask. *When the two flicker, there is a > horizontal line that appears near the top of the screen*. We have tried > to account for the screen updating cycles, but I can't seem to figure out > why the issue persists. Here are more specifications. > > LED monitor > Refresh rate: 60 hz > Display 1: 250 ms > > onset sync: vertical blank Offset: None > > Display 2: 83 ms > > onset sync: vertical blank Offset: None > > > Displays lengths were chosen based on 1000/60=16.667, and 16.667*5 =83.35 > and 16.667*15=250 > > I'm at a dead end and am asking you if there is something I can do or it's > not possible at this speed of presentation. Thank you for any ideas > > Joanna > > -- > You received this message because you are subscribed 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/ad5f39c5-a00c-404e-af52-7c700b86ff5c%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAKAdR-t49q2JJXLh%3DdTx74jgtzPKzDe103Aoo78-QGfHdrmTQg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Nov 5 15:53:38 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 5 Nov 2013 10:53:38 -0500 Subject: terminate current list In-Reply-To: Message-ID: Also covered at https://groups.google.com/d/topic/e-prime/D1Zdx9DVB6M , where this gets reduced to the single line CList( Rte.GetObject( c.GetAttrib("Running") ) ).Terminate -- David McFarlane At 11/5/2013 10:19 AM Tuesday, Paul Groot wrote: >I think I grabbed this from the E_Basic manual some time ago: > >Dim theList As List >Set theList = CList(Rte.GetObject(c.GetAttrib("Running"))) >If Not theList Is Nothing Then >theList.Terminate >End If > >Paul > > >On 4 November 2013 22:32, >Eric at ericwalden.net ><Eric at ericwalden.net> wrote: >I am trying to figure out how to terminate the currently running >list on a certain key press. I can get the currently running list >with c.GetAttribute("Running"). I can use the list name as a >variable in the list as [Running]. What I need is code that >basically does this: > >if DsiplayProductInfoSlide.ACC = 1 then c.GetAttribute("Running").terminate > >however, c.GetAttribute("Running") is the string name of the running >list not the running list itself. > >If I run if DsiplayProductInfoSlide.ACC = 1 then List1.terminates > >then it works fine. However, I have many lists and I need it to >automatically terminate the current one. -- You received this message because you are subscribed 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/52791485.0286320a.2f9c.3363SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Tue Nov 5 16:11:07 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 5 Nov 2013 11:11:07 -0500 Subject: how to define an array In-Reply-To: Message-ID: Sihua, Judging from your example, I take it that you have a background in C/C++, which has an elegant way of initializing arrays in code. Standard VBA might include a similar (though more clumsy) mechanism, but that has been left out of E-Basic. So as the previous respondant says, you just need to assign each array element in turn with its own assignment statement. Of course you also need to first declare your arrays, thus, Dim a(1 to 36) as Integer ' use explicit array bounds to reduce confusion Dim b(1 to 12) as Integer a(1) = 2 a(2) = 3 ... b(1) = 12 b(2) = 7 ... and if you like you can collapse that using the colon statement separator, Dim a(1 to 36) as Integer ' use explicit array bounds to reduce confusion Dim b(1 to 12) as Integer a(1) = 2: a(2) = 3: ... b(1) = 12: b(2) = 7: ... but it is still clumsy and ugly no matter how you do it. This is really elementary VBA programming, so for more info I recommend an intro VBA programming book such as "VBA for Dummies". If it were me, I might instead use a List for initializing and randomizing, but that is more than I can go into here. ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/3/2013 10:23 PM Sunday, gorgeous yayuan geng wrote: >Dear, > >you should defiine the array one by one like this, a(1)=2 a(2)=3 >and you can random the array use the arrayrandomize method. then you >can get a random number use random method ,then >randomizearray a >t=random(1,ubound(a)) >a(t) is what you want. >Hope this help. > > >2013/11/4 sihua xu <xusihua80 at gmail.com> >Dear all > I am having problems with the definition of the array and > assign the value in the e-prime, for example, I want to define two > arrays. the first one including 36 units and values and the second > one including 12 units and values. we should get one value > randomly from each array, and then stop the program by comparing > the size of them. >my main question is how to define the array including 36 or 12 >units, how to get the value from the array randomly and compare them? >the two arrays as follows: >a[36] >={2,3,4,5,6,7,8,9,10,11,12,4,5,6,7,8,9,10,5,6,7,8,9,5,6,7,8,9,6,7,8,4,5,6,7,8} >b[12] = {12,7,8,2,6,3,9,10,4,5,11,9,10,11,12} > >I would be grateful if anybody could help me with that >thanks > > > > >Sihua Xu > >PhD >Department of psychology >Sun Yat-Sen University >Guangzhou, 510275 >P. R. China -- You received this message because you are subscribed 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/5279189e.0286320a.2f9c.3430SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From fesais at gmail.com Tue Nov 5 16:53:39 2013 From: fesais at gmail.com (Fernanda Sais) Date: Tue, 5 Nov 2013 16:53:39 +0000 Subject: Varying filename not found error - but it was working before Message-ID: Hi, I am running a form discrimination paradigm that uses four different targets. To do that, I used an Slide and referenced the Sub-object property pages to an attribute on a Trial list. So, in the Filename I just wrote [Target], which was referencing to the Target column on my Trial list. In that column I wrote the names of the png figures used in each type of trial. That was working well in my previous experiment, but now I have to change the types of trials and the names of the png files I use. I just deleted the old names and typed the new ones, but now E-prime cannot find the files anymore. The Advisor says that The `SlideName` object uses an [attribute] referece for its Filename property and the resolved value cannot be found on disk. I am sure I have the correct filenames on the attribute list. Anyone knows what might have happend? I have no idea of what might be causing this. Thank you for any help! Best wishes, Fernanda -- You received this message because you are subscribed 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/CAB6VT_hkRQ7Jyy27H9COK-cS8BSqEK_vRsE1XBs9O86aaghfxA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mateoleganes at gmail.com Tue Nov 5 18:34:23 2013 From: mateoleganes at gmail.com (Mateo Leganes Fonteneau) Date: Tue, 5 Nov 2013 10:34:23 -0800 Subject: Flicker Message-ID: Dear all. I'm a beginner user of E-prime. I'm trying to implement a flicker task and I'm finding some problems programming the inline object. I already consulted all the previous posts regarding this topic and tried different commands to perform this task without success. The point is to present 4 stimuli in a loop. E1a and E1b present a change, and the loop should continue until the change on E1b is detected and space bar pressed. Label1 mask1 E1a mask E1b Inline Label2 Endtask I placed the Inline item after E1b, I chose a select a SelectCase command: *Select Case E1b.RESP* * Case 1 * * GoTo Label2 * * Case Else * * GoTo Label1* *End Select* When running the script an error of typing is shown. Can someone tell me how to solve this problem? I am specifying on E1b which is the input I'm waiting for (Space), that's right? Thanks a lot. -- You received this message because you are subscribed 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/1515cbe7-a5da-4892-94ab-52bd3b4f2678%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Nov 5 19:20:32 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 5 Nov 2013 14:20:32 -0500 Subject: Flicker In-Reply-To: <1515cbe7-a5da-4892-94ab-52bd3b4f2678@googlegroups.com> Message-ID: Thanks first for looking through past posts, and for laying out your Procedure structure here. Just a reminder, also make sure to work through all the tutorials in the Guides that come with E-Prime. First, your error message -- that results because .RESP returns a String value, and in your Case you compare that to the Integer value 1. Strings and Integers are different types, hence the error. In order to make that work, you need a String value for your Case, e.g., Select Case E1b.RESP Case "1" ' i.e., a String consisting of the "1" character GoTo Label2 Case Else GoTo Label1 End Select But why stop the lesson there? First, Select Case seems a lot of bother for this simple case -- if the subject does not respond then the program should loop back, otherwise it should just continue. You could accomplish that with merely If (E1b.RESP <> "1") Then Goto Label1 as long as you use the response "1" to indicate that the subject detects the change. But your message says that they press the space bar. In that case, the code should read If (E1b.RESP <> "{SPACE}") Then Goto Label1 or, if you set Allowable on E1b to "{SPACE}", you could also use If (E1b.RESP = "") Then Goto Label1 or even If (E1b.RTTime = 0) Then Goto Label1 or, if you also set Correct to "{SPACE}", then If (E1b.ACC = 0) Then Goto Label1 to detect absence of response. Hope that helps. ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/5/2013 01:34 PM Tuesday, Mateo Leganes Fonteneau wrote: >Dear all. > >I'm a beginner user of E-prime. > >I'm trying to implement a flicker task and I'm finding some problems >programming the inline object. >I already consulted all the previous posts regarding this topic and >tried different commands to perform this task without success. > >The point is to present 4 stimuli in a loop. E1a and E1b present a >change, and the loop should continue until the change on E1b is >detected and space bar pressed. > > >Label1 >mask1 >E1a >mask >E1b >Inline >Label2 >Endtask > >I placed the Inline item after E1b, I chose a select a SelectCase command: > >Select Case E1b.RESP > Case 1 > GoTo Label2 > Case Else > GoTo Label1 >End Select > >When running the script an error of typing is shown. > >Can someone tell me how to solve this problem? >I am specifying on E1b which is the input I'm waiting for (Space), >that's right? > >Thanks a lot. -- You received this message because you are subscribed 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/52794542.629a320a.1a7d.3987SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From joanna.e.lewis at gmail.com Tue Nov 5 22:15:38 2013 From: joanna.e.lewis at gmail.com (Joanna Lewis) Date: Tue, 5 Nov 2013 14:15:38 -0800 Subject: Horizontal Display Line Issue In-Reply-To: Message-ID: Paul Our pre-release was at 33 ms, but the issue was flipping was not enabled. That solved it, thank you!! Additional issue: Has anyone has run into the issue with the flicker paradigm occasionally not registering a keystroke response and continuing with the loop (sometimes take multiple response to register and quit the loop) and if so, how did you fix it? Joanna On Tuesday, November 5, 2013 10:41:15 AM UTC-5, Paul Groot wrote: > > > Are the pre-release times set to 'same as duration'? > And is flipping enabled' set to yes (in the display device properties)? > > Paul > > > > On 5 November 2013 00:13, Joanna Lewis > > wrote: > >> Hello everyone! >> >> I'm running a flicker paradigm in e-prime that utilizes millisecond >> timing for the alternating displays. One is a screen of black dots on a >> white background (one disappears every other flicker), the other display is >> gray scale full screen noise mask. *When the two flicker, there is a >> horizontal line that appears near the top of the screen*. We have tried >> to account for the screen updating cycles, but I can't seem to figure out >> why the issue persists. Here are more specifications. >> >> LED monitor >> Refresh rate: 60 hz >> Display 1: 250 ms >> >> onset sync: vertical blank Offset: None >> >> Display 2: 83 ms >> >> onset sync: vertical blank Offset: None >> >> >> Displays lengths were chosen based on 1000/60=16.667, and 16.667*5 =83.35 >> and 16.667*15=250 >> >> I'm at a dead end and am asking you if there is something I can do or >> it's not possible at this speed of presentation. Thank you for any ideas >> >> Joanna >> >> -- >> You received this message because you are subscribed 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/ad5f39c5-a00c-404e-af52-7c700b86ff5c%40googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed 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/d6081db6-27c8-493e-9103-d9678a0f4185%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mateoleganes at gmail.com Tue Nov 5 23:00:04 2013 From: mateoleganes at gmail.com (Mateo Leganes Fonteneau) Date: Tue, 5 Nov 2013 15:00:04 -0800 Subject: Flicker In-Reply-To: <1515cbe7-a5da-4892-94ab-52bd3b4f2678@googlegroups.com> Message-ID: Works perfectly. Thank you very much for the good explanation! > > > > > -- You received this message because you are subscribed 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/e6bd7a23-89b7-4409-b2a3-27716b1a2631%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vaccaro.mg at gmail.com Wed Nov 6 22:05:57 2013 From: vaccaro.mg at gmail.com (Maria Grazia Vaccaro) Date: Wed, 6 Nov 2013 23:05:57 +0100 Subject: help me_thank you Message-ID: Hello, Can you help me?? Thank you... my english is very bad :-) "We are applying a cognitive task developed in Eprime 2.0. Each trial has the following structure: a 1.5 s - fixation cross (no response button enabled) and 3 s-video (with a response button enabled for certain trials). Given that the Eprime key belongs to the university and we are allowed to use it temporarily for task development and installation only, we are actually running the experiment without the key. The problem is that while applying the task, itsometimes stops running unexpectedly, without any apparent reason. This does not occur every time we run the task or in the same time frame, but sporadically, with no specific pattern. This problem, however, is happening more frequently in the last days.. I am wondering if anybody has an idea of what might be happening." -- *D.ssa M. G. Vaccaro* *Division of Neurology* *"Magna Graecia" University of Catanzaro (Italy)* *Research Assistant of Neuroimaging* *Psychotherapist* *Forensic Psychologist* Visitings Scientist http://meg.ctb.upm.es/members/visiting/vaccaro (España) -- You received this message because you are subscribed 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/CALN0_Ww11tzJJTH_%2B%3DUrV0gy00XRVhOEseS2EzxJCk%3Dk60yO7w%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From xusihua80 at gmail.com Fri Nov 8 02:15:18 2013 From: xusihua80 at gmail.com (sihua xu) Date: Fri, 8 Nov 2013 10:15:18 +0800 Subject: how to get the value from the array randomly Message-ID: Hello everyone I know how to define the array with the help of David and sally, and I get the value randomly according to way that they told me, but actually, I found the program do not get the value of the array randomly and i do not know the reason. I want to achieve the purpose of the following to get one value from each array and decide to end or continue the program by comparing the size of the value from the two arrays. the script example just as follows dim a(1 to 4) as integer dim b (1 to 3) as integer dim c as integer dim d as integer dim randompik as integer a(1) = 6 a(2) = 3 a(3) = 7 a(4) = 2 b(1) = 2 b(2)= 6 b(3) = 4 c = random(a(1), a(4)) d = random(b(1), b(3)) if c>d then randompik = 1 else randompik =2 end if I would be grateful if anybody could help me to find the reason why it can not achieve my purpose and modify that thanks Sihua Xu -- You received this message because you are subscribed 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/CAPEBGua-jvwneLC-Rm3hwr78RAL-29APeGQbJWE9H%2B5RadHt_Q%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From xusihua80 at gmail.com Fri Nov 8 03:01:58 2013 From: xusihua80 at gmail.com (sihua xu) Date: Fri, 8 Nov 2013 11:01:58 +0800 Subject: how to get the value from the array randomly Message-ID: Hello everyone I know how to define the array with the help of David and sally, and I get the value randomly according to way that they told me, but actually, I found the program do not get the value of the array randomly and i do not know the reason. I want to achieve the purpose of the following to get one value from each array and decide to end or continue the program by comparing the size of the value from the two arrays. the script example just as follows dim a(1 to 4) as integer dim b (1 to 3) as integer dim c as integer dim d as integer dim randompik as integer a(1) = 6 a(2) = 3 a(3) = 7 a(4) = 2 b(1) = 2 b(2)= 6 b(3) = 4 c = random(a(1), a(4)) d = random(b(1), b(3)) if c>d then randompik = 1 else randompik =2 end if I would be grateful if anybody could help me to find the reason why it can not achieve my purpose and modify that Sihua Xu -- You received this message because you are subscribed 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/CAPEBGuZKEQU9_P_o67iyLcPMhvy%2BYiMOQYVExDW27EXVKh2aGQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Fri Nov 8 03:21:48 2013 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Fri, 8 Nov 2013 11:21:48 +0800 Subject: how to get the value from the array randomly In-Reply-To: Message-ID: Dear Sihua, c = random(a(1), a(4)) . I think this code is the reason. You originally want to get a random number from 6,3,7,2,which is in the array a, but your code is to select a value randomly from 6 to 2, which means you get a random value from 2,3,4,5,6. and I wonder if you can successfully complie the code since random function needs the first parameter as min, the second parameter as max. so I would recommend that you get a random value from 1,2,3,4 .I'd better give you codes: t=random(1,4) c=a(t); s=random(1,3) d=b(s) 2013/11/8 sihua xu > Hello everyone > > I know how to define the array with the help of David and sally, and I > get the value randomly according to way that they told me, but actually, I > found the program do not get the value of the array randomly and i do not > know the reason. > I want to achieve the purpose of the following > to get one value from each array and decide to end or continue the > program by comparing the size of the value from the two arrays. the script > example just as follows > dim a(1 to 4) as integer > dim b (1 to 3) as integer > dim c as integer > dim d as integer > dim randompik as integer > a(1) = 6 > a(2) = 3 > a(3) = 7 > a(4) = 2 > b(1) = 2 > b(2)= 6 > b(3) = 4 > c = random(a(1), a(4)) > d = random(b(1), b(3)) > if c>d then > randompik = 1 > else randompik =2 > end if > > I would be grateful if anybody could help me to find the reason why it can > not achieve my purpose and modify that > > > Sihua Xu > > -- > You received this message because you are subscribed 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/CAPEBGuZKEQU9_P_o67iyLcPMhvy%2BYiMOQYVExDW27EXVKh2aGQ%40mail.gmail.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAJO0WNZ-t8oQ_HCLq84YJSf0Xdy7Bzq%2B7y_zjAA9rSRkZ75OJg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Fri Nov 8 13:01:37 2013 From: mspape at cognitology.eu (Cognitology) Date: Fri, 8 Nov 2013 15:01:37 +0200 Subject: Psychonomics Message-ID: Hi, If anyone is also going to the Psychonomic Society Annual Meeting and feeling social: I am there on Friday morning with my poster, number 2123. Cheers, Michiel -- You received this message because you are subscribed 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/033201cedc82%24a9074c10%24fb15e430%24%40eu. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryanwhitfield1 at gmail.com Fri Nov 8 14:28:42 2013 From: ryanwhitfield1 at gmail.com (Ryan Whitfield) Date: Fri, 8 Nov 2013 06:28:42 -0800 Subject: Psychonomics In-Reply-To: <033201cedc82$a9074c10$fb15e430$@eu> Message-ID: Michiel, Good to hear! PST will be there as well. Not sure what booth we are, but shouldn't be too hard to locate. Look forward to meeting you! Ryan Whitfield Product Applications Specialist Psychology Software Tools, Inc. > On Nov 8, 2013, at 5:01 AM, "Cognitology" wrote: > > Hi, > If anyone is also going to the Psychonomic Society Annual Meeting and feeling social: I am there on Friday morning with my poster, number 2123. > Cheers, > Michiel > -- > You received this message because you are subscribed 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/033201cedc82%24a9074c10%24fb15e430%24%40eu. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed 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/E5ED921B-87AD-493C-8644-0E06A62A70D6%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Nov 8 14:54:26 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 8 Nov 2013 09:54:26 -0500 Subject: how to get the value from the array randomly In-Reply-To: Message-ID: I will just add that you can find documentation for the random() function in the E-Basic Help facility. -- David McFarlane At 11/7/2013 10:21 PM Thursday, gorgeous yayuan geng wrote: >Dear Sihua, > >c = random(a(1), a(4)) . I think this code is the reason. You >originally want to get a random number from 6,3,7,2,which is in the >array a, but your code is to select a value randomly from 6 to 2, >which means you get a random value from 2,3,4,5,6. and I wonder if >you can successfully complie the code since random function needs >the first parameter as min, the second parameter as max. >so I would recommend that you get a random value from 1,2,3,4 .I'd >better give you codes: >t=random(1,4) >c=a(t); >s=random(1,3) >d=b(s) > > > > >2013/11/8 sihua xu <xusihua80 at gmail.com> >Hello everyone > > I know how to define the array with the help of David and sally, > and I get the value randomly according to way that they told me, > but actually, I found the program do not get the value of the > array randomly and i do not know the reason. >I want to achieve the purpose of the following > to get one value from each array and decide to end or continue the > program by comparing the size of the value from the two arrays. the > script example just as follows >dim a(1 to 4) as integer >dim b (1 to 3) as integer >dim c as integer >dim d as integer >dim randompik as integer >a(1) = 6 >a(2) = 3 >a(3) = 7 >a(4) = 2 >b(1) = 2 >b(2)= 6 >b(3) = 4 >c = random(a(1), a(4)) >d = random(b(1), b(3)) >if c>d then > randompik = 1 >else randompik =2 >end if > >I would be grateful if anybody could help me to find the reason why >it can not achieve my purpose and modify that > > >Sihua Xu -- You received this message because you are subscribed 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/527cfb28.893d320a.5ec9.1411SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From matthall.research at gmail.com Fri Nov 8 20:47:58 2013 From: matthall.research at gmail.com (Matt Hall) Date: Fri, 8 Nov 2013 12:47:58 -0800 Subject: Naive question 1 of 3: How to properly interrupt a run? Message-ID: Hi, all- I'm new to Eprime, dusting off scripts written by a previous lab member about 10 years ago, and without any other Eprime users in my lab or department, so please have patience with my n00b questions. The 1st of 3: how to properly interrupt a run? I've found other topics here and else asking how to interrupt a run and then resume where you left off: that is *not* my question. Mine is much more basic: let's say you're testing out a script, so you hit run, and then having verified that whatever you tweaked did or didn't work, you want to go back to the main building environment. What's the best way to exit/quit/interrupt a run? Just through guessing, I've found that control-escape reliably quits the run; unfortunately, it also seems to cause the program to hang in unhelpful ways: for example, about half the time, it acts as if the mouse is in the *background*, behind the Eprime windwo, such that you can't see the mouse or click anything inside an Eprime window (although the mouse tracks and clicks fine in other applications). This leads me to believe that control-escape is not the optimal way of interrupting a run, so can someone please tell me what is? 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/3ec698cb-c839-4f7a-8cd6-238157a612be%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthall.research at gmail.com Fri Nov 8 20:50:02 2013 From: matthall.research at gmail.com (Matt Hall) Date: Fri, 8 Nov 2013 12:50:02 -0800 Subject: Naive question 2 of 3: How to undo actions with images & slides? Message-ID: A thread over on PST's user support forum asks this question better than I can: http://www.pstnet.com/forum/Topic4824-23-1.aspx The implied answer is that this would be fixed in Eprime2, but it doesn't appear to have been: at least not for the version I'm using. Is quit without saving really the best we can do in Eprime2 if you want to just undo an image movement? -- You received this message because you are subscribed 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/9ae37da1-c7a2-4542-a263-d904abc36a32%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthall.research at gmail.com Fri Nov 8 20:51:16 2013 From: matthall.research at gmail.com (Matt Hall) Date: Fri, 8 Nov 2013 12:51:16 -0800 Subject: Naive question 3 of 3: Find & replace within list object? Message-ID: Hi, all- I promise, this is my last question of the day. I've inherited a script from another researcher, and I need to change a list attribute. Currently, the "CorrectAnswer" attributes are the digits 1-4, but I need to re-map them to reflect the response keys that we'll be using: z, x, comma, and slash. I assumed this would be a simple matter of doing a text-based find & replace query (e.g. find "1", replace with "z"), but the Find & Replace option is grayed out. Suggestions? Much obliged. -- You received this message because you are subscribed 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/4b0dac78-821a-4038-aed8-69326e41a068%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Nov 8 21:35:28 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 8 Nov 2013 16:35:28 -0500 Subject: Naive question 1 of 3: How to properly interrupt a run? In-Reply-To: <3ec698cb-c839-4f7a-8cd6-238157a612be@googlegroups.com> Message-ID: Welcome to the E-Prime Group. As a n00b, the most crucial advice you can take is to first work through *all* of the tutorials in the Guides that came with E-Prime (in particular, the "Getting Started Guide" and "User's Guide") before you do anything else. Do *not* neglect the "Advanced" tutorials, they are not advanced at all and present crucial basic concepts! You might also consider taking some training in computer programming in general, and E-Prime in particular. That said... You will find one answer to this question on the very second page of the EP1 "Getting Started Guide", on p. 81 of "Getting Started Guide" in the section on "Good Practices, Testing, & Help", and in section 1.6.1 of the EP2 "User's Guide" (also listed under "abort" in the index, or just try a text search in the .pdfs). As an exercise, you should go look that up for yourself now, before looking at the answer provided in reverse text below*. This method will perform an ungraceful abort and return you to E-Run or E-Studio without saving data to an .edat file. Starting with EP2.0.10 Pro, you may also use Ctrl+Alt+Backspace to do a "Conditional Exit" which may result in a graceful abort that saves data -- you will have to look in the "New Features Guide" or the Knowledge Base for more details on this. Finally, if you do not mind a bit of inline programming, you may use GetUserBreakState for more graceful and granular control of early exits -- see that topic in the E-Basic Help facility. As you have found, Ctrl+Esc is a particuarly poor method for aborting a run, users should never use 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- *Answer: tlA+tfihS+lrtC At 11/8/2013 03:47 PM Friday, Matt Hall wrote: >Hi, all- I'm new to Eprime, dusting off scripts written by a >previous lab member about 10 years ago, and without any other Eprime >users in my lab or department, so please have patience with my n00b >questions. The 1st of 3: how to properly interrupt a run? > >I've found other topics here and else asking how to interrupt a run >and then resume where you left off: that is *not* my question. Mine >is much more basic: let's say you're testing out a script, so you >hit run, and then having verified that whatever you tweaked did or >didn't work, you want to go back to the main building environment. >What's the best way to exit/quit/interrupt a run? > >Just through guessing, I've found that control-escape reliably quits >the run; unfortunately, it also seems to cause the program to hang >in unhelpful ways: for example, about half the time, it acts as if >the mouse is in the *background*, behind the Eprime windwo, such >that you can't see the mouse or click anything inside an Eprime >window (although the mouse tracks and clicks fine in other applications). > >This leads me to believe that control-escape is not the optimal way >of interrupting a run, so can someone please tell me what is? 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/527d5927.629a320a.5056.2a3aSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Fri Nov 8 21:42:41 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 8 Nov 2013 16:42:41 -0500 Subject: Naive question 2 of 3: How to undo actions with images & slides? In-Reply-To: <9ae37da1-c7a2-4542-a263-d904abc36a32@googlegroups.com> Message-ID: So, exactly what version of EP2 *do* you use? Don't leave us guessing! AFAIK, this feature has still not been added to E-Prime (as of 2.0.10.353), and I do not expect to see this added anytime soon as I suspect that other enhancements have priority. But see http://www.pstnet.com/support/kb.asp?TopicID=5589 for latest change history, and drill down from there. Although, of course, your own tests already give you the answer. You might also take this up directly with PST Support, see link below. ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/8/2013 03:50 PM Friday, Matt Hall wrote: >A thread over on PST's user support forum asks this question better >than I can: >http://www.pstnet.com/forum/Topic4824-23-1.aspx > >The implied answer is that this would be fixed in Eprime2, but it >doesn't appear to have been: at least not for the version I'm >using. Is quit without saving really the best we can do in Eprime2 >if you want to just undo an image movement? -- You received this message because you are subscribed 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/527d5ad9.8570320a.0294.29f9SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Fri Nov 8 22:00:25 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 8 Nov 2013 17:00:25 -0500 Subject: Naive question 3 of 3: Find & replace within list object? In-Reply-To: <4b0dac78-821a-4038-aed8-69326e41a068@googlegroups.com> Message-ID: By "inherited a script" do you mean inherited an EP1 .es file, an EP2 .es2 file, or even an older EP1 .ebs file? "Script" is an ambiguous term in this context. For that matter, I disapprove of the term "script" anyway for E-Prime or E-Basic -- E-Basic is merely a derivative of Microsoft Visual Basic for Applications (VBA), and everyone else refers to VBA as "code" rather than "script", only PST refers to their "code" as "script". But I digress... If perhance you mean an older EP1 .ebs file, then you are in luck, you may open that file in any text editor and edit, find/replace, etc. at will. But of course, if your collegue saddled you with nothing more than an old .ebs file, then they have crippled your program development in other ways. If any .es* file, well, then you will not find any useful find/replace mechanism. But I wonder why you need this. Are you just replacing a few values in a few Lists? How many replacements do you have? Is it really that hard to type a few replacements by hand? If you do have that many, I start to wonder about the design of your Structure. But here's a hint for wholesale editing of Lists: Copy the List into any text editor or Excel, then do all your editing there. Once done, just paste your edited List back to E-Studio. Still a bit clumsy, but should get the job done. You might even keep your text or Excel List files for backup and documentation. For that matter, I use the same copy/paste technique whenever writing extensive inline code. I just move everything into a professional quality text editor, edit there, then copy back to E-Studio. Works *much* better than the mediocre editor provided in E-Studio, and I also get a much more portable and manageable file containing the code for backup and documentation. Word of advice, bear in mind that E-Prime is not a programming platform meant for professional programmers, it is meant rather for casual programmers (i.e., researchers who want to dabble in programming, rather that programmers who want to dabble in research), and thus lacks amenities that one would expect in a product meant for professionals. That said, it is a very capable product, and I think overall serves those casual programmers well. ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/8/2013 03:51 PM Friday, Matt Hall wrote: >Hi, all- I promise, this is my last question of the day. I've >inherited a script from another researcher, and I need to change a >list attribute. Currently, the "CorrectAnswer" attributes are the >digits 1-4, but I need to re-map them to reflect the response keys >that we'll be using: z, x, comma, and slash. I assumed this would be >a simple matter of doing a text-based find & replace query (e.g. >find "1", replace with "z"), but the Find & Replace option is grayed out. > >Suggestions? Much obliged. -- You received this message because you are subscribed 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/527d5f03.629a320a.5056.2af1SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From xusihua80 at gmail.com Sat Nov 9 15:51:08 2013 From: xusihua80 at gmail.com (sihua xu) Date: Sat, 9 Nov 2013 23:51:08 +0800 Subject: change string to integer Message-ID: Hello everyone I dim an array and get the value from the array randomly, then i set the value into the trial_list to decide the run times of each trial at most for example, i dim an array such as a(1) =2, a(2) = 3, then get the value form the array randomly, t = array(2) = 3; and i set the value to the trial list, it means that the first trial could run three times at most. the code is: c.setAttrib "pupnumber", t after that, in each i get the value of the pupnumber, the code is: m = c.getAttrib("pupnumber") then in each trial, i dim the second array, and get the value from the new array randomly, and if the "m" was larger than the value (such as f)get from the new array, the trial stop ahead of time. the code is: if m> f then ..(stop)...... but when i run the program, the information prompt "type mismatch"? may be the type of the "m" is not to same with "t", but i could not how to change the type. I would be grateful if anybody could help me with that thanks Sihua Xu -- You received this message because you are subscribed 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/CAPEBGubsRDOrHw6kCegEVLv1y%2BOpRmyTx7uz2atmtG-L8SQfng%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mateoleganes at gmail.com Sun Nov 10 17:14:04 2013 From: mateoleganes at gmail.com (Mateo Leganes Fonteneau) Date: Sun, 10 Nov 2013 09:14:04 -0800 Subject: Dot probe doubt Message-ID: Dear all. I am implementing a dot probe task. I carefully followed the instructions shown here, but I have a couple of problems. I am following this pattern explained on 2009: http://images.redial.net/awdpsirous.bmp My point is that I have 12 pairs of words (each word in a different list) and I need to present each of the pairs 4 times, inverting the position of the words (up down) and the positions of the probe, of course this has to be randomized at all levels. I only get to present each pair once, even if the position of the words or probe gets randomized, I can't figure out how to take each of the pairs of words through the 4 conditions at random at all levels. I add a screenshot to clear myself a little bit. Thank you. -- You received this message because you are subscribed 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/b4792414-a59c-42a2-ab7d-98f09af1b581%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pantallazodot.png Type: image/png Size: 217023 bytes Desc: not available URL: From katehmcox at gmail.com Mon Nov 11 02:39:37 2013 From: katehmcox at gmail.com (Kate Cox) Date: Sun, 10 Nov 2013 18:39:37 -0800 Subject: Terminate list at set time, even if current sample no completed. Message-ID: Hi I'm very new to eprime and have no script background so please be gentle :). *What I'm trying to do:* present participants with a series of mathematical equations which they must answer, using the keyboard. They must answer as many equations as they can in 2 minutes. After 2 minutes the task will terminate (and go on to the next task) even if they are part way through giving an answer. The outcomes i'm measuring are accuracy, RT of correct responses and number of correct responses in the 2 minute time window. *What is working and how I have it set up*: I have 300 potential equations in a list called "TrialList", which are presented on a TextDisplay. This works perfectly. Answers typed on the keyboard are echoed on the screen and logged. When an answer is complete the participant presses ENTER and the the next equation in my list is shown. This works perfectly. In the TextDisplay properties, under the Duration/Input tab I have duration as infinite, timing mode as Event, the keyboard as the only device, allowable responses is any, time limit is same as duration and End action is terminate. In the list properties, under the Reset/Exit tab I have set Exit List to "After 120 seconds" *The problem: *I can't get the task to terminate at exactly 2 minutes. At the moment it appears to stop when the trial that is running at 2 minute mark is terminated (ie the participant presses enter). For example if a participant starts an equation at 1:55 then the task won't stop at 2:00 it will wait until they submit their answer and that trial is terminated. As some of my participants aren't particularly fast to provide their responses this may end up being closer to 3 minutes than 2. I'm pretty useless with script but I've found the bit that refers to the termination settings and it looks like this: Set TrialList.TerminateCondition = TimedMSecs(120000) Set TrialList.ResetCondition = Samples(300) TrialList.Reset I've tried searching this group and the Eprime guide for the answers but can't find how to fix it. I know some people have mentioned some script that terminates at a particular clock setting but my script seems to look different to theirs so I'm not sure how to implement it. Also this maths task is part of a larger battery of tasks so how a participant performs on earlier tasks will determine where the running clock is when they get up to the maths problems (ie a participant who is faster at earlier tasks may start the math task at the 5 minute mark and someone who is slower might start it at the 7 minute mark, so the running clock will be different 2 minutes into the math task). I hope all this makes sense. Any help would be hugely appreciated. thank you in advance Kate -- You received this message because you are subscribed 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/45042996-2ab3-49e6-a906-558b31be27f4%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Mon Nov 11 03:11:52 2013 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Mon, 11 Nov 2013 11:11:52 +0800 Subject: change string to integer In-Reply-To: Message-ID: hello, you can refer to cint function. 2013/11/9 sihua xu > Hello everyone > > I dim an array and get the value from the array randomly, then i set > the value into the trial_list to decide the run times of each trial at most > for example, i dim an array such as a(1) =2, a(2) = 3, then get the > value form the array randomly, t = array(2) = 3; and i set the value to the > trial list, it means that the first trial could run three times at most. > the code is: c.setAttrib "pupnumber", t > after that, in each i get the value of the pupnumber, > the code is: > m = c.getAttrib("pupnumber") > > then in each trial, i dim the second array, and get the value from the new > array randomly, and if the "m" was larger than the value (such as f)get > from the new array, the trial stop ahead of time. > the code is: if m> f then ..(stop)...... > but when i run the program, the information prompt "type mismatch"? > may be the type of the "m" is not to same with "t", but i could not how to > change the type. > I would be grateful if anybody could help me with that > thanks > > > Sihua Xu > > > -- > You received this message because you are subscribed 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/CAPEBGubsRDOrHw6kCegEVLv1y%2BOpRmyTx7uz2atmtG-L8SQfng%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAJO0WNYxiHA1J%2BzNsTvJM6Nw%2BL1GDrP3PdK4LdA3BbOqDwBm0Q%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Mon Nov 11 08:15:40 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 11 Nov 2013 09:15:40 +0100 Subject: Terminate list at set time, even if current sample no completed. In-Reply-To: <45042996-2ab3-49e6-a906-558b31be27f4@googlegroups.com> Message-ID: Hi Kate, Because the 'exit list' condition is tested at the end of each trial, eprime doesn't handle timeout values that occur during the trial itself. Even if the trial only contains a single object. The solution is to limit the duration of the individual object(s). This is what I would do (assuming that the TextDisplay object is called Stimulus): 1) Create a global variable in the user section of the script window: Dim FirstOnset As Long ' onsettime of first stimulus 2) Insert an inline script at the start of the trial procedure that calculates the total time left, and use this value to change the stimulus duration from infinite to the leftover time: ' FirstOnset is a global variable which is declared in the user section of the script window If FirstOnset=0 Then FirstOnset = Stimulus.TargetOnsetTime End If Dim timeLeft As Long timeLeft = 120000 - Stimulus.TargetOnsetTime If timeLeft>0 Then Stimulus.Duration = timeLeft Else Stimulus.Duration = 0 End If Things can get a bit more complex if the trial contains several objects, though. Also also see the attached example. Best Paul On 11 November 2013 03:39, Kate Cox wrote: > Hi I'm very new to eprime and have no script background so please be > gentle :). > > *What I'm trying to do:* present participants with a series of > mathematical equations which they must answer, using the keyboard. They > must answer as many equations as they can in 2 minutes. After 2 minutes the > task will terminate (and go on to the next task) even if they are part way > through giving an answer. The outcomes i'm measuring are accuracy, RT of > correct responses and number of correct responses in the 2 minute time > window. > > *What is working and how I have it set up*: I have 300 potential > equations in a list called "TrialList", which are presented on a > TextDisplay. This works perfectly. > Answers typed on the keyboard are echoed on the screen and logged. When an > answer is complete the participant presses ENTER and the the next equation > in my list is shown. This works perfectly. > In the TextDisplay properties, under the Duration/Input tab I have > duration as infinite, timing mode as Event, the keyboard as the only > device, allowable responses is any, time limit is same as duration and End > action is terminate. > In the list properties, under the Reset/Exit tab I have set Exit List to > "After 120 seconds" > > *The problem: *I can't get the task to terminate at exactly 2 minutes. At > the moment it appears to stop when the trial that is running at 2 minute > mark is terminated (ie the participant presses enter). For example if a > participant starts an equation at 1:55 then the task won't stop at 2:00 it > will wait until they submit their answer and that trial is terminated. As > some of my participants aren't particularly fast to provide their responses > this may end up being closer to 3 minutes than 2. > > I'm pretty useless with script but I've found the bit that refers to the > termination settings and it looks like this: > > Set TrialList.TerminateCondition = TimedMSecs(120000) > Set TrialList.ResetCondition = Samples(300) > TrialList.Reset > > I've tried searching this group and the Eprime guide for the answers but > can't find how to fix it. I know some people have mentioned some script > that terminates at a particular clock setting but my script seems to look > different to theirs so I'm not sure how to implement it. Also this maths > task is part of a larger battery of tasks so how a participant performs on > earlier tasks will determine where the running clock is when they get up to > the maths problems (ie a participant who is faster at earlier tasks may > start the math task at the 5 minute mark and someone who is slower might > start it at the 7 minute mark, so the running clock will be different 2 > minutes into the math task). > > I hope all this makes sense. Any help would be hugely appreciated. > > thank you in advance > Kate > > -- > You received this message because you are subscribed 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/45042996-2ab3-49e6-a906-558b31be27f4%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAKAdR-snAMpVGELB-SZ15HA6YQ0rG5z6vqniHqQWPC6uO%3DXEfw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SetTaskDuration.es2 Type: application/octet-stream Size: 96324 bytes Desc: not available URL: From vanlessen.naomi at gmail.com Mon Nov 11 19:59:14 2013 From: vanlessen.naomi at gmail.com (vanlessen.naomi at gmail.com) Date: Mon, 11 Nov 2013 11:59:14 -0800 Subject: logging two responses (RESP and RT) Message-ID: Dear all, I need to logg two responses to one slide. The slide duration is 250 ms but I need to logg minimum 0 and maximum 2 responses for a duration of 1500 ms (so the 250ms of the slide + 1250 ms which other slides are shown. How can I do this? Thank you in advance! Naomi -- You received this message because you are subscribed 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/3a43f760-b268-412e-8df3-708e562e9dcb%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vanlessen.naomi at gmail.com Mon Nov 11 20:03:06 2013 From: vanlessen.naomi at gmail.com (vanlessen.naomi at gmail.com) Date: Mon, 11 Nov 2013 12:03:06 -0800 Subject: IF ... AND ... THEN ... Message-ID: Dear all, I need to write an inline stating: If Stimulus1.RESP = 5 AND if Stimulus2.RESP is (none), THEN (write trigger to port), but I keep on getting error messages that after 'If Stimulus1.RESP = 5' it expects ', then', instaed of taking the second part (AND if Stimulus2.RESP is (none)) into consideration. If (CentralS.RESP = "5" & Distractor.RESP = " "), then WritePort &H378, 5 sleep 2 WritePort &H378, 0 Can anyone tell me what I'm doing wrong here? Thank you! Best, Naomi -- You received this message because you are subscribed 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/3e026a6a-1e09-4a48-ad81-c840c4132119%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Nov 11 21:00:26 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 11 Nov 2013 16:00:26 -0500 Subject: Terminate list at set time, even if current sample no completed. In-Reply-To: Message-ID: I would have said to set stimulus PreRelease to same as Duration and use inline code after the stimulus to look for the timeout, but I like Paul's solution much, much better and will add that to my own bag of tricks (thanks, Paul!). Just a couple more thoughts on this: 1) Shouldn't the line timeLeft = 120000 - Stimulus.TargetOnsetTime instead read timeLeft = 120000 - (Stimulus.TargetOnsetTime - FirstOnset) ? Also, the first time the initialization line FirstOnset = Stimulus.TargetOnsetTime runs, Stimulus.Target is 0, and that may adversely affect the Duration for the first run of Stimulus. This could be fixed by instead using GetNextTargetOnset time, thus, FirstOnset = GetNextTargetOnsetTime Also, timeLeft is based on the OnsetTime of the previous run of Stimulus, but I think you need to take into account how long that run lasted. You could do that by using GetNextTargetOnsetTime instead. Putting that all together, the inline code might instead read ' FirstOnset is a global variable which is declared in the user section of ' the script window If (FirstOnset = 0) Then FirstOnset = GetNextTargetOnsetTime Dim timeLeft As Long timeLeft = 120000 - (GetNextTargetOnsetTime- FirstOnset) If (timeLeft > 0) Then Stimulus.Duration = timeLeft Else Stimulus.Duration = 0 End If Finally, instead of a FirstOnset you might instead use a LastOffset, thus (also using Iif() to suit my own peculiar tastes), ' LastOffset is a global variable which is declared in the user section of ' the script window If (LastOffset = 0) Then LastOffset = GetNextTargetOnsetTime + 120000 Dim timeLeft as Long timeLeft = LastOffset - GetNextTargetOnsetTime Stimulus.Duration = Iif( timeLeft > 0, timeLeft, 0 ) ' or set Stimulus.Duration as an attribute reference 2) Alternatively, set your stimulus to use Cumulative timing mode, and set its Duration to 120000. Define FirstOnset in global User Script as before. Then in inline code at the start of the Procedure, use ' FirstOnset is a global variable which is declared in the user section of ' the script window If (FirstOnset = 0) Then FirstOnset = GetNextTargetOnsetTime SetNextTargetOnsetTime FirstOnset (see the SetNextTargetOnsetTime topic in the E-Basic Help facility). Now each run of the stimulus will behave as though it started at the onset of the first run of the stimulus, and end 12000 ms after the start of the first run. It just depends on whether you prefer to manipulate stimulus Duration or NextTargetOnsetTime. In any case, given the general principles, Kate and others should readily figure out the specifics. I went ahead and attached a demo program for each solution. Thanks again, Paul, for the great inspiration! -- David McFarlane At 11/11/2013 03:15 AM Monday, Paul Groot wrote: >Hi Kate, > >Because the 'exit list' condition is tested at the end of each >trial, eprime doesn't handle timeout values that occur during the >trial itself. Even if the trial only contains a single object. The >solution is to limit the duration of the individual object(s). > >This is what I would do (assuming that the TextDisplay object is >called Stimulus): > >1) Create a global variable in the user section of the script window: > >Dim FirstOnset As Long ' onsettime of first stimulus > >2) Insert an inline script at the start of the trial procedure that >calculates the total time left, and use this value to change the >stimulus duration from infinite to the leftover time: > >' FirstOnset is a global variable which is declared in the user >section of the script window >If FirstOnset=0 Then >FirstOnset = Stimulus.TargetOnsetTime >End If > >Dim timeLeft As Long >timeLeft = 120000 - Stimulus.TargetOnsetTime >If timeLeft>0 Then >Stimulus.Duration = timeLeft >Else >Stimulus.Duration = 0 >End If > >Things can get a bit more complex if the trial contains several >objects, though. > >Also also see the attached example. > >Best >Paul > > > >On 11 November 2013 03:39, Kate Cox ><katehmcox at gmail.com> wrote: >Hi I'm very new to eprime and have no script background so please be >gentle :). >What I'm trying to do: present participants with a series of >mathematical equations which they must answer, using the keyboard. >They must answer as many equations as they can in 2 minutes. After 2 >minutes the task will terminate (and go on to the next task) even if >they are part way through giving an answer. The outcomes i'm >measuring are accuracy, RT of correct responses and number of >correct responses in the 2 minute time window. >What is working and how I have it set up: I have 300 potential >equations in a list called "TrialList", which are presented on a >TextDisplay. This works perfectly. >Answers typed on the keyboard are echoed on the screen and logged. >When an answer is complete the participant presses ENTER and the the >next equation in my list is shown. This works perfectly. >In the TextDisplay properties, under the Duration/Input tab I have >duration as infinite, timing mode as Event, the keyboard as the only >device, allowable responses is any, time limit is same as duration >and End action is terminate. >In the list properties, under the Reset/Exit tab I have set Exit >List to "After 120 seconds" >The problem: I can't get the task to terminate at exactly 2 minutes. >At the moment it appears to stop when the trial that is running at 2 >minute mark is terminated (ie the participant presses enter). For >example if a participant starts an equation at 1:55 then the task >won't stop at 2:00 it will wait until they submit their answer and >that trial is terminated. As some of my participants aren't >particularly fast to provide their responses this may end up being >closer to 3 minutes than 2. >I'm pretty useless with script but I've found the bit that refers to >the termination settings and it looks like this: >Set TrialList.TerminateCondition = TimedMSecs(120000) >Set TrialList.ResetCondition = Samples(300) >TrialList.Reset >I've tried searching this group and the Eprime guide for the answers >but can't find how to fix it. I know some people have mentioned some >script that terminates at a particular clock setting but my script >seems to look different to theirs so I'm not sure how to implement >it. Also this maths task is part of a larger battery of tasks so how >a participant performs on earlier tasks will determine where the >running clock is when they get up to the maths problems (ie a >participant who is faster at earlier tasks may start the math task >at the 5 minute mark and someone who is slower might start it at the >7 minute mark, so the running clock will be different 2 minutes into >the math task). > >I hope all this makes sense. Any help would be hugely appreciated. >thank you in advance >Kate -- You received this message because you are subscribed 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/5281458c.2cdd320a.723a.ffff9c50SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- A non-text attachment was scrubbed... Name: SetTaskDuration_byDuration.es2 Type: application/octet-stream Size: 61692 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SetTaskDuration_byNextTargetOnset.es2 Type: application/octet-stream Size: 61664 bytes Desc: not available URL: From mcfarla9 at msu.edu Mon Nov 11 21:14:28 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 11 Nov 2013 16:14:28 -0500 Subject: IF ... AND ... THEN ... In-Reply-To: <3e026a6a-1e09-4a48-ad81-c840c4132119@googlegroups.com> Message-ID: Naomi, What if you try something more like If (CentralS.RESP = "5" and Distractor.RESP = "") Then WritePort &H378, 5 sleep 2 WritePort &H378, 0 End If Comments: - In E-Basic, the "&" operator means string concatenation, not logical And (see the "& (operator)" topic in the E-Basic Help facility). For logical/binary And, you want, well, "And" (and note that E-Basic ignores case). - The If-Then part must exist on one logical line, without any comma. - If the "Then" part of the statement covers more than one line, then you must use the full "If-Then... End If" structure -- see the "If...Then...Else (statement)" topic in the E-Basic Help facility, or consult any VBA reference. - If you want to compare RESP to (none), then you must use an empty string, i.e., "". The sting " " indicates a string containing one space, which is not the same as an empty string. Furthermore, RESP would never contain the string " ", because each space in RESP would be encoded as {SPACE} -- see the "{key} nomenclature" topic in the E-Basic Help facility. In general, you may study the Guides that came with E-Prime, VBA (Microsoft Visual Basic for Applications) documentation, and the E-Basic Help facility to get most of this basic information. Regards, ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/11/2013 03:03 PM Monday, vanlessen.naomi at gmail.com wrote: >Dear all, > >I need to write an inline stating: > >If Stimulus1.RESP = 5 AND if Stimulus2.RESP is (none), THEN (write >trigger to port), but I keep on getting error messages that after >'If Stimulus1.RESP = 5' it expects ', then', instaed of taking the >second part (AND if Stimulus2.RESP is (none)) into consideration. > >If (CentralS.RESP = "5" & Distractor.RESP = " "), >then WritePort &H378, 5 >sleep 2 >WritePort &H378, 0 > >Can anyone tell me what I'm doing wrong here? > >Thank you! > >Best, >Naomi -- You received this message because you are subscribed 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/528148e8.0b39320a.7516.ffff9c53SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From pfc.groot at gmail.com Mon Nov 11 21:31:51 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 11 Nov 2013 22:31:51 +0100 Subject: Terminate list at set time, even if current sample no completed. In-Reply-To: <5281458c.2cdd320a.723a.ffff9c50SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: ah, of course. Silly mistake, that could have been prevented by just running the example script once :-) PG. On 11 November 2013 22:00, David McFarlane wrote: > I would have said to set stimulus PreRelease to same as Duration and use > inline code after the stimulus to look for the timeout, but I like Paul's > solution much, much better and will add that to my own bag of tricks > (thanks, Paul!). > > Just a couple more thoughts on this: > > 1) Shouldn't the line > > > timeLeft = 120000 - Stimulus.TargetOnsetTime > > instead read > > timeLeft = 120000 - (Stimulus.TargetOnsetTime - FirstOnset) > > ? Also, the first time the initialization line > > FirstOnset = Stimulus.TargetOnsetTime > > runs, Stimulus.Target is 0, and that may adversely affect the Duration for > the first run of Stimulus. This could be fixed by instead using > GetNextTargetOnset time, thus, > > FirstOnset = GetNextTargetOnsetTime > > Also, timeLeft is based on the OnsetTime of the previous run of Stimulus, > but I think you need to take into account how long that run lasted. You > could do that by using GetNextTargetOnsetTime instead. Putting that all > together, the inline code might instead read > > > ' FirstOnset is a global variable which is declared in the user > section of > ' the script window > If (FirstOnset = 0) Then FirstOnset = GetNextTargetOnsetTime > Dim timeLeft As Long > timeLeft = 120000 - (GetNextTargetOnsetTime- FirstOnset) > If (timeLeft > 0) Then > > Stimulus.Duration = timeLeft > Else > Stimulus.Duration = 0 > End If > > Finally, instead of a FirstOnset you might instead use a LastOffset, thus > (also using Iif() to suit my own peculiar tastes), > > ' LastOffset is a global variable which is declared in the user > section of > ' the script window > If (LastOffset = 0) Then LastOffset = GetNextTargetOnsetTime + 120000 > Dim timeLeft as Long > timeLeft = LastOffset - GetNextTargetOnsetTime > Stimulus.Duration = Iif( timeLeft > 0, timeLeft, 0 ) > ' or set Stimulus.Duration as an attribute reference > > > 2) Alternatively, set your stimulus to use Cumulative timing mode, and set > its Duration to 120000. Define FirstOnset in global User Script as > before. Then in inline code at the start of the Procedure, use > > > ' FirstOnset is a global variable which is declared in the user > section of > ' the script window > If (FirstOnset = 0) Then FirstOnset = GetNextTargetOnsetTime > SetNextTargetOnsetTime FirstOnset > > (see the SetNextTargetOnsetTime topic in the E-Basic Help facility). Now > each run of the stimulus will behave as though it started at the onset of > the first run of the stimulus, and end 12000 ms after the start of the > first run. > > > It just depends on whether you prefer to manipulate stimulus Duration or > NextTargetOnsetTime. In any case, given the general principles, Kate and > others should readily figure out the specifics. > > I went ahead and attached a demo program for each solution. Thanks again, > Paul, for the great inspiration! > > -- David McFarlane > > > > At 11/11/2013 03:15 AM Monday, Paul Groot wrote: > >> Hi Kate, >> >> Because the 'exit list' condition is tested at the end of each trial, >> eprime doesn't handle timeout values that occur during the trial itself. >> Even if the trial only contains a single object. The solution is to limit >> the duration of the individual object(s). >> >> This is what I would do (assuming that the TextDisplay object is called >> Stimulus): >> >> 1) Create a global variable in the user section of the script window: >> >> Dim FirstOnset As Long ' onsettime of first stimulus >> >> 2) Insert an inline script at the start of the trial procedure that >> calculates the total time left, and use this value to change the stimulus >> duration from infinite to the leftover time: >> >> ' FirstOnset is a global variable which is declared in the user section >> of the script window >> If FirstOnset=0 Then >> FirstOnset = Stimulus.TargetOnsetTime >> End If >> >> Dim timeLeft As Long >> timeLeft = 120000 - Stimulus.TargetOnsetTime >> If timeLeft>0 Then >> Stimulus.Duration = timeLeft >> Else >> Stimulus.Duration = 0 >> End If >> >> Things can get a bit more complex if the trial contains several objects, >> though. >> >> Also also see the attached example. >> >> Best >> Paul >> >> >> >> On 11 November 2013 03:39, Kate Cox <k >> atehmcox at gmail.com> wrote: >> Hi I'm very new to eprime and have no script background so please be >> gentle :). >> What I'm trying to do: present participants with a series of mathematical >> equations which they must answer, using the keyboard. They must answer as >> many equations as they can in 2 minutes. After 2 minutes the task will >> terminate (and go on to the next task) even if they are part way through >> giving an answer. The outcomes i'm measuring are accuracy, RT of correct >> responses and number of correct responses in the 2 minute time window. >> What is working and how I have it set up: I have 300 potential equations >> in a list called "TrialList", which are presented on a TextDisplay. This >> works perfectly. >> Answers typed on the keyboard are echoed on the screen and logged. When >> an answer is complete the participant presses ENTER and the the next >> equation in my list is shown. This works perfectly. >> In the TextDisplay properties, under the Duration/Input tab I have >> duration as infinite, timing mode as Event, the keyboard as the only >> device, allowable responses is any, time limit is same as duration and End >> action is terminate. >> In the list properties, under the Reset/Exit tab I have set Exit List to >> "After 120 seconds" >> The problem: I can't get the task to terminate at exactly 2 minutes. At >> the moment it appears to stop when the trial that is running at 2 minute >> mark is terminated (ie the participant presses enter). For example if a >> participant starts an equation at 1:55 then the task won't stop at 2:00 it >> will wait until they submit their answer and that trial is terminated. As >> some of my participants aren't particularly fast to provide their responses >> this may end up being closer to 3 minutes than 2. >> I'm pretty useless with script but I've found the bit that refers to the >> termination settings and it looks like this: >> Set TrialList.TerminateCondition = TimedMSecs(120000) >> Set TrialList.ResetCondition = Samples(300) >> TrialList.Reset >> I've tried searching this group and the Eprime guide for the answers but >> can't find how to fix it. I know some people have mentioned some script >> that terminates at a particular clock setting but my script seems to look >> different to theirs so I'm not sure how to implement it. Also this maths >> task is part of a larger battery of tasks so how a participant performs on >> earlier tasks will determine where the running clock is when they get up to >> the maths problems (ie a participant who is faster at earlier tasks may >> start the math task at the 5 minute mark and someone who is slower might >> start it at the 7 minute mark, so the running clock will be different 2 >> minutes into the math task). >> >> I hope all this makes sense. Any help would be hugely appreciated. >> thank you in advance >> Kate >> > > -- > You received this message because you are subscribed 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/5281458c.2cdd320a.723a.ffff9c50SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAKAdR-vAex7qAz483B3Jjyng-rJBVL-dX1a8_-gkxp-r66yPuQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From katehmcox at gmail.com Tue Nov 12 04:39:23 2013 From: katehmcox at gmail.com (Kate Cox) Date: Mon, 11 Nov 2013 20:39:23 -0800 Subject: Terminate list at set time, even if current sample no completed. In-Reply-To: Message-ID: Thank you both VERY much. I'm not going to pretend that I 100% understand the script but it was brilliantly easy to add in and it works perfectly. -- You received this message because you are subscribed 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/d8e982af-e92a-4204-af47-9a5aabd866ff%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vanlessen.naomi at gmail.com Tue Nov 12 06:49:22 2013 From: vanlessen.naomi at gmail.com (vanlessen.naomi at gmail.com) Date: Mon, 11 Nov 2013 22:49:22 -0800 Subject: IF ... AND ... THEN ... In-Reply-To: <3e026a6a-1e09-4a48-ad81-c840c4132119@googlegroups.com> Message-ID: Thank you! However, this is also not working, giving me the same error message... On Monday, November 11, 2013 9:03:06 PM UTC+1, vanless... at gmail.com wrote: > > Dear all, > > I need to write an inline stating: > > If Stimulus1.RESP = 5 AND if Stimulus2.RESP is (none), THEN (write trigger > to port), but I keep on getting error messages that after 'If > Stimulus1.RESP = 5' it expects ', then', instaed of taking the second part > (AND if Stimulus2.RESP is (none)) into consideration. > > If (CentralS.RESP = "5" & Distractor.RESP = " "), > then WritePort &H378, 5 > sleep 2 > WritePort &H378, 0 > > Can anyone tell me what I'm doing wrong here? > > Thank you! > > Best, > Naomi > -- You received this message because you are subscribed 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/a693add6-b1d5-4eec-985e-42255b9f1599%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vanlessen.naomi at gmail.com Tue Nov 12 09:09:57 2013 From: vanlessen.naomi at gmail.com (vanlessen.naomi at gmail.com) Date: Tue, 12 Nov 2013 01:09:57 -0800 Subject: logging two responses (RESP and RT) In-Reply-To: <3a43f760-b268-412e-8df3-708e562e9dcb@googlegroups.com> Message-ID: Just an extra comment: I know there is a sample in the eprime website, however, it is only openable with eprime.professional (which I don't have) and so I am stuck with my problem!! So if somebody would have the example in just eprime (not professional), I would be really happy to see it :) -- You received this message because you are subscribed 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/fa5b9f2f-a7bb-4729-ba1d-df3f83b86a4d%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Tue Nov 12 10:01:22 2013 From: mspape at cognitology.eu (=?Windows-1252?Q?Michiel_Sovij=E4rvi-Spap=E9?=) Date: Tue, 12 Nov 2013 12:01:22 +0200 Subject: IF THEN Message-ID: Hi, That comma looks like matlab syntax? Copy-paste: If (CentralS.RESP = "5") and (Distractor.RESP = "") then WritePort &H378, 5 sleep 2 WritePort &H378, 0 Best, Michiel -- You received this message because you are subscribed 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/e048fepACA1KnS1.RZmta%40mo-p02-ob.rzone.de. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Nov 12 14:57:51 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 12 Nov 2013 09:57:51 -0500 Subject: IF ... AND ... THEN ... In-Reply-To: Message-ID: Naomi, Well, the code that I gave you compiles without error for me, I cannot imagine what you are doing differently. -- David McFarlane At 11/12/2013 01:49 AM Tuesday, vanlessen.naomi at gmail.com wrote: >Thank you! > >However, this is also not working, giving me the same error message... > > > >On Monday, November 11, 2013 9:03:06 PM UTC+1, vanless... at gmail.com wrote: >Dear all, > >I need to write an inline stating: > >If Stimulus1.RESP = 5 AND if Stimulus2.RESP is (none), THEN (write >trigger to port), but I keep on getting error messages that after >'If Stimulus1.RESP = 5' it expects ', then', instaed of taking the >second part (AND if Stimulus2.RESP is (none)) into consideration. > >If (CentralS.RESP = "5" & Distractor.RESP = " "), >then WritePort &H378, 5 >sleep 2 >WritePort &H378, 0 > >Can anyone tell me what I'm doing wrong here? > >Thank you! > >Best, >Naomi -- You received this message because you are subscribed 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/528241f7.c819320a.3bc4.ffffbb6eSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Tue Nov 12 15:37:24 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 12 Nov 2013 10:37:24 -0500 Subject: logging two responses (RESP and RT) In-Reply-To: Message-ID: Naomi, Exactly which example did you downoad? Was it the "Multiple Response Collection" example? That particular example comes with three E-Studio files, two of those in the older EP1 format which you may open in any version of EP2, you just have to open E-Studio first and from File > Open tell it to find Files of type "E-Studio 1.x Files (*.es)". The third example in that collection, MultipleResponseCollection2JoystickPro, uses joystick features available only with Pro, so would be useless to you anyway. But if you are talking about a different example, please let us know. I would bring this up to PST Support so that they could correct it. -- David McFarlane At 11/12/2013 04:09 AM Tuesday, vanless... at gmail.com wrote: >Just an extra comment: I know there is a sample in the eprime >website, however, it is only openable with eprime.professional >(which I don't have) and so I am stuck with my problem!! So if >somebody would have the example in just eprime (not professional), I >would be really happy to see it :) -- You received this message because you are subscribed 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/52824b3c.893d320a.5ec9.ffffbb97SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From graeme.r.davidson at gmail.com Thu Nov 14 16:06:31 2013 From: graeme.r.davidson at gmail.com (Graeme Davidson) Date: Thu, 14 Nov 2013 08:06:31 -0800 Subject: Dual indicator VAS with mirror movement Message-ID: Hello there, I was wondering if anyone could help me with a problem. I'm trying to design a visual analogue scale with two indicators which have reflective movement on the same scale line. So essentially a participant would see an image and then be asked to rate the weight of the image. I have no problems doing this on a single indicator VAS but my research supervisor would like it so that there are two indicators, and when you move one the other indicator moves in a mirrored movement. The best I could describe it as is a vice movement so when one indicator move out from the centre of the scale the other indicator moves out from the centre too. Does anyone know how I'd go about designing such a scale? I'd appreciate any help, on how to program this movement. all the best Graeme -- You received this message because you are subscribed 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/63db5afa-0aec-4d46-b2e7-07ba0c9f9c31%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ndlabmanager at gmail.com Thu Nov 14 17:25:51 2013 From: ndlabmanager at gmail.com (Stephen Mattingly) Date: Thu, 14 Nov 2013 09:25:51 -0800 Subject: "setup inline object" Message-ID: Hi All, I am trying to find the "setup inline object" to try out an example script (under MouseResponseData.CursorX in Ebasic help). I can make an inline1, and an inline 2, but where do i post part A? I tried just posting it into the "user" tab of the script, but i get an error. 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/35b2439f-7814-4c71-a503-f72f6a6f996d%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Nov 14 18:46:31 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 14 Nov 2013 13:46:31 -0500 Subject: "setup inline object" In-Reply-To: <35b2439f-7814-4c71-a503-f72f6a6f996d@googlegroups.com> Message-ID: Look in your My Experiments folder for a file named "E-BasicExample.es" (or .es2). Open that in E-Studio, and you will see the Setup inline in the structure just under SessionProc. Note that the code examples throughout the E-Basic Help are meant to be used with this example program. Note also that many of the code examples in the E-Basic Help are flawed -- some of them contain rank syntax mistakes that result in compile-time errors, and even when the code works, they are often examples of poor programming practices. Best to take the examples as mere starting guidelines, use them to grasp the underlying principles, and then build anew from that understanding. Good luck. ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/14/2013 12:25 PM Thursday, Stephen Mattingly wrote: >Hi All, > I am trying to find the "setup inline object" to try out an > example script (under MouseResponseData.CursorX in Ebasic help). I > can make an inline1, and an inline 2, but where do i post part A? I > tried just posting it into the "user" tab of the script, but i get > an error. 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/52851a90.c819320a.3bc4.2088SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Thu Nov 14 18:56:59 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 14 Nov 2013 13:56:59 -0500 Subject: "setup inline object" In-Reply-To: <52851a90.c819320a.3bc4.2088SMTPIN_ADDED_MISSING@gmr-mx.goo gle.com> Message-ID: BTW, I found the location for that file by looking in the Contents of the EP1 E-Basic Help under E-Basic > Welcome, where I found the following text: "To illustrate the use of the statement, function, command or object, two sample programs have been included with your install, E-BasicExample.es and E-BasicSoundExample.es Simply copy and paste the sample script to the proper InLine object as instructed in the notes following the script." (This is from the E-Basic Help for EP1. The EP2 E-Basic Help contains a similar notice under the "Using E-Basic Help" topic in the Contents tab.) -- David McFarlane At 11/14/2013 01:46 PM Thursday, David McFarlane wrote: >Look in your My Experiments folder for a file named >"E-BasicExample.es" (or .es2). Open that in E-Studio, and you will >see the Setup inline in the structure just under SessionProc. > >Note that the code examples throughout the E-Basic Help are meant to >be used with this example program. Note also that many of the code >examples in the E-Basic Help are flawed -- some of them contain rank >syntax mistakes that result in compile-time errors, and even when >the code works, they are often examples of poor programming >practices. Best to take the examples as mere starting guidelines, >use them to grasp the underlying principles, and then build anew >from that understanding. > >Good luck. > >----- >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) PST's trained staff >take any and all questions at https://support.pstnet.com , and they >strive to respond to all requests in 24-48 hours, so make full use >of it. 3) In addition, PST offers several instructional videos on >their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/14/2013 12:25 PM Thursday, Stephen Mattingly wrote: >>Hi All, >> I am trying to find the "setup inline object" to try out an >> example script (under MouseResponseData.CursorX in Ebasic help). I >> can make an inline1, and an inline 2, but where do i post part A? >> I tried just posting it into the "user" tab of the script, but i >> get an error. 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/52851d04.2cdd320a.723a.1f1cSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From pfc.groot at gmail.com Thu Nov 14 21:26:10 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Thu, 14 Nov 2013 22:26:10 +0100 Subject: Dual indicator VAS with mirror movement In-Reply-To: <63db5afa-0aec-4d46-b2e7-07ba0c9f9c31@googlegroups.com> Message-ID: Hi Graeme, If you draw the indicator using inline script on a canvas, then drawing a second indicator would just mean duplicating a few lines and reversing the indicator position, wouldn't it? If you use the mouse cursor position to move the indicator, you probably have to think about how to map the the mouse cursor: does a mouse cursor position at the center of the screen correspond to the overlapping indicators, or do you use the full mouse cursor range from one side of the screen to the opposite to go from minimum (centered indicators) to maximum VAS...? The first option has symmetrical functionality. Best, Paul On 14 November 2013 17:06, Graeme Davidson wrote: > Hello there, > > I was wondering if anyone could help me with a problem. > > I'm trying to design a visual analogue scale with two indicators which > have reflective movement on the same scale line. So essentially a > participant would see an image and then be asked to rate the weight of the > image. I have no problems doing this on a single indicator VAS but my > research supervisor would like it so that there are two indicators, and > when you move one the other indicator moves in a mirrored movement. The > best I could describe it as is a vice movement so when one indicator move > out from the centre of the scale the other indicator moves out from the > centre too. > > Does anyone know how I'd go about designing such a scale? > > I'd appreciate any help, on how to program this movement. > > all the best > > Graeme > > -- > You received this message because you are subscribed 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/63db5afa-0aec-4d46-b2e7-07ba0c9f9c31%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAKAdR-tyo7SWMg-%2B-%3DxtPzu%3DpadK%3DUOTmAvn7btUjvPx1KFhRQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fesais at gmail.com Fri Nov 15 20:52:50 2013 From: fesais at gmail.com (Fernanda Sais) Date: Fri, 15 Nov 2013 20:52:50 +0000 Subject: Feedback at the end of the block Message-ID: Hi, I am trying to set a feedback to be displayed at the end of each block. It works very well for the mean reaction time with different methods, but for the average accuracy I always have the same problem - the average accuracy displayed is far lower than expected for the number of errors commited: it should display something like 90-99% but it displays something like 60-79%, so I guess there is something I'm missing about it. The accuracy information is computed correctly into the data file, it is incorrect only in the feedback display. The code I'm using now is: 'At Block Setup: Set CorrecTimes = New Summation Set AverageAccuracy = New Summation 'After ResponseObject: If ResponseObject.ACC = "1" Then CorrectTimes.AddObservation c.GetAttrib("ResponseObject.RT") End If AverageAccuracy.AddObservation TempoResposta.ACC 'At the End of the Block: c.SetAttrib"BlockRT", Format(CStr(CDbl(CorrectTimes.Mean)),"0.00) c.SetAttrib"BlockACC", Format(CStr(CDbl(AverageAccuracy.Mean*100,"0.00") Then there is Text Display like that: Your results for this block: Mean Reaction Time: [BlockRT]ms Average Accuracy: [BlockACC]% Correct Responses Thanks a lot for any comment on that - I'm really running out of ideas. Best wishes, Fernanda -- You received this message because you are subscribed 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/CAB6VT_jZ9t07FaqU8ER1%3D2KqZhNqQ%2B-fOXKbu3pK9rvKw8uJrw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Nov 18 20:12:40 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 18 Nov 2013 15:12:40 -0500 Subject: Feedback at the end of the block In-Reply-To: Message-ID: Fernanda, Your puzzle interests me, but I cannot get to the puzzle itself because of problems in your code excerpts.... 0) You did not say so, but I presume that you defined your Summation objects as global variables in the global User Script area, thus, Dim CorrectTimes as Summation Dim AverageAccuracy as Summation Did you do that? 1) At one place your code uses "CorrecTimes", and at another "CorrectTimes". Those are two different variable names, you have to pick one or the other (I presume you meant "CorrectTimes" for both). 2) Your code for after ResponseObject includes the line AverageAccuracy.AddObservation TempoResposta.ACC but you have not used TempoResposta anywhere else. I suppose you mean AverageAccuracy.ACC here, but you should clarify that. While I am at it, I would change the code for CorrectTimes to merely If (ResponseObject.ACC = "1") Then CorrectTimes.AddObservation ResponseObject.RT or even further to just If ResponseObject.ACC Then CorrectTimes.AddObservation ResponseObject.RT 3) Your code at the end of the block contains two syntax errors. First, you have not closed off the quotes around the 0.00 at the end of your first line. Second, CDbl() takes only one argument, but on the second line you have placed the parentheses around two arguments. For that matter, you should not need the CDbl() and CString() conversions at all, the following should work just as well: c.SetAttrib "BlockRT", Format( CorrectTimes.Mean, "0.00" ) c.SetAttrib "BlockACC", Format( (AverageAccuracy.Mean * 100), "0.00" ) I discovered all this merely by pasting your own code into E-Studio and attempting to compile, at which time I got compile-time errors. When posting code to the Group, best to copy code excerpts directly from your E-Studio files rather than retyping into a message. I had to give up any further exploration after running into all these errors because I do not know if any of those might cause your problem. With that said, I will add one more thing that may affect your feedback calculation. You must make sure that the code after ResponseObject does *not* execute until after ResponseObject gets a response! You may do that in several ways: - Run another stimulus object between your ResponseObject and the inline code. - Set Duration of ResponseObject to "(infinite)" (and of course End Action to "Terminate"). - Set PreRelease of ResponseObject to 0. Otherwise, if your inline code runs during the presentation of ResponseObject but before it gets a response (very easy to do with PreRelease and a finite Duration), then the feedback calcuations will be wrong. This has become a particular problem as users with habits learned in older versions of E-Prime move up to EP2.0.10 (I know, I got bit by this myself just last week!). ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/15/2013 03:52 PM Friday, Fernanda Sais wrote: >Hi, > >I am trying to set a feedback to be displayed at the end of each >block. It works very well for the mean reaction time with different >methods, but for the average accuracy I always have the same problem >- the average accuracy displayed is far lower than expected for the >number of errors commited: it should display something like 90-99% >but it displays something like 60-79%, so I guess there is something >I'm missing about it. The accuracy information is computed correctly >into the data file, it is incorrect only in the feedback display. > >The code I'm using now is: > >'At Block Setup: > >Set CorrecTimes = New Summation >Set AverageAccuracy = New Summation > >'After ResponseObject: > >If ResponseObject.ACC = "1" Then >CorrectTimes.AddObservation c.GetAttrib("ResponseObject.RT") >End If > >AverageAccuracy.AddObservation TempoResposta.ACC > >'At the End of the Block: > >c.SetAttrib"BlockRT", Format(CStr(CDbl(CorrectTimes.Mean)),"0.00) >c.SetAttrib"BlockACC", Format(CStr(CDbl(AverageAccuracy.Mean*100,"0.00") > >Then there is Text Display like that: > >Your results for this block: >Mean Reaction Time: >[BlockRT]ms >Average Accuracy: >[BlockACC]% Correct Responses > >Thanks a lot for any comment on that - I'm really running out of ideas. > >Best wishes, > >Fernanda -- You received this message because you are subscribed 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/528a74c4.6801320a.08e7.7ea4SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From raquel.antoinette at gmail.com Mon Nov 18 20:19:34 2013 From: raquel.antoinette at gmail.com (Raquel Cowell) Date: Mon, 18 Nov 2013 12:19:34 -0800 Subject: BART E-Prime 2.0 Missing PumpNPopList Nested List Message-ID: I recently downloaded an E-Prime 2.0 version of the BART from http://psychology.msu.edu/lcdlab/programs/. For the most part, the .es2 file is great, but there seems to be a missing nested list from the TrialList. In the TrialList, there are the following 4 columns: Weight; Nested; Procedure; PayPerPump. Within the Nested column is the following text: "PumpNPopList". However, the list is never detailed anywhere and the icon placeholder is a "?" I want to replace the list with the correct information, but I am unsure of what exactly should be included. Any help or insight would be greatly appreciated. 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/f47300bb-bb7c-4bfd-a37e-3588180a6c74%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fesais at gmail.com Tue Nov 19 15:09:58 2013 From: fesais at gmail.com (Fernanda Sais) Date: Tue, 19 Nov 2013 07:09:58 -0800 Subject: Feedback at the end of the block In-Reply-To: <528a74c4.6801320a.08e7.7ea4SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: David, I am really sorry for the type errors, I really should have copied the code. But the problem really had something to do with how E-Prime computes responses at run time, as you suggest at the end of your message. Turns out I had a no go trial, and accuracy computation was not ready when the inline needing it was executed, so no go trials for which subject correctly did not respond were computed as errors while running the program. I used an inline with the code Do While TempoResposta.InputMasks.IsPending() Loop And that seems to be working fine now! Thank you very much for your help! Best, Fernanda Em segunda-feira, 18 de novembro de 2013 20h12min40s UTC, McFarlane, David escreveu: > > Fernanda, > > Your puzzle interests me, but I cannot get to the puzzle itself > because of problems in your code excerpts.... > > > 0) You did not say so, but I presume that you defined your Summation > objects as global variables in the global User Script area, thus, > > Dim CorrectTimes as Summation > Dim AverageAccuracy as Summation > > Did you do that? > > > 1) At one place your code uses "CorrecTimes", and at another > "CorrectTimes". Those are two different variable names, you have to > pick one or the other (I presume you meant "CorrectTimes" for both). > > > 2) Your code for after ResponseObject includes the line > > AverageAccuracy.AddObservation TempoResposta.ACC > > but you have not used TempoResposta anywhere else. I suppose you > mean AverageAccuracy.ACC here, but you should clarify that. > > While I am at it, I would change the code for CorrectTimes to merely > > If (ResponseObject.ACC = "1") Then CorrectTimes.AddObservation > ResponseObject.RT > > or even further to just > > If ResponseObject.ACC Then CorrectTimes.AddObservation > ResponseObject.RT > > > 3) Your code at the end of the block contains two syntax > errors. First, you have not closed off the quotes around the 0.00 at > the end of your first line. Second, CDbl() takes only one argument, > but on the second line you have placed the parentheses around two > arguments. For that matter, you should not need the CDbl() and > CString() conversions at all, the following should work just as well: > > c.SetAttrib "BlockRT", Format( CorrectTimes.Mean, "0.00" ) > c.SetAttrib "BlockACC", Format( (AverageAccuracy.Mean * 100), "0.00" > ) > > > I discovered all this merely by pasting your own code into E-Studio > and attempting to compile, at which time I got compile-time > errors. When posting code to the Group, best to copy code excerpts > directly from your E-Studio files rather than retyping into a > message. I had to give up any further exploration after running into > all these errors because I do not know if any of those might cause > your problem. > > With that said, I will add one more thing that may affect your > feedback calculation. You must make sure that the code after > ResponseObject does *not* execute until after ResponseObject gets a > response! You may do that in several ways: > - Run another stimulus object between your ResponseObject and > the inline code. > - Set Duration of ResponseObject to "(infinite)" (and of course > End Action to "Terminate"). > - Set PreRelease of ResponseObject to 0. > Otherwise, if your inline code runs during the presentation of > ResponseObject but before it gets a response (very easy to do with > PreRelease and a finite Duration), then the feedback calcuations will > be wrong. This has become a particular problem as users with habits > learned in older versions of E-Prime move up to EP2.0.10 (I know, I > got bit by this myself just last week!). > > ----- > 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) PST's trained staff > take any and all questions at https://support.pstnet.com , and they > strive to respond to all requests in 24-48 hours, so make full use of > it. 3) In addition, PST offers several instructional videos on their > YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/15/2013 03:52 PM Friday, Fernanda Sais wrote: > >Hi, > > > >I am trying to set a feedback to be displayed at the end of each > >block. It works very well for the mean reaction time with different > >methods, but for the average accuracy I always have the same problem > >- the average accuracy displayed is far lower than expected for the > >number of errors commited: it should display something like 90-99% > >but it displays something like 60-79%, so I guess there is something > >I'm missing about it. The accuracy information is computed correctly > >into the data file, it is incorrect only in the feedback display. > > > >The code I'm using now is: > > > >'At Block Setup: > > > >Set CorrecTimes = New Summation > >Set AverageAccuracy = New Summation > > > >'After ResponseObject: > > > >If ResponseObject.ACC = "1" Then > >CorrectTimes.AddObservation c.GetAttrib("ResponseObject.RT") > >End If > > > >AverageAccuracy.AddObservation TempoResposta.ACC > > > >'At the End of the Block: > > > >c.SetAttrib"BlockRT", Format(CStr(CDbl(CorrectTimes.Mean)),"0.00) > >c.SetAttrib"BlockACC", Format(CStr(CDbl(AverageAccuracy.Mean*100,"0.00") > > > >Then there is Text Display like that: > > > >Your results for this block: > >Mean Reaction Time: > >[BlockRT]ms > >Average Accuracy: > >[BlockACC]% Correct Responses > > > >Thanks a lot for any comment on that - I'm really running out of ideas. > > > >Best wishes, > > > >Fernanda > > -- You received this message because you are subscribed 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/0f453807-f57f-411e-85cc-1d90c06f6fb7%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Nov 19 15:49:43 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 19 Nov 2013 10:49:43 -0500 Subject: BART E-Prime 2.0 Missing PumpNPopList Nested List In-Reply-To: Message-ID: I already replied to Raquel off the list, but for the record in case anyone else stumbles upon this... Wow, I did the initial development on that program (if you open the Experiment object you will see my name there) -- a great project where I got to expand my E-Prime skills! PumpNPopList appears as a question mark in the Structure because it is generated at run time by the inline code in TrialsInitScript prior to running TrialList (which then calls upon the nested PumpNPopList). Yes, really! It's an unusual and challenging move, but I did it that way in order to programmaticaly enforce some specific properties on PumpNPopList, and you will find some explanation for that in the comments in TrialsInitScript. If you prefer to replace PumpNPopList with a more normal (and non-dynamic) nested List, then you would want a PumpNPopList with a "PumpNPop" attribute (but of course, you could figure that out from the code in TrialsInitScript -- see the PumpNPopList.AddAttrib commands). Note that nList is just a temporary auxiliary List used for populating PumpNPopList and is not used anywhere in the Structure, if you make your own PumpNPopList then you may just ignore (or delete) nList. Do be aware that we used inline code to construct PumpNPopList in order to enforce some desirable properties, so you may want to consider that as you design your replacement PumpNPopList. BTW, I designed this program at a time when I was exploring the use of Lists as a construct for programmed loops, which accounts for my peculiar use of a StepList within the TrialProc. If I were to program this today, I might instead use an ordinary Label and Goto to do the "step" loop (and then I would have to do the step logging in inline code instead of having StepList take care of that automatically). (I also now use the term "code" where I used to use "script", but that is another matter.) ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster ) At 11/18/2013 03:19 PM Monday, Raquel Cowell wrote: >I recently downloaded an E-Prime 2.0 version of the BART >from http://psychology.msu.edu/lcdlab/programs/. > >For the most part, the .es2 file is great, but there seems to be a >missing nested list from the TrialList. In the TrialList, there are >the following 4 columns: Weight; Nested; Procedure; PayPerPump. > >Within the Nested column is the following text: "PumpNPopList". >However, the list is never detailed anywhere and the icon placeholder is a "?" > >I want to replace the list with the correct information, but I am >unsure of what exactly should be included. > >Any help or insight would be greatly appreciated. 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/528b88a6.6801320a.08e7.ffffaaefSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From paulinenarme at gmail.com Tue Nov 19 15:55:09 2013 From: paulinenarme at gmail.com (pauline narme) Date: Tue, 19 Nov 2013 07:55:09 -0800 Subject: coding a dual task with musical stimuli Message-ID: Hi, I would like some tips to code a dual task. My experiment is a memory task with an encoding condition in divided attention. More precisely, subjects have to listen to musical excerpts (mean duration around 10 sec) while they have to respond to a series of trials involving responding to digits. I followed the dual task sample available on the PST website and did exactly the same (i.e. "The start time is determined at the beginning of the trial. The object presenting the word has a Duration value of zero msec. This displays the word, then immediately begins presentation of the digit task. The duration of the word is set as an attribute in the WordList, but the actual run-time duration is monitored by the digit trial"s) However, although the task is running without error, I can hear any sound. This is probably due to the duration value of zero msec of the sound "object", but if I change this value, this is not a dual task anymore since the sound is first heard THEN digits appeared. Looking forward to read some help. Thanks, Pauline -- You received this message because you are subscribed 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/7cd7c688-4e7d-4563-8611-d765128316b3%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Nov 19 16:10:00 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 19 Nov 2013 11:10:00 -0500 Subject: coding a dual task with musical stimuli In-Reply-To: <7cd7c688-4e7d-4563-8611-d765128316b3@googlegroups.com> Message-ID: Pauline, I did not look at the Dual Task example from PST, so I am just basing this on general knowledge of E-Prime SoundOut & SlideSound objects, quite apart from any dual task considerations. Anyway, make sure that "Stop After" on your sound object is set to "No" -- set to "No", the sound should play through even if the stimulus object that started it ends first. Set to "Yes", the sound will stop playing at the offset of the stimulus object that started it. I explain this and more better in my online 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/19/2013 10:55 AM Tuesday, pauline narme wrote: >I would like some tips to code a dual task. My experiment is a >memory task with an encoding condition in divided attention. >More precisely, subjects have to listen to musical excerpts (mean >duration around 10 sec) while they have to respond to a series of >trials involving responding to digits. >I followed the dual task sample available on the PST website and did >exactly the same (i.e. "The start time is determined at the >beginning of the trial. The object presenting the word has a >Duration value of zero msec. This displays the word, then >immediately begins presentation of the digit task. The duration of >the word is set as an attribute in the WordList, but the actual >run-time duration is monitored by the digit trial"s) > >However, although the task is running without error, I can hear any >sound. This is probably due to the duration value of zero msec of >the sound "object", but if I change this value, this is not a dual >task anymore since the sound is first heard THEN digits appeared. > >Looking forward to read some help. > >Thanks, > >Pauline -- You received this message because you are subscribed 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/528b8d63.0b39320a.4016.ffffae16SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From oh.justinian at gmail.com Tue Nov 19 22:32:57 2013 From: oh.justinian at gmail.com (Junho Oh) Date: Tue, 19 Nov 2013 14:32:57 -0800 Subject: charAt for String in Ebasic? Message-ID: Hello, I am new to Eprime and Ebasic and I have been fiddling around with string manipulation. Is there no way to get the index of a particular character in a string (eg. charAt in Java)? And is there no way to get the substring either? Thank you very much for your help! -Junho -- You received this message because you are subscribed 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/97ea622f-1d7e-4a93-9c56-b2c34392531a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Tue Nov 19 22:47:51 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Tue, 19 Nov 2013 23:47:51 +0100 Subject: charAt for String in Ebasic? In-Reply-To: <97ea622f-1d7e-4a93-9c56-b2c34392531a@googlegroups.com> Message-ID: Check the E-Basic manual for InStr() and Mid(). Paul On 19 November 2013 23:32, Junho Oh wrote: > Hello, > I am new to Eprime and Ebasic and I have been fiddling around with string > manipulation. > Is there no way to get the index of a particular character in a string > (eg. charAt in Java)? And is there no way to get the substring either? > Thank you very much for your help! > -Junho > > -- > You received this message because you are subscribed 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/97ea622f-1d7e-4a93-9c56-b2c34392531a%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAKAdR-tV%2BHZc_oETJNBOo3h8gyLABY7QYrm__zcQjPnQ_S61GA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Nov 19 22:49:42 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 19 Nov 2013 17:49:42 -0500 Subject: charAt for String in Ebasic? In-Reply-To: <97ea622f-1d7e-4a93-9c56-b2c34392531a@googlegroups.com> Message-ID: Junho, Just to clarify, by "get the index of a particular character in a string" you actually mean "get the character at a particular index in a string" (I Googled "java charat" to verify that). For both that and getting substrings, see the "Mid, Mid$, MidB, MidB$ (functions)" topic in the E-Basic Help facility. Note BTW that VBA/E-Basic strings are not objects as they are in Java. (And to get something akin to "get the index of a particular character in a string", see the "InStr, InStrB (functions)" topic in the E-Basic Help facility -- I do not know what the Java equivalent might be for that.) Good luck, ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/19/2013 05:32 PM Tuesday, Junho Oh wrote: >I am new to Eprime and Ebasic and I have been fiddling around with >string manipulation. >Is there no way to get the index of a particular character in a >string (eg. charAt in Java)? And is there no way to get the substring either? >Thank you very much for your help! >-Junho -- You received this message because you are subscribed 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/528beb13.0b39320a.4016.ffffc0a6SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From ndlabmanager at gmail.com Tue Nov 19 22:53:51 2013 From: ndlabmanager at gmail.com (Stephen Mattingly) Date: Tue, 19 Nov 2013 14:53:51 -0800 Subject: "setup inline object" In-Reply-To: <52851d04.2cdd320a.723a.1f1cSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: This was very helpful, and i was able to see how it works (and have modified it for my purposes successfully) On Thursday, November 14, 2013 1:56:59 PM UTC-5, McFarlane, David wrote: > > BTW, I found the location for that file by looking in the Contents of > the EP1 E-Basic Help under E-Basic > Welcome, where I found the following > text: > > "To illustrate the use of the statement, function, command or object, > two sample programs have been included with your install, > E-BasicExample.es and E-BasicSoundExample.es Simply copy and paste > the sample script to the proper InLine object as instructed in the > notes following the script." > > (This is from the E-Basic Help for EP1. The EP2 E-Basic Help > contains a similar notice under the "Using E-Basic Help" topic in the > Contents tab.) > > -- David McFarlane > > > At 11/14/2013 01:46 PM Thursday, David McFarlane wrote: > >Look in your My Experiments folder for a file named > >"E-BasicExample.es" (or .es2). Open that in E-Studio, and you will > >see the Setup inline in the structure just under SessionProc. > > > >Note that the code examples throughout the E-Basic Help are meant to > >be used with this example program. Note also that many of the code > >examples in the E-Basic Help are flawed -- some of them contain rank > >syntax mistakes that result in compile-time errors, and even when > >the code works, they are often examples of poor programming > >practices. Best to take the examples as mere starting guidelines, > >use them to grasp the underlying principles, and then build anew > >from that understanding. > > > >Good luck. > > > >----- > >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) PST's trained staff > >take any and all questions at https://support.pstnet.com , and they > >strive to respond to all requests in 24-48 hours, so make full use > >of it. 3) In addition, PST offers several instructional videos on > >their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/14/2013 12:25 PM Thursday, Stephen Mattingly wrote: > >>Hi All, > >> I am trying to find the "setup inline object" to try out an > >> example script (under MouseResponseData.CursorX in Ebasic help). I > >> can make an inline1, and an inline 2, but where do i post part A? > >> I tried just posting it into the "user" tab of the script, but i > >> get an error. 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/a042456d-1bcf-4238-b35e-47a1f47782c9%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ndlabmanager at gmail.com Tue Nov 19 23:09:57 2013 From: ndlabmanager at gmail.com (Stephen Mattingly) Date: Tue, 19 Nov 2013 15:09:57 -0800 Subject: Attribute cell to lookup value? Message-ID: Hi All, Is there any way for an attribute cell (within a list) to call for a value, rather than just use the value in the cell? currently, if i put a string variable name in the attribute cell in a list (e.g. randomColor(0) ), it tries to find a file name that is the variable name (tries to find file,"randomColor(0)" ). rather, i would like it to look up the value stored by the variable and use THAT string as a filename. as i build complexity into this task, my current solution becomes a pain, but my current solution is below: --- i want to randomize a list of colors at the beginning, but to keep the value the same for the rest of the experiment. first inline Dim randomColor(3) as String randomColor(0)="red.bmp" randomColor(1)="blue.bmp" randomColor(2)="yellow.bmp" randomColor(3)="green.bmp" Randomize randomizeArray randomColor while ColorAssignCount < 49 '48 training trials Train.SetAttrib ColorAssignCount, "Color1", randomColor(0) Train.SetAttrib ColorAssignCount, "Color2", randomColor(1) Train.SetAttrib ColorAssignCount, "Color3", randomColor(2) Train.SetAttrib ColorAssignCount, "Color4", randomColor(3) ColorAssignCount = ColorAssignCount + 1 wend -- it would be simpler to be able to call, within each list, 'randomColor(0)', as i will eventually have many lists and other elements that need randomization in a similar way. -- You received this message because you are subscribed 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/05910ed9-26aa-4638-9a92-a629eb513946%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From oh.justinian at gmail.com Tue Nov 19 23:13:02 2013 From: oh.justinian at gmail.com (Junho Oh) Date: Tue, 19 Nov 2013 15:13:02 -0800 Subject: charAt for String in Ebasic? In-Reply-To: <528beb13.0b39320a.4016.ffffc0a6SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thank you for your help! After I posted it, I managed to find the Mid function :D On Tuesday, November 19, 2013 5:49:42 PM UTC-5, McFarlane, David wrote: > > Junho, > > Just to clarify, by "get the index of a particular character in a > string" you actually mean "get the character at a particular index in > a string" (I Googled "java charat" to verify that). For both that > and getting substrings, see the "Mid, Mid$, MidB, MidB$ (functions)" > topic in the E-Basic Help facility. Note BTW that VBA/E-Basic > strings are not objects as they are in Java. > > (And to get something akin to "get the index of a particular > character in a string", see the "InStr, InStrB (functions)" topic in > the E-Basic Help facility -- I do not know what the Java equivalent > might be for that.) > > Good luck, > ----- > 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) PST's trained staff > take any and all questions at https://support.pstnet.com , and they > strive to respond to all requests in 24-48 hours, so make full use of > it. 3) In addition, PST offers several instructional videos on their > YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/19/2013 05:32 PM Tuesday, Junho Oh wrote: > >I am new to Eprime and Ebasic and I have been fiddling around with > >string manipulation. > >Is there no way to get the index of a particular character in a > >string (eg. charAt in Java)? And is there no way to get the substring > either? > >Thank you very much for your help! > >-Junho > > -- You received this message because you are subscribed 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/68174c90-5bc6-4cae-b9eb-e87d40056180%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Wed Nov 20 08:20:15 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 20 Nov 2013 09:20:15 +0100 Subject: Attribute cell to lookup value? In-Reply-To: <05910ed9-26aa-4638-9a92-a629eb513946@googlegroups.com> Message-ID: Just a minor detail: instead of a while loop you could use a for-loop, which is the preferred construction to iterate over an index, and is less sensitive for infinite loop 'accidents'. About your question: I think it would be a nice feature to be able to refer to E-Basic variables inside list elements. However, the developers of E-Prime used a different approach for dynamically loading list content: 1) the []-syntax to reference the content of another attribute (i.e. [OtherAttrib]) 2) nested lists You can combine the two to pull values from another (nested) list. So, if you put the four filenames in a nested ColorList, you could use these values in the Train list. (Using the randomization settings of the ColorList when populating the Train list.) In this case you probably have to use the colon syntax to pull four values from the same nested attribute for a single Train trial ([OtherAttrib:0] [OtherAttrib:1] etc.). So, in your case you could place [OtherAttrib:0] in the Color1 attribute, [OtherAttrib:1] in the Color2 attribute, etc. Also see the attached example. Cheers Paul On 20 November 2013 00:09, Stephen Mattingly wrote: > Hi All, > Is there any way for an attribute cell (within a list) to call for a > value, rather than just use the value in the cell? > > currently, if i put a string variable name in the attribute cell in a list > (e.g. randomColor(0) ), it tries to find a file name that is the variable > name (tries to find file,"randomColor(0)" ). rather, i would like it to > look up the value stored by the variable and use THAT string as a filename. > > as i build complexity into this task, my current solution becomes a pain, > but my current solution is below: > > > --- > > i want to randomize a list of colors at the beginning, but to keep the > value the same for the rest of the experiment. > > first inline > > Dim randomColor(3) as String > randomColor(0)="red.bmp" > randomColor(1)="blue.bmp" > randomColor(2)="yellow.bmp" > randomColor(3)="green.bmp" > Randomize > randomizeArray randomColor > > while ColorAssignCount < 49 '48 training trials > > Train.SetAttrib ColorAssignCount, "Color1", randomColor(0) > Train.SetAttrib ColorAssignCount, "Color2", randomColor(1) > Train.SetAttrib ColorAssignCount, "Color3", randomColor(2) > Train.SetAttrib ColorAssignCount, "Color4", randomColor(3) > > ColorAssignCount = ColorAssignCount + 1 > > wend > -- > > it would be simpler to be able to call, within each list, > 'randomColor(0)', as i will eventually have many lists and other elements > that need randomization in a similar way. > > -- > You received this message because you are subscribed 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/05910ed9-26aa-4638-9a92-a629eb513946%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAKAdR-vjDQRCa9ck5k03kB_csgSveOT0Vs06PocujHEa4pGQjQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: NestedReference.es2 Type: application/octet-stream Size: 38002 bytes Desc: not available URL: From ndlabmanager at gmail.com Wed Nov 20 16:08:25 2013 From: ndlabmanager at gmail.com (Stephen Mattingly) Date: Wed, 20 Nov 2013 08:08:25 -0800 Subject: Attribute cell to lookup value? In-Reply-To: Message-ID: thanks so much - this is very helpful! On Wednesday, November 20, 2013 3:20:15 AM UTC-5, Paul Groot wrote: > > Just a minor detail: instead of a while loop you could use a for-loop, > which is the preferred construction to iterate over an index, and is less > sensitive for infinite loop 'accidents'. > > About your question: I think it would be a nice feature to be able to > refer to E-Basic variables inside list elements. However, the developers of > E-Prime used a different approach for dynamically loading list content: > 1) the []-syntax to reference the content of another attribute (i.e. > [OtherAttrib]) > 2) nested lists > > You can combine the two to pull values from another (nested) list. So, if > you put the four filenames in a nested ColorList, you could use these > values in the Train list. (Using the randomization settings of the > ColorList when populating the Train list.) In this case you probably have > to use the colon syntax to pull four values from the same nested attribute > for a single Train trial ([OtherAttrib:0] [OtherAttrib:1] etc.). So, in > your case you could place [OtherAttrib:0] in the Color1 attribute, > [OtherAttrib:1] in the Color2 attribute, etc. > > > Also see the attached example. > > Cheers > Paul > > > > > > On 20 November 2013 00:09, Stephen Mattingly > > wrote: > >> Hi All, >> Is there any way for an attribute cell (within a list) to call for a >> value, rather than just use the value in the cell? >> >> currently, if i put a string variable name in the attribute cell in a >> list (e.g. randomColor(0) ), it tries to find a file name that is the >> variable name (tries to find file,"randomColor(0)" ). rather, i would like >> it to look up the value stored by the variable and use THAT string as a >> filename. >> >> as i build complexity into this task, my current solution becomes a >> pain, but my current solution is below: >> >> >> --- >> >> i want to randomize a list of colors at the beginning, but to keep the >> value the same for the rest of the experiment. >> >> first inline >> >> Dim randomColor(3) as String >> randomColor(0)="red.bmp" >> randomColor(1)="blue.bmp" >> randomColor(2)="yellow.bmp" >> randomColor(3)="green.bmp" >> Randomize >> randomizeArray randomColor >> >> while ColorAssignCount < 49 '48 training trials >> >> Train.SetAttrib ColorAssignCount, "Color1", randomColor(0) >> Train.SetAttrib ColorAssignCount, "Color2", randomColor(1) >> Train.SetAttrib ColorAssignCount, "Color3", randomColor(2) >> Train.SetAttrib ColorAssignCount, "Color4", randomColor(3) >> >> ColorAssignCount = ColorAssignCount + 1 >> >> wend >> -- >> >> it would be simpler to be able to call, within each list, >> 'randomColor(0)', as i will eventually have many lists and other elements >> that need randomization in a similar way. >> >> -- >> You received this message because you are subscribed 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/05910ed9-26aa-4638-9a92-a629eb513946%40googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed 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/ccb6aded-b598-4d11-86f4-df2ff6c8d057%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacanterbury at gmail.com Thu Nov 21 10:30:54 2013 From: jacanterbury at gmail.com (JACanterbury) Date: Thu, 21 Nov 2013 02:30:54 -0800 Subject: Running E-Studio on a client thats on a different subnet to the networked license machine - Help ple Message-ID: Hi, Hoping that someone can help me. We have a 10 seat network license for e-studio v2. Does anyone know how I can configure HASP (the 3rd party software PST use to control the network licensing) so that a client PC that's on a different subnet on the network can run? I'm pretty sure it's possible, from Googling other products that use HASP but I can;t work out how to do it. I'm not sure if its something that needs doing on the license server itself, on the client PC or on both. I know that the client PC has the file C:\Program Files (x86)\Common Files\Aladdin Shared\HASP\hasplm.ini (NB this file doesn't exist by default but you can generate it by clicking the SUBMIT button if you connect to http://localhost:1947/_int_/ACC_help_index.html on the client and goto the 'configuration tab' ) I think that it should be possible to edit it then to make it look beyond it's own subnet. Any help would be much appreciated, Many Thanks, John -- You received this message because you are subscribed 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/e907c8e9-a124-434e-afcf-54ece55afcbe%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From filmstudieleipzig at googlemail.com Thu Nov 21 14:45:58 2013 From: filmstudieleipzig at googlemail.com (M. W.) Date: Thu, 21 Nov 2013 06:45:58 -0800 Subject: please help me convert ePrime professional file to standard In-Reply-To: Message-ID: Here you go... Am Samstag, 26. Oktober 2013 01:40:07 UTC+2 schrieb Pete Khooshabeh, PhD: > > Hello, > > Will someone be so kind as to save this file into ePrime standard? > > I really appreciate it. > > Here are instructions: > > http://www.youtube.com/watch?v=bw3HIk3M_7o > > Peter > -- You received this message because you are subscribed 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/48cbf826-467a-4232-bd3b-3c66ded80079%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: GamblingTask_std.es2 Type: application/octet-stream Size: 97540 bytes Desc: not available URL: From tobias.fw at gmail.com Thu Nov 21 17:27:53 2013 From: tobias.fw at gmail.com (Tobias) Date: Thu, 21 Nov 2013 09:27:53 -0800 Subject: Equidistant colors Message-ID: Dear all, This is not directly connected to E-Prime, but since some people are presumbly real experts in psychophysics here, I would like to ask anyway and I hope I can get some hints here. I would like to conduct an attention experiment in which I need to have 9 colors. These should be "equidistant". That is, they should be equally salient on a black background. The first thing I cam eup with was to use the HSV color space and varied the H value from 0 to 239 with equal distance while keeping the S and V value fixed. The outcome is quite disappointing. The colors seem to be not comparable at all, some seem brighter, some darker and the subjective distance ('similarity') was rather variable. Does anyone have a good idea how to choose 9 color that are equidistant? Thanks a lot, 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/377897ad-ad87-449b-942b-76f7fb59df36%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Nov 21 18:36:21 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Nov 2013 13:36:21 -0500 Subject: Equidistant colors In-Reply-To: <377897ad-ad87-449b-942b-76f7fb59df36@googlegroups.com> Message-ID: Tobias, Googling "equidistant colors" got me to http://vis4.net/blog/posts/avoid-equidistant-hsv-colors/ . And that in turn reminded me of the CIE L*a*b* and HCL color spaces, which you may look up on Wikipedia. I think you can take it from there. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster ) At 11/21/2013 12:27 PM Thursday, Tobias wrote: >This is not directly connected to E-Prime, but since some people are >presumbly real experts in psychophysics here, I would like to ask >anyway and I hope I can get some hints here. > >I would like to conduct an attention experiment in which I need to >have 9 colors. These should be "equidistant". That is, they should >be equally salient on a black background. > >The first thing I cam eup with was to use the HSV color space and >varied the H value from 0 to 239 with equal distance while keeping >the S and V value fixed. >The outcome is quite disappointing. The colors seem to be not >comparable at all, some seem brighter, some darker and the >subjective distance ('similarity') was rather variable. > >Does anyone have a good idea how to choose 9 color that are equidistant? > >Thanks a lot, >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/528e52b2.2cdd320a.5a56.1eebSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From cjp872 at gmail.com Thu Nov 21 19:10:54 2013 From: cjp872 at gmail.com (Colton Perry) Date: Thu, 21 Nov 2013 11:10:54 -0800 Subject: Design that loops a visual discrimination task while waiting for keyboard input? Message-ID: Hi all, I hope this isn't something I could have easily figured out by a good Google search, I just haven't been able to find the correct search terms to get what I'm going for here. I'm trying to implement a design that's a bit beyond my understanding (most of my experience with e-prime has been mostly pretty straight-forward linear presentation stuff). To boil it down to a single trial, I'd like to present a simple visual search/discrimination task alongside a set of verbal instructions. So for example, at the onset of a trial, a text display would appear providing instructions for a primary task to be performed outside of e-prime (these tasks are performed on a motorcycle infotainment system). A short time after the onset of those instructions, the visual discrimination task would begin. So, leaving the instructions on the display, a letter would appear. If this is a key letter, the participant would respond with a key press (well, a foot pedal mapped to a key press "b", but a key press to Eprime). If it's not a key letter, then the participant does nothing and the letter disappears. The part I'm not sure how to accomplish is that after they respond with a key press, I need the discrimination task to repeat itself on average every 5 seconds (so 5 ± 2s) while the text display with the instructions remains the same. After the participant completes the primary task on the motorcycle, a researcher would then press a key to end the trial and move on to the next set of instructions. So it would look something like this: Primary task instruction onset --- key letter appears > foot pedal response > key letter disappears, record RT --- foil letter appears > no response > foil letter disappears after a given time, record response if incorrect --- repeat randomly --- Primary task completed > research presses key > record total trial time Primary task instruction onset etc. Does this make sense? Please let me know if I need to provide more information. I'll keep trying different things in the meantime. Most of my experience with Eprime has been in the gui interface rather than the inline commands, so I'm pretty inexperienced on that end, but I'm definitely willing to learn. Thanks in advance for your time, -- You received this message because you are subscribed 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/ebffb536-69f2-4bab-b59a-9f464d6eebd4%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Nov 21 19:17:39 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Nov 2013 14:17:39 -0500 Subject: Equidistant colors In-Reply-To: <528e52b2.2cdd320a.5a56.1eebSMTPIN_ADDED_MISSING@gmr-mx.goo gle.com> Message-ID: Nate Vack in the PsychoPy Google Group (https://groups.google.com/d/topic/psychopy-users/PwEuTGO1vyg/discussion ) also suggests HUSL, see http://boronine.com/husl/ . -- David McFarlane At 11/21/2013 01:36 PM Thursday, David McFarlane wrote: >Tobias, > >Googling "equidistant colors" got me to >http://vis4.net/blog/posts/avoid-equidistant-hsv-colors/ . And that >in turn reminded me of the CIE L*a*b* and HCL color spaces, which >you may look up on Wikipedia. I think you can take it from there. > >----- >David McFarlane >E-Prime training >online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster ) > > >At 11/21/2013 12:27 PM Thursday, Tobias wrote: >>This is not directly connected to E-Prime, but since some people >>are presumbly real experts in psychophysics here, I would like to >>ask anyway and I hope I can get some hints here. >> >>I would like to conduct an attention experiment in which I need to >>have 9 colors. These should be "equidistant". That is, they should >>be equally salient on a black background. >> >>The first thing I cam eup with was to use the HSV color space and >>varied the H value from 0 to 239 with equal distance while keeping >>the S and V value fixed. >>The outcome is quite disappointing. The colors seem to be not >>comparable at all, some seem brighter, some darker and the >>subjective distance ('similarity') was rather variable. >> >>Does anyone have a good idea how to choose 9 color that are equidistant? >> >>Thanks a lot, >>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/528e5c60.0286320a.73ed.2084SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Thu Nov 21 19:28:56 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Nov 2013 14:28:56 -0500 Subject: Design that loops a visual discrimination task while waiting for keyboard input? In-Reply-To: Message-ID: Do I understand correctly that your sticking point is only how to keep some constant text on the display throughout a series of stimuli & responses? If that's all, I have two solutions: 1) The rookie way: Add the constant text to all of the stimulus displays -- either add the full literal text into each display, or put the text into an attribute and then use the same atribute reference in each display. You would most easily do this using Slides for your display objects. 2) My preferred way: With judicious use of Frame Size and Position, and BackStyle Transparent, you may add the constant text to a place on the screen that just never gets covered up by subsequent stimuli. Good luck. ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/21/2013 02:10 PM Thursday, Colton Perry wrote: >Hi all, I hope this isn't something I could have >easily figured out by a good Google search, I >just haven't been able to find the correct >search terms to get what I'm going for here. > >I'm trying to implement a design that's a bit >beyond my understanding (most of my experience >with e-prime has been mostly pretty >straight-forward linear presentation stuff). To >boil it down to a single trial, I'd like to >present a simple visual search/discrimination >task alongside a set of verbal instructions. So >for example, at the onset of a trial, a text >display would appear providing instructions for >a primary task to be performed outside of >e-prime (these tasks are performed on a >motorcycle infotainment system). A short time >after the onset of those instructions, the >visual discrimination task would begin. So, >leaving the instructions on the display, a >letter would appear. If this is a key letter, >the participant would respond with a key press >(well, a foot pedal mapped to a key press "b", >but a key press to Eprime). If it's not a key >letter, then the participant does nothing and >the letter disappears. The part I'm not sure how >to accomplish is that after they respond with a >key press, I need the discrimination task to >repeat itself on average every 5 seconds (so 5 ± >2s) while the text display with the instructions >remains the same. After the participant >completes the primary task on the motorcycle, a >researcher would then press a key to end the >trial and move on to the next set of instructions. > >So it would look something like this: > >Primary task instruction onset >--- key letter appears > foot pedal response > >key letter disappears, record RT >--- foil letter appears > no response > foil >letter disappears after a given time, record response if incorrect >--- repeat randomly >--- Primary task completed > research presses key > record total trial time >Primary task instruction onset >etc. > >Does this make sense? Please let me know if I >need to provide more information. I'll keep >trying different things in the meantime. Most of >my experience with Eprime has been in the gui >interface rather than the inline commands, so >I'm pretty inexperienced on that end, but I'm definitely willing to learn. > >Thanks in advance for your time, -- You received this message because you are subscribed 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/528e5f05.629a320a.1d9f.20aaSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From cjp872 at gmail.com Thu Nov 21 19:53:22 2013 From: cjp872 at gmail.com (Colton Perry) Date: Thu, 21 Nov 2013 11:53:22 -0800 Subject: Design that loops a visual discrimination task while waiting for keyboard input? In-Reply-To: <528e5f05.629a320a.1d9f.20aaSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: That's a component of what I'm trying to do, but I think the main thing I'd like to accomplish is to be able to record both the RTs and accuracy to responses for the monitoring task while also recording the total time that the trial took place. Maybe I'm thinking about it the wrong way. It seems like it wouldn't be difficult to have a procedure that does one or the other, but I don't know how to get it to do both concurrently. It's important that all of the monitoring responses be tied to each particular text instruction because our goal is to measure the differences in accuracy and RT for the monitoring task as a result of the different primary tasks. I feel like I'm not being particularly clear, and I apologize for that. We have two tasks that we would like to be recorded. One is performance on the monitoring task, and one is total time for completion of the primary task. So a single "trial" is the onset of the text instructions to the keypress that terminates that set of instructions, and within that trial the visual monitoring task loops until the trial is over. I'm not sure how to get do the two things concurrently. Am I making this more complicated than it really is? On Thursday, November 21, 2013 1:28:56 PM UTC-6, McFarlane, David wrote: > > Do I understand correctly that your sticking > point is only how to keep some constant text on > the display throughout a series of stimuli & > responses? If that's all, I have two solutions: > > 1) The rookie way: Add the constant text to all > of the stimulus displays -- either add the full > literal text into each display, or put the text > into an attribute and then use the same atribute > reference in each display. You would most easily > do this using Slides for your display objects. > > 2) My preferred way: With judicious use of Frame > Size and Position, and BackStyle Transparent, you > may add the constant text to a place on the > screen that just never gets covered up by subsequent stimuli. > > Good luck. > > ----- > 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) > PST's trained staff take any and all questions at > https://support.pstnet.com, and they strive to > respond to all requests in 24-48 hours, so make > full use of it. 3) In addition, PST offers > several instructional videos on their YouTube > channel (http://www.youtube.com/user/PSTNET > ). 4) 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 11/21/2013 02:10 PM Thursday, Colton Perry wrote: > >Hi all, I hope this isn't something I could have > >easily figured out by a good Google search, I > >just haven't been able to find the correct > >search terms to get what I'm going for here. > > > >I'm trying to implement a design that's a bit > >beyond my understanding (most of my experience > >with e-prime has been mostly pretty > >straight-forward linear presentation stuff). To > >boil it down to a single trial, I'd like to > >present a simple visual search/discrimination > >task alongside a set of verbal instructions. So > >for example, at the onset of a trial, a text > >display would appear providing instructions for > >a primary task to be performed outside of > >e-prime (these tasks are performed on a > >motorcycle infotainment system). A short time > >after the onset of those instructions, the > >visual discrimination task would begin. So, > >leaving the instructions on the display, a > >letter would appear. If this is a key letter, > >the participant would respond with a key press > >(well, a foot pedal mapped to a key press "b", > >but a key press to Eprime). If it's not a key > >letter, then the participant does nothing and > >the letter disappears. The part I'm not sure how > >to accomplish is that after they respond with a > >key press, I need the discrimination task to > >repeat itself on average every 5 seconds (so 5 ± > >2s) while the text display with the instructions > >remains the same. After the participant > >completes the primary task on the motorcycle, a > >researcher would then press a key to end the > >trial and move on to the next set of instructions. > > > >So it would look something like this: > > > >Primary task instruction onset > >--- key letter appears > foot pedal response > > >key letter disappears, record RT > >--- foil letter appears > no response > foil > >letter disappears after a given time, record response if incorrect > >--- repeat randomly > >--- Primary task completed > research presses key > record total trial > time > >Primary task instruction onset > >etc. > > > >Does this make sense? Please let me know if I > >need to provide more information. I'll keep > >trying different things in the meantime. Most of > >my experience with Eprime has been in the gui > >interface rather than the inline commands, so > >I'm pretty inexperienced on that end, but I'm definitely willing to > learn. > > > >Thanks in advance for your time, > > -- You received this message because you are subscribed 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/fbf63718-c6c6-4d08-bd70-11229b5e356d%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Nov 21 20:39:46 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Nov 2013 15:39:46 -0500 Subject: Design that loops a visual discrimination task while waiting for keyboard input? In-Reply-To: Message-ID: Yes, I am having trouble following you, don't know if that's me or you, but I have trouble following wordy expressions, perhaps if you could find some way to reduce, simplify, & clarify your expression... As far as I can tell, what you want is trivial to accomplish. You should already have your visual monitoring "secondary" task log all the relevant data, so you are all set there. For the "primary" task, if you simply log a timestamp for the first relevant event, and a timestamp for the last relevant event, then you may simply subtract to get the total elapsed time -- you may do that from the data after the run, or with some cleverness use inline code to compute and log this directly to the .edat file. What am I missing? -- David McFarlane At 11/21/2013 02:53 PM Thursday, Colton Perry wrote: >That's a component of what I'm trying to do, but >I think the main thing I'd like to accomplish is >to be able to record both the RTs and accuracy >to responses for the monitoring task while also >recording the total time that the trial took >place. Maybe I'm thinking about it the wrong >way. It seems like it wouldn't be difficult to >have a procedure that does one or the other, but >I don't know how to get it to do both >concurrently. It's important that all of the >monitoring responses be tied to each particular >text instruction because our goal is to measure >the differences in accuracy and RT for the >monitoring task as a result of the different primary tasks. > >I feel like I'm not being particularly clear, >and I apologize for that. We have two tasks that >we would like to be recorded. One is performance >on the monitoring task, and one is total time >for completion of the primary task. So a single >"trial" is the onset of the text instructions to >the keypress that terminates that set of >instructions, and within that trial the visual >monitoring task loops until the trial is over. >I'm not sure how to get do the two things concurrently. > >Am I making this more complicated than it really is? > >On Thursday, November 21, 2013 1:28:56 PM UTC-6, McFarlane, David wrote: >Do I understand correctly that your sticking >point is only how to keep some constant text on >the display throughout a series of stimuli & >responses? If that's all, I have two solutions: > >1) The rookie way: Add the constant text to all >of the stimulus displays -- either add the full >literal text into each display, or put the text >into an attribute and then use the same atribute >reference in each display. You would most easily >do this using Slides for your display objects. > >2) My preferred way: With judicious use of Frame >Size and Position, and BackStyle Transparent, you >may add the constant text to a place on the >screen that just never gets covered up by subsequent stimuli. > >Good luck. > >----- >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) >PST's trained staff take any and all questions at >https://support.pstnet.com >, and they strive to >respond to all requests in 24-48 hours, so make >full use of it. 3) In addition, PST offers >several instructional videos on their YouTube >channel >(http://www.youtube.com/user/PSTNET >). 4) 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 11/21/2013 02:10 PM Thursday, Colton Perry wrote: > >Hi all, I hope this isn't something I could have > >easily figured out by a good Google search, I > >just haven't been able to find the correct > >search terms to get what I'm going for here. > > > >I'm trying to implement a design that's a bit > >beyond my understanding (most of my experience > >with e-prime has been mostly pretty > >straight-forward linear presentation stuff). To > >boil it down to a single trial, I'd like to > >present a simple visual search/discrimination > >task alongside a set of verbal instructions. So > >for example, at the onset of a trial, a text > >display would appear providing instructions for > >a primary task to be performed outside of > >e-prime (these tasks are performed on a > >motorcycle infotainment system). A short time > >after the onset of those instructions, the > >visual discrimination task would begin. So, > >leaving the instructions on the display, a > >letter would appear. If this is a key letter, > >the participant would respond with a key press > >(well, a foot pedal mapped to a key press "b", > >but a key press to Eprime). If it's not a key > >letter, then the participant does nothing and > >the letter disappears. The part I'm not sure how > >to accomplish is that after they respond with a > >key press, I need the discrimination task to > >repeat itself on average every 5 seconds (so 5 ± > >2s) while the text display with the instructions > >remains the same. After the participant > >completes the primary task on the motorcycle, a > >researcher would then press a key to end the > >trial and move on to the next set of instructions. > > > >So it would look something like this: > > > >Primary task instruction onset > >--- key letter appears > foot pedal response > > >key letter disappears, record RT > >--- foil letter appears > no response > foil > >letter disappears after a given time, record response if incorrect > >--- repeat randomly > >--- Primary task completed > research presses key > record total trial time > >Primary task instruction onset > >etc. > > > >Does this make sense? Please let me know if I > >need to provide more information. I'll keep > >trying different things in the meantime. Most of > >my experience with Eprime has been in the gui > >interface rather than the inline commands, so > >I'm pretty inexperienced on that end, but I'm definitely willing to learn. > > > >Thanks in advance for your time, -- You received this message because you are subscribed 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/528e6fad.8570320a.0a3d.22d8SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From cjp872 at gmail.com Thu Nov 21 20:59:10 2013 From: cjp872 at gmail.com (Colton Perry) Date: Thu, 21 Nov 2013 12:59:10 -0800 Subject: Design that loops a visual discrimination task while waiting for keyboard input? In-Reply-To: <528e6fad.8570320a.0a3d.22d8SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: After playing around with a lot of it now, I think I can distill everything down to one question. Sorry for the confusion. I'm sure most of what I've got isn't the most elegant solution, but it will hopefully run the study in a fashion I can put together without too much extra help. The one thing I'm not sure how to do is this: How can I get a list to exit on keypress? The "Exit List" options are for after a certain amount of cycles or samples or seconds. I would just like the exit cue to be a simple keypress that the researcher could make when the participant completes the primary task. With the timestamps you mentioned, that would give us the timing we need for that component, and the monitoring task will be handled within each list. Sorry my thoughts are somewhat jumbled. On Thursday, November 21, 2013 2:39:46 PM UTC-6, McFarlane, David wrote: > > Yes, I am having trouble following you, don't > know if that's me or you, but I have trouble > following wordy expressions, perhaps if you could > find some way to reduce, simplify, & clarify your expression... > > As far as I can tell, what you want is trivial to > accomplish. You should already have your visual > monitoring "secondary" task log all the relevant > data, so you are all set there. For the > "primary" task, if you simply log a timestamp for > the first relevant event, and a timestamp for the > last relevant event, then you may simply subtract > to get the total elapsed time -- you may do that > from the data after the run, or with some > cleverness use inline code to compute and log this directly to the .edat > file. > > What am I missing? > > -- David McFarlane > > > At 11/21/2013 02:53 PM Thursday, Colton Perry wrote: > >That's a component of what I'm trying to do, but > >I think the main thing I'd like to accomplish is > >to be able to record both the RTs and accuracy > >to responses for the monitoring task while also > >recording the total time that the trial took > >place. Maybe I'm thinking about it the wrong > >way. It seems like it wouldn't be difficult to > >have a procedure that does one or the other, but > >I don't know how to get it to do both > >concurrently. It's important that all of the > >monitoring responses be tied to each particular > >text instruction because our goal is to measure > >the differences in accuracy and RT for the > >monitoring task as a result of the different primary tasks. > > > >I feel like I'm not being particularly clear, > >and I apologize for that. We have two tasks that > >we would like to be recorded. One is performance > >on the monitoring task, and one is total time > >for completion of the primary task. So a single > >"trial" is the onset of the text instructions to > >the keypress that terminates that set of > >instructions, and within that trial the visual > >monitoring task loops until the trial is over. > >I'm not sure how to get do the two things concurrently. > > > >Am I making this more complicated than it really is? > > > >On Thursday, November 21, 2013 1:28:56 PM UTC-6, McFarlane, David wrote: > >Do I understand correctly that your sticking > >point is only how to keep some constant text on > >the display throughout a series of stimuli & > >responses? If that's all, I have two solutions: > > > >1) The rookie way: Add the constant text to all > >of the stimulus displays -- either add the full > >literal text into each display, or put the text > >into an attribute and then use the same atribute > >reference in each display. You would most easily > >do this using Slides for your display objects. > > > >2) My preferred way: With judicious use of Frame > >Size and Position, and BackStyle Transparent, you > >may add the constant text to a place on the > >screen that just never gets covered up by subsequent stimuli. > > > >Good luck. > > > >----- > >David McFarlane > >E-Prime training > >online: > >< > http://www.google.com/url?q=http%3A%2F%2Fpsychology.msu.edu%2FWorkshops_Courses%2Feprime.aspx&sa=D&sntz=1&usg=AFQjCNHhJVD3mCfXKdywfB5AgKLPu1OSJg > >http://psychology.msu.edu/Workshops_Courses/eprime.aspx > > > >Twitter: @EPrimeMaster > >(< > https://www.google.com/url?q=https%3A%2F%2Ftwitter.com%2FEPrimeMaster&sa=D&sntz=1&usg=AFQjCNHlT7nwYBmELwRxV4Xn5GW-sG9EKw > >https://twitter.com/EPrimeMaster > >) > > > >/---- > >Stock reminder: 1) I do not work for PST. 2) > >PST's trained staff take any and all questions at > >< > https://www.google.com/url?q=https%3A%2F%2Fsupport.pstnet.com&sa=D&sntz=1&usg=AFQjCNF5BfukPzW6lq7UCweMsMu7_9wJEQ > >https://support.pstnet.com > >, and they strive to > >respond to all requests in 24-48 hours, so make > >full use of it. 3) In addition, PST offers > >several instructional videos on their YouTube > >channel > >(http://www.youtube.com/user/PSTNET > >). 4) 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 11/21/2013 02:10 PM Thursday, Colton Perry wrote: > > >Hi all, I hope this isn't something I could have > > >easily figured out by a good Google search, I > > >just haven't been able to find the correct > > >search terms to get what I'm going for here. > > > > > >I'm trying to implement a design that's a bit > > >beyond my understanding (most of my experience > > >with e-prime has been mostly pretty > > >straight-forward linear presentation stuff). To > > >boil it down to a single trial, I'd like to > > >present a simple visual search/discrimination > > >task alongside a set of verbal instructions. So > > >for example, at the onset of a trial, a text > > >display would appear providing instructions for > > >a primary task to be performed outside of > > >e-prime (these tasks are performed on a > > >motorcycle infotainment system). A short time > > >after the onset of those instructions, the > > >visual discrimination task would begin. So, > > >leaving the instructions on the display, a > > >letter would appear. If this is a key letter, > > >the participant would respond with a key press > > >(well, a foot pedal mapped to a key press "b", > > >but a key press to Eprime). If it's not a key > > >letter, then the participant does nothing and > > >the letter disappears. The part I'm not sure how > > >to accomplish is that after they respond with a > > >key press, I need the discrimination task to > > >repeat itself on average every 5 seconds (so 5 ± > > >2s) while the text display with the instructions > > >remains the same. After the participant > > >completes the primary task on the motorcycle, a > > >researcher would then press a key to end the > > >trial and move on to the next set of instructions. > > > > > >So it would look something like this: > > > > > >Primary task instruction onset > > >--- key letter appears > foot pedal response > > > >key letter disappears, record RT > > >--- foil letter appears > no response > foil > > >letter disappears after a given time, record response if incorrect > > >--- repeat randomly > > >--- Primary task completed > research presses key > record total trial > time > > >Primary task instruction onset > > >etc. > > > > > >Does this make sense? Please let me know if I > > >need to provide more information. I'll keep > > >trying different things in the meantime. Most of > > >my experience with Eprime has been in the gui > > >interface rather than the inline commands, so > > >I'm pretty inexperienced on that end, but I'm definitely willing to > learn. > > > > > >Thanks in advance for your time, > > -- You received this message because you are subscribed 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/78a87e7c-3166-421b-b6dc-c20cf35db910%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Nov 21 21:25:14 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Nov 2013 16:25:14 -0500 Subject: Design that loops a visual discrimination task while waiting for keyboard input? In-Reply-To: <78a87e7c-3166-421b-b6dc-c20cf35db910@googlegroups.com> Message-ID: First, you may use inline code to take complete control of List termination, see the List.Terminate topic in the E-Basic Help facility. You will need to combine that with some appropriate If-Then logic. If you want to combine that with some secret keypress from the researcher, then I would recommend starting a Wait object at the start of primary task. Set its Duration to 0 and add an input mask for your secret handshake, set Allowable to the secret key and Time Limit to "(infinite)" (in my online course we do an exercise that illustrates exactly this). Let's call this object PrimaryWait, and suppose the List for your secondary task is SecondaryList. Then in inline code in the appropriate Procedure, do something like If PrimaryWait.RTTime Then SecondaryList.Terminate (also see https://groups.google.com/d/topic/e-prime/T5ThFkW8qF8 for other ways to test for presence or absence of response). Note that this will terminate the List upon completion of all the objects in the Procedure. If needed, you might use a Goto to skip to the end of the running Procedure, or use techniques from https://groups.google.com/d/topic/e-prime/e12W9DdgvrM to Terminate with a set overall duration. Good luck. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster ) At 11/21/2013 03:59 PM Thursday, Colton Perry wrote: >After playing around with a lot of it now, I >think I can distill everything down to one >question. Sorry for the confusion. I'm sure most >of what I've got isn't the most elegant >solution, but it will hopefully run the study in >a fashion I can put together without too much extra help. > >The one thing I'm not sure how to do is this: >How can I get a list to exit on keypress? The >"Exit List" options are for after a certain >amount of cycles or samples or seconds. I would >just like the exit cue to be a simple keypress >that the researcher could make when the >participant completes the primary task. With the >timestamps you mentioned, that would give us the >timing we need for that component, and the >monitoring task will be handled within each list. > >Sorry my thoughts are somewhat jumbled. > >On Thursday, November 21, 2013 2:39:46 PM UTC-6, McFarlane, David wrote: >Yes, I am having trouble following you, don't >know if that's me or you, but I have trouble >following wordy expressions, perhaps if you could >find some way to reduce, simplify, & clarify your expression... > >As far as I can tell, what you want is trivial to >accomplish. You should already have your visual >monitoring "secondary" task log all the relevant >data, so you are all set there. For the >"primary" task, if you simply log a timestamp for >the first relevant event, and a timestamp for the >last relevant event, then you may simply subtract >to get the total elapsed time -- you may do that >from the data after the run, or with some >cleverness use inline code to compute and log >this directly to the .edat file. > >What am I missing? > >-- David McFarlane > > >At 11/21/2013 02:53 PM Thursday, Colton Perry wrote: > >That's a component of what I'm trying to do, but > >I think the main thing I'd like to accomplish is > >to be able to record both the RTs and accuracy > >to responses for the monitoring task while also > >recording the total time that the trial took > >place. Maybe I'm thinking about it the wrong > >way. It seems like it wouldn't be difficult to > >have a procedure that does one or the other, but > >I don't know how to get it to do both > >concurrently. It's important that all of the > >monitoring responses be tied to each particular > >text instruction because our goal is to measure > >the differences in accuracy and RT for the > >monitoring task as a result of the different primary tasks. > > > >I feel like I'm not being particularly clear, > >and I apologize for that. We have two tasks that > >we would like to be recorded. One is performance > >on the monitoring task, and one is total time > >for completion of the primary task. So a single > >"trial" is the onset of the text instructions to > >the keypress that terminates that set of > >instructions, and within that trial the visual > >monitoring task loops until the trial is over. > >I'm not sure how to get do the two things concurrently. > > > >Am I making this more complicated than it really is? > > > >On Thursday, November 21, 2013 1:28:56 PM UTC-6, McFarlane, David wrote: > >Do I understand correctly that your sticking > >point is only how to keep some constant text on > >the display throughout a series of stimuli & > >responses? If that's all, I have two solutions: > > > >1) The rookie way: Add the constant text to all > >of the stimulus displays -- either add the full > >literal text into each display, or put the text > >into an attribute and then use the same atribute > >reference in each display. You would most easily > >do this using Slides for your display objects. > > > >2) My preferred way: With judicious use of Frame > >Size and Position, and BackStyle Transparent, you > >may add the constant text to a place on the > >screen that just never gets covered up by subsequent stimuli. > > > >Good luck. > > > >----- > >David McFarlane > >E-Prime training > >online: > >< hology.msu.edu%2FWorkshops_Courses%2Feprime.aspx&sa=D&sntz=1&usg=AFQjCNHhJVD3mCfXKdywfB5AgKLPu1OSJg>http://www.google.com/url?q=http%3A%2F%2Fpsychology.msu.edu%2FWorkshops_Courses%2Feprime.aspx&sa=D&sntz=1&usg=AFQjCNHhJVD3mCfXKdywfB5AgKLPu1OSJg>http://psychology.msu.edu/Workshops_Courses/eprime.aspx > > > > >Twitter: @EPrimeMaster > >(< witter.com%2FEPrimeMaster&sa=D&sntz=1&usg=AFQjCNHlT7nwYBmELwRxV4Xn5GW-sG9EKw>https://www.google.com/url?q=https%3A%2F%2Ftwitter.com%2FEPrimeMaster&sa=D&sntz=1&usg=AFQjCNHlT7nwYBmELwRxV4Xn5GW-sG9EKw>https://twitter.com/EPrimeMaster > > >) > > > >/---- > >Stock reminder: 1) I do not work for PST. 2) > >PST's trained staff take any and all questions at > >< pport.pstnet.com&sa=D&sntz=1&usg=AFQjCNF5BfukPzW6lq7UCweMsMu7_9wJEQ>https://www.google.com/url?q=https%3A%2F%2Fsupport.pstnet.com&sa=D&sntz=1&usg=AFQjCNF5BfukPzW6lq7UCweMsMu7_9wJEQ>https://support.pstnet.com > > >, and they strive to > >respond to all requests in 24-48 hours, so make > >full use of it. 3) In addition, PST offers > >several instructional videos on their YouTube > >channel > >(<http://ww > w.youtube.com/user/PSTNET>http://www.youtube.com/user/PSTNET > >). 4) 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 11/21/2013 02:10 PM Thursday, Colton Perry wrote: > > >Hi all, I hope this isn't something I could have > > >easily figured out by a good Google search, I > > >just haven't been able to find the correct > > >search terms to get what I'm going for here. > > > > > >I'm trying to implement a design that's a bit > > >beyond my understanding (most of my experience > > >with e-prime has been mostly pretty > > >straight-forward linear presentation stuff). To > > >boil it down to a single trial, I'd like to > > >present a simple visual search/discrimination > > >task alongside a set of verbal instructions. So > > >for example, at the onset of a trial, a text > > >display would appear providing instructions for > > >a primary task to be performed outside of > > >e-prime (these tasks are performed on a > > >motorcycle infotainment system). A short time > > >after the onset of those instructions, the > > >visual discrimination task would begin. So, > > >leaving the instructions on the display, a > > >letter would appear. If this is a key letter, > > >the participant would respond with a key press > > >(well, a foot pedal mapped to a key press "b", > > >but a key press to Eprime). If it's not a key > > >letter, then the participant does nothing and > > >the letter disappears. The part I'm not sure how > > >to accomplish is that after they respond with a > > >key press, I need the discrimination task to > > >repeat itself on average every 5 seconds (so 5 ± > > >2s) while the text display with the instructions > > >remains the same. After the participant > > >completes the primary task on the motorcycle, a > > >researcher would then press a key to end the > > >trial and move on to the next set of instructions. > > > > > >So it would look something like this: > > > > > >Primary task instruction onset > > >--- key letter appears > foot pedal response > > > >key letter disappears, record RT > > >--- foil letter appears > no response > foil > > >letter disappears after a given time, record response if incorrect > > >--- repeat randomly > > >--- Primary task completed > research > presses key > record total trial time > > >Primary task instruction onset > > >etc. > > > > > >Does this make sense? Please let me know if I > > >need to provide more information. I'll keep > > >trying different things in the meantime. Most of > > >my experience with Eprime has been in the gui > > >interface rather than the inline commands, so > > >I'm pretty inexperienced on that end, but > I'm definitely willing to learn. > > > > > >Thanks in advance for your time, -- You received this message because you are subscribed 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/528e7a48.6801320a.1cce.2335SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From cjp872 at gmail.com Sat Nov 23 18:46:24 2013 From: cjp872 at gmail.com (Colton Perry) Date: Sat, 23 Nov 2013 10:46:24 -0800 Subject: Design that loops a visual discrimination task while waiting for keyboard input? In-Reply-To: <528e7a48.6801320a.1cce.2335SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thanks for the responses. I hate to have to ask something again, but I can't seem to find a specific discussion on list.terminate in the pst user forum (which is what I found when googling "E-basic help facility"). I think doing an in-line statement for If [code for keypress "b"], then list.terminate would work for what I'm trying to do as long as I could get a timestamp for that list.terminate action. I just haven't been able to find out what the conditional statement would be to accomplish that. I've tried a few things, but I'm pretty sure none of it is actually the proper syntax for e-basic. Thanks again for your help, I'll keep trying different things. On Thursday, November 21, 2013 3:25:14 PM UTC-6, McFarlane, David wrote: > > First, you may use inline code to take complete > control of List termination, see the > List.Terminate topic in the E-Basic Help > facility. You will need to combine that with some appropriate If-Then > logic. > > If you want to combine that with some secret > keypress from the researcher, then I would > recommend starting a Wait object at the start of > primary task. Set its Duration to 0 and add an > input mask for your secret handshake, set > Allowable to the secret key and Time Limit to > "(infinite)" (in my online course we do an > exercise that illustrates exactly this). Let's > call this object PrimaryWait, and suppose the > List for your secondary task is > SecondaryList. Then in inline code in the > appropriate Procedure, do something like > > If PrimaryWait.RTTime Then SecondaryList.Terminate > > (also see > https://groups.google.com/d/topic/e-prime/T5ThFkW8qF8 > for other ways to test for presence or absence of response). > > Note that this will terminate the List upon > completion of all the objects in the > Procedure. If needed, you might use a Goto to > skip to the end of the running Procedure, or use > techniques from > https://groups.google.com/d/topic/e-prime/e12W9DdgvrM > to Terminate with a set overall duration. > > Good luck. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > At 11/21/2013 03:59 PM Thursday, Colton Perry wrote: > >After playing around with a lot of it now, I > >think I can distill everything down to one > >question. Sorry for the confusion. I'm sure most > >of what I've got isn't the most elegant > >solution, but it will hopefully run the study in > >a fashion I can put together without too much extra help. > > > >The one thing I'm not sure how to do is this: > >How can I get a list to exit on keypress? The > >"Exit List" options are for after a certain > >amount of cycles or samples or seconds. I would > >just like the exit cue to be a simple keypress > >that the researcher could make when the > >participant completes the primary task. With the > >timestamps you mentioned, that would give us the > >timing we need for that component, and the > >monitoring task will be handled within each list. > > > >Sorry my thoughts are somewhat jumbled. > > > >On Thursday, November 21, 2013 2:39:46 PM UTC-6, McFarlane, David wrote: > >Yes, I am having trouble following you, don't > >know if that's me or you, but I have trouble > >following wordy expressions, perhaps if you could > >find some way to reduce, simplify, & clarify your expression... > > > >As far as I can tell, what you want is trivial to > >accomplish. You should already have your visual > >monitoring "secondary" task log all the relevant > >data, so you are all set there. For the > >"primary" task, if you simply log a timestamp for > >the first relevant event, and a timestamp for the > >last relevant event, then you may simply subtract > >to get the total elapsed time -- you may do that > >from the data after the run, or with some > >cleverness use inline code to compute and log > >this directly to the .edat file. > > > >What am I missing? > > > >-- David McFarlane > > > > > >At 11/21/2013 02:53 PM Thursday, Colton Perry wrote: > > >That's a component of what I'm trying to do, but > > >I think the main thing I'd like to accomplish is > > >to be able to record both the RTs and accuracy > > >to responses for the monitoring task while also > > >recording the total time that the trial took > > >place. Maybe I'm thinking about it the wrong > > >way. It seems like it wouldn't be difficult to > > >have a procedure that does one or the other, but > > >I don't know how to get it to do both > > >concurrently. It's important that all of the > > >monitoring responses be tied to each particular > > >text instruction because our goal is to measure > > >the differences in accuracy and RT for the > > >monitoring task as a result of the different primary tasks. > > > > > >I feel like I'm not being particularly clear, > > >and I apologize for that. We have two tasks that > > >we would like to be recorded. One is performance > > >on the monitoring task, and one is total time > > >for completion of the primary task. So a single > > >"trial" is the onset of the text instructions to > > >the keypress that terminates that set of > > >instructions, and within that trial the visual > > >monitoring task loops until the trial is over. > > >I'm not sure how to get do the two things concurrently. > > > > > >Am I making this more complicated than it really is? > > > > > >On Thursday, November 21, 2013 1:28:56 PM UTC-6, McFarlane, David > wrote: > > >Do I understand correctly that your sticking > > >point is only how to keep some constant text on > > >the display throughout a series of stimuli & > > >responses? If that's all, I have two solutions: > > > > > >1) The rookie way: Add the constant text to all > > >of the stimulus displays -- either add the full > > >literal text into each display, or put the text > > >into an attribute and then use the same atribute > > >reference in each display. You would most easily > > >do this using Slides for your display objects. > > > > > >2) My preferred way: With judicious use of Frame > > >Size and Position, and BackStyle Transparent, you > > >may add the constant text to a place on the > > >screen that just never gets covered up by subsequent stimuli. > > > > > >Good luck. > > > > > >----- > > >David McFarlane > > >E-Prime training > > >online: > > >< > hology.msu.edu > %2FWorkshops_Courses%2Feprime.aspx&sa=D&sntz=1&usg=AFQjCNHhJVD3mCfXKdywfB5AgKLPu1OSJg> > http://www.google.com/url?q=http%3A%2F%2Fpsychology.msu.edu%2FWorkshops_Courses%2Feprime.aspx&sa=D&sntz=1&usg=AFQjCNHhJVD3mCfXKdywfB5AgKLPu1OSJg > >http://psychology.msu.edu/Workshops_Courses/eprime.aspx > > > > > > > >Twitter: @EPrimeMaster > > >(< > witter.com > %2FEPrimeMaster&sa=D&sntz=1&usg=AFQjCNHlT7nwYBmELwRxV4Xn5GW-sG9EKw> > https://www.google.com/url?q=https%3A%2F%2Ftwitter.com%2FEPrimeMaster&sa=D&sntz=1&usg=AFQjCNHlT7nwYBmELwRxV4Xn5GW-sG9EKw > >https://twitter.com/EPrimeMaster > > > > >) > > > > > >/---- > > >Stock reminder: 1) I do not work for PST. 2) > > >PST's trained staff take any and all questions at > > >< > pport.pstnet.com > &sa=D&sntz=1&usg=AFQjCNF5BfukPzW6lq7UCweMsMu7_9wJEQ> > https://www.google.com/url?q=https%3A%2F%2Fsupport.pstnet.com&sa=D&sntz=1&usg=AFQjCNF5BfukPzW6lq7UCweMsMu7_9wJEQ > >https://support.pstnet.com > > > > >, and they strive to > > >respond to all requests in 24-48 hours, so make > > >full use of it. 3) In addition, PST offers > > >several instructional videos on their YouTube > > >channel > > >(<http://ww > > w.youtube.com/user/PSTNET>http://www.youtube.com/user/PSTNET > > >). 4) 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 11/21/2013 02:10 PM Thursday, Colton Perry wrote: > > > >Hi all, I hope this isn't something I could have > > > >easily figured out by a good Google search, I > > > >just haven't been able to find the correct > > > >search terms to get what I'm going for here. > > > > > > > >I'm trying to implement a design that's a bit > > > >beyond my understanding (most of my experience > > > >with e-prime has been mostly pretty > > > >straight-forward linear presentation stuff). To > > > >boil it down to a single trial, I'd like to > > > >present a simple visual search/discrimination > > > >task alongside a set of verbal instructions. So > > > >for example, at the onset of a trial, a text > > > >display would appear providing instructions for > > > >a primary task to be performed outside of > > > >e-prime (these tasks are performed on a > > > >motorcycle infotainment system). A short time > > > >after the onset of those instructions, the > > > >visual discrimination task would begin. So, > > > >leaving the instructions on the display, a > > > >letter would appear. If this is a key letter, > > > >the participant would respond with a key press > > > >(well, a foot pedal mapped to a key press "b", > > > >but a key press to Eprime). If it's not a key > > > >letter, then the participant does nothing and > > > >the letter disappears. The part I'm not sure how > > > >to accomplish is that after they respond with a > > > >key press, I need the discrimination task to > > > >repeat itself on average every 5 seconds (so 5 ± > > > >2s) while the text display with the instructions > > > >remains the same. After the participant > > > >completes the primary task on the motorcycle, a > > > >researcher would then press a key to end the > > > >trial and move on to the next set of instructions. > > > > > > > >So it would look something like this: > > > > > > > >Primary task instruction onset > > > >--- key letter appears > foot pedal response > > > > >key letter disappears, record RT > > > >--- foil letter appears > no response > foil > > > >letter disappears after a given time, record response if incorrect > > > >--- repeat randomly > > > >--- Primary task completed > research > > presses key > record total trial time > > > >Primary task instruction onset > > > >etc. > > > > > > > >Does this make sense? Please let me know if I > > > >need to provide more information. I'll keep > > > >trying different things in the meantime. Most of > > > >my experience with Eprime has been in the gui > > > >interface rather than the inline commands, so > > > >I'm pretty inexperienced on that end, but > > I'm definitely willing to learn. > > > > > > > >Thanks in advance for your time, > > -- You received this message because you are subscribed 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/26e25466-dbf5-4bcf-9854-7863cbf3107b%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From didem.pehlivanoglu at gmail.com Mon Nov 25 16:06:49 2013 From: didem.pehlivanoglu at gmail.com (Didem) Date: Mon, 25 Nov 2013 08:06:49 -0800 Subject: Comprising a new study list based on incorrect responses. In-Reply-To: <59729258-3594-45f3-bb9c-7b800d7b0a79@u32g2000yqe.googlegroups.com> Message-ID: Hello Noah, How did you deal with this problem? I have similar issue right now! On Monday, January 16, 2012 2:03:35 PM UTC-5, Noah Forrin wrote: > Hello, > > I'm an Eprime novice and would greatly appreciate any help! > > I'm programming a memory study as follows: > > Study List 1: Subjects study 40 words. > > Recognition List: Consistent of both studied and new words. Subjects > are instructed to press 'm' if the word was studied or 'c' if it's > new. > > Study List 2: Comprised only of incorrect responses to the Recognition > List items. > > So for each incorrect response on the Recognition List, I'd like that > word to be transfered over to Study List 2, which subjects will be > shown after the Recognition List is finished. > > Does anyone know how this last part (i.e., transferring a word from > one list to another following an incorrect response) could be > accomplished? > > Thanks, > Noah -- You received this message because you are subscribed 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/9a2444c0-c748-4655-8e07-709164e826d4%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tobias.fw at gmail.com Mon Nov 25 16:27:06 2013 From: tobias.fw at gmail.com (Tobias) Date: Mon, 25 Nov 2013 08:27:06 -0800 Subject: Timing issue with E-Prime 2.0.10.242 Message-ID: Dear all, I installed the most recent version of E-Prime ( 2.0.10.242) and tried to run an older Experiment that ran with E-Prime 2.0.8.90a. The program was updated and runs in principle, but the timing is very inaccurate. The duration of some slides is delayed so much you can actually see it with your bare eyes. Any setting I need to change here? Best, 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/64c12afa-456a-4675-904d-fffad9763d2f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From didem.pehlivanoglu at gmail.com Mon Nov 25 18:01:53 2013 From: didem.pehlivanoglu at gmail.com (Didem) Date: Mon, 25 Nov 2013 10:01:53 -0800 Subject: presenting unrecalled items. Message-ID: Hello, In my experiment, participants are shown with word pairs. Then, they are presented with the first words one at a time on the screen and asked to type its pair (second word) on the screen. If they can't remember, they press "enter" button to skip. The thing I am trying to do is to present the words which they skipped by pressing enter button in another list after this list is completed. In other words, second list should include only the words they skipped in the first list. This setup similar to your sample "rerun errors" in e-prime website but instead of errors I want to include no response trials. So I cannot use the script in that sample. Its (rerun errors)script is below: 'ErrorCount is used to keep track of the number of trials 'on which the response is incorrect. The total is then 'used to assign the number of samples to be run to repeat 'error trials. g_nErrorCount = 0 'On incorrect trials, write the current trial info to the 'RerunList object, which is run after TrialList. If Stim.ACC = 0 Then g_nErrorCount = g_nErrorCount + 1 If g_nErrorCount > 1 Then RerunList.AddLevel g_nErrorCount End If RerunList.SetWeight g_nErrorCount, 1 RerunList.SetProc g_nErrorCount, "RerunProc" RerunList.SetAttrib g_nErrorCount, "Stimulus", c.GetAttrib("Stimulus") RerunList.SetAttrib g_nErrorCount, "CorrectAnswer", c.GetAttrib("CorrectAnswer") End If 'If errors occur, run RerunList 'Set number of samples from ErrorCount If g_nErrorCount > 0 Then Set RerunList.TerminateCondition = Cycles(1) Set RerunList.ResetCondition = Samples(g_nErrorCount) RerunList.Reset Else 'No error trials to run GoTo EndOfBlock End If Can you help me with that? Thanks, Didem. -- You received this message because you are subscribed 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/d1322057-ccee-498a-8755-9c005043f9ab%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From francesco.biondi1 at gmail.com Mon Nov 25 19:13:43 2013 From: francesco.biondi1 at gmail.com (francesco biondi) Date: Mon, 25 Nov 2013 11:13:43 -0800 Subject: Sounds not played Message-ID: Hi All, I am designing an experiment in which I am presenting sounds to pp. I am using a SlideObject with a SoundOut object. In the Properties window of the SoundOut object I am supposed to specify the Filename of the file I want to use. If, as a Filename, I use the name of the file contained in the folder - eg,, AUDIO.wav, the experiment runs without any problem. But, as a Filename, I specify an attribute contained in the List - eg, [Sound], eprime does not present the audio file. (each and every cell within the Sound column contained in the List contains audio file names such as AUDIO.wav) Can anyone help me with this? -- You received this message because you are subscribed 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/eb504932-05d5-40b2-8631-9ca84c19378c%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cruz.gabriela at gmail.com Mon Nov 25 19:50:14 2013 From: cruz.gabriela at gmail.com (Gabriela Cruz) Date: Mon, 25 Nov 2013 11:50:14 -0800 Subject: Help displaying clock while participants perform 1-back task Message-ID: Hi, I would appreciate very much if someone can give me a hand with this. I have a 1-back task running and I want to display a clock on the screen every time participants press a key. I checked the example "CountDownClock" but the issue in my case is that I want the clock to run from the beginning to the end of the experiment independently of stimuli presented for the 1-back task. I guess it would have to be something like having a SlideText using half of the screen with a clock that starts running with the first stimulus of my 1-back experiment. This clock would only be visible if participants press a key, as I want to register every time they check the clock, the SlideText containing the clock has to accept multiple responses over the duration of the whole experiment (~30min). In the other half of the screen I'd have my 1-back task running, displaying stimulus every 2 seconds. Have anyone ever done something like this? Please any tip/suggestion or script sample will be more than welcome! All the best! Gaby -- You received this message because you are subscribed 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/7f460db3-4d45-4b9c-b905-01ef94d06e2e%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cruz.gabriela at gmail.com Mon Nov 25 19:54:33 2013 From: cruz.gabriela at gmail.com (Gabriela Cruz) Date: Mon, 25 Nov 2013 11:54:33 -0800 Subject: clock and echo problem In-Reply-To: <6913a982-a129-43bb-aba0-963e1f3b077d@googlegroups.com> Message-ID: Hi Jotapan, I need to do something similar with what you did, I guess... To display a clock for the entire slide presentation. Did you sorted it out? Do you a have a script sample that I could have a look at? Thank you very much! Gaby On Wednesday, September 5, 2012 2:53:28 AM UTC+1, jotapan wrote: > > Hi to all, > > I have been trying for some time to add a countdown clock display in my > programs that informs the participant on how long he(she) still has to > respond in a given task (e.g., during a slide presentation). I have > extensivelly looked in the forums for this information. I found a specific > post where 2 suggestions are presented (Displaying a countdown timer for > participants, originally posted on/ I was able to work around the script > /). I could not get the first suggestion to work... I was able to work > around the script provided in the e-prime countdown sample, although it is > not perfect; the countdown example deals with seconds and I need minutes. > So instead of having "lnCountTime = (lnEndTime - Clock.Read) / 1000", I > have lnCountTime = (lnEndTime - Clock.Read) / 60000. Not perfect but ok. > > However, I get an echo problem with this. I want the participant to be > able to see all the responses he(she) is providing throught the task and > them have them disappear when the program moves to the next slide. To get > the countdown clock to work I have to set the duration of the slide to 0. > If I set the "time limit" to "same as duration" it assumes the 0 duration > and so the echo is not displayed anymore... is there a way to add in the > inline a command to finish the echo when the time is up? > > Simply displaying a clock on the slide for the entire slide presentation > would work for me as well (instead of the countdown clock) and could help > solve the echo problem. Is there a simple way to get a clock being > displayed on a slide? > > I really appreciate all the help I can get on this. > > Jotapan > -- You received this message because you are subscribed 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/ab752a73-120b-4d53-bc97-c363347c5bd0%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Nov 25 22:11:30 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 25 Nov 2013 17:11:30 -0500 Subject: Design that loops a visual discrimination task while waiting for keyboard input? In-Reply-To: <26e25466-dbf5-4bcf-9854-7863cbf3107b@googlegroups.com> Message-ID: If you enable logging of the RTTime from the input mask that you use for terminating your List, then that should already be the timestamp that you want, and it requires no inline code at all (see the Logging tab of the Property Pages from the relevant object). Or am I still missing something? -- David McFarlane At 11/23/2013 01:46 PM Saturday, Colton Perry wrote: >Thanks for the responses. I hate to have to ask >something again, but I can't seem to find a >specific discussion on list.terminate in the pst >user forum (which is what I found when googling "E-basic help facility"). > >I think doing an in-line statement for If [code >for keypress "b"], then list.terminate would >work for what I'm trying to do as long as I >could get a timestamp for that list.terminate >action. I just haven't been able to find out >what the conditional statement would be to >accomplish that. I've tried a few things, but >I'm pretty sure none of it is actually the proper syntax for e-basic. > >Thanks again for your help, I'll keep trying different things. > >On Thursday, November 21, 2013 3:25:14 PM UTC-6, McFarlane, David wrote: >First, you may use inline code to take complete >control of List termination, see the >List.Terminate topic in the E-Basic Help >facility. You will need to combine that with some appropriate If-Then logic. > >If you want to combine that with some secret >keypress from the researcher, then I would >recommend starting a Wait object at the start of >primary task. Set its Duration to 0 and add an >input mask for your secret handshake, set >Allowable to the secret key and Time Limit to >"(infinite)" (in my online course we do an >exercise that illustrates exactly this). Let's >call this object PrimaryWait, and suppose the >List for your secondary task is >SecondaryList. Then in inline code in the >appropriate Procedure, do something like > > If PrimaryWait.RTTime Then SecondaryList.Terminate > >(also see >https://groups.google.com/d/topic/e-prime/T5ThFkW8qF8 > >for other ways to test for presence or absence of response). > >Note that this will terminate the List upon >completion of all the objects in the >Procedure. If needed, you might use a Goto to >skip to the end of the running Procedure, or use >techniques from >https://groups.google.com/d/topic/e-prime/e12W9DdgvrM > >to Terminate with a set overall duration. > >Good luck. > >----- >David McFarlane >E-Prime training >online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx > >Twitter: @EPrimeMaster >(https://twitter.com/EPrimeMaster >) > > >At 11/21/2013 03:59 PM Thursday, Colton Perry wrote: > >After playing around with a lot of it now, I > >think I can distill everything down to one > >question. Sorry for the confusion. I'm sure most > >of what I've got isn't the most elegant > >solution, but it will hopefully run the study in > >a fashion I can put together without too much extra help. > > > >The one thing I'm not sure how to do is this: > >How can I get a list to exit on keypress? The > >"Exit List" options are for after a certain > >amount of cycles or samples or seconds. I would > >just like the exit cue to be a simple keypress > >that the researcher could make when the > >participant completes the primary task. With the > >timestamps you mentioned, that would give us the > >timing we need for that component, and the > >monitoring task will be handled within each list. > > > >Sorry my thoughts are somewhat jumbled. > > > >On Thursday, November 21, 2013 2:39:46 PM UTC-6, McFarlane, David wrote: > >Yes, I am having trouble following you, don't > >know if that's me or you, but I have trouble > >following wordy expressions, perhaps if you could > >find some way to reduce, simplify, & clarify your expression... > > > >As far as I can tell, what you want is trivial to > >accomplish. You should already have your visual > >monitoring "secondary" task log all the relevant > >data, so you are all set there. For the > >"primary" task, if you simply log a timestamp for > >the first relevant event, and a timestamp for the > >last relevant event, then you may simply subtract > >to get the total elapsed time -- you may do that > >from the data after the run, or with some > >cleverness use inline code to compute and log > >this directly to the .edat file. > > > >What am I missing? > > > >-- David McFarlane > > > > > >At 11/21/2013 02:53 PM Thursday, Colton Perry wrote: > > >That's a component of what I'm trying to do, but > > >I think the main thing I'd like to accomplish is > > >to be able to record both the RTs and accuracy > > >to responses for the monitoring task while also > > >recording the total time that the trial took > > >place. Maybe I'm thinking about it the wrong > > >way. It seems like it wouldn't be difficult to > > >have a procedure that does one or the other, but > > >I don't know how to get it to do both > > >concurrently. It's important that all of the > > >monitoring responses be tied to each particular > > >text instruction because our goal is to measure > > >the differences in accuracy and RT for the > > >monitoring task as a result of the different primary tasks. > > > > > >I feel like I'm not being particularly clear, > > >and I apologize for that. We have two tasks that > > >we would like to be recorded. One is performance > > >on the monitoring task, and one is total time > > >for completion of the primary task. So a single > > >"trial" is the onset of the text instructions to > > >the keypress that terminates that set of > > >instructions, and within that trial the visual > > >monitoring task loops until the trial is over. > > >I'm not sure how to get do the two things concurrently. > > > > > >Am I making this more complicated than it really is? > > > > > >On Thursday, November 21, 2013 1:28:56 PM UTC-6, McFarlane, David wrote: > > >Do I understand correctly that your sticking > > >point is only how to keep some constant text on > > >the display throughout a series of stimuli & > > >responses? If that's all, I have two solutions: > > > > > >1) The rookie way: Add the constant text to all > > >of the stimulus displays -- either add the full > > >literal text into each display, or put the text > > >into an attribute and then use the same atribute > > >reference in each display. You would most easily > > >do this using Slides for your display objects. > > > > > >2) My preferred way: With judicious use of Frame > > >Size and Position, and BackStyle Transparent, you > > >may add the constant text to a place on the > > >screen that just never gets covered up by subsequent stimuli. > > > > > >Good luck. > > > > > >----- > > >David McFarlane > > >E-Prime training > > >online: > > ><< syc>http://www.google.com/url?q=http%3A%2F%2Fpsyc > > > hology.msu.edu%2FWorkshops_Courses%2Feprime.aspx&sa=D&sntz=1&usg=AFQjCNHhJVD3mCfXKdywfB5AgKLPu1OSJg>http://www.google.com/url?q=http%3A%2F%2Fpsychology.msu.edu%2FWorkshops_Courses%2Feprime.aspx&sa=D&sntz=1&usg=AFQjCNHhJVD3mCfXKdywfB5AgKLPu1OSJg>http://psychology.msu.edu/Workshops_Courses/eprime.aspx > > > > > > > > >Twitter: @EPrimeMaster > > >(<< 2Ft>https://www.google.com/url?q=https%3A%2F%2Ft > > > witter.com%2FEPrimeMaster&sa=D&sntz=1&usg=AFQjCNHlT7nwYBmELwRxV4Xn5GW-sG9EKw>https://www.google.com/url?q=https%3A%2F%2Ftwitter.com%2FEPrimeMaster&sa=D&sntz=1&usg=AFQjCNHlT7nwYBmELwRxV4Xn5GW-sG9EKw>https://twitter.com/EPrimeMaster > > > > > >) > > > > > >/---- > > >Stock reminder: 1) I do not work for PST. 2) > > >PST's trained staff take any and all questions at > > ><< Fsu>https://www.google.com/url?q=https%3A%2F%2Fsu > > > pport.pstnet.com&sa=D&sntz=1&usg=AFQjCNF5BfukPzW6lq7UCweMsMu7_9wJEQ>https://www.google.com/url?q=https%3A%2F%2Fsupport.pstnet.com&sa=D&sntz=1&usg=AFQjCNF5BfukPzW6lq7UCweMsMu7_9wJEQ>https://support.pstnet.com > > > > > >, and they strive to > > >respond to all requests in 24-48 hours, so make > > >full use of it. 3) In addition, PST offers > > >several instructional videos on their YouTube > > >channel > > >(<<http:/ > /www.youtube.com/user/PSTNET>http://ww > > > w.youtube.com/user/PSTNET>http://www.youtube.com/user/PSTNET > > > >). 4) 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 11/21/2013 02:10 PM Thursday, Colton Perry wrote: > > > >Hi all, I hope this isn't something I could have > > > >easily figured out by a good Google search, I > > > >just haven't been able to find the correct > > > >search terms to get what I'm going for here. > > > > > > > >I'm trying to implement a design that's a bit > > > >beyond my understanding (most of my experience > > > >with e-prime has been mostly pretty > > > >straight-forward linear presentation stuff). To > > > >boil it down to a single trial, I'd like to > > > >present a simple visual search/discrimination > > > >task alongside a set of verbal instructions. So > > > >for example, at the onset of a trial, a text > > > >display would appear providing instructions for > > > >a primary task to be performed outside of > > > >e-prime (these tasks are performed on a > > > >motorcycle infotainment system). A short time > > > >after the onset of those instructions, the > > > >visual discrimination task would begin. So, > > > >leaving the instructions on the display, a > > > >letter would appear. If this is a key letter, > > > >the participant would respond with a key press > > > >(well, a foot pedal mapped to a key press "b", > > > >but a key press to Eprime). If it's not a key > > > >letter, then the participant does nothing and > > > >the letter disappears. The part I'm not sure how > > > >to accomplish is that after they respond with a > > > >key press, I need the discrimination task to > > > >repeat itself on average every 5 seconds (so 5 ± > > > >2s) while the text display with the instructions > > > >remains the same. After the participant > > > >completes the primary task on the motorcycle, a > > > >researcher would then press a key to end the > > > >trial and move on to the next set of instructions. > > > > > > > >So it would look something like this: > > > > > > > >Primary task instruction onset > > > >--- key letter appears > foot pedal response > > > > >key letter disappears, record RT > > > >--- foil letter appears > no response > foil > > > >letter disappears after a given time, record response if incorrect > > > >--- repeat randomly > > > >--- Primary task completed > research > > presses key > record total trial time > > > >Primary task instruction onset > > > >etc. > > > > > > > >Does this make sense? Please let me know if I > > > >need to provide more information. I'll keep > > > >trying different things in the meantime. Most of > > > >my experience with Eprime has been in the gui > > > >interface rather than the inline commands, so > > > >I'm pretty inexperienced on that end, but > > I'm definitely willing to learn. > > > > > > > >Thanks in advance for your time, > >-- >You received this message because you are >subscribed 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/26e25466-dbf5-4bcf-9854-7863cbf3107b%40googlegroups.com. >For more options, visit >https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed 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/5293cb43.629a320a.1d9f.ffffc05cSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Mon Nov 25 22:17:22 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 25 Nov 2013 17:17:22 -0500 Subject: Sounds not played In-Reply-To: Message-ID: By any chance, are you using EP2.0.10 or later? If so, then see first http://www.pstnet.com/support/kb.asp?TopicID=3299 . ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/25/2013 02:13 PM Monday, francesco biondi wrote: >I am designing an experiment in which I am presenting sounds to pp. >I am using a SlideObject with a SoundOut object. > >In the Properties window of the SoundOut object I am supposed to >specify the Filename of the file I want to use. > >If, as a Filename, I use the name of the file contained in the >folder - eg,, AUDIO.wav, the experiment runs without any problem. > >But, as a Filename, I specify an attribute contained in the List - >eg, [Sound], eprime does not present the audio file. >(each and every cell within the Sound column contained in the List >contains audio file names such as AUDIO.wav) > >Can anyone help me with this? -- You received this message because you are subscribed 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/5293cc81.893d320a.2d22.ffffbfd9SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Mon Nov 25 22:21:50 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 25 Nov 2013 17:21:50 -0500 Subject: Unable to play sound files In-Reply-To: <1bbbea72-9e22-432d-a91c-0f9f462e573a@googlegroups.com> Message-ID: Ieva, This came up again just today at https://groups.google.com/d/topic/e-prime/IfXqfrtC3Xc . As I said there, if you use EP2.0.10 or later then first see http://www.pstnet.com/support/kb.asp?TopicID=3299 . ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/2/2013 04:33 PM Saturday, JACanterbury wrote: >i assume the sounds play fine by themselves in native windows? In >which case, have you run PST's 'codec config' utility program on the >machine that you want to run the experiment on? I don't have e-prime >to hand but I believe you need the file/render file option and >you're looking to get green ticks to indicate that all is well. > >John > >On Thursday, October 31, 2013 12:46:08 PM UTC, Ieva Zeromskaite wrote: > > >Hello, > >I am having problems with the loading of sound files. After showing >the instructions, neither the Slide Object (with a soundfile inside) >nor the SoundOut Object plays when I run the experiment. > >I checked that the soundfile names are correct, in the same file as >the eps file, procedure titles are correct too. There's something >wrong with the SoundBuffer, however, Eprime script doesn't say what exactly. > >Below is the script's copy : > >**** > >SoundOut1.ResetLoggingProperties > > Set SoundOut1SoundBuffer = SoundOut1.Buffers(1) > > SoundOut1SoundBuffer.Filename = c.GetAttrib(ebUCase_S & > ebLCase_o & ebLCase_u & ebLCase_n & ebLCase_d & ebUCase_F & > ebLCase_i & ebLCase_l & ebLCase_e) > > SoundOut1SoundBuffer.Load > > > > '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' > > ' Label - Procedure_Timeline_Start BEGIN > > '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' > > > >Procedure_Timeline_Start: > > If Err.Number = ebInputAccepted Then > > Err.Clear > > Resume Procedure_Timeline_StartResume > > ElseIf Err.Number <> 0 Then > >*** > > > >I would be grateful if anybody could help me with that. > >Thanks, > >Ieva -- You received this message because you are subscribed 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/5293cd8e.8570320a.0a3d.ffffc035SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From francesco.biondi at ymail.com Mon Nov 25 23:58:26 2013 From: francesco.biondi at ymail.com (francesco.biondi at ymail.com) Date: Mon, 25 Nov 2013 16:58:26 -0700 Subject: Sounds not played In-Reply-To: <5293cc81.893d320a.2d22.ffffbfd9SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: David, No the E-Studio version is the 2.0.1.96 and the E-Prime version is 2.0.1.119 On Mon, Nov 25, 2013 at 3:17 PM, David McFarlane wrote: > By any chance, are you using EP2.0.10 or later? If so, then see first > http://www.pstnet.com/support/kb.asp?TopicID=3299 . > > ----- > 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) PST's trained staff take > any and all questions at https://support.pstnet.com , and they strive to > respond to all requests in 24-48 hours, so make full use of it. 3) In > addition, PST offers several instructional videos on their YouTube channel ( > http://www.youtube.com/user/PSTNET ). 4) 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 11/25/2013 02:13 PM Monday, francesco biondi wrote: > >> I am designing an experiment in which I am presenting sounds to pp. >> I am using a SlideObject with a SoundOut object. >> >> In the Properties window of the SoundOut object I am supposed to specify >> the Filename of the file I want to use. >> >> If, as a Filename, I use the name of the file contained in the folder - >> eg,, AUDIO.wav, the experiment runs without any problem. >> >> But, as a Filename, I specify an attribute contained in the List - eg, >> [Sound], eprime does not present the audio file. >> (each and every cell within the Sound column contained in the List >> contains audio file names such as AUDIO.wav) >> >> Can anyone help me with this? >> > > -- > 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/IfXqfrtC3Xc/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/5293cc81.893d320a.2d22.ffffbfd9SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/groups/opt_out. > -- *- - - - - - - - - - - - - - - - - - - - - - - - - - * *Francesco Biondi* *PhD student in Cognitive Science* http://colab.psy.unipd.it/people-detail.php?ID=3650 -- You received this message because you are subscribed 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/CAFNoCau-nq8p9taK9DHi0Sy-5mP6VVmZABz2rX6gAmcGRO0dzQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From didem.pehlivanoglu at gmail.com Tue Nov 26 17:35:31 2013 From: didem.pehlivanoglu at gmail.com (Didem) Date: Tue, 26 Nov 2013 09:35:31 -0800 Subject: creating Rerun List for no response items-count inline for no reponse items Message-ID: Hello, In my study, I show participants a list of words and ask them to recall and type their pairs on the screen. If they can't remember, they can skip that trial without typing and using "enter" key which leads no response for that trial. For those trials which they skipped and gave no response (the items that they cannot recall), I need an inline which writes the current trial information to the RerunList object, which will run after Trial List. I found a sample experiment which reruns errors. It has an inline to keep track of the number of trials on which the response is incorrect-> g_nErrorCount = 0. By defining this errorcount, they were able to write an inline to show the current trial information to the RerunList object, which is run after TrialList. So in the same way, I think that I need to keep track of the number of no response trials in my study to rerun them. Is this logic right? And if count command is necessary, my question is that what should be my inline statement to count no response trials in the inline? For example, looking at sample inline, can I use g_nNullCount=0 to count number of no response trials? Specifically, I think I don't how to call no response in inline (e.g., Null, " ", Space). Thanks, Didem. -- You received this message because you are subscribed 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/d5e51e2a-3cfa-4e0f-ac3f-06fb6e584593%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Nov 26 19:28:44 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 26 Nov 2013 14:28:44 -0500 Subject: Unable to play sound files In-Reply-To: <5293cd8e.8570320a.0a3d.ffffc035SMTPIN_ADDED_MISSING@gmr-mx .google.com> Message-ID: Oops, sorry I intruded on this old thread (I was responding to an old message still in my in box). I see now that JACanterbury already solved this by steering the OP to use Codec Config. -- David McFarlane At 11/25/2013 05:21 PM Monday, David McFarlane wrote: >Ieva, > >This came up again just today at >https://groups.google.com/d/topic/e-prime/IfXqfrtC3Xc . As I said >there, if you use EP2.0.10 or later then first see >http://www.pstnet.com/support/kb.asp?TopicID=3299 . > >----- >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) PST's trained staff >take any and all questions at https://support.pstnet.com , and they >strive to respond to all requests in 24-48 hours, so make full use >of it. 3) In addition, PST offers several instructional videos on >their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/2/2013 04:33 PM Saturday, JACanterbury wrote: >>i assume the sounds play fine by themselves in native windows? In >>which case, have you run PST's 'codec config' utility program on >>the machine that you want to run the experiment on? I don't have >>e-prime to hand but I believe you need the file/render file option >>and you're looking to get green ticks to indicate that all is well. >> >>John >> >>On Thursday, October 31, 2013 12:46:08 PM UTC, Ieva Zeromskaite wrote: >> >> >>Hello, >> >>I am having problems with the loading of sound files. After showing >>the instructions, neither the Slide Object (with a soundfile >>inside) nor the SoundOut Object plays when I run the experiment. >> >>I checked that the soundfile names are correct, in the same file as >>the eps file, procedure titles are correct too. There's something >>wrong with the SoundBuffer, however, Eprime script doesn't say what exactly. >> >>Below is the script's copy : >> >>**** >> >>SoundOut1.ResetLoggingProperties >> >> Set SoundOut1SoundBuffer = SoundOut1.Buffers(1) >> >> SoundOut1SoundBuffer.Filename = c.GetAttrib(ebUCase_S & >> ebLCase_o & ebLCase_u & ebLCase_n & ebLCase_d & ebUCase_F & >> ebLCase_i & ebLCase_l & ebLCase_e) >> >> SoundOut1SoundBuffer.Load >> >> >> >> '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' >> >> ' Label - Procedure_Timeline_Start BEGIN >> >> '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' >> >> >> >>Procedure_Timeline_Start: >> >> If Err.Number = ebInputAccepted Then >> >> Err.Clear >> >> Resume Procedure_Timeline_StartResume >> >> ElseIf Err.Number <> 0 Then >> >>*** >> >> >> >>I would be grateful if anybody could help me with that. >> >>Thanks, >> >>Ieva -- You received this message because you are subscribed 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/5294f67c.629a320a.1d9f.ffffe69fSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Tue Nov 26 19:31:46 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 26 Nov 2013 14:31:46 -0500 Subject: Sounds not played In-Reply-To: Message-ID: Francesco, Wow, that is an old EP2 version. I understand the reluctance of many labs to move up to the latest version of EP2 because of how it significantly breaks with earlier versions, but you should consider moving at least up to 2.0.8.90, as it adds several improvements and fixes to the earlier versions. The thread at https://groups.google.com/d/topic/e-prime/ptt8Z08BUhA used Codec Config to fix a similar problem, but I do not think that your version includes that. -- David McFarlane At 11/25/2013 06:58 PM Monday, francesco.biondi at ...com wrote: >David, > >No > >the E-Studio version is the 2.0.1.96 >and the E-Prime version is 2.0.1.119 > > >On Mon, Nov 25, 2013 at 3:17 PM, David McFarlane ><mcfarla9 at msu.edu> wrote: >By any chance, are you using EP2.0.10 or later? If so, then see >first >http://www.pstnet.com/support/kb.asp?TopicID=3299 >. > >----- >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) PST's trained staff >take any and all questions at >https://support.pstnet.com , and they >strive to respond to all requests in 24-48 hours, so make full use >of it. 3) In addition, PST offers several instructional videos on >their YouTube channel >(http://www.youtube.com/user/PSTNET >). 4) 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 11/25/2013 02:13 PM Monday, francesco biondi wrote: >I am designing an experiment in which I am presenting sounds to pp. >I am using a SlideObject with a SoundOut object. > >In the Properties window of the SoundOut object I am supposed to >specify the Filename of the file I want to use. > >If, as a Filename, I use the name of the file contained in the >folder - eg,, AUDIO.wav, the experiment runs without any problem. > >But, as a Filename, I specify an attribute contained in the List - >eg, [Sound], eprime does not present the audio file. >(each and every cell within the Sound column contained in the List >contains audio file names such as AUDIO.wav) > >Can anyone help me with this? > > >-- > >-- >- - - - - - - - - - - - - - - - - - - - - - - - - - >Francesco Biondi >PhD student in Cognitive Science >http://colab.psy.unipd.it/people-detail.php?ID=3650 -- You received this message because you are subscribed 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/5294f732.2cdd320a.5a56.ffffe5a5SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From didem.pehlivanoglu at gmail.com Wed Nov 27 00:12:21 2013 From: didem.pehlivanoglu at gmail.com (Didem) Date: Tue, 26 Nov 2013 16:12:21 -0800 Subject: no-response=inaccuracy Message-ID: Hello, E-prime data file gives accuracy as 0 both for incorrect and no-response (if participant just skip that trial without answering) answers. My question is that is there any way to assign a different accuracy value for no response trials instead of 0 or to find out no-response trials while programming an experiment? 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/255c106c-b96b-4a43-b370-2afae4672477%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Wed Nov 27 04:13:53 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 26 Nov 2013 23:13:53 -0500 Subject: no-response=inaccuracy In-Reply-To: <255c106c-b96b-4a43-b370-2afae4672477@googlegroups.com> Message-ID: This gets asked a lot. What did you find when you Googled something like "e-prime correct no response"? -- David McFarlane Didem wrote: > E-prime data file gives accuracy as 0 both for incorrect and no-response > (if participant just skip that trial without answering) answers. > My question is that is there any way to assign a different accuracy > value for no response trials instead of 0 or to find out no-response > trials while programming an experiment? > > 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/52957181.8050503%40msu.edu. For more options, visit https://groups.google.com/groups/opt_out. From didem.pehlivanoglu at gmail.com Wed Nov 27 17:27:13 2013 From: didem.pehlivanoglu at gmail.com (Didem) Date: Wed, 27 Nov 2013 09:27:13 -0800 Subject: no-response=inaccuracy In-Reply-To: <52957181.8050503@msu.edu> Message-ID: The thing I want to separate no response trials from correct and incorrect trials and I don't know if there is any way to do it? On Tuesday, November 26, 2013 11:13:53 PM UTC-5, McFarlane, David wrote: > > This gets asked a lot. What did you find when you Googled something > like "e-prime correct no response"? > > -- David McFarlane > > > Didem wrote: > > E-prime data file gives accuracy as 0 both for incorrect and no-response > > (if participant just skip that trial without answering) answers. > > My question is that is there any way to assign a different accuracy > > value for no response trials instead of 0 or to find out no-response > > trials while programming an experiment? > > > > 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/c5040ab9-2175-4981-9d5f-183f733066f4%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Wed Nov 27 19:22:14 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 27 Nov 2013 14:22:14 -0500 Subject: no-response=inaccuracy In-Reply-To: Message-ID: OK, in that case, please see the thread at https://groups.google.com/d/topic/e-prime/T5ThFkW8qF8 , which includes a discussion of how to test for presence or absence of response. (I could not come up with a good way to Google that thread, if anyone else does please let me know.) From there it's a matter of using the result of that test to steer your inline code to produce the appropriate score. -- David McFarlane At 11/27/2013 12:27 PM Wednesday, Didem wrote: >The thing I want to separate no response trials from correct and >incorrect trials and I don't know if there is any way to do it? > >On Tuesday, November 26, 2013 11:13:53 PM UTC-5, McFarlane, David wrote: >This gets asked a lot. What did you find when you Googled something >like "e-prime correct no response"? > >-- David McFarlane > > >Didem wrote: > > E-prime data file gives accuracy as 0 both for incorrect and no-response > > (if participant just skip that trial without answering) answers. > > My question is that is there any way to assign a different accuracy > > value for no response trials instead of 0 or to find out no-response > > trials while programming an experiment? > > > > 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/52964677.8570320a.0a3d.0c3eSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From francesco.biondi at ymail.com Wed Nov 27 21:18:11 2013 From: francesco.biondi at ymail.com (francesco.biondi at ymail.com) Date: Wed, 27 Nov 2013 14:18:11 -0700 Subject: Sounds not played In-Reply-To: <5294f732.2cdd320a.5a56.ffffe5a5SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: > > > The thread at https://groups.google.com/d/topic/e-prime/ptt8Z08BUhA used > Codec Config to fix a similar problem, but I do not think that your version > includes that. > > Yes, you re right. Does anyone have any suggestions? > > > -- David McFarlane > > > > At 11/25/2013 06:58 PM Monday, francesco.biondi at ...com wrote: > >> David, >> >> No >> >> the E-Studio version is the 2.0.1.96 >> and the E-Prime version is 2.0.1.119 >> >> >> On Mon, Nov 25, 2013 at 3:17 PM, David McFarlane <> mcfarla9 at msu.edu>mcfarla9 at msu.edu> wrote: >> By any chance, are you using EP2.0.10 or later? If so, then see first < >> http://www.pstnet.com/support/kb.asp?TopicID=3299>ht >> tp://www.pstnet.com/support/kb.asp?TopicID=3299 . >> >> ----- >> David McFarlane >> E-Prime training online: > Workshops_Courses/eprime.aspx>http://psychology.msu.edu/ >> Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster ( >> https://twitter.com/EPrimeMaster ) >> >> /---- >> Stock reminder: 1) I do not work for PST. 2) PST's trained staff take >> any and all questions at ht >> tps://support.pstnet.com , and they strive to respond to all requests in >> 24-48 hours, so make full use of it. 3) In addition, PST offers several >> instructional videos on their YouTube channel (< >> http://www.youtube.com/user/PSTNET>http://www.youtube.com/user/PSTNET ). >> 4) 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 11/25/2013 02:13 PM Monday, francesco biondi wrote: >> I am designing an experiment in which I am presenting sounds to pp. >> I am using a SlideObject with a SoundOut object. >> >> In the Properties window of the SoundOut object I am supposed to specify >> the Filename of the file I want to use. >> >> If, as a Filename, I use the name of the file contained in the folder - >> eg,, AUDIO.wav, the experiment runs without any problem. >> >> But, as a Filename, I specify an attribute contained in the List - eg, >> [Sound], eprime does not present the audio file. >> (each and every cell within the Sound column contained in the List >> contains audio file names such as AUDIO.wav) >> >> Can anyone help me with this? >> >> >> -- >> >> -- >> - - - - - - - - - - - - - - - - - - - - - - - - - - >> Francesco Biondi >> PhD student in Cognitive Science >> http >> ://colab.psy.unipd.it/people-detail.php?ID=3650 >> > > -- > 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/IfXqfrtC3Xc/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/5294f732.2cdd320a.5a56.ffffe5a5SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/groups/opt_out. > -- *- - - - - - - - - - - - - - - - - - - - - - - - - - * *Francesco Biondi* *PhD student in Cognitive Science* http://colab.psy.unipd.it/people-detail.php?ID=3650 -- You received this message because you are subscribed 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/CAFNoCavJ%2BF6pjnmFaFJ-iRau3tegWuuEw3W%2ByHxXtOLWH_N_tg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From francesco.biondi at ymail.com Wed Nov 27 22:28:09 2013 From: francesco.biondi at ymail.com (francesco.biondi at ymail.com) Date: Wed, 27 Nov 2013 15:28:09 -0700 Subject: Sounds not played In-Reply-To: <5294f732.2cdd320a.5a56.ffffe5a5SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Is updating to a newer version free? Thanks for your precious support On Tue, Nov 26, 2013 at 12:31 PM, David McFarlane wrote: > Francesco, > > Wow, that is an old EP2 version. I understand the reluctance of many labs > to move up to the latest version of EP2 because of how it significantly > breaks with earlier versions, but you should consider moving at least up to > 2.0.8.90, as it adds several improvements and fixes to the earlier > versions. The thread at https://groups.google.com/d/ > topic/e-prime/ptt8Z08BUhA used Codec Config to fix a similar problem, but > I do not think that your version includes that. > > -- David McFarlane > > > > At 11/25/2013 06:58 PM Monday, francesco.biondi at ...com wrote: > >> David, >> >> No >> >> the E-Studio version is the 2.0.1.96 >> and the E-Prime version is 2.0.1.119 >> >> >> On Mon, Nov 25, 2013 at 3:17 PM, David McFarlane <> mcfarla9 at msu.edu>mcfarla9 at msu.edu> wrote: >> By any chance, are you using EP2.0.10 or later? If so, then see first < >> http://www.pstnet.com/support/kb.asp?TopicID=3299>ht >> tp://www.pstnet.com/support/kb.asp?TopicID=3299 . >> >> ----- >> David McFarlane >> E-Prime training online: > Workshops_Courses/eprime.aspx>http://psychology.msu.edu/ >> Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster ( >> https://twitter.com/EPrimeMaster ) >> >> /---- >> Stock reminder: 1) I do not work for PST. 2) PST's trained staff take >> any and all questions at ht >> tps://support.pstnet.com , and they strive to respond to all requests in >> 24-48 hours, so make full use of it. 3) In addition, PST offers several >> instructional videos on their YouTube channel (< >> http://www.youtube.com/user/PSTNET>http://www.youtube.com/user/PSTNET ). >> 4) 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 11/25/2013 02:13 PM Monday, francesco biondi wrote: >> I am designing an experiment in which I am presenting sounds to pp. >> I am using a SlideObject with a SoundOut object. >> >> In the Properties window of the SoundOut object I am supposed to specify >> the Filename of the file I want to use. >> >> If, as a Filename, I use the name of the file contained in the folder - >> eg,, AUDIO.wav, the experiment runs without any problem. >> >> But, as a Filename, I specify an attribute contained in the List - eg, >> [Sound], eprime does not present the audio file. >> (each and every cell within the Sound column contained in the List >> contains audio file names such as AUDIO.wav) >> >> Can anyone help me with this? >> >> >> -- >> >> -- >> - - - - - - - - - - - - - - - - - - - - - - - - - - >> Francesco Biondi >> PhD student in Cognitive Science >> http >> ://colab.psy.unipd.it/people-detail.php?ID=3650 >> > > -- > 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/IfXqfrtC3Xc/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/5294f732.2cdd320a.5a56.ffffe5a5SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/groups/opt_out. > -- *- - - - - - - - - - - - - - - - - - - - - - - - - - * *Francesco Biondi* *PhD student in Cognitive Science* http://colab.psy.unipd.it/people-detail.php?ID=3650 -- You received this message because you are subscribed 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/CAFNoCavP57i3KqVvvZ_1n0%3DMHRvyNmV9LkqAYJukunz0WNDnjQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Fri Nov 29 11:12:25 2013 From: mspape at cognitology.eu (Cognitology) Date: Fri, 29 Nov 2013 13:12:25 +0200 Subject: Sounds not played In-Reply-To: <5294f732.2cdd320a.5a56.ffffe5a5SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi Francesco, David, Surely it's not a bug with the older E-prime, right? (and yes, minor - .x - updates are almost always free) I thought it's more likely that the filename is not correct. What's the exact error message? Check to make sure that the filenames in the list are correct - a common problem is that the list has "audio1.wav " rather than "audio1.wav". Try with Debug.print "playing:" & c.getattrib("sound") & "." That way you'll spot any leading spaces and such that are difficult to see from just looking at the list. You can compare the debug.print from this output to the output you get if you just fill in the filename - they should be the same. Hope that helps. Best, Michiel -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of David McFarlane Sent: 26. November 2013 21:32 To: e-prime at googlegroups.com Subject: Re: Sounds not played Francesco, Wow, that is an old EP2 version. I understand the reluctance of many labs to move up to the latest version of EP2 because of how it significantly breaks with earlier versions, but you should consider moving at least up to 2.0.8.90, as it adds several improvements and fixes to the earlier versions. The thread at https://groups.google.com/d/topic/e-prime/ptt8Z08BUhA used Codec Config to fix a similar problem, but I do not think that your version includes that. -- David McFarlane At 11/25/2013 06:58 PM Monday, francesco.biondi at ...com wrote: >David, > >No > >the E-Studio version is the 2.0.1.96 >and the E-Prime version is 2.0.1.119 > > >On Mon, Nov 25, 2013 at 3:17 PM, David McFarlane ><mcfarla9 at msu.edu> wrote: >By any chance, are you using EP2.0.10 or later? If so, then see first >http://www.pstnet.co >m/support/kb.asp?TopicID=3299 >. > >----- >David McFarlane >E-Prime training >online: >http://psychol >ogy.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster >(https://twitter.com/EPrimeMaster ) > >/---- >Stock reminder: 1) I do not work for PST. 2) PST's trained staff take >any and all questions at >https://support.pstnet.com , and they >strive to respond to all requests in 24-48 hours, so make full use of >it. 3) In addition, PST offers several instructional videos on their >YouTube channel >(http://www.youtube.com/user/PSTNET >). 4) 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 11/25/2013 02:13 PM Monday, francesco biondi wrote: >I am designing an experiment in which I am presenting sounds to pp. >I am using a SlideObject with a SoundOut object. > >In the Properties window of the SoundOut object I am supposed to >specify the Filename of the file I want to use. > >If, as a Filename, I use the name of the file contained in the folder - >eg,, AUDIO.wav, the experiment runs without any problem. > >But, as a Filename, I specify an attribute contained in the List - eg, >[Sound], eprime does not present the audio file. >(each and every cell within the Sound column contained in the List >contains audio file names such as AUDIO.wav) > >Can anyone help me with this? > > >-- > >-- >- - - - - - - - - - - - - - - - - - - - - - - - - - Francesco Biondi >PhD student in Cognitive Science >http://colab.psy.u >nipd.it/people-detail.php?ID=3650 -- You received this message because you are subscribed 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/5294f732.2cdd320a.5a56.ffffe5a5SMT PIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed 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/01a801ceecf3%24e2c7dc40%24a85794c0%24%40eu. For more options, visit https://groups.google.com/groups/opt_out. From gusunny1 at gmail.com Fri Nov 1 02:03:05 2013 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Fri, 1 Nov 2013 10:03:05 +0800 Subject: 2 slides equal to one time duration In-Reply-To: <5272b74d.2cdd320a.7803.0516SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Dear David McFarlane? I'm totally agree with you that we need to be precise. I just understand what you mean and my origianl problem is due to my confusion for the meaning of all these kinds of time. I need to work hard to make these name familiar to me. Thanks. All my best, Sally 2013/11/1 David McFarlane > Glad you found that useful. > > Hope I understand your question... Let's see, we have > > BSlide.Duration = 2500 - ASlide.RT > > and since RT = (ASlide.RTTime - ASlide.OnsetTime), that is the same as > > BSlide.Duration = 2500 - (ASlide.RTTime - ASlide.OnsetTime) > > which is not all that different from > > > BSlide.Duration = 2500 - (Clock.Read - ASlide.OnsetTime) > > So the difference is slight. But here's the deal. The goal here is to > make BSlide end precisely 2500 ms after the onset of ASlide. Some small > time may pass between ASlide.RTTime and the time when BSlide starts, and if > that happens then if you base BSlide.Duration on ASlide.RTTime then the > Duration will be a little too long and that will make the full time of > ASlide + BSlide longer than intended. Using the Clock.Read in code > immediately before BSlide should give you a closer estimate of the Duration > needed for BSlide, but even here, any delay between the computation of > BSlide.Duration and when BSlide actually starts running will result in > Duration being just a little too long. May not be enough to matter, but > why not be more exact if we can? > > So I advise *against* doing things this way just because of the > complications of all these little delays. Instead, my main advice of using > SetNextTargetOnsetTime along with Cumulative timing mode avoids these > complications, and used properly, can result in precise timing. > > > ----- > 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) PST's trained staff take > any and all questions at https://support.pstnet.com , and they strive to > respond to all requests in 24-48 hours, so make full use of it. 3) In > addition, PST offers several instructional videos on their YouTube channel ( > http://www.youtube.com/user/**PSTNET ). 4) 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 10/30/2013 11:03 PM Wednesday, =?GB2312?B?vKrP6cjn0uI=?= wrote: > >> Dear David McFarlane??? >> >> I have tried your suggestion, it really works and it's quite simple >> compared with what I performed before as : BSlide.Duration=2500-ASlide.**RT, >> and one more question, why you use 2500 - (Clock.Read - ASlide.OnsetTime). >> Thanks a lot. >> >> >> 2013/10/22 David McFarlane <mcfa**rla9 at msu.edu >> > >> >> Just for the record, I need to correct a bit of my advice here. Earlier, >> I said that using >> >> SetNextTargetOnsetTime ASlide.OnsetTime >> >> between ASlide and BSlide would make the total duration from the start of >> ASlide to the end of BSlide equal the specified Duration of BSlide (in this >> case, 2500 ms). But I neglected to say that, for this to work, you must >> also set BSlide to use Cumulative timing mode. This works because, in >> Cumulative timing mode, the TargetOnset time for whatever follows BSlide >> will be based on the TargetOnsetTime of BSlide (instead of actual >> OnsetTime), and BSlide.TargetOnsetTime will come from the >> NextTargetOnsetTime implied in the code above. I generally like this >> approach because it eliminates any errors due to delays in starting BSlide. >> >> Furthermore, the line of code above makes the total duration of ASlide + >> BSlide act like Event timing mode (think it through). If you want that to >> instead act like Cumulative timing mode, then that line should read >> >> SetNextTargetOnsetTime ASlide.TargetOnsetTime >> >> i.e., use .TargetOnsetTime instead of just .OnsetTime. >> >> >> If you stubbornly insist on keeping BSlide set to Event timing mode, then >> the TargetOnset time for whatever follows BSlide will be based on the >> actual OnsetTime of BSlide, and you have no recourse but to manipulate the >> Duration of BSlide. In that case, your inline code between ASlide and >> BSlide should look more like >> >> BSlide.Duration = 2500 - (Clock.Read - ASlide.OnsetTime) >> >> or if you prefer, >> >> c.SetAttrib "BSlideDuration", 2500 - (Clock.Read - ASlide.OnsetTime) >> >> and then use "[BSlideDuration]" as an attribute reference for the >> Duration of BSlide (see comments on assigning object properties directly in >> code vs. via attribute reference at > topic/e-prime/dWpfjk-BeLs >> >http**s://groups.google.com/d/topic/**e-prime/dWpfjk-BeLsand < >> https://groups.google.com/d/**topic/e-prime/g1Fv2CGaSeg >> >http**s://groups.google.com/d/topic/**e-prime/g1Fv2CGaSeg). >> >> >> Manipulating Duration (instead of NextTargetOnsetTime) also means that >> the actual duration of BSlide (and ASlide + BSlide) will vary depending on >> any delays in starting BSlide, but maybe that is what you want. >> >> >> ----- >> David McFarlane >> E-Prime training online: > Workshops_Courses/eprime.aspx >> >**http://psychology.msu.edu/**Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster ( >> >https://twitter.**com/EPrimeMaster ) >> >> /---- >> Stock reminder: 1) I do not work for PST. 2) PST's trained staff take >> any and all questions at ht** >> tps://support.pstnet.com , and they strive >> to respond to all requests in 24-48 hours, so make full use of it. 3) In >> addition, PST offers several instructional videos on their YouTube channel >> ( >> >http://www.youtube.com/**user/PSTNET). 4) 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 10/14/2013 02:22 PM Monday, David McFarlane wrote: >> Not sure I follow your description of the problem. But let's suppose you >> have two Slides in your Procedure, let's call them ASlide and BSlide. >> ASlide takes a response, and the Procedure moves on to present BSlide >> whenever ASlide gets a response, or 2000 ms, whichever comes first. And >> you want the total duration for ASlide & BSlide to be 2500 ms, i.e., BSlide >> should last for 2500 - (ASlide_actual_duration). >> >> There are many ways to skin this cat. My favorite method goes as >> follows. Set the Duration of BSlide to 2500, and in an Inline between >> ASlide and BSlide, do the following: >> >> SetNextTargetOnsetTime ASlide.OnsetTime >> >> That's all! Understanding how this works takes some deeper understanding >> of E-Prime timing models & mechanisms, more than I can go into here, but >> look at the SetNextTargetOnsetTime topic in the E-Basic Help facility. But >> in short, with that bit of code, BSlide will use the actual OnsetTime from >> ASlide in order to compute its own ending time, and so will end at 2500 ms >> from the OnsetTime of ASlide, whithout you having to do anything more. >> Presto! >> >> ----- >> David McFarlane >> E-Prime training online: > Workshops_Courses/eprime.aspx >> >**http://psychology.msu.edu/**Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster ( >> >https://twitter.**com/EPrimeMaster ) >> >> /---- >> Stock reminder: 1) I do not work for PST. 2) PST's trained staff take >> any and all questions at ht** >> tps://support.pstnet.com , and they strive >> to respond to all requests in 24-48 hours, so make full use of it. 3) In >> addition, PST offers several instructional videos on their YouTube channel >> ( >> >http://www.youtube.com/**user/PSTNET). 4) 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 10/8/2013 10:00 PM Tuesday, Kim Goodyear wrote: >> I am trying to have two sequential slides that are equal to one time >> duration of 2500 ms. The first slide and the second slide are completely >> identical, except in the second slide the text color changes to red so that >> the participant can see their selection, I want the first slide to >> terminate and then have the second slide come up so that they both equal >> the same 2500 ms. Since the response time will vary I don't know how to >> make both slides equal to the same 2500. I don't know why, but if the >> buttons aren't selected right away, the total duration is around 5000, or >> if there is a delay in the response, the total duration is around 4200. I >> am not sure how to fix this issue, any advice would be great. Here is my >> inline script: >> >> Dim ResetSlide as integer >> Dim x as integer >> >> ResetSlide = StimDisplay.Duration + StimDisplay2.Duration >> ResetSlide = x >> x = 2500 >> > > -- > You received this message because you are subscribed 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@**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/5272b74d.**2cdd320a.7803.0516SMTPIN_** > ADDED_MISSING%40gmr-mx.google.**com > . > > For more options, visit https://groups.google.com/**groups/opt_out > . > -- You received this message because you are subscribed 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/CAJO0WNYoGjdcw_mVh0w2kwD5FM_3jAMo9Mdj43KVrr3ju%2BX07w%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nxplasmid at gmail.com Sat Nov 2 17:40:31 2013 From: nxplasmid at gmail.com (Mark Burlingame) Date: Sat, 2 Nov 2013 10:40:31 -0700 Subject: After update, stimulus wont play if video is rotated 180 degrees Message-ID: Hello Everyone, I am an MRI tech at UCSF and we present stimulus via eprime, presentation, and Matlab. The monitor is view via a mirror so we have flip the image upsidedown so it displays properly. Unfortunately when I upgraded from an older installation of eprime 2 to service pack 1 .353 build irrc, the scripts start and the patient number and information can be entered, but the "ready" or instruction screens don't display when I have the image inverted using the diplay driver settings. I have tried it with both Nvidia and AMD graphics cards and drivers. The scripts run just fine if I don't invert the image. Of course, they need to be inverted to work for our studies. Any help would be greatly appreciated. thanks, Mark -- You received this message because you are subscribed 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/56a5bd00-dbf4-4ba2-9af9-2cf4ba31653a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacanterbury at gmail.com Sat Nov 2 21:33:50 2013 From: jacanterbury at gmail.com (JACanterbury) Date: Sat, 2 Nov 2013 14:33:50 -0700 Subject: Unable to play sound files In-Reply-To: <9ec58a36-4200-4985-8e1c-a9998203c34c@googlegroups.com> Message-ID: i assume the sounds play fine by themselves in native windows? In which case, have you run PST's 'codec config' utility program on the machine that you want to run the experiment on? I don't have e-prime to hand but I believe you need the file/render file option and you're looking to get green ticks to indicate that all is well. John On Thursday, October 31, 2013 12:46:08 PM UTC, Ieva Zeromskaite wrote: > > > > Hello, > > I am having problems with the loading of sound files. After showing the > instructions, neither the Slide Object (with a soundfile inside) nor the > SoundOut Object plays when I run the experiment. > > I checked that the soundfile names are correct, in the same file as the > eps file, procedure titles are correct too. There's something wrong with > the SoundBuffer, however, Eprime script doesn't say what exactly. > > Below is the script's copy : > > **** > > SoundOut1.ResetLoggingProperties > > Set SoundOut1SoundBuffer = SoundOut1.Buffers(1) > > SoundOut1SoundBuffer.Filename = c.GetAttrib(ebUCase_S & ebLCase_o & > ebLCase_u & ebLCase_n & ebLCase_d & ebUCase_F & ebLCase_i & ebLCase_l & > ebLCase_e) > > SoundOut1SoundBuffer.Load > > > > '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' > > ' Label - Procedure_Timeline_Start BEGIN > > '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' > > > > Procedure_Timeline_Start: > > If Err.Number = ebInputAccepted Then > > Err.Clear > > Resume Procedure_Timeline_StartResume > > ElseIf Err.Number <> 0 Then > > *** > > > > I would be grateful if anybody could help me with that. > > Thanks, > > Ieva > -- You received this message because you are subscribed 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/1bbbea72-9e22-432d-a91c-0f9f462e573a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From xusihua80 at gmail.com Mon Nov 4 02:47:46 2013 From: xusihua80 at gmail.com (sihua xu) Date: Mon, 4 Nov 2013 10:47:46 +0800 Subject: how to define an array Message-ID: Dear all I am having problems with the definition of the array and assign the value in the e-prime, for example, I want to define two arrays. the first one including 36 units and values and the second one including 12 units and values. we should get one value randomly from each array, and then stop the program by comparing the size of them. my main question is how to define the array including 36 or 12 units, how to get the value from the array randomly and compare them? the two arrays as follows: a[36] ={2,3,4,5,6,7,8,9,10,11,12,4,5,6,7,8,9,10,5,6,7,8,9,5,6,7,8,9,6,7,8,4,5,6,7,8} b[12] = {12,7,8,2,6,3,9,10,4,5,11,9,10,11,12} I would be grateful if anybody could help me with that thanks Sihua Xu PhD Department of psychology Sun Yat-Sen University Guangzhou, 510275 P. R. China -- You received this message because you are subscribed 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/CAPEBGuZ1_p6CvL43-B6720CnppEsVi0P2j4Gn5W5AXNN9kjKow%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Mon Nov 4 03:23:08 2013 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Mon, 4 Nov 2013 11:23:08 +0800 Subject: how to define an array In-Reply-To: Message-ID: Dear, you should defiine the array one by one like this, a(1)=2 a(2)=3 and you can random the array use the arrayrandomize method. then you can get a random number use random method ,then randomizearray a t=random(1,ubound(a)) a(t) is what you want. Hope this help. 2013/11/4 sihua xu > Dear all > I am having problems with the definition of the array and assign the > value in the e-prime, for example, I want to define two arrays. the first > one including 36 units and values and the second one including 12 units > and values. we should get one value randomly from each array, and then > stop the program by comparing the size of them. > my main question is how to define the array including 36 or 12 units, how > to get the value from the array randomly and compare them? > the two arrays as follows: > a[36] > ={2,3,4,5,6,7,8,9,10,11,12,4,5,6,7,8,9,10,5,6,7,8,9,5,6,7,8,9,6,7,8,4,5,6,7,8} > b[12] = {12,7,8,2,6,3,9,10,4,5,11,9,10,11,12} > > I would be grateful if anybody could help me with that > thanks > > > > > Sihua Xu > > PhD > Department of psychology > Sun Yat-Sen University > Guangzhou, 510275 > P. R. China > > -- > You received this message because you are subscribed 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/CAPEBGuZ1_p6CvL43-B6720CnppEsVi0P2j4Gn5W5AXNN9kjKow%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAJO0WNZ4bd_ntp1%3D21JPwpTmdhJfDMfT5SzHEAZwBUOZFt%2BEmQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nebizzy at gmail.com Mon Nov 4 13:32:45 2013 From: nebizzy at gmail.com (Ieva Zeromskaite) Date: Mon, 4 Nov 2013 05:32:45 -0800 Subject: Unable to play sound files In-Reply-To: <9ec58a36-4200-4985-8e1c-a9998203c34c@googlegroups.com> Message-ID: Thank you so much for your answer, I tried and everything works perfectly now! Thank you:) Ieva -- You received this message because you are subscribed 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/ef2ee091-4bfd-40d0-ada9-5f1ed8ee118c%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nxplasmid at gmail.com Mon Nov 4 20:16:41 2013 From: nxplasmid at gmail.com (Mark Burlingame) Date: Mon, 4 Nov 2013 12:16:41 -0800 Subject: After update, stimulus wont play if video is rotated 180 degrees In-Reply-To: <56a5bd00-dbf4-4ba2-9af9-2cf4ba31653a@googlegroups.com> Message-ID: Just to clarify, the scripts run just fine if the display driver does have the display image inverted 180 degrees, and is happening on both a pc with an AMD video card, and one with an Nvidia video card, so it's not video driver related, or at least not a specific video driver release issue. Mark On Saturday, November 2, 2013 10:40:31 AM UTC-7, Mark Burlingame wrote: > > Hello Everyone, > I am an MRI tech at UCSF and we present stimulus via eprime, > presentation, and Matlab. The monitor is view via a mirror so we have flip > the image upsidedown so it displays properly. Unfortunately when I > upgraded from an older installation of eprime 2 to service pack 1 .353 > build irrc, the scripts start and the patient number and information can be > entered, but the "ready" or instruction screens don't display when I have > the image inverted using the diplay driver settings. I have tried it with > both Nvidia and AMD graphics cards and drivers. The scripts run just fine > if I don't invert the image. Of course, they need to be inverted to work > for our studies. Any help would be greatly appreciated. thanks, Mark > -- You received this message because you are subscribed 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/ac11816e-c32d-4ff7-8094-07da6f0ec493%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Eric at ericwalden.net Mon Nov 4 21:32:57 2013 From: Eric at ericwalden.net (Eric at ericwalden.net) Date: Mon, 4 Nov 2013 13:32:57 -0800 Subject: terminate current list Message-ID: I am trying to figure out how to terminate the currently running list on a certain key press. I can get the currently running list with c.GetAttribute("Running"). I can use the list name as a variable in the list as [Running]. What I need is code that basically does this: if DsiplayProductInfoSlide.ACC = 1 then c.GetAttribute("Running").terminate however, c.GetAttribute("Running") is the string name of the running list not the running list itself. If I run if DsiplayProductInfoSlide.ACC = 1 then List1.terminates then it works fine. However, I have many lists and I need it to automatically terminate the current one. -- You received this message because you are subscribed 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/1cee53cc-755e-4173-8f3c-dfd9bbb97637%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nxplasmid at gmail.com Mon Nov 4 22:47:38 2013 From: nxplasmid at gmail.com (Mark Burlingame) Date: Mon, 4 Nov 2013 14:47:38 -0800 Subject: After update, stimulus wont play if video is rotated 180 degrees In-Reply-To: <56a5bd00-dbf4-4ba2-9af9-2cf4ba31653a@googlegroups.com> Message-ID: I figured it out, just in case someone hits the same issue. There is a display setting under the edit/experiments/devices/display/edit there is a toggle "Flipping enabled" that must be toggled to yes. Mark On Saturday, November 2, 2013 10:40:31 AM UTC-7, Mark Burlingame wrote: > > Hello Everyone, > I am an MRI tech at UCSF and we present stimulus via eprime, > presentation, and Matlab. The monitor is view via a mirror so we have flip > the image upsidedown so it displays properly. Unfortunately when I > upgraded from an older installation of eprime 2 to service pack 1 .353 > build irrc, the scripts start and the patient number and information can be > entered, but the "ready" or instruction screens don't display when I have > the image inverted using the diplay driver settings. I have tried it with > both Nvidia and AMD graphics cards and drivers. The scripts run just fine > if I don't invert the image. Of course, they need to be inverted to work > for our studies. Any help would be greatly appreciated. thanks, Mark > -- You received this message because you are subscribed 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/d308c09c-0db0-412b-9511-d17e110b9871%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From joanna.e.lewis at gmail.com Mon Nov 4 23:13:31 2013 From: joanna.e.lewis at gmail.com (Joanna Lewis) Date: Mon, 4 Nov 2013 15:13:31 -0800 Subject: Horizontal Display Line Issue Message-ID: Hello everyone! I'm running a flicker paradigm in e-prime that utilizes millisecond timing for the alternating displays. One is a screen of black dots on a white background (one disappears every other flicker), the other display is gray scale full screen noise mask. *When the two flicker, there is a horizontal line that appears near the top of the screen*. We have tried to account for the screen updating cycles, but I can't seem to figure out why the issue persists. Here are more specifications. LED monitor Refresh rate: 60 hz Display 1: 250 ms onset sync: vertical blank Offset: None Display 2: 83 ms onset sync: vertical blank Offset: None Displays lengths were chosen based on 1000/60=16.667, and 16.667*5 =83.35 and 16.667*15=250 I'm at a dead end and am asking you if there is something I can do or it's not possible at this speed of presentation. Thank you for any ideas Joanna -- You received this message because you are subscribed 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/ad5f39c5-a00c-404e-af52-7c700b86ff5c%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacanterbury at gmail.com Tue Nov 5 13:38:19 2013 From: jacanterbury at gmail.com (JACanterbury) Date: Tue, 5 Nov 2013 05:38:19 -0800 Subject: Unable to play sound files In-Reply-To: Message-ID: you're welcome - it's nice to be able to provide an answer - normally I'm the one asking the questions :) On Monday, November 4, 2013 1:32:45 PM UTC, Ieva Zeromskaite wrote: > > Thank you so much for your answer, I tried and everything works perfectly > now! > > Thank you:) > > Ieva > -- You received this message because you are subscribed 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/15cfe39e-a7a7-46f4-9009-d7716fc9203a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Tue Nov 5 15:19:21 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Tue, 5 Nov 2013 16:19:21 +0100 Subject: terminate current list In-Reply-To: <1cee53cc-755e-4173-8f3c-dfd9bbb97637@googlegroups.com> Message-ID: I think I grabbed this from the E_Basic manual some time ago: Dim theList As List Set theList = CList(Rte.GetObject(c.GetAttrib("Running"))) If Not theList Is Nothing Then theList.Terminate End If Paul On 4 November 2013 22:32, Eric at ericwalden.net wrote: > I am trying to figure out how to terminate the currently running list on a > certain key press. I can get the currently running list with > c.GetAttribute("Running"). I can use the list name as a variable in the > list as [Running]. What I need is code that basically does this: > > if DsiplayProductInfoSlide.ACC = 1 then c.GetAttribute("Running").terminate > > however, c.GetAttribute("Running") is the string name of the running list > not the running list itself. > > If I run if DsiplayProductInfoSlide.ACC = 1 then List1.terminates > > then it works fine. However, I have many lists and I need it to > automatically terminate the current one. > > -- > You received this message because you are subscribed 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/1cee53cc-755e-4173-8f3c-dfd9bbb97637%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAKAdR-v%2BJ6doFk_FGHOaeZ96MBau1K_MOT7JykCbMxfGTusvog%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Tue Nov 5 15:41:15 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Tue, 5 Nov 2013 16:41:15 +0100 Subject: Horizontal Display Line Issue In-Reply-To: Message-ID: Are the pre-release times set to 'same as duration'? And is flipping enabled' set to yes (in the display device properties)? Paul On 5 November 2013 00:13, Joanna Lewis wrote: > Hello everyone! > > I'm running a flicker paradigm in e-prime that utilizes millisecond timing > for the alternating displays. One is a screen of black dots on a white > background (one disappears every other flicker), the other display is gray > scale full screen noise mask. *When the two flicker, there is a > horizontal line that appears near the top of the screen*. We have tried > to account for the screen updating cycles, but I can't seem to figure out > why the issue persists. Here are more specifications. > > LED monitor > Refresh rate: 60 hz > Display 1: 250 ms > > onset sync: vertical blank Offset: None > > Display 2: 83 ms > > onset sync: vertical blank Offset: None > > > Displays lengths were chosen based on 1000/60=16.667, and 16.667*5 =83.35 > and 16.667*15=250 > > I'm at a dead end and am asking you if there is something I can do or it's > not possible at this speed of presentation. Thank you for any ideas > > Joanna > > -- > You received this message because you are subscribed 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/ad5f39c5-a00c-404e-af52-7c700b86ff5c%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAKAdR-t49q2JJXLh%3DdTx74jgtzPKzDe103Aoo78-QGfHdrmTQg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Nov 5 15:53:38 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 5 Nov 2013 10:53:38 -0500 Subject: terminate current list In-Reply-To: Message-ID: Also covered at https://groups.google.com/d/topic/e-prime/D1Zdx9DVB6M , where this gets reduced to the single line CList( Rte.GetObject( c.GetAttrib("Running") ) ).Terminate -- David McFarlane At 11/5/2013 10:19 AM Tuesday, Paul Groot wrote: >I think I grabbed this from the E_Basic manual some time ago: > >Dim theList As List >Set theList = CList(Rte.GetObject(c.GetAttrib("Running"))) >If Not theList Is Nothing Then >theList.Terminate >End If > >Paul > > >On 4 November 2013 22:32, >Eric at ericwalden.net ><Eric at ericwalden.net> wrote: >I am trying to figure out how to terminate the currently running >list on a certain key press. I can get the currently running list >with c.GetAttribute("Running"). I can use the list name as a >variable in the list as [Running]. What I need is code that >basically does this: > >if DsiplayProductInfoSlide.ACC = 1 then c.GetAttribute("Running").terminate > >however, c.GetAttribute("Running") is the string name of the running >list not the running list itself. > >If I run if DsiplayProductInfoSlide.ACC = 1 then List1.terminates > >then it works fine. However, I have many lists and I need it to >automatically terminate the current one. -- You received this message because you are subscribed 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/52791485.0286320a.2f9c.3363SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Tue Nov 5 16:11:07 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 5 Nov 2013 11:11:07 -0500 Subject: how to define an array In-Reply-To: Message-ID: Sihua, Judging from your example, I take it that you have a background in C/C++, which has an elegant way of initializing arrays in code. Standard VBA might include a similar (though more clumsy) mechanism, but that has been left out of E-Basic. So as the previous respondant says, you just need to assign each array element in turn with its own assignment statement. Of course you also need to first declare your arrays, thus, Dim a(1 to 36) as Integer ' use explicit array bounds to reduce confusion Dim b(1 to 12) as Integer a(1) = 2 a(2) = 3 ... b(1) = 12 b(2) = 7 ... and if you like you can collapse that using the colon statement separator, Dim a(1 to 36) as Integer ' use explicit array bounds to reduce confusion Dim b(1 to 12) as Integer a(1) = 2: a(2) = 3: ... b(1) = 12: b(2) = 7: ... but it is still clumsy and ugly no matter how you do it. This is really elementary VBA programming, so for more info I recommend an intro VBA programming book such as "VBA for Dummies". If it were me, I might instead use a List for initializing and randomizing, but that is more than I can go into here. ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/3/2013 10:23 PM Sunday, gorgeous yayuan geng wrote: >Dear, > >you should defiine the array one by one like this, a(1)=2 a(2)=3 >and you can random the array use the arrayrandomize method. then you >can get a random number use random method ,then >randomizearray a >t=random(1,ubound(a)) >a(t) is what you want. >Hope this help. > > >2013/11/4 sihua xu <xusihua80 at gmail.com> >Dear all > I am having problems with the definition of the array and > assign the value in the e-prime, for example, I want to define two > arrays. the first one including 36 units and values and the second > one including 12 units and values. we should get one value > randomly from each array, and then stop the program by comparing > the size of them. >my main question is how to define the array including 36 or 12 >units, how to get the value from the array randomly and compare them? >the two arrays as follows: >a[36] >={2,3,4,5,6,7,8,9,10,11,12,4,5,6,7,8,9,10,5,6,7,8,9,5,6,7,8,9,6,7,8,4,5,6,7,8} >b[12] = {12,7,8,2,6,3,9,10,4,5,11,9,10,11,12} > >I would be grateful if anybody could help me with that >thanks > > > > >Sihua Xu > >PhD >Department of psychology >Sun Yat-Sen University >Guangzhou, 510275 >P. R. China -- You received this message because you are subscribed 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/5279189e.0286320a.2f9c.3430SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From fesais at gmail.com Tue Nov 5 16:53:39 2013 From: fesais at gmail.com (Fernanda Sais) Date: Tue, 5 Nov 2013 16:53:39 +0000 Subject: Varying filename not found error - but it was working before Message-ID: Hi, I am running a form discrimination paradigm that uses four different targets. To do that, I used an Slide and referenced the Sub-object property pages to an attribute on a Trial list. So, in the Filename I just wrote [Target], which was referencing to the Target column on my Trial list. In that column I wrote the names of the png figures used in each type of trial. That was working well in my previous experiment, but now I have to change the types of trials and the names of the png files I use. I just deleted the old names and typed the new ones, but now E-prime cannot find the files anymore. The Advisor says that The `SlideName` object uses an [attribute] referece for its Filename property and the resolved value cannot be found on disk. I am sure I have the correct filenames on the attribute list. Anyone knows what might have happend? I have no idea of what might be causing this. Thank you for any help! Best wishes, Fernanda -- You received this message because you are subscribed 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/CAB6VT_hkRQ7Jyy27H9COK-cS8BSqEK_vRsE1XBs9O86aaghfxA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mateoleganes at gmail.com Tue Nov 5 18:34:23 2013 From: mateoleganes at gmail.com (Mateo Leganes Fonteneau) Date: Tue, 5 Nov 2013 10:34:23 -0800 Subject: Flicker Message-ID: Dear all. I'm a beginner user of E-prime. I'm trying to implement a flicker task and I'm finding some problems programming the inline object. I already consulted all the previous posts regarding this topic and tried different commands to perform this task without success. The point is to present 4 stimuli in a loop. E1a and E1b present a change, and the loop should continue until the change on E1b is detected and space bar pressed. Label1 mask1 E1a mask E1b Inline Label2 Endtask I placed the Inline item after E1b, I chose a select a SelectCase command: *Select Case E1b.RESP* * Case 1 * * GoTo Label2 * * Case Else * * GoTo Label1* *End Select* When running the script an error of typing is shown. Can someone tell me how to solve this problem? I am specifying on E1b which is the input I'm waiting for (Space), that's right? Thanks a lot. -- You received this message because you are subscribed 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/1515cbe7-a5da-4892-94ab-52bd3b4f2678%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Nov 5 19:20:32 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 5 Nov 2013 14:20:32 -0500 Subject: Flicker In-Reply-To: <1515cbe7-a5da-4892-94ab-52bd3b4f2678@googlegroups.com> Message-ID: Thanks first for looking through past posts, and for laying out your Procedure structure here. Just a reminder, also make sure to work through all the tutorials in the Guides that come with E-Prime. First, your error message -- that results because .RESP returns a String value, and in your Case you compare that to the Integer value 1. Strings and Integers are different types, hence the error. In order to make that work, you need a String value for your Case, e.g., Select Case E1b.RESP Case "1" ' i.e., a String consisting of the "1" character GoTo Label2 Case Else GoTo Label1 End Select But why stop the lesson there? First, Select Case seems a lot of bother for this simple case -- if the subject does not respond then the program should loop back, otherwise it should just continue. You could accomplish that with merely If (E1b.RESP <> "1") Then Goto Label1 as long as you use the response "1" to indicate that the subject detects the change. But your message says that they press the space bar. In that case, the code should read If (E1b.RESP <> "{SPACE}") Then Goto Label1 or, if you set Allowable on E1b to "{SPACE}", you could also use If (E1b.RESP = "") Then Goto Label1 or even If (E1b.RTTime = 0) Then Goto Label1 or, if you also set Correct to "{SPACE}", then If (E1b.ACC = 0) Then Goto Label1 to detect absence of response. Hope that helps. ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/5/2013 01:34 PM Tuesday, Mateo Leganes Fonteneau wrote: >Dear all. > >I'm a beginner user of E-prime. > >I'm trying to implement a flicker task and I'm finding some problems >programming the inline object. >I already consulted all the previous posts regarding this topic and >tried different commands to perform this task without success. > >The point is to present 4 stimuli in a loop. E1a and E1b present a >change, and the loop should continue until the change on E1b is >detected and space bar pressed. > > >Label1 >mask1 >E1a >mask >E1b >Inline >Label2 >Endtask > >I placed the Inline item after E1b, I chose a select a SelectCase command: > >Select Case E1b.RESP > Case 1 > GoTo Label2 > Case Else > GoTo Label1 >End Select > >When running the script an error of typing is shown. > >Can someone tell me how to solve this problem? >I am specifying on E1b which is the input I'm waiting for (Space), >that's right? > >Thanks a lot. -- You received this message because you are subscribed 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/52794542.629a320a.1a7d.3987SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From joanna.e.lewis at gmail.com Tue Nov 5 22:15:38 2013 From: joanna.e.lewis at gmail.com (Joanna Lewis) Date: Tue, 5 Nov 2013 14:15:38 -0800 Subject: Horizontal Display Line Issue In-Reply-To: Message-ID: Paul Our pre-release was at 33 ms, but the issue was flipping was not enabled. That solved it, thank you!! Additional issue: Has anyone has run into the issue with the flicker paradigm occasionally not registering a keystroke response and continuing with the loop (sometimes take multiple response to register and quit the loop) and if so, how did you fix it? Joanna On Tuesday, November 5, 2013 10:41:15 AM UTC-5, Paul Groot wrote: > > > Are the pre-release times set to 'same as duration'? > And is flipping enabled' set to yes (in the display device properties)? > > Paul > > > > On 5 November 2013 00:13, Joanna Lewis > > wrote: > >> Hello everyone! >> >> I'm running a flicker paradigm in e-prime that utilizes millisecond >> timing for the alternating displays. One is a screen of black dots on a >> white background (one disappears every other flicker), the other display is >> gray scale full screen noise mask. *When the two flicker, there is a >> horizontal line that appears near the top of the screen*. We have tried >> to account for the screen updating cycles, but I can't seem to figure out >> why the issue persists. Here are more specifications. >> >> LED monitor >> Refresh rate: 60 hz >> Display 1: 250 ms >> >> onset sync: vertical blank Offset: None >> >> Display 2: 83 ms >> >> onset sync: vertical blank Offset: None >> >> >> Displays lengths were chosen based on 1000/60=16.667, and 16.667*5 =83.35 >> and 16.667*15=250 >> >> I'm at a dead end and am asking you if there is something I can do or >> it's not possible at this speed of presentation. Thank you for any ideas >> >> Joanna >> >> -- >> You received this message because you are subscribed 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/ad5f39c5-a00c-404e-af52-7c700b86ff5c%40googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed 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/d6081db6-27c8-493e-9103-d9678a0f4185%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mateoleganes at gmail.com Tue Nov 5 23:00:04 2013 From: mateoleganes at gmail.com (Mateo Leganes Fonteneau) Date: Tue, 5 Nov 2013 15:00:04 -0800 Subject: Flicker In-Reply-To: <1515cbe7-a5da-4892-94ab-52bd3b4f2678@googlegroups.com> Message-ID: Works perfectly. Thank you very much for the good explanation! > > > > > -- You received this message because you are subscribed 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/e6bd7a23-89b7-4409-b2a3-27716b1a2631%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vaccaro.mg at gmail.com Wed Nov 6 22:05:57 2013 From: vaccaro.mg at gmail.com (Maria Grazia Vaccaro) Date: Wed, 6 Nov 2013 23:05:57 +0100 Subject: help me_thank you Message-ID: Hello, Can you help me?? Thank you... my english is very bad :-) "We are applying a cognitive task developed in Eprime 2.0. Each trial has the following structure: a 1.5 s - fixation cross (no response button enabled) and 3 s-video (with a response button enabled for certain trials). Given that the Eprime key belongs to the university and we are allowed to use it temporarily for task development and installation only, we are actually running the experiment without the key. The problem is that while applying the task, itsometimes stops running unexpectedly, without any apparent reason. This does not occur every time we run the task or in the same time frame, but sporadically, with no specific pattern. This problem, however, is happening more frequently in the last days.. I am wondering if anybody has an idea of what might be happening." -- *D.ssa M. G. Vaccaro* *Division of Neurology* *"Magna Graecia" University of Catanzaro (Italy)* *Research Assistant of Neuroimaging* *Psychotherapist* *Forensic Psychologist* Visitings Scientist http://meg.ctb.upm.es/members/visiting/vaccaro (Espa?a) -- You received this message because you are subscribed 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/CALN0_Ww11tzJJTH_%2B%3DUrV0gy00XRVhOEseS2EzxJCk%3Dk60yO7w%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From xusihua80 at gmail.com Fri Nov 8 02:15:18 2013 From: xusihua80 at gmail.com (sihua xu) Date: Fri, 8 Nov 2013 10:15:18 +0800 Subject: how to get the value from the array randomly Message-ID: Hello everyone I know how to define the array with the help of David and sally, and I get the value randomly according to way that they told me, but actually, I found the program do not get the value of the array randomly and i do not know the reason. I want to achieve the purpose of the following to get one value from each array and decide to end or continue the program by comparing the size of the value from the two arrays. the script example just as follows dim a(1 to 4) as integer dim b (1 to 3) as integer dim c as integer dim d as integer dim randompik as integer a(1) = 6 a(2) = 3 a(3) = 7 a(4) = 2 b(1) = 2 b(2)= 6 b(3) = 4 c = random(a(1), a(4)) d = random(b(1), b(3)) if c>d then randompik = 1 else randompik =2 end if I would be grateful if anybody could help me to find the reason why it can not achieve my purpose and modify that thanks Sihua Xu -- You received this message because you are subscribed 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/CAPEBGua-jvwneLC-Rm3hwr78RAL-29APeGQbJWE9H%2B5RadHt_Q%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From xusihua80 at gmail.com Fri Nov 8 03:01:58 2013 From: xusihua80 at gmail.com (sihua xu) Date: Fri, 8 Nov 2013 11:01:58 +0800 Subject: how to get the value from the array randomly Message-ID: Hello everyone I know how to define the array with the help of David and sally, and I get the value randomly according to way that they told me, but actually, I found the program do not get the value of the array randomly and i do not know the reason. I want to achieve the purpose of the following to get one value from each array and decide to end or continue the program by comparing the size of the value from the two arrays. the script example just as follows dim a(1 to 4) as integer dim b (1 to 3) as integer dim c as integer dim d as integer dim randompik as integer a(1) = 6 a(2) = 3 a(3) = 7 a(4) = 2 b(1) = 2 b(2)= 6 b(3) = 4 c = random(a(1), a(4)) d = random(b(1), b(3)) if c>d then randompik = 1 else randompik =2 end if I would be grateful if anybody could help me to find the reason why it can not achieve my purpose and modify that Sihua Xu -- You received this message because you are subscribed 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/CAPEBGuZKEQU9_P_o67iyLcPMhvy%2BYiMOQYVExDW27EXVKh2aGQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Fri Nov 8 03:21:48 2013 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Fri, 8 Nov 2013 11:21:48 +0800 Subject: how to get the value from the array randomly In-Reply-To: Message-ID: Dear Sihua, c = random(a(1), a(4)) . I think this code is the reason. You originally want to get a random number from 6,3,7,2,which is in the array a, but your code is to select a value randomly from 6 to 2, which means you get a random value from 2,3,4,5,6. and I wonder if you can successfully complie the code since random function needs the first parameter as min, the second parameter as max. so I would recommend that you get a random value from 1,2,3,4 .I'd better give you codes: t=random(1,4) c=a(t); s=random(1,3) d=b(s) 2013/11/8 sihua xu > Hello everyone > > I know how to define the array with the help of David and sally, and I > get the value randomly according to way that they told me, but actually, I > found the program do not get the value of the array randomly and i do not > know the reason. > I want to achieve the purpose of the following > to get one value from each array and decide to end or continue the > program by comparing the size of the value from the two arrays. the script > example just as follows > dim a(1 to 4) as integer > dim b (1 to 3) as integer > dim c as integer > dim d as integer > dim randompik as integer > a(1) = 6 > a(2) = 3 > a(3) = 7 > a(4) = 2 > b(1) = 2 > b(2)= 6 > b(3) = 4 > c = random(a(1), a(4)) > d = random(b(1), b(3)) > if c>d then > randompik = 1 > else randompik =2 > end if > > I would be grateful if anybody could help me to find the reason why it can > not achieve my purpose and modify that > > > Sihua Xu > > -- > You received this message because you are subscribed 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/CAPEBGuZKEQU9_P_o67iyLcPMhvy%2BYiMOQYVExDW27EXVKh2aGQ%40mail.gmail.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAJO0WNZ-t8oQ_HCLq84YJSf0Xdy7Bzq%2B7y_zjAA9rSRkZ75OJg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Fri Nov 8 13:01:37 2013 From: mspape at cognitology.eu (Cognitology) Date: Fri, 8 Nov 2013 15:01:37 +0200 Subject: Psychonomics Message-ID: Hi, If anyone is also going to the Psychonomic Society Annual Meeting and feeling social: I am there on Friday morning with my poster, number 2123. Cheers, Michiel -- You received this message because you are subscribed 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/033201cedc82%24a9074c10%24fb15e430%24%40eu. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryanwhitfield1 at gmail.com Fri Nov 8 14:28:42 2013 From: ryanwhitfield1 at gmail.com (Ryan Whitfield) Date: Fri, 8 Nov 2013 06:28:42 -0800 Subject: Psychonomics In-Reply-To: <033201cedc82$a9074c10$fb15e430$@eu> Message-ID: Michiel, Good to hear! PST will be there as well. Not sure what booth we are, but shouldn't be too hard to locate. Look forward to meeting you! Ryan Whitfield Product Applications Specialist Psychology Software Tools, Inc. > On Nov 8, 2013, at 5:01 AM, "Cognitology" wrote: > > Hi, > If anyone is also going to the Psychonomic Society Annual Meeting and feeling social: I am there on Friday morning with my poster, number 2123. > Cheers, > Michiel > -- > You received this message because you are subscribed 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/033201cedc82%24a9074c10%24fb15e430%24%40eu. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed 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/E5ED921B-87AD-493C-8644-0E06A62A70D6%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Nov 8 14:54:26 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 8 Nov 2013 09:54:26 -0500 Subject: how to get the value from the array randomly In-Reply-To: Message-ID: I will just add that you can find documentation for the random() function in the E-Basic Help facility. -- David McFarlane At 11/7/2013 10:21 PM Thursday, gorgeous yayuan geng wrote: >Dear Sihua, > >c = random(a(1), a(4)) . I think this code is the reason. You >originally want to get a random number from 6,3,7,2,which is in the >array a, but your code is to select a value randomly from 6 to 2, >which means you get a random value from 2,3,4,5,6. and I wonder if >you can successfully complie the code since random function needs >the first parameter as min, the second parameter as max. >so I would recommend that you get a random value from 1,2,3,4 .I'd >better give you codes: >t=random(1,4) >c=a(t); >s=random(1,3) >d=b(s) > > > > >2013/11/8 sihua xu <xusihua80 at gmail.com> >Hello everyone > > I know how to define the array with the help of David and sally, > and I get the value randomly according to way that they told me, > but actually, I found the program do not get the value of the > array randomly and i do not know the reason. >I want to achieve the purpose of the following > to get one value from each array and decide to end or continue the > program by comparing the size of the value from the two arrays. the > script example just as follows >dim a(1 to 4) as integer >dim b (1 to 3) as integer >dim c as integer >dim d as integer >dim randompik as integer >a(1) = 6 >a(2) = 3 >a(3) = 7 >a(4) = 2 >b(1) = 2 >b(2)= 6 >b(3) = 4 >c = random(a(1), a(4)) >d = random(b(1), b(3)) >if c>d then > randompik = 1 >else randompik =2 >end if > >I would be grateful if anybody could help me to find the reason why >it can not achieve my purpose and modify that > > >Sihua Xu -- You received this message because you are subscribed 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/527cfb28.893d320a.5ec9.1411SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From matthall.research at gmail.com Fri Nov 8 20:47:58 2013 From: matthall.research at gmail.com (Matt Hall) Date: Fri, 8 Nov 2013 12:47:58 -0800 Subject: Naive question 1 of 3: How to properly interrupt a run? Message-ID: Hi, all- I'm new to Eprime, dusting off scripts written by a previous lab member about 10 years ago, and without any other Eprime users in my lab or department, so please have patience with my n00b questions. The 1st of 3: how to properly interrupt a run? I've found other topics here and else asking how to interrupt a run and then resume where you left off: that is *not* my question. Mine is much more basic: let's say you're testing out a script, so you hit run, and then having verified that whatever you tweaked did or didn't work, you want to go back to the main building environment. What's the best way to exit/quit/interrupt a run? Just through guessing, I've found that control-escape reliably quits the run; unfortunately, it also seems to cause the program to hang in unhelpful ways: for example, about half the time, it acts as if the mouse is in the *background*, behind the Eprime windwo, such that you can't see the mouse or click anything inside an Eprime window (although the mouse tracks and clicks fine in other applications). This leads me to believe that control-escape is not the optimal way of interrupting a run, so can someone please tell me what is? 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/3ec698cb-c839-4f7a-8cd6-238157a612be%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthall.research at gmail.com Fri Nov 8 20:50:02 2013 From: matthall.research at gmail.com (Matt Hall) Date: Fri, 8 Nov 2013 12:50:02 -0800 Subject: Naive question 2 of 3: How to undo actions with images & slides? Message-ID: A thread over on PST's user support forum asks this question better than I can: http://www.pstnet.com/forum/Topic4824-23-1.aspx The implied answer is that this would be fixed in Eprime2, but it doesn't appear to have been: at least not for the version I'm using. Is quit without saving really the best we can do in Eprime2 if you want to just undo an image movement? -- You received this message because you are subscribed 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/9ae37da1-c7a2-4542-a263-d904abc36a32%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthall.research at gmail.com Fri Nov 8 20:51:16 2013 From: matthall.research at gmail.com (Matt Hall) Date: Fri, 8 Nov 2013 12:51:16 -0800 Subject: Naive question 3 of 3: Find & replace within list object? Message-ID: Hi, all- I promise, this is my last question of the day. I've inherited a script from another researcher, and I need to change a list attribute. Currently, the "CorrectAnswer" attributes are the digits 1-4, but I need to re-map them to reflect the response keys that we'll be using: z, x, comma, and slash. I assumed this would be a simple matter of doing a text-based find & replace query (e.g. find "1", replace with "z"), but the Find & Replace option is grayed out. Suggestions? Much obliged. -- You received this message because you are subscribed 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/4b0dac78-821a-4038-aed8-69326e41a068%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Nov 8 21:35:28 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 8 Nov 2013 16:35:28 -0500 Subject: Naive question 1 of 3: How to properly interrupt a run? In-Reply-To: <3ec698cb-c839-4f7a-8cd6-238157a612be@googlegroups.com> Message-ID: Welcome to the E-Prime Group. As a n00b, the most crucial advice you can take is to first work through *all* of the tutorials in the Guides that came with E-Prime (in particular, the "Getting Started Guide" and "User's Guide") before you do anything else. Do *not* neglect the "Advanced" tutorials, they are not advanced at all and present crucial basic concepts! You might also consider taking some training in computer programming in general, and E-Prime in particular. That said... You will find one answer to this question on the very second page of the EP1 "Getting Started Guide", on p. 81 of "Getting Started Guide" in the section on "Good Practices, Testing, & Help", and in section 1.6.1 of the EP2 "User's Guide" (also listed under "abort" in the index, or just try a text search in the .pdfs). As an exercise, you should go look that up for yourself now, before looking at the answer provided in reverse text below*. This method will perform an ungraceful abort and return you to E-Run or E-Studio without saving data to an .edat file. Starting with EP2.0.10 Pro, you may also use Ctrl+Alt+Backspace to do a "Conditional Exit" which may result in a graceful abort that saves data -- you will have to look in the "New Features Guide" or the Knowledge Base for more details on this. Finally, if you do not mind a bit of inline programming, you may use GetUserBreakState for more graceful and granular control of early exits -- see that topic in the E-Basic Help facility. As you have found, Ctrl+Esc is a particuarly poor method for aborting a run, users should never use 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- *Answer: tlA+tfihS+lrtC At 11/8/2013 03:47 PM Friday, Matt Hall wrote: >Hi, all- I'm new to Eprime, dusting off scripts written by a >previous lab member about 10 years ago, and without any other Eprime >users in my lab or department, so please have patience with my n00b >questions. The 1st of 3: how to properly interrupt a run? > >I've found other topics here and else asking how to interrupt a run >and then resume where you left off: that is *not* my question. Mine >is much more basic: let's say you're testing out a script, so you >hit run, and then having verified that whatever you tweaked did or >didn't work, you want to go back to the main building environment. >What's the best way to exit/quit/interrupt a run? > >Just through guessing, I've found that control-escape reliably quits >the run; unfortunately, it also seems to cause the program to hang >in unhelpful ways: for example, about half the time, it acts as if >the mouse is in the *background*, behind the Eprime windwo, such >that you can't see the mouse or click anything inside an Eprime >window (although the mouse tracks and clicks fine in other applications). > >This leads me to believe that control-escape is not the optimal way >of interrupting a run, so can someone please tell me what is? 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/527d5927.629a320a.5056.2a3aSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Fri Nov 8 21:42:41 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 8 Nov 2013 16:42:41 -0500 Subject: Naive question 2 of 3: How to undo actions with images & slides? In-Reply-To: <9ae37da1-c7a2-4542-a263-d904abc36a32@googlegroups.com> Message-ID: So, exactly what version of EP2 *do* you use? Don't leave us guessing! AFAIK, this feature has still not been added to E-Prime (as of 2.0.10.353), and I do not expect to see this added anytime soon as I suspect that other enhancements have priority. But see http://www.pstnet.com/support/kb.asp?TopicID=5589 for latest change history, and drill down from there. Although, of course, your own tests already give you the answer. You might also take this up directly with PST Support, see link below. ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/8/2013 03:50 PM Friday, Matt Hall wrote: >A thread over on PST's user support forum asks this question better >than I can: >http://www.pstnet.com/forum/Topic4824-23-1.aspx > >The implied answer is that this would be fixed in Eprime2, but it >doesn't appear to have been: at least not for the version I'm >using. Is quit without saving really the best we can do in Eprime2 >if you want to just undo an image movement? -- You received this message because you are subscribed 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/527d5ad9.8570320a.0294.29f9SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Fri Nov 8 22:00:25 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 8 Nov 2013 17:00:25 -0500 Subject: Naive question 3 of 3: Find & replace within list object? In-Reply-To: <4b0dac78-821a-4038-aed8-69326e41a068@googlegroups.com> Message-ID: By "inherited a script" do you mean inherited an EP1 .es file, an EP2 .es2 file, or even an older EP1 .ebs file? "Script" is an ambiguous term in this context. For that matter, I disapprove of the term "script" anyway for E-Prime or E-Basic -- E-Basic is merely a derivative of Microsoft Visual Basic for Applications (VBA), and everyone else refers to VBA as "code" rather than "script", only PST refers to their "code" as "script". But I digress... If perhance you mean an older EP1 .ebs file, then you are in luck, you may open that file in any text editor and edit, find/replace, etc. at will. But of course, if your collegue saddled you with nothing more than an old .ebs file, then they have crippled your program development in other ways. If any .es* file, well, then you will not find any useful find/replace mechanism. But I wonder why you need this. Are you just replacing a few values in a few Lists? How many replacements do you have? Is it really that hard to type a few replacements by hand? If you do have that many, I start to wonder about the design of your Structure. But here's a hint for wholesale editing of Lists: Copy the List into any text editor or Excel, then do all your editing there. Once done, just paste your edited List back to E-Studio. Still a bit clumsy, but should get the job done. You might even keep your text or Excel List files for backup and documentation. For that matter, I use the same copy/paste technique whenever writing extensive inline code. I just move everything into a professional quality text editor, edit there, then copy back to E-Studio. Works *much* better than the mediocre editor provided in E-Studio, and I also get a much more portable and manageable file containing the code for backup and documentation. Word of advice, bear in mind that E-Prime is not a programming platform meant for professional programmers, it is meant rather for casual programmers (i.e., researchers who want to dabble in programming, rather that programmers who want to dabble in research), and thus lacks amenities that one would expect in a product meant for professionals. That said, it is a very capable product, and I think overall serves those casual programmers well. ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/8/2013 03:51 PM Friday, Matt Hall wrote: >Hi, all- I promise, this is my last question of the day. I've >inherited a script from another researcher, and I need to change a >list attribute. Currently, the "CorrectAnswer" attributes are the >digits 1-4, but I need to re-map them to reflect the response keys >that we'll be using: z, x, comma, and slash. I assumed this would be >a simple matter of doing a text-based find & replace query (e.g. >find "1", replace with "z"), but the Find & Replace option is grayed out. > >Suggestions? Much obliged. -- You received this message because you are subscribed 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/527d5f03.629a320a.5056.2af1SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From xusihua80 at gmail.com Sat Nov 9 15:51:08 2013 From: xusihua80 at gmail.com (sihua xu) Date: Sat, 9 Nov 2013 23:51:08 +0800 Subject: change string to integer Message-ID: Hello everyone I dim an array and get the value from the array randomly, then i set the value into the trial_list to decide the run times of each trial at most for example, i dim an array such as a(1) =2, a(2) = 3, then get the value form the array randomly, t = array(2) = 3; and i set the value to the trial list, it means that the first trial could run three times at most. the code is: c.setAttrib "pupnumber", t after that, in each i get the value of the pupnumber, the code is: m = c.getAttrib("pupnumber") then in each trial, i dim the second array, and get the value from the new array randomly, and if the "m" was larger than the value (such as f)get from the new array, the trial stop ahead of time. the code is: if m> f then ..(stop)...... but when i run the program, the information prompt "type mismatch"? may be the type of the "m" is not to same with "t"? but i could not how to change the type. I would be grateful if anybody could help me with that thanks Sihua Xu -- You received this message because you are subscribed 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/CAPEBGubsRDOrHw6kCegEVLv1y%2BOpRmyTx7uz2atmtG-L8SQfng%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mateoleganes at gmail.com Sun Nov 10 17:14:04 2013 From: mateoleganes at gmail.com (Mateo Leganes Fonteneau) Date: Sun, 10 Nov 2013 09:14:04 -0800 Subject: Dot probe doubt Message-ID: Dear all. I am implementing a dot probe task. I carefully followed the instructions shown here, but I have a couple of problems. I am following this pattern explained on 2009: http://images.redial.net/awdpsirous.bmp My point is that I have 12 pairs of words (each word in a different list) and I need to present each of the pairs 4 times, inverting the position of the words (up down) and the positions of the probe, of course this has to be randomized at all levels. I only get to present each pair once, even if the position of the words or probe gets randomized, I can't figure out how to take each of the pairs of words through the 4 conditions at random at all levels. I add a screenshot to clear myself a little bit. Thank you. -- You received this message because you are subscribed 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/b4792414-a59c-42a2-ab7d-98f09af1b581%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pantallazodot.png Type: image/png Size: 217023 bytes Desc: not available URL: From katehmcox at gmail.com Mon Nov 11 02:39:37 2013 From: katehmcox at gmail.com (Kate Cox) Date: Sun, 10 Nov 2013 18:39:37 -0800 Subject: Terminate list at set time, even if current sample no completed. Message-ID: Hi I'm very new to eprime and have no script background so please be gentle :). *What I'm trying to do:* present participants with a series of mathematical equations which they must answer, using the keyboard. They must answer as many equations as they can in 2 minutes. After 2 minutes the task will terminate (and go on to the next task) even if they are part way through giving an answer. The outcomes i'm measuring are accuracy, RT of correct responses and number of correct responses in the 2 minute time window. *What is working and how I have it set up*: I have 300 potential equations in a list called "TrialList", which are presented on a TextDisplay. This works perfectly. Answers typed on the keyboard are echoed on the screen and logged. When an answer is complete the participant presses ENTER and the the next equation in my list is shown. This works perfectly. In the TextDisplay properties, under the Duration/Input tab I have duration as infinite, timing mode as Event, the keyboard as the only device, allowable responses is any, time limit is same as duration and End action is terminate. In the list properties, under the Reset/Exit tab I have set Exit List to "After 120 seconds" *The problem: *I can't get the task to terminate at exactly 2 minutes. At the moment it appears to stop when the trial that is running at 2 minute mark is terminated (ie the participant presses enter). For example if a participant starts an equation at 1:55 then the task won't stop at 2:00 it will wait until they submit their answer and that trial is terminated. As some of my participants aren't particularly fast to provide their responses this may end up being closer to 3 minutes than 2. I'm pretty useless with script but I've found the bit that refers to the termination settings and it looks like this: Set TrialList.TerminateCondition = TimedMSecs(120000) Set TrialList.ResetCondition = Samples(300) TrialList.Reset I've tried searching this group and the Eprime guide for the answers but can't find how to fix it. I know some people have mentioned some script that terminates at a particular clock setting but my script seems to look different to theirs so I'm not sure how to implement it. Also this maths task is part of a larger battery of tasks so how a participant performs on earlier tasks will determine where the running clock is when they get up to the maths problems (ie a participant who is faster at earlier tasks may start the math task at the 5 minute mark and someone who is slower might start it at the 7 minute mark, so the running clock will be different 2 minutes into the math task). I hope all this makes sense. Any help would be hugely appreciated. thank you in advance Kate -- You received this message because you are subscribed 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/45042996-2ab3-49e6-a906-558b31be27f4%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Mon Nov 11 03:11:52 2013 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Mon, 11 Nov 2013 11:11:52 +0800 Subject: change string to integer In-Reply-To: Message-ID: hello, you can refer to cint function. 2013/11/9 sihua xu > Hello everyone > > I dim an array and get the value from the array randomly, then i set > the value into the trial_list to decide the run times of each trial at most > for example, i dim an array such as a(1) =2, a(2) = 3, then get the > value form the array randomly, t = array(2) = 3; and i set the value to the > trial list, it means that the first trial could run three times at most. > the code is: c.setAttrib "pupnumber", t > after that, in each i get the value of the pupnumber, > the code is: > m = c.getAttrib("pupnumber") > > then in each trial, i dim the second array, and get the value from the new > array randomly, and if the "m" was larger than the value (such as f)get > from the new array, the trial stop ahead of time. > the code is: if m> f then ..(stop)...... > but when i run the program, the information prompt "type mismatch"? > may be the type of the "m" is not to same with "t"? but i could not how to > change the type. > I would be grateful if anybody could help me with that > thanks > > > Sihua Xu > > > -- > You received this message because you are subscribed 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/CAPEBGubsRDOrHw6kCegEVLv1y%2BOpRmyTx7uz2atmtG-L8SQfng%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAJO0WNYxiHA1J%2BzNsTvJM6Nw%2BL1GDrP3PdK4LdA3BbOqDwBm0Q%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Mon Nov 11 08:15:40 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 11 Nov 2013 09:15:40 +0100 Subject: Terminate list at set time, even if current sample no completed. In-Reply-To: <45042996-2ab3-49e6-a906-558b31be27f4@googlegroups.com> Message-ID: Hi Kate, Because the 'exit list' condition is tested at the end of each trial, eprime doesn't handle timeout values that occur during the trial itself. Even if the trial only contains a single object. The solution is to limit the duration of the individual object(s). This is what I would do (assuming that the TextDisplay object is called Stimulus): 1) Create a global variable in the user section of the script window: Dim FirstOnset As Long ' onsettime of first stimulus 2) Insert an inline script at the start of the trial procedure that calculates the total time left, and use this value to change the stimulus duration from infinite to the leftover time: ' FirstOnset is a global variable which is declared in the user section of the script window If FirstOnset=0 Then FirstOnset = Stimulus.TargetOnsetTime End If Dim timeLeft As Long timeLeft = 120000 - Stimulus.TargetOnsetTime If timeLeft>0 Then Stimulus.Duration = timeLeft Else Stimulus.Duration = 0 End If Things can get a bit more complex if the trial contains several objects, though. Also also see the attached example. Best Paul On 11 November 2013 03:39, Kate Cox wrote: > Hi I'm very new to eprime and have no script background so please be > gentle :). > > *What I'm trying to do:* present participants with a series of > mathematical equations which they must answer, using the keyboard. They > must answer as many equations as they can in 2 minutes. After 2 minutes the > task will terminate (and go on to the next task) even if they are part way > through giving an answer. The outcomes i'm measuring are accuracy, RT of > correct responses and number of correct responses in the 2 minute time > window. > > *What is working and how I have it set up*: I have 300 potential > equations in a list called "TrialList", which are presented on a > TextDisplay. This works perfectly. > Answers typed on the keyboard are echoed on the screen and logged. When an > answer is complete the participant presses ENTER and the the next equation > in my list is shown. This works perfectly. > In the TextDisplay properties, under the Duration/Input tab I have > duration as infinite, timing mode as Event, the keyboard as the only > device, allowable responses is any, time limit is same as duration and End > action is terminate. > In the list properties, under the Reset/Exit tab I have set Exit List to > "After 120 seconds" > > *The problem: *I can't get the task to terminate at exactly 2 minutes. At > the moment it appears to stop when the trial that is running at 2 minute > mark is terminated (ie the participant presses enter). For example if a > participant starts an equation at 1:55 then the task won't stop at 2:00 it > will wait until they submit their answer and that trial is terminated. As > some of my participants aren't particularly fast to provide their responses > this may end up being closer to 3 minutes than 2. > > I'm pretty useless with script but I've found the bit that refers to the > termination settings and it looks like this: > > Set TrialList.TerminateCondition = TimedMSecs(120000) > Set TrialList.ResetCondition = Samples(300) > TrialList.Reset > > I've tried searching this group and the Eprime guide for the answers but > can't find how to fix it. I know some people have mentioned some script > that terminates at a particular clock setting but my script seems to look > different to theirs so I'm not sure how to implement it. Also this maths > task is part of a larger battery of tasks so how a participant performs on > earlier tasks will determine where the running clock is when they get up to > the maths problems (ie a participant who is faster at earlier tasks may > start the math task at the 5 minute mark and someone who is slower might > start it at the 7 minute mark, so the running clock will be different 2 > minutes into the math task). > > I hope all this makes sense. Any help would be hugely appreciated. > > thank you in advance > Kate > > -- > You received this message because you are subscribed 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/45042996-2ab3-49e6-a906-558b31be27f4%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAKAdR-snAMpVGELB-SZ15HA6YQ0rG5z6vqniHqQWPC6uO%3DXEfw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SetTaskDuration.es2 Type: application/octet-stream Size: 96324 bytes Desc: not available URL: From vanlessen.naomi at gmail.com Mon Nov 11 19:59:14 2013 From: vanlessen.naomi at gmail.com (vanlessen.naomi at gmail.com) Date: Mon, 11 Nov 2013 11:59:14 -0800 Subject: logging two responses (RESP and RT) Message-ID: Dear all, I need to logg two responses to one slide. The slide duration is 250 ms but I need to logg minimum 0 and maximum 2 responses for a duration of 1500 ms (so the 250ms of the slide + 1250 ms which other slides are shown. How can I do this? Thank you in advance! Naomi -- You received this message because you are subscribed 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/3a43f760-b268-412e-8df3-708e562e9dcb%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vanlessen.naomi at gmail.com Mon Nov 11 20:03:06 2013 From: vanlessen.naomi at gmail.com (vanlessen.naomi at gmail.com) Date: Mon, 11 Nov 2013 12:03:06 -0800 Subject: IF ... AND ... THEN ... Message-ID: Dear all, I need to write an inline stating: If Stimulus1.RESP = 5 AND if Stimulus2.RESP is (none), THEN (write trigger to port), but I keep on getting error messages that after 'If Stimulus1.RESP = 5' it expects ', then', instaed of taking the second part (AND if Stimulus2.RESP is (none)) into consideration. If (CentralS.RESP = "5" & Distractor.RESP = " "), then WritePort &H378, 5 sleep 2 WritePort &H378, 0 Can anyone tell me what I'm doing wrong here? Thank you! Best, Naomi -- You received this message because you are subscribed 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/3e026a6a-1e09-4a48-ad81-c840c4132119%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Nov 11 21:00:26 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 11 Nov 2013 16:00:26 -0500 Subject: Terminate list at set time, even if current sample no completed. In-Reply-To: Message-ID: I would have said to set stimulus PreRelease to same as Duration and use inline code after the stimulus to look for the timeout, but I like Paul's solution much, much better and will add that to my own bag of tricks (thanks, Paul!). Just a couple more thoughts on this: 1) Shouldn't the line timeLeft = 120000 - Stimulus.TargetOnsetTime instead read timeLeft = 120000 - (Stimulus.TargetOnsetTime - FirstOnset) ? Also, the first time the initialization line FirstOnset = Stimulus.TargetOnsetTime runs, Stimulus.Target is 0, and that may adversely affect the Duration for the first run of Stimulus. This could be fixed by instead using GetNextTargetOnset time, thus, FirstOnset = GetNextTargetOnsetTime Also, timeLeft is based on the OnsetTime of the previous run of Stimulus, but I think you need to take into account how long that run lasted. You could do that by using GetNextTargetOnsetTime instead. Putting that all together, the inline code might instead read ' FirstOnset is a global variable which is declared in the user section of ' the script window If (FirstOnset = 0) Then FirstOnset = GetNextTargetOnsetTime Dim timeLeft As Long timeLeft = 120000 - (GetNextTargetOnsetTime- FirstOnset) If (timeLeft > 0) Then Stimulus.Duration = timeLeft Else Stimulus.Duration = 0 End If Finally, instead of a FirstOnset you might instead use a LastOffset, thus (also using Iif() to suit my own peculiar tastes), ' LastOffset is a global variable which is declared in the user section of ' the script window If (LastOffset = 0) Then LastOffset = GetNextTargetOnsetTime + 120000 Dim timeLeft as Long timeLeft = LastOffset - GetNextTargetOnsetTime Stimulus.Duration = Iif( timeLeft > 0, timeLeft, 0 ) ' or set Stimulus.Duration as an attribute reference 2) Alternatively, set your stimulus to use Cumulative timing mode, and set its Duration to 120000. Define FirstOnset in global User Script as before. Then in inline code at the start of the Procedure, use ' FirstOnset is a global variable which is declared in the user section of ' the script window If (FirstOnset = 0) Then FirstOnset = GetNextTargetOnsetTime SetNextTargetOnsetTime FirstOnset (see the SetNextTargetOnsetTime topic in the E-Basic Help facility). Now each run of the stimulus will behave as though it started at the onset of the first run of the stimulus, and end 12000 ms after the start of the first run. It just depends on whether you prefer to manipulate stimulus Duration or NextTargetOnsetTime. In any case, given the general principles, Kate and others should readily figure out the specifics. I went ahead and attached a demo program for each solution. Thanks again, Paul, for the great inspiration! -- David McFarlane At 11/11/2013 03:15 AM Monday, Paul Groot wrote: >Hi Kate, > >Because the 'exit list' condition is tested at the end of each >trial, eprime doesn't handle timeout values that occur during the >trial itself. Even if the trial only contains a single object. The >solution is to limit the duration of the individual object(s). > >This is what I would do (assuming that the TextDisplay object is >called Stimulus): > >1) Create a global variable in the user section of the script window: > >Dim FirstOnset As Long ' onsettime of first stimulus > >2) Insert an inline script at the start of the trial procedure that >calculates the total time left, and use this value to change the >stimulus duration from infinite to the leftover time: > >' FirstOnset is a global variable which is declared in the user >section of the script window >If FirstOnset=0 Then >FirstOnset = Stimulus.TargetOnsetTime >End If > >Dim timeLeft As Long >timeLeft = 120000 - Stimulus.TargetOnsetTime >If timeLeft>0 Then >Stimulus.Duration = timeLeft >Else >Stimulus.Duration = 0 >End If > >Things can get a bit more complex if the trial contains several >objects, though. > >Also also see the attached example. > >Best >Paul > > > >On 11 November 2013 03:39, Kate Cox ><katehmcox at gmail.com> wrote: >Hi I'm very new to eprime and have no script background so please be >gentle :). >What I'm trying to do: present participants with a series of >mathematical equations which they must answer, using the keyboard. >They must answer as many equations as they can in 2 minutes. After 2 >minutes the task will terminate (and go on to the next task) even if >they are part way through giving an answer. The outcomes i'm >measuring are accuracy, RT of correct responses and number of >correct responses in the 2 minute time window. >What is working and how I have it set up: I have 300 potential >equations in a list called "TrialList", which are presented on a >TextDisplay. This works perfectly. >Answers typed on the keyboard are echoed on the screen and logged. >When an answer is complete the participant presses ENTER and the the >next equation in my list is shown. This works perfectly. >In the TextDisplay properties, under the Duration/Input tab I have >duration as infinite, timing mode as Event, the keyboard as the only >device, allowable responses is any, time limit is same as duration >and End action is terminate. >In the list properties, under the Reset/Exit tab I have set Exit >List to "After 120 seconds" >The problem: I can't get the task to terminate at exactly 2 minutes. >At the moment it appears to stop when the trial that is running at 2 >minute mark is terminated (ie the participant presses enter). For >example if a participant starts an equation at 1:55 then the task >won't stop at 2:00 it will wait until they submit their answer and >that trial is terminated. As some of my participants aren't >particularly fast to provide their responses this may end up being >closer to 3 minutes than 2. >I'm pretty useless with script but I've found the bit that refers to >the termination settings and it looks like this: >Set TrialList.TerminateCondition = TimedMSecs(120000) >Set TrialList.ResetCondition = Samples(300) >TrialList.Reset >I've tried searching this group and the Eprime guide for the answers >but can't find how to fix it. I know some people have mentioned some >script that terminates at a particular clock setting but my script >seems to look different to theirs so I'm not sure how to implement >it. Also this maths task is part of a larger battery of tasks so how >a participant performs on earlier tasks will determine where the >running clock is when they get up to the maths problems (ie a >participant who is faster at earlier tasks may start the math task >at the 5 minute mark and someone who is slower might start it at the >7 minute mark, so the running clock will be different 2 minutes into >the math task). > >I hope all this makes sense. Any help would be hugely appreciated. >thank you in advance >Kate -- You received this message because you are subscribed 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/5281458c.2cdd320a.723a.ffff9c50SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- A non-text attachment was scrubbed... Name: SetTaskDuration_byDuration.es2 Type: application/octet-stream Size: 61692 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SetTaskDuration_byNextTargetOnset.es2 Type: application/octet-stream Size: 61664 bytes Desc: not available URL: From mcfarla9 at msu.edu Mon Nov 11 21:14:28 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 11 Nov 2013 16:14:28 -0500 Subject: IF ... AND ... THEN ... In-Reply-To: <3e026a6a-1e09-4a48-ad81-c840c4132119@googlegroups.com> Message-ID: Naomi, What if you try something more like If (CentralS.RESP = "5" and Distractor.RESP = "") Then WritePort &H378, 5 sleep 2 WritePort &H378, 0 End If Comments: - In E-Basic, the "&" operator means string concatenation, not logical And (see the "& (operator)" topic in the E-Basic Help facility). For logical/binary And, you want, well, "And" (and note that E-Basic ignores case). - The If-Then part must exist on one logical line, without any comma. - If the "Then" part of the statement covers more than one line, then you must use the full "If-Then... End If" structure -- see the "If...Then...Else (statement)" topic in the E-Basic Help facility, or consult any VBA reference. - If you want to compare RESP to (none), then you must use an empty string, i.e., "". The sting " " indicates a string containing one space, which is not the same as an empty string. Furthermore, RESP would never contain the string " ", because each space in RESP would be encoded as {SPACE} -- see the "{key} nomenclature" topic in the E-Basic Help facility. In general, you may study the Guides that came with E-Prime, VBA (Microsoft Visual Basic for Applications) documentation, and the E-Basic Help facility to get most of this basic information. Regards, ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/11/2013 03:03 PM Monday, vanlessen.naomi at gmail.com wrote: >Dear all, > >I need to write an inline stating: > >If Stimulus1.RESP = 5 AND if Stimulus2.RESP is (none), THEN (write >trigger to port), but I keep on getting error messages that after >'If Stimulus1.RESP = 5' it expects ', then', instaed of taking the >second part (AND if Stimulus2.RESP is (none)) into consideration. > >If (CentralS.RESP = "5" & Distractor.RESP = " "), >then WritePort &H378, 5 >sleep 2 >WritePort &H378, 0 > >Can anyone tell me what I'm doing wrong here? > >Thank you! > >Best, >Naomi -- You received this message because you are subscribed 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/528148e8.0b39320a.7516.ffff9c53SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From pfc.groot at gmail.com Mon Nov 11 21:31:51 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 11 Nov 2013 22:31:51 +0100 Subject: Terminate list at set time, even if current sample no completed. In-Reply-To: <5281458c.2cdd320a.723a.ffff9c50SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: ah, of course. Silly mistake, that could have been prevented by just running the example script once :-) PG. On 11 November 2013 22:00, David McFarlane wrote: > I would have said to set stimulus PreRelease to same as Duration and use > inline code after the stimulus to look for the timeout, but I like Paul's > solution much, much better and will add that to my own bag of tricks > (thanks, Paul!). > > Just a couple more thoughts on this: > > 1) Shouldn't the line > > > timeLeft = 120000 - Stimulus.TargetOnsetTime > > instead read > > timeLeft = 120000 - (Stimulus.TargetOnsetTime - FirstOnset) > > ? Also, the first time the initialization line > > FirstOnset = Stimulus.TargetOnsetTime > > runs, Stimulus.Target is 0, and that may adversely affect the Duration for > the first run of Stimulus. This could be fixed by instead using > GetNextTargetOnset time, thus, > > FirstOnset = GetNextTargetOnsetTime > > Also, timeLeft is based on the OnsetTime of the previous run of Stimulus, > but I think you need to take into account how long that run lasted. You > could do that by using GetNextTargetOnsetTime instead. Putting that all > together, the inline code might instead read > > > ' FirstOnset is a global variable which is declared in the user > section of > ' the script window > If (FirstOnset = 0) Then FirstOnset = GetNextTargetOnsetTime > Dim timeLeft As Long > timeLeft = 120000 - (GetNextTargetOnsetTime- FirstOnset) > If (timeLeft > 0) Then > > Stimulus.Duration = timeLeft > Else > Stimulus.Duration = 0 > End If > > Finally, instead of a FirstOnset you might instead use a LastOffset, thus > (also using Iif() to suit my own peculiar tastes), > > ' LastOffset is a global variable which is declared in the user > section of > ' the script window > If (LastOffset = 0) Then LastOffset = GetNextTargetOnsetTime + 120000 > Dim timeLeft as Long > timeLeft = LastOffset - GetNextTargetOnsetTime > Stimulus.Duration = Iif( timeLeft > 0, timeLeft, 0 ) > ' or set Stimulus.Duration as an attribute reference > > > 2) Alternatively, set your stimulus to use Cumulative timing mode, and set > its Duration to 120000. Define FirstOnset in global User Script as > before. Then in inline code at the start of the Procedure, use > > > ' FirstOnset is a global variable which is declared in the user > section of > ' the script window > If (FirstOnset = 0) Then FirstOnset = GetNextTargetOnsetTime > SetNextTargetOnsetTime FirstOnset > > (see the SetNextTargetOnsetTime topic in the E-Basic Help facility). Now > each run of the stimulus will behave as though it started at the onset of > the first run of the stimulus, and end 12000 ms after the start of the > first run. > > > It just depends on whether you prefer to manipulate stimulus Duration or > NextTargetOnsetTime. In any case, given the general principles, Kate and > others should readily figure out the specifics. > > I went ahead and attached a demo program for each solution. Thanks again, > Paul, for the great inspiration! > > -- David McFarlane > > > > At 11/11/2013 03:15 AM Monday, Paul Groot wrote: > >> Hi Kate, >> >> Because the 'exit list' condition is tested at the end of each trial, >> eprime doesn't handle timeout values that occur during the trial itself. >> Even if the trial only contains a single object. The solution is to limit >> the duration of the individual object(s). >> >> This is what I would do (assuming that the TextDisplay object is called >> Stimulus): >> >> 1) Create a global variable in the user section of the script window: >> >> Dim FirstOnset As Long ' onsettime of first stimulus >> >> 2) Insert an inline script at the start of the trial procedure that >> calculates the total time left, and use this value to change the stimulus >> duration from infinite to the leftover time: >> >> ' FirstOnset is a global variable which is declared in the user section >> of the script window >> If FirstOnset=0 Then >> FirstOnset = Stimulus.TargetOnsetTime >> End If >> >> Dim timeLeft As Long >> timeLeft = 120000 - Stimulus.TargetOnsetTime >> If timeLeft>0 Then >> Stimulus.Duration = timeLeft >> Else >> Stimulus.Duration = 0 >> End If >> >> Things can get a bit more complex if the trial contains several objects, >> though. >> >> Also also see the attached example. >> >> Best >> Paul >> >> >> >> On 11 November 2013 03:39, Kate Cox <k >> atehmcox at gmail.com> wrote: >> Hi I'm very new to eprime and have no script background so please be >> gentle :). >> What I'm trying to do: present participants with a series of mathematical >> equations which they must answer, using the keyboard. They must answer as >> many equations as they can in 2 minutes. After 2 minutes the task will >> terminate (and go on to the next task) even if they are part way through >> giving an answer. The outcomes i'm measuring are accuracy, RT of correct >> responses and number of correct responses in the 2 minute time window. >> What is working and how I have it set up: I have 300 potential equations >> in a list called "TrialList", which are presented on a TextDisplay. This >> works perfectly. >> Answers typed on the keyboard are echoed on the screen and logged. When >> an answer is complete the participant presses ENTER and the the next >> equation in my list is shown. This works perfectly. >> In the TextDisplay properties, under the Duration/Input tab I have >> duration as infinite, timing mode as Event, the keyboard as the only >> device, allowable responses is any, time limit is same as duration and End >> action is terminate. >> In the list properties, under the Reset/Exit tab I have set Exit List to >> "After 120 seconds" >> The problem: I can't get the task to terminate at exactly 2 minutes. At >> the moment it appears to stop when the trial that is running at 2 minute >> mark is terminated (ie the participant presses enter). For example if a >> participant starts an equation at 1:55 then the task won't stop at 2:00 it >> will wait until they submit their answer and that trial is terminated. As >> some of my participants aren't particularly fast to provide their responses >> this may end up being closer to 3 minutes than 2. >> I'm pretty useless with script but I've found the bit that refers to the >> termination settings and it looks like this: >> Set TrialList.TerminateCondition = TimedMSecs(120000) >> Set TrialList.ResetCondition = Samples(300) >> TrialList.Reset >> I've tried searching this group and the Eprime guide for the answers but >> can't find how to fix it. I know some people have mentioned some script >> that terminates at a particular clock setting but my script seems to look >> different to theirs so I'm not sure how to implement it. Also this maths >> task is part of a larger battery of tasks so how a participant performs on >> earlier tasks will determine where the running clock is when they get up to >> the maths problems (ie a participant who is faster at earlier tasks may >> start the math task at the 5 minute mark and someone who is slower might >> start it at the 7 minute mark, so the running clock will be different 2 >> minutes into the math task). >> >> I hope all this makes sense. Any help would be hugely appreciated. >> thank you in advance >> Kate >> > > -- > You received this message because you are subscribed 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/5281458c.2cdd320a.723a.ffff9c50SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAKAdR-vAex7qAz483B3Jjyng-rJBVL-dX1a8_-gkxp-r66yPuQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From katehmcox at gmail.com Tue Nov 12 04:39:23 2013 From: katehmcox at gmail.com (Kate Cox) Date: Mon, 11 Nov 2013 20:39:23 -0800 Subject: Terminate list at set time, even if current sample no completed. In-Reply-To: Message-ID: Thank you both VERY much. I'm not going to pretend that I 100% understand the script but it was brilliantly easy to add in and it works perfectly. -- You received this message because you are subscribed 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/d8e982af-e92a-4204-af47-9a5aabd866ff%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vanlessen.naomi at gmail.com Tue Nov 12 06:49:22 2013 From: vanlessen.naomi at gmail.com (vanlessen.naomi at gmail.com) Date: Mon, 11 Nov 2013 22:49:22 -0800 Subject: IF ... AND ... THEN ... In-Reply-To: <3e026a6a-1e09-4a48-ad81-c840c4132119@googlegroups.com> Message-ID: Thank you! However, this is also not working, giving me the same error message... On Monday, November 11, 2013 9:03:06 PM UTC+1, vanless... at gmail.com wrote: > > Dear all, > > I need to write an inline stating: > > If Stimulus1.RESP = 5 AND if Stimulus2.RESP is (none), THEN (write trigger > to port), but I keep on getting error messages that after 'If > Stimulus1.RESP = 5' it expects ', then', instaed of taking the second part > (AND if Stimulus2.RESP is (none)) into consideration. > > If (CentralS.RESP = "5" & Distractor.RESP = " "), > then WritePort &H378, 5 > sleep 2 > WritePort &H378, 0 > > Can anyone tell me what I'm doing wrong here? > > Thank you! > > Best, > Naomi > -- You received this message because you are subscribed 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/a693add6-b1d5-4eec-985e-42255b9f1599%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vanlessen.naomi at gmail.com Tue Nov 12 09:09:57 2013 From: vanlessen.naomi at gmail.com (vanlessen.naomi at gmail.com) Date: Tue, 12 Nov 2013 01:09:57 -0800 Subject: logging two responses (RESP and RT) In-Reply-To: <3a43f760-b268-412e-8df3-708e562e9dcb@googlegroups.com> Message-ID: Just an extra comment: I know there is a sample in the eprime website, however, it is only openable with eprime.professional (which I don't have) and so I am stuck with my problem!! So if somebody would have the example in just eprime (not professional), I would be really happy to see it :) -- You received this message because you are subscribed 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/fa5b9f2f-a7bb-4729-ba1d-df3f83b86a4d%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Tue Nov 12 10:01:22 2013 From: mspape at cognitology.eu (=?Windows-1252?Q?Michiel_Sovij=E4rvi-Spap=E9?=) Date: Tue, 12 Nov 2013 12:01:22 +0200 Subject: IF THEN Message-ID: Hi, That comma looks like matlab syntax? Copy-paste: If (CentralS.RESP = "5") and (Distractor.RESP = "") then WritePort &H378, 5 sleep 2 WritePort &H378, 0 Best, Michiel -- You received this message because you are subscribed 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/e048fepACA1KnS1.RZmta%40mo-p02-ob.rzone.de. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Nov 12 14:57:51 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 12 Nov 2013 09:57:51 -0500 Subject: IF ... AND ... THEN ... In-Reply-To: Message-ID: Naomi, Well, the code that I gave you compiles without error for me, I cannot imagine what you are doing differently. -- David McFarlane At 11/12/2013 01:49 AM Tuesday, vanlessen.naomi at gmail.com wrote: >Thank you! > >However, this is also not working, giving me the same error message... > > > >On Monday, November 11, 2013 9:03:06 PM UTC+1, vanless... at gmail.com wrote: >Dear all, > >I need to write an inline stating: > >If Stimulus1.RESP = 5 AND if Stimulus2.RESP is (none), THEN (write >trigger to port), but I keep on getting error messages that after >'If Stimulus1.RESP = 5' it expects ', then', instaed of taking the >second part (AND if Stimulus2.RESP is (none)) into consideration. > >If (CentralS.RESP = "5" & Distractor.RESP = " "), >then WritePort &H378, 5 >sleep 2 >WritePort &H378, 0 > >Can anyone tell me what I'm doing wrong here? > >Thank you! > >Best, >Naomi -- You received this message because you are subscribed 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/528241f7.c819320a.3bc4.ffffbb6eSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Tue Nov 12 15:37:24 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 12 Nov 2013 10:37:24 -0500 Subject: logging two responses (RESP and RT) In-Reply-To: Message-ID: Naomi, Exactly which example did you downoad? Was it the "Multiple Response Collection" example? That particular example comes with three E-Studio files, two of those in the older EP1 format which you may open in any version of EP2, you just have to open E-Studio first and from File > Open tell it to find Files of type "E-Studio 1.x Files (*.es)". The third example in that collection, MultipleResponseCollection2JoystickPro, uses joystick features available only with Pro, so would be useless to you anyway. But if you are talking about a different example, please let us know. I would bring this up to PST Support so that they could correct it. -- David McFarlane At 11/12/2013 04:09 AM Tuesday, vanless... at gmail.com wrote: >Just an extra comment: I know there is a sample in the eprime >website, however, it is only openable with eprime.professional >(which I don't have) and so I am stuck with my problem!! So if >somebody would have the example in just eprime (not professional), I >would be really happy to see it :) -- You received this message because you are subscribed 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/52824b3c.893d320a.5ec9.ffffbb97SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From graeme.r.davidson at gmail.com Thu Nov 14 16:06:31 2013 From: graeme.r.davidson at gmail.com (Graeme Davidson) Date: Thu, 14 Nov 2013 08:06:31 -0800 Subject: Dual indicator VAS with mirror movement Message-ID: Hello there, I was wondering if anyone could help me with a problem. I'm trying to design a visual analogue scale with two indicators which have reflective movement on the same scale line. So essentially a participant would see an image and then be asked to rate the weight of the image. I have no problems doing this on a single indicator VAS but my research supervisor would like it so that there are two indicators, and when you move one the other indicator moves in a mirrored movement. The best I could describe it as is a vice movement so when one indicator move out from the centre of the scale the other indicator moves out from the centre too. Does anyone know how I'd go about designing such a scale? I'd appreciate any help, on how to program this movement. all the best Graeme -- You received this message because you are subscribed 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/63db5afa-0aec-4d46-b2e7-07ba0c9f9c31%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ndlabmanager at gmail.com Thu Nov 14 17:25:51 2013 From: ndlabmanager at gmail.com (Stephen Mattingly) Date: Thu, 14 Nov 2013 09:25:51 -0800 Subject: "setup inline object" Message-ID: Hi All, I am trying to find the "setup inline object" to try out an example script (under MouseResponseData.CursorX in Ebasic help). I can make an inline1, and an inline 2, but where do i post part A? I tried just posting it into the "user" tab of the script, but i get an error. 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/35b2439f-7814-4c71-a503-f72f6a6f996d%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Nov 14 18:46:31 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 14 Nov 2013 13:46:31 -0500 Subject: "setup inline object" In-Reply-To: <35b2439f-7814-4c71-a503-f72f6a6f996d@googlegroups.com> Message-ID: Look in your My Experiments folder for a file named "E-BasicExample.es" (or .es2). Open that in E-Studio, and you will see the Setup inline in the structure just under SessionProc. Note that the code examples throughout the E-Basic Help are meant to be used with this example program. Note also that many of the code examples in the E-Basic Help are flawed -- some of them contain rank syntax mistakes that result in compile-time errors, and even when the code works, they are often examples of poor programming practices. Best to take the examples as mere starting guidelines, use them to grasp the underlying principles, and then build anew from that understanding. Good luck. ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/14/2013 12:25 PM Thursday, Stephen Mattingly wrote: >Hi All, > I am trying to find the "setup inline object" to try out an > example script (under MouseResponseData.CursorX in Ebasic help). I > can make an inline1, and an inline 2, but where do i post part A? I > tried just posting it into the "user" tab of the script, but i get > an error. 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/52851a90.c819320a.3bc4.2088SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Thu Nov 14 18:56:59 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 14 Nov 2013 13:56:59 -0500 Subject: "setup inline object" In-Reply-To: <52851a90.c819320a.3bc4.2088SMTPIN_ADDED_MISSING@gmr-mx.goo gle.com> Message-ID: BTW, I found the location for that file by looking in the Contents of the EP1 E-Basic Help under E-Basic > Welcome, where I found the following text: "To illustrate the use of the statement, function, command or object, two sample programs have been included with your install, E-BasicExample.es and E-BasicSoundExample.es Simply copy and paste the sample script to the proper InLine object as instructed in the notes following the script." (This is from the E-Basic Help for EP1. The EP2 E-Basic Help contains a similar notice under the "Using E-Basic Help" topic in the Contents tab.) -- David McFarlane At 11/14/2013 01:46 PM Thursday, David McFarlane wrote: >Look in your My Experiments folder for a file named >"E-BasicExample.es" (or .es2). Open that in E-Studio, and you will >see the Setup inline in the structure just under SessionProc. > >Note that the code examples throughout the E-Basic Help are meant to >be used with this example program. Note also that many of the code >examples in the E-Basic Help are flawed -- some of them contain rank >syntax mistakes that result in compile-time errors, and even when >the code works, they are often examples of poor programming >practices. Best to take the examples as mere starting guidelines, >use them to grasp the underlying principles, and then build anew >from that understanding. > >Good luck. > >----- >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) PST's trained staff >take any and all questions at https://support.pstnet.com , and they >strive to respond to all requests in 24-48 hours, so make full use >of it. 3) In addition, PST offers several instructional videos on >their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/14/2013 12:25 PM Thursday, Stephen Mattingly wrote: >>Hi All, >> I am trying to find the "setup inline object" to try out an >> example script (under MouseResponseData.CursorX in Ebasic help). I >> can make an inline1, and an inline 2, but where do i post part A? >> I tried just posting it into the "user" tab of the script, but i >> get an error. 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/52851d04.2cdd320a.723a.1f1cSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From pfc.groot at gmail.com Thu Nov 14 21:26:10 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Thu, 14 Nov 2013 22:26:10 +0100 Subject: Dual indicator VAS with mirror movement In-Reply-To: <63db5afa-0aec-4d46-b2e7-07ba0c9f9c31@googlegroups.com> Message-ID: Hi Graeme, If you draw the indicator using inline script on a canvas, then drawing a second indicator would just mean duplicating a few lines and reversing the indicator position, wouldn't it? If you use the mouse cursor position to move the indicator, you probably have to think about how to map the the mouse cursor: does a mouse cursor position at the center of the screen correspond to the overlapping indicators, or do you use the full mouse cursor range from one side of the screen to the opposite to go from minimum (centered indicators) to maximum VAS...? The first option has symmetrical functionality. Best, Paul On 14 November 2013 17:06, Graeme Davidson wrote: > Hello there, > > I was wondering if anyone could help me with a problem. > > I'm trying to design a visual analogue scale with two indicators which > have reflective movement on the same scale line. So essentially a > participant would see an image and then be asked to rate the weight of the > image. I have no problems doing this on a single indicator VAS but my > research supervisor would like it so that there are two indicators, and > when you move one the other indicator moves in a mirrored movement. The > best I could describe it as is a vice movement so when one indicator move > out from the centre of the scale the other indicator moves out from the > centre too. > > Does anyone know how I'd go about designing such a scale? > > I'd appreciate any help, on how to program this movement. > > all the best > > Graeme > > -- > You received this message because you are subscribed 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/63db5afa-0aec-4d46-b2e7-07ba0c9f9c31%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAKAdR-tyo7SWMg-%2B-%3DxtPzu%3DpadK%3DUOTmAvn7btUjvPx1KFhRQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fesais at gmail.com Fri Nov 15 20:52:50 2013 From: fesais at gmail.com (Fernanda Sais) Date: Fri, 15 Nov 2013 20:52:50 +0000 Subject: Feedback at the end of the block Message-ID: Hi, I am trying to set a feedback to be displayed at the end of each block. It works very well for the mean reaction time with different methods, but for the average accuracy I always have the same problem - the average accuracy displayed is far lower than expected for the number of errors commited: it should display something like 90-99% but it displays something like 60-79%, so I guess there is something I'm missing about it. The accuracy information is computed correctly into the data file, it is incorrect only in the feedback display. The code I'm using now is: 'At Block Setup: Set CorrecTimes = New Summation Set AverageAccuracy = New Summation 'After ResponseObject: If ResponseObject.ACC = "1" Then CorrectTimes.AddObservation c.GetAttrib("ResponseObject.RT") End If AverageAccuracy.AddObservation TempoResposta.ACC 'At the End of the Block: c.SetAttrib"BlockRT", Format(CStr(CDbl(CorrectTimes.Mean)),"0.00) c.SetAttrib"BlockACC", Format(CStr(CDbl(AverageAccuracy.Mean*100,"0.00") Then there is Text Display like that: Your results for this block: Mean Reaction Time: [BlockRT]ms Average Accuracy: [BlockACC]% Correct Responses Thanks a lot for any comment on that - I'm really running out of ideas. Best wishes, Fernanda -- You received this message because you are subscribed 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/CAB6VT_jZ9t07FaqU8ER1%3D2KqZhNqQ%2B-fOXKbu3pK9rvKw8uJrw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Nov 18 20:12:40 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 18 Nov 2013 15:12:40 -0500 Subject: Feedback at the end of the block In-Reply-To: Message-ID: Fernanda, Your puzzle interests me, but I cannot get to the puzzle itself because of problems in your code excerpts.... 0) You did not say so, but I presume that you defined your Summation objects as global variables in the global User Script area, thus, Dim CorrectTimes as Summation Dim AverageAccuracy as Summation Did you do that? 1) At one place your code uses "CorrecTimes", and at another "CorrectTimes". Those are two different variable names, you have to pick one or the other (I presume you meant "CorrectTimes" for both). 2) Your code for after ResponseObject includes the line AverageAccuracy.AddObservation TempoResposta.ACC but you have not used TempoResposta anywhere else. I suppose you mean AverageAccuracy.ACC here, but you should clarify that. While I am at it, I would change the code for CorrectTimes to merely If (ResponseObject.ACC = "1") Then CorrectTimes.AddObservation ResponseObject.RT or even further to just If ResponseObject.ACC Then CorrectTimes.AddObservation ResponseObject.RT 3) Your code at the end of the block contains two syntax errors. First, you have not closed off the quotes around the 0.00 at the end of your first line. Second, CDbl() takes only one argument, but on the second line you have placed the parentheses around two arguments. For that matter, you should not need the CDbl() and CString() conversions at all, the following should work just as well: c.SetAttrib "BlockRT", Format( CorrectTimes.Mean, "0.00" ) c.SetAttrib "BlockACC", Format( (AverageAccuracy.Mean * 100), "0.00" ) I discovered all this merely by pasting your own code into E-Studio and attempting to compile, at which time I got compile-time errors. When posting code to the Group, best to copy code excerpts directly from your E-Studio files rather than retyping into a message. I had to give up any further exploration after running into all these errors because I do not know if any of those might cause your problem. With that said, I will add one more thing that may affect your feedback calculation. You must make sure that the code after ResponseObject does *not* execute until after ResponseObject gets a response! You may do that in several ways: - Run another stimulus object between your ResponseObject and the inline code. - Set Duration of ResponseObject to "(infinite)" (and of course End Action to "Terminate"). - Set PreRelease of ResponseObject to 0. Otherwise, if your inline code runs during the presentation of ResponseObject but before it gets a response (very easy to do with PreRelease and a finite Duration), then the feedback calcuations will be wrong. This has become a particular problem as users with habits learned in older versions of E-Prime move up to EP2.0.10 (I know, I got bit by this myself just last week!). ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/15/2013 03:52 PM Friday, Fernanda Sais wrote: >Hi, > >I am trying to set a feedback to be displayed at the end of each >block. It works very well for the mean reaction time with different >methods, but for the average accuracy I always have the same problem >- the average accuracy displayed is far lower than expected for the >number of errors commited: it should display something like 90-99% >but it displays something like 60-79%, so I guess there is something >I'm missing about it. The accuracy information is computed correctly >into the data file, it is incorrect only in the feedback display. > >The code I'm using now is: > >'At Block Setup: > >Set CorrecTimes = New Summation >Set AverageAccuracy = New Summation > >'After ResponseObject: > >If ResponseObject.ACC = "1" Then >CorrectTimes.AddObservation c.GetAttrib("ResponseObject.RT") >End If > >AverageAccuracy.AddObservation TempoResposta.ACC > >'At the End of the Block: > >c.SetAttrib"BlockRT", Format(CStr(CDbl(CorrectTimes.Mean)),"0.00) >c.SetAttrib"BlockACC", Format(CStr(CDbl(AverageAccuracy.Mean*100,"0.00") > >Then there is Text Display like that: > >Your results for this block: >Mean Reaction Time: >[BlockRT]ms >Average Accuracy: >[BlockACC]% Correct Responses > >Thanks a lot for any comment on that - I'm really running out of ideas. > >Best wishes, > >Fernanda -- You received this message because you are subscribed 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/528a74c4.6801320a.08e7.7ea4SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From raquel.antoinette at gmail.com Mon Nov 18 20:19:34 2013 From: raquel.antoinette at gmail.com (Raquel Cowell) Date: Mon, 18 Nov 2013 12:19:34 -0800 Subject: BART E-Prime 2.0 Missing PumpNPopList Nested List Message-ID: I recently downloaded an E-Prime 2.0 version of the BART from http://psychology.msu.edu/lcdlab/programs/. For the most part, the .es2 file is great, but there seems to be a missing nested list from the TrialList. In the TrialList, there are the following 4 columns: Weight; Nested; Procedure; PayPerPump. Within the Nested column is the following text: "PumpNPopList". However, the list is never detailed anywhere and the icon placeholder is a "?" I want to replace the list with the correct information, but I am unsure of what exactly should be included. Any help or insight would be greatly appreciated. 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/f47300bb-bb7c-4bfd-a37e-3588180a6c74%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fesais at gmail.com Tue Nov 19 15:09:58 2013 From: fesais at gmail.com (Fernanda Sais) Date: Tue, 19 Nov 2013 07:09:58 -0800 Subject: Feedback at the end of the block In-Reply-To: <528a74c4.6801320a.08e7.7ea4SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: David, I am really sorry for the type errors, I really should have copied the code. But the problem really had something to do with how E-Prime computes responses at run time, as you suggest at the end of your message. Turns out I had a no go trial, and accuracy computation was not ready when the inline needing it was executed, so no go trials for which subject correctly did not respond were computed as errors while running the program. I used an inline with the code Do While TempoResposta.InputMasks.IsPending() Loop And that seems to be working fine now! Thank you very much for your help! Best, Fernanda Em segunda-feira, 18 de novembro de 2013 20h12min40s UTC, McFarlane, David escreveu: > > Fernanda, > > Your puzzle interests me, but I cannot get to the puzzle itself > because of problems in your code excerpts.... > > > 0) You did not say so, but I presume that you defined your Summation > objects as global variables in the global User Script area, thus, > > Dim CorrectTimes as Summation > Dim AverageAccuracy as Summation > > Did you do that? > > > 1) At one place your code uses "CorrecTimes", and at another > "CorrectTimes". Those are two different variable names, you have to > pick one or the other (I presume you meant "CorrectTimes" for both). > > > 2) Your code for after ResponseObject includes the line > > AverageAccuracy.AddObservation TempoResposta.ACC > > but you have not used TempoResposta anywhere else. I suppose you > mean AverageAccuracy.ACC here, but you should clarify that. > > While I am at it, I would change the code for CorrectTimes to merely > > If (ResponseObject.ACC = "1") Then CorrectTimes.AddObservation > ResponseObject.RT > > or even further to just > > If ResponseObject.ACC Then CorrectTimes.AddObservation > ResponseObject.RT > > > 3) Your code at the end of the block contains two syntax > errors. First, you have not closed off the quotes around the 0.00 at > the end of your first line. Second, CDbl() takes only one argument, > but on the second line you have placed the parentheses around two > arguments. For that matter, you should not need the CDbl() and > CString() conversions at all, the following should work just as well: > > c.SetAttrib "BlockRT", Format( CorrectTimes.Mean, "0.00" ) > c.SetAttrib "BlockACC", Format( (AverageAccuracy.Mean * 100), "0.00" > ) > > > I discovered all this merely by pasting your own code into E-Studio > and attempting to compile, at which time I got compile-time > errors. When posting code to the Group, best to copy code excerpts > directly from your E-Studio files rather than retyping into a > message. I had to give up any further exploration after running into > all these errors because I do not know if any of those might cause > your problem. > > With that said, I will add one more thing that may affect your > feedback calculation. You must make sure that the code after > ResponseObject does *not* execute until after ResponseObject gets a > response! You may do that in several ways: > - Run another stimulus object between your ResponseObject and > the inline code. > - Set Duration of ResponseObject to "(infinite)" (and of course > End Action to "Terminate"). > - Set PreRelease of ResponseObject to 0. > Otherwise, if your inline code runs during the presentation of > ResponseObject but before it gets a response (very easy to do with > PreRelease and a finite Duration), then the feedback calcuations will > be wrong. This has become a particular problem as users with habits > learned in older versions of E-Prime move up to EP2.0.10 (I know, I > got bit by this myself just last week!). > > ----- > 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) PST's trained staff > take any and all questions at https://support.pstnet.com , and they > strive to respond to all requests in 24-48 hours, so make full use of > it. 3) In addition, PST offers several instructional videos on their > YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/15/2013 03:52 PM Friday, Fernanda Sais wrote: > >Hi, > > > >I am trying to set a feedback to be displayed at the end of each > >block. It works very well for the mean reaction time with different > >methods, but for the average accuracy I always have the same problem > >- the average accuracy displayed is far lower than expected for the > >number of errors commited: it should display something like 90-99% > >but it displays something like 60-79%, so I guess there is something > >I'm missing about it. The accuracy information is computed correctly > >into the data file, it is incorrect only in the feedback display. > > > >The code I'm using now is: > > > >'At Block Setup: > > > >Set CorrecTimes = New Summation > >Set AverageAccuracy = New Summation > > > >'After ResponseObject: > > > >If ResponseObject.ACC = "1" Then > >CorrectTimes.AddObservation c.GetAttrib("ResponseObject.RT") > >End If > > > >AverageAccuracy.AddObservation TempoResposta.ACC > > > >'At the End of the Block: > > > >c.SetAttrib"BlockRT", Format(CStr(CDbl(CorrectTimes.Mean)),"0.00) > >c.SetAttrib"BlockACC", Format(CStr(CDbl(AverageAccuracy.Mean*100,"0.00") > > > >Then there is Text Display like that: > > > >Your results for this block: > >Mean Reaction Time: > >[BlockRT]ms > >Average Accuracy: > >[BlockACC]% Correct Responses > > > >Thanks a lot for any comment on that - I'm really running out of ideas. > > > >Best wishes, > > > >Fernanda > > -- You received this message because you are subscribed 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/0f453807-f57f-411e-85cc-1d90c06f6fb7%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Nov 19 15:49:43 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 19 Nov 2013 10:49:43 -0500 Subject: BART E-Prime 2.0 Missing PumpNPopList Nested List In-Reply-To: Message-ID: I already replied to Raquel off the list, but for the record in case anyone else stumbles upon this... Wow, I did the initial development on that program (if you open the Experiment object you will see my name there) -- a great project where I got to expand my E-Prime skills! PumpNPopList appears as a question mark in the Structure because it is generated at run time by the inline code in TrialsInitScript prior to running TrialList (which then calls upon the nested PumpNPopList). Yes, really! It's an unusual and challenging move, but I did it that way in order to programmaticaly enforce some specific properties on PumpNPopList, and you will find some explanation for that in the comments in TrialsInitScript. If you prefer to replace PumpNPopList with a more normal (and non-dynamic) nested List, then you would want a PumpNPopList with a "PumpNPop" attribute (but of course, you could figure that out from the code in TrialsInitScript -- see the PumpNPopList.AddAttrib commands). Note that nList is just a temporary auxiliary List used for populating PumpNPopList and is not used anywhere in the Structure, if you make your own PumpNPopList then you may just ignore (or delete) nList. Do be aware that we used inline code to construct PumpNPopList in order to enforce some desirable properties, so you may want to consider that as you design your replacement PumpNPopList. BTW, I designed this program at a time when I was exploring the use of Lists as a construct for programmed loops, which accounts for my peculiar use of a StepList within the TrialProc. If I were to program this today, I might instead use an ordinary Label and Goto to do the "step" loop (and then I would have to do the step logging in inline code instead of having StepList take care of that automatically). (I also now use the term "code" where I used to use "script", but that is another matter.) ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster ) At 11/18/2013 03:19 PM Monday, Raquel Cowell wrote: >I recently downloaded an E-Prime 2.0 version of the BART >from http://psychology.msu.edu/lcdlab/programs/. > >For the most part, the .es2 file is great, but there seems to be a >missing nested list from the TrialList. In the TrialList, there are >the following 4 columns: Weight; Nested; Procedure; PayPerPump. > >Within the Nested column is the following text: "PumpNPopList". >However, the list is never detailed anywhere and the icon placeholder is a "?" > >I want to replace the list with the correct information, but I am >unsure of what exactly should be included. > >Any help or insight would be greatly appreciated. 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/528b88a6.6801320a.08e7.ffffaaefSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From paulinenarme at gmail.com Tue Nov 19 15:55:09 2013 From: paulinenarme at gmail.com (pauline narme) Date: Tue, 19 Nov 2013 07:55:09 -0800 Subject: coding a dual task with musical stimuli Message-ID: Hi, I would like some tips to code a dual task. My experiment is a memory task with an encoding condition in divided attention. More precisely, subjects have to listen to musical excerpts (mean duration around 10 sec) while they have to respond to a series of trials involving responding to digits. I followed the dual task sample available on the PST website and did exactly the same (i.e. "The start time is determined at the beginning of the trial. The object presenting the word has a Duration value of zero msec. This displays the word, then immediately begins presentation of the digit task. The duration of the word is set as an attribute in the WordList, but the actual run-time duration is monitored by the digit trial"s) However, although the task is running without error, I can hear any sound. This is probably due to the duration value of zero msec of the sound "object", but if I change this value, this is not a dual task anymore since the sound is first heard THEN digits appeared. Looking forward to read some help. Thanks, Pauline -- You received this message because you are subscribed 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/7cd7c688-4e7d-4563-8611-d765128316b3%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Nov 19 16:10:00 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 19 Nov 2013 11:10:00 -0500 Subject: coding a dual task with musical stimuli In-Reply-To: <7cd7c688-4e7d-4563-8611-d765128316b3@googlegroups.com> Message-ID: Pauline, I did not look at the Dual Task example from PST, so I am just basing this on general knowledge of E-Prime SoundOut & SlideSound objects, quite apart from any dual task considerations. Anyway, make sure that "Stop After" on your sound object is set to "No" -- set to "No", the sound should play through even if the stimulus object that started it ends first. Set to "Yes", the sound will stop playing at the offset of the stimulus object that started it. I explain this and more better in my online 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/19/2013 10:55 AM Tuesday, pauline narme wrote: >I would like some tips to code a dual task. My experiment is a >memory task with an encoding condition in divided attention. >More precisely, subjects have to listen to musical excerpts (mean >duration around 10 sec) while they have to respond to a series of >trials involving responding to digits. >I followed the dual task sample available on the PST website and did >exactly the same (i.e. "The start time is determined at the >beginning of the trial. The object presenting the word has a >Duration value of zero msec. This displays the word, then >immediately begins presentation of the digit task. The duration of >the word is set as an attribute in the WordList, but the actual >run-time duration is monitored by the digit trial"s) > >However, although the task is running without error, I can hear any >sound. This is probably due to the duration value of zero msec of >the sound "object", but if I change this value, this is not a dual >task anymore since the sound is first heard THEN digits appeared. > >Looking forward to read some help. > >Thanks, > >Pauline -- You received this message because you are subscribed 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/528b8d63.0b39320a.4016.ffffae16SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From oh.justinian at gmail.com Tue Nov 19 22:32:57 2013 From: oh.justinian at gmail.com (Junho Oh) Date: Tue, 19 Nov 2013 14:32:57 -0800 Subject: charAt for String in Ebasic? Message-ID: Hello, I am new to Eprime and Ebasic and I have been fiddling around with string manipulation. Is there no way to get the index of a particular character in a string (eg. charAt in Java)? And is there no way to get the substring either? Thank you very much for your help! -Junho -- You received this message because you are subscribed 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/97ea622f-1d7e-4a93-9c56-b2c34392531a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Tue Nov 19 22:47:51 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Tue, 19 Nov 2013 23:47:51 +0100 Subject: charAt for String in Ebasic? In-Reply-To: <97ea622f-1d7e-4a93-9c56-b2c34392531a@googlegroups.com> Message-ID: Check the E-Basic manual for InStr() and Mid(). Paul On 19 November 2013 23:32, Junho Oh wrote: > Hello, > I am new to Eprime and Ebasic and I have been fiddling around with string > manipulation. > Is there no way to get the index of a particular character in a string > (eg. charAt in Java)? And is there no way to get the substring either? > Thank you very much for your help! > -Junho > > -- > You received this message because you are subscribed 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/97ea622f-1d7e-4a93-9c56-b2c34392531a%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAKAdR-tV%2BHZc_oETJNBOo3h8gyLABY7QYrm__zcQjPnQ_S61GA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Nov 19 22:49:42 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 19 Nov 2013 17:49:42 -0500 Subject: charAt for String in Ebasic? In-Reply-To: <97ea622f-1d7e-4a93-9c56-b2c34392531a@googlegroups.com> Message-ID: Junho, Just to clarify, by "get the index of a particular character in a string" you actually mean "get the character at a particular index in a string" (I Googled "java charat" to verify that). For both that and getting substrings, see the "Mid, Mid$, MidB, MidB$ (functions)" topic in the E-Basic Help facility. Note BTW that VBA/E-Basic strings are not objects as they are in Java. (And to get something akin to "get the index of a particular character in a string", see the "InStr, InStrB (functions)" topic in the E-Basic Help facility -- I do not know what the Java equivalent might be for that.) Good luck, ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/19/2013 05:32 PM Tuesday, Junho Oh wrote: >I am new to Eprime and Ebasic and I have been fiddling around with >string manipulation. >Is there no way to get the index of a particular character in a >string (eg. charAt in Java)? And is there no way to get the substring either? >Thank you very much for your help! >-Junho -- You received this message because you are subscribed 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/528beb13.0b39320a.4016.ffffc0a6SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From ndlabmanager at gmail.com Tue Nov 19 22:53:51 2013 From: ndlabmanager at gmail.com (Stephen Mattingly) Date: Tue, 19 Nov 2013 14:53:51 -0800 Subject: "setup inline object" In-Reply-To: <52851d04.2cdd320a.723a.1f1cSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: This was very helpful, and i was able to see how it works (and have modified it for my purposes successfully) On Thursday, November 14, 2013 1:56:59 PM UTC-5, McFarlane, David wrote: > > BTW, I found the location for that file by looking in the Contents of > the EP1 E-Basic Help under E-Basic > Welcome, where I found the following > text: > > "To illustrate the use of the statement, function, command or object, > two sample programs have been included with your install, > E-BasicExample.es and E-BasicSoundExample.es Simply copy and paste > the sample script to the proper InLine object as instructed in the > notes following the script." > > (This is from the E-Basic Help for EP1. The EP2 E-Basic Help > contains a similar notice under the "Using E-Basic Help" topic in the > Contents tab.) > > -- David McFarlane > > > At 11/14/2013 01:46 PM Thursday, David McFarlane wrote: > >Look in your My Experiments folder for a file named > >"E-BasicExample.es" (or .es2). Open that in E-Studio, and you will > >see the Setup inline in the structure just under SessionProc. > > > >Note that the code examples throughout the E-Basic Help are meant to > >be used with this example program. Note also that many of the code > >examples in the E-Basic Help are flawed -- some of them contain rank > >syntax mistakes that result in compile-time errors, and even when > >the code works, they are often examples of poor programming > >practices. Best to take the examples as mere starting guidelines, > >use them to grasp the underlying principles, and then build anew > >from that understanding. > > > >Good luck. > > > >----- > >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) PST's trained staff > >take any and all questions at https://support.pstnet.com , and they > >strive to respond to all requests in 24-48 hours, so make full use > >of it. 3) In addition, PST offers several instructional videos on > >their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/14/2013 12:25 PM Thursday, Stephen Mattingly wrote: > >>Hi All, > >> I am trying to find the "setup inline object" to try out an > >> example script (under MouseResponseData.CursorX in Ebasic help). I > >> can make an inline1, and an inline 2, but where do i post part A? > >> I tried just posting it into the "user" tab of the script, but i > >> get an error. 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/a042456d-1bcf-4238-b35e-47a1f47782c9%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ndlabmanager at gmail.com Tue Nov 19 23:09:57 2013 From: ndlabmanager at gmail.com (Stephen Mattingly) Date: Tue, 19 Nov 2013 15:09:57 -0800 Subject: Attribute cell to lookup value? Message-ID: Hi All, Is there any way for an attribute cell (within a list) to call for a value, rather than just use the value in the cell? currently, if i put a string variable name in the attribute cell in a list (e.g. randomColor(0) ), it tries to find a file name that is the variable name (tries to find file,"randomColor(0)" ). rather, i would like it to look up the value stored by the variable and use THAT string as a filename. as i build complexity into this task, my current solution becomes a pain, but my current solution is below: --- i want to randomize a list of colors at the beginning, but to keep the value the same for the rest of the experiment. first inline Dim randomColor(3) as String randomColor(0)="red.bmp" randomColor(1)="blue.bmp" randomColor(2)="yellow.bmp" randomColor(3)="green.bmp" Randomize randomizeArray randomColor while ColorAssignCount < 49 '48 training trials Train.SetAttrib ColorAssignCount, "Color1", randomColor(0) Train.SetAttrib ColorAssignCount, "Color2", randomColor(1) Train.SetAttrib ColorAssignCount, "Color3", randomColor(2) Train.SetAttrib ColorAssignCount, "Color4", randomColor(3) ColorAssignCount = ColorAssignCount + 1 wend -- it would be simpler to be able to call, within each list, 'randomColor(0)', as i will eventually have many lists and other elements that need randomization in a similar way. -- You received this message because you are subscribed 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/05910ed9-26aa-4638-9a92-a629eb513946%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From oh.justinian at gmail.com Tue Nov 19 23:13:02 2013 From: oh.justinian at gmail.com (Junho Oh) Date: Tue, 19 Nov 2013 15:13:02 -0800 Subject: charAt for String in Ebasic? In-Reply-To: <528beb13.0b39320a.4016.ffffc0a6SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thank you for your help! After I posted it, I managed to find the Mid function :D On Tuesday, November 19, 2013 5:49:42 PM UTC-5, McFarlane, David wrote: > > Junho, > > Just to clarify, by "get the index of a particular character in a > string" you actually mean "get the character at a particular index in > a string" (I Googled "java charat" to verify that). For both that > and getting substrings, see the "Mid, Mid$, MidB, MidB$ (functions)" > topic in the E-Basic Help facility. Note BTW that VBA/E-Basic > strings are not objects as they are in Java. > > (And to get something akin to "get the index of a particular > character in a string", see the "InStr, InStrB (functions)" topic in > the E-Basic Help facility -- I do not know what the Java equivalent > might be for that.) > > Good luck, > ----- > 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) PST's trained staff > take any and all questions at https://support.pstnet.com , and they > strive to respond to all requests in 24-48 hours, so make full use of > it. 3) In addition, PST offers several instructional videos on their > YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/19/2013 05:32 PM Tuesday, Junho Oh wrote: > >I am new to Eprime and Ebasic and I have been fiddling around with > >string manipulation. > >Is there no way to get the index of a particular character in a > >string (eg. charAt in Java)? And is there no way to get the substring > either? > >Thank you very much for your help! > >-Junho > > -- You received this message because you are subscribed 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/68174c90-5bc6-4cae-b9eb-e87d40056180%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Wed Nov 20 08:20:15 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 20 Nov 2013 09:20:15 +0100 Subject: Attribute cell to lookup value? In-Reply-To: <05910ed9-26aa-4638-9a92-a629eb513946@googlegroups.com> Message-ID: Just a minor detail: instead of a while loop you could use a for-loop, which is the preferred construction to iterate over an index, and is less sensitive for infinite loop 'accidents'. About your question: I think it would be a nice feature to be able to refer to E-Basic variables inside list elements. However, the developers of E-Prime used a different approach for dynamically loading list content: 1) the []-syntax to reference the content of another attribute (i.e. [OtherAttrib]) 2) nested lists You can combine the two to pull values from another (nested) list. So, if you put the four filenames in a nested ColorList, you could use these values in the Train list. (Using the randomization settings of the ColorList when populating the Train list.) In this case you probably have to use the colon syntax to pull four values from the same nested attribute for a single Train trial ([OtherAttrib:0] [OtherAttrib:1] etc.). So, in your case you could place [OtherAttrib:0] in the Color1 attribute, [OtherAttrib:1] in the Color2 attribute, etc. Also see the attached example. Cheers Paul On 20 November 2013 00:09, Stephen Mattingly wrote: > Hi All, > Is there any way for an attribute cell (within a list) to call for a > value, rather than just use the value in the cell? > > currently, if i put a string variable name in the attribute cell in a list > (e.g. randomColor(0) ), it tries to find a file name that is the variable > name (tries to find file,"randomColor(0)" ). rather, i would like it to > look up the value stored by the variable and use THAT string as a filename. > > as i build complexity into this task, my current solution becomes a pain, > but my current solution is below: > > > --- > > i want to randomize a list of colors at the beginning, but to keep the > value the same for the rest of the experiment. > > first inline > > Dim randomColor(3) as String > randomColor(0)="red.bmp" > randomColor(1)="blue.bmp" > randomColor(2)="yellow.bmp" > randomColor(3)="green.bmp" > Randomize > randomizeArray randomColor > > while ColorAssignCount < 49 '48 training trials > > Train.SetAttrib ColorAssignCount, "Color1", randomColor(0) > Train.SetAttrib ColorAssignCount, "Color2", randomColor(1) > Train.SetAttrib ColorAssignCount, "Color3", randomColor(2) > Train.SetAttrib ColorAssignCount, "Color4", randomColor(3) > > ColorAssignCount = ColorAssignCount + 1 > > wend > -- > > it would be simpler to be able to call, within each list, > 'randomColor(0)', as i will eventually have many lists and other elements > that need randomization in a similar way. > > -- > You received this message because you are subscribed 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/05910ed9-26aa-4638-9a92-a629eb513946%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed 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/CAKAdR-vjDQRCa9ck5k03kB_csgSveOT0Vs06PocujHEa4pGQjQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: NestedReference.es2 Type: application/octet-stream Size: 38002 bytes Desc: not available URL: From ndlabmanager at gmail.com Wed Nov 20 16:08:25 2013 From: ndlabmanager at gmail.com (Stephen Mattingly) Date: Wed, 20 Nov 2013 08:08:25 -0800 Subject: Attribute cell to lookup value? In-Reply-To: Message-ID: thanks so much - this is very helpful! On Wednesday, November 20, 2013 3:20:15 AM UTC-5, Paul Groot wrote: > > Just a minor detail: instead of a while loop you could use a for-loop, > which is the preferred construction to iterate over an index, and is less > sensitive for infinite loop 'accidents'. > > About your question: I think it would be a nice feature to be able to > refer to E-Basic variables inside list elements. However, the developers of > E-Prime used a different approach for dynamically loading list content: > 1) the []-syntax to reference the content of another attribute (i.e. > [OtherAttrib]) > 2) nested lists > > You can combine the two to pull values from another (nested) list. So, if > you put the four filenames in a nested ColorList, you could use these > values in the Train list. (Using the randomization settings of the > ColorList when populating the Train list.) In this case you probably have > to use the colon syntax to pull four values from the same nested attribute > for a single Train trial ([OtherAttrib:0] [OtherAttrib:1] etc.). So, in > your case you could place [OtherAttrib:0] in the Color1 attribute, > [OtherAttrib:1] in the Color2 attribute, etc. > > > Also see the attached example. > > Cheers > Paul > > > > > > On 20 November 2013 00:09, Stephen Mattingly > > wrote: > >> Hi All, >> Is there any way for an attribute cell (within a list) to call for a >> value, rather than just use the value in the cell? >> >> currently, if i put a string variable name in the attribute cell in a >> list (e.g. randomColor(0) ), it tries to find a file name that is the >> variable name (tries to find file,"randomColor(0)" ). rather, i would like >> it to look up the value stored by the variable and use THAT string as a >> filename. >> >> as i build complexity into this task, my current solution becomes a >> pain, but my current solution is below: >> >> >> --- >> >> i want to randomize a list of colors at the beginning, but to keep the >> value the same for the rest of the experiment. >> >> first inline >> >> Dim randomColor(3) as String >> randomColor(0)="red.bmp" >> randomColor(1)="blue.bmp" >> randomColor(2)="yellow.bmp" >> randomColor(3)="green.bmp" >> Randomize >> randomizeArray randomColor >> >> while ColorAssignCount < 49 '48 training trials >> >> Train.SetAttrib ColorAssignCount, "Color1", randomColor(0) >> Train.SetAttrib ColorAssignCount, "Color2", randomColor(1) >> Train.SetAttrib ColorAssignCount, "Color3", randomColor(2) >> Train.SetAttrib ColorAssignCount, "Color4", randomColor(3) >> >> ColorAssignCount = ColorAssignCount + 1 >> >> wend >> -- >> >> it would be simpler to be able to call, within each list, >> 'randomColor(0)', as i will eventually have many lists and other elements >> that need randomization in a similar way. >> >> -- >> You received this message because you are subscribed 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/05910ed9-26aa-4638-9a92-a629eb513946%40googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed 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/ccb6aded-b598-4d11-86f4-df2ff6c8d057%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacanterbury at gmail.com Thu Nov 21 10:30:54 2013 From: jacanterbury at gmail.com (JACanterbury) Date: Thu, 21 Nov 2013 02:30:54 -0800 Subject: Running E-Studio on a client thats on a different subnet to the networked license machine - Help ple Message-ID: Hi, Hoping that someone can help me. We have a 10 seat network license for e-studio v2. Does anyone know how I can configure HASP (the 3rd party software PST use to control the network licensing) so that a client PC that's on a different subnet on the network can run? I'm pretty sure it's possible, from Googling other products that use HASP but I can;t work out how to do it. I'm not sure if its something that needs doing on the license server itself, on the client PC or on both. I know that the client PC has the file C:\Program Files (x86)\Common Files\Aladdin Shared\HASP\hasplm.ini (NB this file doesn't exist by default but you can generate it by clicking the SUBMIT button if you connect to http://localhost:1947/_int_/ACC_help_index.html on the client and goto the 'configuration tab' ) I think that it should be possible to edit it then to make it look beyond it's own subnet. Any help would be much appreciated, Many Thanks, John -- You received this message because you are subscribed 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/e907c8e9-a124-434e-afcf-54ece55afcbe%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From filmstudieleipzig at googlemail.com Thu Nov 21 14:45:58 2013 From: filmstudieleipzig at googlemail.com (M. W.) Date: Thu, 21 Nov 2013 06:45:58 -0800 Subject: please help me convert ePrime professional file to standard In-Reply-To: Message-ID: Here you go... Am Samstag, 26. Oktober 2013 01:40:07 UTC+2 schrieb Pete Khooshabeh, PhD: > > Hello, > > Will someone be so kind as to save this file into ePrime standard? > > I really appreciate it. > > Here are instructions: > > http://www.youtube.com/watch?v=bw3HIk3M_7o > > Peter > -- You received this message because you are subscribed 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/48cbf826-467a-4232-bd3b-3c66ded80079%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: GamblingTask_std.es2 Type: application/octet-stream Size: 97540 bytes Desc: not available URL: From tobias.fw at gmail.com Thu Nov 21 17:27:53 2013 From: tobias.fw at gmail.com (Tobias) Date: Thu, 21 Nov 2013 09:27:53 -0800 Subject: Equidistant colors Message-ID: Dear all, This is not directly connected to E-Prime, but since some people are presumbly real experts in psychophysics here, I would like to ask anyway and I hope I can get some hints here. I would like to conduct an attention experiment in which I need to have 9 colors. These should be "equidistant". That is, they should be equally salient on a black background. The first thing I cam eup with was to use the HSV color space and varied the H value from 0 to 239 with equal distance while keeping the S and V value fixed. The outcome is quite disappointing. The colors seem to be not comparable at all, some seem brighter, some darker and the subjective distance ('similarity') was rather variable. Does anyone have a good idea how to choose 9 color that are equidistant? Thanks a lot, 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/377897ad-ad87-449b-942b-76f7fb59df36%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Nov 21 18:36:21 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Nov 2013 13:36:21 -0500 Subject: Equidistant colors In-Reply-To: <377897ad-ad87-449b-942b-76f7fb59df36@googlegroups.com> Message-ID: Tobias, Googling "equidistant colors" got me to http://vis4.net/blog/posts/avoid-equidistant-hsv-colors/ . And that in turn reminded me of the CIE L*a*b* and HCL color spaces, which you may look up on Wikipedia. I think you can take it from there. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster ) At 11/21/2013 12:27 PM Thursday, Tobias wrote: >This is not directly connected to E-Prime, but since some people are >presumbly real experts in psychophysics here, I would like to ask >anyway and I hope I can get some hints here. > >I would like to conduct an attention experiment in which I need to >have 9 colors. These should be "equidistant". That is, they should >be equally salient on a black background. > >The first thing I cam eup with was to use the HSV color space and >varied the H value from 0 to 239 with equal distance while keeping >the S and V value fixed. >The outcome is quite disappointing. The colors seem to be not >comparable at all, some seem brighter, some darker and the >subjective distance ('similarity') was rather variable. > >Does anyone have a good idea how to choose 9 color that are equidistant? > >Thanks a lot, >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/528e52b2.2cdd320a.5a56.1eebSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From cjp872 at gmail.com Thu Nov 21 19:10:54 2013 From: cjp872 at gmail.com (Colton Perry) Date: Thu, 21 Nov 2013 11:10:54 -0800 Subject: Design that loops a visual discrimination task while waiting for keyboard input? Message-ID: Hi all, I hope this isn't something I could have easily figured out by a good Google search, I just haven't been able to find the correct search terms to get what I'm going for here. I'm trying to implement a design that's a bit beyond my understanding (most of my experience with e-prime has been mostly pretty straight-forward linear presentation stuff). To boil it down to a single trial, I'd like to present a simple visual search/discrimination task alongside a set of verbal instructions. So for example, at the onset of a trial, a text display would appear providing instructions for a primary task to be performed outside of e-prime (these tasks are performed on a motorcycle infotainment system). A short time after the onset of those instructions, the visual discrimination task would begin. So, leaving the instructions on the display, a letter would appear. If this is a key letter, the participant would respond with a key press (well, a foot pedal mapped to a key press "b", but a key press to Eprime). If it's not a key letter, then the participant does nothing and the letter disappears. The part I'm not sure how to accomplish is that after they respond with a key press, I need the discrimination task to repeat itself on average every 5 seconds (so 5 ? 2s) while the text display with the instructions remains the same. After the participant completes the primary task on the motorcycle, a researcher would then press a key to end the trial and move on to the next set of instructions. So it would look something like this: Primary task instruction onset --- key letter appears > foot pedal response > key letter disappears, record RT --- foil letter appears > no response > foil letter disappears after a given time, record response if incorrect --- repeat randomly --- Primary task completed > research presses key > record total trial time Primary task instruction onset etc. Does this make sense? Please let me know if I need to provide more information. I'll keep trying different things in the meantime. Most of my experience with Eprime has been in the gui interface rather than the inline commands, so I'm pretty inexperienced on that end, but I'm definitely willing to learn. Thanks in advance for your time, -- You received this message because you are subscribed 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/ebffb536-69f2-4bab-b59a-9f464d6eebd4%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Nov 21 19:17:39 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Nov 2013 14:17:39 -0500 Subject: Equidistant colors In-Reply-To: <528e52b2.2cdd320a.5a56.1eebSMTPIN_ADDED_MISSING@gmr-mx.goo gle.com> Message-ID: Nate Vack in the PsychoPy Google Group (https://groups.google.com/d/topic/psychopy-users/PwEuTGO1vyg/discussion ) also suggests HUSL, see http://boronine.com/husl/ . -- David McFarlane At 11/21/2013 01:36 PM Thursday, David McFarlane wrote: >Tobias, > >Googling "equidistant colors" got me to >http://vis4.net/blog/posts/avoid-equidistant-hsv-colors/ . And that >in turn reminded me of the CIE L*a*b* and HCL color spaces, which >you may look up on Wikipedia. I think you can take it from there. > >----- >David McFarlane >E-Prime training >online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster ) > > >At 11/21/2013 12:27 PM Thursday, Tobias wrote: >>This is not directly connected to E-Prime, but since some people >>are presumbly real experts in psychophysics here, I would like to >>ask anyway and I hope I can get some hints here. >> >>I would like to conduct an attention experiment in which I need to >>have 9 colors. These should be "equidistant". That is, they should >>be equally salient on a black background. >> >>The first thing I cam eup with was to use the HSV color space and >>varied the H value from 0 to 239 with equal distance while keeping >>the S and V value fixed. >>The outcome is quite disappointing. The colors seem to be not >>comparable at all, some seem brighter, some darker and the >>subjective distance ('similarity') was rather variable. >> >>Does anyone have a good idea how to choose 9 color that are equidistant? >> >>Thanks a lot, >>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/528e5c60.0286320a.73ed.2084SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Thu Nov 21 19:28:56 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Nov 2013 14:28:56 -0500 Subject: Design that loops a visual discrimination task while waiting for keyboard input? In-Reply-To: Message-ID: Do I understand correctly that your sticking point is only how to keep some constant text on the display throughout a series of stimuli & responses? If that's all, I have two solutions: 1) The rookie way: Add the constant text to all of the stimulus displays -- either add the full literal text into each display, or put the text into an attribute and then use the same atribute reference in each display. You would most easily do this using Slides for your display objects. 2) My preferred way: With judicious use of Frame Size and Position, and BackStyle Transparent, you may add the constant text to a place on the screen that just never gets covered up by subsequent stimuli. Good luck. ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/21/2013 02:10 PM Thursday, Colton Perry wrote: >Hi all, I hope this isn't something I could have >easily figured out by a good Google search, I >just haven't been able to find the correct >search terms to get what I'm going for here. > >I'm trying to implement a design that's a bit >beyond my understanding (most of my experience >with e-prime has been mostly pretty >straight-forward linear presentation stuff). To >boil it down to a single trial, I'd like to >present a simple visual search/discrimination >task alongside a set of verbal instructions. So >for example, at the onset of a trial, a text >display would appear providing instructions for >a primary task to be performed outside of >e-prime (these tasks are performed on a >motorcycle infotainment system). A short time >after the onset of those instructions, the >visual discrimination task would begin. So, >leaving the instructions on the display, a >letter would appear. If this is a key letter, >the participant would respond with a key press >(well, a foot pedal mapped to a key press "b", >but a key press to Eprime). If it's not a key >letter, then the participant does nothing and >the letter disappears. The part I'm not sure how >to accomplish is that after they respond with a >key press, I need the discrimination task to >repeat itself on average every 5 seconds (so 5 ? >2s) while the text display with the instructions >remains the same. After the participant >completes the primary task on the motorcycle, a >researcher would then press a key to end the >trial and move on to the next set of instructions. > >So it would look something like this: > >Primary task instruction onset >--- key letter appears > foot pedal response > >key letter disappears, record RT >--- foil letter appears > no response > foil >letter disappears after a given time, record response if incorrect >--- repeat randomly >--- Primary task completed > research presses key > record total trial time >Primary task instruction onset >etc. > >Does this make sense? Please let me know if I >need to provide more information. I'll keep >trying different things in the meantime. Most of >my experience with Eprime has been in the gui >interface rather than the inline commands, so >I'm pretty inexperienced on that end, but I'm definitely willing to learn. > >Thanks in advance for your time, -- You received this message because you are subscribed 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/528e5f05.629a320a.1d9f.20aaSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From cjp872 at gmail.com Thu Nov 21 19:53:22 2013 From: cjp872 at gmail.com (Colton Perry) Date: Thu, 21 Nov 2013 11:53:22 -0800 Subject: Design that loops a visual discrimination task while waiting for keyboard input? In-Reply-To: <528e5f05.629a320a.1d9f.20aaSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: That's a component of what I'm trying to do, but I think the main thing I'd like to accomplish is to be able to record both the RTs and accuracy to responses for the monitoring task while also recording the total time that the trial took place. Maybe I'm thinking about it the wrong way. It seems like it wouldn't be difficult to have a procedure that does one or the other, but I don't know how to get it to do both concurrently. It's important that all of the monitoring responses be tied to each particular text instruction because our goal is to measure the differences in accuracy and RT for the monitoring task as a result of the different primary tasks. I feel like I'm not being particularly clear, and I apologize for that. We have two tasks that we would like to be recorded. One is performance on the monitoring task, and one is total time for completion of the primary task. So a single "trial" is the onset of the text instructions to the keypress that terminates that set of instructions, and within that trial the visual monitoring task loops until the trial is over. I'm not sure how to get do the two things concurrently. Am I making this more complicated than it really is? On Thursday, November 21, 2013 1:28:56 PM UTC-6, McFarlane, David wrote: > > Do I understand correctly that your sticking > point is only how to keep some constant text on > the display throughout a series of stimuli & > responses? If that's all, I have two solutions: > > 1) The rookie way: Add the constant text to all > of the stimulus displays -- either add the full > literal text into each display, or put the text > into an attribute and then use the same atribute > reference in each display. You would most easily > do this using Slides for your display objects. > > 2) My preferred way: With judicious use of Frame > Size and Position, and BackStyle Transparent, you > may add the constant text to a place on the > screen that just never gets covered up by subsequent stimuli. > > Good luck. > > ----- > 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) > PST's trained staff take any and all questions at > https://support.pstnet.com, and they strive to > respond to all requests in 24-48 hours, so make > full use of it. 3) In addition, PST offers > several instructional videos on their YouTube > channel (http://www.youtube.com/user/PSTNET > ). 4) 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 11/21/2013 02:10 PM Thursday, Colton Perry wrote: > >Hi all, I hope this isn't something I could have > >easily figured out by a good Google search, I > >just haven't been able to find the correct > >search terms to get what I'm going for here. > > > >I'm trying to implement a design that's a bit > >beyond my understanding (most of my experience > >with e-prime has been mostly pretty > >straight-forward linear presentation stuff). To > >boil it down to a single trial, I'd like to > >present a simple visual search/discrimination > >task alongside a set of verbal instructions. So > >for example, at the onset of a trial, a text > >display would appear providing instructions for > >a primary task to be performed outside of > >e-prime (these tasks are performed on a > >motorcycle infotainment system). A short time > >after the onset of those instructions, the > >visual discrimination task would begin. So, > >leaving the instructions on the display, a > >letter would appear. If this is a key letter, > >the participant would respond with a key press > >(well, a foot pedal mapped to a key press "b", > >but a key press to Eprime). If it's not a key > >letter, then the participant does nothing and > >the letter disappears. The part I'm not sure how > >to accomplish is that after they respond with a > >key press, I need the discrimination task to > >repeat itself on average every 5 seconds (so 5 ? > >2s) while the text display with the instructions > >remains the same. After the participant > >completes the primary task on the motorcycle, a > >researcher would then press a key to end the > >trial and move on to the next set of instructions. > > > >So it would look something like this: > > > >Primary task instruction onset > >--- key letter appears > foot pedal response > > >key letter disappears, record RT > >--- foil letter appears > no response > foil > >letter disappears after a given time, record response if incorrect > >--- repeat randomly > >--- Primary task completed > research presses key > record total trial > time > >Primary task instruction onset > >etc. > > > >Does this make sense? Please let me know if I > >need to provide more information. I'll keep > >trying different things in the meantime. Most of > >my experience with Eprime has been in the gui > >interface rather than the inline commands, so > >I'm pretty inexperienced on that end, but I'm definitely willing to > learn. > > > >Thanks in advance for your time, > > -- You received this message because you are subscribed 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/fbf63718-c6c6-4d08-bd70-11229b5e356d%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Nov 21 20:39:46 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Nov 2013 15:39:46 -0500 Subject: Design that loops a visual discrimination task while waiting for keyboard input? In-Reply-To: Message-ID: Yes, I am having trouble following you, don't know if that's me or you, but I have trouble following wordy expressions, perhaps if you could find some way to reduce, simplify, & clarify your expression... As far as I can tell, what you want is trivial to accomplish. You should already have your visual monitoring "secondary" task log all the relevant data, so you are all set there. For the "primary" task, if you simply log a timestamp for the first relevant event, and a timestamp for the last relevant event, then you may simply subtract to get the total elapsed time -- you may do that from the data after the run, or with some cleverness use inline code to compute and log this directly to the .edat file. What am I missing? -- David McFarlane At 11/21/2013 02:53 PM Thursday, Colton Perry wrote: >That's a component of what I'm trying to do, but >I think the main thing I'd like to accomplish is >to be able to record both the RTs and accuracy >to responses for the monitoring task while also >recording the total time that the trial took >place. Maybe I'm thinking about it the wrong >way. It seems like it wouldn't be difficult to >have a procedure that does one or the other, but >I don't know how to get it to do both >concurrently. It's important that all of the >monitoring responses be tied to each particular >text instruction because our goal is to measure >the differences in accuracy and RT for the >monitoring task as a result of the different primary tasks. > >I feel like I'm not being particularly clear, >and I apologize for that. We have two tasks that >we would like to be recorded. One is performance >on the monitoring task, and one is total time >for completion of the primary task. So a single >"trial" is the onset of the text instructions to >the keypress that terminates that set of >instructions, and within that trial the visual >monitoring task loops until the trial is over. >I'm not sure how to get do the two things concurrently. > >Am I making this more complicated than it really is? > >On Thursday, November 21, 2013 1:28:56 PM UTC-6, McFarlane, David wrote: >Do I understand correctly that your sticking >point is only how to keep some constant text on >the display throughout a series of stimuli & >responses? If that's all, I have two solutions: > >1) The rookie way: Add the constant text to all >of the stimulus displays -- either add the full >literal text into each display, or put the text >into an attribute and then use the same atribute >reference in each display. You would most easily >do this using Slides for your display objects. > >2) My preferred way: With judicious use of Frame >Size and Position, and BackStyle Transparent, you >may add the constant text to a place on the >screen that just never gets covered up by subsequent stimuli. > >Good luck. > >----- >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) >PST's trained staff take any and all questions at >https://support.pstnet.com >, and they strive to >respond to all requests in 24-48 hours, so make >full use of it. 3) In addition, PST offers >several instructional videos on their YouTube >channel >(http://www.youtube.com/user/PSTNET >). 4) 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 11/21/2013 02:10 PM Thursday, Colton Perry wrote: > >Hi all, I hope this isn't something I could have > >easily figured out by a good Google search, I > >just haven't been able to find the correct > >search terms to get what I'm going for here. > > > >I'm trying to implement a design that's a bit > >beyond my understanding (most of my experience > >with e-prime has been mostly pretty > >straight-forward linear presentation stuff). To > >boil it down to a single trial, I'd like to > >present a simple visual search/discrimination > >task alongside a set of verbal instructions. So > >for example, at the onset of a trial, a text > >display would appear providing instructions for > >a primary task to be performed outside of > >e-prime (these tasks are performed on a > >motorcycle infotainment system). A short time > >after the onset of those instructions, the > >visual discrimination task would begin. So, > >leaving the instructions on the display, a > >letter would appear. If this is a key letter, > >the participant would respond with a key press > >(well, a foot pedal mapped to a key press "b", > >but a key press to Eprime). If it's not a key > >letter, then the participant does nothing and > >the letter disappears. The part I'm not sure how > >to accomplish is that after they respond with a > >key press, I need the discrimination task to > >repeat itself on average every 5 seconds (so 5 ? > >2s) while the text display with the instructions > >remains the same. After the participant > >completes the primary task on the motorcycle, a > >researcher would then press a key to end the > >trial and move on to the next set of instructions. > > > >So it would look something like this: > > > >Primary task instruction onset > >--- key letter appears > foot pedal response > > >key letter disappears, record RT > >--- foil letter appears > no response > foil > >letter disappears after a given time, record response if incorrect > >--- repeat randomly > >--- Primary task completed > research presses key > record total trial time > >Primary task instruction onset > >etc. > > > >Does this make sense? Please let me know if I > >need to provide more information. I'll keep > >trying different things in the meantime. Most of > >my experience with Eprime has been in the gui > >interface rather than the inline commands, so > >I'm pretty inexperienced on that end, but I'm definitely willing to learn. > > > >Thanks in advance for your time, -- You received this message because you are subscribed 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/528e6fad.8570320a.0a3d.22d8SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From cjp872 at gmail.com Thu Nov 21 20:59:10 2013 From: cjp872 at gmail.com (Colton Perry) Date: Thu, 21 Nov 2013 12:59:10 -0800 Subject: Design that loops a visual discrimination task while waiting for keyboard input? In-Reply-To: <528e6fad.8570320a.0a3d.22d8SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: After playing around with a lot of it now, I think I can distill everything down to one question. Sorry for the confusion. I'm sure most of what I've got isn't the most elegant solution, but it will hopefully run the study in a fashion I can put together without too much extra help. The one thing I'm not sure how to do is this: How can I get a list to exit on keypress? The "Exit List" options are for after a certain amount of cycles or samples or seconds. I would just like the exit cue to be a simple keypress that the researcher could make when the participant completes the primary task. With the timestamps you mentioned, that would give us the timing we need for that component, and the monitoring task will be handled within each list. Sorry my thoughts are somewhat jumbled. On Thursday, November 21, 2013 2:39:46 PM UTC-6, McFarlane, David wrote: > > Yes, I am having trouble following you, don't > know if that's me or you, but I have trouble > following wordy expressions, perhaps if you could > find some way to reduce, simplify, & clarify your expression... > > As far as I can tell, what you want is trivial to > accomplish. You should already have your visual > monitoring "secondary" task log all the relevant > data, so you are all set there. For the > "primary" task, if you simply log a timestamp for > the first relevant event, and a timestamp for the > last relevant event, then you may simply subtract > to get the total elapsed time -- you may do that > from the data after the run, or with some > cleverness use inline code to compute and log this directly to the .edat > file. > > What am I missing? > > -- David McFarlane > > > At 11/21/2013 02:53 PM Thursday, Colton Perry wrote: > >That's a component of what I'm trying to do, but > >I think the main thing I'd like to accomplish is > >to be able to record both the RTs and accuracy > >to responses for the monitoring task while also > >recording the total time that the trial took > >place. Maybe I'm thinking about it the wrong > >way. It seems like it wouldn't be difficult to > >have a procedure that does one or the other, but > >I don't know how to get it to do both > >concurrently. It's important that all of the > >monitoring responses be tied to each particular > >text instruction because our goal is to measure > >the differences in accuracy and RT for the > >monitoring task as a result of the different primary tasks. > > > >I feel like I'm not being particularly clear, > >and I apologize for that. We have two tasks that > >we would like to be recorded. One is performance > >on the monitoring task, and one is total time > >for completion of the primary task. So a single > >"trial" is the onset of the text instructions to > >the keypress that terminates that set of > >instructions, and within that trial the visual > >monitoring task loops until the trial is over. > >I'm not sure how to get do the two things concurrently. > > > >Am I making this more complicated than it really is? > > > >On Thursday, November 21, 2013 1:28:56 PM UTC-6, McFarlane, David wrote: > >Do I understand correctly that your sticking > >point is only how to keep some constant text on > >the display throughout a series of stimuli & > >responses? If that's all, I have two solutions: > > > >1) The rookie way: Add the constant text to all > >of the stimulus displays -- either add the full > >literal text into each display, or put the text > >into an attribute and then use the same atribute > >reference in each display. You would most easily > >do this using Slides for your display objects. > > > >2) My preferred way: With judicious use of Frame > >Size and Position, and BackStyle Transparent, you > >may add the constant text to a place on the > >screen that just never gets covered up by subsequent stimuli. > > > >Good luck. > > > >----- > >David McFarlane > >E-Prime training > >online: > >< > http://www.google.com/url?q=http%3A%2F%2Fpsychology.msu.edu%2FWorkshops_Courses%2Feprime.aspx&sa=D&sntz=1&usg=AFQjCNHhJVD3mCfXKdywfB5AgKLPu1OSJg > >http://psychology.msu.edu/Workshops_Courses/eprime.aspx > > > >Twitter: @EPrimeMaster > >(< > https://www.google.com/url?q=https%3A%2F%2Ftwitter.com%2FEPrimeMaster&sa=D&sntz=1&usg=AFQjCNHlT7nwYBmELwRxV4Xn5GW-sG9EKw > >https://twitter.com/EPrimeMaster > >) > > > >/---- > >Stock reminder: 1) I do not work for PST. 2) > >PST's trained staff take any and all questions at > >< > https://www.google.com/url?q=https%3A%2F%2Fsupport.pstnet.com&sa=D&sntz=1&usg=AFQjCNF5BfukPzW6lq7UCweMsMu7_9wJEQ > >https://support.pstnet.com > >, and they strive to > >respond to all requests in 24-48 hours, so make > >full use of it. 3) In addition, PST offers > >several instructional videos on their YouTube > >channel > >(http://www.youtube.com/user/PSTNET > >). 4) 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 11/21/2013 02:10 PM Thursday, Colton Perry wrote: > > >Hi all, I hope this isn't something I could have > > >easily figured out by a good Google search, I > > >just haven't been able to find the correct > > >search terms to get what I'm going for here. > > > > > >I'm trying to implement a design that's a bit > > >beyond my understanding (most of my experience > > >with e-prime has been mostly pretty > > >straight-forward linear presentation stuff). To > > >boil it down to a single trial, I'd like to > > >present a simple visual search/discrimination > > >task alongside a set of verbal instructions. So > > >for example, at the onset of a trial, a text > > >display would appear providing instructions for > > >a primary task to be performed outside of > > >e-prime (these tasks are performed on a > > >motorcycle infotainment system). A short time > > >after the onset of those instructions, the > > >visual discrimination task would begin. So, > > >leaving the instructions on the display, a > > >letter would appear. If this is a key letter, > > >the participant would respond with a key press > > >(well, a foot pedal mapped to a key press "b", > > >but a key press to Eprime). If it's not a key > > >letter, then the participant does nothing and > > >the letter disappears. The part I'm not sure how > > >to accomplish is that after they respond with a > > >key press, I need the discrimination task to > > >repeat itself on average every 5 seconds (so 5 ? > > >2s) while the text display with the instructions > > >remains the same. After the participant > > >completes the primary task on the motorcycle, a > > >researcher would then press a key to end the > > >trial and move on to the next set of instructions. > > > > > >So it would look something like this: > > > > > >Primary task instruction onset > > >--- key letter appears > foot pedal response > > > >key letter disappears, record RT > > >--- foil letter appears > no response > foil > > >letter disappears after a given time, record response if incorrect > > >--- repeat randomly > > >--- Primary task completed > research presses key > record total trial > time > > >Primary task instruction onset > > >etc. > > > > > >Does this make sense? Please let me know if I > > >need to provide more information. I'll keep > > >trying different things in the meantime. Most of > > >my experience with Eprime has been in the gui > > >interface rather than the inline commands, so > > >I'm pretty inexperienced on that end, but I'm definitely willing to > learn. > > > > > >Thanks in advance for your time, > > -- You received this message because you are subscribed 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/78a87e7c-3166-421b-b6dc-c20cf35db910%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Nov 21 21:25:14 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Nov 2013 16:25:14 -0500 Subject: Design that loops a visual discrimination task while waiting for keyboard input? In-Reply-To: <78a87e7c-3166-421b-b6dc-c20cf35db910@googlegroups.com> Message-ID: First, you may use inline code to take complete control of List termination, see the List.Terminate topic in the E-Basic Help facility. You will need to combine that with some appropriate If-Then logic. If you want to combine that with some secret keypress from the researcher, then I would recommend starting a Wait object at the start of primary task. Set its Duration to 0 and add an input mask for your secret handshake, set Allowable to the secret key and Time Limit to "(infinite)" (in my online course we do an exercise that illustrates exactly this). Let's call this object PrimaryWait, and suppose the List for your secondary task is SecondaryList. Then in inline code in the appropriate Procedure, do something like If PrimaryWait.RTTime Then SecondaryList.Terminate (also see https://groups.google.com/d/topic/e-prime/T5ThFkW8qF8 for other ways to test for presence or absence of response). Note that this will terminate the List upon completion of all the objects in the Procedure. If needed, you might use a Goto to skip to the end of the running Procedure, or use techniques from https://groups.google.com/d/topic/e-prime/e12W9DdgvrM to Terminate with a set overall duration. Good luck. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster ) At 11/21/2013 03:59 PM Thursday, Colton Perry wrote: >After playing around with a lot of it now, I >think I can distill everything down to one >question. Sorry for the confusion. I'm sure most >of what I've got isn't the most elegant >solution, but it will hopefully run the study in >a fashion I can put together without too much extra help. > >The one thing I'm not sure how to do is this: >How can I get a list to exit on keypress? The >"Exit List" options are for after a certain >amount of cycles or samples or seconds. I would >just like the exit cue to be a simple keypress >that the researcher could make when the >participant completes the primary task. With the >timestamps you mentioned, that would give us the >timing we need for that component, and the >monitoring task will be handled within each list. > >Sorry my thoughts are somewhat jumbled. > >On Thursday, November 21, 2013 2:39:46 PM UTC-6, McFarlane, David wrote: >Yes, I am having trouble following you, don't >know if that's me or you, but I have trouble >following wordy expressions, perhaps if you could >find some way to reduce, simplify, & clarify your expression... > >As far as I can tell, what you want is trivial to >accomplish. You should already have your visual >monitoring "secondary" task log all the relevant >data, so you are all set there. For the >"primary" task, if you simply log a timestamp for >the first relevant event, and a timestamp for the >last relevant event, then you may simply subtract >to get the total elapsed time -- you may do that >from the data after the run, or with some >cleverness use inline code to compute and log >this directly to the .edat file. > >What am I missing? > >-- David McFarlane > > >At 11/21/2013 02:53 PM Thursday, Colton Perry wrote: > >That's a component of what I'm trying to do, but > >I think the main thing I'd like to accomplish is > >to be able to record both the RTs and accuracy > >to responses for the monitoring task while also > >recording the total time that the trial took > >place. Maybe I'm thinking about it the wrong > >way. It seems like it wouldn't be difficult to > >have a procedure that does one or the other, but > >I don't know how to get it to do both > >concurrently. It's important that all of the > >monitoring responses be tied to each particular > >text instruction because our goal is to measure > >the differences in accuracy and RT for the > >monitoring task as a result of the different primary tasks. > > > >I feel like I'm not being particularly clear, > >and I apologize for that. We have two tasks that > >we would like to be recorded. One is performance > >on the monitoring task, and one is total time > >for completion of the primary task. So a single > >"trial" is the onset of the text instructions to > >the keypress that terminates that set of > >instructions, and within that trial the visual > >monitoring task loops until the trial is over. > >I'm not sure how to get do the two things concurrently. > > > >Am I making this more complicated than it really is? > > > >On Thursday, November 21, 2013 1:28:56 PM UTC-6, McFarlane, David wrote: > >Do I understand correctly that your sticking > >point is only how to keep some constant text on > >the display throughout a series of stimuli & > >responses? If that's all, I have two solutions: > > > >1) The rookie way: Add the constant text to all > >of the stimulus displays -- either add the full > >literal text into each display, or put the text > >into an attribute and then use the same atribute > >reference in each display. You would most easily > >do this using Slides for your display objects. > > > >2) My preferred way: With judicious use of Frame > >Size and Position, and BackStyle Transparent, you > >may add the constant text to a place on the > >screen that just never gets covered up by subsequent stimuli. > > > >Good luck. > > > >----- > >David McFarlane > >E-Prime training > >online: > >< hology.msu.edu%2FWorkshops_Courses%2Feprime.aspx&sa=D&sntz=1&usg=AFQjCNHhJVD3mCfXKdywfB5AgKLPu1OSJg>http://www.google.com/url?q=http%3A%2F%2Fpsychology.msu.edu%2FWorkshops_Courses%2Feprime.aspx&sa=D&sntz=1&usg=AFQjCNHhJVD3mCfXKdywfB5AgKLPu1OSJg>http://psychology.msu.edu/Workshops_Courses/eprime.aspx > > > > >Twitter: @EPrimeMaster > >(< witter.com%2FEPrimeMaster&sa=D&sntz=1&usg=AFQjCNHlT7nwYBmELwRxV4Xn5GW-sG9EKw>https://www.google.com/url?q=https%3A%2F%2Ftwitter.com%2FEPrimeMaster&sa=D&sntz=1&usg=AFQjCNHlT7nwYBmELwRxV4Xn5GW-sG9EKw>https://twitter.com/EPrimeMaster > > >) > > > >/---- > >Stock reminder: 1) I do not work for PST. 2) > >PST's trained staff take any and all questions at > >< pport.pstnet.com&sa=D&sntz=1&usg=AFQjCNF5BfukPzW6lq7UCweMsMu7_9wJEQ>https://www.google.com/url?q=https%3A%2F%2Fsupport.pstnet.com&sa=D&sntz=1&usg=AFQjCNF5BfukPzW6lq7UCweMsMu7_9wJEQ>https://support.pstnet.com > > >, and they strive to > >respond to all requests in 24-48 hours, so make > >full use of it. 3) In addition, PST offers > >several instructional videos on their YouTube > >channel > >(<http://ww > w.youtube.com/user/PSTNET>http://www.youtube.com/user/PSTNET > >). 4) 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 11/21/2013 02:10 PM Thursday, Colton Perry wrote: > > >Hi all, I hope this isn't something I could have > > >easily figured out by a good Google search, I > > >just haven't been able to find the correct > > >search terms to get what I'm going for here. > > > > > >I'm trying to implement a design that's a bit > > >beyond my understanding (most of my experience > > >with e-prime has been mostly pretty > > >straight-forward linear presentation stuff). To > > >boil it down to a single trial, I'd like to > > >present a simple visual search/discrimination > > >task alongside a set of verbal instructions. So > > >for example, at the onset of a trial, a text > > >display would appear providing instructions for > > >a primary task to be performed outside of > > >e-prime (these tasks are performed on a > > >motorcycle infotainment system). A short time > > >after the onset of those instructions, the > > >visual discrimination task would begin. So, > > >leaving the instructions on the display, a > > >letter would appear. If this is a key letter, > > >the participant would respond with a key press > > >(well, a foot pedal mapped to a key press "b", > > >but a key press to Eprime). If it's not a key > > >letter, then the participant does nothing and > > >the letter disappears. The part I'm not sure how > > >to accomplish is that after they respond with a > > >key press, I need the discrimination task to > > >repeat itself on average every 5 seconds (so 5 ? > > >2s) while the text display with the instructions > > >remains the same. After the participant > > >completes the primary task on the motorcycle, a > > >researcher would then press a key to end the > > >trial and move on to the next set of instructions. > > > > > >So it would look something like this: > > > > > >Primary task instruction onset > > >--- key letter appears > foot pedal response > > > >key letter disappears, record RT > > >--- foil letter appears > no response > foil > > >letter disappears after a given time, record response if incorrect > > >--- repeat randomly > > >--- Primary task completed > research > presses key > record total trial time > > >Primary task instruction onset > > >etc. > > > > > >Does this make sense? Please let me know if I > > >need to provide more information. I'll keep > > >trying different things in the meantime. Most of > > >my experience with Eprime has been in the gui > > >interface rather than the inline commands, so > > >I'm pretty inexperienced on that end, but > I'm definitely willing to learn. > > > > > >Thanks in advance for your time, -- You received this message because you are subscribed 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/528e7a48.6801320a.1cce.2335SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From cjp872 at gmail.com Sat Nov 23 18:46:24 2013 From: cjp872 at gmail.com (Colton Perry) Date: Sat, 23 Nov 2013 10:46:24 -0800 Subject: Design that loops a visual discrimination task while waiting for keyboard input? In-Reply-To: <528e7a48.6801320a.1cce.2335SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thanks for the responses. I hate to have to ask something again, but I can't seem to find a specific discussion on list.terminate in the pst user forum (which is what I found when googling "E-basic help facility"). I think doing an in-line statement for If [code for keypress "b"], then list.terminate would work for what I'm trying to do as long as I could get a timestamp for that list.terminate action. I just haven't been able to find out what the conditional statement would be to accomplish that. I've tried a few things, but I'm pretty sure none of it is actually the proper syntax for e-basic. Thanks again for your help, I'll keep trying different things. On Thursday, November 21, 2013 3:25:14 PM UTC-6, McFarlane, David wrote: > > First, you may use inline code to take complete > control of List termination, see the > List.Terminate topic in the E-Basic Help > facility. You will need to combine that with some appropriate If-Then > logic. > > If you want to combine that with some secret > keypress from the researcher, then I would > recommend starting a Wait object at the start of > primary task. Set its Duration to 0 and add an > input mask for your secret handshake, set > Allowable to the secret key and Time Limit to > "(infinite)" (in my online course we do an > exercise that illustrates exactly this). Let's > call this object PrimaryWait, and suppose the > List for your secondary task is > SecondaryList. Then in inline code in the > appropriate Procedure, do something like > > If PrimaryWait.RTTime Then SecondaryList.Terminate > > (also see > https://groups.google.com/d/topic/e-prime/T5ThFkW8qF8 > for other ways to test for presence or absence of response). > > Note that this will terminate the List upon > completion of all the objects in the > Procedure. If needed, you might use a Goto to > skip to the end of the running Procedure, or use > techniques from > https://groups.google.com/d/topic/e-prime/e12W9DdgvrM > to Terminate with a set overall duration. > > Good luck. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > At 11/21/2013 03:59 PM Thursday, Colton Perry wrote: > >After playing around with a lot of it now, I > >think I can distill everything down to one > >question. Sorry for the confusion. I'm sure most > >of what I've got isn't the most elegant > >solution, but it will hopefully run the study in > >a fashion I can put together without too much extra help. > > > >The one thing I'm not sure how to do is this: > >How can I get a list to exit on keypress? The > >"Exit List" options are for after a certain > >amount of cycles or samples or seconds. I would > >just like the exit cue to be a simple keypress > >that the researcher could make when the > >participant completes the primary task. With the > >timestamps you mentioned, that would give us the > >timing we need for that component, and the > >monitoring task will be handled within each list. > > > >Sorry my thoughts are somewhat jumbled. > > > >On Thursday, November 21, 2013 2:39:46 PM UTC-6, McFarlane, David wrote: > >Yes, I am having trouble following you, don't > >know if that's me or you, but I have trouble > >following wordy expressions, perhaps if you could > >find some way to reduce, simplify, & clarify your expression... > > > >As far as I can tell, what you want is trivial to > >accomplish. You should already have your visual > >monitoring "secondary" task log all the relevant > >data, so you are all set there. For the > >"primary" task, if you simply log a timestamp for > >the first relevant event, and a timestamp for the > >last relevant event, then you may simply subtract > >to get the total elapsed time -- you may do that > >from the data after the run, or with some > >cleverness use inline code to compute and log > >this directly to the .edat file. > > > >What am I missing? > > > >-- David McFarlane > > > > > >At 11/21/2013 02:53 PM Thursday, Colton Perry wrote: > > >That's a component of what I'm trying to do, but > > >I think the main thing I'd like to accomplish is > > >to be able to record both the RTs and accuracy > > >to responses for the monitoring task while also > > >recording the total time that the trial took > > >place. Maybe I'm thinking about it the wrong > > >way. It seems like it wouldn't be difficult to > > >have a procedure that does one or the other, but > > >I don't know how to get it to do both > > >concurrently. It's important that all of the > > >monitoring responses be tied to each particular > > >text instruction because our goal is to measure > > >the differences in accuracy and RT for the > > >monitoring task as a result of the different primary tasks. > > > > > >I feel like I'm not being particularly clear, > > >and I apologize for that. We have two tasks that > > >we would like to be recorded. One is performance > > >on the monitoring task, and one is total time > > >for completion of the primary task. So a single > > >"trial" is the onset of the text instructions to > > >the keypress that terminates that set of > > >instructions, and within that trial the visual > > >monitoring task loops until the trial is over. > > >I'm not sure how to get do the two things concurrently. > > > > > >Am I making this more complicated than it really is? > > > > > >On Thursday, November 21, 2013 1:28:56 PM UTC-6, McFarlane, David > wrote: > > >Do I understand correctly that your sticking > > >point is only how to keep some constant text on > > >the display throughout a series of stimuli & > > >responses? If that's all, I have two solutions: > > > > > >1) The rookie way: Add the constant text to all > > >of the stimulus displays -- either add the full > > >literal text into each display, or put the text > > >into an attribute and then use the same atribute > > >reference in each display. You would most easily > > >do this using Slides for your display objects. > > > > > >2) My preferred way: With judicious use of Frame > > >Size and Position, and BackStyle Transparent, you > > >may add the constant text to a place on the > > >screen that just never gets covered up by subsequent stimuli. > > > > > >Good luck. > > > > > >----- > > >David McFarlane > > >E-Prime training > > >online: > > >< > hology.msu.edu > %2FWorkshops_Courses%2Feprime.aspx&sa=D&sntz=1&usg=AFQjCNHhJVD3mCfXKdywfB5AgKLPu1OSJg> > http://www.google.com/url?q=http%3A%2F%2Fpsychology.msu.edu%2FWorkshops_Courses%2Feprime.aspx&sa=D&sntz=1&usg=AFQjCNHhJVD3mCfXKdywfB5AgKLPu1OSJg > >http://psychology.msu.edu/Workshops_Courses/eprime.aspx > > > > > > > >Twitter: @EPrimeMaster > > >(< > witter.com > %2FEPrimeMaster&sa=D&sntz=1&usg=AFQjCNHlT7nwYBmELwRxV4Xn5GW-sG9EKw> > https://www.google.com/url?q=https%3A%2F%2Ftwitter.com%2FEPrimeMaster&sa=D&sntz=1&usg=AFQjCNHlT7nwYBmELwRxV4Xn5GW-sG9EKw > >https://twitter.com/EPrimeMaster > > > > >) > > > > > >/---- > > >Stock reminder: 1) I do not work for PST. 2) > > >PST's trained staff take any and all questions at > > >< > pport.pstnet.com > &sa=D&sntz=1&usg=AFQjCNF5BfukPzW6lq7UCweMsMu7_9wJEQ> > https://www.google.com/url?q=https%3A%2F%2Fsupport.pstnet.com&sa=D&sntz=1&usg=AFQjCNF5BfukPzW6lq7UCweMsMu7_9wJEQ > >https://support.pstnet.com > > > > >, and they strive to > > >respond to all requests in 24-48 hours, so make > > >full use of it. 3) In addition, PST offers > > >several instructional videos on their YouTube > > >channel > > >(<http://ww > > w.youtube.com/user/PSTNET>http://www.youtube.com/user/PSTNET > > >). 4) 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 11/21/2013 02:10 PM Thursday, Colton Perry wrote: > > > >Hi all, I hope this isn't something I could have > > > >easily figured out by a good Google search, I > > > >just haven't been able to find the correct > > > >search terms to get what I'm going for here. > > > > > > > >I'm trying to implement a design that's a bit > > > >beyond my understanding (most of my experience > > > >with e-prime has been mostly pretty > > > >straight-forward linear presentation stuff). To > > > >boil it down to a single trial, I'd like to > > > >present a simple visual search/discrimination > > > >task alongside a set of verbal instructions. So > > > >for example, at the onset of a trial, a text > > > >display would appear providing instructions for > > > >a primary task to be performed outside of > > > >e-prime (these tasks are performed on a > > > >motorcycle infotainment system). A short time > > > >after the onset of those instructions, the > > > >visual discrimination task would begin. So, > > > >leaving the instructions on the display, a > > > >letter would appear. If this is a key letter, > > > >the participant would respond with a key press > > > >(well, a foot pedal mapped to a key press "b", > > > >but a key press to Eprime). If it's not a key > > > >letter, then the participant does nothing and > > > >the letter disappears. The part I'm not sure how > > > >to accomplish is that after they respond with a > > > >key press, I need the discrimination task to > > > >repeat itself on average every 5 seconds (so 5 ? > > > >2s) while the text display with the instructions > > > >remains the same. After the participant > > > >completes the primary task on the motorcycle, a > > > >researcher would then press a key to end the > > > >trial and move on to the next set of instructions. > > > > > > > >So it would look something like this: > > > > > > > >Primary task instruction onset > > > >--- key letter appears > foot pedal response > > > > >key letter disappears, record RT > > > >--- foil letter appears > no response > foil > > > >letter disappears after a given time, record response if incorrect > > > >--- repeat randomly > > > >--- Primary task completed > research > > presses key > record total trial time > > > >Primary task instruction onset > > > >etc. > > > > > > > >Does this make sense? Please let me know if I > > > >need to provide more information. I'll keep > > > >trying different things in the meantime. Most of > > > >my experience with Eprime has been in the gui > > > >interface rather than the inline commands, so > > > >I'm pretty inexperienced on that end, but > > I'm definitely willing to learn. > > > > > > > >Thanks in advance for your time, > > -- You received this message because you are subscribed 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/26e25466-dbf5-4bcf-9854-7863cbf3107b%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From didem.pehlivanoglu at gmail.com Mon Nov 25 16:06:49 2013 From: didem.pehlivanoglu at gmail.com (Didem) Date: Mon, 25 Nov 2013 08:06:49 -0800 Subject: Comprising a new study list based on incorrect responses. In-Reply-To: <59729258-3594-45f3-bb9c-7b800d7b0a79@u32g2000yqe.googlegroups.com> Message-ID: Hello Noah, How did you deal with this problem? I have similar issue right now! On Monday, January 16, 2012 2:03:35 PM UTC-5, Noah Forrin wrote: > Hello, > > I'm an Eprime novice and would greatly appreciate any help! > > I'm programming a memory study as follows: > > Study List 1: Subjects study 40 words. > > Recognition List: Consistent of both studied and new words. Subjects > are instructed to press 'm' if the word was studied or 'c' if it's > new. > > Study List 2: Comprised only of incorrect responses to the Recognition > List items. > > So for each incorrect response on the Recognition List, I'd like that > word to be transfered over to Study List 2, which subjects will be > shown after the Recognition List is finished. > > Does anyone know how this last part (i.e., transferring a word from > one list to another following an incorrect response) could be > accomplished? > > Thanks, > Noah -- You received this message because you are subscribed 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/9a2444c0-c748-4655-8e07-709164e826d4%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tobias.fw at gmail.com Mon Nov 25 16:27:06 2013 From: tobias.fw at gmail.com (Tobias) Date: Mon, 25 Nov 2013 08:27:06 -0800 Subject: Timing issue with E-Prime 2.0.10.242 Message-ID: Dear all, I installed the most recent version of E-Prime ( 2.0.10.242) and tried to run an older Experiment that ran with E-Prime 2.0.8.90a. The program was updated and runs in principle, but the timing is very inaccurate. The duration of some slides is delayed so much you can actually see it with your bare eyes. Any setting I need to change here? Best, 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/64c12afa-456a-4675-904d-fffad9763d2f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From didem.pehlivanoglu at gmail.com Mon Nov 25 18:01:53 2013 From: didem.pehlivanoglu at gmail.com (Didem) Date: Mon, 25 Nov 2013 10:01:53 -0800 Subject: presenting unrecalled items. Message-ID: Hello, In my experiment, participants are shown with word pairs. Then, they are presented with the first words one at a time on the screen and asked to type its pair (second word) on the screen. If they can't remember, they press "enter" button to skip. The thing I am trying to do is to present the words which they skipped by pressing enter button in another list after this list is completed. In other words, second list should include only the words they skipped in the first list. This setup similar to your sample "rerun errors" in e-prime website but instead of errors I want to include no response trials. So I cannot use the script in that sample. Its (rerun errors)script is below: 'ErrorCount is used to keep track of the number of trials 'on which the response is incorrect. The total is then 'used to assign the number of samples to be run to repeat 'error trials. g_nErrorCount = 0 'On incorrect trials, write the current trial info to the 'RerunList object, which is run after TrialList. If Stim.ACC = 0 Then g_nErrorCount = g_nErrorCount + 1 If g_nErrorCount > 1 Then RerunList.AddLevel g_nErrorCount End If RerunList.SetWeight g_nErrorCount, 1 RerunList.SetProc g_nErrorCount, "RerunProc" RerunList.SetAttrib g_nErrorCount, "Stimulus", c.GetAttrib("Stimulus") RerunList.SetAttrib g_nErrorCount, "CorrectAnswer", c.GetAttrib("CorrectAnswer") End If 'If errors occur, run RerunList 'Set number of samples from ErrorCount If g_nErrorCount > 0 Then Set RerunList.TerminateCondition = Cycles(1) Set RerunList.ResetCondition = Samples(g_nErrorCount) RerunList.Reset Else 'No error trials to run GoTo EndOfBlock End If Can you help me with that? Thanks, Didem. -- You received this message because you are subscribed 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/d1322057-ccee-498a-8755-9c005043f9ab%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From francesco.biondi1 at gmail.com Mon Nov 25 19:13:43 2013 From: francesco.biondi1 at gmail.com (francesco biondi) Date: Mon, 25 Nov 2013 11:13:43 -0800 Subject: Sounds not played Message-ID: Hi All, I am designing an experiment in which I am presenting sounds to pp. I am using a SlideObject with a SoundOut object. In the Properties window of the SoundOut object I am supposed to specify the Filename of the file I want to use. If, as a Filename, I use the name of the file contained in the folder - eg,, AUDIO.wav, the experiment runs without any problem. But, as a Filename, I specify an attribute contained in the List - eg, [Sound], eprime does not present the audio file. (each and every cell within the Sound column contained in the List contains audio file names such as AUDIO.wav) Can anyone help me with this? -- You received this message because you are subscribed 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/eb504932-05d5-40b2-8631-9ca84c19378c%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cruz.gabriela at gmail.com Mon Nov 25 19:50:14 2013 From: cruz.gabriela at gmail.com (Gabriela Cruz) Date: Mon, 25 Nov 2013 11:50:14 -0800 Subject: Help displaying clock while participants perform 1-back task Message-ID: Hi, I would appreciate very much if someone can give me a hand with this. I have a 1-back task running and I want to display a clock on the screen every time participants press a key. I checked the example "CountDownClock" but the issue in my case is that I want the clock to run from the beginning to the end of the experiment independently of stimuli presented for the 1-back task. I guess it would have to be something like having a SlideText using half of the screen with a clock that starts running with the first stimulus of my 1-back experiment. This clock would only be visible if participants press a key, as I want to register every time they check the clock, the SlideText containing the clock has to accept multiple responses over the duration of the whole experiment (~30min). In the other half of the screen I'd have my 1-back task running, displaying stimulus every 2 seconds. Have anyone ever done something like this? Please any tip/suggestion or script sample will be more than welcome! All the best! Gaby -- You received this message because you are subscribed 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/7f460db3-4d45-4b9c-b905-01ef94d06e2e%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cruz.gabriela at gmail.com Mon Nov 25 19:54:33 2013 From: cruz.gabriela at gmail.com (Gabriela Cruz) Date: Mon, 25 Nov 2013 11:54:33 -0800 Subject: clock and echo problem In-Reply-To: <6913a982-a129-43bb-aba0-963e1f3b077d@googlegroups.com> Message-ID: Hi Jotapan, I need to do something similar with what you did, I guess... To display a clock for the entire slide presentation. Did you sorted it out? Do you a have a script sample that I could have a look at? Thank you very much! Gaby On Wednesday, September 5, 2012 2:53:28 AM UTC+1, jotapan wrote: > > Hi to all, > > I have been trying for some time to add a countdown clock display in my > programs that informs the participant on how long he(she) still has to > respond in a given task (e.g., during a slide presentation). I have > extensivelly looked in the forums for this information. I found a specific > post where 2 suggestions are presented (Displaying a countdown timer for > participants, originally posted on/ I was able to work around the script > /). I could not get the first suggestion to work... I was able to work > around the script provided in the e-prime countdown sample, although it is > not perfect; the countdown example deals with seconds and I need minutes. > So instead of having "lnCountTime = (lnEndTime - Clock.Read) / 1000", I > have lnCountTime = (lnEndTime - Clock.Read) / 60000. Not perfect but ok. > > However, I get an echo problem with this. I want the participant to be > able to see all the responses he(she) is providing throught the task and > them have them disappear when the program moves to the next slide. To get > the countdown clock to work I have to set the duration of the slide to 0. > If I set the "time limit" to "same as duration" it assumes the 0 duration > and so the echo is not displayed anymore... is there a way to add in the > inline a command to finish the echo when the time is up? > > Simply displaying a clock on the slide for the entire slide presentation > would work for me as well (instead of the countdown clock) and could help > solve the echo problem. Is there a simple way to get a clock being > displayed on a slide? > > I really appreciate all the help I can get on this. > > Jotapan > -- You received this message because you are subscribed 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/ab752a73-120b-4d53-bc97-c363347c5bd0%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Nov 25 22:11:30 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 25 Nov 2013 17:11:30 -0500 Subject: Design that loops a visual discrimination task while waiting for keyboard input? In-Reply-To: <26e25466-dbf5-4bcf-9854-7863cbf3107b@googlegroups.com> Message-ID: If you enable logging of the RTTime from the input mask that you use for terminating your List, then that should already be the timestamp that you want, and it requires no inline code at all (see the Logging tab of the Property Pages from the relevant object). Or am I still missing something? -- David McFarlane At 11/23/2013 01:46 PM Saturday, Colton Perry wrote: >Thanks for the responses. I hate to have to ask >something again, but I can't seem to find a >specific discussion on list.terminate in the pst >user forum (which is what I found when googling "E-basic help facility"). > >I think doing an in-line statement for If [code >for keypress "b"], then list.terminate would >work for what I'm trying to do as long as I >could get a timestamp for that list.terminate >action. I just haven't been able to find out >what the conditional statement would be to >accomplish that. I've tried a few things, but >I'm pretty sure none of it is actually the proper syntax for e-basic. > >Thanks again for your help, I'll keep trying different things. > >On Thursday, November 21, 2013 3:25:14 PM UTC-6, McFarlane, David wrote: >First, you may use inline code to take complete >control of List termination, see the >List.Terminate topic in the E-Basic Help >facility. You will need to combine that with some appropriate If-Then logic. > >If you want to combine that with some secret >keypress from the researcher, then I would >recommend starting a Wait object at the start of >primary task. Set its Duration to 0 and add an >input mask for your secret handshake, set >Allowable to the secret key and Time Limit to >"(infinite)" (in my online course we do an >exercise that illustrates exactly this). Let's >call this object PrimaryWait, and suppose the >List for your secondary task is >SecondaryList. Then in inline code in the >appropriate Procedure, do something like > > If PrimaryWait.RTTime Then SecondaryList.Terminate > >(also see >https://groups.google.com/d/topic/e-prime/T5ThFkW8qF8 > >for other ways to test for presence or absence of response). > >Note that this will terminate the List upon >completion of all the objects in the >Procedure. If needed, you might use a Goto to >skip to the end of the running Procedure, or use >techniques from >https://groups.google.com/d/topic/e-prime/e12W9DdgvrM > >to Terminate with a set overall duration. > >Good luck. > >----- >David McFarlane >E-Prime training >online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx > >Twitter: @EPrimeMaster >(https://twitter.com/EPrimeMaster >) > > >At 11/21/2013 03:59 PM Thursday, Colton Perry wrote: > >After playing around with a lot of it now, I > >think I can distill everything down to one > >question. Sorry for the confusion. I'm sure most > >of what I've got isn't the most elegant > >solution, but it will hopefully run the study in > >a fashion I can put together without too much extra help. > > > >The one thing I'm not sure how to do is this: > >How can I get a list to exit on keypress? The > >"Exit List" options are for after a certain > >amount of cycles or samples or seconds. I would > >just like the exit cue to be a simple keypress > >that the researcher could make when the > >participant completes the primary task. With the > >timestamps you mentioned, that would give us the > >timing we need for that component, and the > >monitoring task will be handled within each list. > > > >Sorry my thoughts are somewhat jumbled. > > > >On Thursday, November 21, 2013 2:39:46 PM UTC-6, McFarlane, David wrote: > >Yes, I am having trouble following you, don't > >know if that's me or you, but I have trouble > >following wordy expressions, perhaps if you could > >find some way to reduce, simplify, & clarify your expression... > > > >As far as I can tell, what you want is trivial to > >accomplish. You should already have your visual > >monitoring "secondary" task log all the relevant > >data, so you are all set there. For the > >"primary" task, if you simply log a timestamp for > >the first relevant event, and a timestamp for the > >last relevant event, then you may simply subtract > >to get the total elapsed time -- you may do that > >from the data after the run, or with some > >cleverness use inline code to compute and log > >this directly to the .edat file. > > > >What am I missing? > > > >-- David McFarlane > > > > > >At 11/21/2013 02:53 PM Thursday, Colton Perry wrote: > > >That's a component of what I'm trying to do, but > > >I think the main thing I'd like to accomplish is > > >to be able to record both the RTs and accuracy > > >to responses for the monitoring task while also > > >recording the total time that the trial took > > >place. Maybe I'm thinking about it the wrong > > >way. It seems like it wouldn't be difficult to > > >have a procedure that does one or the other, but > > >I don't know how to get it to do both > > >concurrently. It's important that all of the > > >monitoring responses be tied to each particular > > >text instruction because our goal is to measure > > >the differences in accuracy and RT for the > > >monitoring task as a result of the different primary tasks. > > > > > >I feel like I'm not being particularly clear, > > >and I apologize for that. We have two tasks that > > >we would like to be recorded. One is performance > > >on the monitoring task, and one is total time > > >for completion of the primary task. So a single > > >"trial" is the onset of the text instructions to > > >the keypress that terminates that set of > > >instructions, and within that trial the visual > > >monitoring task loops until the trial is over. > > >I'm not sure how to get do the two things concurrently. > > > > > >Am I making this more complicated than it really is? > > > > > >On Thursday, November 21, 2013 1:28:56 PM UTC-6, McFarlane, David wrote: > > >Do I understand correctly that your sticking > > >point is only how to keep some constant text on > > >the display throughout a series of stimuli & > > >responses? If that's all, I have two solutions: > > > > > >1) The rookie way: Add the constant text to all > > >of the stimulus displays -- either add the full > > >literal text into each display, or put the text > > >into an attribute and then use the same atribute > > >reference in each display. You would most easily > > >do this using Slides for your display objects. > > > > > >2) My preferred way: With judicious use of Frame > > >Size and Position, and BackStyle Transparent, you > > >may add the constant text to a place on the > > >screen that just never gets covered up by subsequent stimuli. > > > > > >Good luck. > > > > > >----- > > >David McFarlane > > >E-Prime training > > >online: > > ><< syc>http://www.google.com/url?q=http%3A%2F%2Fpsyc > > > hology.msu.edu%2FWorkshops_Courses%2Feprime.aspx&sa=D&sntz=1&usg=AFQjCNHhJVD3mCfXKdywfB5AgKLPu1OSJg>http://www.google.com/url?q=http%3A%2F%2Fpsychology.msu.edu%2FWorkshops_Courses%2Feprime.aspx&sa=D&sntz=1&usg=AFQjCNHhJVD3mCfXKdywfB5AgKLPu1OSJg>http://psychology.msu.edu/Workshops_Courses/eprime.aspx > > > > > > > > >Twitter: @EPrimeMaster > > >(<< 2Ft>https://www.google.com/url?q=https%3A%2F%2Ft > > > witter.com%2FEPrimeMaster&sa=D&sntz=1&usg=AFQjCNHlT7nwYBmELwRxV4Xn5GW-sG9EKw>https://www.google.com/url?q=https%3A%2F%2Ftwitter.com%2FEPrimeMaster&sa=D&sntz=1&usg=AFQjCNHlT7nwYBmELwRxV4Xn5GW-sG9EKw>https://twitter.com/EPrimeMaster > > > > > >) > > > > > >/---- > > >Stock reminder: 1) I do not work for PST. 2) > > >PST's trained staff take any and all questions at > > ><< Fsu>https://www.google.com/url?q=https%3A%2F%2Fsu > > > pport.pstnet.com&sa=D&sntz=1&usg=AFQjCNF5BfukPzW6lq7UCweMsMu7_9wJEQ>https://www.google.com/url?q=https%3A%2F%2Fsupport.pstnet.com&sa=D&sntz=1&usg=AFQjCNF5BfukPzW6lq7UCweMsMu7_9wJEQ>https://support.pstnet.com > > > > > >, and they strive to > > >respond to all requests in 24-48 hours, so make > > >full use of it. 3) In addition, PST offers > > >several instructional videos on their YouTube > > >channel > > >(<<http:/ > /www.youtube.com/user/PSTNET>http://ww > > > w.youtube.com/user/PSTNET>http://www.youtube.com/user/PSTNET > > > >). 4) 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 11/21/2013 02:10 PM Thursday, Colton Perry wrote: > > > >Hi all, I hope this isn't something I could have > > > >easily figured out by a good Google search, I > > > >just haven't been able to find the correct > > > >search terms to get what I'm going for here. > > > > > > > >I'm trying to implement a design that's a bit > > > >beyond my understanding (most of my experience > > > >with e-prime has been mostly pretty > > > >straight-forward linear presentation stuff). To > > > >boil it down to a single trial, I'd like to > > > >present a simple visual search/discrimination > > > >task alongside a set of verbal instructions. So > > > >for example, at the onset of a trial, a text > > > >display would appear providing instructions for > > > >a primary task to be performed outside of > > > >e-prime (these tasks are performed on a > > > >motorcycle infotainment system). A short time > > > >after the onset of those instructions, the > > > >visual discrimination task would begin. So, > > > >leaving the instructions on the display, a > > > >letter would appear. If this is a key letter, > > > >the participant would respond with a key press > > > >(well, a foot pedal mapped to a key press "b", > > > >but a key press to Eprime). If it's not a key > > > >letter, then the participant does nothing and > > > >the letter disappears. The part I'm not sure how > > > >to accomplish is that after they respond with a > > > >key press, I need the discrimination task to > > > >repeat itself on average every 5 seconds (so 5 ? > > > >2s) while the text display with the instructions > > > >remains the same. After the participant > > > >completes the primary task on the motorcycle, a > > > >researcher would then press a key to end the > > > >trial and move on to the next set of instructions. > > > > > > > >So it would look something like this: > > > > > > > >Primary task instruction onset > > > >--- key letter appears > foot pedal response > > > > >key letter disappears, record RT > > > >--- foil letter appears > no response > foil > > > >letter disappears after a given time, record response if incorrect > > > >--- repeat randomly > > > >--- Primary task completed > research > > presses key > record total trial time > > > >Primary task instruction onset > > > >etc. > > > > > > > >Does this make sense? Please let me know if I > > > >need to provide more information. I'll keep > > > >trying different things in the meantime. Most of > > > >my experience with Eprime has been in the gui > > > >interface rather than the inline commands, so > > > >I'm pretty inexperienced on that end, but > > I'm definitely willing to learn. > > > > > > > >Thanks in advance for your time, > >-- >You received this message because you are >subscribed 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/26e25466-dbf5-4bcf-9854-7863cbf3107b%40googlegroups.com. >For more options, visit >https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed 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/5293cb43.629a320a.1d9f.ffffc05cSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Mon Nov 25 22:17:22 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 25 Nov 2013 17:17:22 -0500 Subject: Sounds not played In-Reply-To: Message-ID: By any chance, are you using EP2.0.10 or later? If so, then see first http://www.pstnet.com/support/kb.asp?TopicID=3299 . ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/25/2013 02:13 PM Monday, francesco biondi wrote: >I am designing an experiment in which I am presenting sounds to pp. >I am using a SlideObject with a SoundOut object. > >In the Properties window of the SoundOut object I am supposed to >specify the Filename of the file I want to use. > >If, as a Filename, I use the name of the file contained in the >folder - eg,, AUDIO.wav, the experiment runs without any problem. > >But, as a Filename, I specify an attribute contained in the List - >eg, [Sound], eprime does not present the audio file. >(each and every cell within the Sound column contained in the List >contains audio file names such as AUDIO.wav) > >Can anyone help me with this? -- You received this message because you are subscribed 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/5293cc81.893d320a.2d22.ffffbfd9SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Mon Nov 25 22:21:50 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 25 Nov 2013 17:21:50 -0500 Subject: Unable to play sound files In-Reply-To: <1bbbea72-9e22-432d-a91c-0f9f462e573a@googlegroups.com> Message-ID: Ieva, This came up again just today at https://groups.google.com/d/topic/e-prime/IfXqfrtC3Xc . As I said there, if you use EP2.0.10 or later then first see http://www.pstnet.com/support/kb.asp?TopicID=3299 . ----- 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) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/2/2013 04:33 PM Saturday, JACanterbury wrote: >i assume the sounds play fine by themselves in native windows? In >which case, have you run PST's 'codec config' utility program on the >machine that you want to run the experiment on? I don't have e-prime >to hand but I believe you need the file/render file option and >you're looking to get green ticks to indicate that all is well. > >John > >On Thursday, October 31, 2013 12:46:08 PM UTC, Ieva Zeromskaite wrote: > > >Hello, > >I am having problems with the loading of sound files. After showing >the instructions, neither the Slide Object (with a soundfile inside) >nor the SoundOut Object plays when I run the experiment. > >I checked that the soundfile names are correct, in the same file as >the eps file, procedure titles are correct too. There's something >wrong with the SoundBuffer, however, Eprime script doesn't say what exactly. > >Below is the script's copy : > >**** > >SoundOut1.ResetLoggingProperties > > Set SoundOut1SoundBuffer = SoundOut1.Buffers(1) > > SoundOut1SoundBuffer.Filename = c.GetAttrib(ebUCase_S & > ebLCase_o & ebLCase_u & ebLCase_n & ebLCase_d & ebUCase_F & > ebLCase_i & ebLCase_l & ebLCase_e) > > SoundOut1SoundBuffer.Load > > > > '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' > > ' Label - Procedure_Timeline_Start BEGIN > > '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' > > > >Procedure_Timeline_Start: > > If Err.Number = ebInputAccepted Then > > Err.Clear > > Resume Procedure_Timeline_StartResume > > ElseIf Err.Number <> 0 Then > >*** > > > >I would be grateful if anybody could help me with that. > >Thanks, > >Ieva -- You received this message because you are subscribed 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/5293cd8e.8570320a.0a3d.ffffc035SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From francesco.biondi at ymail.com Mon Nov 25 23:58:26 2013 From: francesco.biondi at ymail.com (francesco.biondi at ymail.com) Date: Mon, 25 Nov 2013 16:58:26 -0700 Subject: Sounds not played In-Reply-To: <5293cc81.893d320a.2d22.ffffbfd9SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: David, No the E-Studio version is the 2.0.1.96 and the E-Prime version is 2.0.1.119 On Mon, Nov 25, 2013 at 3:17 PM, David McFarlane wrote: > By any chance, are you using EP2.0.10 or later? If so, then see first > http://www.pstnet.com/support/kb.asp?TopicID=3299 . > > ----- > 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) PST's trained staff take > any and all questions at https://support.pstnet.com , and they strive to > respond to all requests in 24-48 hours, so make full use of it. 3) In > addition, PST offers several instructional videos on their YouTube channel ( > http://www.youtube.com/user/PSTNET ). 4) 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 11/25/2013 02:13 PM Monday, francesco biondi wrote: > >> I am designing an experiment in which I am presenting sounds to pp. >> I am using a SlideObject with a SoundOut object. >> >> In the Properties window of the SoundOut object I am supposed to specify >> the Filename of the file I want to use. >> >> If, as a Filename, I use the name of the file contained in the folder - >> eg,, AUDIO.wav, the experiment runs without any problem. >> >> But, as a Filename, I specify an attribute contained in the List - eg, >> [Sound], eprime does not present the audio file. >> (each and every cell within the Sound column contained in the List >> contains audio file names such as AUDIO.wav) >> >> Can anyone help me with this? >> > > -- > 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/IfXqfrtC3Xc/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/5293cc81.893d320a.2d22.ffffbfd9SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/groups/opt_out. > -- *- - - - - - - - - - - - - - - - - - - - - - - - - - * *Francesco Biondi* *PhD student in Cognitive Science* http://colab.psy.unipd.it/people-detail.php?ID=3650 -- You received this message because you are subscribed 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/CAFNoCau-nq8p9taK9DHi0Sy-5mP6VVmZABz2rX6gAmcGRO0dzQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From didem.pehlivanoglu at gmail.com Tue Nov 26 17:35:31 2013 From: didem.pehlivanoglu at gmail.com (Didem) Date: Tue, 26 Nov 2013 09:35:31 -0800 Subject: creating Rerun List for no response items-count inline for no reponse items Message-ID: Hello, In my study, I show participants a list of words and ask them to recall and type their pairs on the screen. If they can't remember, they can skip that trial without typing and using "enter" key which leads no response for that trial. For those trials which they skipped and gave no response (the items that they cannot recall), I need an inline which writes the current trial information to the RerunList object, which will run after Trial List. I found a sample experiment which reruns errors. It has an inline to keep track of the number of trials on which the response is incorrect-> g_nErrorCount = 0. By defining this errorcount, they were able to write an inline to show the current trial information to the RerunList object, which is run after TrialList. So in the same way, I think that I need to keep track of the number of no response trials in my study to rerun them. Is this logic right? And if count command is necessary, my question is that what should be my inline statement to count no response trials in the inline? For example, looking at sample inline, can I use g_nNullCount=0 to count number of no response trials? Specifically, I think I don't how to call no response in inline (e.g., Null, " ", Space). Thanks, Didem. -- You received this message because you are subscribed 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/d5e51e2a-3cfa-4e0f-ac3f-06fb6e584593%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Nov 26 19:28:44 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 26 Nov 2013 14:28:44 -0500 Subject: Unable to play sound files In-Reply-To: <5293cd8e.8570320a.0a3d.ffffc035SMTPIN_ADDED_MISSING@gmr-mx .google.com> Message-ID: Oops, sorry I intruded on this old thread (I was responding to an old message still in my in box). I see now that JACanterbury already solved this by steering the OP to use Codec Config. -- David McFarlane At 11/25/2013 05:21 PM Monday, David McFarlane wrote: >Ieva, > >This came up again just today at >https://groups.google.com/d/topic/e-prime/IfXqfrtC3Xc . As I said >there, if you use EP2.0.10 or later then first see >http://www.pstnet.com/support/kb.asp?TopicID=3299 . > >----- >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) PST's trained staff >take any and all questions at https://support.pstnet.com , and they >strive to respond to all requests in 24-48 hours, so make full use >of it. 3) In addition, PST offers several instructional videos on >their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) 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 11/2/2013 04:33 PM Saturday, JACanterbury wrote: >>i assume the sounds play fine by themselves in native windows? In >>which case, have you run PST's 'codec config' utility program on >>the machine that you want to run the experiment on? I don't have >>e-prime to hand but I believe you need the file/render file option >>and you're looking to get green ticks to indicate that all is well. >> >>John >> >>On Thursday, October 31, 2013 12:46:08 PM UTC, Ieva Zeromskaite wrote: >> >> >>Hello, >> >>I am having problems with the loading of sound files. After showing >>the instructions, neither the Slide Object (with a soundfile >>inside) nor the SoundOut Object plays when I run the experiment. >> >>I checked that the soundfile names are correct, in the same file as >>the eps file, procedure titles are correct too. There's something >>wrong with the SoundBuffer, however, Eprime script doesn't say what exactly. >> >>Below is the script's copy : >> >>**** >> >>SoundOut1.ResetLoggingProperties >> >> Set SoundOut1SoundBuffer = SoundOut1.Buffers(1) >> >> SoundOut1SoundBuffer.Filename = c.GetAttrib(ebUCase_S & >> ebLCase_o & ebLCase_u & ebLCase_n & ebLCase_d & ebUCase_F & >> ebLCase_i & ebLCase_l & ebLCase_e) >> >> SoundOut1SoundBuffer.Load >> >> >> >> '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' >> >> ' Label - Procedure_Timeline_Start BEGIN >> >> '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' >> >> >> >>Procedure_Timeline_Start: >> >> If Err.Number = ebInputAccepted Then >> >> Err.Clear >> >> Resume Procedure_Timeline_StartResume >> >> ElseIf Err.Number <> 0 Then >> >>*** >> >> >> >>I would be grateful if anybody could help me with that. >> >>Thanks, >> >>Ieva -- You received this message because you are subscribed 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/5294f67c.629a320a.1d9f.ffffe69fSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Tue Nov 26 19:31:46 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 26 Nov 2013 14:31:46 -0500 Subject: Sounds not played In-Reply-To: Message-ID: Francesco, Wow, that is an old EP2 version. I understand the reluctance of many labs to move up to the latest version of EP2 because of how it significantly breaks with earlier versions, but you should consider moving at least up to 2.0.8.90, as it adds several improvements and fixes to the earlier versions. The thread at https://groups.google.com/d/topic/e-prime/ptt8Z08BUhA used Codec Config to fix a similar problem, but I do not think that your version includes that. -- David McFarlane At 11/25/2013 06:58 PM Monday, francesco.biondi at ...com wrote: >David, > >No > >the E-Studio version is the 2.0.1.96 >and the E-Prime version is 2.0.1.119 > > >On Mon, Nov 25, 2013 at 3:17 PM, David McFarlane ><mcfarla9 at msu.edu> wrote: >By any chance, are you using EP2.0.10 or later? If so, then see >first >http://www.pstnet.com/support/kb.asp?TopicID=3299 >. > >----- >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) PST's trained staff >take any and all questions at >https://support.pstnet.com , and they >strive to respond to all requests in 24-48 hours, so make full use >of it. 3) In addition, PST offers several instructional videos on >their YouTube channel >(http://www.youtube.com/user/PSTNET >). 4) 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 11/25/2013 02:13 PM Monday, francesco biondi wrote: >I am designing an experiment in which I am presenting sounds to pp. >I am using a SlideObject with a SoundOut object. > >In the Properties window of the SoundOut object I am supposed to >specify the Filename of the file I want to use. > >If, as a Filename, I use the name of the file contained in the >folder - eg,, AUDIO.wav, the experiment runs without any problem. > >But, as a Filename, I specify an attribute contained in the List - >eg, [Sound], eprime does not present the audio file. >(each and every cell within the Sound column contained in the List >contains audio file names such as AUDIO.wav) > >Can anyone help me with this? > > >-- > >-- >- - - - - - - - - - - - - - - - - - - - - - - - - - >Francesco Biondi >PhD student in Cognitive Science >http://colab.psy.unipd.it/people-detail.php?ID=3650 -- You received this message because you are subscribed 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/5294f732.2cdd320a.5a56.ffffe5a5SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From didem.pehlivanoglu at gmail.com Wed Nov 27 00:12:21 2013 From: didem.pehlivanoglu at gmail.com (Didem) Date: Tue, 26 Nov 2013 16:12:21 -0800 Subject: no-response=inaccuracy Message-ID: Hello, E-prime data file gives accuracy as 0 both for incorrect and no-response (if participant just skip that trial without answering) answers. My question is that is there any way to assign a different accuracy value for no response trials instead of 0 or to find out no-response trials while programming an experiment? 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/255c106c-b96b-4a43-b370-2afae4672477%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Wed Nov 27 04:13:53 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 26 Nov 2013 23:13:53 -0500 Subject: no-response=inaccuracy In-Reply-To: <255c106c-b96b-4a43-b370-2afae4672477@googlegroups.com> Message-ID: This gets asked a lot. What did you find when you Googled something like "e-prime correct no response"? -- David McFarlane Didem wrote: > E-prime data file gives accuracy as 0 both for incorrect and no-response > (if participant just skip that trial without answering) answers. > My question is that is there any way to assign a different accuracy > value for no response trials instead of 0 or to find out no-response > trials while programming an experiment? > > 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/52957181.8050503%40msu.edu. For more options, visit https://groups.google.com/groups/opt_out. From didem.pehlivanoglu at gmail.com Wed Nov 27 17:27:13 2013 From: didem.pehlivanoglu at gmail.com (Didem) Date: Wed, 27 Nov 2013 09:27:13 -0800 Subject: no-response=inaccuracy In-Reply-To: <52957181.8050503@msu.edu> Message-ID: The thing I want to separate no response trials from correct and incorrect trials and I don't know if there is any way to do it? On Tuesday, November 26, 2013 11:13:53 PM UTC-5, McFarlane, David wrote: > > This gets asked a lot. What did you find when you Googled something > like "e-prime correct no response"? > > -- David McFarlane > > > Didem wrote: > > E-prime data file gives accuracy as 0 both for incorrect and no-response > > (if participant just skip that trial without answering) answers. > > My question is that is there any way to assign a different accuracy > > value for no response trials instead of 0 or to find out no-response > > trials while programming an experiment? > > > > 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/c5040ab9-2175-4981-9d5f-183f733066f4%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Wed Nov 27 19:22:14 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 27 Nov 2013 14:22:14 -0500 Subject: no-response=inaccuracy In-Reply-To: Message-ID: OK, in that case, please see the thread at https://groups.google.com/d/topic/e-prime/T5ThFkW8qF8 , which includes a discussion of how to test for presence or absence of response. (I could not come up with a good way to Google that thread, if anyone else does please let me know.) From there it's a matter of using the result of that test to steer your inline code to produce the appropriate score. -- David McFarlane At 11/27/2013 12:27 PM Wednesday, Didem wrote: >The thing I want to separate no response trials from correct and >incorrect trials and I don't know if there is any way to do it? > >On Tuesday, November 26, 2013 11:13:53 PM UTC-5, McFarlane, David wrote: >This gets asked a lot. What did you find when you Googled something >like "e-prime correct no response"? > >-- David McFarlane > > >Didem wrote: > > E-prime data file gives accuracy as 0 both for incorrect and no-response > > (if participant just skip that trial without answering) answers. > > My question is that is there any way to assign a different accuracy > > value for no response trials instead of 0 or to find out no-response > > trials while programming an experiment? > > > > 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/52964677.8570320a.0a3d.0c3eSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From francesco.biondi at ymail.com Wed Nov 27 21:18:11 2013 From: francesco.biondi at ymail.com (francesco.biondi at ymail.com) Date: Wed, 27 Nov 2013 14:18:11 -0700 Subject: Sounds not played In-Reply-To: <5294f732.2cdd320a.5a56.ffffe5a5SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: > > > The thread at https://groups.google.com/d/topic/e-prime/ptt8Z08BUhA used > Codec Config to fix a similar problem, but I do not think that your version > includes that. > > Yes, you re right. Does anyone have any suggestions? > > > -- David McFarlane > > > > At 11/25/2013 06:58 PM Monday, francesco.biondi at ...com wrote: > >> David, >> >> No >> >> the E-Studio version is the 2.0.1.96 >> and the E-Prime version is 2.0.1.119 >> >> >> On Mon, Nov 25, 2013 at 3:17 PM, David McFarlane <> mcfarla9 at msu.edu>mcfarla9 at msu.edu> wrote: >> By any chance, are you using EP2.0.10 or later? If so, then see first < >> http://www.pstnet.com/support/kb.asp?TopicID=3299>ht >> tp://www.pstnet.com/support/kb.asp?TopicID=3299 . >> >> ----- >> David McFarlane >> E-Prime training online: > Workshops_Courses/eprime.aspx>http://psychology.msu.edu/ >> Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster ( >> https://twitter.com/EPrimeMaster ) >> >> /---- >> Stock reminder: 1) I do not work for PST. 2) PST's trained staff take >> any and all questions at ht >> tps://support.pstnet.com , and they strive to respond to all requests in >> 24-48 hours, so make full use of it. 3) In addition, PST offers several >> instructional videos on their YouTube channel (< >> http://www.youtube.com/user/PSTNET>http://www.youtube.com/user/PSTNET ). >> 4) 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 11/25/2013 02:13 PM Monday, francesco biondi wrote: >> I am designing an experiment in which I am presenting sounds to pp. >> I am using a SlideObject with a SoundOut object. >> >> In the Properties window of the SoundOut object I am supposed to specify >> the Filename of the file I want to use. >> >> If, as a Filename, I use the name of the file contained in the folder - >> eg,, AUDIO.wav, the experiment runs without any problem. >> >> But, as a Filename, I specify an attribute contained in the List - eg, >> [Sound], eprime does not present the audio file. >> (each and every cell within the Sound column contained in the List >> contains audio file names such as AUDIO.wav) >> >> Can anyone help me with this? >> >> >> -- >> >> -- >> - - - - - - - - - - - - - - - - - - - - - - - - - - >> Francesco Biondi >> PhD student in Cognitive Science >> http >> ://colab.psy.unipd.it/people-detail.php?ID=3650 >> > > -- > 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/IfXqfrtC3Xc/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/5294f732.2cdd320a.5a56.ffffe5a5SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/groups/opt_out. > -- *- - - - - - - - - - - - - - - - - - - - - - - - - - * *Francesco Biondi* *PhD student in Cognitive Science* http://colab.psy.unipd.it/people-detail.php?ID=3650 -- You received this message because you are subscribed 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/CAFNoCavJ%2BF6pjnmFaFJ-iRau3tegWuuEw3W%2ByHxXtOLWH_N_tg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From francesco.biondi at ymail.com Wed Nov 27 22:28:09 2013 From: francesco.biondi at ymail.com (francesco.biondi at ymail.com) Date: Wed, 27 Nov 2013 15:28:09 -0700 Subject: Sounds not played In-Reply-To: <5294f732.2cdd320a.5a56.ffffe5a5SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Is updating to a newer version free? Thanks for your precious support On Tue, Nov 26, 2013 at 12:31 PM, David McFarlane wrote: > Francesco, > > Wow, that is an old EP2 version. I understand the reluctance of many labs > to move up to the latest version of EP2 because of how it significantly > breaks with earlier versions, but you should consider moving at least up to > 2.0.8.90, as it adds several improvements and fixes to the earlier > versions. The thread at https://groups.google.com/d/ > topic/e-prime/ptt8Z08BUhA used Codec Config to fix a similar problem, but > I do not think that your version includes that. > > -- David McFarlane > > > > At 11/25/2013 06:58 PM Monday, francesco.biondi at ...com wrote: > >> David, >> >> No >> >> the E-Studio version is the 2.0.1.96 >> and the E-Prime version is 2.0.1.119 >> >> >> On Mon, Nov 25, 2013 at 3:17 PM, David McFarlane <> mcfarla9 at msu.edu>mcfarla9 at msu.edu> wrote: >> By any chance, are you using EP2.0.10 or later? If so, then see first < >> http://www.pstnet.com/support/kb.asp?TopicID=3299>ht >> tp://www.pstnet.com/support/kb.asp?TopicID=3299 . >> >> ----- >> David McFarlane >> E-Prime training online: > Workshops_Courses/eprime.aspx>http://psychology.msu.edu/ >> Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster ( >> https://twitter.com/EPrimeMaster ) >> >> /---- >> Stock reminder: 1) I do not work for PST. 2) PST's trained staff take >> any and all questions at ht >> tps://support.pstnet.com , and they strive to respond to all requests in >> 24-48 hours, so make full use of it. 3) In addition, PST offers several >> instructional videos on their YouTube channel (< >> http://www.youtube.com/user/PSTNET>http://www.youtube.com/user/PSTNET ). >> 4) 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 11/25/2013 02:13 PM Monday, francesco biondi wrote: >> I am designing an experiment in which I am presenting sounds to pp. >> I am using a SlideObject with a SoundOut object. >> >> In the Properties window of the SoundOut object I am supposed to specify >> the Filename of the file I want to use. >> >> If, as a Filename, I use the name of the file contained in the folder - >> eg,, AUDIO.wav, the experiment runs without any problem. >> >> But, as a Filename, I specify an attribute contained in the List - eg, >> [Sound], eprime does not present the audio file. >> (each and every cell within the Sound column contained in the List >> contains audio file names such as AUDIO.wav) >> >> Can anyone help me with this? >> >> >> -- >> >> -- >> - - - - - - - - - - - - - - - - - - - - - - - - - - >> Francesco Biondi >> PhD student in Cognitive Science >> http >> ://colab.psy.unipd.it/people-detail.php?ID=3650 >> > > -- > 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/IfXqfrtC3Xc/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/5294f732.2cdd320a.5a56.ffffe5a5SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/groups/opt_out. > -- *- - - - - - - - - - - - - - - - - - - - - - - - - - * *Francesco Biondi* *PhD student in Cognitive Science* http://colab.psy.unipd.it/people-detail.php?ID=3650 -- You received this message because you are subscribed 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/CAFNoCavP57i3KqVvvZ_1n0%3DMHRvyNmV9LkqAYJukunz0WNDnjQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Fri Nov 29 11:12:25 2013 From: mspape at cognitology.eu (Cognitology) Date: Fri, 29 Nov 2013 13:12:25 +0200 Subject: Sounds not played In-Reply-To: <5294f732.2cdd320a.5a56.ffffe5a5SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi Francesco, David, Surely it's not a bug with the older E-prime, right? (and yes, minor - .x - updates are almost always free) I thought it's more likely that the filename is not correct. What's the exact error message? Check to make sure that the filenames in the list are correct - a common problem is that the list has "audio1.wav " rather than "audio1.wav". Try with Debug.print "playing:" & c.getattrib("sound") & "." That way you'll spot any leading spaces and such that are difficult to see from just looking at the list. You can compare the debug.print from this output to the output you get if you just fill in the filename - they should be the same. Hope that helps. Best, Michiel -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of David McFarlane Sent: 26. November 2013 21:32 To: e-prime at googlegroups.com Subject: Re: Sounds not played Francesco, Wow, that is an old EP2 version. I understand the reluctance of many labs to move up to the latest version of EP2 because of how it significantly breaks with earlier versions, but you should consider moving at least up to 2.0.8.90, as it adds several improvements and fixes to the earlier versions. The thread at https://groups.google.com/d/topic/e-prime/ptt8Z08BUhA used Codec Config to fix a similar problem, but I do not think that your version includes that. -- David McFarlane At 11/25/2013 06:58 PM Monday, francesco.biondi at ...com wrote: >David, > >No > >the E-Studio version is the 2.0.1.96 >and the E-Prime version is 2.0.1.119 > > >On Mon, Nov 25, 2013 at 3:17 PM, David McFarlane ><mcfarla9 at msu.edu> wrote: >By any chance, are you using EP2.0.10 or later? If so, then see first >http://www.pstnet.co >m/support/kb.asp?TopicID=3299 >. > >----- >David McFarlane >E-Prime training >online: >http://psychol >ogy.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster >(https://twitter.com/EPrimeMaster ) > >/---- >Stock reminder: 1) I do not work for PST. 2) PST's trained staff take >any and all questions at >https://support.pstnet.com , and they >strive to respond to all requests in 24-48 hours, so make full use of >it. 3) In addition, PST offers several instructional videos on their >YouTube channel >(http://www.youtube.com/user/PSTNET >). 4) 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 11/25/2013 02:13 PM Monday, francesco biondi wrote: >I am designing an experiment in which I am presenting sounds to pp. >I am using a SlideObject with a SoundOut object. > >In the Properties window of the SoundOut object I am supposed to >specify the Filename of the file I want to use. > >If, as a Filename, I use the name of the file contained in the folder - >eg,, AUDIO.wav, the experiment runs without any problem. > >But, as a Filename, I specify an attribute contained in the List - eg, >[Sound], eprime does not present the audio file. >(each and every cell within the Sound column contained in the List >contains audio file names such as AUDIO.wav) > >Can anyone help me with this? > > >-- > >-- >- - - - - - - - - - - - - - - - - - - - - - - - - - Francesco Biondi >PhD student in Cognitive Science >http://colab.psy.u >nipd.it/people-detail.php?ID=3650 -- You received this message because you are subscribed 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/5294f732.2cdd320a.5a56.ffffe5a5SMT PIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed 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/01a801ceecf3%24e2c7dc40%24a85794c0%24%40eu. For more options, visit https://groups.google.com/groups/opt_out.