From stargateatlantis0 at gmail.com Wed Jan 8 14:56:02 2014 From: stargateatlantis0 at gmail.com (Camila Gomes Victorino) Date: Wed, 8 Jan 2014 06:56:02 -0800 Subject: Correct serrated or burr losangle after drawing a diamond polygon Message-ID: Hi! I have a binary decision making task where the subject needs to find out the diamond or losangle in one of the two sides. In the other one, there is a square and it needs to be identical to the diamond (just the angle position changes). I tried to draw the losangle and it worked, the problem is that the stimulus appears with serrated or burr sides. I tried to fix it putting the cnvs.penwidth and modifying it but it changes a lot the diamond and it needs to be identical to the square. I do not know how to fix it and get the serrated burrs out. I wrote the code as this: 'Declare variables Dim r, centerX, centerY As Integer 'Create canvas Set cnvs = Display.Canvas cnvs.FillColor = CColor("White") cnvs.Clear 'Create fixation point cnvs.TextColor = CColor ("black") cnvs.FontName = "Courier New" cnvs.FontSize = "18" cnvs.FontBold = CLogical("Yes") cnvs.Text 313, 228, "+" 'Create gray squares cnvs.Pencolor = CColor("Gray") cnvs.Fillcolor = CColor("White") cnvs.Rectangle 255, 205, 55, 62 cnvs.Rectangle Display.XRes -310, 205, 55, 62 'Show targets cnvs.Pencolor = CColor("black") cnvs.Fillcolor = CColor("black") If c.getattrib("Target") = "Diamond" Then 'Write a left diamond Dim P (4) As Point P(0).x = 280 P(0).y = 218 P(1).x = 296 P(1).y = 239 P(2).x = 280 P(2).y = 256 P(3).x = 265 P(3).y = 239 cnvs.Polygon P, 4 cnvs.Rectangle 345, 222, 25, 30 Else 'Write a Rectangle cnvs.Rectangle 270, 222, 25, 30 'Write a Diamond Dim L (4) As Point L(0).x = 357 L(0).y = 218 L(1).x = 373 L(1).y = 239 L(2).x = 357 L(2).y = 256 l(3).x = 342 L(3).y = 239 cnvs.Polygon L, 4 End If Sleep (1000) Thank you! Best regards, -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/84cc7844-4a1d-489b-9eac-4b86d7468a7f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From corysinman at gmail.com Wed Jan 8 20:08:41 2014 From: corysinman at gmail.com (Cory Inman) Date: Wed, 8 Jan 2014 12:08:41 -0800 Subject: Sending xdat (bit signals) from Eprime to ASL eye tracker through a Ethernet port (Socket Device) Message-ID: Hi, Are there any labs out there that have successfully been able to send xdat (bit signals) from an Eprime script to mark event onsets on an ASL D6 eye tracker through an ethernet port (socket device)? Any help, basic example scripts, or examples of inline code to send these signals through socket device in eprime would be much appreciated. Thank you for your time and help! Cory Inman Emory University -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1143330f-f2ce-49fc-8f7a-4b18262a3846%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pipgriffiths86 at gmail.com Wed Jan 8 21:31:52 2014 From: pipgriffiths86 at gmail.com (Pip Griffiths) Date: Wed, 8 Jan 2014 21:31:52 +0000 Subject: Sending xdat (bit signals) from Eprime to ASL eye tracker through a Ethernet port (Socket Device) In-Reply-To: <1143330f-f2ce-49fc-8f7a-4b18262a3846@googlegroups.com> Message-ID: Yes! I will send you script on Friday when I am in the lab next, but please remind me. Also, I have found the ASL d6 to be a nightmare of a machine that couldn't track a thing at any reasonable accuracy. Further to this, the clunky and buggy analysis software is not set up for having multiple conditions (for example different emotional faces/genders/presentation times). It also doesn't like you randomising the stimuli. If you randomise you will have a lot of work putting things in order manually after the study. Yer, Please email me on Friday. Also happy to answer any other questions that you have as I feel your (prospective) pain. Regards, Pip Griffiths PhD researcher University of Bath > On 8 Jan 2014, at 20:08, Cory Inman wrote: > > Hi, Are there any labs out there that have successfully been able to send xdat (bit signals) from an Eprime script to mark event onsets on an ASL D6 eye tracker through an ethernet port (socket device)? Any help, basic example scripts, or examples of inline code to send these signals through socket device in eprime would be much appreciated. Thank you for your time and help! > > Cory Inman > Emory University > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1143330f-f2ce-49fc-8f7a-4b18262a3846%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/4D6E25E5-9973-4B30-A771-5F3A8A4773CD%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From corysinman at gmail.com Thu Jan 9 00:15:25 2014 From: corysinman at gmail.com (Cory Inman) Date: Wed, 8 Jan 2014 19:15:25 -0500 Subject: Sending xdat (bit signals) from Eprime to ASL eye tracker through a Ethernet port (Socket Device) In-Reply-To: <4D6E25E5-9973-4B30-A771-5F3A8A4773CD@gmail.com> Message-ID: Thank you soo much Pip! That will be incredibly helpful. I'll make sure to remind you. We have been slowly, but surely making progress on it over the past few months. Just to make sure, is your script specifically for sending a signal through an Ethernet or socket device connection? It has been quite a battle, since no one at Eprime or ASL could tell me specifically what to do. If anything it will at least be nice to have some with whom I can share the pain ;) Thanks again! Looking forward to seeing the script! Cory On Jan 8, 2014, at 4:31 PM, Pip Griffiths wrote: > Yes! > > I will send you script on Friday when I am in the lab next, but please remind me. > > Also, I have found the ASL d6 to be a nightmare of a machine that couldn't track a thing at any reasonable accuracy. Further to this, the clunky and buggy analysis software is not set up for having multiple conditions (for example different emotional faces/genders/presentation times). It also doesn't like you randomising the stimuli. If you randomise you will have a lot of work putting things in order manually after the study. > > Yer, > Please email me on Friday. Also happy to answer any other questions that you have as I feel your (prospective) pain. > > Regards, > Pip Griffiths > PhD researcher > University of Bath > > On 8 Jan 2014, at 20:08, Cory Inman wrote: > >> Hi, Are there any labs out there that have successfully been able to send xdat (bit signals) from an Eprime script to mark event onsets on an ASL D6 eye tracker through an ethernet port (socket device)? Any help, basic example scripts, or examples of inline code to send these signals through socket device in eprime would be much appreciated. Thank you for your time and help! >> >> Cory Inman >> Emory University >> >> -- >> You received this message because you are subscribed to the Google Groups "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1143330f-f2ce-49fc-8f7a-4b18262a3846%40googlegroups.com. >> For more options, visit https://groups.google.com/groups/opt_out. > > > -- > 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/uW-I-xmDpTo/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/4D6E25E5-9973-4B30-A771-5F3A8A4773CD%40gmail.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/494F9F59-7B44-401A-BAFA-434F549BCADA%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bradyjanderson at gmail.com Thu Jan 9 05:20:04 2014 From: bradyjanderson at gmail.com (Brady Anderson) Date: Wed, 8 Jan 2014 21:20:04 -0800 Subject: Getting median RTs in real-time Message-ID: As E-Prime (to my knowledge as of posting) doesn't currently have a median summation ability, like it does for min,max,mean,etc. I had to come up with code to get E-Prime to return median reaction times for doing an FRN experiment. The paradigm was to use the median of the subject RTs for the first block of a task rest of the task to use as criteria for showing RT error feedback. I thought I would share the code I came up with to assist those (like in these E-Prime forum threads:http://www.pstnet.com/forum/Topic3559-5-1.aspx?Highlight=median and http://www.pstnet.com/forum/Topic3559-5-1.aspx?Highlight=median) who want E-Prime to return medians in real-time in a general fashion that can be otherwise adapted or referenced. First for the user script global variables: 'placed in user script tab dim mediancount as integer public medianrt() as integer dim median as integer "mediancount" is just the counter for populating the array of medianrt(). Though the task I did had 40 trials, I'll keep the dimensions undefined in case there are non-responses (so it doesn't skew the median, since E-Prime records non-responses as 0), and use the redim command to keep the array flexible with the following algorithm: 'placed in inline object after stimulus object which recorded response IF Stimulus.RT <> 0 then mediancount = mediancount + 1 redim preserve medianrt (mediancount) medianrt(mediancount) = Stimulus.RT END IF Obviously you can change the criteria after IF to anything you want to be included in the array, which gets redefined after each addition. Then I had another inline placed after the block but before the rest of the blocks for the rest of the trial which actually gets us the median, like so: 'placed in inline object after block of trials that would have the median RT ArraySort medianrt IF mediancount mod 2 = 0 then median = (medianrt(mediancount/2) + medianrt((mediancount/2) + 1))/2 ELSE median = medianrt((mediancount/2) + .5) END IF 'if you want to confirm the median, testing it against the EDAT file if you find the median by yourself in an Excel spreadsheet or something to double check it debug.print median This puts the whole array (which has the stimulus RTs) into numerical order with the command ArraySort (which turns gray, by the way), then I use the mod (which turns blue) operation algorithim to determine the median. The mod, short for modulation, is the remainder after division, so if there's all 40 trials, an even number, 40/2 goes into 10 with 0 left over, so E-Prime will take the mean between the 20th and 21st members to return the median, which here is the integer "median". If there's odd, that's easy, we know that since integers can only be even numbers there will be .5 left over, and the algorithm will just make E-Prime find the middle number and return that value labeled in the array to be our median, which we can then reference and manipulate all we want, so to complete the goal I had for the experimental paradigm, using the median RT to lower stimulus duration I could just do: 'placed in an inline object before the rest of the task hierarchy procedure c.SetAttrib "StimulusDur", .9*median and then I could just use [StimulusDur] in the duration field for the next stimulus slides, or use it in the recording responses field. This attribute and all the variables can of course be changed to anything that makes sense to you and works within your experiment. For mine I actually had "practrialcount" and "stimdur" instead of "mediancount" and "median", but it should work all the same. Hope this helps anyone out who needs the median like I did. I haven't done a time-audit to see how intensive this is on the computer, since for my task construction that wasn't really necessary, but I anticipate that this would be pretty negligible on most hardware. Let me know if I should post my task so it makes more sense in context. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/3713ee0b-b9df-4005-8075-176a6eb41b4d%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bradyjanderson at gmail.com Thu Jan 9 05:20:46 2014 From: bradyjanderson at gmail.com (Brady Anderson) Date: Wed, 8 Jan 2014 21:20:46 -0800 Subject: Summing object.ACC field and presenting as feedback In-Reply-To: <4b059b84.5944f10a.537c.0f8dSMTPIN_ADDED@gmr-mx.google.com> Message-ID: Here's my take on how to deal with getting medians in-task: https://groups.google.com/forum/#!topic/e-prime/6wKH5ceFuMQ which would admittedly be much easier if E-prime had a median summation. On Thursday, November 19, 2009 12:24:02 PM UTC-7, David McFarlane wrote: > > Liza, > > liwenna's answer covers what you need (thanks, liw!), but if you want > to read up some more then dive into chapter 4 of the User's Guide > that came with E-Prime, especially sections 4.3.4.1, 4.3.5, 4.4.3, and > 4.5.3.4. > > BTW, if you ever want to gather fancier descriptive statistics (e.g., > max, min, mean, standard deviation (but no median :( )), you can make > your life easier with a Summation object, just look at the Summation > topic in the online E-Basic Help. > > -- David McFarlane, Professional Faultfinder > > > At 11/19/2009 01:25 PM Thursday, liwenna wrote: > >Hey Liza, > > > >What you need is a variable that is able to carry information over > >several trials. > >This is done by 'user tab declared variables', which are variables > >that also fall out of the currect 'context' (or c. as in c.setattrib). > >Go to the script window and in the lower left tab select the user tab. > >On the user tab write: " dim ncorrect as integer " . There's your > >counter of correct trials. > > > >In the trialproc create an inline after slide2 that will update the > >attribute ncorrect. > > > >******************** > >if slide2.acc = 1 then ncorrect = ncorrect +1 > > > >c.setattrib "correctn", ncorrect > >***************** > > > >The first line adds 1 to ncorrect if the accurcay is 1, the second > >line writes ncorrect to correctn. Ncorrect will typically not be > >logged into your edat-file, whereas this line updates a logged > >attribute called correctn. > > > >Now in your feedback slide you can show the value of correctn (or > >ncorrect if you wish) as the value of xx in xx times in 25 tries. > > > >Hope this is clear enought to you. > > > >Best, > > > >liw > > > >On Nov 19, 6:47 pm, LizaM wrote: > > > Hello, > > > > > > Before I ask my question just let me say how useful this group is and > > > what an excellent resource for the current steep E-Prime learning > > > curve I find myself on - once I have learnt more and have useful stuff > > > to contribute I will do so! Thank you all :) > > > > > > I have an experiment where I have the user select a card from 5 cards > > > to see if they can match a card which is face down - all this is being > > > done on an object called Slide2. I am using a conditional CRESP to > > > record the correct response for each randomly selected card. So far so > > > good. However, the student I am programming for wants the feedback > > > given to the participant at the end in the form "You sucessfully > > > matched the card xx times in 25 tries". So, ideally, on the feedback > > > object I want to be able to tell it to add up the total of the > > > Slide2.ACC and present it as a result but I really can't see how to do > > > this! I can give feedback after each trial using Slide2 as the input > > > object that's not a problem but can't work out how to present the > > > total accuracy in this way.. any help gratefully recieved... > > > > > > Many Thanks > > > > > > Liza > > > >-- > > > >You received this message because you are subscribed to the Google > >Groups "E-Prime" group. > >To post to this group, send email to e-p... at googlegroups.com. > > >For more options, visit this group at > >http://groups.google.com/group/e-prime?hl=. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/11eb31e9-8ce5-4dfe-8013-c47cadf241bc%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 Jan 9 16:46:29 2014 From: jacanterbury at gmail.com (JACanterbury) Date: Thu, 9 Jan 2014 08:46:29 -0800 Subject: process mouse or keyboard input without clearing slide? Message-ID: Hi, I was hoping for a few pointers to save me going down too many dead ends. I want to display an image full screen and then get the participant to click at various points of interest around the screen. The might click many times. I will terminate either on a timer, or possibly by keyboard input Wherever the participant clicks, I want to display a marker on the screen at the location they clicked. I need to record somehow in a results file where and when they clicked. Does anyone done anything similar before or have any advice? I was thinking that perhaps it could be done all in ebasic without any slide objects. can i create and display a slide, and sub objects all from code and then just loop around waiting for mouse/keyboard input? Alternatively, is it possible to process input on a normal slide without the slide being terminated? Many thanks for your inspiration/advice, 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/d449d6d3-5191-488c-822a-e49c7ee6df73%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 Jan 9 19:24:20 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 9 Jan 2014 14:24:20 -0500 Subject: Correct serrated or burr losangle after drawing a diamond polygon In-Reply-To: <84cc7844-4a1d-489b-9eac-4b86d7468a7f@googlegroups.com> Message-ID: Hmm. I normally decline to look at extensive code samples or attached programs, but you made it very easy and I was curious. So I ran your code, and indeed got bad jagged edges for the diamonds. I thought I could just attribute this to low Display resolution (640 x 480 default), but got the same bad results at all other resolutions (max 1680 x 1050 on my machine), working with either EP1 or EP2. So it seems that the E-Basic Canvas.Polygon command simply does not do a good job of anti-aliasing (see http://en.wikipedia.org/wiki/Spatial_anti-aliasing for background information). Instead, you should make image files for your diamond and other shapes, then simply load those images to the Display as needed. This has the advantage that you can use good software to prepare your images and it will simplify your E-Basic code as you can simply redraw the same image to different defined locations. Come to think of this, using image files and Slides, you should be able to do this with no E-Basic code at all (I should have thought of this first, as this is the norma E-Prime way!). Just make a Slide with SlideImage sub-objects to hold your square and diamond images, then use attribute references from a List to assign the Position X & Y properies for each of those sub-objects. Easy-peasy (as long as you do not need too many diamond angles)! ----- 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 1/8/2014 09:56 AM Wednesday, Camila Gomes Victorino wrote: >I have a binary decision making task where the subject needs to find >out the diamond or losangle in one of the two sides. In the other >one, there is a square and it needs to be identical to the diamond >(just the angle position changes). I tried to draw the losangle and >it worked, the problem is that the stimulus appears with serrated or >burr sides. I tried to fix it putting the cnvs.penwidth and >modifying it but it changes a lot the diamond and it needs to be >identical to the square. I do not know how to fix it and get the >serrated burrs out. > >I wrote the code as this: > > 'Declare variables >Dim r, centerX, centerY As Integer > >'Create canvas >Set cnvs = Display.Canvas >cnvs.FillColor = CColor("White") >cnvs.Clear > >'Create fixation point >cnvs.TextColor = CColor ("black") >cnvs.FontName = "Courier New" >cnvs.FontSize = "18" >cnvs.FontBold = CLogical("Yes") >cnvs.Text 313, 228, "+" > >'Create gray squares >cnvs.Pencolor = CColor("Gray") >cnvs.Fillcolor = CColor("White") >cnvs.Rectangle 255, 205, 55, 62 >cnvs.Rectangle Display.XRes -310, 205, 55, 62 > >'Show targets >cnvs.Pencolor = CColor("black") >cnvs.Fillcolor = CColor("black") >If c.getattrib("Target") = "Diamond" Then >'Write a left diamond >Dim P (4) As Point >P(0).x = 280 >P(0).y = 218 >P(1).x = 296 >P(1).y = 239 >P(2).x = 280 >P(2).y = 256 >P(3).x = 265 >P(3).y = 239 >cnvs.Polygon P, 4 > >cnvs.Rectangle 345, 222, 25, 30 >Else >'Write a Rectangle >cnvs.Rectangle 270, 222, 25, 30 >'Write a Diamond > >Dim L (4) As Point >L(0).x = 357 >L(0).y = 218 >L(1).x = 373 >L(1).y = 239 >L(2).x = 357 >L(2).y = 256 >l(3).x = 342 >L(3).y = 239 >cnvs.Polygon L, 4 > > >End If > >Sleep (1000) > >Thank you! >Best regards, -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52cef766.0b39320a.4770.3876SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From gamze.trkmn at gmail.com Thu Jan 9 23:10:16 2014 From: gamze.trkmn at gmail.com (=?UTF-8?Q?Gamze_t=C3=BCrkmen?=) Date: Thu, 9 Jan 2014 15:10:16 -0800 Subject: Touch screen delay recording In-Reply-To: <31a7dea8-f9db-44c3-bdc6-aaf0913dfeeb@21g2000vbh.googlegroups.com> Message-ID: Hi, I have been dealing with the same issue. Has there been any progress on this issue? Thanks a lot. Gamze. 26 Nisan 2012 Perşembe 18:22:44 UTC+3 tarihinde francesca ciardo yazdı: > > Hi everybody, > I'm learning to use e-prime2.0 > I'm running an experiment with a touch screen as a device. > Each trial start with a double press on the keyboard and ends when > partecipant touch the screen. I need to known if there is any delay > between the touch and the RTs' touch recording and how I can estimate > it. > Shuold I write a Clock.Read il line? and How can I do it? > > I'd very much appreciate any help, many thanks in advance! > Francesca -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/6a35ce76-65fd-4ade-b9e3-f8a995f049e2%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From zouzhijo at gmail.com Fri Jan 10 04:31:08 2014 From: zouzhijo at gmail.com (zouzhijo at gmail.com) Date: Thu, 9 Jan 2014 20:31:08 -0800 Subject: Multiple Joysticks in E-prime Message-ID: I'd like to use two joysticks in my experiment to give response with E-prime. Subjects need to pull either one of the joystick to a certain location. But the software can only detect 1 joystick during the experiment. Would anybody kindly help me with this problem, that is, how can make the E-prime detect both of the joystick response? The version of E-prime is 2.0.8.22. Thank you very much! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/298d27ea-cb8a-4ea7-95c3-ab034bbc4fcb%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 Fri Jan 10 11:34:10 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Fri, 10 Jan 2014 12:34:10 +0100 Subject: process mouse or keyboard input without clearing slide? In-Reply-To: Message-ID: Hi John, I've modified the following example a bit to simplify it so it should work as you described: http://pfcgroot.nl/e-prime/83-example-scripts/84-image-selection-example.html This is the simplified version: http://pfcgroot.nl/e-prime/83-example-scripts/88-image-click-example.html The main trick in both examples, is that a stimulus is shown with a duration of zero. However, the image will stay on screen while a List object is used to handle individual mouse clicks. Visual click position feedback is done with a few canvas calls. The tricky part is to terminate the list after a specific timeout. This is done by dynamically setting the duration of the response object, because just setting the 'terminate after' property of the list will only check the time after each click. Best Paul On 9 January 2014 17:46, JACanterbury wrote: > Hi, > > I was hoping for a few pointers to save me going down too many dead ends. > > I want to display an image full screen and then get the participant to > click at various points of interest around the screen. > > The might click many times. > > I will terminate either on a timer, or possibly by keyboard input > > Wherever the participant clicks, I want to display a marker on the screen > at the location they clicked. > > I need to record somehow in a results file where and when they clicked. > > > Does anyone done anything similar before or have any advice? > > > I was thinking that perhaps it could be done all in ebasic without any > slide objects. can i create and display a slide, and sub objects all from > code and then just loop around waiting for mouse/keyboard input? > > Alternatively, is it possible to process input on a normal slide without > the slide being terminated? > > > Many thanks for your inspiration/advice, > > 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/d449d6d3-5191-488c-822a-e49c7ee6df73%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-vKj3R76wYeKqeCCYqHNZzqFfQ3zUkzamNFLqj0EfdjSg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hmouras at gmail.com Fri Jan 10 14:18:36 2014 From: hmouras at gmail.com (Harold Mouras) Date: Fri, 10 Jan 2014 06:18:36 -0800 Subject: Blockage in a very simple emotional faces recognition file Message-ID: Dear Support, I constructed a very simple emotional faces recognition file (attached). The file is working, until an e-run error message: ERROR: The datafile did not convert! FILE: ReVisageEmoPOFARabat1-1.txt then The following error occured while converting the data file: Error Message: Error occured reading text file - invalid variable name Line Number : 25 Error Number : 78 What could be the error ? Thank you very much in advance, Best regards, Harold Mouras -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/b138e00a-2ab2-4b88-b44e-cdc412e449cb%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: RecoVisageEmoPOFA Rabat.es2 Type: application/octet-stream Size: 55960 bytes Desc: not available URL: From mcfarla9 at msu.edu Fri Jan 10 15:05:11 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 10 Jan 2014 10:05:11 -0500 Subject: Blockage in a very simple emotional faces recognition file In-Reply-To: Message-ID: Harold, Can't be bothered to look at your .es2 file. How about you just tell us line 25 from your program, maybe that will be clue enough? -- David McFarlane At 1/10/2014 09:18 AM Friday, Harold Mouras wrote: >Dear Support, >I constructed a very simple emotional faces recognition file >(attached). The file is working, until an e-run error message: >ERROR: The datafile did not convert! >FILE: ReVisageEmoPOFARabat1-1.txt > >then > >The following error occured while converting the data file: >Error Message: Error occured reading text file - invalid variable name >Line Number : 25 >Error Number : 78 > >What could be the error ? > >Thank you very much in advance, >Best regards, >Harold Mouras > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To unsubscribe from this group and stop receiving emails from it, >send an email to e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/e-prime/b138e00a-2ab2-4b88-b44e-cdc412e449cb%40googlegroups.com. >For more options, visit >https://groups.google.com/groups/opt_out. >Content-Type: application/octet-stream; name="RecoVisageEmoPOFA Rabat.es2" >Content-Disposition: attachment; filename="RecoVisageEmoPOFA Rabat.es2" >X-Attachment-Id: f2f095ca-dbfa-42c4-b92e-f88a52069891 >Content-ID: -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52d00c29.220c320a.5717.14c6SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From pfc.groot at gmail.com Fri Jan 10 15:29:29 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Fri, 10 Jan 2014 16:29:29 +0100 Subject: Blockage in a very simple emotional faces recognition file In-Reply-To: <52d00c29.220c320a.5717.14c6SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: I think the line number points to a line in the text file that could not be converted. You probably used an attribute name that is allready used by eprime itself! Paul On 10 January 2014 16:05, David McFarlane wrote: > Harold, > > Can't be bothered to look at your .es2 file. How about you just tell us > line 25 from your program, maybe that will be clue enough? > > -- David McFarlane > > > > At 1/10/2014 09:18 AM Friday, Harold Mouras wrote: > > Dear Support, >> I constructed a very simple emotional faces recognition file (attached). >> The file is working, until an e-run error message: >> ERROR: The datafile did not convert! >> FILE: ReVisageEmoPOFARabat1-1.txt >> >> then >> >> The following error occured while converting the data file: >> Error Message: Error occured reading text file - invalid variable name >> Line Number : 25 >> Error Number : 78 >> >> What could be the error ? >> >> Thank you very much in advance, >> Best regards, >> Harold Mouras >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit > msgid/e-prime/b138e00a-2ab2-4b88-b44e-cdc412e449cb%40googlegroups.com> >> https://groups.google.com/d/msgid/e-prime/b138e00a-2ab2-4b88-b44e- >> cdc412e449cb%40googlegroups.com. >> For more options, visit >> https://groups.google.com/groups/opt_out. >> Content-Type: application/octet-stream; name="RecoVisageEmoPOFA Rabat.es2" >> Content-Disposition: attachment; filename="RecoVisageEmoPOFA Rabat.es2" >> X-Attachment-Id: f2f095ca-dbfa-42c4-b92e-f88a52069891 >> Content-ID: >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/e-prime/52d00c29.220c320a.5717.14c6SMTPIN_ > 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-vf%3DA7mq2OB7f_B4pfLQwufCyc%3D9qOY-MJDHspe9h7txg%40mail.gmail.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 Fri Jan 10 16:47:01 2014 From: jacanterbury at gmail.com (JACanterbury) Date: Fri, 10 Jan 2014 08:47:01 -0800 Subject: process mouse or keyboard input without clearing slide? In-Reply-To: Message-ID: Thanks Paul. Just seen this. Sounds hopeful (and interesting) - I will give it a go on monday. Have a nice weekend, cheers, John On Friday, January 10, 2014 11:34:10 AM UTC, Paul Groot wrote: > > Hi John, > > I've modified the following example a bit to simplify it so it should work > as you described: > > http://pfcgroot.nl/e-prime/83-example-scripts/84-image-selection-example.html > > This is the simplified version: > http://pfcgroot.nl/e-prime/83-example-scripts/88-image-click-example.html > > The main trick in both examples, is that a stimulus is shown with a > duration of zero. However, the image will stay on screen while a List > object is used to handle individual mouse clicks. Visual click position > feedback is done with a few canvas calls. The tricky part is to terminate > the list after a specific timeout. This is done by dynamically setting the > duration of the response object, because just setting the 'terminate after' > property of the list will only check the time after each click. > > Best > Paul > > > > > > > > On 9 January 2014 17:46, JACanterbury >wrote: > >> Hi, >> >> I was hoping for a few pointers to save me going down too many dead ends. >> >> I want to display an image full screen and then get the participant to >> click at various points of interest around the screen. >> >> The might click many times. >> >> I will terminate either on a timer, or possibly by keyboard input >> >> Wherever the participant clicks, I want to display a marker on the screen >> at the location they clicked. >> >> I need to record somehow in a results file where and when they clicked. >> >> >> Does anyone done anything similar before or have any advice? >> >> >> I was thinking that perhaps it could be done all in ebasic without any >> slide objects. can i create and display a slide, and sub objects all from >> code and then just loop around waiting for mouse/keyboard input? >> >> Alternatively, is it possible to process input on a normal slide without >> the slide being terminated? >> >> >> Many thanks for your inspiration/advice, >> >> 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+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/d449d6d3-5191-488c-822a-e49c7ee6df73%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/8e60f014-858c-4146-8044-c4c7c1a8e365%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pipgriffiths86 at gmail.com Fri Jan 10 20:58:37 2014 From: pipgriffiths86 at gmail.com (Pip Griffiths) Date: Fri, 10 Jan 2014 20:58:37 +0000 Subject: Xdat eyetracking Message-ID: Hi, who needed the xdat eyetracking script? i deleted your email... damn iPhone pip -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAHVamWgCxraTNyzpmoTQQvN1VyL8CYO0fT88ttDX-WhMqv%3DxDQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marisaann at gmail.com Sun Jan 12 23:24:32 2014 From: marisaann at gmail.com (Marisa) Date: Sun, 12 Jan 2014 15:24:32 -0800 Subject: TET/E-Prime synchronization problem Message-ID: I posted this over at the pstnet forums but thought I'd give it a try over here too. Long story short, I'm running an eye-tracking experiment with E-Prime, and I switched over from a two-computer, Tobii Studio/E-Prime setup to a one-computer setup without Tobii Studio (but still using TET and Clearview packages). Now the data file won't display the correct name of the item showing on screen when the data point was recorded. In the script, this is done by comparing the RTTime to the slide onset time (in my experiment it is further complicated by my adding variables recorded in the trial list that mark various points in the sound file on the slide, such as verb onset, direct object onset, etc.). On my old setup, everything worked fine. Now I am only getting the name of the item associated with the last-listed condition in the script. It seems as if the RTTime is always much larger than the slide onset time, so that the script jumps straight to the last condition. This seems to be related to the fact that the TETTime starts running when the TET server is turned on (so if I were to leave it on for an hour before the experiment starts, my first TETTime data point would be 3600000 ms). If I turn on the TET server and then immediately start running the E-Prime experiment, the problem in the data file goes away. However, I don't want to rely on this method because it is imprecise and means I would have to stop and start the server after calibration and at other parts in the experiment when data isn't being collected. I'm not sure why this is happening, or why the RTTime (which comes from E-Prime) should be decoupled from the slide onset times (which also come from E-Prime). I'd appreciate any insights anyone might have. 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/e60cd912-7141-4343-a164-43c5a75e8cec%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.steven.franklin at gmail.com Mon Jan 13 01:27:45 2014 From: michael.steven.franklin at gmail.com (Michael Franklin) Date: Sun, 12 Jan 2014 17:27:45 -0800 Subject: E-prime extensions for Tobii -- Script to read in txt, collect word gaze durations Message-ID: I'm hoping to find a standard naturalistic reading paradigm script (w/Eprime extentsion for tobii) where participants simply read text a page at a time, and gaze durations are measured for the individual words. Any help hunting this down would be greatly appreciated! thanks, Michael -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAMKb4bb%2B-e8TrymJbo-CicyMJgc%3DabsuiAk_%3DFXYm0kGEszqdg%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 Jan 13 14:46:31 2014 From: nebizzy at gmail.com (Ieva Zeromskaite) Date: Mon, 13 Jan 2014 06:46:31 -0800 Subject: Presentation of multiple images during one soundfile Message-ID: Dear E-primers, I would appreciate very much if anybody could help me with the issues I have with my experiment. I looked up similar topics in previous threads but could not find an answer I need. Several people who are good at E-prime have not been able to solve the issue I have, so I thought I'd ask here. The main issue is that I need to present a series of images while one soundfile is playing continuously. I have 2 conditions : 1) the in-synchrony condition when images are presented on the beat of soundfile 2) the out-of-synchrony condition when images are presented off-beat I have 2 soundfiles - one lasts 2 seconds, and the other - 12 seconds. In terms of sound, I need the first 2 sec file to play once at the start of the block, and the second one (12secs) to be played in a loop straight after the first one. The 'loopfile' consists of 4 measures, and each measure (3s) has 4 beats at 0, 750ms, 1500ms and 2250ms. The fourth beat is a 'silent' beat, and in the -in-sync condition the image should appear on that fourth silent beat. In out-of-sync condition, the first image should appear at the very start of the second soundfile (the loopfile) and the next ones should appear in every 3 seconds. In in-sync condition, the first image should appear 250ms after the loopfile starts, and again, the other images - every 3 seconds. Images are presented for 250ms followed by 2750ms of fixation cross. So visually, what happens is: IN-SYNC: 1.beginning file (2s) 2.loopfile (12seconds and repeats itself) 3. the images (changes every 3 seconds) start 250ms after the start of loopfile, and the loopfile keeps playing until all the images are shown. OUT-OF-SYNC: 1.beginning file (2s). 2. loopfile starts at the same time as picture presentation (changes every 3 seconds), the loopfile keeps playing, same as in the in-sync condition. Participants give their responses (to a question 'have you seen this face before?' after that brief presentation of every face for 250ms). This experiment will test if the working memory is enhanced when face images are presented in-synchrony with the musical beat. This is my last-resort help call, if anybody could help me with this, I'd be eternally grateful:) Thank you in advance! 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/60e9cb95-1ee3-46d5-b673-dbb6e10fc96c%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From stargateatlantis0 at gmail.com Mon Jan 13 16:10:29 2014 From: stargateatlantis0 at gmail.com (Camila Gomes Victorino) Date: Mon, 13 Jan 2014 08:10:29 -0800 Subject: Correct serrated or burr losangle after drawing a diamond polygon In-Reply-To: <52cef766.0b39320a.4770.3876SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David! Thank you for your answer! As I wrote my TrialProc as a queue of InLines (each one composing a canvas, showing different figures until feedback), using the Slide Image would create other canvas, different from the others and I don`t know if it is possible to mix two canvas in one, for example, some inline figures to the Images in SlideImage, all at once, so I employed your idea, creating two images.bmp (one with left diamond and right square and other with right diamond and left square) and created a row in the TrialList, called TargetImage, linking each image file to a specific target in the trialList. After that, I came back to the Inline where the serrated diamond was written and tried to write the code to load and show this two images, based on the TrialList. The problem is I am having trouble to discover what to do. In the part where the serrated diamond was written, I changed to: 'Show targets If c.getattrib("Target") = "Diamond" Then c.getattrib("TargetImage") = "DiamondLeft.bmp" Else 'Write a Diamond c.getattrib("TargetImage") = "DiamondRight.bmp" End If When I compile it says: "Can't assign to constant". I suspect I need to load the images first but I don`t know how to do it! Or I need to declare and set the bmp file (no clues!!). Other solution I figured out was to write a code to load and show the images directly. For example: 'Show targets If c.getattrib("Target") = "Diamond" Then "WRITE" = "DiamondLeft.bmp" Else 'Write a Diamond "WRITE" = "DiamondRight.bmp" End if The problem is I tried everything! I went to E-prime Help and copied and tried to use Canvas.LoadImage, ImageDisplay.Filename and ImageDisplay.Load but I`ve never succeed! Maybe it is a simple answer but I am a novice in programming. Any advice? Thank you for your help! Regards, Camila. Em quinta-feira, 9 de janeiro de 2014 19h24min20s UTC, McFarlane, David escreveu: > > Hmm. I normally decline to look at extensive code samples or > attached programs, but you made it very easy and I was curious. So I > ran your code, and indeed got bad jagged edges for the diamonds. I > thought I could just attribute this to low Display resolution (640 x > 480 default), but got the same bad results at all other resolutions > (max 1680 x 1050 on my machine), working with either EP1 or EP2. So > it seems that the E-Basic Canvas.Polygon command simply does not do a > good job of anti-aliasing (see > http://en.wikipedia.org/wiki/Spatial_anti-aliasing for background > information). > > Instead, you should make image files for your diamond and other > shapes, then simply load those images to the Display as needed. This > has the advantage that you can use good software to prepare your > images and it will simplify your E-Basic code as you can simply > redraw the same image to different defined locations. > > Come to think of this, using image files and Slides, you should be > able to do this with no E-Basic code at all (I should have thought of > this first, as this is the norma E-Prime way!). Just make a Slide > with SlideImage sub-objects to hold your square and diamond images, > then use attribute references from a List to assign the Position X & > Y properies for each of those sub-objects. Easy-peasy (as long as > you do not need too many diamond angles)! > > ----- > 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 1/8/2014 09:56 AM Wednesday, Camila Gomes Victorino wrote: > >I have a binary decision making task where the subject needs to find > >out the diamond or losangle in one of the two sides. In the other > >one, there is a square and it needs to be identical to the diamond > >(just the angle position changes). I tried to draw the losangle and > >it worked, the problem is that the stimulus appears with serrated or > >burr sides. I tried to fix it putting the cnvs.penwidth and > >modifying it but it changes a lot the diamond and it needs to be > >identical to the square. I do not know how to fix it and get the > >serrated burrs out. > > > >I wrote the code as this: > > > > 'Declare variables > >Dim r, centerX, centerY As Integer > > > >'Create canvas > >Set cnvs = Display.Canvas > >cnvs.FillColor = CColor("White") > >cnvs.Clear > > > >'Create fixation point > >cnvs.TextColor = CColor ("black") > >cnvs.FontName = "Courier New" > >cnvs.FontSize = "18" > >cnvs.FontBold = CLogical("Yes") > >cnvs.Text 313, 228, "+" > > > >'Create gray squares > >cnvs.Pencolor = CColor("Gray") > >cnvs.Fillcolor = CColor("White") > >cnvs.Rectangle 255, 205, 55, 62 > >cnvs.Rectangle Display.XRes -310, 205, 55, 62 > > > >'Show targets > >cnvs.Pencolor = CColor("black") > >cnvs.Fillcolor = CColor("black") > >If c.getattrib("Target") = "Diamond" Then > >'Write a left diamond > >Dim P (4) As Point > >P(0).x = 280 > >P(0).y = 218 > >P(1).x = 296 > >P(1).y = 239 > >P(2).x = 280 > >P(2).y = 256 > >P(3).x = 265 > >P(3).y = 239 > >cnvs.Polygon P, 4 > > > >cnvs.Rectangle 345, 222, 25, 30 > >Else > >'Write a Rectangle > >cnvs.Rectangle 270, 222, 25, 30 > >'Write a Diamond > > > >Dim L (4) As Point > >L(0).x = 357 > >L(0).y = 218 > >L(1).x = 373 > >L(1).y = 239 > >L(2).x = 357 > >L(2).y = 256 > >l(3).x = 342 > >L(3).y = 239 > >cnvs.Polygon L, 4 > > > > > >End If > > > >Sleep (1000) > > > >Thank you! > >Best regards, > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/dcc3a442-d83a-421a-913f-3dc15ec035fe%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 Jan 13 19:59:07 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 13 Jan 2014 14:59:07 -0500 Subject: Correct serrated or burr losangle after drawing a diamond polygon In-Reply-To: Message-ID: Camila, Just a few comments... 1) I really do not get why you do not want to do this with Slides, and then get rid of all the inline code. 2) Lines like c.getattrib("TargetImage") = "DiamondLeft.bmp" are illegal. c.getattrib("TargetImage") returns a value, and it makes no sense to assign a value to a returned value. If you have trouble with that, then it means that you need to take a course in Introduction to Programming. 3) Judging from other mistakes (e.g., '"WRITE" = "DiamondLeft.bmp"', which makes no sense), I get the feeling that you need to get a fair bit of background knowledge before anything said here will help. Once again, this points toward taking a course in Introduction to Programming. 4) But if you really want to do it on your own, then start with the general comments at https://groups.google.com/d/topic/e-prime/VCXgOWjKtCg . Best, -- David McFarlane At 1/13/2014 11:10 AM Monday, Camila Gomes Victorino wrote: >Hi David! >Thank you for your answer! >As I wrote my TrialProc as a queue of InLines (each one composing a >canvas, showing different figures until feedback), using the Slide >Image would create other canvas, different from the others and I >don`t know if it is possible to mix two canvas in one, for example, >some inline figures to the Images in SlideImage, all at once, so >I employed your idea, creating two images.bmp (one with left diamond >and right square and other with right diamond and left square) and >created a row in the TrialList, called TargetImage, linking each >image file to a specific target in the trialList. After that, I came >back to the Inline where the serrated diamond was written and tried >to write the code to load and show this two images, based on the >TrialList. The problem is I am having trouble to discover what to do. > >In the part where the serrated diamond was written, I changed to: >'Show targets >If c.getattrib("Target") = "Diamond" Then >c.getattrib("TargetImage") = "DiamondLeft.bmp" >Else >'Write a Diamond >c.getattrib("TargetImage") = "DiamondRight.bmp" >End If > >When I compile it says: "Can't assign to constant". I suspect I need >to load the images first but I don`t know how to do it! Or I need to >declare and set the bmp file (no clues!!). > >Other solution I figured out was to write a code to load and show >the images directly. For example: >'Show targets >If c.getattrib("Target") = "Diamond" Then >"WRITE" = "DiamondLeft.bmp" >Else >'Write a Diamond >"WRITE" = "DiamondRight.bmp" >End if > >The problem is I tried everything! I went to E-prime Help and copied >and tried to use Canvas.LoadImage, ImageDisplay.Filename and >ImageDisplay.Load but I`ve never succeed! >Maybe it is a simple answer but I am a novice in programming. Any advice? > >Thank you for your help! >Regards, Camila. > >Em quinta-feira, 9 de janeiro de 2014 19h24min20s UTC, McFarlane, >David escreveu: >Hmm. I normally decline to look at extensive code samples or >attached programs, but you made it very easy and I was curious. So I >ran your code, and indeed got bad jagged edges for the diamonds. I >thought I could just attribute this to low Display resolution (640 x >480 default), but got the same bad results at all other resolutions >(max 1680 x 1050 on my machine), working with either EP1 or EP2. So >it seems that the E-Basic Canvas.Polygon command simply does not do a >good job of anti-aliasing (see >http://en.wikipedia.org/wiki/Spatial_anti-aliasing >for background information). > >Instead, you should make image files for your diamond and other >shapes, then simply load those images to the Display as needed. This >has the advantage that you can use good software to prepare your >images and it will simplify your E-Basic code as you can simply >redraw the same image to different defined locations. > >Come to think of this, using image files and Slides, you should be >able to do this with no E-Basic code at all (I should have thought of >this first, as this is the norma E-Prime way!). Just make a Slide >with SlideImage sub-objects to hold your square and diamond images, >then use attribute references from a List to assign the Position X & >Y properies for each of those sub-objects. Easy-peasy (as long as >you do not need too many diamond angles)! > >----- >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 1/8/2014 09:56 AM Wednesday, Camila Gomes Victorino wrote: > >I have a binary decision making task where the subject needs to find > >out the diamond or losangle in one of the two sides. In the other > >one, there is a square and it needs to be identical to the diamond > >(just the angle position changes). I tried to draw the losangle and > >it worked, the problem is that the stimulus appears with serrated or > >burr sides. I tried to fix it putting the cnvs.penwidth and > >modifying it but it changes a lot the diamond and it needs to be > >identical to the square. I do not know how to fix it and get the > >serrated burrs out. > > > >I wrote the code as this: > > > > 'Declare variables > >Dim r, centerX, centerY As Integer > > > >'Create canvas > >Set cnvs = Display.Canvas > >cnvs.FillColor = CColor("White") > >cnvs.Clear > > > >'Create fixation point > >cnvs.TextColor = CColor ("black") > >cnvs.FontName = "Courier New" > >cnvs.FontSize = "18" > >cnvs.FontBold = CLogical("Yes") > >cnvs.Text 313, 228, "+" > > > >'Create gray squares > >cnvs.Pencolor = CColor("Gray") > >cnvs.Fillcolor = CColor("White") > >cnvs.Rectangle 255, 205, 55, 62 > >cnvs.Rectangle Display.XRes -310, 205, 55, 62 > > > >'Show targets > >cnvs.Pencolor = CColor("black") > >cnvs.Fillcolor = CColor("black") > >If c.getattrib("Target") = "Diamond" Then > >'Write a left diamond > >Dim P (4) As Point > >P(0).x = 280 > >P(0).y = 218 > >P(1).x = 296 > >P(1).y = 239 > >P(2).x = 280 > >P(2).y = 256 > >P(3).x = 265 > >P(3).y = 239 > >cnvs.Polygon P, 4 > > > >cnvs.Rectangle 345, 222, 25, 30 > >Else > >'Write a Rectangle > >cnvs.Rectangle 270, 222, 25, 30 > >'Write a Diamond > > > >Dim L (4) As Point > >L(0).x = 357 > >L(0).y = 218 > >L(1).x = 373 > >L(1).y = 239 > >L(2).x = 357 > >L(2).y = 256 > >l(3).x = 342 > >L(3).y = 239 > >cnvs.Polygon L, 4 > > > > > >End If > > > >Sleep (1000) > > > >Thank you! > >Best regards, > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To unsubscribe from this group and stop receiving emails from it, >send an email to e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/e-prime/dcc3a442-d83a-421a-913f-3dc15ec035fe%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/52d44590.aa49320a.6558.ffff9130SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Mon Jan 13 20:07:36 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 13 Jan 2014 15:07:36 -0500 Subject: Presentation of multiple images during one soundfile In-Reply-To: <60e9cb95-1ee3-46d5-b673-dbb6e10fc96c@googlegroups.com> Message-ID: Ieva, Not clear what part gives you trouble here. But you can present a sequence of images during sound playback merely be setting Stop After to "No" on your sound objects, and setting Duration to 0 or whatever. Then the sound will continue to play while your program goes on to present images. And if it were me, I might create one sound file that repeats the "loopfile" as many times as needed, rather than relying on E-Prime's "Loop" functioning. Or maybe I am missing something there? ----- 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 1/13/2014 09:46 AM Monday, Ieva Zeromskaite wrote: >I would appreciate very much if anybody could help me with the >issues I have with my experiment. >I looked up similar topics in previous threads but could not find an >answer I need. Several people who are good at E-prime have not been >able to solve the issue I have, so I thought I'd ask here. > >The main issue is that I need to present a series of images while >one soundfile is playing continuously. >I have 2 conditions : 1) the in-synchrony condition when images are >presented on the beat of soundfile 2) the out-of-synchrony condition >when images are presented off-beat >I have 2 soundfiles - one lasts 2 seconds, and the other - 12 >seconds. In terms of sound, I need the first 2 sec file to play once >at the start of the block, and the second one (12secs) to be played >in a loop straight after the first one. The 'loopfile' consists of 4 >measures, and each measure (3s) has 4 beats at 0, 750ms, 1500ms and >2250ms. The fourth beat is a 'silent' beat, and in the -in-sync >condition the image should appear on that fourth silent beat. > >In out-of-sync condition, the first image should appear at the very >start of the second soundfile (the loopfile) and the next ones >should appear in every 3 seconds. In in-sync condition, the first >image should appear 250ms after the loopfile starts, and again, the >other images - every 3 seconds. Images are presented for 250ms >followed by 2750ms of fixation cross. > >So visually, what happens is: >IN-SYNC: 1.beginning file (2s) 2.loopfile (12seconds and repeats >itself) 3. the images (changes every 3 seconds) start 250ms after >the start of loopfile, and the loopfile keeps playing until all the >images are shown. >OUT-OF-SYNC: 1.beginning file (2s). 2. loopfile starts at the same >time as picture presentation (changes every 3 seconds), the loopfile >keeps playing, same as in the in-sync condition. >Participants give their responses (to a question 'have you seen this >face before?' after that brief presentation of every face for >250ms). This experiment will test if the working memory is enhanced >when face images are presented in-synchrony with the musical beat. > >This is my last-resort help call, if anybody could help me with >this, I'd be eternally grateful:) > >Thank you in advance! > >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/52d4478d.2cdd320a.0aaf.ffff9247SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From stargateatlantis0 at gmail.com Mon Jan 13 21:01:31 2014 From: stargateatlantis0 at gmail.com (Camila Gomes Victorino) Date: Mon, 13 Jan 2014 13:01:31 -0800 Subject: Correct serrated or burr losangle after drawing a diamond polygon In-Reply-To: <52d44590.aa49320a.6558.ffff9130SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Dear David, I would like to learn code and it is because of that I prefer to use Inline. About the "write" think, I just put on that way to try to explain what I wanted to do (I know you don't do this in this way). It has been just a month since I first began to program. It is fact I need courses and as you don’t know me, there is the possibility I will be unable to understand your responses about any other code you could be able to write about my doubts but, really? Do you really need to answer in this way? I am learning and off course I will write dumb mistakes but it does not mean someone could help me to understand, instead of saying “I get the feeling that you need to get a fair bit of background knowledge before anything said here will help.” I know I need background! Off course! If I didn’t why would I be here in this forum and using E-prime? I will use Python straight ahead! Finally, I've never thought to do this on my own and it is because of that I entered on this forum. Anyway, best for you too and thank you for the tips and links! Em segunda-feira, 13 de janeiro de 2014 19h59min07s UTC, McFarlane, David escreveu: > > Camila, > > Just a few comments... > > 1) I really do not get why you do not want to do this with Slides, > and then get rid of all the inline code. > > 2) Lines like > c.getattrib("TargetImage") = "DiamondLeft.bmp" > are illegal. c.getattrib("TargetImage") returns a value, and it > makes no sense to assign a value to a returned value. If you have > trouble with that, then it means that you need to take a course in > Introduction to Programming. > > 3) Judging from other mistakes (e.g., '"WRITE" = "DiamondLeft.bmp"', > which makes no sense), I get the feeling that you need to get a fair > bit of background knowledge before anything said here will > help. Once again, this points toward taking a course in Introduction > to Programming. > > 4) But if you really want to do it on your own, then start with the > general comments at https://groups.google.com/d/topic/e-prime/VCXgOWjKtCg. > > Best, > -- David McFarlane > > > At 1/13/2014 11:10 AM Monday, Camila Gomes Victorino wrote: > >Hi David! > >Thank you for your answer! > >As I wrote my TrialProc as a queue of InLines (each one composing a > >canvas, showing different figures until feedback), using the Slide > >Image would create other canvas, different from the others and I > >don`t know if it is possible to mix two canvas in one, for example, > >some inline figures to the Images in SlideImage, all at once, so > >I employed your idea, creating two images.bmp (one with left diamond > >and right square and other with right diamond and left square) and > >created a row in the TrialList, called TargetImage, linking each > >image file to a specific target in the trialList. After that, I came > >back to the Inline where the serrated diamond was written and tried > >to write the code to load and show this two images, based on the > >TrialList. The problem is I am having trouble to discover what to do. > > > >In the part where the serrated diamond was written, I changed to: > >'Show targets > >If c.getattrib("Target") = "Diamond" Then > >c.getattrib("TargetImage") = "DiamondLeft.bmp" > >Else > >'Write a Diamond > >c.getattrib("TargetImage") = "DiamondRight.bmp" > >End If > > > >When I compile it says: "Can't assign to constant". I suspect I need > >to load the images first but I don`t know how to do it! Or I need to > >declare and set the bmp file (no clues!!). > > > >Other solution I figured out was to write a code to load and show > >the images directly. For example: > >'Show targets > >If c.getattrib("Target") = "Diamond" Then > >"WRITE" = "DiamondLeft.bmp" > >Else > >'Write a Diamond > >"WRITE" = "DiamondRight.bmp" > >End if > > > >The problem is I tried everything! I went to E-prime Help and copied > >and tried to use Canvas.LoadImage, ImageDisplay.Filename and > >ImageDisplay.Load but I`ve never succeed! > >Maybe it is a simple answer but I am a novice in programming. Any advice? > > > >Thank you for your help! > >Regards, Camila. > > > >Em quinta-feira, 9 de janeiro de 2014 19h24min20s UTC, McFarlane, > >David escreveu: > >Hmm. I normally decline to look at extensive code samples or > >attached programs, but you made it very easy and I was curious. So I > >ran your code, and indeed got bad jagged edges for the diamonds. I > >thought I could just attribute this to low Display resolution (640 x > >480 default), but got the same bad results at all other resolutions > >(max 1680 x 1050 on my machine), working with either EP1 or EP2. So > >it seems that the E-Basic Canvas.Polygon command simply does not do a > >good job of anti-aliasing (see > > > http://en.wikipedia.org/wiki/Spatial_anti-aliasing > >for background information). > > > >Instead, you should make image files for your diamond and other > >shapes, then simply load those images to the Display as needed. This > >has the advantage that you can use good software to prepare your > >images and it will simplify your E-Basic code as you can simply > >redraw the same image to different defined locations. > > > >Come to think of this, using image files and Slides, you should be > >able to do this with no E-Basic code at all (I should have thought of > >this first, as this is the norma E-Prime way!). Just make a Slide > >with SlideImage sub-objects to hold your square and diamond images, > >then use attribute references from a List to assign the Position X & > >Y properies for each of those sub-objects. Easy-peasy (as long as > >you do not need too many diamond angles)! > > > >----- > >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 1/8/2014 09:56 AM Wednesday, Camila Gomes Victorino wrote: > > >I have a binary decision making task where the subject needs to find > > >out the diamond or losangle in one of the two sides. In the other > > >one, there is a square and it needs to be identical to the diamond > > >(just the angle position changes). I tried to draw the losangle and > > >it worked, the problem is that the stimulus appears with serrated or > > >burr sides. I tried to fix it putting the cnvs.penwidth and > > >modifying it but it changes a lot the diamond and it needs to be > > >identical to the square. I do not know how to fix it and get the > > >serrated burrs out. > > > > > >I wrote the code as this: > > > > > > 'Declare variables > > >Dim r, centerX, centerY As Integer > > > > > >'Create canvas > > >Set cnvs = Display.Canvas > > >cnvs.FillColor = CColor("White") > > >cnvs.Clear > > > > > >'Create fixation point > > >cnvs.TextColor = CColor ("black") > > >cnvs.FontName = "Courier New" > > >cnvs.FontSize = "18" > > >cnvs.FontBold = CLogical("Yes") > > >cnvs.Text 313, 228, "+" > > > > > >'Create gray squares > > >cnvs.Pencolor = CColor("Gray") > > >cnvs.Fillcolor = CColor("White") > > >cnvs.Rectangle 255, 205, 55, 62 > > >cnvs.Rectangle Display.XRes -310, 205, 55, 62 > > > > > >'Show targets > > >cnvs.Pencolor = CColor("black") > > >cnvs.Fillcolor = CColor("black") > > >If c.getattrib("Target") = "Diamond" Then > > >'Write a left diamond > > >Dim P (4) As Point > > >P(0).x = 280 > > >P(0).y = 218 > > >P(1).x = 296 > > >P(1).y = 239 > > >P(2).x = 280 > > >P(2).y = 256 > > >P(3).x = 265 > > >P(3).y = 239 > > >cnvs.Polygon P, 4 > > > > > >cnvs.Rectangle 345, 222, 25, 30 > > >Else > > >'Write a Rectangle > > >cnvs.Rectangle 270, 222, 25, 30 > > >'Write a Diamond > > > > > >Dim L (4) As Point > > >L(0).x = 357 > > >L(0).y = 218 > > >L(1).x = 373 > > >L(1).y = 239 > > >L(2).x = 357 > > >L(2).y = 256 > > >l(3).x = 342 > > >L(3).y = 239 > > >cnvs.Polygon L, 4 > > > > > > > > >End If > > > > > >Sleep (1000) > > > > > >Thank you! > > >Best regards, > > > >-- > >You received this message because you are subscribed 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/dcc3a442-d83a-421a-913f-3dc15ec035fe%40googlegroups.com > > > https://groups.google.com/d/msgid/e-prime/dcc3a442-d83a-421a-913f-3dc15ec035fe%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/514b2dd0-659b-4bad-970e-3a61378e19e6%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 Jan 13 21:20:27 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 13 Jan 2014 16:20:27 -0500 Subject: Correct serrated or burr losangle after drawing a diamond polygon In-Reply-To: <514b2dd0-659b-4bad-970e-3a61378e19e6@googlegroups.com> Message-ID: Camila, If you are already comfortable with Python, and are really intent about learning how to code, then I highly recommend PsychoPy, psychopy.org . That might make a better platform than E-Prime for your interests. All the best, -- David At 1/13/2014 04:01 PM Monday, Camila Gomes Victorino wrote: >Dear David, > >I would like to learn code and it is because of that I prefer to use Inline. >About the "write" think, I just put on that way to try to explain >what I wanted to do (I know you don't do this in this way). > >It has been just a month since I first began to program. It is fact >I need courses and as you don't know me, there is the possibility I >will be unable to understand your responses about any other code you >could be able to write about my doubts but, really? Do you really >need to answer in this way? I am learning and off course I will >write dumb mistakes but it does not mean someone could help me to >understand, instead of saying "I get the feeling that you need to get a fair > >bit of background knowledge before anything said here will help." I >know I need background! Off course! If I didn't why would I be here >in this forum and using E-prime? I will use Python straight ahead! > >Finally, I've never thought to do this on my own and it is because >of that I entered on this forum. > >Anyway, best for you too and thank you for the tips and links! > > > >Em segunda-feira, 13 de janeiro de 2014 19h59min07s UTC, McFarlane, >David escreveu: >Camila, > >Just a few comments... > >1) I really do not get why you do not want to do this with Slides, >and then get rid of all the inline code. > >2) Lines like > c.getattrib("TargetImage") = "DiamondLeft.bmp" >are illegal. c.getattrib("TargetImage") returns a value, and it >makes no sense to assign a value to a returned value. If you have >trouble with that, then it means that you need to take a course in >Introduction to Programming. > >3) Judging from other mistakes (e.g., '"WRITE" = "DiamondLeft.bmp"', >which makes no sense), I get the feeling that you need to get a fair >bit of background knowledge before anything said here will >help. Once again, this points toward taking a course in Introduction >to Programming. > >4) But if you really want to do it on your own, then start with the >general comments at >https://groups.google.com/d/topic/e-prime/VCXgOWjKtCg >. > >Best, >-- David McFarlane > > >At 1/13/2014 11:10 AM Monday, Camila Gomes Victorino wrote: > >Hi David! > >Thank you for your answer! > >As I wrote my TrialProc as a queue of InLines (each one composing a > >canvas, showing different figures until feedback), using the Slide > >Image would create other canvas, different from the others and I > >don`t know if it is possible to mix two canvas in one, for example, > >some inline figures to the Images in SlideImage, all at once, so > >I employed your idea, creating two images.bmp (one with left diamond > >and right square and other with right diamond and left square) and > >created a row in the TrialList, called TargetImage, linking each > >image file to a specific target in the trialList. After that, I came > >back to the Inline where the serrated diamond was written and tried > >to write the code to load and show this two images, based on the > >TrialList. The problem is I am having trouble to discover what to do. > > > >In the part where the serrated diamond was written, I changed to: > >'Show targets > >If c.getattrib("Target") = "Diamond" Then > >c.getattrib("TargetImage") = "DiamondLeft.bmp" > >Else > >'Write a Diamond > >c.getattrib("TargetImage") = "DiamondRight.bmp" > >End If > > > >When I compile it says: "Can't assign to constant". I suspect I need > >to load the images first but I don`t know how to do it! Or I need to > >declare and set the bmp file (no clues!!). > > > >Other solution I figured out was to write a code to load and show > >the images directly. For example: > >'Show targets > >If c.getattrib("Target") = "Diamond" Then > >"WRITE" = "DiamondLeft.bmp" > >Else > >'Write a Diamond > >"WRITE" = "DiamondRight.bmp" > >End if > > > >The problem is I tried everything! I went to E-prime Help and copied > >and tried to use Canvas.LoadImage, ImageDisplay.Filename and > >ImageDisplay.Load but I`ve never succeed! > >Maybe it is a simple answer but I am a novice in programming. Any advice? > > > >Thank you for your help! > >Regards, Camila. > > > >Em quinta-feira, 9 de janeiro de 2014 19h24min20s UTC, McFarlane, > >David escreveu: > >Hmm. I normally decline to look at extensive code samples or > >attached programs, but you made it very easy and I was curious. So I > >ran your code, and indeed got bad jagged edges for the diamonds. I > >thought I could just attribute this to low Display resolution (640 x > >480 default), but got the same bad results at all other resolutions > >(max 1680 x 1050 on my machine), working with either EP1 or EP2. So > >it seems that the E-Basic Canvas.Polygon command simply does not do a > >good job of anti-aliasing (see > ><http://en.wiki > pedia.org/wiki/Spatial_anti-aliasing>http://en.wikipedia.org/wiki/Spatial_anti-aliasing > > >for background information). > > > >Instead, you should make image files for your diamond and other > >shapes, then simply load those images to the Display as needed. This > >has the advantage that you can use good software to prepare your > >images and it will simplify your E-Basic code as you can simply > >redraw the same image to different defined locations. > > > >Come to think of this, using image files and Slides, you should be > >able to do this with no E-Basic code at all (I should have thought of > >this first, as this is the norma E-Prime way!). Just make a Slide > >with SlideImage sub-objects to hold your square and diamond images, > >then use attribute references from a List to assign the Position X & > >Y properies for each of those sub-objects. Easy-peasy (as long as > >you do not need too many diamond angles)! > > > >----- > >David McFarlane > >E-Prime training > >online: > ><http://ps > ychology.msu.edu/Workshops_Courses/eprime.aspx>http://psychology.msu.edu/Workshops_Courses/eprime.aspx > > > > >Twitter: @EPrimeMaster > >(<https://twitter.com/EPrimeMaste > r>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>https://sup > port.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/P > STNET>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 1/8/2014 09:56 AM Wednesday, Camila Gomes Victorino wrote: > > >I have a binary decision making task where the subject needs to find > > >out the diamond or losangle in one of the two sides. In the other > > >one, there is a square and it needs to be identical to the diamond > > >(just the angle position changes). I tried to draw the losangle and > > >it worked, the problem is that the stimulus appears with serrated or > > >burr sides. I tried to fix it putting the cnvs.penwidth and > > >modifying it but it changes a lot the diamond and it needs to be > > >identical to the square. I do not know how to fix it and get the > > >serrated burrs out. > > > > > >I wrote the code as this: > > > > > > 'Declare variables > > >Dim r, centerX, centerY As Integer > > > > > >'Create canvas > > >Set cnvs = Display.Canvas > > >cnvs.FillColor = CColor("White") > > >cnvs.Clear > > > > > >'Create fixation point > > >cnvs.TextColor = CColor ("black") > > >cnvs.FontName = "Courier New" > > >cnvs.FontSize = "18" > > >cnvs.FontBold = CLogical("Yes") > > >cnvs.Text 313, 228, "+" > > > > > >'Create gray squares > > >cnvs.Pencolor = CColor("Gray") > > >cnvs.Fillcolor = CColor("White") > > >cnvs.Rectangle 255, 205, 55, 62 > > >cnvs.Rectangle Display.XRes -310, 205, 55, 62 > > > > > >'Show targets > > >cnvs.Pencolor = CColor("black") > > >cnvs.Fillcolor = CColor("black") > > >If c.getattrib("Target") = "Diamond" Then > > >'Write a left diamond > > >Dim P (4) As Point > > >P(0).x = 280 > > >P(0).y = 218 > > >P(1).x = 296 > > >P(1).y = 239 > > >P(2).x = 280 > > >P(2).y = 256 > > >P(3).x = 265 > > >P(3).y = 239 > > >cnvs.Polygon P, 4 > > > > > >cnvs.Rectangle 345, 222, 25, 30 > > >Else > > >'Write a Rectangle > > >cnvs.Rectangle 270, 222, 25, 30 > > >'Write a Diamond > > > > > >Dim L (4) As Point > > >L(0).x = 357 > > >L(0).y = 218 > > >L(1).x = 373 > > >L(1).y = 239 > > >L(2).x = 357 > > >L(2).y = 256 > > >l(3).x = 342 > > >L(3).y = 239 > > >cnvs.Polygon L, 4 > > > > > > > > >End If > > > > > >Sleep (1000) > > > > > >Thank you! > > >Best regards, > > > >-- > >You received this message because you are subscribed 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 > >< -3dc15ec035fe%40googlegroups.com>https://groups.google.com/d/msgid/e-prime/dcc3a442-d83a-421a-913f-3dc15ec035fe%40googlegroups.com>https://groups.google.com/d/msgid/e-prime/dcc3a442-d83a-421a-913f-3dc15ec035fe%40googlegroups.com. > > >For more options, visit > ><https://groups.google.co > m/groups/opt_out>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/514b2dd0-659b-4bad-970e-3a61378e19e6%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/52d458a1.2cdd320a.0aaf.ffff941eSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From jacanterbury at gmail.com Wed Jan 15 12:31:21 2014 From: jacanterbury at gmail.com (JACanterbury) Date: Wed, 15 Jan 2014 04:31:21 -0800 Subject: Installing 2.0.8 and 2.0.10 at the same time Message-ID: Not a question, but some information in case it's of use to anyone. Although the PST website (ticket 5345) says *Can E-Prime 2.0.8.x and E-Prime 2.0.10.x be installed at the same time? * No, only major version installations can be installed at the same time. However, multiple versions of the E-Prime 2.0 Subject Station installation can coexist on the same lab machine. KB5325 - FEATURE: Suite, Subject Station, and Run-Time detect other installations on machine (multiple Subject Station versions allowed) I thought I'd try anyway as I need to support both versions as a programmer. It turns out that you *CAN* have E-Studio 2.0.8 and 2.0.10 co-existing on the same machine at the same time. This is what I did: 1. install 2.0.8 2. rename the install directory e.g. from c:\program files (x86)\pst to c:\program files (x86)\pst-2-0-8 3. uninstall E-Prime (control panel / programs and features) 4. install 2.0.10 Notes: - the installed shortcuts from the Windows Start menu will be for the lastest version, you'll need to create additional shortcuts to the other version - when you switch from using one version to the other, you'll be prompted to relicence but this on ly takes a second - This seems to be the only irritation. - This seems fine for E-studio development work but I wouldn't run any actual live experiments on a system setup like this as I'm not quite sure what versions of drivers the 'other' version might be picking up - if you want to install e-prime into a different folder, e.g. on your D: drive, select the 'custom' install as this then gives you the option to change the installation directory/folder hth 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/b9989b78-abc5-4241-a94b-9f033a762009%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From elmoro5185 at gmail.com Wed Jan 15 17:43:03 2014 From: elmoro5185 at gmail.com (juan concepcion) Date: Wed, 15 Jan 2014 09:43:03 -0800 Subject: Can't find the HASP or Plug and Play services in MSCONFIG to prioritize E-Prime's performance Message-ID: Hello. I've used this step by step INFO from the e-prime site: (http://www.pstnet.com/support/kb.asp?TopicID=2621) to set up priority and accurate timing for e-prime during an experimental session. It happens that I use Windows 7 and when I open up the MSCONFIG window and look for the services tab, I can't find neither the PlugandPlay and HASP services. I've looked in for these services in the operating system and only found the Plug and Play service and it's status is STARTED and set to Automatic. I could not find the HASP service though. If there is anyone with this same problem and found a solution could you please shine some light? I am worried that E-Prime has not installed correctly. And also, it should be noted that I downgraded my HP Envy ( http://www.cnet.com/laptops/hp-envy-sleekbook-6/4505-3121_7-35339027.html) from Windows 8 to Windows 7 beacuse I am not sure that E-Prime 2 professional works fine with Windows 8. Juan Víctor -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/ed3f564e-59a1-4371-85a4-efa97ae8e612%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 Jan 16 16:32:43 2014 From: jacanterbury at gmail.com (JACanterbury) Date: Thu, 16 Jan 2014 08:32:43 -0800 Subject: modifying Z-order of slide images at runtime In-Reply-To: Message-ID: Hi Alon, Hopefully you found out how to do this. If so, could you post the answer? 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/d03090ed-ec7f-4460-b0a7-6f877b2859d6%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 Jan 16 22:07:58 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 16 Jan 2014 17:07:58 -0500 Subject: modifying Z-order of slide images at runtime In-Reply-To: Message-ID: I got curious, so I took a quick look into this. Short story: No streamlined way to modify Slide sub-object z-order at run time, although one might do this with some careful coding. Details... I fired up good old EP1 to make a simple test program and look at the generated source code. I added a Slide, then added a SlideText and a SlideImage object to the Slide, with the SlideImage in *front* of the SlideText. The relevant lines in the generated source code (under InitObjects) go Slide1.States.Item("Default").Objects.Add Slide1_SlideImage, "Image1" ... Slide1.States.Item("Default").Objects.Add Slide1_SlideText, "Text1" I then moved the SlideImage *behind* the SlideText, then the relevant lines of code went Slide1.States.Item("Default").Objects.Add Slide1_SlideText, "Text1" ... Slide1.States.Item("Default").Objects.Add Slide1_SlideImage, "Image1" Based on this, it looks like the z-order from front to back corresponds to the order of objects in the associated SlideStimCollection object. (IOW, if you think about it, E-Prime draws Slide sub-objects in reverse order of their position in the SlideStimCollection.) I did not verify this any further, I leave that to others. If this is correct, then one might modify the z-order at run time by using inline code to directly manipulate the objects in the SlideStimCollection. I leave this as an exercise (and if anyone does this, please post back with your results!). As a workaround, if one has to consider only a few z-orders, then one might make several SlideStates on the Slide, one SlideState for each different z-order. One could then use an attribute reference to select the SlideState with the desired z-order at run time, possibly with no code at all. It might be hard, however, to maintain the parallel but independent SlideStates during development. ----- 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 1/16/2014 11:32 AM Thursday, JACanterbury wrote: >Hi Alon, > >Hopefully you found out how to do this. If so, could you post the answer? > >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/52d85847.220c320a.7d5e.5722SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From jens.bernhardsson at gmail.com Mon Jan 20 16:21:57 2014 From: jens.bernhardsson at gmail.com (jens) Date: Mon, 20 Jan 2014 08:21:57 -0800 Subject: Simultaneously run a Stroop and a passive auditory Oddball Message-ID: Dear group, I would like to run a Stroop and an auditory Oddball paradigm at the same time running only one instance of E-prime. I have tried to solve it with several different designs and also tried to adapt the Dual Task example, unsuccessfully. I want to be able to run and collect responses from a Stroop experiment using keyboard responses. During that I want to run a passive Oddball that is separated from the presentation and response in the Stroop task. That is, the auditory Oddball just runs alongside for as long as the Stroop experiment takes without influence from the procedure of the Stroop or with an appearance of procedural independence Is this possible? Thanks, Jens -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/ff068e63-3097-46af-8633-3f1b31ec1504%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 Jan 20 19:50:24 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 20 Jan 2014 14:50:24 -0500 Subject: Simultaneously run a Stroop and a passive auditory Oddball In-Reply-To: Message-ID: Jens, Previous related discussions: https://groups.google.com/d/topic/e-prime/NgpcVNY64kE , https://groups.google.com/d/topic/e-prime/UARRlo_Kthw . Short take for your case: Although in principle one might do this in E-Prime, I think that EP makes a generally poor platform for this type of "dual task". You might try instead straight C/C++, Visual Basic, or Python, or maybe PsychoPy (which is Python based). 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 1/20/2014 11:21 AM Monday, jens wrote: >I would like to run a Stroop and an auditory Oddball paradigm at the >same time running only one instance of E-prime. I have tried to >solve it with several different designs and also tried to adapt the >Dual Task example, unsuccessfully. > >I want to be able to run and collect responses from a Stroop >experiment using keyboard responses. During that I want to run a >passive Oddball that is separated from the presentation and response >in the Stroop task. That is, the auditory Oddball just runs >alongside for as long as the Stroop experiment takes without >influence from the procedure of the Stroop or with an appearance of >procedural independence >Is this possible? > >Thanks, >Jens -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52dd7e04.642c320a.2448.6cabSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From shai.aviram at gmail.com Mon Jan 20 20:03:16 2014 From: shai.aviram at gmail.com (Shai Aviram) Date: Mon, 20 Jan 2014 12:03:16 -0800 Subject: Mathematical task Message-ID: Hello, I need to design a mathematical task this is a simple task in which the student will see 10 mathematical exercises and he needs to solve them sequentiality (from top one to the last one) to design this task I need the ability to present a set of exercises (vertically) and allow user the answer each exercise (input field) and see what he types on screen. and allow him to advance to the next exercise it should something like this: 223 + 123 = 346 (example for answer exercise by student) 120 + 150 = 270 (example for answer exercise by student) 300 + 400 = ____ (this is the current exercise the student need to answer) 150 + 150 = ____ (this is the next exercise for the student) and so on... I would like to know if this design is possible to be designed in E-prime? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/0a14dd0e-2bca-45ac-8913-b4738cf0a1ed%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 Jan 20 20:22:40 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 20 Jan 2014 15:22:40 -0500 Subject: Mathematical task In-Reply-To: <0a14dd0e-2bca-45ac-8913-b4738cf0a1ed@googlegroups.com> Message-ID: Do you need millisecond precision for stimulus & response times? If not, then you might find it easier to do this in plain HTML/CSS/JavaScript/ActiveX in a web browser, or maybe with something like Empirisoft MediaLab. Otherwise, to answer the question asked, yes, you could do this with E-Prime with some effort. I leave it to others to provide details. ----- 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 1/20/2014 03:03 PM Monday, Shai Aviram wrote: >I need to design a mathematical task >this is a simple task in which the student will see 10 mathematical >exercises and he needs to solve them sequentiality (from top one to >the last one) >to design this task I need the ability to present a set of exercises >(vertically) and allow user the answer each exercise (input field) >and see what he types on screen. and allow him to advance to the next exercise >it should something like this: > >223 + 123 = 346 (example for answer exercise by student) > >120 + 150 = 270 (example for answer exercise by student) > >300 + 400 = ____ (this is the current exercise the student need to answer) > >150 + 150 = ____ (this is the next exercise for the student) > >and so on... > >I would like to know if this design is possible to be designed in E-prime? > >Thanks in advance. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52dd8595.629a320a.11a4.0e9bSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From shai.aviram at gmail.com Tue Jan 21 06:49:54 2014 From: shai.aviram at gmail.com (Shai Aviram) Date: Mon, 20 Jan 2014 22:49:54 -0800 Subject: Mathematical task In-Reply-To: <52dd8595.629a320a.11a4.0e9bSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: David thank you for the quick replay I would need to register students respond in millisecond precision. so i`m guessing HTML may be less for me? Nevertheless , if it is possible, I prefer to user E-prime since my University uses the E-Prime program. Thanks, Shai. On Monday, January 20, 2014 10:22:40 PM UTC+2, McFarlane, David wrote: > > Do you need millisecond precision for stimulus & response times? If > not, then you might find it easier to do this in plain > HTML/CSS/JavaScript/ActiveX in a web browser, or maybe with something > like Empirisoft MediaLab. > > Otherwise, to answer the question asked, yes, you could do this with > E-Prime with some effort. I leave it to others to provide details. > > ----- > 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 1/20/2014 03:03 PM Monday, Shai Aviram wrote: > >I need to design a mathematical task > >this is a simple task in which the student will see 10 mathematical > >exercises and he needs to solve them sequentiality (from top one to > >the last one) > >to design this task I need the ability to present a set of exercises > >(vertically) and allow user the answer each exercise (input field) > >and see what he types on screen. and allow him to advance to the next > exercise > >it should something like this: > > > >223 + 123 = 346 (example for answer exercise by student) > > > >120 + 150 = 270 (example for answer exercise by student) > > > >300 + 400 = ____ (this is the current exercise the student need to > answer) > > > >150 + 150 = ____ (this is the next exercise for the student) > > > >and so on... > > > >I would like to know if this design is possible to be designed in > E-prime? > > > >Thanks in advance. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/c71e7d2e-1227-48d7-9678-56ee4ab2fb68%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 Jan 21 10:05:08 2014 From: mspape at cognitology.eu (Cognitology) Date: Tue, 21 Jan 2014 12:05:08 +0200 Subject: Mathematical task In-Reply-To: Message-ID: Hi, Shouldn’t be all that hard at all, but David touches on an important topic: you need to think deep and hard about how you wish to design it. Why, for instance, if you’re interested in millisecond precision, are you showing all questions at the same time? It will take less time to answer question 10 than question 1, for many reasons: because of training (motor, cognition, etc), because perhaps you need to move the mouse, but also because presumably, your students will have read, for instance, a bit of question 5 before they have answered question 1 – therefore, some previewing can be assumed. How do you know, then, that the ms between answering question 4 and answering question 5 reflect the cognitive processing time of question 5? These kinds of uncertainties will make it useless to record reaction time, certainly in milliseconds. E-Prime is generally really great for very well specified designs, for instance: 1) Show fixation. 2) Show equation 223 + 123 = 346. Centrally on the screen, until response. 3) Subject responds LEFT if the answer is correct, or RIGHT if the answer is incorrect. 4) Repeat, from random list, and include 50% wrong answers as well (for example 223 + 123 = 364, which has similar visual appearance). This, I think, is the level of detail in which E-Prime shines; other levels are possible, but are, as David suggests, probably best investigated with a different approach. I hope you find my comments helpful. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Shai Aviram Sent: 21. January 2014 08:50 To: e-prime at googlegroups.com Subject: Re: Mathematical task David thank you for the quick replay I would need to register students respond in millisecond precision. so i`m guessing HTML may be less for me? Nevertheless , if it is possible, I prefer to user E-prime since my University uses the E-Prime program. Thanks, Shai. On Monday, January 20, 2014 10:22:40 PM UTC+2, McFarlane, David wrote: Do you need millisecond precision for stimulus & response times? If not, then you might find it easier to do this in plain HTML/CSS/JavaScript/ActiveX in a web browser, or maybe with something like Empirisoft MediaLab. Otherwise, to answer the question asked, yes, you could do this with E-Prime with some effort. I leave it to others to provide details. ----- 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 1/20/2014 03:03 PM Monday, Shai Aviram wrote: >I need to design a mathematical task >this is a simple task in which the student will see 10 mathematical >exercises and he needs to solve them sequentiality (from top one to >the last one) >to design this task I need the ability to present a set of exercises >(vertically) and allow user the answer each exercise (input field) >and see what he types on screen. and allow him to advance to the next exercise >it should something like this: > >223 + 123 = 346 (example for answer exercise by student) > >120 + 150 = 270 (example for answer exercise by student) > >300 + 400 = ____ (this is the current exercise the student need to answer) > >150 + 150 = ____ (this is the next exercise for the student) > >and so on... > >I would like to know if this design is possible to be designed in E-prime? > >Thanks in advance. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/c71e7d2e-1227-48d7-9678-56ee4ab2fb68%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/13dc01cf1690%2444670e60%24cd352b20%24%40eu. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jodie at naimfeil.org Tue Jan 21 12:24:58 2014 From: jodie at naimfeil.org (Jodie) Date: Tue, 21 Jan 2014 04:24:58 -0800 Subject: Serial USB relay: Adding time-stamps to EEG Recordings Message-ID: Hello Forum, I am having a little bit of trouble with my USB relay setup. Essentially, I have a USB 4-relay board which I using to communicate between E-prime and Biosemi. My plan is to timestamp in the EEG recording when the stimulus event is being shown. My current script is the following (which just opens and closes the USB relay): This in-line is immediately before the stimulus presentation: ---------------------------------- Dim arrDataa(2) As Integer arrDatag(0) = 255 arrDatag(1) = 1 arrDatag(2) = 1 Serial.WriteBytes arrDataa --------------------------------- Following by the Stimulus presentation Then, this in-line is immediately after the stimulus presentation: ---------------------------------- Dim arrDatab(2) As Integer arrDatag(0) = 255 arrDatag(1) = 1 arrDatag(2) = 0 Serial.WriteBytes arrDatab --------------------------------- The script works nicely and is able to time-stamp into the Biosemi recording. The problem is that while it works perfectly for when the trigger code is sent (lets say a 64 time-stamp appears in the trigger of Biosemi), when I 'stop' the trigger (after the stimulus is presented), there is a time-stamp of 64 with a zero underneath in the Biosemi recordings. This is problematic for when I try to analyse the EEG data because all of the start and stop events are saved as the same 64 time-stamps (it ignores the zero below the 64 in the 'stop' time-stamp condition) and therefore, the 'stop' is considered the same event as the initiation of the time-stamp. I contacted Biosemi and they told me that the issue is with the scripting in E-prime. I was wondering if anyone had any suggestions for how to fix this problem? It would be much appreciated!! I hope I have been clear? Thank you for your help. Kind regards, Jodie -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/577e23e0-1789-4442-865c-65aa4233fef7%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 Jan 21 14:15:27 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Tue, 21 Jan 2014 15:15:27 +0100 Subject: Serial USB relay: Adding time-stamps to EEG Recordings In-Reply-To: <577e23e0-1789-4442-865c-65aa4233fef7@googlegroups.com> Message-ID: Hi Jodie, I don't see why this should be an eprime issue? The logic behind your script is that there is an active digital signal when the stimulus is presented. Not sure how biosemi normally encodes those events, but if it encodes rising and falling edges seperatly, there is no way of preventing the additional marker at the end of the stimulus. However, I doubt if the digital interface with relays is the right way to conenct the two systems. Relays can cause delay and bouncing problems, so I would prefer a direct (TTL) connection from the stimulus computer to the biosemi trigger input(s). Normally this can be done using a parallel printer port or IO board. I would be very suspicious about a possible bouncing issue when the relay is switched off. Especially when using high sampling rates... Best Paul On 21 January 2014 13:24, Jodie wrote: > Hello Forum, > > I am having a little bit of trouble with my USB relay setup. Essentially, > I have a USB 4-relay board which I using to communicate between E-prime and > Biosemi. > My plan is to timestamp in the EEG recording when the stimulus event is > being shown. My current script is the following (which just opens and > closes the USB relay): > > This in-line is immediately before the stimulus presentation: > ---------------------------------- > Dim arrDataa(2) As Integer > > arrDatag(0) = 255 > arrDatag(1) = 1 > arrDatag(2) = 1 > > Serial.WriteBytes arrDataa > --------------------------------- > > Following by the Stimulus presentation > > Then, this in-line is immediately after the stimulus presentation: > > ---------------------------------- > Dim arrDatab(2) As Integer > > arrDatag(0) = 255 > arrDatag(1) = 1 > arrDatag(2) = 0 > > Serial.WriteBytes arrDatab > --------------------------------- > > The script works nicely and is able to time-stamp into the Biosemi > recording. The problem is that while it works perfectly for when the trigger > code is sent (lets say a 64 time-stamp appears in the trigger of Biosemi), > when I 'stop' the trigger (after the stimulus is presented), there is a > time-stamp of 64 with a zero underneath in the Biosemi recordings. This is > problematic for when I try to analyse the EEG data because all of the > start and stop events are saved as the same 64 time-stamps (it ignores the > zero below the 64 in the 'stop' time-stamp condition) and therefore, the > 'stop' is considered the same event as the initiation of the time-stamp. > > I contacted Biosemi and they told me that the issue is with the scripting > in E-prime. I was wondering if anyone had any suggestions for how to fix > this problem? > It would be much appreciated!! > > I hope I have been clear? > > Thank you for your help. > > Kind regards, > Jodie > > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/577e23e0-1789-4442-865c-65aa4233fef7%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-tP3UO%3DADjg%3D2_R4bsuDs1tETJx%2BG86pNEi12u%3DWWATog%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 Jan 21 18:55:49 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 21 Jan 2014 13:55:49 -0500 Subject: Mathematical task In-Reply-To: Message-ID: Shai, Regarding timing quality with HTML, etc... The last time I looked at this, web browsers used the system clock, and the MS DOS/Windows system clock ran with a default resolution of about 55 ms. That was many years ago, and for all I know things have changed since then. That also applied only to MS DOS/Windows. Of course, using HTML, etc., you could run the program on other platforms (e.g., Apple, Linux), and their system clocks may provide different resolutions -- as I recall, when I tested this with a Macintosh (before OS X) I got 1 ms resolution. You would have to run your own timing tests on any platform, and also bear in mind that *resolution* is not the same as *accuracy*, as discussed, e.g., in the E-Prime User's Guide. Given all that, I would find HTML, etc. suitable for designs that required resolution no better than, say, 100 ms. For anything better, I would go to E-Prime, DirectRT, MATLAB, PsychoPy, C/C++/C#, etc. -- David McFarlane At 1/21/2014 01:49 AM Tuesday, Shai Aviram wrote: >David thank you for the quick replay >I would need to register students respond in millisecond precision. >so i`m guessing HTML may be less for me? > >Nevertheless , if it is possible, I prefer to user E-prime since my >University uses the E-Prime program. > >Thanks, >Shai. > >On Monday, January 20, 2014 10:22:40 PM UTC+2, McFarlane, David wrote: >Do you need millisecond precision for stimulus & response times? If >not, then you might find it easier to do this in plain >HTML/CSS/JavaScript/ActiveX in a web browser, or maybe with something >like Empirisoft MediaLab. > >Otherwise, to answer the question asked, yes, you could do this with >E-Prime with some effort. I leave it to others to provide details. > >----- >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 1/20/2014 03:03 PM Monday, Shai Aviram wrote: > >I need to design a mathematical task > >this is a simple task in which the student will see 10 mathematical > >exercises and he needs to solve them sequentiality (from top one to > >the last one) > >to design this task I need the ability to present a set of exercises > >(vertically) and allow user the answer each exercise (input field) > >and see what he types on screen. and allow him to advance to the > next exercise > >it should something like this: > > > >223 + 123 = 346 (example for answer exercise by student) > > > >120 + 150 = 270 (example for answer exercise by student) > > > >300 + 400 = ____ (this is the current exercise the student need to answer) > > > >150 + 150 = ____ (this is the next exercise for the student) > > > >and so on... > > > >I would like to know if this design is possible to be designed in E-prime? > > > >Thanks in advance. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52dec2bb.642c320a.2448.ffff8234SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From nebizzy at gmail.com Wed Jan 22 16:45:29 2014 From: nebizzy at gmail.com (Ieva Zeromskaite) Date: Wed, 22 Jan 2014 08:45:29 -0800 Subject: Presentation of multiple images during one soundfile In-Reply-To: <60e9cb95-1ee3-46d5-b673-dbb6e10fc96c@googlegroups.com> Message-ID: Thank you for your suggestion, but I've tried that before and the sound was lagging and repeating itself... I slightly changed my design now since I've had this problem since autumn.:) -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/05f4debe-0582-438f-b9a1-733009110e5a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From email.tracycheung at gmail.com Thu Jan 23 09:41:47 2014 From: email.tracycheung at gmail.com (Tracy Cheung) Date: Thu, 23 Jan 2014 01:41:47 -0800 Subject: Opening an external link from E-Prime Message-ID: Hi there, I would be really happy to hear solutions or suggestions to a problem that I am experiencing. The experiment that I am running consists of two parts. The first is a Stroop Test (which I have already programmed with E-prime) and the second is something that needs to be run on Open Sesame or on a survey link on the Internet. I was wondering if it would be possible to insert some sort of link in E-prime, so when participants link on it, it will open and start running an external program (either it is Open Sesame or a link on the internet). It would be great to hear your responses. Thanks! Cheers, Tracy -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/321a89bc-02a6-4658-b662-11a654d67988%40googlegroups.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 Thu Jan 23 12:03:01 2014 From: nebizzy at gmail.com (Ieva Zeromskaite) Date: Thu, 23 Jan 2014 04:03:01 -0800 Subject: Problem with data logging Message-ID: Hello, I have a problem with data logging. Experiment itself runs smoothly, no errors occur, but when I go to the Data File it shows me NULL in every cell where the data should be, thus for some reason it's no recording it. I double-checked that in Properties everything is correct. My guess is that the problem might arise because the image to which participants respond only lasts 250ms, but I set response time to 'infinite'. Does anybody know what are the possible reasons for the data not being logged? 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/2e5778dd-22b0-499f-80f3-e57a77c1fa24%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shanna.e.adams at gmail.com Thu Jan 23 18:54:03 2014 From: shanna.e.adams at gmail.com (Shanna E. A. Hegerty) Date: Thu, 23 Jan 2014 13:54:03 -0500 Subject: Mathematical task In-Reply-To: <0a14dd0e-2bca-45ac-8913-b4738cf0a1ed@googlegroups.com> Message-ID: Hello, I would like to ask if anyone knows if a simple DRM (Deese-Roediger-McDermott) e-prime script is available for use in research. It is a very widely used task for Psychology in which word lists are presented followed by a recognition task. It's often presented orally but lends itself to text presentation with E-prime. Rather than create a whole new version, I would like to use a previously accepted version if possible. If anyone knows of or has access to such a script, please let me know. Thank you very much! Shanna Hegerty On Mon, Jan 20, 2014 at 3:03 PM, Shai Aviram wrote: > Hello, > > I need to design a mathematical task > this is a simple task in which the student will see 10 mathematical > exercises and he needs to solve them sequentiality (from top one to the > last one) > to design this task I need the ability to present a set of exercises > (vertically) and allow user the answer each exercise (input field) and see > what he types on screen. and allow him to advance to the next exercise > it should something like this: > > 223 + 123 = 346 (example for answer exercise by student) > > 120 + 150 = 270 (example for answer exercise by student) > > 300 + 400 = ____ (this is the current exercise the student need to answer) > > 150 + 150 = ____ (this is the next exercise for the student) > > and so on... > > I would like to know if this design is possible to be designed in E-prime? > > Thanks in advance. > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/0a14dd0e-2bca-45ac-8913-b4738cf0a1ed%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- ____________________________________________ Shanna Elizabeth Adams Hegerty Graduate Student - Cognitive Sciences, Brains and Behavior Fellow Georgia State University GSU email address: sadams12 at student.gsu.edu -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAHtiaCr%2Bak3eNHt9EV7t37-vcXqnkr7i3nC8n_yNPrDhg6DhPQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From susangc7 at gmail.com Thu Jan 23 19:18:18 2014 From: susangc7 at gmail.com (Susan Campbell) Date: Thu, 23 Jan 2014 11:18:18 -0800 Subject: Mathematical task (or DRM paradigm, actually) In-Reply-To: Message-ID: I implemented one about 10 years ago -- I'm sure there's a newer one somewhere. It's super-basic, but it seems to work with the newest version of E-Prime, and it has the word lists, etc. http://step.psy.cmu.edu/scripts/Memory/RoedigerMcDermott1995.html HTH, Susan On Thursday, January 23, 2014 1:54:03 PM UTC-5, seah wrote: > > Hello, > > I would like to ask if anyone knows if a simple DRM > (Deese-Roediger-McDermott) e-prime script is available for use in research. > It is a very widely used task for Psychology in which word lists are > presented followed by a recognition task. It's often presented orally but > lends itself to text presentation with E-prime. Rather than create a whole > new version, I would like to use a previously accepted version if possible. > If anyone knows of or has access to such a script, please let me know. > Thank you very much! > > Shanna Hegerty > > > On Mon, Jan 20, 2014 at 3:03 PM, Shai Aviram > > wrote: > >> Hello, >> >> I need to design a mathematical task >> this is a simple task in which the student will see 10 mathematical >> exercises and he needs to solve them sequentiality (from top one to the >> last one) >> to design this task I need the ability to present a set of exercises >> (vertically) and allow user the answer each exercise (input field) and see >> what he types on screen. and allow him to advance to the next exercise >> it should something like this: >> >> 223 + 123 = 346 (example for answer exercise by student) >> >> 120 + 150 = 270 (example for answer exercise by student) >> >> 300 + 400 = ____ (this is the current exercise the student need to answer) >> >> 150 + 150 = ____ (this is the next exercise for the student) >> >> and so on... >> >> I would like to know if this design is possible to be designed in E-prime? >> >> Thanks in advance. >> >> -- >> You received this message because you are subscribed 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/0a14dd0e-2bca-45ac-8913-b4738cf0a1ed%40googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > > ____________________________________________ > Shanna Elizabeth Adams Hegerty > Graduate Student - Cognitive Sciences, Brains and Behavior Fellow > Georgia State University > GSU email address: sada... at student.gsu.edu > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8efe8577-df6e-40de-a1d5-520d39209dc9%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shanna.e.adams at gmail.com Thu Jan 23 19:35:37 2014 From: shanna.e.adams at gmail.com (Shanna E. A. Hegerty) Date: Thu, 23 Jan 2014 14:35:37 -0500 Subject: Mathematical task (or DRM paradigm, actually) In-Reply-To: <8efe8577-df6e-40de-a1d5-520d39209dc9@googlegroups.com> Message-ID: Thank you! Yes, this message had the wrong subject as I accidentally replied to an old message to send it. I figured someone had made a DRM for E-prime and was curious to know if there was an "officially" accepted version. It seems that too often a bunch of labs come up with different versions of the same task and then it's difficult to compare results across studies. Thank you very much for prompt reply! Shanna On Thu, Jan 23, 2014 at 2:18 PM, Susan Campbell wrote: > I implemented one about 10 years ago -- I'm sure there's a newer one > somewhere. It's super-basic, but it seems to work with the newest version > of E-Prime, and it has the word lists, etc. > > http://step.psy.cmu.edu/scripts/Memory/RoedigerMcDermott1995.html > > HTH, > Susan > > On Thursday, January 23, 2014 1:54:03 PM UTC-5, seah wrote: >> >> Hello, >> >> I would like to ask if anyone knows if a simple DRM >> (Deese-Roediger-McDermott) e-prime script is available for use in research. >> It is a very widely used task for Psychology in which word lists are >> presented followed by a recognition task. It's often presented orally but >> lends itself to text presentation with E-prime. Rather than create a whole >> new version, I would like to use a previously accepted version if possible. >> If anyone knows of or has access to such a script, please let me know. >> Thank you very much! >> >> Shanna Hegerty >> >> >> On Mon, Jan 20, 2014 at 3:03 PM, Shai Aviram wrote: >> >>> Hello, >>> >>> I need to design a mathematical task >>> this is a simple task in which the student will see 10 mathematical >>> exercises and he needs to solve them sequentiality (from top one to the >>> last one) >>> to design this task I need the ability to present a set of exercises >>> (vertically) and allow user the answer each exercise (input field) and see >>> what he types on screen. and allow him to advance to the next exercise >>> it should something like this: >>> >>> 223 + 123 = 346 (example for answer exercise by student) >>> >>> 120 + 150 = 270 (example for answer exercise by student) >>> >>> 300 + 400 = ____ (this is the current exercise the student need to >>> answer) >>> >>> 150 + 150 = ____ (this is the next exercise for the student) >>> >>> and so on... >>> >>> I would like to know if this design is possible to be designed in >>> E-prime? >>> >>> Thanks in advance. >>> >>> -- >>> You received this message because you are subscribed 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/0a14dd0e-2bca-45ac-8913-b4738cf0a1ed%40googlegroups.com. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> >> >> -- >> >> ____________________________________________ >> Shanna Elizabeth Adams Hegerty >> Graduate Student - Cognitive Sciences, Brains and Behavior Fellow >> Georgia State University >> GSU email address: sada... at student.gsu.edu >> > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/8efe8577-df6e-40de-a1d5-520d39209dc9%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- ____________________________________________ Shanna Elizabeth Adams Hegerty Graduate Student - Cognitive Sciences, Brains and Behavior Fellow Georgia State University GSU email address: sadams12 at student.gsu.edu -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAHtiaCoUEZ8oD9VPkbS%2Br%2Bb5v4tthhYPunHy6NBwNsm2zyyi9w%40mail.gmail.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 Fri Jan 24 10:18:44 2014 From: jacanterbury at gmail.com (JACanterbury) Date: Fri, 24 Jan 2014 02:18:44 -0800 Subject: Problem with data logging In-Reply-To: <2e5778dd-22b0-499f-80f3-e57a77c1fa24@googlegroups.com> Message-ID: Hi Ieva excuse me checking the obvious first... Have you got data logging turned on (its on the 'duration/input' tab for the e-prime object of interest - e.g. your text object ? cheers, john On Thursday, January 23, 2014 12:03:01 PM UTC, Ieva Zeromskaite wrote: > > Hello, > I have a problem with data logging. Experiment itself runs smoothly, no > errors occur, but when I go to the Data File it shows me NULL in every cell > where the data should be, thus for some reason it's no recording it. > I double-checked that in Properties everything is correct. > My guess is that the problem might arise because the image to which > participants respond only lasts 250ms, but I set response time to > 'infinite'. > Does anybody know what are the possible reasons for the data not being > logged? > 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/8645404f-12de-43f3-9b51-b1651df9444b%40googlegroups.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 Fri Jan 24 10:41:31 2014 From: nebizzy at gmail.com (Ieva Zeromskaite) Date: Fri, 24 Jan 2014 02:41:31 -0800 Subject: Problem with data logging In-Reply-To: <8645404f-12de-43f3-9b51-b1651df9444b@googlegroups.com> Message-ID: > > Obviously:) >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/57b6a449-d12e-4cb1-8c42-804577794dae%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 Jan 24 16:46:17 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 24 Jan 2014 11:46:17 -0500 Subject: Problem with data logging In-Reply-To: <8645404f-12de-43f3-9b51-b1651df9444b@googlegroups.com> Message-ID: Yes, the user must have data logging enabled for the object, otherwise the data column would just not exist instead of existing with values of "NULL". Offhand, I suspect the user ran across one of the "gotchas" with E-Prime's change to a default PreRelease of "(same as duration)" -- see http://www.pstnet.com/support/kb.asp?TopicID=2627 and http://www.pstnet.com/support/kb.asp?TopicID=5178 . In particular, when using EP2.0.8 or later, by default data logging for a Procedure will take place immediately after *onset* of the last object in the Procedure, i.e., during the PreRelease period of the last object. As a result, if a response arrives during the PreRelease of the last object in a Procedure it will not get logged. As suggested at the above links, several solutions exist, e.g., setting PreRelease to 0 as needed, or use of Process Pending Input Masks. ----- 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 1/24/2014 05:18 AM Friday, JACanterbury wrote: >Hi Ieva > >excuse me checking the obvious first... > >Have you got data logging turned on (its on the 'duration/input' tab >for the e-prime object of interest - e.g. your text object ? > >cheers, > >john > >On Thursday, January 23, 2014 12:03:01 PM UTC, Ieva Zeromskaite wrote: >Hello, >I have a problem with data logging. Experiment itself runs smoothly, >no errors occur, but when I go to the Data File it shows me NULL in >every cell where the data should be, thus for some reason it's no recording it. >I double-checked that in Properties everything is correct. >My guess is that the problem might arise because the image to which >participants respond only lasts 250ms, but I set response time to 'infinite'. >Does anybody know what are the possible reasons for the data not being logged? >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/52e298dc.220c320a.7724.1470SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From haslinger.hans11 at gmail.com Fri Jan 24 17:07:42 2014 From: haslinger.hans11 at gmail.com (haslinger.hans11 at gmail.com) Date: Fri, 24 Jan 2014 09:07:42 -0800 Subject: Problem with hit Test Message-ID: Hallo everybody I am trying to create a Task where an image (a Comic Scene) is given as a stimulus. Simultaneously, there is a sound file played, which describes the stimulus scene. Participants should choose 1of 4 possible answers (4 Images) by clicking. So i have got a slide with 5 slide-images (1 stimulus and 4 target Images) and 1 slide-sound-out sub-object. I've used the following inLine code to define the 4 target Images as clickable targets and to check, if the clicked image is the correct answer: Dim theState as SlideState Set theState = RecognitionSlide.States("Default") Dim next_mX as Long, next_mY as Long Dim strHit As String Dim theMouseResponseData As MouseResponseData If RecognitionSlide.InputMasks.Responses.Count > 0 Then Set theMouseResponseData = CMouseResponseData(RecognitionSlide.InputMasks.Responses(1)) strHit = theState.HitTest(theMouseResponseData.CursorX, theMouseResponseData.CursorY) If strHit = ("Image1") or strHit = ("Image2") or strHit = ("Image3")or strHit = ("Image4") Then c.SetAttrib "response", strHit Else Goto restart End If If strHit = c.GetAttrib("CorrectEmotion") Then RecognitionSlide.ACC = 1 Else RecognitionSlide.ACC = 0 End If My Problem is, that everytime you click somewhere else than the 4 target Images, the Sound file and RT-measures start again. So basically i need something else than the code Else Goto restart which doesn't cause the slide to be reset. Is there any way to make everything but the 4 target Images unclickable? I hope you understand what i mean. Any help would be appreciated Best regards Hans -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pohl_steeve at gmx.net Fri Jan 24 17:55:23 2014 From: pohl_steeve at gmx.net (Steffen Pohl) Date: Fri, 24 Jan 2014 09:55:23 -0800 Subject: Joystick attributes fail in 2.0.10 Message-ID: Hey all, I've got a joystick script written for E-Prime 2.0.8.90, that works abolutely fine for that, but using it in any 2.0.10 build leads the script generator to not recognizing the attributes of the CJoystickResponseData object used. These are for example IsButton1 to IsButton8 and CursorX / CursorY. I tried to consult the changelog between 2.0.8 and 2.0.10 and the reference guide for joystick usage, but found nothing in there that would explain that. The code I use is in fact nearly the same like the example described in the reference. For clarity a snippet that reproduces this: Set joyresponse = CJoystickResponseData(Joystick.History(Joystick.History.Count)) c.SetAttrib "ResponseBtn1", joyresponse.IsButton1 I am experiencing an error in the second line, where IsButton1 is not accepted as a valid Attribute of joyresponse. For my projects I am using a professional edition of E-Prime. Also there is one joystick attached to the machine, that is installed and accessible and works absolutely fine - in 2.0.8. So why doesn't it work for the newest build and how can I fix that? many thanks in advance, Steffen -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/356de062-c032-4f82-ba66-ffbf1e202f10%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From njvack at gmail.com Fri Jan 24 18:04:58 2014 From: njvack at gmail.com (Nate Vack) Date: Fri, 24 Jan 2014 10:04:58 -0800 Subject: getCurrentAttrib from nested lists Message-ID: Hi all, I have a script where we're drawing positive and negative images from nested lists for each trial. We're separating the trials into five blocks, and sometimes Things Happen during the experiment and we'll want to skip to given block. Skipping the trials is easy with a loop and TrialList.GetNextAttrib(), but it doesn't seem to advance the nested lists. So if experiment normally shows the following sequence: pos1 neg1 pos2 BLOCK neg2 neg3 pos3 ... and I skip to the row after BLOCK, I get: neg1 neg2 pos1 If the nested lists define an "image" attribute, TrialList.GetNextAttrib("image") returns nothing, as well. Is there an elegant way to do this? Thanks! -Nate -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/98a3aa08-8980-4dce-9d28-71d34ff850d6%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 Fri Jan 24 18:11:59 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Fri, 24 Jan 2014 19:11:59 +0100 Subject: Problem with hit Test In-Reply-To: Message-ID: Hans, I think that the solution for the restarted sound is to insert the sound as separate SoundOut object before the restart label. The duration could be set to zero, and stopafter to no. The The inline script should be OK, although I personally prefer to use a separate list object instead of a goto-label to construct a repeating loop until a valid item is clicked. By using a sub-list you will automatically get all individual clicks in the edat-file. You also might need a small piece of script to stop the sound. The problem with the overall RT should be handled by additional inline script. Just subtract the RTTime of the valid response from the OnsetTime of the (first) stimulus onset. You can look at the following example for this: http://pfcgroot.nl/e-prime/83-example-scripts/88-image-click-example.html Paul On 24 January 2014 18:07, wrote: > Hallo everybody > > I am trying to create a Task where an image (a Comic Scene) is given as a > stimulus. Simultaneously, there is a sound file played, which describes the > stimulus scene. > Participants should choose 1of 4 possible answers (4 Images) by clicking. > > So i have got a slide with 5 slide-images (1 stimulus and 4 target Images) > and 1 slide-sound-out sub-object. > > I've used the following inLine code to define the 4 target Images as > clickable targets and to check, if the clicked image is the correct answer: > > > > Dim theState as SlideState > Set theState = RecognitionSlide.States("Default") > Dim next_mX as Long, next_mY as Long > Dim strHit As String > Dim theMouseResponseData As MouseResponseData > > > If RecognitionSlide.InputMasks.Responses.Count > 0 Then > > Set theMouseResponseData = > CMouseResponseData(RecognitionSlide.InputMasks.Responses(1)) > > > strHit = theState.HitTest(theMouseResponseData.CursorX, > theMouseResponseData.CursorY) > > > If strHit = ("Image1") or strHit = ("Image2") or > strHit = ("Image3")or strHit = ("Image4") Then > c.SetAttrib "response", strHit > > Else > Goto restart > End If > > > If strHit = c.GetAttrib("CorrectEmotion") Then > RecognitionSlide.ACC = 1 > Else > RecognitionSlide.ACC = 0 > End If > > > My Problem is, that everytime you click somewhere else than the 4 target > Images, the Sound file and RT-measures start again. > > So basically i need something else than the code > Else > Goto restart > which doesn't cause the slide to be reset. > > > Is there any way to make everything but the 4 target Images unclickable? > I hope you understand what i mean. > > Any help would be appreciated > Best regards > Hans > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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-q0h9Kxm3mtA%3DP-ae9K0Faz_%3DwQz1xE_LGR3LpREejQ%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 Fri Jan 24 18:39:34 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 24 Jan 2014 13:39:34 -0500 Subject: Joystick attributes fail in 2.0.10 In-Reply-To: <356de062-c032-4f82-ba66-ffbf1e202f10@googlegroups.com> Message-ID: Steffen, I do not use Joystick, so I hope someone else here can help you, but this question really belongs to PST Support. Please contact them at https://support.pstnet.com , and then please write back with their response. (BTW, I think where you say "Attribute" you really mean "Property" or "Method". What wording did the error message use?) Thanks, -- David McFarlane At 1/24/2014 12:55 PM Friday, Steffen Pohl wrote: >I've got a joystick script written for E-Prime 2.0.8.90, that works >abolutely fine for that, but using it in any 2.0.10 build leads the >script generator to not recognizing the attributes of the >CJoystickResponseData object used. These are for example IsButton1 >to IsButton8 and CursorX / CursorY. I tried to consult the changelog >between 2.0.8 and 2.0.10 and the reference guide for joystick usage, >but found nothing in there that would explain that. The code I use >is in fact nearly the same like the example described in the reference. > >For clarity a snippet that reproduces this: > >Set joyresponse = >CJoystickResponseData(Joystick.History(Joystick.History.Count)) >c.SetAttrib "ResponseBtn1", joyresponse.IsButton1 > >I am experiencing an error in the second line, where IsButton1 is >not accepted as a valid Attribute of joyresponse. > >For my projects I am using a professional edition of E-Prime. Also >there is one joystick attached to the machine, that is installed and >accessible and works absolutely fine - in 2.0.8. > >So why doesn't it work for the newest build and how can I fix that? > >many thanks in advance, >Steffen -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52e2b369.2527320a.7703.17e2SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From jodie at naimfeil.org Sun Jan 26 14:57:33 2014 From: jodie at naimfeil.org (Jodie Feil) Date: Sun, 26 Jan 2014 16:57:33 +0200 Subject: Serial USB relay: Adding time-stamps to EEG Recordings In-Reply-To: Message-ID: Dear Paul, Thank you for your advice. You were right, there was 'bouncing' at the end of the falling edge, which was in part, causing the problem and additional unwanted events. I am only interested with the 'rising' and not the falling edges (which in my case does not have delay/bouncing issue), so I have found a way to work around the problem of the bouncing in the falling by re-programming some functions in EEGLAB (which remove the falling bounce). I will also try using a parallel port and see if it is a better option. Regards, Jodie ---------- Forwarded message ---------- From: Paul Groot Date: Tue, Jan 21, 2014 at 4:15 PM Subject: Re: Serial USB relay: Adding time-stamps to EEG Recordings To: e-prime at googlegroups.com Hi Jodie, I don't see why this should be an eprime issue? The logic behind your script is that there is an active digital signal when the stimulus is presented. Not sure how biosemi normally encodes those events, but if it encodes rising and falling edges seperatly, there is no way of preventing the additional marker at the end of the stimulus. However, I doubt if the digital interface with relays is the right way to conenct the two systems. Relays can cause delay and bouncing problems, so I would prefer a direct (TTL) connection from the stimulus computer to the biosemi trigger input(s). Normally this can be done using a parallel printer port or IO board. I would be very suspicious about a possible bouncing issue when the relay is switched off. Especially when using high sampling rates... Best Paul On 21 January 2014 13:24, Jodie wrote: > Hello Forum, > > I am having a little bit of trouble with my USB relay setup. Essentially, > I have a USB 4-relay board which I using to communicate between E-prime and > Biosemi. > My plan is to timestamp in the EEG recording when the stimulus event is > being shown. My current script is the following (which just opens and > closes the USB relay): > > This in-line is immediately before the stimulus presentation: > ---------------------------------- > Dim arrDataa(2) As Integer > > arrDatag(0) = 255 > arrDatag(1) = 1 > arrDatag(2) = 1 > > Serial.WriteBytes arrDataa > --------------------------------- > > Following by the Stimulus presentation > > Then, this in-line is immediately after the stimulus presentation: > > ---------------------------------- > Dim arrDatab(2) As Integer > > arrDatag(0) = 255 > arrDatag(1) = 1 > arrDatag(2) = 0 > > Serial.WriteBytes arrDatab > --------------------------------- > > The script works nicely and is able to time-stamp into the Biosemi > recording. The problem is that while it works perfectly for when the trigger > code is sent (lets say a 64 time-stamp appears in the trigger of Biosemi), > when I 'stop' the trigger (after the stimulus is presented), there is a > time-stamp of 64 with a zero underneath in the Biosemi recordings. This is > problematic for when I try to analyse the EEG data because all of the > start and stop events are saved as the same 64 time-stamps (it ignores the > zero below the 64 in the 'stop' time-stamp condition) and therefore, the > 'stop' is considered the same event as the initiation of the time-stamp. > > I contacted Biosemi and they told me that the issue is with the scripting > in E-prime. I was wondering if anyone had any suggestions for how to fix > this problem? > It would be much appreciated!! > > I hope I have been clear? > > Thank you for your help. > > Kind regards, > Jodie > > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/577e23e0-1789-4442-865c-65aa4233fef7%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- 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/V1otSAPBtFQ/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/CAKAdR-tP3UO%3DADjg%3D2_R4bsuDs1tETJx%2BG86pNEi12u%3DWWATog%40mail.gmail.com . For more options, visit https://groups.google.com/groups/opt_out. -- Dr.Jodie Naim-Feil Post-doctoral Fellow Research group of Elisha Moses Department of Physics of Complex Systems Weizmann Institute of Science 76100 Rehovot, Israel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAMr6WnORYJqsLOwoeR_j_1gOnSnn8T6ytGWMLHDZnomG-VbgDQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shai.aviram at gmail.com Sun Jan 26 15:48:54 2014 From: shai.aviram at gmail.com (Shai Aviram) Date: Sun, 26 Jan 2014 07:48:54 -0800 Subject: Mathematical task In-Reply-To: <0a14dd0e-2bca-45ac-8913-b4738cf0a1ed@googlegroups.com> Message-ID: Thank you all for detailed and comprehensive answers. you helped me very much. as you pointed I`m now going to do some homework regarding the specific experiment design. I just wanted to get a brief understanding if it even possible. one last small question, as this task should simulate a real math test (as in school) I need to set a timer for each block (block = set of exercises) I know how to set a time limitation per response, but can I do it in the block level?? Thanks again! This group is really helpful! On Monday, January 20, 2014 10:03:16 PM UTC+2, Shai Aviram wrote: > > Hello, > > I need to design a mathematical task > this is a simple task in which the student will see 10 mathematical > exercises and he needs to solve them sequentiality (from top one to the > last one) > to design this task I need the ability to present a set of exercises > (vertically) and allow user the answer each exercise (input field) and see > what he types on screen. and allow him to advance to the next exercise > it should something like this: > > 223 + 123 = 346 (example for answer exercise by student) > > 120 + 150 = 270 (example for answer exercise by student) > > 300 + 400 = ____ (this is the current exercise the student need to answer) > > 150 + 150 = ____ (this is the next exercise for the student) > > and so on... > > I would like to know if this design is possible to be designed in E-prime? > > Thanks in advance. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/2a9b5973-0e7f-473c-9ccc-2df09b33192f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tsuky19 at gmail.com Mon Jan 27 08:18:39 2014 From: tsuky19 at gmail.com (Jason Tsukahara) Date: Mon, 27 Jan 2014 00:18:39 -0800 Subject: calculating mean RTs and Standard deviations Message-ID: I am very new to E-prime and have no programming or coding experience. I want to know how to get e-prime to calculate mean reaction times and standard deviations. I know I can do this in e-data aid but that I want to be able to calculate mean RTs and standard deviations for each subject so that in e-data aid I can create a filter of RTs based on standard deviations from the mean. What is the easiest way to do this? 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/c92ae044-3b76-4de1-8a7a-3d7d81c40ce6%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 Mon Jan 27 09:36:19 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 27 Jan 2014 10:36:19 +0100 Subject: calculating mean RTs and Standard deviations In-Reply-To: Message-ID: Hi Jason, Checkout the Summation object in the E-Basic manual (or http://www.pstnet.com/support/kb.asp?TopicID=3844) However, if there is no need for this (derived) info at run-time, I would do this offline using one off the popular statistical analysis packages. Just make sure to add all the relevant information in attributes to do a proper analysis using the edat output (i.a. add condition, block and group info if necessary). Paul On 27 January 2014 09:18, Jason Tsukahara wrote: > I am very new to E-prime and have no programming or coding experience. > > I want to know how to get e-prime to calculate mean reaction times and > standard deviations. I know I can do this in e-data aid but that I want to > be able to calculate mean RTs and standard deviations for each subject so > that in e-data aid I can create a filter of RTs based on standard > deviations from the mean. What is the easiest way to do this? > > 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/c92ae044-3b76-4de1-8a7a-3d7d81c40ce6%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-vmYmnJGDM5uqR0H-iPH5yvs84w%2BVC7EuJyRGkqVXr7bg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From haslinger.hans11 at gmail.com Mon Jan 27 10:46:20 2014 From: haslinger.hans11 at gmail.com (haslinger.hans11 at gmail.com) Date: Mon, 27 Jan 2014 02:46:20 -0800 Subject: Problem with hit Test In-Reply-To: Message-ID: Hallo Paul Thank you for your help. Unfortunately, the Sound file is played before the slide is opened, if I insert the SoundOut object before the restart Label in the procedure. Isn't there another way to express Else , so that really nothing happens, if a click occurs in the invalid area of the slide? Goto restart Am Freitag, 24. Januar 2014 19:11:59 UTC+1 schrieb Paul Groot: > Hans, > > I think that the solution for the restarted sound is to insert the sound > as separate SoundOut object before the restart label. The duration could be > set to zero, and stopafter to no. The The inline script should be OK, > although I personally prefer to use a separate list object instead of a > goto-label to construct a repeating loop until a valid item is clicked. By > using a sub-list you will automatically get all individual clicks in the > edat-file. You also might need a small piece of script to stop the sound. > > The problem with the overall RT should be handled by additional inline > script. Just subtract the RTTime of the valid response from the OnsetTime > of the (first) stimulus onset. You can look at the following example for > this: > http://pfcgroot.nl/e-prime/83-example-scripts/88-image-click-example.html > > Paul > > > On 24 January 2014 18:07, > wrote: > >> Hallo everybody >> >> I am trying to create a Task where an image (a Comic Scene) is given as >> a stimulus. Simultaneously, there is a sound file played, which describes >> the stimulus scene. >> Participants should choose 1of 4 possible answers (4 Images) by clicking. >> >> So i have got a slide with 5 slide-images (1 stimulus and 4 target >> Images) and 1 slide-sound-out sub-object. >> >> I've used the following inLine code to define the 4 target Images as >> clickable targets and to check, if the clicked image is the correct answer: >> >> >> >> Dim theState as SlideState >> Set theState = RecognitionSlide.States("Default") >> Dim next_mX as Long, next_mY as Long >> Dim strHit As String >> Dim theMouseResponseData As MouseResponseData >> >> >> If RecognitionSlide.InputMasks.Responses.Count > 0 Then >> >> Set theMouseResponseData = >> CMouseResponseData(RecognitionSlide.InputMasks.Responses(1)) >> >> >> strHit = theState.HitTest(theMouseResponseData.CursorX, >> theMouseResponseData.CursorY) >> >> >> If strHit = ("Image1") or strHit = ("Image2") or >> strHit = ("Image3")or strHit = ("Image4") Then >> c.SetAttrib "response", strHit >> >> Else >> Goto restart >> End If >> >> >> If strHit = c.GetAttrib("CorrectEmotion") Then >> RecognitionSlide.ACC = 1 >> Else >> RecognitionSlide.ACC = 0 >> End If >> >> >> My Problem is, that everytime you click somewhere else than the 4 target >> Images, the Sound file and RT-measures start again. >> >> So basically i need something else than the code >> Else >> Goto restart >> which doesn't cause the slide to be reset. >> >> >> Is there any way to make everything but the 4 target Images unclickable? >> I hope you understand what i mean. >> >> Any help would be appreciated >> Best regards >> Hans >> >> -- >> You received this message because you are subscribed 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/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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/c74d6a70-2f5b-4b95-a869-9933095cd165%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 Mon Jan 27 13:52:24 2014 From: mspape at cognitology.eu (Cognitology) Date: Mon, 27 Jan 2014 15:52:24 +0200 Subject: getCurrentAttrib from nested lists In-Reply-To: <98a3aa08-8980-4dce-9d28-71d34ff850d6@googlegroups.com> Message-ID: Hi, Totally agree, sometimes Things Happen! We should actually have put something along the lines in the big new, and finally “in press” (though still waiting for physical copies), E-Primer. Anyway, I thought it was an interesting question, though one I do not have an answer to – it doesn’t seem unreasonable to imagine getnextattrib just does not fill out also the nested list attributes. However, I wouldn’t have trusted .getnextattrib to begin with for this reason; you don’t actually skip rows but fill in the next row to the present one, no? What I generally do is: · To avoid unbalancing the experiment, I generally repeat whole blocks, not skip single trials. Keeping that in mind, imagine I have about 16 blocks, normally. · Write startup variable Nblocks, “Number of blocks”, default 16, minimal 1 · Before running the block list (which has 1 procedure, blockprocedure, which has weight = 16), change the list to c.GetAttrib(“Nblocks”). Now, if “things happen” or your participant started texting in block 1, was told off in block 2, and now you think it’s proper to punish them with 2 more blocks, just run the experiment again and have it set to Nblocks = 2. Less elegant ways: · Alternatively, you could just count the current block and terminate the list. · You could skip from the beginning of the trial procedure to the end so that no responses are made, based on startup variable “SkipNTrials”, default at 0; add label (endoftriallabel) to end of trial and inline at the very beginning of the trial: IF c.GetAttrib(“SkipNTrials”) > 0 THEN SkipNTrials = SkipNTrials – 1 Goto endoftriallabel END IF Should work too. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Nate Vack Sent: 24. January 2014 20:05 To: e-prime at googlegroups.com Subject: getCurrentAttrib from nested lists Hi all, I have a script where we're drawing positive and negative images from nested lists for each trial. We're separating the trials into five blocks, and sometimes Things Happen during the experiment and we'll want to skip to given block. Skipping the trials is easy with a loop and TrialList.GetNextAttrib(), but it doesn't seem to advance the nested lists. So if experiment normally shows the following sequence: pos1 neg1 pos2 BLOCK neg2 neg3 pos3 ... and I skip to the row after BLOCK, I get: neg1 neg2 pos1 If the nested lists define an "image" attribute, TrialList.GetNextAttrib("image") returns nothing, as well. Is there an elegant way to do this? Thanks! -Nate -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/98a3aa08-8980-4dce-9d28-71d34ff850d6%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/061b01cf1b67%240297d4c0%2407c77e40%24%40eu. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Mon Jan 27 13:52:34 2014 From: mspape at cognitology.eu (Cognitology) Date: Mon, 27 Jan 2014 15:52:34 +0200 Subject: Mathematical task In-Reply-To: <2a9b5973-0e7f-473c-9ccc-2df09b33192f@googlegroups.com> Message-ID: Hi, You can easily do this at the block level by setting the list to exist after …. ms. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Shai Aviram Sent: 26. January 2014 17:49 To: e-prime at googlegroups.com Subject: Re: Mathematical task Thank you all for detailed and comprehensive answers. you helped me very much. as you pointed I`m now going to do some homework regarding the specific experiment design. I just wanted to get a brief understanding if it even possible. one last small question, as this task should simulate a real math test (as in school) I need to set a timer for each block (block = set of exercises) I know how to set a time limitation per response, but can I do it in the block level?? Thanks again! This group is really helpful! On Monday, January 20, 2014 10:03:16 PM UTC+2, Shai Aviram wrote: Hello, I need to design a mathematical task this is a simple task in which the student will see 10 mathematical exercises and he needs to solve them sequentiality (from top one to the last one) to design this task I need the ability to present a set of exercises (vertically) and allow user the answer each exercise (input field) and see what he types on screen. and allow him to advance to the next exercise it should something like this: 223 + 123 = 346 (example for answer exercise by student) 120 + 150 = 270 (example for answer exercise by student) 300 + 400 = ____ (this is the current exercise the student need to answer) 150 + 150 = ____ (this is the next exercise for the student) and so on... I would like to know if this design is possible to be designed in E-prime? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/2a9b5973-0e7f-473c-9ccc-2df09b33192f%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/062001cf1b67%2408754bc0%24195fe340%24%40eu. 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 Jan 27 19:09:00 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 27 Jan 2014 14:09:00 -0500 Subject: Mathematical task In-Reply-To: <062001cf1b67$08754bc0$195fe340$@eu> Message-ID: The thread at https://groups.google.com/d/topic/e-prime/e12W9DdgvrM might also help here. -- David McFarlane At 1/27/2014 08:52 AM Monday, Cognitology wrote: >Hi, >You can easily do this at the block level by >setting the list to exist after …. ms. >Best, >Michiel > >From: e-prime at googlegroups.com >[mailto:e-prime at googlegroups.com] On Behalf Of Shai Aviram >Sent: 26. January 2014 17:49 >To: e-prime at googlegroups.com >Subject: Re: Mathematical task > >Thank you all for detailed and comprehensive answers. >you helped me very much. >as you pointed I`m now going to do some homework >regarding the specific experiment design. >I just wanted to get a brief understanding if it even possible. > >one last small question, as this task should >simulate a real math test (as in school) >I need to set a timer for each block (block = set of exercises) >I know how to set a time limitation per >response, but can I do it in the block level?? > >Thanks again! >This group is really helpful! > >On Monday, January 20, 2014 10:03:16 PM UTC+2, Shai Aviram wrote: >Hello, > >I need to design a mathematical task >this is a simple task in which the student will >see 10 mathematical exercises and he needs to >solve them sequentiality (from top one to the last one) >to design this task I need the ability to >present a set of exercises (vertically) and >allow user the answer each exercise (input >field) and see what he types on screen. and >allow him to advance to the next exercise >it should something like this: > >223 + 123 = 346 (example for answer exercise by student) > >120 + 150 = 270 (example for answer exercise by student) > >300 + 400 = ____ (this is the current exercise the student need to answer) > >150 + 150 = ____ (this is the next exercise for the student) > >and so on... > >I would like to know if this design is possible to be designed in E-prime? > >Thanks in advance. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52e6aed2.893d320a.571b.60b6SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From pfc.groot at gmail.com Mon Jan 27 21:23:44 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 27 Jan 2014 22:23:44 +0100 Subject: Problem with hit Test In-Reply-To: Message-ID: Hi Hans, Perhaps I'm mixing things up, but if I understand your design correctly, it should be possible to move the sound from the Stimulus slide to a separate SoundOut object just before the Stimulus Slide, without disturbing anything. (Ignoring the restart label for now.) If the duration of the SoundOut object is set to zero, the onset of the sound should (almost) coincide with the onset of the image. (If the onset times of the stimuli are critical, you will have to measure sound and display onsets using suitable instruments and fine-tune your script.) I assumed your restart-label is placed immediately before the stimulus Slide, so to prevent the sound from restarting, you should now place it between the SoundOut and Slide objects. (I.e., the order will be: SoundOut, Restart Label, RecognitionSlide). If you do it like this, the sound should not start early. But the again: I would stay away from goto-label constructs and use a separate List object... If you use a list for repeating clicks, you can even keep the sound as sub-object of the slide. Paul PS. I just tested this, but EPrime ran into problems when the sound file was always the same and defined as static text property (using a filename). When the sound file is defined as attribute, EPrime will re-initialize the sound object every iteration, and the problem disappeared. On 27 January 2014 11:46, wrote: > Hallo Paul > > Thank you for your help. > Unfortunately, the Sound file is played before the slide is opened, if I > insert the SoundOut object before the restart Label in the procedure. > > > Isn't there another way to express Else , so that > really nothing happens, if a click occurs in the invalid area of the slide? > Goto > restart > > > > > > Am Freitag, 24. Januar 2014 19:11:59 UTC+1 schrieb Paul Groot: > >> Hans, >> >> I think that the solution for the restarted sound is to insert the sound >> as separate SoundOut object before the restart label. The duration could be >> set to zero, and stopafter to no. The The inline script should be OK, >> although I personally prefer to use a separate list object instead of a >> goto-label to construct a repeating loop until a valid item is clicked. By >> using a sub-list you will automatically get all individual clicks in the >> edat-file. You also might need a small piece of script to stop the sound. >> >> The problem with the overall RT should be handled by additional inline >> script. Just subtract the RTTime of the valid response from the OnsetTime >> of the (first) stimulus onset. You can look at the following example for >> this: http://pfcgroot.nl/e-prime/83-example-scripts/88- >> image-click-example.html >> >> Paul >> >> >> On 24 January 2014 18:07, wrote: >> >>> Hallo everybody >>> >>> I am trying to create a Task where an image (a Comic Scene) is given as >>> a stimulus. Simultaneously, there is a sound file played, which describes >>> the stimulus scene. >>> Participants should choose 1of 4 possible answers (4 Images) by clicking. >>> >>> So i have got a slide with 5 slide-images (1 stimulus and 4 target >>> Images) and 1 slide-sound-out sub-object. >>> >>> I've used the following inLine code to define the 4 target Images as >>> clickable targets and to check, if the clicked image is the correct answer: >>> >>> >>> >>> Dim theState as SlideState >>> Set theState = RecognitionSlide.States("Default") >>> Dim next_mX as Long, next_mY as Long >>> Dim strHit As String >>> Dim theMouseResponseData As MouseResponseData >>> >>> >>> If RecognitionSlide.InputMasks.Responses.Count > 0 Then >>> >>> Set theMouseResponseData = CMouseResponseData( >>> RecognitionSlide.InputMasks.Responses(1)) >>> >>> >>> strHit = theState.HitTest(theMouseResponseData.CursorX, >>> theMouseResponseData.CursorY) >>> >>> >>> If strHit = ("Image1") or strHit = ("Image2") or >>> strHit = ("Image3")or strHit = ("Image4") Then >>> c.SetAttrib "response", strHit >>> >>> Else >>> Goto restart >>> End If >>> >>> >>> If strHit = c.GetAttrib("CorrectEmotion") Then >>> RecognitionSlide.ACC = 1 >>> Else >>> RecognitionSlide.ACC = 0 >>> End If >>> >>> >>> My Problem is, that everytime you click somewhere else than the 4 >>> target Images, the Sound file and RT-measures start again. >>> >>> So basically i need something else than the code >>> Else >>> Goto restart >>> which doesn't cause the slide to be reset. >>> >>> >>> Is there any way to make everything but the 4 target Images unclickable? >>> I hope you understand what i mean. >>> >>> Any help would be appreciated >>> Best regards >>> Hans >>> >>> -- >>> You received this message because you are subscribed 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/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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/c74d6a70-2f5b-4b95-a869-9933095cd165%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-uvhsUb8a2TGUo-Nnexk0bixv%2BVKc-m3Fi1g9N0m%2Bkr1w%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shai.aviram at gmail.com Tue Jan 28 09:28:35 2014 From: shai.aviram at gmail.com (Shai Aviram) Date: Tue, 28 Jan 2014 01:28:35 -0800 Subject: Mathematical task In-Reply-To: <52e6aed2.893d320a.571b.60b6SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thank you all for the help! On Monday, January 27, 2014 9:09:00 PM UTC+2, McFarlane, David wrote: > > The thread at > https://groups.google.com/d/topic/e-prime/e12W9DdgvrM might also help > here. > > -- David McFarlane > > > At 1/27/2014 08:52 AM Monday, Cognitology wrote: > >Hi, > >You can easily do this at the block level by > >setting the list to exist after . ms. > >Best, > >Michiel > > > >From: e-p... at googlegroups.com > >[mailto:e-p... at googlegroups.com ] On Behalf Of Shai Aviram > >Sent: 26. January 2014 17:49 > >To: e-p... at googlegroups.com > >Subject: Re: Mathematical task > > > >Thank you all for detailed and comprehensive answers. > >you helped me very much. > >as you pointed I`m now going to do some homework > >regarding the specific experiment design. > >I just wanted to get a brief understanding if it even possible. > > > >one last small question, as this task should > >simulate a real math test (as in school) > >I need to set a timer for each block (block = set of exercises) > >I know how to set a time limitation per > >response, but can I do it in the block level?? > > > >Thanks again! > >This group is really helpful! > > > >On Monday, January 20, 2014 10:03:16 PM UTC+2, Shai Aviram wrote: > >Hello, > > > >I need to design a mathematical task > >this is a simple task in which the student will > >see 10 mathematical exercises and he needs to > >solve them sequentiality (from top one to the last one) > >to design this task I need the ability to > >present a set of exercises (vertically) and > >allow user the answer each exercise (input > >field) and see what he types on screen. and > >allow him to advance to the next exercise > >it should something like this: > > > >223 + 123 = 346 (example for answer exercise by student) > > > >120 + 150 = 270 (example for answer exercise by student) > > > >300 + 400 = ____ (this is the current exercise the student need to > answer) > > > >150 + 150 = ____ (this is the next exercise for the student) > > > >and so on... > > > >I would like to know if this design is possible to be designed in > E-prime? > > > >Thanks in advance. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a5f98804-5ecc-4ded-ac3e-152eb3ea587f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From haslinger.hans11 at gmail.com Tue Jan 28 10:25:00 2014 From: haslinger.hans11 at gmail.com (haslinger.hans11 at gmail.com) Date: Tue, 28 Jan 2014 02:25:00 -0800 Subject: Problem with hit Test In-Reply-To: Message-ID: Hi Paul I will try your SoundOut solution again. Maybe I got something wrong. My design looks like that: TaskList restart (Label) InstructionRecognition (Slide) InLine RecognitionList RecognitionTrialProc restart (Label) RecognitionSlide InLine The Stimulus-Images, target - Images and Soundfiles are listed in "RecognitionList". But the again: I would stay away from goto-label constructs and use a > separate List object Might the GoTo-solution cause any problems additionaly to the restarting-problem or is the List-Loop method just a cleaner solution? My design is a little larger, because i have more other tasks like "Recognition", so it would be a bit more work. The easiest way (in my naive imagination) would be to make everything else except of the target Images impossible to click on. Is something like that possible? Am Montag, 27. Januar 2014 22:23:44 UTC+1 schrieb Paul Groot: > Hi Hans, > > Perhaps I'm mixing things up, but if I understand your design correctly, > it should be possible to move the sound from the Stimulus slide to a > separate SoundOut object just before the Stimulus Slide, without disturbing > anything. (Ignoring the restart label for now.) If the duration of the > SoundOut object is set to zero, the onset of the sound should (almost) > coincide with the onset of the image. (If the onset times of the stimuli > are critical, you will have to measure sound and display onsets using > suitable instruments and fine-tune your script.) I assumed your > restart-label is placed immediately before the stimulus Slide, so to > prevent the sound from restarting, you should now place it between the > SoundOut and Slide objects. (I.e., the order will be: SoundOut, Restart > Label, RecognitionSlide). If you do it like this, the sound should not > start early. > > But the again: I would stay away from goto-label constructs and use a > separate List object... If you use a list for repeating clicks, you can > even keep the sound as sub-object of the slide. > > Paul > > PS. I just tested this, but EPrime ran into problems when the sound file > was always the same and defined as static text property (using a filename). > When the sound file is defined as attribute, EPrime will re-initialize the > sound object every iteration, and the problem disappeared. > > > > > > > > On 27 January 2014 11:46, > wrote: > >> Hallo Paul >> >> Thank you for your help. >> Unfortunately, the Sound file is played before the slide is opened, if I >> insert the SoundOut object before the restart Label in the procedure. >> >> >> Isn't there another way to express Else , so that >> really nothing happens, if a click occurs in the invalid area of the slide? >> Goto >> restart >> >> >> >> >> >> Am Freitag, 24. Januar 2014 19:11:59 UTC+1 schrieb Paul Groot: >> >>> Hans, >>> >>> I think that the solution for the restarted sound is to insert the sound >>> as separate SoundOut object before the restart label. The duration could be >>> set to zero, and stopafter to no. The The inline script should be OK, >>> although I personally prefer to use a separate list object instead of a >>> goto-label to construct a repeating loop until a valid item is clicked. By >>> using a sub-list you will automatically get all individual clicks in the >>> edat-file. You also might need a small piece of script to stop the sound. >>> >>> The problem with the overall RT should be handled by additional inline >>> script. Just subtract the RTTime of the valid response from the OnsetTime >>> of the (first) stimulus onset. You can look at the following example for >>> this: http://pfcgroot.nl/e-prime/83-example-scripts/88- >>> image-click-example.html >>> >>> Paul >>> >>> >>> On 24 January 2014 18:07, wrote: >>> >>>> Hallo everybody >>>> >>>> I am trying to create a Task where an image (a Comic Scene) is given >>>> as a stimulus. Simultaneously, there is a sound file played, which >>>> describes the stimulus scene. >>>> Participants should choose 1of 4 possible answers (4 Images) by >>>> clicking. >>>> >>>> So i have got a slide with 5 slide-images (1 stimulus and 4 target >>>> Images) and 1 slide-sound-out sub-object. >>>> >>>> I've used the following inLine code to define the 4 target Images as >>>> clickable targets and to check, if the clicked image is the correct answer: >>>> >>>> >>>> >>>> Dim theState as SlideState >>>> Set theState = RecognitionSlide.States("Default") >>>> Dim next_mX as Long, next_mY as Long >>>> Dim strHit As String >>>> Dim theMouseResponseData As MouseResponseData >>>> >>>> >>>> If RecognitionSlide.InputMasks.Responses.Count > 0 Then >>>> >>>> Set theMouseResponseData = CMouseResponseData( >>>> RecognitionSlide.InputMasks.Responses(1)) >>>> >>>> >>>> strHit = theState.HitTest(theMouseResponseData.CursorX, >>>> theMouseResponseData.CursorY) >>>> >>>> >>>> If strHit = ("Image1") or strHit = ("Image2") or >>>> strHit = ("Image3")or strHit = ("Image4") Then >>>> c.SetAttrib "response", strHit >>>> >>>> Else >>>> Goto restart >>>> End If >>>> >>>> >>>> If strHit = c.GetAttrib("CorrectEmotion") Then >>>> RecognitionSlide.ACC = 1 >>>> Else >>>> RecognitionSlide.ACC = 0 >>>> End If >>>> >>>> >>>> My Problem is, that everytime you click somewhere else than the 4 >>>> target Images, the Sound file and RT-measures start again. >>>> >>>> So basically i need something else than the code >>>> Else >>>> Goto restart >>>> which doesn't cause the slide to be reset. >>>> >>>> >>>> Is there any way to make everything but the 4 target Images unclickable? >>>> I hope you understand what i mean. >>>> >>>> Any help would be appreciated >>>> Best regards >>>> Hans >>>> >>>> -- >>>> You received this message because you are subscribed 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/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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+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/c74d6a70-2f5b-4b95-a869-9933095cd165%40googlegroups.com >> . >> >> For more options, visit https://groups.google.com/groups/opt_out. >> > > Am Montag, 27. Januar 2014 22:23:44 UTC+1 schrieb Paul Groot: > > Hi Hans, > > Perhaps I'm mixing things up, but if I understand your design correctly, > it should be possible to move the sound from the Stimulus slide to a > separate SoundOut object just before the Stimulus Slide, without disturbing > anything. (Ignoring the restart label for now.) If the duration of the > SoundOut object is set to zero, the onset of the sound should (almost) > coincide with the onset of the image. (If the onset times of the stimuli > are critical, you will have to measure sound and display onsets using > suitable instruments and fine-tune your script.) I assumed your > restart-label is placed immediately before the stimulus Slide, so to > prevent the sound from restarting, you should now place it between the > SoundOut and Slide objects. (I.e., the order will be: SoundOut, Restart > Label, RecognitionSlide). If you do it like this, the sound should not > start early. > > But the again: I would stay away from goto-label constructs and use a > separate List object... If you use a list for repeating clicks, you can > even keep the sound as sub-object of the slide. > > Paul > > PS. I just tested this, but EPrime ran into problems when the sound file > was always the same and defined as static text property (using a filename). > When the sound file is defined as attribute, EPrime will re-initialize the > sound object every iteration, and the problem disappeared. > > > > > > > > On 27 January 2014 11:46, > wrote: > >> Hallo Paul >> >> Thank you for your help. >> Unfortunately, the Sound file is played before the slide is opened, if I >> insert the SoundOut object before the restart Label in the procedure. >> >> >> Isn't there another way to express Else , so that >> really nothing happens, if a click occurs in the invalid area of the slide? >> Goto >> restart >> >> >> >> >> >> Am Freitag, 24. Januar 2014 19:11:59 UTC+1 schrieb Paul Groot: >> >>> Hans, >>> >>> I think that the solution for the restarted sound is to insert the sound >>> as separate SoundOut object before the restart label. The duration could be >>> set to zero, and stopafter to no. The The inline script should be OK, >>> although I personally prefer to use a separate list object instead of a >>> goto-label to construct a repeating loop until a valid item is clicked. By >>> using a sub-list you will automatically get all individual clicks in the >>> edat-file. You also might need a small piece of script to stop the sound. >>> >>> The problem with the overall RT should be handled by additional inline >>> script. Just subtract the RTTime of the valid response from the OnsetTime >>> of the (first) stimulus onset. You can look at the following example for >>> this: http://pfcgroot.nl/e-prime/83-example-scripts/88- >>> image-click-example.html >>> >>> Paul >>> >>> >>> On 24 January 2014 18:07, wrote: >>> >>>> Hallo everybody >>>> >>>> I am trying to create a Task where an image (a Comic Scene) is given >>>> as a stimulus. Simultaneously, there is a sound file played, which >>>> describes the stimulus scene. >>>> Participants should choose 1of 4 possible answers (4 Images) by >>>> clicking. >>>> >>>> So i have got a slide with 5 slide-images (1 stimulus and 4 target >>>> Images) and 1 slide-sound-out sub-object. >>>> >>>> I've used the following inLine code to define the 4 target Images as >>>> clickable targets and to check, if the clicked image is the correct answer: >>>> >>>> >>>> >>>> Dim theState as SlideState >>>> Set theState = RecognitionSlide.States("Default") >>>> Dim next_mX as Long, next_mY as Long >>>> Dim strHit As String >>>> Dim theMouseResponseData As MouseResponseData >>>> >>>> >>>> If RecognitionSlide.InputMasks.Responses.Count > 0 Then >>>> >>>> Set theMouseResponseData = CMouseResponseData( >>>> RecognitionSlide.InputMasks.Responses(1)) >>>> >>>> >>>> strHit = theState.HitTest(theMouseResponseData.CursorX, >>>> theMouseResponseData.CursorY) >>>> >>>> >>>> If strHit = ("Image1") or strHit = ("Image2") or >>>> strHit = ("Image3")or strHit = ("Image4") Then >>>> c.SetAttrib "response", strHit >>>> >>>> Else >>>> Goto restart >>>> End If >>>> >>>> >>>> If strHit = c.GetAttrib("CorrectEmotion") Then >>>> RecognitionSlide.ACC = 1 >>>> Else >>>> RecognitionSlide.ACC = 0 >>>> End If >>>> >>>> >>>> My Problem is, that everytime you click somewhere else than the 4 >>>> target Images, the Sound file and RT-measures start again. >>>> >>>> So basically i need something else than the code >>>> Else >>>> Goto restart >>>> which doesn't cause the slide to be reset. >>>> >>>> >>>> Is there any way to make everything but the 4 target Images unclickable? >>>> I hope you understand what i mean. >>>> >>>> Any help would be appreciated >>>> Best regards >>>> Hans >>>> >>>> -- >>>> You received this message because you are subscribed 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/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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+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/c74d6a70-2f5b-4b95-a869-9933095cd165%40googlegroups.com >> . >> >> For more options, visit https://groups.google.com/groups/opt_out. >> > > Am Montag, 27. Januar 2014 22:23:44 UTC+1 schrieb Paul Groot: > > Hi Hans, > > Perhaps I'm mixing things up, but if I understand your design correctly, > it should be possible to move the sound from the Stimulus slide to a > separate SoundOut object just before the Stimulus Slide, without disturbing > anything. (Ignoring the restart label for now.) If the duration of the > SoundOut object is set to zero, the onset of the sound should (almost) > coincide with the onset of the image. (If the onset times of the stimuli > are critical, you will have to measure sound and display onsets using > suitable instruments and fine-tune your script.) I assumed your > restart-label is placed immediately before the stimulus Slide, so to > prevent the sound from restarting, you should now place it between the > SoundOut and Slide objects. (I.e., the order will be: SoundOut, Restart > Label, RecognitionSlide). If you do it like this, the sound should not > start early. > > But the again: I would stay away from goto-label constructs and use a > separate List object... If you use a list for repeating clicks, you can > even keep the sound as sub-object of the slide. > > Paul > > PS. I just tested this, but EPrime ran into problems when the sound file > was always the same and defined as static text property (using a filename). > When the sound file is defined as attribute, EPrime will re-initialize the > sound object every iteration, and the problem disappeared. > > > > > > > > On 27 January 2014 11:46, > wrote: > >> Hallo Paul >> >> Thank you for your help. >> Unfortunately, the Sound file is played before the slide is opened, if I >> insert the SoundOut object before the restart Label in the procedure. >> >> >> Isn't there another way to express Else , so that >> really nothing happens, if a click occurs in the invalid area of the slide? >> Goto >> restart >> >> >> >> >> >> Am Freitag, 24. Januar 2014 19:11:59 UTC+1 schrieb Paul Groot: >> >>> Hans, >>> >>> I think that the solution for the restarted sound is to insert the sound >>> as separate SoundOut object before the restart label. The duration could be >>> set to zero, and stopafter to no. The The inline script should be OK, >>> although I personally prefer to use a separate list object instead of a >>> goto-label to construct a repeating loop until a valid item is clicked. By >>> using a sub-list you will automatically get all individual clicks in the >>> edat-file. You also might need a small piece of script to stop the sound. >>> >>> The problem with the overall RT should be handled by additional inline >>> script. Just subtract the RTTime of the valid response from the OnsetTime >>> of the (first) stimulus onset. You can look at the following example for >>> this: http://pfcgroot.nl/e-prime/83-example-scripts/88- >>> image-click-example.html >>> >>> Paul >>> >>> >>> On 24 January 2014 18:07, wrote: >>> >>>> Hallo everybody >>>> >>>> I am trying to create a Task where an image (a Comic Scene) is given >>>> as a stimulus. Simultaneously, there is a sound file played, which >>>> describes the stimulus scene. >>>> Participants should choose 1of 4 possible answers (4 Images) by >>>> clicking. >>>> >>>> So i have got a slide with 5 slide-images (1 stimulus and 4 target >>>> Images) and 1 slide-sound-out sub-object. >>>> >>>> I've used the following inLine code to define the 4 target Images as >>>> clickable targets and to check, if the clicked image is the correct answer: >>>> >>>> >>>> >>>> Dim theState as SlideState >>>> Set theState = RecognitionSlide.States("Default") >>>> Dim next_mX as Long, next_mY as Long >>>> Dim strHit As String >>>> Dim theMouseResponseData As MouseResponseData >>>> >>>> >>>> If RecognitionSlide.InputMasks.Responses.Count > 0 Then >>>> >>>> Set theMouseResponseData = CMouseResponseData( >>>> RecognitionSlide.InputMasks.Responses(1)) >>>> >>>> >>>> strHit = theState.HitTest(theMouseResponseData.CursorX, >>>> theMouseResponseData.CursorY) >>>> >>>> >>>> If strHit = ("Image1") or strHit = ("Image2") or >>>> strHit = ("Image3")or strHit = ("Image4") Then >>>> c.SetAttrib "response", strHit >>>> >>>> Else >>>> Goto restart >>>> End If >>>> >>>> >>>> If strHit = c.GetAttrib("CorrectEmotion") Then >>>> RecognitionSlide.ACC = 1 >>>> Else >>>> RecognitionSlide.ACC = 0 >>>> End If >>>> >>>> >>>> My Problem is, that everytime you click somewhere else than the 4 >>>> target Images, the Sound file and RT-measures start again. >>>> >>>> So basically i need something else than the code >>>> Else >>>> Goto restart >>>> which doesn't cause the slide to be reset. >>>> >>>> >>>> Is there any way to make everything but the 4 target Images unclickable? >>>> I hope you understand what i mean. >>>> >>>> Any help would be appreciated >>>> Best regards >>>> Hans >>>> >>>> -- >>>> You received this message because you are subscribed 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/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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+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/c74d6a70-2f5b-4b95-a869-9933095cd165%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/a6ecf23f-4fdb-4e42-88bc-47c6a1924b69%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From markversella at gmail.com Tue Jan 28 14:19:20 2014 From: markversella at gmail.com (Mark Versella) Date: Tue, 28 Jan 2014 06:19:20 -0800 Subject: Displaying a stimuli for a random amount of time Message-ID: Hi all, hoping to get some help with a small hiccup that I've been experiencing in putting together my program in Eprime 2.0. I'm a novice when it comes to working with this software, so pardon my use of any incorrect terminology. What I'm trying to do is display a stimuli for a random amount of time, within a set range (1 to 3 seconds). The task I'm programming calls for a variable inter-trial interval, and I'm not sure how exactly to write that in. Any guidance on how to do this through the tools Eprime provides would be much appreciated (as I have very limited experience working with syntax), but if the only option is to write this in manually, that would be fine too. Thanks so much! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/b752fdf2-6548-4151-82a7-e6297a2b6c90%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From haslinger.hans11 at gmail.com Tue Jan 28 14:38:08 2014 From: haslinger.hans11 at gmail.com (haslinger.hans11 at gmail.com) Date: Tue, 28 Jan 2014 06:38:08 -0800 Subject: Problem with hit Test In-Reply-To: Message-ID: Hallo again I have tried it once again. Duration was set to "infinite" not 0 ( so embarrassing...) It's working now. For the RT-measure I used the following code after the hitTest: Dim Reaction as Long Reaction = RecognitionSlide.RTTime - SoundOut1.OnsetTime c.SetAttrib "RecognitionReaction", Reaction because when I used "RecognitionSlide.OnsetTime" instead of "SoundOut1.OnsetTime" it led to the same value as "RecognitionSlide.RT". This code seems to produce the right RT now. It seems as if i solved my problem now. I just tried it in a seperate es.-file and have to check if it still works in my actual Experiment. But so far it is looking good. Thank you very much for all your help, Paul. Best regards Hans P.S. I kept my goto restart design. "Never Change a winning team" or working program (...as I hope...) ;-) Am Dienstag, 28. Januar 2014 11:25:00 UTC+1 schrieb haslinge... at gmail.com: > Hi Paul > > I will try your SoundOut solution again. Maybe I got something wrong. > > > My design looks like that: > > TaskList > restart (Label) > InstructionRecognition (Slide) > InLine > RecognitionList > RecognitionTrialProc > restart (Label) > RecognitionSlide > InLine > > The Stimulus-Images, target - Images and Soundfiles are listed in > "RecognitionList". > > > But the again: I would stay away from goto-label constructs and use a >> separate List object > > > Might the GoTo-solution cause any problems additionaly to the > restarting-problem or is the List-Loop method just a cleaner solution? > My design is a little larger, because i have more other tasks like > "Recognition", so it would be a bit more work. > > > > The easiest way (in my naive imagination) would be to make everything else > except of the target Images impossible to click on. > Is something like that possible? > > > > Am Montag, 27. Januar 2014 22:23:44 UTC+1 schrieb Paul Groot: > >> Hi Hans, >> >> Perhaps I'm mixing things up, but if I understand your design correctly, >> it should be possible to move the sound from the Stimulus slide to a >> separate SoundOut object just before the Stimulus Slide, without disturbing >> anything. (Ignoring the restart label for now.) If the duration of the >> SoundOut object is set to zero, the onset of the sound should (almost) >> coincide with the onset of the image. (If the onset times of the stimuli >> are critical, you will have to measure sound and display onsets using >> suitable instruments and fine-tune your script.) I assumed your >> restart-label is placed immediately before the stimulus Slide, so to >> prevent the sound from restarting, you should now place it between the >> SoundOut and Slide objects. (I.e., the order will be: SoundOut, Restart >> Label, RecognitionSlide). If you do it like this, the sound should not >> start early. >> >> But the again: I would stay away from goto-label constructs and use a >> separate List object... If you use a list for repeating clicks, you can >> even keep the sound as sub-object of the slide. >> >> Paul >> >> PS. I just tested this, but EPrime ran into problems when the sound file >> was always the same and defined as static text property (using a filename). >> When the sound file is defined as attribute, EPrime will re-initialize the >> sound object every iteration, and the problem disappeared. >> >> >> >> >> >> >> >> On 27 January 2014 11:46, wrote: >> >>> Hallo Paul >>> >>> Thank you for your help. >>> Unfortunately, the Sound file is played before the slide is opened, if I >>> insert the SoundOut object before the restart Label in the procedure. >>> >>> >>> Isn't there another way to express Else , so that >>> really nothing happens, if a click occurs in the invalid area of the slide? >>> Goto >>> restart >>> >>> >>> >>> >>> >>> Am Freitag, 24. Januar 2014 19:11:59 UTC+1 schrieb Paul Groot: >>> >>>> Hans, >>>> >>>> I think that the solution for the restarted sound is to insert the >>>> sound as separate SoundOut object before the restart label. The duration >>>> could be set to zero, and stopafter to no. The The inline script should be >>>> OK, although I personally prefer to use a separate list object instead of a >>>> goto-label to construct a repeating loop until a valid item is clicked. By >>>> using a sub-list you will automatically get all individual clicks in the >>>> edat-file. You also might need a small piece of script to stop the sound. >>>> >>>> The problem with the overall RT should be handled by additional inline >>>> script. Just subtract the RTTime of the valid response from the OnsetTime >>>> of the (first) stimulus onset. You can look at the following example for >>>> this: http://pfcgroot.nl/e-prime/83-example-scripts/88- >>>> image-click-example.html >>>> >>>> Paul >>>> >>>> >>>> On 24 January 2014 18:07, wrote: >>>> >>>>> Hallo everybody >>>>> >>>>> I am trying to create a Task where an image (a Comic Scene) is given >>>>> as a stimulus. Simultaneously, there is a sound file played, which >>>>> describes the stimulus scene. >>>>> Participants should choose 1of 4 possible answers (4 Images) by >>>>> clicking. >>>>> >>>>> So i have got a slide with 5 slide-images (1 stimulus and 4 target >>>>> Images) and 1 slide-sound-out sub-object. >>>>> >>>>> I've used the following inLine code to define the 4 target Images as >>>>> clickable targets and to check, if the clicked image is the correct answer: >>>>> >>>>> >>>>> >>>>> Dim theState as SlideState >>>>> Set theState = RecognitionSlide.States("Default") >>>>> Dim next_mX as Long, next_mY as Long >>>>> Dim strHit As String >>>>> Dim theMouseResponseData As MouseResponseData >>>>> >>>>> >>>>> If RecognitionSlide.InputMasks.Responses.Count > 0 Then >>>>> >>>>> Set theMouseResponseData = CMouseResponseData( >>>>> RecognitionSlide.InputMasks.Responses(1)) >>>>> >>>>> >>>>> strHit = theState.HitTest(theMouseResponseData.CursorX, >>>>> theMouseResponseData.CursorY) >>>>> >>>>> >>>>> If strHit = ("Image1") or strHit = ("Image2") or >>>>> strHit = ("Image3")or strHit = ("Image4") Then >>>>> c.SetAttrib "response", strHit >>>>> >>>>> Else >>>>> Goto restart >>>>> End If >>>>> >>>>> >>>>> If strHit = c.GetAttrib("CorrectEmotion") Then >>>>> RecognitionSlide.ACC = 1 >>>>> Else >>>>> RecognitionSlide.ACC = 0 >>>>> End If >>>>> >>>>> >>>>> My Problem is, that everytime you click somewhere else than the 4 >>>>> target Images, the Sound file and RT-measures start again. >>>>> >>>>> So basically i need something else than the code >>>>> Else >>>>> Goto restart >>>>> which doesn't cause the slide to be reset. >>>>> >>>>> >>>>> Is there any way to make everything but the 4 target Images >>>>> unclickable? >>>>> I hope you understand what i mean. >>>>> >>>>> Any help would be appreciated >>>>> Best regards >>>>> Hans >>>>> >>>>> -- >>>>> You received this message because you are subscribed 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/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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+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/c74d6a70-2f5b-4b95-a869-9933095cd165%40googlegroups.com >>> . >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> > Am Montag, 27. Januar 2014 22:23:44 UTC+1 schrieb Paul Groot: >> >> Hi Hans, >> >> Perhaps I'm mixing things up, but if I understand your design correctly, >> it should be possible to move the sound from the Stimulus slide to a >> separate SoundOut object just before the Stimulus Slide, without disturbing >> anything. (Ignoring the restart label for now.) If the duration of the >> SoundOut object is set to zero, the onset of the sound should (almost) >> coincide with the onset of the image. (If the onset times of the stimuli >> are critical, you will have to measure sound and display onsets using >> suitable instruments and fine-tune your script.) I assumed your >> restart-label is placed immediately before the stimulus Slide, so to >> prevent the sound from restarting, you should now place it between the >> SoundOut and Slide objects. (I.e., the order will be: SoundOut, Restart >> Label, RecognitionSlide). If you do it like this, the sound should not >> start early. >> >> But the again: I would stay away from goto-label constructs and use a >> separate List object... If you use a list for repeating clicks, you can >> even keep the sound as sub-object of the slide. >> >> Paul >> >> PS. I just tested this, but EPrime ran into problems when the sound file >> was always the same and defined as static text property (using a filename). >> When the sound file is defined as attribute, EPrime will re-initialize the >> sound object every iteration, and the problem disappeared. >> >> >> >> >> >> >> >> On 27 January 2014 11:46, wrote: >> >>> Hallo Paul >>> >>> Thank you for your help. >>> Unfortunately, the Sound file is played before the slide is opened, if I >>> insert the SoundOut object before the restart Label in the procedure. >>> >>> >>> Isn't there another way to express Else , so that >>> really nothing happens, if a click occurs in the invalid area of the slide? >>> Goto >>> restart >>> >>> >>> >>> >>> >>> Am Freitag, 24. Januar 2014 19:11:59 UTC+1 schrieb Paul Groot: >>> >>>> Hans, >>>> >>>> I think that the solution for the restarted sound is to insert the >>>> sound as separate SoundOut object before the restart label. The duration >>>> could be set to zero, and stopafter to no. The The inline script should be >>>> OK, although I personally prefer to use a separate list object instead of a >>>> goto-label to construct a repeating loop until a valid item is clicked. By >>>> using a sub-list you will automatically get all individual clicks in the >>>> edat-file. You also might need a small piece of script to stop the sound. >>>> >>>> The problem with the overall RT should be handled by additional inline >>>> script. Just subtract the RTTime of the valid response from the OnsetTime >>>> of the (first) stimulus onset. You can look at the following example for >>>> this: http://pfcgroot.nl/e-prime/83-example-scripts/88- >>>> image-click-example.html >>>> >>>> Paul >>>> >>>> >>>> On 24 January 2014 18:07, wrote: >>>> >>>>> Hallo everybody >>>>> >>>>> I am trying to create a Task where an image (a Comic Scene) is given >>>>> as a stimulus. Simultaneously, there is a sound file played, which >>>>> describes the stimulus scene. >>>>> Participants should choose 1of 4 possible answers (4 Images) by >>>>> clicking. >>>>> >>>>> So i have got a slide with 5 slide-images (1 stimulus and 4 target >>>>> Images) and 1 slide-sound-out sub-object. >>>>> >>>>> I've used the following inLine code to define the 4 target Images as >>>>> clickable targets and to check, if the clicked image is the correct answer: >>>>> >>>>> >>>>> >>>>> Dim theState as SlideState >>>>> Set theState = RecognitionSlide.States("Default") >>>>> Dim next_mX as Long, next_mY as Long >>>>> Dim strHit As String >>>>> Dim theMouseResponseData As MouseResponseData >>>>> >>>>> >>>>> If RecognitionSlide.InputMasks.Responses.Count > 0 Then >>>>> >>>>> Set theMouseResponseData = CMouseResponseData( >>>>> RecognitionSlide.InputMasks.Responses(1)) >>>>> >>>>> >>>>> strHit = theState.HitTest(theMouseResponseData.CursorX, >>>>> theMouseResponseData.CursorY) >>>>> >>>>> >>>>> If strHit = ("Image1") or strHit = ("Image2") or >>>>> strHit = ("Image3")or strHit = ("Image4") Then >>>>> c.SetAttrib "response", strHit >>>>> >>>>> Else >>>>> Goto restart >>>>> End If >>>>> >>>>> >>>>> If strHit = c.GetAttrib("CorrectEmotion") Then >>>>> RecognitionSlide.ACC = 1 >>>>> Else >>>>> RecognitionSlide.ACC = 0 >>>>> End If >>>>> >>>>> >>>>> My Problem is, that everytime you click somewhere else than the 4 >>>>> target Images, the Sound file and RT-measures start again. >>>>> >>>>> So basically i need something else than the code >>>>> Else >>>>> Goto restart >>>>> which doesn't cause the slide to be reset. >>>>> >>>>> >>>>> Is there any way to make everything but the 4 target Images >>>>> unclickable? >>>>> I hope you understand what i mean. >>>>> >>>>> Any help would be appreciated >>>>> Best regards >>>>> Hans >>>>> >>>>> -- >>>>> You received this message because you are subscribed 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/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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+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/c74d6a70-2f5b-4b95-a869-9933095cd165%40googlegroups.com >>> . >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> > Am Montag, 27. Januar 2014 22:23:44 UTC+1 schrieb Paul Groot: >> >> Hi Hans, >> >> Perhaps I'm mixing things up, but if I understand your design correctly, >> it should be possible to move the sound from the Stimulus slide to a >> separate SoundOut object just before the Stimulus Slide, without disturbing >> anything. (Ignoring the restart label for now.) If the duration of the >> SoundOut object is set to zero, the onset of the sound should (almost) >> coincide with the onset of the image. (If the onset times of the stimuli >> are critical, you will have to measure sound and display onsets using >> suitable instruments and fine-tune your script.) I assumed your >> restart-label is placed immediately before the stimulus Slide, so to >> prevent the sound from restarting, you should now place it between the >> SoundOut and Slide objects. (I.e., the order will be: SoundOut, Restart >> Label, RecognitionSlide). If you do it like this, the sound should not >> start early. >> >> But the again: I would stay away from goto-label constructs and use a >> separate List object... If you use a list for repeating clicks, you can >> even keep the sound as sub-object of the slide. >> >> Paul >> >> PS. I just tested this, but EPrime ran into problems when the sound file >> was always the same and defined as static text property (using a filename). >> When the sound file is defined as attribute, EPrime will re-initialize the >> sound object every iteration, and the problem disappeared. >> >> >> >> >> >> >> >> On 27 January 2014 11:46, wrote: >> >>> Hallo Paul >>> >>> Thank you for your help. >>> Unfortunately, the Sound file is played before the slide is opened, if I >>> insert the SoundOut object before the restart Label in the procedure. >>> >>> >>> Isn't there another way to express Else , so that >>> really nothing happens, if a click occurs in the invalid area of the slide? >>> Goto >>> restart >>> >>> >>> >>> >>> >>> Am Freitag, 24. Januar 2014 19:11:59 UTC+1 schrieb Paul Groot: >>> >>>> Hans, >>>> >>>> I think that the solution for the restarted sound is to insert the >>>> sound as separate SoundOut object before the restart label. The duration >>>> could be set to zero, and stopafter to no. The The inline script should be >>>> OK, although I personally prefer to use a separate list object instead of a >>>> goto-label to construct a repeating loop until a valid item is clicked. By >>>> using a sub-list you will automatically get all individual clicks in the >>>> edat-file. You also might need a small piece of script to stop the sound. >>>> >>>> The problem with the overall RT should be handled by additional inline >>>> script. Just subtract the RTTime of the valid response from the OnsetTime >>>> of the (first) stimulus onset. You can look at the following example for >>>> this: http://pfcgroot.nl/e-prime/83-example-scripts/88- >>>> image-click-example.html >>>> >>>> Paul >>>> >>>> >>>> On 24 January 2014 18:07, wrote: >>>> >>>>> Hallo everybody >>>>> >>>>> I am trying to create a Task where an image (a Comic Scene) is given >>>>> as a stimulus. Simultaneously, there is a sound file played, which >>>>> describes the stimulus scene. >>>>> Participants should choose 1of 4 possible answers (4 Images) by >>>>> clicking. >>>>> >>>>> So i have got a slide with 5 slide-images (1 stimulus and 4 target >>>>> Images) and 1 slide-sound-out sub-object. >>>>> >>>>> I've used the following inLine code to define the 4 target Images as >>>>> clickable targets and to check, if the clicked image is the correct answer: >>>>> >>>>> >>>>> >>>>> Dim theState as SlideState >>>>> Set theState = RecognitionSlide.States("Default") >>>>> Dim next_mX as Long, next_mY as Long >>>>> Dim strHit As String >>>>> Dim theMouseResponseData As MouseResponseData >>>>> >>>>> >>>>> If RecognitionSlide.InputMasks.Responses.Count > 0 Then >>>>> >>>>> Set theMouseResponseData = CMouseResponseData( >>>>> RecognitionSlide.InputMasks.Responses(1)) >>>>> >>>>> >>>>> strHit = theState.HitTest(theMouseResponseData.CursorX, >>>>> theMouseResponseData.CursorY) >>>>> >>>>> >>>>> If strHit = ("Image1") or strHit = ("Image2") or >>>>> strHit = ("Image3")or strHit = ("Image4") Then >>>>> c.SetAttrib "response", strHit >>>>> >>>>> Else >>>>> Goto restart >>>>> End If >>>>> >>>>> >>>>> If strHit = c.GetAttrib("CorrectEmotion") Then >>>>> RecognitionSlide.ACC = 1 >>>>> Else >>>>> RecognitionSlide.ACC = 0 >>>>> End If >>>>> >>>>> >>>>> My Problem is, that everytime you click somewhere else than the 4 >>>>> target Images, the Sound file and RT-measures start again. >>>>> >>>>> So basically i need something else than the code >>>>> Else >>>>> Goto restart >>>>> which doesn't cause the slide to be reset. >>>>> >>>>> >>>>> Is there any way to make everything but the 4 target Images >>>>> unclickable? >>>>> I hope you understand what i mean. >>>>> >>>>> Any help would be appreciated >>>>> Best regards >>>>> Hans >>>>> >>>>> -- >>>>> You received this message because you are subscribed 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/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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+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/c74d6a70-2f5b-4b95-a869-9933095cd165%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/cc719d5c-c16c-49a6-ae0a-59feffce73d2%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 Jan 28 15:45:43 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 28 Jan 2014 10:45:43 -0500 Subject: Displaying a stimuli for a random amount of time In-Reply-To: Message-ID: Without knowing any more details, offhand I would just add a list of duration values to a List, set that to run in random order, and then use those values as an attribute reference for Duration in the stimulus object -- i.e., if you name the List attribute "StimDur", use "[StimDur]" in the Duration of the object. Beyond that, I might put the durations in a nested List -- see the nested List tutorial in Appendix C of the User's Guide that came with E-Prime. If you have not already, you should first work through *all* of the tutorials in all the manuals that came with E-Prime, it will save you (and others) a lot of trouble. See also https://groups.google.com/d/topic/e-prime/VCXgOWjKtCg . (BTW, as far as terminology goes, "stimuli" is the plural form, "stimulus" the singular -- so, either "displaying a stimulus" or "diplaying stimuli".) Best, ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster ) /---- Stock reminder: 1) I do not work for PST. 2) 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 1/28/2014 09:19 AM Tuesday, Mark Versella wrote: >Hi all, hoping to get some help with a small hiccup that I've been >experiencing in putting together my program in Eprime 2.0. I'm a >novice when it comes to working with this software, so pardon my use >of any incorrect terminology. > >What I'm trying to do is display a stimuli for a random amount of >time, within a set range (1 to 3 seconds). The task I'm programming >calls for a variable inter-trial interval, and I'm not sure how >exactly to write that in. Any guidance on how to do this through the >tools Eprime provides would be much appreciated (as I have very >limited experience working with syntax), but if the only option is >to write this in manually, that would be fine too. Thanks so much! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52e7d0ac.220c320a.7724.ffff809cSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From rahayes89 at gmail.com Wed Jan 29 20:02:26 2014 From: rahayes89 at gmail.com (Becca Hayes) Date: Wed, 29 Jan 2014 12:02:26 -0800 Subject: E-run 2.0.8.x files in E-run 2.0.10.353 Message-ID: Hi all, I have a request in to the PST support people, but I wanted to see if anyone here has found a solution: Our lab has some .ebs2 files that were created in an earlier version of e-prime (2.0.8.79). We just updated all of our computers to run version 2.0.10.353, and now these e-run files won't open. The e-run resolver lists our version of e-run as being "too new" to run the files, and they terminate with an error message when we try to run them anyway. Do any of you know any options for either updating these files or running them on our computer as-is, other than tracking down the original .es2 files (which were generated outside our lab and are proving to be elusive) and using e-studio to update them? -Becca -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/cfe283ea-b438-426b-8918-f526248d1132%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 Wed Jan 29 21:53:29 2014 From: ndlabmanager at gmail.com (Stephen Mattingly) Date: Wed, 29 Jan 2014 13:53:29 -0800 Subject: How to timestamp the Spacebar multiple times per slide within a free recall paradigm Message-ID: Hi All, I have made a script with the GUI that allows (and shows) participants the words that they type (separated by spaces). I was hoping that, in addition to recording all of the typed letters, that i could somehow timestamp each time the spacebar is pressed - such that i can know when the words are completed, rather than getting an RT measure for the whole slide. Specifically, I have a slide that accepts a keyboard input, and when escape is pressed the task ends. An example of what is recorded: The{SPACE}there{SPACE}{SPACE}there{SPACE}{SPACE}the{SPACE}three{SPACE}the{ ESCAPE} any suggestions or places to look to get on the right path would be 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/086dfc85-fce6-4f4a-b5cb-f1b3def0980a%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 Jan 29 22:17:14 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 29 Jan 2014 17:17:14 -0500 Subject: E-run 2.0.8.x files in E-run 2.0.10.353 In-Reply-To: Message-ID: Becca, As PST Support will no doubt tell you, you can still download and install the EP2.0.8.90 *runtime* files. Install that, and next time the E-Run resolver should recognize your older .ebs2 files and run them using the older runtime version. I just can't remember where this is documented offhand (responding during my day off at home). -- David McFarlane Becca Hayes wrote: > I have a request in to the PST support people, but I wanted to see if > anyone here has found a solution: > > Our lab has some .ebs2 files that were created in an earlier version of > e-prime (2.0.8.79). We just updated all of our computers to run version > 2.0.10.353, and now these e-run files won't open. The e-run resolver > lists our version of e-run as being "too new" to run the files, and they > terminate with an error message when we try to run them anyway. > > Do any of you know any options for either updating these files or > running them on our computer as-is, other than tracking down the > original .es2 files (which were generated outside our lab and are > proving to be elusive) and using e-studio to update them? > > -Becca -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52E97DEA.6040309%40msu.edu. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Wed Jan 29 22:38:49 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 29 Jan 2014 17:38:49 -0500 Subject: E-run 2.0.8.x files in E-run 2.0.10.353 In-Reply-To: <52E97DEA.6040309@msu.edu> Message-ID: Aha, you can find this documented at http://www.pstnet.com/support/kb.asp?TopicID=5325 . Regards, -- David David McFarlane wrote: > Becca, > > As PST Support will no doubt tell you, you can still download and > install the EP2.0.8.90 *runtime* files. Install that, and next time the > E-Run resolver should recognize your older .ebs2 files and run them > using the older runtime version. I just can't remember where this is > documented offhand (responding during my day off at home). > > -- David McFarlane > > > Becca Hayes wrote: >> I have a request in to the PST support people, but I wanted to see if >> anyone here has found a solution: >> >> Our lab has some .ebs2 files that were created in an earlier version >> of e-prime (2.0.8.79). We just updated all of our computers to run >> version 2.0.10.353, and now these e-run files won't open. The e-run >> resolver lists our version of e-run as being "too new" to run the >> files, and they terminate with an error message when we try to run >> them anyway. >> >> Do any of you know any options for either updating these files or >> running them on our computer as-is, other than tracking down the >> original .es2 files (which were generated outside our lab and are >> proving to be elusive) and using e-studio to update them? >> >> -Becca -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52E982F9.1070402%40msu.edu. For more options, visit https://groups.google.com/groups/opt_out. From ericd87 at gmail.com Wed Jan 29 22:44:00 2014 From: ericd87 at gmail.com (Eric Dixon) Date: Wed, 29 Jan 2014 14:44:00 -0800 Subject: Resetting the clock upon trigger onset. Message-ID: Hi all, Currently, e prime starts timing the experiment after I press the run button. This means that there can be several seconds (variable) between clicking the run button, entering in participant ID, session ID and the start of the actual experiment. I would like to either start or reset the clock so that the timing starts at the beginning of the experiment and not before. As of now we have to subtract the time between clicking run and the beginning of the stimulus from each stimulus onset inorder to find / quality check there actual onsets for processing. Obviously this can be tedious and if I can simplify the data processing stream it could save tons of time. In short, is there a way to either reset or start timing at the onset of the experiment. Please let me know if you have any questions. thanks, Eric -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/6d193239-d968-45ff-a447-ec062b4844af%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ericd87 at gmail.com Wed Jan 29 23:05:10 2014 From: ericd87 at gmail.com (Eric Dixon) Date: Wed, 29 Jan 2014 15:05:10 -0800 Subject: Opening an external link from E-Prime In-Reply-To: <321a89bc-02a6-4658-b662-11a654d67988@googlegroups.com> Message-ID: Hi Tracy, I'm sort of a novice as far as e prime is concerned so I would take the advise of others over mine. Anyway, I don't think that e prime will allow you to reliably open a web browser or other applications while e prime is running. It tends to take over the CPU while in use. I'm not exactly sure what data you are looking to collect but if its just questionnaire data and you absolutely need to run it in e prime then you could always just type out the questions into Text Displays and have them respond accordingly. *Note: This would be very time consuming so I would consider whether or not you need e prime for this task. Maybe just have them run through your experiment and then open the link manually. I hope this was some help. Cheers, Eric On Thursday, January 23, 2014 1:41:47 AM UTC-8, Tracy Cheung wrote: > > Hi there, > > I would be really happy to hear solutions or suggestions to a problem that > I am experiencing. > > The experiment that I am running consists of two parts. The first is a > Stroop Test (which I have already programmed with E-prime) and the second > is something that needs to be run on Open Sesame or on a survey link on the > Internet. > > I was wondering if it would be possible to insert some sort of link in > E-prime, so when participants link on it, it will open and start running an > external program (either it is Open Sesame or a link on the internet). > > It would be great to hear your responses. Thanks! > > Cheers, > Tracy > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/b83e452e-a712-4759-8250-19352901f6be%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ntabasum at gmail.com Thu Jan 30 11:46:07 2014 From: ntabasum at gmail.com (Nazool Tabassam) Date: Thu, 30 Jan 2014 11:46:07 +0000 Subject: how to vary the3 different time interval for the 3 fixation slides Message-ID: I have a paradigm which includes following slides Process a trial Fixation 1: 500ms Cue slide: 500ms Fixation 2: 2500ms picture: 1000ms rating: infinite I want to modify it having 3 balnk slides of three different time intervals Fixation1 = 500 fixation 2 = 1000 fixation 3 = 2000 Cue slide: 500ms (2 diffrent type of cues) Fixation 2: 2500ms picture: 1000ms (positive192+192 negative pictures) 384 pictures total rating: infinite i want 8 blocks:one block would include 16 trials with fix500, fix2 with 1000ms and fix3 with 2000ms. equal no of cuess and negative and positive pictures too. How to modify that in inline and in codes? please any hints. Regards -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAOKQe00U5J03ytyWxoAdYXqgJyCVY6Ao%3DfmX8mmS9vMR%3DNgphA%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 Thu Jan 30 16:14:18 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 30 Jan 2014 11:14:18 -0500 Subject: how to vary the3 different time interval for the 3 fixation slides In-Reply-To: Message-ID: Hmm, does the discussion a couple days ago at https://groups.google.com/d/topic/e-prime/E8jlcwfcQzk/discussion provide any clues here? -- David McFarlane At 1/30/2014 06:46 AM Thursday, Nazool Tabassam wrote: >I have a paradigm which includes following slides > >Process a trial > >Fixation 1: 500ms >Cue slide: 500ms >Fixation 2: 2500ms >picture: 1000ms >rating: infinite > >I want to modify it having 3 balnk slides of three different time intervals >Fixation1 = 500 >fixation 2 = 1000 >fixation 3 = 2000 >Cue slide: 500ms (2 diffrent type of cues) >Fixation 2: 2500ms >picture: 1000ms (positive192+192 negative pictures) 384 pictures total >rating: infinite > i want 8 blocks:one block would include 16 trials with fix500, > fix2 with 1000ms and fix3 with 2000ms. equal no of cuess and > negative and positive pictures too. >How to modify that in inline and in codes? >please any hints. >Regards -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52ea7a5b.2cdd320a.5e72.ffffc3b1SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Thu Jan 30 16:24:05 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 30 Jan 2014 11:24:05 -0500 Subject: Opening an external link from E-Prime In-Reply-To: Message-ID: Tracy, Two further thoughts: 1) The Shell() function and AppActivate and WinActivate statements, along with the DeviceManager.Suspend method, as documented in the E-Basic Help facility. 2) AutoIt (http://www.autoitscript.com/site/autoit ). But as Eric said, this may not work, and even if it does may be more trouble that it's worth. ----- 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 1/29/2014 06:05 PM Wednesday, Eric Dixon wrote: >Hi Tracy, > >I'm sort of a novice as far as e prime is concerned so I would take >the advise of others over mine. Anyway, I don't think that e prime >will allow you to reliably open a web browser or other applications >while e prime is running. It tends to take over the CPU while in use. > >I'm not exactly sure what data you are looking to collect but if its >just questionnaire data and you absolutely need to run it in e prime >then you could always just type out the questions into Text Displays >and have them respond accordingly. > >*Note: This would be very time consuming so I would consider whether >or not you need e prime for this task. Maybe just have them run >through your experiment and then open the link manually. > >I hope this was some help. > >Cheers, >Eric > >On Thursday, January 23, 2014 1:41:47 AM UTC-8, Tracy Cheung wrote: >Hi there, > >I would be really happy to hear solutions or suggestions to a >problem that I am experiencing. > >The experiment that I am running consists of two parts. The first >is a Stroop Test (which I have already programmed with E-prime) and >the second is something that needs to be run on Open Sesame or on a >survey link on the Internet. > >I was wondering if it would be possible to insert some sort of link >in E-prime, so when participants link on it, it will open and start >running an external program (either it is Open Sesame or a link on >the internet). > >It would be great to hear your responses. Thanks! > >Cheers, >Tracy -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52ea7ca6.2527320a.79b3.3445SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Thu Jan 30 16:43:39 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 30 Jan 2014 11:43:39 -0500 Subject: Resetting the clock upon trigger onset. In-Reply-To: <6d193239-d968-45ff-a447-ec062b4844af@googlegroups.com> Message-ID: Eric, You should ask PST Support about this (see link below). AFAIK E-Prime does not allow for resetting the global session clock, nor should it. (In fact, the PsychoPy folks have had this discussion with regards to their ioHub facility, with the same conclusion.) Allowing for such an activity would open the way to too much abuse & mistakes. When I have wanted to have times reported relative to some global starting time (e.g., quality check of fMRI designs), I have just added some inline code to compute & log the adjusted values at runtime. In fact, once I have gone that far, it's not too much more trouble to add a final global quality check, along with raising an alarm to notify users at the end of a session about things they should look at in the .edat file. With a little bit of effort you can have E-Prime take care of all sorts of details for you. ----- 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 1/29/2014 05:44 PM Wednesday, Eric Dixon wrote: >Currently, e prime starts timing the experiment after I press the >run button. This means that there can be several seconds (variable) >between clicking the run button, entering in participant ID, session >ID and the start of the actual experiment. I would like to either >start or reset the clock so that the timing starts at the beginning >of the experiment and not before. > >As of now we have to subtract the time between clicking run and the >beginning of the stimulus from each stimulus onset inorder to find / >quality check there actual onsets for processing. Obviously this can >be tedious and if I can simplify the data processing stream it could >save tons of time. > >In short, is there a way to either reset or start timing at the >onset of the experiment. > >Please let me know if you have any questions. > > >thanks, >Eric -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52ea814e.7417320a.3b07.ffffc2faSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Thu Jan 30 16:58:26 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 30 Jan 2014 11:58:26 -0500 Subject: How to timestamp the Spacebar multiple times per slide within a free recall paradigm In-Reply-To: <086dfc85-fce6-4f4a-b5cb-f1b3def0980a@googlegroups.com> Message-ID: Start with the MultipleResponseCollection.es example that you may download from the PST website. That will introduce you to InputMask.Responses, and you may look at that topic in the E-Basic Help facility for more information. That will get you timestamps for *every* keystroke, including the spacebar. You could then write code to log only the spacebar times, or go ahead and log everything and then pull out just what you want later, or log every keystroke *plus* times when they press space, it's all up to you. BTW, in case you or anyone then wants to decode all the {key} nomenclature into normal characters, see the "KeyCodeMap" program at http://step.psy.cmu.edu/scripts-plus . 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 1/29/2014 04:53 PM Wednesday, Stephen Mattingly wrote: > I have made a script with the GUI that allows (and shows) > participants the words that they type (separated by spaces). I was > hoping that, in addition to recording all of the typed letters, > that i could somehow timestamp each time the spacebar is pressed - > such that i can know when the words are completed, rather than > getting an RT measure for the whole slide. > >Specifically, I have a slide that accepts a keyboard input, and when >escape is pressed the task ends. > >An example of what is recorded: > >The{SPACE}there{SPACE}{SPACE}there{SPACE}{SPACE}the{SPACE}three{SPACE}the{ESCAPE} > >any suggestions or places to look to get on the right path would be >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/52ea84b3.2527320a.79b3.34f7SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From leejdunn at gmail.com Thu Jan 30 20:43:52 2014 From: leejdunn at gmail.com (Lee) Date: Thu, 30 Jan 2014 12:43:52 -0800 Subject: E-Prime Stability In-Reply-To: <035401cec5bb$82669440$8733bcc0$@eu> Message-ID: My lab has also been experiencing a lot of issues with frequent crashing on Windows 7. One of our build files seems to crash under 5 minutes of opening the file. I can't even look at it long enough to figure out if something in it is causing the crashes. Other files just crash intermittently especially when copying objects. Has anyone found a solution for this besides switching to XP? Best, Lee On Thursday, October 10, 2013 9:20:36 AM UTC-4, Michiel Sovijärvi-Spapé wrote: > > Hi, > > Given that E-Prime 2 is now pretty much a final release, I was wondering > how many of you feel it remains **particularly** instable? I mean, > E-Studio (2, pro), latest version, and I don’t stupid crashes (say, > recursively calling the sessionproc from a list within sessionproc). Just > things like > > · Writing inline: > > Try typing: > > /* > > Hoppa > > */. > > > > Works! Automatically becomes > > ‘/* > > ‘Hoppa > > ‘*/. > > > > Now commented out. However, type in an inline (not the user part) > > ‘/* > > Hoppa > > */....CRASH! > > > > · Just dragging objects around, adding attributes, all sorts of > randomness. Sometimes, there are nice big red crosses where graphics > usually are. > > > > The latter is the more annoying part. In general, when I’m developing > something, on both my laptop and home pc (both win7prox64), this happens. > In my experience, in fact, most people, even if they are very experienced, > have random stability issues with e-studio. My question then is: does the > list have similar issues? Say, if you’ve been doing some development, what > is the chance that e-prime will crash within 60 minutes? I’m estimating it > at 80% here. > > > > Cheers, > > Michiel > > > > Michiel Sovijärvi-Spapé > > Helsinki Institute for Information Technology > > Aalto & Helsingin Yliopisto, > > Finland > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7d58fd4c-a2ee-44d7-bfa7-c4c43e19907b%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 Jan 30 21:06:41 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 30 Jan 2014 16:06:41 -0500 Subject: E-Prime Stability In-Reply-To: <7d58fd4c-a2ee-44d7-bfa7-c4c43e19907b@googlegroups.com> Message-ID: Lee, Just to clarify, are you reporting that the same E-Prime program of yours, using the same runtime version of E-Run, crashes when run on a Windows 7 machine but not when run on a Windows XP machine? And exactly which verion of EP2 do you run on each machine? Thanks, -- dkm At 1/30/2014 03:43 PM Thursday, Lee wrote: >My lab has also been experiencing a lot of >issues with frequent crashing on Windows 7. One >of our build files seems to crash under 5 >minutes of opening the file. I can't even look >at it long enough to figure out if something in >it is causing the crashes. Other files just >crash intermittently especially when copying objects. > >Has anyone found a solution for this besides switching to XP? > >Best, >Lee > >On Thursday, October 10, 2013 9:20:36 AM UTC-4, >Michiel Sovijärvi-SpapÃ(c) wrote: > >Hi, > >Given that E-Prime 2 is now pretty much a final >release, I was wondering how many of you feel it >remains *particularly* instable? I mean, >E-Studio (2, pro), latest version, and I donâ EURO (tm)t >stupid crashes (say, recursively calling the >sessionproc from a list within sessionproc). Just things like > >· Writing inline: > >Try typing: > >/* > >Hoppa > >*/. > > > >Works! Automatically becomes > >â EURO ~/* > >â EURO ~Hoppa > >â EURO ~*/. > > > >Now commented out. However, type in an inline (not the user part) > >â EURO ~/* > >Hoppa > >*/....CRASH! > > > >· Just dragging objects around, adding >attributes, all sorts of randomness. Sometimes, >there are nice big red crosses where graphics usually are. > > > >The latter is the more annoying part. In >general, when Iâ EURO (tm)m developing something, on >both my laptop and home pc (both win7prox64), >this happens. In my experience, in fact, most >people, even if they are very experienced, have >random stability issues with e-studio. My >question then is: does the list have similar >issues? Say, if youâ EURO (tm)ve been doing some >development, what is the chance that e-prime >will crash within 60 minutes? Iâ EURO (tm)m estimating it at 80% here. > > > >Cheers, > >Michiel > > > >Michiel Sovijärvi-SpapÃ(c) > >Helsinki Institute for Information Technology > >Aalto & Helsingin Yliopisto, > >Finland > > > >-- >You received this message because you are >subscribed to the Google Groups "E-Prime" group. >To unsubscribe from this group and stop >receiving emails from it, send an email to >e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/e-prime/7d58fd4c-a2ee-44d7-bfa7-c4c43e19907b%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/52eabee3.48e1320a.3e33.02afSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From jsilkes at uw.edu Thu Jan 30 22:14:22 2014 From: jsilkes at uw.edu (jsilkes at uw.edu) Date: Thu, 30 Jan 2014 14:14:22 -0800 Subject: E-Prime Stability In-Reply-To: <035401cec5bb$82669440$8733bcc0$@eu> Message-ID: I'm also having stability issues with EPrime 2.0 Professional on Windows 7. The build files are crashing every now and then but, even worse, the Run files are crashing when it first initializes to run. No pattern to it, though, and happening with one set of related protocols but not another. Might happen with one file one time and another file another time. Sometimes it happens several times in a single session, other times it doesn't. In addition, when it crashes, it locks up all of the EDataAid files that have been created since the last time we opened the program, so we have to use the recovery function to open them again. Very, very frustrating. I'm also in contact with the EPrime support folks, but would welcome any insights this group might have. Thanks! JoAnn. On Thursday, October 10, 2013 6:20:36 AM UTC-7, Michiel Sovijärvi-Spapé wrote: > > Hi, > > Given that E-Prime 2 is now pretty much a final release, I was wondering > how many of you feel it remains **particularly** instable? I mean, > E-Studio (2, pro), latest version, and I don’t stupid crashes (say, > recursively calling the sessionproc from a list within sessionproc). Just > things like > > · Writing inline: > > Try typing: > > /* > > Hoppa > > */. > > > > Works! Automatically becomes > > ‘/* > > ‘Hoppa > > ‘*/. > > > > Now commented out. However, type in an inline (not the user part) > > ‘/* > > Hoppa > > */....CRASH! > > > > · Just dragging objects around, adding attributes, all sorts of > randomness. Sometimes, there are nice big red crosses where graphics > usually are. > > > > The latter is the more annoying part. In general, when I’m developing > something, on both my laptop and home pc (both win7prox64), this happens. > In my experience, in fact, most people, even if they are very experienced, > have random stability issues with e-studio. My question then is: does the > list have similar issues? Say, if you’ve been doing some development, what > is the chance that e-prime will crash within 60 minutes? I’m estimating it > at 80% here. > > > > Cheers, > > Michiel > > > > Michiel Sovijärvi-Spapé > > Helsinki Institute for Information Technology > > Aalto & Helsingin Yliopisto, > > Finland > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/d716f9f7-692d-4c86-8a30-1376c60f3fb4%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 Jan 31 14:42:18 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 31 Jan 2014 09:42:18 -0500 Subject: E-Prime Stability In-Reply-To: Message-ID: Just on the particular block comment (/* */) issue again: Note that PST explains this at http://www.pstnet.com/support/kb.asp?TopicID=5347 , and fixed the issue in EP2.0.10.353 (aka EP2 SP1). And earlier in this thread I already expressed my like of the newer commenting feature. -- David McFarlane On Thursday, October 10, 2013 6:20:36 AM UTC-7, Michiel Sovijärvi-SpapÃ(c) wrote: >Hi, > >Given that E-Prime 2 is now pretty much a final >release, I was wondering how many of you feel it >remains *particularly* instable? I mean, >E-Studio (2, pro), latest version, and I donâ EURO (tm)t >stupid crashes (say, recursively calling the >sessionproc from a list within sessionproc). Just things like > >· Writing inline: > >Try typing: > >/* > >Hoppa > >*/. > > > >Works! Automatically becomes > >â EURO ~/* > >â EURO ~Hoppa > >â EURO ~*/. > > > >Now commented out. However, type in an inline (not the user part) > >â EURO ~/* > >Hoppa > >*/....CRASH! > > > >· Just dragging objects around, adding >attributes, all sorts of randomness. Sometimes, >there are nice big red crosses where graphics usually are. > > > >The latter is the more annoying part. In >general, when Iâ EURO (tm)m developing something, on >both my laptop and home pc (both win7prox64), >this happens. In my experience, in fact, most >people, even if they are very experienced, have >random stability issues with e-studio. My >question then is: does the list have similar >issues? Say, if youâ EURO (tm)ve been doing some >development, what is the chance that e-prime >will crash within 60 minutes? Iâ EURO (tm)m estimating it at 80% here. > > > >Cheers, > >Michiel > > >Michiel Sovijärvi-SpapÃ(c) >Helsinki Institute for Information Technology >Aalto & Helsingin Yliopisto, >Finland -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52ebb64d.323e320a.6986.0ab9SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Fri Jan 31 16:39:44 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 31 Jan 2014 11:39:44 -0500 Subject: Installing 2.0.8 and 2.0.10 at the same time In-Reply-To: Message-ID: Worked like a charm, thanks! I wish had known this years ago, but your tip came just in time for a new round of testing how various E-Prime updates affect some particular bugs (see https://twitter.com/EPrimeMaster ). I did modify the procedure just a bit: - Install older version of E-Prime (i.e., use existing installed version). - Find the installed E-Prime program folder and copy it to another folder -- e.g., copy "Program Files\PST\E-Prime 2.0" to "Program Files\PST\E-Prime 2.0.8.22". - Install the newer version of E-Prime right over the old version (yes, sometimes necessary to first uninstall the older E-Prime, but I like to live a little dangerously here). That's it. So far I have EP 2.0.8.22, 2.0.8.73, and 2.0.8.74 all running on one machine, working up to installing 2.0.8.79, 2.0.8.90, 2.0.10.242, and 2.0.10.353. And from now right after each update I will just make a copy of the E-Prime program folder, all ready for the next update whenever it comes. -- David McFarlane At 1/15/2014 07:31 AM Wednesday, JACanterbury wrote: >Not a question, but some information in case it's of use to anyone. > >Although the PST >website (ticket 5345)says > >Can E-Prime 2.0.8.x and E-Prime 2.0.10.x be installed at the same time? >No, only major version installations can be installed at the same >time. However, multiple versions of the E-Prime 2.0 Subject Station >installation can coexist on the same lab machine. >KB5325 - FEATURE: >Suite, Subject Station, and Run-Time detect other installations on >machine (multiple Subject Station versions allowed) > >I thought I'd try anyway as I need to support both versions as a programmer. > >It turns out that you CAN have E-Studio 2.0.8 and 2.0.10 co-existing >on the same machine at the same time. > >This is what I did: > > * install 2.0.8 > * rename the install directory e.g. from c:\program files > (x86)\pst to c:\program files (x86)\pst-2-0-8 > * uninstall E-Prime (control panel / programs and features) > * install 2.0.10 > >Notes: > >- the installed shortcuts from the Windows Start menu will be for >the lastest version, you'll need to create additional shortcuts to >the other version > >- when you switch from using one version to the other, you'll be >prompted to relicence but this on ly takes a second - This seems to >be the only irritation. > >- This seems fine for E-studio development work but I wouldn't run >any actual live experiments on a system setup like this as I'm not >quite sure what versions of drivers the 'other' version might be picking up > >- if you want to install e-prime into a different folder, e.g. on >your D: drive, select the 'custom' install as this then gives you >the option to change the installation directory/folder > > >hth > >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/52ebd1f6.893d320a.054d.4d40SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From stargateatlantis0 at gmail.com Wed Jan 8 14:56:02 2014 From: stargateatlantis0 at gmail.com (Camila Gomes Victorino) Date: Wed, 8 Jan 2014 06:56:02 -0800 Subject: Correct serrated or burr losangle after drawing a diamond polygon Message-ID: Hi! I have a binary decision making task where the subject needs to find out the diamond or losangle in one of the two sides. In the other one, there is a square and it needs to be identical to the diamond (just the angle position changes). I tried to draw the losangle and it worked, the problem is that the stimulus appears with serrated or burr sides. I tried to fix it putting the cnvs.penwidth and modifying it but it changes a lot the diamond and it needs to be identical to the square. I do not know how to fix it and get the serrated burrs out. I wrote the code as this: 'Declare variables Dim r, centerX, centerY As Integer 'Create canvas Set cnvs = Display.Canvas cnvs.FillColor = CColor("White") cnvs.Clear 'Create fixation point cnvs.TextColor = CColor ("black") cnvs.FontName = "Courier New" cnvs.FontSize = "18" cnvs.FontBold = CLogical("Yes") cnvs.Text 313, 228, "+" 'Create gray squares cnvs.Pencolor = CColor("Gray") cnvs.Fillcolor = CColor("White") cnvs.Rectangle 255, 205, 55, 62 cnvs.Rectangle Display.XRes -310, 205, 55, 62 'Show targets cnvs.Pencolor = CColor("black") cnvs.Fillcolor = CColor("black") If c.getattrib("Target") = "Diamond" Then 'Write a left diamond Dim P (4) As Point P(0).x = 280 P(0).y = 218 P(1).x = 296 P(1).y = 239 P(2).x = 280 P(2).y = 256 P(3).x = 265 P(3).y = 239 cnvs.Polygon P, 4 cnvs.Rectangle 345, 222, 25, 30 Else 'Write a Rectangle cnvs.Rectangle 270, 222, 25, 30 'Write a Diamond Dim L (4) As Point L(0).x = 357 L(0).y = 218 L(1).x = 373 L(1).y = 239 L(2).x = 357 L(2).y = 256 l(3).x = 342 L(3).y = 239 cnvs.Polygon L, 4 End If Sleep (1000) Thank you! Best regards, -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/84cc7844-4a1d-489b-9eac-4b86d7468a7f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From corysinman at gmail.com Wed Jan 8 20:08:41 2014 From: corysinman at gmail.com (Cory Inman) Date: Wed, 8 Jan 2014 12:08:41 -0800 Subject: Sending xdat (bit signals) from Eprime to ASL eye tracker through a Ethernet port (Socket Device) Message-ID: Hi, Are there any labs out there that have successfully been able to send xdat (bit signals) from an Eprime script to mark event onsets on an ASL D6 eye tracker through an ethernet port (socket device)? Any help, basic example scripts, or examples of inline code to send these signals through socket device in eprime would be much appreciated. Thank you for your time and help! Cory Inman Emory University -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1143330f-f2ce-49fc-8f7a-4b18262a3846%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pipgriffiths86 at gmail.com Wed Jan 8 21:31:52 2014 From: pipgriffiths86 at gmail.com (Pip Griffiths) Date: Wed, 8 Jan 2014 21:31:52 +0000 Subject: Sending xdat (bit signals) from Eprime to ASL eye tracker through a Ethernet port (Socket Device) In-Reply-To: <1143330f-f2ce-49fc-8f7a-4b18262a3846@googlegroups.com> Message-ID: Yes! I will send you script on Friday when I am in the lab next, but please remind me. Also, I have found the ASL d6 to be a nightmare of a machine that couldn't track a thing at any reasonable accuracy. Further to this, the clunky and buggy analysis software is not set up for having multiple conditions (for example different emotional faces/genders/presentation times). It also doesn't like you randomising the stimuli. If you randomise you will have a lot of work putting things in order manually after the study. Yer, Please email me on Friday. Also happy to answer any other questions that you have as I feel your (prospective) pain. Regards, Pip Griffiths PhD researcher University of Bath > On 8 Jan 2014, at 20:08, Cory Inman wrote: > > Hi, Are there any labs out there that have successfully been able to send xdat (bit signals) from an Eprime script to mark event onsets on an ASL D6 eye tracker through an ethernet port (socket device)? Any help, basic example scripts, or examples of inline code to send these signals through socket device in eprime would be much appreciated. Thank you for your time and help! > > Cory Inman > Emory University > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1143330f-f2ce-49fc-8f7a-4b18262a3846%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/4D6E25E5-9973-4B30-A771-5F3A8A4773CD%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From corysinman at gmail.com Thu Jan 9 00:15:25 2014 From: corysinman at gmail.com (Cory Inman) Date: Wed, 8 Jan 2014 19:15:25 -0500 Subject: Sending xdat (bit signals) from Eprime to ASL eye tracker through a Ethernet port (Socket Device) In-Reply-To: <4D6E25E5-9973-4B30-A771-5F3A8A4773CD@gmail.com> Message-ID: Thank you soo much Pip! That will be incredibly helpful. I'll make sure to remind you. We have been slowly, but surely making progress on it over the past few months. Just to make sure, is your script specifically for sending a signal through an Ethernet or socket device connection? It has been quite a battle, since no one at Eprime or ASL could tell me specifically what to do. If anything it will at least be nice to have some with whom I can share the pain ;) Thanks again! Looking forward to seeing the script! Cory On Jan 8, 2014, at 4:31 PM, Pip Griffiths wrote: > Yes! > > I will send you script on Friday when I am in the lab next, but please remind me. > > Also, I have found the ASL d6 to be a nightmare of a machine that couldn't track a thing at any reasonable accuracy. Further to this, the clunky and buggy analysis software is not set up for having multiple conditions (for example different emotional faces/genders/presentation times). It also doesn't like you randomising the stimuli. If you randomise you will have a lot of work putting things in order manually after the study. > > Yer, > Please email me on Friday. Also happy to answer any other questions that you have as I feel your (prospective) pain. > > Regards, > Pip Griffiths > PhD researcher > University of Bath > > On 8 Jan 2014, at 20:08, Cory Inman wrote: > >> Hi, Are there any labs out there that have successfully been able to send xdat (bit signals) from an Eprime script to mark event onsets on an ASL D6 eye tracker through an ethernet port (socket device)? Any help, basic example scripts, or examples of inline code to send these signals through socket device in eprime would be much appreciated. Thank you for your time and help! >> >> Cory Inman >> Emory University >> >> -- >> You received this message because you are subscribed to the Google Groups "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1143330f-f2ce-49fc-8f7a-4b18262a3846%40googlegroups.com. >> For more options, visit https://groups.google.com/groups/opt_out. > > > -- > 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/uW-I-xmDpTo/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/4D6E25E5-9973-4B30-A771-5F3A8A4773CD%40gmail.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/494F9F59-7B44-401A-BAFA-434F549BCADA%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bradyjanderson at gmail.com Thu Jan 9 05:20:04 2014 From: bradyjanderson at gmail.com (Brady Anderson) Date: Wed, 8 Jan 2014 21:20:04 -0800 Subject: Getting median RTs in real-time Message-ID: As E-Prime (to my knowledge as of posting) doesn't currently have a median summation ability, like it does for min,max,mean,etc. I had to come up with code to get E-Prime to return median reaction times for doing an FRN experiment. The paradigm was to use the median of the subject RTs for the first block of a task rest of the task to use as criteria for showing RT error feedback. I thought I would share the code I came up with to assist those (like in these E-Prime forum threads:http://www.pstnet.com/forum/Topic3559-5-1.aspx?Highlight=median and http://www.pstnet.com/forum/Topic3559-5-1.aspx?Highlight=median) who want E-Prime to return medians in real-time in a general fashion that can be otherwise adapted or referenced. First for the user script global variables: 'placed in user script tab dim mediancount as integer public medianrt() as integer dim median as integer "mediancount" is just the counter for populating the array of medianrt(). Though the task I did had 40 trials, I'll keep the dimensions undefined in case there are non-responses (so it doesn't skew the median, since E-Prime records non-responses as 0), and use the redim command to keep the array flexible with the following algorithm: 'placed in inline object after stimulus object which recorded response IF Stimulus.RT <> 0 then mediancount = mediancount + 1 redim preserve medianrt (mediancount) medianrt(mediancount) = Stimulus.RT END IF Obviously you can change the criteria after IF to anything you want to be included in the array, which gets redefined after each addition. Then I had another inline placed after the block but before the rest of the blocks for the rest of the trial which actually gets us the median, like so: 'placed in inline object after block of trials that would have the median RT ArraySort medianrt IF mediancount mod 2 = 0 then median = (medianrt(mediancount/2) + medianrt((mediancount/2) + 1))/2 ELSE median = medianrt((mediancount/2) + .5) END IF 'if you want to confirm the median, testing it against the EDAT file if you find the median by yourself in an Excel spreadsheet or something to double check it debug.print median This puts the whole array (which has the stimulus RTs) into numerical order with the command ArraySort (which turns gray, by the way), then I use the mod (which turns blue) operation algorithim to determine the median. The mod, short for modulation, is the remainder after division, so if there's all 40 trials, an even number, 40/2 goes into 10 with 0 left over, so E-Prime will take the mean between the 20th and 21st members to return the median, which here is the integer "median". If there's odd, that's easy, we know that since integers can only be even numbers there will be .5 left over, and the algorithm will just make E-Prime find the middle number and return that value labeled in the array to be our median, which we can then reference and manipulate all we want, so to complete the goal I had for the experimental paradigm, using the median RT to lower stimulus duration I could just do: 'placed in an inline object before the rest of the task hierarchy procedure c.SetAttrib "StimulusDur", .9*median and then I could just use [StimulusDur] in the duration field for the next stimulus slides, or use it in the recording responses field. This attribute and all the variables can of course be changed to anything that makes sense to you and works within your experiment. For mine I actually had "practrialcount" and "stimdur" instead of "mediancount" and "median", but it should work all the same. Hope this helps anyone out who needs the median like I did. I haven't done a time-audit to see how intensive this is on the computer, since for my task construction that wasn't really necessary, but I anticipate that this would be pretty negligible on most hardware. Let me know if I should post my task so it makes more sense in context. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/3713ee0b-b9df-4005-8075-176a6eb41b4d%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bradyjanderson at gmail.com Thu Jan 9 05:20:46 2014 From: bradyjanderson at gmail.com (Brady Anderson) Date: Wed, 8 Jan 2014 21:20:46 -0800 Subject: Summing object.ACC field and presenting as feedback In-Reply-To: <4b059b84.5944f10a.537c.0f8dSMTPIN_ADDED@gmr-mx.google.com> Message-ID: Here's my take on how to deal with getting medians in-task: https://groups.google.com/forum/#!topic/e-prime/6wKH5ceFuMQ which would admittedly be much easier if E-prime had a median summation. On Thursday, November 19, 2009 12:24:02 PM UTC-7, David McFarlane wrote: > > Liza, > > liwenna's answer covers what you need (thanks, liw!), but if you want > to read up some more then dive into chapter 4 of the User's Guide > that came with E-Prime, especially sections 4.3.4.1, 4.3.5, 4.4.3, and > 4.5.3.4. > > BTW, if you ever want to gather fancier descriptive statistics (e.g., > max, min, mean, standard deviation (but no median :( )), you can make > your life easier with a Summation object, just look at the Summation > topic in the online E-Basic Help. > > -- David McFarlane, Professional Faultfinder > > > At 11/19/2009 01:25 PM Thursday, liwenna wrote: > >Hey Liza, > > > >What you need is a variable that is able to carry information over > >several trials. > >This is done by 'user tab declared variables', which are variables > >that also fall out of the currect 'context' (or c. as in c.setattrib). > >Go to the script window and in the lower left tab select the user tab. > >On the user tab write: " dim ncorrect as integer " . There's your > >counter of correct trials. > > > >In the trialproc create an inline after slide2 that will update the > >attribute ncorrect. > > > >******************** > >if slide2.acc = 1 then ncorrect = ncorrect +1 > > > >c.setattrib "correctn", ncorrect > >***************** > > > >The first line adds 1 to ncorrect if the accurcay is 1, the second > >line writes ncorrect to correctn. Ncorrect will typically not be > >logged into your edat-file, whereas this line updates a logged > >attribute called correctn. > > > >Now in your feedback slide you can show the value of correctn (or > >ncorrect if you wish) as the value of xx in xx times in 25 tries. > > > >Hope this is clear enought to you. > > > >Best, > > > >liw > > > >On Nov 19, 6:47 pm, LizaM wrote: > > > Hello, > > > > > > Before I ask my question just let me say how useful this group is and > > > what an excellent resource for the current steep E-Prime learning > > > curve I find myself on - once I have learnt more and have useful stuff > > > to contribute I will do so! Thank you all :) > > > > > > I have an experiment where I have the user select a card from 5 cards > > > to see if they can match a card which is face down - all this is being > > > done on an object called Slide2. I am using a conditional CRESP to > > > record the correct response for each randomly selected card. So far so > > > good. However, the student I am programming for wants the feedback > > > given to the participant at the end in the form "You sucessfully > > > matched the card xx times in 25 tries". So, ideally, on the feedback > > > object I want to be able to tell it to add up the total of the > > > Slide2.ACC and present it as a result but I really can't see how to do > > > this! I can give feedback after each trial using Slide2 as the input > > > object that's not a problem but can't work out how to present the > > > total accuracy in this way.. any help gratefully recieved... > > > > > > Many Thanks > > > > > > Liza > > > >-- > > > >You received this message because you are subscribed to the Google > >Groups "E-Prime" group. > >To post to this group, send email to e-p... at googlegroups.com. > > >For more options, visit this group at > >http://groups.google.com/group/e-prime?hl=. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/11eb31e9-8ce5-4dfe-8013-c47cadf241bc%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 Jan 9 16:46:29 2014 From: jacanterbury at gmail.com (JACanterbury) Date: Thu, 9 Jan 2014 08:46:29 -0800 Subject: process mouse or keyboard input without clearing slide? Message-ID: Hi, I was hoping for a few pointers to save me going down too many dead ends. I want to display an image full screen and then get the participant to click at various points of interest around the screen. The might click many times. I will terminate either on a timer, or possibly by keyboard input Wherever the participant clicks, I want to display a marker on the screen at the location they clicked. I need to record somehow in a results file where and when they clicked. Does anyone done anything similar before or have any advice? I was thinking that perhaps it could be done all in ebasic without any slide objects. can i create and display a slide, and sub objects all from code and then just loop around waiting for mouse/keyboard input? Alternatively, is it possible to process input on a normal slide without the slide being terminated? Many thanks for your inspiration/advice, 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/d449d6d3-5191-488c-822a-e49c7ee6df73%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 Jan 9 19:24:20 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 9 Jan 2014 14:24:20 -0500 Subject: Correct serrated or burr losangle after drawing a diamond polygon In-Reply-To: <84cc7844-4a1d-489b-9eac-4b86d7468a7f@googlegroups.com> Message-ID: Hmm. I normally decline to look at extensive code samples or attached programs, but you made it very easy and I was curious. So I ran your code, and indeed got bad jagged edges for the diamonds. I thought I could just attribute this to low Display resolution (640 x 480 default), but got the same bad results at all other resolutions (max 1680 x 1050 on my machine), working with either EP1 or EP2. So it seems that the E-Basic Canvas.Polygon command simply does not do a good job of anti-aliasing (see http://en.wikipedia.org/wiki/Spatial_anti-aliasing for background information). Instead, you should make image files for your diamond and other shapes, then simply load those images to the Display as needed. This has the advantage that you can use good software to prepare your images and it will simplify your E-Basic code as you can simply redraw the same image to different defined locations. Come to think of this, using image files and Slides, you should be able to do this with no E-Basic code at all (I should have thought of this first, as this is the norma E-Prime way!). Just make a Slide with SlideImage sub-objects to hold your square and diamond images, then use attribute references from a List to assign the Position X & Y properies for each of those sub-objects. Easy-peasy (as long as you do not need too many diamond angles)! ----- 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 1/8/2014 09:56 AM Wednesday, Camila Gomes Victorino wrote: >I have a binary decision making task where the subject needs to find >out the diamond or losangle in one of the two sides. In the other >one, there is a square and it needs to be identical to the diamond >(just the angle position changes). I tried to draw the losangle and >it worked, the problem is that the stimulus appears with serrated or >burr sides. I tried to fix it putting the cnvs.penwidth and >modifying it but it changes a lot the diamond and it needs to be >identical to the square. I do not know how to fix it and get the >serrated burrs out. > >I wrote the code as this: > > 'Declare variables >Dim r, centerX, centerY As Integer > >'Create canvas >Set cnvs = Display.Canvas >cnvs.FillColor = CColor("White") >cnvs.Clear > >'Create fixation point >cnvs.TextColor = CColor ("black") >cnvs.FontName = "Courier New" >cnvs.FontSize = "18" >cnvs.FontBold = CLogical("Yes") >cnvs.Text 313, 228, "+" > >'Create gray squares >cnvs.Pencolor = CColor("Gray") >cnvs.Fillcolor = CColor("White") >cnvs.Rectangle 255, 205, 55, 62 >cnvs.Rectangle Display.XRes -310, 205, 55, 62 > >'Show targets >cnvs.Pencolor = CColor("black") >cnvs.Fillcolor = CColor("black") >If c.getattrib("Target") = "Diamond" Then >'Write a left diamond >Dim P (4) As Point >P(0).x = 280 >P(0).y = 218 >P(1).x = 296 >P(1).y = 239 >P(2).x = 280 >P(2).y = 256 >P(3).x = 265 >P(3).y = 239 >cnvs.Polygon P, 4 > >cnvs.Rectangle 345, 222, 25, 30 >Else >'Write a Rectangle >cnvs.Rectangle 270, 222, 25, 30 >'Write a Diamond > >Dim L (4) As Point >L(0).x = 357 >L(0).y = 218 >L(1).x = 373 >L(1).y = 239 >L(2).x = 357 >L(2).y = 256 >l(3).x = 342 >L(3).y = 239 >cnvs.Polygon L, 4 > > >End If > >Sleep (1000) > >Thank you! >Best regards, -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52cef766.0b39320a.4770.3876SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From gamze.trkmn at gmail.com Thu Jan 9 23:10:16 2014 From: gamze.trkmn at gmail.com (=?UTF-8?Q?Gamze_t=C3=BCrkmen?=) Date: Thu, 9 Jan 2014 15:10:16 -0800 Subject: Touch screen delay recording In-Reply-To: <31a7dea8-f9db-44c3-bdc6-aaf0913dfeeb@21g2000vbh.googlegroups.com> Message-ID: Hi, I have been dealing with the same issue. Has there been any progress on this issue? Thanks a lot. Gamze. 26 Nisan 2012 Per?embe 18:22:44 UTC+3 tarihinde francesca ciardo yazd?: > > Hi everybody, > I'm learning to use e-prime2.0 > I'm running an experiment with a touch screen as a device. > Each trial start with a double press on the keyboard and ends when > partecipant touch the screen. I need to known if there is any delay > between the touch and the RTs' touch recording and how I can estimate > it. > Shuold I write a Clock.Read il line? and How can I do it? > > I'd very much appreciate any help, many thanks in advance! > Francesca -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/6a35ce76-65fd-4ade-b9e3-f8a995f049e2%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From zouzhijo at gmail.com Fri Jan 10 04:31:08 2014 From: zouzhijo at gmail.com (zouzhijo at gmail.com) Date: Thu, 9 Jan 2014 20:31:08 -0800 Subject: Multiple Joysticks in E-prime Message-ID: I'd like to use two joysticks in my experiment to give response with E-prime. Subjects need to pull either one of the joystick to a certain location. But the software can only detect 1 joystick during the experiment. Would anybody kindly help me with this problem, that is, how can make the E-prime detect both of the joystick response? The version of E-prime is 2.0.8.22. Thank you very much! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/298d27ea-cb8a-4ea7-95c3-ab034bbc4fcb%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 Fri Jan 10 11:34:10 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Fri, 10 Jan 2014 12:34:10 +0100 Subject: process mouse or keyboard input without clearing slide? In-Reply-To: Message-ID: Hi John, I've modified the following example a bit to simplify it so it should work as you described: http://pfcgroot.nl/e-prime/83-example-scripts/84-image-selection-example.html This is the simplified version: http://pfcgroot.nl/e-prime/83-example-scripts/88-image-click-example.html The main trick in both examples, is that a stimulus is shown with a duration of zero. However, the image will stay on screen while a List object is used to handle individual mouse clicks. Visual click position feedback is done with a few canvas calls. The tricky part is to terminate the list after a specific timeout. This is done by dynamically setting the duration of the response object, because just setting the 'terminate after' property of the list will only check the time after each click. Best Paul On 9 January 2014 17:46, JACanterbury wrote: > Hi, > > I was hoping for a few pointers to save me going down too many dead ends. > > I want to display an image full screen and then get the participant to > click at various points of interest around the screen. > > The might click many times. > > I will terminate either on a timer, or possibly by keyboard input > > Wherever the participant clicks, I want to display a marker on the screen > at the location they clicked. > > I need to record somehow in a results file where and when they clicked. > > > Does anyone done anything similar before or have any advice? > > > I was thinking that perhaps it could be done all in ebasic without any > slide objects. can i create and display a slide, and sub objects all from > code and then just loop around waiting for mouse/keyboard input? > > Alternatively, is it possible to process input on a normal slide without > the slide being terminated? > > > Many thanks for your inspiration/advice, > > 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/d449d6d3-5191-488c-822a-e49c7ee6df73%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-vKj3R76wYeKqeCCYqHNZzqFfQ3zUkzamNFLqj0EfdjSg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hmouras at gmail.com Fri Jan 10 14:18:36 2014 From: hmouras at gmail.com (Harold Mouras) Date: Fri, 10 Jan 2014 06:18:36 -0800 Subject: Blockage in a very simple emotional faces recognition file Message-ID: Dear Support, I constructed a very simple emotional faces recognition file (attached). The file is working, until an e-run error message: ERROR: The datafile did not convert! FILE: ReVisageEmoPOFARabat1-1.txt then The following error occured while converting the data file: Error Message: Error occured reading text file - invalid variable name Line Number : 25 Error Number : 78 What could be the error ? Thank you very much in advance, Best regards, Harold Mouras -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/b138e00a-2ab2-4b88-b44e-cdc412e449cb%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: RecoVisageEmoPOFA Rabat.es2 Type: application/octet-stream Size: 55960 bytes Desc: not available URL: From mcfarla9 at msu.edu Fri Jan 10 15:05:11 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 10 Jan 2014 10:05:11 -0500 Subject: Blockage in a very simple emotional faces recognition file In-Reply-To: Message-ID: Harold, Can't be bothered to look at your .es2 file. How about you just tell us line 25 from your program, maybe that will be clue enough? -- David McFarlane At 1/10/2014 09:18 AM Friday, Harold Mouras wrote: >Dear Support, >I constructed a very simple emotional faces recognition file >(attached). The file is working, until an e-run error message: >ERROR: The datafile did not convert! >FILE: ReVisageEmoPOFARabat1-1.txt > >then > >The following error occured while converting the data file: >Error Message: Error occured reading text file - invalid variable name >Line Number : 25 >Error Number : 78 > >What could be the error ? > >Thank you very much in advance, >Best regards, >Harold Mouras > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To unsubscribe from this group and stop receiving emails from it, >send an email to e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/e-prime/b138e00a-2ab2-4b88-b44e-cdc412e449cb%40googlegroups.com. >For more options, visit >https://groups.google.com/groups/opt_out. >Content-Type: application/octet-stream; name="RecoVisageEmoPOFA Rabat.es2" >Content-Disposition: attachment; filename="RecoVisageEmoPOFA Rabat.es2" >X-Attachment-Id: f2f095ca-dbfa-42c4-b92e-f88a52069891 >Content-ID: -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52d00c29.220c320a.5717.14c6SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From pfc.groot at gmail.com Fri Jan 10 15:29:29 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Fri, 10 Jan 2014 16:29:29 +0100 Subject: Blockage in a very simple emotional faces recognition file In-Reply-To: <52d00c29.220c320a.5717.14c6SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: I think the line number points to a line in the text file that could not be converted. You probably used an attribute name that is allready used by eprime itself! Paul On 10 January 2014 16:05, David McFarlane wrote: > Harold, > > Can't be bothered to look at your .es2 file. How about you just tell us > line 25 from your program, maybe that will be clue enough? > > -- David McFarlane > > > > At 1/10/2014 09:18 AM Friday, Harold Mouras wrote: > > Dear Support, >> I constructed a very simple emotional faces recognition file (attached). >> The file is working, until an e-run error message: >> ERROR: The datafile did not convert! >> FILE: ReVisageEmoPOFARabat1-1.txt >> >> then >> >> The following error occured while converting the data file: >> Error Message: Error occured reading text file - invalid variable name >> Line Number : 25 >> Error Number : 78 >> >> What could be the error ? >> >> Thank you very much in advance, >> Best regards, >> Harold Mouras >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit > msgid/e-prime/b138e00a-2ab2-4b88-b44e-cdc412e449cb%40googlegroups.com> >> https://groups.google.com/d/msgid/e-prime/b138e00a-2ab2-4b88-b44e- >> cdc412e449cb%40googlegroups.com. >> For more options, visit >> https://groups.google.com/groups/opt_out. >> Content-Type: application/octet-stream; name="RecoVisageEmoPOFA Rabat.es2" >> Content-Disposition: attachment; filename="RecoVisageEmoPOFA Rabat.es2" >> X-Attachment-Id: f2f095ca-dbfa-42c4-b92e-f88a52069891 >> Content-ID: >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/e-prime/52d00c29.220c320a.5717.14c6SMTPIN_ > 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-vf%3DA7mq2OB7f_B4pfLQwufCyc%3D9qOY-MJDHspe9h7txg%40mail.gmail.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 Fri Jan 10 16:47:01 2014 From: jacanterbury at gmail.com (JACanterbury) Date: Fri, 10 Jan 2014 08:47:01 -0800 Subject: process mouse or keyboard input without clearing slide? In-Reply-To: Message-ID: Thanks Paul. Just seen this. Sounds hopeful (and interesting) - I will give it a go on monday. Have a nice weekend, cheers, John On Friday, January 10, 2014 11:34:10 AM UTC, Paul Groot wrote: > > Hi John, > > I've modified the following example a bit to simplify it so it should work > as you described: > > http://pfcgroot.nl/e-prime/83-example-scripts/84-image-selection-example.html > > This is the simplified version: > http://pfcgroot.nl/e-prime/83-example-scripts/88-image-click-example.html > > The main trick in both examples, is that a stimulus is shown with a > duration of zero. However, the image will stay on screen while a List > object is used to handle individual mouse clicks. Visual click position > feedback is done with a few canvas calls. The tricky part is to terminate > the list after a specific timeout. This is done by dynamically setting the > duration of the response object, because just setting the 'terminate after' > property of the list will only check the time after each click. > > Best > Paul > > > > > > > > On 9 January 2014 17:46, JACanterbury >wrote: > >> Hi, >> >> I was hoping for a few pointers to save me going down too many dead ends. >> >> I want to display an image full screen and then get the participant to >> click at various points of interest around the screen. >> >> The might click many times. >> >> I will terminate either on a timer, or possibly by keyboard input >> >> Wherever the participant clicks, I want to display a marker on the screen >> at the location they clicked. >> >> I need to record somehow in a results file where and when they clicked. >> >> >> Does anyone done anything similar before or have any advice? >> >> >> I was thinking that perhaps it could be done all in ebasic without any >> slide objects. can i create and display a slide, and sub objects all from >> code and then just loop around waiting for mouse/keyboard input? >> >> Alternatively, is it possible to process input on a normal slide without >> the slide being terminated? >> >> >> Many thanks for your inspiration/advice, >> >> 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+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/d449d6d3-5191-488c-822a-e49c7ee6df73%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/8e60f014-858c-4146-8044-c4c7c1a8e365%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pipgriffiths86 at gmail.com Fri Jan 10 20:58:37 2014 From: pipgriffiths86 at gmail.com (Pip Griffiths) Date: Fri, 10 Jan 2014 20:58:37 +0000 Subject: Xdat eyetracking Message-ID: Hi, who needed the xdat eyetracking script? i deleted your email... damn iPhone pip -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAHVamWgCxraTNyzpmoTQQvN1VyL8CYO0fT88ttDX-WhMqv%3DxDQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marisaann at gmail.com Sun Jan 12 23:24:32 2014 From: marisaann at gmail.com (Marisa) Date: Sun, 12 Jan 2014 15:24:32 -0800 Subject: TET/E-Prime synchronization problem Message-ID: I posted this over at the pstnet forums but thought I'd give it a try over here too. Long story short, I'm running an eye-tracking experiment with E-Prime, and I switched over from a two-computer, Tobii Studio/E-Prime setup to a one-computer setup without Tobii Studio (but still using TET and Clearview packages). Now the data file won't display the correct name of the item showing on screen when the data point was recorded. In the script, this is done by comparing the RTTime to the slide onset time (in my experiment it is further complicated by my adding variables recorded in the trial list that mark various points in the sound file on the slide, such as verb onset, direct object onset, etc.). On my old setup, everything worked fine. Now I am only getting the name of the item associated with the last-listed condition in the script. It seems as if the RTTime is always much larger than the slide onset time, so that the script jumps straight to the last condition. This seems to be related to the fact that the TETTime starts running when the TET server is turned on (so if I were to leave it on for an hour before the experiment starts, my first TETTime data point would be 3600000 ms). If I turn on the TET server and then immediately start running the E-Prime experiment, the problem in the data file goes away. However, I don't want to rely on this method because it is imprecise and means I would have to stop and start the server after calibration and at other parts in the experiment when data isn't being collected. I'm not sure why this is happening, or why the RTTime (which comes from E-Prime) should be decoupled from the slide onset times (which also come from E-Prime). I'd appreciate any insights anyone might have. 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/e60cd912-7141-4343-a164-43c5a75e8cec%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.steven.franklin at gmail.com Mon Jan 13 01:27:45 2014 From: michael.steven.franklin at gmail.com (Michael Franklin) Date: Sun, 12 Jan 2014 17:27:45 -0800 Subject: E-prime extensions for Tobii -- Script to read in txt, collect word gaze durations Message-ID: I'm hoping to find a standard naturalistic reading paradigm script (w/Eprime extentsion for tobii) where participants simply read text a page at a time, and gaze durations are measured for the individual words. Any help hunting this down would be greatly appreciated! thanks, Michael -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAMKb4bb%2B-e8TrymJbo-CicyMJgc%3DabsuiAk_%3DFXYm0kGEszqdg%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 Jan 13 14:46:31 2014 From: nebizzy at gmail.com (Ieva Zeromskaite) Date: Mon, 13 Jan 2014 06:46:31 -0800 Subject: Presentation of multiple images during one soundfile Message-ID: Dear E-primers, I would appreciate very much if anybody could help me with the issues I have with my experiment. I looked up similar topics in previous threads but could not find an answer I need. Several people who are good at E-prime have not been able to solve the issue I have, so I thought I'd ask here. The main issue is that I need to present a series of images while one soundfile is playing continuously. I have 2 conditions : 1) the in-synchrony condition when images are presented on the beat of soundfile 2) the out-of-synchrony condition when images are presented off-beat I have 2 soundfiles - one lasts 2 seconds, and the other - 12 seconds. In terms of sound, I need the first 2 sec file to play once at the start of the block, and the second one (12secs) to be played in a loop straight after the first one. The 'loopfile' consists of 4 measures, and each measure (3s) has 4 beats at 0, 750ms, 1500ms and 2250ms. The fourth beat is a 'silent' beat, and in the -in-sync condition the image should appear on that fourth silent beat. In out-of-sync condition, the first image should appear at the very start of the second soundfile (the loopfile) and the next ones should appear in every 3 seconds. In in-sync condition, the first image should appear 250ms after the loopfile starts, and again, the other images - every 3 seconds. Images are presented for 250ms followed by 2750ms of fixation cross. So visually, what happens is: IN-SYNC: 1.beginning file (2s) 2.loopfile (12seconds and repeats itself) 3. the images (changes every 3 seconds) start 250ms after the start of loopfile, and the loopfile keeps playing until all the images are shown. OUT-OF-SYNC: 1.beginning file (2s). 2. loopfile starts at the same time as picture presentation (changes every 3 seconds), the loopfile keeps playing, same as in the in-sync condition. Participants give their responses (to a question 'have you seen this face before?' after that brief presentation of every face for 250ms). This experiment will test if the working memory is enhanced when face images are presented in-synchrony with the musical beat. This is my last-resort help call, if anybody could help me with this, I'd be eternally grateful:) Thank you in advance! 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/60e9cb95-1ee3-46d5-b673-dbb6e10fc96c%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From stargateatlantis0 at gmail.com Mon Jan 13 16:10:29 2014 From: stargateatlantis0 at gmail.com (Camila Gomes Victorino) Date: Mon, 13 Jan 2014 08:10:29 -0800 Subject: Correct serrated or burr losangle after drawing a diamond polygon In-Reply-To: <52cef766.0b39320a.4770.3876SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David! Thank you for your answer! As I wrote my TrialProc as a queue of InLines (each one composing a canvas, showing different figures until feedback), using the Slide Image would create other canvas, different from the others and I don`t know if it is possible to mix two canvas in one, for example, some inline figures to the Images in SlideImage, all at once, so I employed your idea, creating two images.bmp (one with left diamond and right square and other with right diamond and left square) and created a row in the TrialList, called TargetImage, linking each image file to a specific target in the trialList. After that, I came back to the Inline where the serrated diamond was written and tried to write the code to load and show this two images, based on the TrialList. The problem is I am having trouble to discover what to do. In the part where the serrated diamond was written, I changed to: 'Show targets If c.getattrib("Target") = "Diamond" Then c.getattrib("TargetImage") = "DiamondLeft.bmp" Else 'Write a Diamond c.getattrib("TargetImage") = "DiamondRight.bmp" End If When I compile it says: "Can't assign to constant". I suspect I need to load the images first but I don`t know how to do it! Or I need to declare and set the bmp file (no clues!!). Other solution I figured out was to write a code to load and show the images directly. For example: 'Show targets If c.getattrib("Target") = "Diamond" Then "WRITE" = "DiamondLeft.bmp" Else 'Write a Diamond "WRITE" = "DiamondRight.bmp" End if The problem is I tried everything! I went to E-prime Help and copied and tried to use Canvas.LoadImage, ImageDisplay.Filename and ImageDisplay.Load but I`ve never succeed! Maybe it is a simple answer but I am a novice in programming. Any advice? Thank you for your help! Regards, Camila. Em quinta-feira, 9 de janeiro de 2014 19h24min20s UTC, McFarlane, David escreveu: > > Hmm. I normally decline to look at extensive code samples or > attached programs, but you made it very easy and I was curious. So I > ran your code, and indeed got bad jagged edges for the diamonds. I > thought I could just attribute this to low Display resolution (640 x > 480 default), but got the same bad results at all other resolutions > (max 1680 x 1050 on my machine), working with either EP1 or EP2. So > it seems that the E-Basic Canvas.Polygon command simply does not do a > good job of anti-aliasing (see > http://en.wikipedia.org/wiki/Spatial_anti-aliasing for background > information). > > Instead, you should make image files for your diamond and other > shapes, then simply load those images to the Display as needed. This > has the advantage that you can use good software to prepare your > images and it will simplify your E-Basic code as you can simply > redraw the same image to different defined locations. > > Come to think of this, using image files and Slides, you should be > able to do this with no E-Basic code at all (I should have thought of > this first, as this is the norma E-Prime way!). Just make a Slide > with SlideImage sub-objects to hold your square and diamond images, > then use attribute references from a List to assign the Position X & > Y properies for each of those sub-objects. Easy-peasy (as long as > you do not need too many diamond angles)! > > ----- > 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 1/8/2014 09:56 AM Wednesday, Camila Gomes Victorino wrote: > >I have a binary decision making task where the subject needs to find > >out the diamond or losangle in one of the two sides. In the other > >one, there is a square and it needs to be identical to the diamond > >(just the angle position changes). I tried to draw the losangle and > >it worked, the problem is that the stimulus appears with serrated or > >burr sides. I tried to fix it putting the cnvs.penwidth and > >modifying it but it changes a lot the diamond and it needs to be > >identical to the square. I do not know how to fix it and get the > >serrated burrs out. > > > >I wrote the code as this: > > > > 'Declare variables > >Dim r, centerX, centerY As Integer > > > >'Create canvas > >Set cnvs = Display.Canvas > >cnvs.FillColor = CColor("White") > >cnvs.Clear > > > >'Create fixation point > >cnvs.TextColor = CColor ("black") > >cnvs.FontName = "Courier New" > >cnvs.FontSize = "18" > >cnvs.FontBold = CLogical("Yes") > >cnvs.Text 313, 228, "+" > > > >'Create gray squares > >cnvs.Pencolor = CColor("Gray") > >cnvs.Fillcolor = CColor("White") > >cnvs.Rectangle 255, 205, 55, 62 > >cnvs.Rectangle Display.XRes -310, 205, 55, 62 > > > >'Show targets > >cnvs.Pencolor = CColor("black") > >cnvs.Fillcolor = CColor("black") > >If c.getattrib("Target") = "Diamond" Then > >'Write a left diamond > >Dim P (4) As Point > >P(0).x = 280 > >P(0).y = 218 > >P(1).x = 296 > >P(1).y = 239 > >P(2).x = 280 > >P(2).y = 256 > >P(3).x = 265 > >P(3).y = 239 > >cnvs.Polygon P, 4 > > > >cnvs.Rectangle 345, 222, 25, 30 > >Else > >'Write a Rectangle > >cnvs.Rectangle 270, 222, 25, 30 > >'Write a Diamond > > > >Dim L (4) As Point > >L(0).x = 357 > >L(0).y = 218 > >L(1).x = 373 > >L(1).y = 239 > >L(2).x = 357 > >L(2).y = 256 > >l(3).x = 342 > >L(3).y = 239 > >cnvs.Polygon L, 4 > > > > > >End If > > > >Sleep (1000) > > > >Thank you! > >Best regards, > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/dcc3a442-d83a-421a-913f-3dc15ec035fe%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 Jan 13 19:59:07 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 13 Jan 2014 14:59:07 -0500 Subject: Correct serrated or burr losangle after drawing a diamond polygon In-Reply-To: Message-ID: Camila, Just a few comments... 1) I really do not get why you do not want to do this with Slides, and then get rid of all the inline code. 2) Lines like c.getattrib("TargetImage") = "DiamondLeft.bmp" are illegal. c.getattrib("TargetImage") returns a value, and it makes no sense to assign a value to a returned value. If you have trouble with that, then it means that you need to take a course in Introduction to Programming. 3) Judging from other mistakes (e.g., '"WRITE" = "DiamondLeft.bmp"', which makes no sense), I get the feeling that you need to get a fair bit of background knowledge before anything said here will help. Once again, this points toward taking a course in Introduction to Programming. 4) But if you really want to do it on your own, then start with the general comments at https://groups.google.com/d/topic/e-prime/VCXgOWjKtCg . Best, -- David McFarlane At 1/13/2014 11:10 AM Monday, Camila Gomes Victorino wrote: >Hi David! >Thank you for your answer! >As I wrote my TrialProc as a queue of InLines (each one composing a >canvas, showing different figures until feedback), using the Slide >Image would create other canvas, different from the others and I >don`t know if it is possible to mix two canvas in one, for example, >some inline figures to the Images in SlideImage, all at once, so >I employed your idea, creating two images.bmp (one with left diamond >and right square and other with right diamond and left square) and >created a row in the TrialList, called TargetImage, linking each >image file to a specific target in the trialList. After that, I came >back to the Inline where the serrated diamond was written and tried >to write the code to load and show this two images, based on the >TrialList. The problem is I am having trouble to discover what to do. > >In the part where the serrated diamond was written, I changed to: >'Show targets >If c.getattrib("Target") = "Diamond" Then >c.getattrib("TargetImage") = "DiamondLeft.bmp" >Else >'Write a Diamond >c.getattrib("TargetImage") = "DiamondRight.bmp" >End If > >When I compile it says: "Can't assign to constant". I suspect I need >to load the images first but I don`t know how to do it! Or I need to >declare and set the bmp file (no clues!!). > >Other solution I figured out was to write a code to load and show >the images directly. For example: >'Show targets >If c.getattrib("Target") = "Diamond" Then >"WRITE" = "DiamondLeft.bmp" >Else >'Write a Diamond >"WRITE" = "DiamondRight.bmp" >End if > >The problem is I tried everything! I went to E-prime Help and copied >and tried to use Canvas.LoadImage, ImageDisplay.Filename and >ImageDisplay.Load but I`ve never succeed! >Maybe it is a simple answer but I am a novice in programming. Any advice? > >Thank you for your help! >Regards, Camila. > >Em quinta-feira, 9 de janeiro de 2014 19h24min20s UTC, McFarlane, >David escreveu: >Hmm. I normally decline to look at extensive code samples or >attached programs, but you made it very easy and I was curious. So I >ran your code, and indeed got bad jagged edges for the diamonds. I >thought I could just attribute this to low Display resolution (640 x >480 default), but got the same bad results at all other resolutions >(max 1680 x 1050 on my machine), working with either EP1 or EP2. So >it seems that the E-Basic Canvas.Polygon command simply does not do a >good job of anti-aliasing (see >http://en.wikipedia.org/wiki/Spatial_anti-aliasing >for background information). > >Instead, you should make image files for your diamond and other >shapes, then simply load those images to the Display as needed. This >has the advantage that you can use good software to prepare your >images and it will simplify your E-Basic code as you can simply >redraw the same image to different defined locations. > >Come to think of this, using image files and Slides, you should be >able to do this with no E-Basic code at all (I should have thought of >this first, as this is the norma E-Prime way!). Just make a Slide >with SlideImage sub-objects to hold your square and diamond images, >then use attribute references from a List to assign the Position X & >Y properies for each of those sub-objects. Easy-peasy (as long as >you do not need too many diamond angles)! > >----- >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 1/8/2014 09:56 AM Wednesday, Camila Gomes Victorino wrote: > >I have a binary decision making task where the subject needs to find > >out the diamond or losangle in one of the two sides. In the other > >one, there is a square and it needs to be identical to the diamond > >(just the angle position changes). I tried to draw the losangle and > >it worked, the problem is that the stimulus appears with serrated or > >burr sides. I tried to fix it putting the cnvs.penwidth and > >modifying it but it changes a lot the diamond and it needs to be > >identical to the square. I do not know how to fix it and get the > >serrated burrs out. > > > >I wrote the code as this: > > > > 'Declare variables > >Dim r, centerX, centerY As Integer > > > >'Create canvas > >Set cnvs = Display.Canvas > >cnvs.FillColor = CColor("White") > >cnvs.Clear > > > >'Create fixation point > >cnvs.TextColor = CColor ("black") > >cnvs.FontName = "Courier New" > >cnvs.FontSize = "18" > >cnvs.FontBold = CLogical("Yes") > >cnvs.Text 313, 228, "+" > > > >'Create gray squares > >cnvs.Pencolor = CColor("Gray") > >cnvs.Fillcolor = CColor("White") > >cnvs.Rectangle 255, 205, 55, 62 > >cnvs.Rectangle Display.XRes -310, 205, 55, 62 > > > >'Show targets > >cnvs.Pencolor = CColor("black") > >cnvs.Fillcolor = CColor("black") > >If c.getattrib("Target") = "Diamond" Then > >'Write a left diamond > >Dim P (4) As Point > >P(0).x = 280 > >P(0).y = 218 > >P(1).x = 296 > >P(1).y = 239 > >P(2).x = 280 > >P(2).y = 256 > >P(3).x = 265 > >P(3).y = 239 > >cnvs.Polygon P, 4 > > > >cnvs.Rectangle 345, 222, 25, 30 > >Else > >'Write a Rectangle > >cnvs.Rectangle 270, 222, 25, 30 > >'Write a Diamond > > > >Dim L (4) As Point > >L(0).x = 357 > >L(0).y = 218 > >L(1).x = 373 > >L(1).y = 239 > >L(2).x = 357 > >L(2).y = 256 > >l(3).x = 342 > >L(3).y = 239 > >cnvs.Polygon L, 4 > > > > > >End If > > > >Sleep (1000) > > > >Thank you! > >Best regards, > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To unsubscribe from this group and stop receiving emails from it, >send an email to e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/e-prime/dcc3a442-d83a-421a-913f-3dc15ec035fe%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/52d44590.aa49320a.6558.ffff9130SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Mon Jan 13 20:07:36 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 13 Jan 2014 15:07:36 -0500 Subject: Presentation of multiple images during one soundfile In-Reply-To: <60e9cb95-1ee3-46d5-b673-dbb6e10fc96c@googlegroups.com> Message-ID: Ieva, Not clear what part gives you trouble here. But you can present a sequence of images during sound playback merely be setting Stop After to "No" on your sound objects, and setting Duration to 0 or whatever. Then the sound will continue to play while your program goes on to present images. And if it were me, I might create one sound file that repeats the "loopfile" as many times as needed, rather than relying on E-Prime's "Loop" functioning. Or maybe I am missing something there? ----- 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 1/13/2014 09:46 AM Monday, Ieva Zeromskaite wrote: >I would appreciate very much if anybody could help me with the >issues I have with my experiment. >I looked up similar topics in previous threads but could not find an >answer I need. Several people who are good at E-prime have not been >able to solve the issue I have, so I thought I'd ask here. > >The main issue is that I need to present a series of images while >one soundfile is playing continuously. >I have 2 conditions : 1) the in-synchrony condition when images are >presented on the beat of soundfile 2) the out-of-synchrony condition >when images are presented off-beat >I have 2 soundfiles - one lasts 2 seconds, and the other - 12 >seconds. In terms of sound, I need the first 2 sec file to play once >at the start of the block, and the second one (12secs) to be played >in a loop straight after the first one. The 'loopfile' consists of 4 >measures, and each measure (3s) has 4 beats at 0, 750ms, 1500ms and >2250ms. The fourth beat is a 'silent' beat, and in the -in-sync >condition the image should appear on that fourth silent beat. > >In out-of-sync condition, the first image should appear at the very >start of the second soundfile (the loopfile) and the next ones >should appear in every 3 seconds. In in-sync condition, the first >image should appear 250ms after the loopfile starts, and again, the >other images - every 3 seconds. Images are presented for 250ms >followed by 2750ms of fixation cross. > >So visually, what happens is: >IN-SYNC: 1.beginning file (2s) 2.loopfile (12seconds and repeats >itself) 3. the images (changes every 3 seconds) start 250ms after >the start of loopfile, and the loopfile keeps playing until all the >images are shown. >OUT-OF-SYNC: 1.beginning file (2s). 2. loopfile starts at the same >time as picture presentation (changes every 3 seconds), the loopfile >keeps playing, same as in the in-sync condition. >Participants give their responses (to a question 'have you seen this >face before?' after that brief presentation of every face for >250ms). This experiment will test if the working memory is enhanced >when face images are presented in-synchrony with the musical beat. > >This is my last-resort help call, if anybody could help me with >this, I'd be eternally grateful:) > >Thank you in advance! > >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/52d4478d.2cdd320a.0aaf.ffff9247SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From stargateatlantis0 at gmail.com Mon Jan 13 21:01:31 2014 From: stargateatlantis0 at gmail.com (Camila Gomes Victorino) Date: Mon, 13 Jan 2014 13:01:31 -0800 Subject: Correct serrated or burr losangle after drawing a diamond polygon In-Reply-To: <52d44590.aa49320a.6558.ffff9130SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Dear David, I would like to learn code and it is because of that I prefer to use Inline. About the "write" think, I just put on that way to try to explain what I wanted to do (I know you don't do this in this way). It has been just a month since I first began to program. It is fact I need courses and as you don?t know me, there is the possibility I will be unable to understand your responses about any other code you could be able to write about my doubts but, really? Do you really need to answer in this way? I am learning and off course I will write dumb mistakes but it does not mean someone could help me to understand, instead of saying ?I get the feeling that you need to get a fair bit of background knowledge before anything said here will help.? I know I need background! Off course! If I didn?t why would I be here in this forum and using E-prime? I will use Python straight ahead! Finally, I've never thought to do this on my own and it is because of that I entered on this forum. Anyway, best for you too and thank you for the tips and links! Em segunda-feira, 13 de janeiro de 2014 19h59min07s UTC, McFarlane, David escreveu: > > Camila, > > Just a few comments... > > 1) I really do not get why you do not want to do this with Slides, > and then get rid of all the inline code. > > 2) Lines like > c.getattrib("TargetImage") = "DiamondLeft.bmp" > are illegal. c.getattrib("TargetImage") returns a value, and it > makes no sense to assign a value to a returned value. If you have > trouble with that, then it means that you need to take a course in > Introduction to Programming. > > 3) Judging from other mistakes (e.g., '"WRITE" = "DiamondLeft.bmp"', > which makes no sense), I get the feeling that you need to get a fair > bit of background knowledge before anything said here will > help. Once again, this points toward taking a course in Introduction > to Programming. > > 4) But if you really want to do it on your own, then start with the > general comments at https://groups.google.com/d/topic/e-prime/VCXgOWjKtCg. > > Best, > -- David McFarlane > > > At 1/13/2014 11:10 AM Monday, Camila Gomes Victorino wrote: > >Hi David! > >Thank you for your answer! > >As I wrote my TrialProc as a queue of InLines (each one composing a > >canvas, showing different figures until feedback), using the Slide > >Image would create other canvas, different from the others and I > >don`t know if it is possible to mix two canvas in one, for example, > >some inline figures to the Images in SlideImage, all at once, so > >I employed your idea, creating two images.bmp (one with left diamond > >and right square and other with right diamond and left square) and > >created a row in the TrialList, called TargetImage, linking each > >image file to a specific target in the trialList. After that, I came > >back to the Inline where the serrated diamond was written and tried > >to write the code to load and show this two images, based on the > >TrialList. The problem is I am having trouble to discover what to do. > > > >In the part where the serrated diamond was written, I changed to: > >'Show targets > >If c.getattrib("Target") = "Diamond" Then > >c.getattrib("TargetImage") = "DiamondLeft.bmp" > >Else > >'Write a Diamond > >c.getattrib("TargetImage") = "DiamondRight.bmp" > >End If > > > >When I compile it says: "Can't assign to constant". I suspect I need > >to load the images first but I don`t know how to do it! Or I need to > >declare and set the bmp file (no clues!!). > > > >Other solution I figured out was to write a code to load and show > >the images directly. For example: > >'Show targets > >If c.getattrib("Target") = "Diamond" Then > >"WRITE" = "DiamondLeft.bmp" > >Else > >'Write a Diamond > >"WRITE" = "DiamondRight.bmp" > >End if > > > >The problem is I tried everything! I went to E-prime Help and copied > >and tried to use Canvas.LoadImage, ImageDisplay.Filename and > >ImageDisplay.Load but I`ve never succeed! > >Maybe it is a simple answer but I am a novice in programming. Any advice? > > > >Thank you for your help! > >Regards, Camila. > > > >Em quinta-feira, 9 de janeiro de 2014 19h24min20s UTC, McFarlane, > >David escreveu: > >Hmm. I normally decline to look at extensive code samples or > >attached programs, but you made it very easy and I was curious. So I > >ran your code, and indeed got bad jagged edges for the diamonds. I > >thought I could just attribute this to low Display resolution (640 x > >480 default), but got the same bad results at all other resolutions > >(max 1680 x 1050 on my machine), working with either EP1 or EP2. So > >it seems that the E-Basic Canvas.Polygon command simply does not do a > >good job of anti-aliasing (see > > > http://en.wikipedia.org/wiki/Spatial_anti-aliasing > >for background information). > > > >Instead, you should make image files for your diamond and other > >shapes, then simply load those images to the Display as needed. This > >has the advantage that you can use good software to prepare your > >images and it will simplify your E-Basic code as you can simply > >redraw the same image to different defined locations. > > > >Come to think of this, using image files and Slides, you should be > >able to do this with no E-Basic code at all (I should have thought of > >this first, as this is the norma E-Prime way!). Just make a Slide > >with SlideImage sub-objects to hold your square and diamond images, > >then use attribute references from a List to assign the Position X & > >Y properies for each of those sub-objects. Easy-peasy (as long as > >you do not need too many diamond angles)! > > > >----- > >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 1/8/2014 09:56 AM Wednesday, Camila Gomes Victorino wrote: > > >I have a binary decision making task where the subject needs to find > > >out the diamond or losangle in one of the two sides. In the other > > >one, there is a square and it needs to be identical to the diamond > > >(just the angle position changes). I tried to draw the losangle and > > >it worked, the problem is that the stimulus appears with serrated or > > >burr sides. I tried to fix it putting the cnvs.penwidth and > > >modifying it but it changes a lot the diamond and it needs to be > > >identical to the square. I do not know how to fix it and get the > > >serrated burrs out. > > > > > >I wrote the code as this: > > > > > > 'Declare variables > > >Dim r, centerX, centerY As Integer > > > > > >'Create canvas > > >Set cnvs = Display.Canvas > > >cnvs.FillColor = CColor("White") > > >cnvs.Clear > > > > > >'Create fixation point > > >cnvs.TextColor = CColor ("black") > > >cnvs.FontName = "Courier New" > > >cnvs.FontSize = "18" > > >cnvs.FontBold = CLogical("Yes") > > >cnvs.Text 313, 228, "+" > > > > > >'Create gray squares > > >cnvs.Pencolor = CColor("Gray") > > >cnvs.Fillcolor = CColor("White") > > >cnvs.Rectangle 255, 205, 55, 62 > > >cnvs.Rectangle Display.XRes -310, 205, 55, 62 > > > > > >'Show targets > > >cnvs.Pencolor = CColor("black") > > >cnvs.Fillcolor = CColor("black") > > >If c.getattrib("Target") = "Diamond" Then > > >'Write a left diamond > > >Dim P (4) As Point > > >P(0).x = 280 > > >P(0).y = 218 > > >P(1).x = 296 > > >P(1).y = 239 > > >P(2).x = 280 > > >P(2).y = 256 > > >P(3).x = 265 > > >P(3).y = 239 > > >cnvs.Polygon P, 4 > > > > > >cnvs.Rectangle 345, 222, 25, 30 > > >Else > > >'Write a Rectangle > > >cnvs.Rectangle 270, 222, 25, 30 > > >'Write a Diamond > > > > > >Dim L (4) As Point > > >L(0).x = 357 > > >L(0).y = 218 > > >L(1).x = 373 > > >L(1).y = 239 > > >L(2).x = 357 > > >L(2).y = 256 > > >l(3).x = 342 > > >L(3).y = 239 > > >cnvs.Polygon L, 4 > > > > > > > > >End If > > > > > >Sleep (1000) > > > > > >Thank you! > > >Best regards, > > > >-- > >You received this message because you are subscribed 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/dcc3a442-d83a-421a-913f-3dc15ec035fe%40googlegroups.com > > > https://groups.google.com/d/msgid/e-prime/dcc3a442-d83a-421a-913f-3dc15ec035fe%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/514b2dd0-659b-4bad-970e-3a61378e19e6%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 Jan 13 21:20:27 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 13 Jan 2014 16:20:27 -0500 Subject: Correct serrated or burr losangle after drawing a diamond polygon In-Reply-To: <514b2dd0-659b-4bad-970e-3a61378e19e6@googlegroups.com> Message-ID: Camila, If you are already comfortable with Python, and are really intent about learning how to code, then I highly recommend PsychoPy, psychopy.org . That might make a better platform than E-Prime for your interests. All the best, -- David At 1/13/2014 04:01 PM Monday, Camila Gomes Victorino wrote: >Dear David, > >I would like to learn code and it is because of that I prefer to use Inline. >About the "write" think, I just put on that way to try to explain >what I wanted to do (I know you don't do this in this way). > >It has been just a month since I first began to program. It is fact >I need courses and as you don't know me, there is the possibility I >will be unable to understand your responses about any other code you >could be able to write about my doubts but, really? Do you really >need to answer in this way? I am learning and off course I will >write dumb mistakes but it does not mean someone could help me to >understand, instead of saying "I get the feeling that you need to get a fair > >bit of background knowledge before anything said here will help." I >know I need background! Off course! If I didn't why would I be here >in this forum and using E-prime? I will use Python straight ahead! > >Finally, I've never thought to do this on my own and it is because >of that I entered on this forum. > >Anyway, best for you too and thank you for the tips and links! > > > >Em segunda-feira, 13 de janeiro de 2014 19h59min07s UTC, McFarlane, >David escreveu: >Camila, > >Just a few comments... > >1) I really do not get why you do not want to do this with Slides, >and then get rid of all the inline code. > >2) Lines like > c.getattrib("TargetImage") = "DiamondLeft.bmp" >are illegal. c.getattrib("TargetImage") returns a value, and it >makes no sense to assign a value to a returned value. If you have >trouble with that, then it means that you need to take a course in >Introduction to Programming. > >3) Judging from other mistakes (e.g., '"WRITE" = "DiamondLeft.bmp"', >which makes no sense), I get the feeling that you need to get a fair >bit of background knowledge before anything said here will >help. Once again, this points toward taking a course in Introduction >to Programming. > >4) But if you really want to do it on your own, then start with the >general comments at >https://groups.google.com/d/topic/e-prime/VCXgOWjKtCg >. > >Best, >-- David McFarlane > > >At 1/13/2014 11:10 AM Monday, Camila Gomes Victorino wrote: > >Hi David! > >Thank you for your answer! > >As I wrote my TrialProc as a queue of InLines (each one composing a > >canvas, showing different figures until feedback), using the Slide > >Image would create other canvas, different from the others and I > >don`t know if it is possible to mix two canvas in one, for example, > >some inline figures to the Images in SlideImage, all at once, so > >I employed your idea, creating two images.bmp (one with left diamond > >and right square and other with right diamond and left square) and > >created a row in the TrialList, called TargetImage, linking each > >image file to a specific target in the trialList. After that, I came > >back to the Inline where the serrated diamond was written and tried > >to write the code to load and show this two images, based on the > >TrialList. The problem is I am having trouble to discover what to do. > > > >In the part where the serrated diamond was written, I changed to: > >'Show targets > >If c.getattrib("Target") = "Diamond" Then > >c.getattrib("TargetImage") = "DiamondLeft.bmp" > >Else > >'Write a Diamond > >c.getattrib("TargetImage") = "DiamondRight.bmp" > >End If > > > >When I compile it says: "Can't assign to constant". I suspect I need > >to load the images first but I don`t know how to do it! Or I need to > >declare and set the bmp file (no clues!!). > > > >Other solution I figured out was to write a code to load and show > >the images directly. For example: > >'Show targets > >If c.getattrib("Target") = "Diamond" Then > >"WRITE" = "DiamondLeft.bmp" > >Else > >'Write a Diamond > >"WRITE" = "DiamondRight.bmp" > >End if > > > >The problem is I tried everything! I went to E-prime Help and copied > >and tried to use Canvas.LoadImage, ImageDisplay.Filename and > >ImageDisplay.Load but I`ve never succeed! > >Maybe it is a simple answer but I am a novice in programming. Any advice? > > > >Thank you for your help! > >Regards, Camila. > > > >Em quinta-feira, 9 de janeiro de 2014 19h24min20s UTC, McFarlane, > >David escreveu: > >Hmm. I normally decline to look at extensive code samples or > >attached programs, but you made it very easy and I was curious. So I > >ran your code, and indeed got bad jagged edges for the diamonds. I > >thought I could just attribute this to low Display resolution (640 x > >480 default), but got the same bad results at all other resolutions > >(max 1680 x 1050 on my machine), working with either EP1 or EP2. So > >it seems that the E-Basic Canvas.Polygon command simply does not do a > >good job of anti-aliasing (see > ><http://en.wiki > pedia.org/wiki/Spatial_anti-aliasing>http://en.wikipedia.org/wiki/Spatial_anti-aliasing > > >for background information). > > > >Instead, you should make image files for your diamond and other > >shapes, then simply load those images to the Display as needed. This > >has the advantage that you can use good software to prepare your > >images and it will simplify your E-Basic code as you can simply > >redraw the same image to different defined locations. > > > >Come to think of this, using image files and Slides, you should be > >able to do this with no E-Basic code at all (I should have thought of > >this first, as this is the norma E-Prime way!). Just make a Slide > >with SlideImage sub-objects to hold your square and diamond images, > >then use attribute references from a List to assign the Position X & > >Y properies for each of those sub-objects. Easy-peasy (as long as > >you do not need too many diamond angles)! > > > >----- > >David McFarlane > >E-Prime training > >online: > ><http://ps > ychology.msu.edu/Workshops_Courses/eprime.aspx>http://psychology.msu.edu/Workshops_Courses/eprime.aspx > > > > >Twitter: @EPrimeMaster > >(<https://twitter.com/EPrimeMaste > r>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>https://sup > port.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/P > STNET>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 1/8/2014 09:56 AM Wednesday, Camila Gomes Victorino wrote: > > >I have a binary decision making task where the subject needs to find > > >out the diamond or losangle in one of the two sides. In the other > > >one, there is a square and it needs to be identical to the diamond > > >(just the angle position changes). I tried to draw the losangle and > > >it worked, the problem is that the stimulus appears with serrated or > > >burr sides. I tried to fix it putting the cnvs.penwidth and > > >modifying it but it changes a lot the diamond and it needs to be > > >identical to the square. I do not know how to fix it and get the > > >serrated burrs out. > > > > > >I wrote the code as this: > > > > > > 'Declare variables > > >Dim r, centerX, centerY As Integer > > > > > >'Create canvas > > >Set cnvs = Display.Canvas > > >cnvs.FillColor = CColor("White") > > >cnvs.Clear > > > > > >'Create fixation point > > >cnvs.TextColor = CColor ("black") > > >cnvs.FontName = "Courier New" > > >cnvs.FontSize = "18" > > >cnvs.FontBold = CLogical("Yes") > > >cnvs.Text 313, 228, "+" > > > > > >'Create gray squares > > >cnvs.Pencolor = CColor("Gray") > > >cnvs.Fillcolor = CColor("White") > > >cnvs.Rectangle 255, 205, 55, 62 > > >cnvs.Rectangle Display.XRes -310, 205, 55, 62 > > > > > >'Show targets > > >cnvs.Pencolor = CColor("black") > > >cnvs.Fillcolor = CColor("black") > > >If c.getattrib("Target") = "Diamond" Then > > >'Write a left diamond > > >Dim P (4) As Point > > >P(0).x = 280 > > >P(0).y = 218 > > >P(1).x = 296 > > >P(1).y = 239 > > >P(2).x = 280 > > >P(2).y = 256 > > >P(3).x = 265 > > >P(3).y = 239 > > >cnvs.Polygon P, 4 > > > > > >cnvs.Rectangle 345, 222, 25, 30 > > >Else > > >'Write a Rectangle > > >cnvs.Rectangle 270, 222, 25, 30 > > >'Write a Diamond > > > > > >Dim L (4) As Point > > >L(0).x = 357 > > >L(0).y = 218 > > >L(1).x = 373 > > >L(1).y = 239 > > >L(2).x = 357 > > >L(2).y = 256 > > >l(3).x = 342 > > >L(3).y = 239 > > >cnvs.Polygon L, 4 > > > > > > > > >End If > > > > > >Sleep (1000) > > > > > >Thank you! > > >Best regards, > > > >-- > >You received this message because you are subscribed 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 > >< -3dc15ec035fe%40googlegroups.com>https://groups.google.com/d/msgid/e-prime/dcc3a442-d83a-421a-913f-3dc15ec035fe%40googlegroups.com>https://groups.google.com/d/msgid/e-prime/dcc3a442-d83a-421a-913f-3dc15ec035fe%40googlegroups.com. > > >For more options, visit > ><https://groups.google.co > m/groups/opt_out>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/514b2dd0-659b-4bad-970e-3a61378e19e6%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/52d458a1.2cdd320a.0aaf.ffff941eSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From jacanterbury at gmail.com Wed Jan 15 12:31:21 2014 From: jacanterbury at gmail.com (JACanterbury) Date: Wed, 15 Jan 2014 04:31:21 -0800 Subject: Installing 2.0.8 and 2.0.10 at the same time Message-ID: Not a question, but some information in case it's of use to anyone. Although the PST website (ticket 5345) says *Can E-Prime 2.0.8.x and E-Prime 2.0.10.x be installed at the same time? * No, only major version installations can be installed at the same time. However, multiple versions of the E-Prime 2.0 Subject Station installation can coexist on the same lab machine. KB5325 - FEATURE: Suite, Subject Station, and Run-Time detect other installations on machine (multiple Subject Station versions allowed) I thought I'd try anyway as I need to support both versions as a programmer. It turns out that you *CAN* have E-Studio 2.0.8 and 2.0.10 co-existing on the same machine at the same time. This is what I did: 1. install 2.0.8 2. rename the install directory e.g. from c:\program files (x86)\pst to c:\program files (x86)\pst-2-0-8 3. uninstall E-Prime (control panel / programs and features) 4. install 2.0.10 Notes: - the installed shortcuts from the Windows Start menu will be for the lastest version, you'll need to create additional shortcuts to the other version - when you switch from using one version to the other, you'll be prompted to relicence but this on ly takes a second - This seems to be the only irritation. - This seems fine for E-studio development work but I wouldn't run any actual live experiments on a system setup like this as I'm not quite sure what versions of drivers the 'other' version might be picking up - if you want to install e-prime into a different folder, e.g. on your D: drive, select the 'custom' install as this then gives you the option to change the installation directory/folder hth 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/b9989b78-abc5-4241-a94b-9f033a762009%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From elmoro5185 at gmail.com Wed Jan 15 17:43:03 2014 From: elmoro5185 at gmail.com (juan concepcion) Date: Wed, 15 Jan 2014 09:43:03 -0800 Subject: Can't find the HASP or Plug and Play services in MSCONFIG to prioritize E-Prime's performance Message-ID: Hello. I've used this step by step INFO from the e-prime site: (http://www.pstnet.com/support/kb.asp?TopicID=2621) to set up priority and accurate timing for e-prime during an experimental session. It happens that I use Windows 7 and when I open up the MSCONFIG window and look for the services tab, I can't find neither the PlugandPlay and HASP services. I've looked in for these services in the operating system and only found the Plug and Play service and it's status is STARTED and set to Automatic. I could not find the HASP service though. If there is anyone with this same problem and found a solution could you please shine some light? I am worried that E-Prime has not installed correctly. And also, it should be noted that I downgraded my HP Envy ( http://www.cnet.com/laptops/hp-envy-sleekbook-6/4505-3121_7-35339027.html) from Windows 8 to Windows 7 beacuse I am not sure that E-Prime 2 professional works fine with Windows 8. Juan V?ctor -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/ed3f564e-59a1-4371-85a4-efa97ae8e612%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 Jan 16 16:32:43 2014 From: jacanterbury at gmail.com (JACanterbury) Date: Thu, 16 Jan 2014 08:32:43 -0800 Subject: modifying Z-order of slide images at runtime In-Reply-To: Message-ID: Hi Alon, Hopefully you found out how to do this. If so, could you post the answer? 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/d03090ed-ec7f-4460-b0a7-6f877b2859d6%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 Jan 16 22:07:58 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 16 Jan 2014 17:07:58 -0500 Subject: modifying Z-order of slide images at runtime In-Reply-To: Message-ID: I got curious, so I took a quick look into this. Short story: No streamlined way to modify Slide sub-object z-order at run time, although one might do this with some careful coding. Details... I fired up good old EP1 to make a simple test program and look at the generated source code. I added a Slide, then added a SlideText and a SlideImage object to the Slide, with the SlideImage in *front* of the SlideText. The relevant lines in the generated source code (under InitObjects) go Slide1.States.Item("Default").Objects.Add Slide1_SlideImage, "Image1" ... Slide1.States.Item("Default").Objects.Add Slide1_SlideText, "Text1" I then moved the SlideImage *behind* the SlideText, then the relevant lines of code went Slide1.States.Item("Default").Objects.Add Slide1_SlideText, "Text1" ... Slide1.States.Item("Default").Objects.Add Slide1_SlideImage, "Image1" Based on this, it looks like the z-order from front to back corresponds to the order of objects in the associated SlideStimCollection object. (IOW, if you think about it, E-Prime draws Slide sub-objects in reverse order of their position in the SlideStimCollection.) I did not verify this any further, I leave that to others. If this is correct, then one might modify the z-order at run time by using inline code to directly manipulate the objects in the SlideStimCollection. I leave this as an exercise (and if anyone does this, please post back with your results!). As a workaround, if one has to consider only a few z-orders, then one might make several SlideStates on the Slide, one SlideState for each different z-order. One could then use an attribute reference to select the SlideState with the desired z-order at run time, possibly with no code at all. It might be hard, however, to maintain the parallel but independent SlideStates during development. ----- 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 1/16/2014 11:32 AM Thursday, JACanterbury wrote: >Hi Alon, > >Hopefully you found out how to do this. If so, could you post the answer? > >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/52d85847.220c320a.7d5e.5722SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From jens.bernhardsson at gmail.com Mon Jan 20 16:21:57 2014 From: jens.bernhardsson at gmail.com (jens) Date: Mon, 20 Jan 2014 08:21:57 -0800 Subject: Simultaneously run a Stroop and a passive auditory Oddball Message-ID: Dear group, I would like to run a Stroop and an auditory Oddball paradigm at the same time running only one instance of E-prime. I have tried to solve it with several different designs and also tried to adapt the Dual Task example, unsuccessfully. I want to be able to run and collect responses from a Stroop experiment using keyboard responses. During that I want to run a passive Oddball that is separated from the presentation and response in the Stroop task. That is, the auditory Oddball just runs alongside for as long as the Stroop experiment takes without influence from the procedure of the Stroop or with an appearance of procedural independence Is this possible? Thanks, Jens -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/ff068e63-3097-46af-8633-3f1b31ec1504%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 Jan 20 19:50:24 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 20 Jan 2014 14:50:24 -0500 Subject: Simultaneously run a Stroop and a passive auditory Oddball In-Reply-To: Message-ID: Jens, Previous related discussions: https://groups.google.com/d/topic/e-prime/NgpcVNY64kE , https://groups.google.com/d/topic/e-prime/UARRlo_Kthw . Short take for your case: Although in principle one might do this in E-Prime, I think that EP makes a generally poor platform for this type of "dual task". You might try instead straight C/C++, Visual Basic, or Python, or maybe PsychoPy (which is Python based). 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 1/20/2014 11:21 AM Monday, jens wrote: >I would like to run a Stroop and an auditory Oddball paradigm at the >same time running only one instance of E-prime. I have tried to >solve it with several different designs and also tried to adapt the >Dual Task example, unsuccessfully. > >I want to be able to run and collect responses from a Stroop >experiment using keyboard responses. During that I want to run a >passive Oddball that is separated from the presentation and response >in the Stroop task. That is, the auditory Oddball just runs >alongside for as long as the Stroop experiment takes without >influence from the procedure of the Stroop or with an appearance of >procedural independence >Is this possible? > >Thanks, >Jens -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52dd7e04.642c320a.2448.6cabSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From shai.aviram at gmail.com Mon Jan 20 20:03:16 2014 From: shai.aviram at gmail.com (Shai Aviram) Date: Mon, 20 Jan 2014 12:03:16 -0800 Subject: Mathematical task Message-ID: Hello, I need to design a mathematical task this is a simple task in which the student will see 10 mathematical exercises and he needs to solve them sequentiality (from top one to the last one) to design this task I need the ability to present a set of exercises (vertically) and allow user the answer each exercise (input field) and see what he types on screen. and allow him to advance to the next exercise it should something like this: 223 + 123 = 346 (example for answer exercise by student) 120 + 150 = 270 (example for answer exercise by student) 300 + 400 = ____ (this is the current exercise the student need to answer) 150 + 150 = ____ (this is the next exercise for the student) and so on... I would like to know if this design is possible to be designed in E-prime? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/0a14dd0e-2bca-45ac-8913-b4738cf0a1ed%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 Jan 20 20:22:40 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 20 Jan 2014 15:22:40 -0500 Subject: Mathematical task In-Reply-To: <0a14dd0e-2bca-45ac-8913-b4738cf0a1ed@googlegroups.com> Message-ID: Do you need millisecond precision for stimulus & response times? If not, then you might find it easier to do this in plain HTML/CSS/JavaScript/ActiveX in a web browser, or maybe with something like Empirisoft MediaLab. Otherwise, to answer the question asked, yes, you could do this with E-Prime with some effort. I leave it to others to provide details. ----- 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 1/20/2014 03:03 PM Monday, Shai Aviram wrote: >I need to design a mathematical task >this is a simple task in which the student will see 10 mathematical >exercises and he needs to solve them sequentiality (from top one to >the last one) >to design this task I need the ability to present a set of exercises >(vertically) and allow user the answer each exercise (input field) >and see what he types on screen. and allow him to advance to the next exercise >it should something like this: > >223 + 123 = 346 (example for answer exercise by student) > >120 + 150 = 270 (example for answer exercise by student) > >300 + 400 = ____ (this is the current exercise the student need to answer) > >150 + 150 = ____ (this is the next exercise for the student) > >and so on... > >I would like to know if this design is possible to be designed in E-prime? > >Thanks in advance. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52dd8595.629a320a.11a4.0e9bSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From shai.aviram at gmail.com Tue Jan 21 06:49:54 2014 From: shai.aviram at gmail.com (Shai Aviram) Date: Mon, 20 Jan 2014 22:49:54 -0800 Subject: Mathematical task In-Reply-To: <52dd8595.629a320a.11a4.0e9bSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: David thank you for the quick replay I would need to register students respond in millisecond precision. so i`m guessing HTML may be less for me? Nevertheless , if it is possible, I prefer to user E-prime since my University uses the E-Prime program. Thanks, Shai. On Monday, January 20, 2014 10:22:40 PM UTC+2, McFarlane, David wrote: > > Do you need millisecond precision for stimulus & response times? If > not, then you might find it easier to do this in plain > HTML/CSS/JavaScript/ActiveX in a web browser, or maybe with something > like Empirisoft MediaLab. > > Otherwise, to answer the question asked, yes, you could do this with > E-Prime with some effort. I leave it to others to provide details. > > ----- > 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 1/20/2014 03:03 PM Monday, Shai Aviram wrote: > >I need to design a mathematical task > >this is a simple task in which the student will see 10 mathematical > >exercises and he needs to solve them sequentiality (from top one to > >the last one) > >to design this task I need the ability to present a set of exercises > >(vertically) and allow user the answer each exercise (input field) > >and see what he types on screen. and allow him to advance to the next > exercise > >it should something like this: > > > >223 + 123 = 346 (example for answer exercise by student) > > > >120 + 150 = 270 (example for answer exercise by student) > > > >300 + 400 = ____ (this is the current exercise the student need to > answer) > > > >150 + 150 = ____ (this is the next exercise for the student) > > > >and so on... > > > >I would like to know if this design is possible to be designed in > E-prime? > > > >Thanks in advance. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/c71e7d2e-1227-48d7-9678-56ee4ab2fb68%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 Jan 21 10:05:08 2014 From: mspape at cognitology.eu (Cognitology) Date: Tue, 21 Jan 2014 12:05:08 +0200 Subject: Mathematical task In-Reply-To: Message-ID: Hi, Shouldn?t be all that hard at all, but David touches on an important topic: you need to think deep and hard about how you wish to design it. Why, for instance, if you?re interested in millisecond precision, are you showing all questions at the same time? It will take less time to answer question 10 than question 1, for many reasons: because of training (motor, cognition, etc), because perhaps you need to move the mouse, but also because presumably, your students will have read, for instance, a bit of question 5 before they have answered question 1 ? therefore, some previewing can be assumed. How do you know, then, that the ms between answering question 4 and answering question 5 reflect the cognitive processing time of question 5? These kinds of uncertainties will make it useless to record reaction time, certainly in milliseconds. E-Prime is generally really great for very well specified designs, for instance: 1) Show fixation. 2) Show equation 223 + 123 = 346. Centrally on the screen, until response. 3) Subject responds LEFT if the answer is correct, or RIGHT if the answer is incorrect. 4) Repeat, from random list, and include 50% wrong answers as well (for example 223 + 123 = 364, which has similar visual appearance). This, I think, is the level of detail in which E-Prime shines; other levels are possible, but are, as David suggests, probably best investigated with a different approach. I hope you find my comments helpful. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Shai Aviram Sent: 21. January 2014 08:50 To: e-prime at googlegroups.com Subject: Re: Mathematical task David thank you for the quick replay I would need to register students respond in millisecond precision. so i`m guessing HTML may be less for me? Nevertheless , if it is possible, I prefer to user E-prime since my University uses the E-Prime program. Thanks, Shai. On Monday, January 20, 2014 10:22:40 PM UTC+2, McFarlane, David wrote: Do you need millisecond precision for stimulus & response times? If not, then you might find it easier to do this in plain HTML/CSS/JavaScript/ActiveX in a web browser, or maybe with something like Empirisoft MediaLab. Otherwise, to answer the question asked, yes, you could do this with E-Prime with some effort. I leave it to others to provide details. ----- 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 1/20/2014 03:03 PM Monday, Shai Aviram wrote: >I need to design a mathematical task >this is a simple task in which the student will see 10 mathematical >exercises and he needs to solve them sequentiality (from top one to >the last one) >to design this task I need the ability to present a set of exercises >(vertically) and allow user the answer each exercise (input field) >and see what he types on screen. and allow him to advance to the next exercise >it should something like this: > >223 + 123 = 346 (example for answer exercise by student) > >120 + 150 = 270 (example for answer exercise by student) > >300 + 400 = ____ (this is the current exercise the student need to answer) > >150 + 150 = ____ (this is the next exercise for the student) > >and so on... > >I would like to know if this design is possible to be designed in E-prime? > >Thanks in advance. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/c71e7d2e-1227-48d7-9678-56ee4ab2fb68%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/13dc01cf1690%2444670e60%24cd352b20%24%40eu. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jodie at naimfeil.org Tue Jan 21 12:24:58 2014 From: jodie at naimfeil.org (Jodie) Date: Tue, 21 Jan 2014 04:24:58 -0800 Subject: Serial USB relay: Adding time-stamps to EEG Recordings Message-ID: Hello Forum, I am having a little bit of trouble with my USB relay setup. Essentially, I have a USB 4-relay board which I using to communicate between E-prime and Biosemi. My plan is to timestamp in the EEG recording when the stimulus event is being shown. My current script is the following (which just opens and closes the USB relay): This in-line is immediately before the stimulus presentation: ---------------------------------- Dim arrDataa(2) As Integer arrDatag(0) = 255 arrDatag(1) = 1 arrDatag(2) = 1 Serial.WriteBytes arrDataa --------------------------------- Following by the Stimulus presentation Then, this in-line is immediately after the stimulus presentation: ---------------------------------- Dim arrDatab(2) As Integer arrDatag(0) = 255 arrDatag(1) = 1 arrDatag(2) = 0 Serial.WriteBytes arrDatab --------------------------------- The script works nicely and is able to time-stamp into the Biosemi recording. The problem is that while it works perfectly for when the trigger code is sent (lets say a 64 time-stamp appears in the trigger of Biosemi), when I 'stop' the trigger (after the stimulus is presented), there is a time-stamp of 64 with a zero underneath in the Biosemi recordings. This is problematic for when I try to analyse the EEG data because all of the start and stop events are saved as the same 64 time-stamps (it ignores the zero below the 64 in the 'stop' time-stamp condition) and therefore, the 'stop' is considered the same event as the initiation of the time-stamp. I contacted Biosemi and they told me that the issue is with the scripting in E-prime. I was wondering if anyone had any suggestions for how to fix this problem? It would be much appreciated!! I hope I have been clear? Thank you for your help. Kind regards, Jodie -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/577e23e0-1789-4442-865c-65aa4233fef7%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 Jan 21 14:15:27 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Tue, 21 Jan 2014 15:15:27 +0100 Subject: Serial USB relay: Adding time-stamps to EEG Recordings In-Reply-To: <577e23e0-1789-4442-865c-65aa4233fef7@googlegroups.com> Message-ID: Hi Jodie, I don't see why this should be an eprime issue? The logic behind your script is that there is an active digital signal when the stimulus is presented. Not sure how biosemi normally encodes those events, but if it encodes rising and falling edges seperatly, there is no way of preventing the additional marker at the end of the stimulus. However, I doubt if the digital interface with relays is the right way to conenct the two systems. Relays can cause delay and bouncing problems, so I would prefer a direct (TTL) connection from the stimulus computer to the biosemi trigger input(s). Normally this can be done using a parallel printer port or IO board. I would be very suspicious about a possible bouncing issue when the relay is switched off. Especially when using high sampling rates... Best Paul On 21 January 2014 13:24, Jodie wrote: > Hello Forum, > > I am having a little bit of trouble with my USB relay setup. Essentially, > I have a USB 4-relay board which I using to communicate between E-prime and > Biosemi. > My plan is to timestamp in the EEG recording when the stimulus event is > being shown. My current script is the following (which just opens and > closes the USB relay): > > This in-line is immediately before the stimulus presentation: > ---------------------------------- > Dim arrDataa(2) As Integer > > arrDatag(0) = 255 > arrDatag(1) = 1 > arrDatag(2) = 1 > > Serial.WriteBytes arrDataa > --------------------------------- > > Following by the Stimulus presentation > > Then, this in-line is immediately after the stimulus presentation: > > ---------------------------------- > Dim arrDatab(2) As Integer > > arrDatag(0) = 255 > arrDatag(1) = 1 > arrDatag(2) = 0 > > Serial.WriteBytes arrDatab > --------------------------------- > > The script works nicely and is able to time-stamp into the Biosemi > recording. The problem is that while it works perfectly for when the trigger > code is sent (lets say a 64 time-stamp appears in the trigger of Biosemi), > when I 'stop' the trigger (after the stimulus is presented), there is a > time-stamp of 64 with a zero underneath in the Biosemi recordings. This is > problematic for when I try to analyse the EEG data because all of the > start and stop events are saved as the same 64 time-stamps (it ignores the > zero below the 64 in the 'stop' time-stamp condition) and therefore, the > 'stop' is considered the same event as the initiation of the time-stamp. > > I contacted Biosemi and they told me that the issue is with the scripting > in E-prime. I was wondering if anyone had any suggestions for how to fix > this problem? > It would be much appreciated!! > > I hope I have been clear? > > Thank you for your help. > > Kind regards, > Jodie > > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/577e23e0-1789-4442-865c-65aa4233fef7%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-tP3UO%3DADjg%3D2_R4bsuDs1tETJx%2BG86pNEi12u%3DWWATog%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 Jan 21 18:55:49 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 21 Jan 2014 13:55:49 -0500 Subject: Mathematical task In-Reply-To: Message-ID: Shai, Regarding timing quality with HTML, etc... The last time I looked at this, web browsers used the system clock, and the MS DOS/Windows system clock ran with a default resolution of about 55 ms. That was many years ago, and for all I know things have changed since then. That also applied only to MS DOS/Windows. Of course, using HTML, etc., you could run the program on other platforms (e.g., Apple, Linux), and their system clocks may provide different resolutions -- as I recall, when I tested this with a Macintosh (before OS X) I got 1 ms resolution. You would have to run your own timing tests on any platform, and also bear in mind that *resolution* is not the same as *accuracy*, as discussed, e.g., in the E-Prime User's Guide. Given all that, I would find HTML, etc. suitable for designs that required resolution no better than, say, 100 ms. For anything better, I would go to E-Prime, DirectRT, MATLAB, PsychoPy, C/C++/C#, etc. -- David McFarlane At 1/21/2014 01:49 AM Tuesday, Shai Aviram wrote: >David thank you for the quick replay >I would need to register students respond in millisecond precision. >so i`m guessing HTML may be less for me? > >Nevertheless , if it is possible, I prefer to user E-prime since my >University uses the E-Prime program. > >Thanks, >Shai. > >On Monday, January 20, 2014 10:22:40 PM UTC+2, McFarlane, David wrote: >Do you need millisecond precision for stimulus & response times? If >not, then you might find it easier to do this in plain >HTML/CSS/JavaScript/ActiveX in a web browser, or maybe with something >like Empirisoft MediaLab. > >Otherwise, to answer the question asked, yes, you could do this with >E-Prime with some effort. I leave it to others to provide details. > >----- >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 1/20/2014 03:03 PM Monday, Shai Aviram wrote: > >I need to design a mathematical task > >this is a simple task in which the student will see 10 mathematical > >exercises and he needs to solve them sequentiality (from top one to > >the last one) > >to design this task I need the ability to present a set of exercises > >(vertically) and allow user the answer each exercise (input field) > >and see what he types on screen. and allow him to advance to the > next exercise > >it should something like this: > > > >223 + 123 = 346 (example for answer exercise by student) > > > >120 + 150 = 270 (example for answer exercise by student) > > > >300 + 400 = ____ (this is the current exercise the student need to answer) > > > >150 + 150 = ____ (this is the next exercise for the student) > > > >and so on... > > > >I would like to know if this design is possible to be designed in E-prime? > > > >Thanks in advance. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52dec2bb.642c320a.2448.ffff8234SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From nebizzy at gmail.com Wed Jan 22 16:45:29 2014 From: nebizzy at gmail.com (Ieva Zeromskaite) Date: Wed, 22 Jan 2014 08:45:29 -0800 Subject: Presentation of multiple images during one soundfile In-Reply-To: <60e9cb95-1ee3-46d5-b673-dbb6e10fc96c@googlegroups.com> Message-ID: Thank you for your suggestion, but I've tried that before and the sound was lagging and repeating itself... I slightly changed my design now since I've had this problem since autumn.:) -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/05f4debe-0582-438f-b9a1-733009110e5a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From email.tracycheung at gmail.com Thu Jan 23 09:41:47 2014 From: email.tracycheung at gmail.com (Tracy Cheung) Date: Thu, 23 Jan 2014 01:41:47 -0800 Subject: Opening an external link from E-Prime Message-ID: Hi there, I would be really happy to hear solutions or suggestions to a problem that I am experiencing. The experiment that I am running consists of two parts. The first is a Stroop Test (which I have already programmed with E-prime) and the second is something that needs to be run on Open Sesame or on a survey link on the Internet. I was wondering if it would be possible to insert some sort of link in E-prime, so when participants link on it, it will open and start running an external program (either it is Open Sesame or a link on the internet). It would be great to hear your responses. Thanks! Cheers, Tracy -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/321a89bc-02a6-4658-b662-11a654d67988%40googlegroups.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 Thu Jan 23 12:03:01 2014 From: nebizzy at gmail.com (Ieva Zeromskaite) Date: Thu, 23 Jan 2014 04:03:01 -0800 Subject: Problem with data logging Message-ID: Hello, I have a problem with data logging. Experiment itself runs smoothly, no errors occur, but when I go to the Data File it shows me NULL in every cell where the data should be, thus for some reason it's no recording it. I double-checked that in Properties everything is correct. My guess is that the problem might arise because the image to which participants respond only lasts 250ms, but I set response time to 'infinite'. Does anybody know what are the possible reasons for the data not being logged? 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/2e5778dd-22b0-499f-80f3-e57a77c1fa24%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shanna.e.adams at gmail.com Thu Jan 23 18:54:03 2014 From: shanna.e.adams at gmail.com (Shanna E. A. Hegerty) Date: Thu, 23 Jan 2014 13:54:03 -0500 Subject: Mathematical task In-Reply-To: <0a14dd0e-2bca-45ac-8913-b4738cf0a1ed@googlegroups.com> Message-ID: Hello, I would like to ask if anyone knows if a simple DRM (Deese-Roediger-McDermott) e-prime script is available for use in research. It is a very widely used task for Psychology in which word lists are presented followed by a recognition task. It's often presented orally but lends itself to text presentation with E-prime. Rather than create a whole new version, I would like to use a previously accepted version if possible. If anyone knows of or has access to such a script, please let me know. Thank you very much! Shanna Hegerty On Mon, Jan 20, 2014 at 3:03 PM, Shai Aviram wrote: > Hello, > > I need to design a mathematical task > this is a simple task in which the student will see 10 mathematical > exercises and he needs to solve them sequentiality (from top one to the > last one) > to design this task I need the ability to present a set of exercises > (vertically) and allow user the answer each exercise (input field) and see > what he types on screen. and allow him to advance to the next exercise > it should something like this: > > 223 + 123 = 346 (example for answer exercise by student) > > 120 + 150 = 270 (example for answer exercise by student) > > 300 + 400 = ____ (this is the current exercise the student need to answer) > > 150 + 150 = ____ (this is the next exercise for the student) > > and so on... > > I would like to know if this design is possible to be designed in E-prime? > > Thanks in advance. > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/0a14dd0e-2bca-45ac-8913-b4738cf0a1ed%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- ____________________________________________ Shanna Elizabeth Adams Hegerty Graduate Student - Cognitive Sciences, Brains and Behavior Fellow Georgia State University GSU email address: sadams12 at student.gsu.edu -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAHtiaCr%2Bak3eNHt9EV7t37-vcXqnkr7i3nC8n_yNPrDhg6DhPQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From susangc7 at gmail.com Thu Jan 23 19:18:18 2014 From: susangc7 at gmail.com (Susan Campbell) Date: Thu, 23 Jan 2014 11:18:18 -0800 Subject: Mathematical task (or DRM paradigm, actually) In-Reply-To: Message-ID: I implemented one about 10 years ago -- I'm sure there's a newer one somewhere. It's super-basic, but it seems to work with the newest version of E-Prime, and it has the word lists, etc. http://step.psy.cmu.edu/scripts/Memory/RoedigerMcDermott1995.html HTH, Susan On Thursday, January 23, 2014 1:54:03 PM UTC-5, seah wrote: > > Hello, > > I would like to ask if anyone knows if a simple DRM > (Deese-Roediger-McDermott) e-prime script is available for use in research. > It is a very widely used task for Psychology in which word lists are > presented followed by a recognition task. It's often presented orally but > lends itself to text presentation with E-prime. Rather than create a whole > new version, I would like to use a previously accepted version if possible. > If anyone knows of or has access to such a script, please let me know. > Thank you very much! > > Shanna Hegerty > > > On Mon, Jan 20, 2014 at 3:03 PM, Shai Aviram > > wrote: > >> Hello, >> >> I need to design a mathematical task >> this is a simple task in which the student will see 10 mathematical >> exercises and he needs to solve them sequentiality (from top one to the >> last one) >> to design this task I need the ability to present a set of exercises >> (vertically) and allow user the answer each exercise (input field) and see >> what he types on screen. and allow him to advance to the next exercise >> it should something like this: >> >> 223 + 123 = 346 (example for answer exercise by student) >> >> 120 + 150 = 270 (example for answer exercise by student) >> >> 300 + 400 = ____ (this is the current exercise the student need to answer) >> >> 150 + 150 = ____ (this is the next exercise for the student) >> >> and so on... >> >> I would like to know if this design is possible to be designed in E-prime? >> >> Thanks in advance. >> >> -- >> You received this message because you are subscribed 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/0a14dd0e-2bca-45ac-8913-b4738cf0a1ed%40googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > > ____________________________________________ > Shanna Elizabeth Adams Hegerty > Graduate Student - Cognitive Sciences, Brains and Behavior Fellow > Georgia State University > GSU email address: sada... at student.gsu.edu > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8efe8577-df6e-40de-a1d5-520d39209dc9%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shanna.e.adams at gmail.com Thu Jan 23 19:35:37 2014 From: shanna.e.adams at gmail.com (Shanna E. A. Hegerty) Date: Thu, 23 Jan 2014 14:35:37 -0500 Subject: Mathematical task (or DRM paradigm, actually) In-Reply-To: <8efe8577-df6e-40de-a1d5-520d39209dc9@googlegroups.com> Message-ID: Thank you! Yes, this message had the wrong subject as I accidentally replied to an old message to send it. I figured someone had made a DRM for E-prime and was curious to know if there was an "officially" accepted version. It seems that too often a bunch of labs come up with different versions of the same task and then it's difficult to compare results across studies. Thank you very much for prompt reply! Shanna On Thu, Jan 23, 2014 at 2:18 PM, Susan Campbell wrote: > I implemented one about 10 years ago -- I'm sure there's a newer one > somewhere. It's super-basic, but it seems to work with the newest version > of E-Prime, and it has the word lists, etc. > > http://step.psy.cmu.edu/scripts/Memory/RoedigerMcDermott1995.html > > HTH, > Susan > > On Thursday, January 23, 2014 1:54:03 PM UTC-5, seah wrote: >> >> Hello, >> >> I would like to ask if anyone knows if a simple DRM >> (Deese-Roediger-McDermott) e-prime script is available for use in research. >> It is a very widely used task for Psychology in which word lists are >> presented followed by a recognition task. It's often presented orally but >> lends itself to text presentation with E-prime. Rather than create a whole >> new version, I would like to use a previously accepted version if possible. >> If anyone knows of or has access to such a script, please let me know. >> Thank you very much! >> >> Shanna Hegerty >> >> >> On Mon, Jan 20, 2014 at 3:03 PM, Shai Aviram wrote: >> >>> Hello, >>> >>> I need to design a mathematical task >>> this is a simple task in which the student will see 10 mathematical >>> exercises and he needs to solve them sequentiality (from top one to the >>> last one) >>> to design this task I need the ability to present a set of exercises >>> (vertically) and allow user the answer each exercise (input field) and see >>> what he types on screen. and allow him to advance to the next exercise >>> it should something like this: >>> >>> 223 + 123 = 346 (example for answer exercise by student) >>> >>> 120 + 150 = 270 (example for answer exercise by student) >>> >>> 300 + 400 = ____ (this is the current exercise the student need to >>> answer) >>> >>> 150 + 150 = ____ (this is the next exercise for the student) >>> >>> and so on... >>> >>> I would like to know if this design is possible to be designed in >>> E-prime? >>> >>> Thanks in advance. >>> >>> -- >>> You received this message because you are subscribed 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/0a14dd0e-2bca-45ac-8913-b4738cf0a1ed%40googlegroups.com. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> >> >> -- >> >> ____________________________________________ >> Shanna Elizabeth Adams Hegerty >> Graduate Student - Cognitive Sciences, Brains and Behavior Fellow >> Georgia State University >> GSU email address: sada... at student.gsu.edu >> > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/8efe8577-df6e-40de-a1d5-520d39209dc9%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- ____________________________________________ Shanna Elizabeth Adams Hegerty Graduate Student - Cognitive Sciences, Brains and Behavior Fellow Georgia State University GSU email address: sadams12 at student.gsu.edu -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAHtiaCoUEZ8oD9VPkbS%2Br%2Bb5v4tthhYPunHy6NBwNsm2zyyi9w%40mail.gmail.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 Fri Jan 24 10:18:44 2014 From: jacanterbury at gmail.com (JACanterbury) Date: Fri, 24 Jan 2014 02:18:44 -0800 Subject: Problem with data logging In-Reply-To: <2e5778dd-22b0-499f-80f3-e57a77c1fa24@googlegroups.com> Message-ID: Hi Ieva excuse me checking the obvious first... Have you got data logging turned on (its on the 'duration/input' tab for the e-prime object of interest - e.g. your text object ? cheers, john On Thursday, January 23, 2014 12:03:01 PM UTC, Ieva Zeromskaite wrote: > > Hello, > I have a problem with data logging. Experiment itself runs smoothly, no > errors occur, but when I go to the Data File it shows me NULL in every cell > where the data should be, thus for some reason it's no recording it. > I double-checked that in Properties everything is correct. > My guess is that the problem might arise because the image to which > participants respond only lasts 250ms, but I set response time to > 'infinite'. > Does anybody know what are the possible reasons for the data not being > logged? > 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/8645404f-12de-43f3-9b51-b1651df9444b%40googlegroups.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 Fri Jan 24 10:41:31 2014 From: nebizzy at gmail.com (Ieva Zeromskaite) Date: Fri, 24 Jan 2014 02:41:31 -0800 Subject: Problem with data logging In-Reply-To: <8645404f-12de-43f3-9b51-b1651df9444b@googlegroups.com> Message-ID: > > Obviously:) >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/57b6a449-d12e-4cb1-8c42-804577794dae%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 Jan 24 16:46:17 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 24 Jan 2014 11:46:17 -0500 Subject: Problem with data logging In-Reply-To: <8645404f-12de-43f3-9b51-b1651df9444b@googlegroups.com> Message-ID: Yes, the user must have data logging enabled for the object, otherwise the data column would just not exist instead of existing with values of "NULL". Offhand, I suspect the user ran across one of the "gotchas" with E-Prime's change to a default PreRelease of "(same as duration)" -- see http://www.pstnet.com/support/kb.asp?TopicID=2627 and http://www.pstnet.com/support/kb.asp?TopicID=5178 . In particular, when using EP2.0.8 or later, by default data logging for a Procedure will take place immediately after *onset* of the last object in the Procedure, i.e., during the PreRelease period of the last object. As a result, if a response arrives during the PreRelease of the last object in a Procedure it will not get logged. As suggested at the above links, several solutions exist, e.g., setting PreRelease to 0 as needed, or use of Process Pending Input Masks. ----- 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 1/24/2014 05:18 AM Friday, JACanterbury wrote: >Hi Ieva > >excuse me checking the obvious first... > >Have you got data logging turned on (its on the 'duration/input' tab >for the e-prime object of interest - e.g. your text object ? > >cheers, > >john > >On Thursday, January 23, 2014 12:03:01 PM UTC, Ieva Zeromskaite wrote: >Hello, >I have a problem with data logging. Experiment itself runs smoothly, >no errors occur, but when I go to the Data File it shows me NULL in >every cell where the data should be, thus for some reason it's no recording it. >I double-checked that in Properties everything is correct. >My guess is that the problem might arise because the image to which >participants respond only lasts 250ms, but I set response time to 'infinite'. >Does anybody know what are the possible reasons for the data not being logged? >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/52e298dc.220c320a.7724.1470SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From haslinger.hans11 at gmail.com Fri Jan 24 17:07:42 2014 From: haslinger.hans11 at gmail.com (haslinger.hans11 at gmail.com) Date: Fri, 24 Jan 2014 09:07:42 -0800 Subject: Problem with hit Test Message-ID: Hallo everybody I am trying to create a Task where an image (a Comic Scene) is given as a stimulus. Simultaneously, there is a sound file played, which describes the stimulus scene. Participants should choose 1of 4 possible answers (4 Images) by clicking. So i have got a slide with 5 slide-images (1 stimulus and 4 target Images) and 1 slide-sound-out sub-object. I've used the following inLine code to define the 4 target Images as clickable targets and to check, if the clicked image is the correct answer: Dim theState as SlideState Set theState = RecognitionSlide.States("Default") Dim next_mX as Long, next_mY as Long Dim strHit As String Dim theMouseResponseData As MouseResponseData If RecognitionSlide.InputMasks.Responses.Count > 0 Then Set theMouseResponseData = CMouseResponseData(RecognitionSlide.InputMasks.Responses(1)) strHit = theState.HitTest(theMouseResponseData.CursorX, theMouseResponseData.CursorY) If strHit = ("Image1") or strHit = ("Image2") or strHit = ("Image3")or strHit = ("Image4") Then c.SetAttrib "response", strHit Else Goto restart End If If strHit = c.GetAttrib("CorrectEmotion") Then RecognitionSlide.ACC = 1 Else RecognitionSlide.ACC = 0 End If My Problem is, that everytime you click somewhere else than the 4 target Images, the Sound file and RT-measures start again. So basically i need something else than the code Else Goto restart which doesn't cause the slide to be reset. Is there any way to make everything but the 4 target Images unclickable? I hope you understand what i mean. Any help would be appreciated Best regards Hans -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pohl_steeve at gmx.net Fri Jan 24 17:55:23 2014 From: pohl_steeve at gmx.net (Steffen Pohl) Date: Fri, 24 Jan 2014 09:55:23 -0800 Subject: Joystick attributes fail in 2.0.10 Message-ID: Hey all, I've got a joystick script written for E-Prime 2.0.8.90, that works abolutely fine for that, but using it in any 2.0.10 build leads the script generator to not recognizing the attributes of the CJoystickResponseData object used. These are for example IsButton1 to IsButton8 and CursorX / CursorY. I tried to consult the changelog between 2.0.8 and 2.0.10 and the reference guide for joystick usage, but found nothing in there that would explain that. The code I use is in fact nearly the same like the example described in the reference. For clarity a snippet that reproduces this: Set joyresponse = CJoystickResponseData(Joystick.History(Joystick.History.Count)) c.SetAttrib "ResponseBtn1", joyresponse.IsButton1 I am experiencing an error in the second line, where IsButton1 is not accepted as a valid Attribute of joyresponse. For my projects I am using a professional edition of E-Prime. Also there is one joystick attached to the machine, that is installed and accessible and works absolutely fine - in 2.0.8. So why doesn't it work for the newest build and how can I fix that? many thanks in advance, Steffen -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/356de062-c032-4f82-ba66-ffbf1e202f10%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From njvack at gmail.com Fri Jan 24 18:04:58 2014 From: njvack at gmail.com (Nate Vack) Date: Fri, 24 Jan 2014 10:04:58 -0800 Subject: getCurrentAttrib from nested lists Message-ID: Hi all, I have a script where we're drawing positive and negative images from nested lists for each trial. We're separating the trials into five blocks, and sometimes Things Happen during the experiment and we'll want to skip to given block. Skipping the trials is easy with a loop and TrialList.GetNextAttrib(), but it doesn't seem to advance the nested lists. So if experiment normally shows the following sequence: pos1 neg1 pos2 BLOCK neg2 neg3 pos3 ... and I skip to the row after BLOCK, I get: neg1 neg2 pos1 If the nested lists define an "image" attribute, TrialList.GetNextAttrib("image") returns nothing, as well. Is there an elegant way to do this? Thanks! -Nate -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/98a3aa08-8980-4dce-9d28-71d34ff850d6%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 Fri Jan 24 18:11:59 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Fri, 24 Jan 2014 19:11:59 +0100 Subject: Problem with hit Test In-Reply-To: Message-ID: Hans, I think that the solution for the restarted sound is to insert the sound as separate SoundOut object before the restart label. The duration could be set to zero, and stopafter to no. The The inline script should be OK, although I personally prefer to use a separate list object instead of a goto-label to construct a repeating loop until a valid item is clicked. By using a sub-list you will automatically get all individual clicks in the edat-file. You also might need a small piece of script to stop the sound. The problem with the overall RT should be handled by additional inline script. Just subtract the RTTime of the valid response from the OnsetTime of the (first) stimulus onset. You can look at the following example for this: http://pfcgroot.nl/e-prime/83-example-scripts/88-image-click-example.html Paul On 24 January 2014 18:07, wrote: > Hallo everybody > > I am trying to create a Task where an image (a Comic Scene) is given as a > stimulus. Simultaneously, there is a sound file played, which describes the > stimulus scene. > Participants should choose 1of 4 possible answers (4 Images) by clicking. > > So i have got a slide with 5 slide-images (1 stimulus and 4 target Images) > and 1 slide-sound-out sub-object. > > I've used the following inLine code to define the 4 target Images as > clickable targets and to check, if the clicked image is the correct answer: > > > > Dim theState as SlideState > Set theState = RecognitionSlide.States("Default") > Dim next_mX as Long, next_mY as Long > Dim strHit As String > Dim theMouseResponseData As MouseResponseData > > > If RecognitionSlide.InputMasks.Responses.Count > 0 Then > > Set theMouseResponseData = > CMouseResponseData(RecognitionSlide.InputMasks.Responses(1)) > > > strHit = theState.HitTest(theMouseResponseData.CursorX, > theMouseResponseData.CursorY) > > > If strHit = ("Image1") or strHit = ("Image2") or > strHit = ("Image3")or strHit = ("Image4") Then > c.SetAttrib "response", strHit > > Else > Goto restart > End If > > > If strHit = c.GetAttrib("CorrectEmotion") Then > RecognitionSlide.ACC = 1 > Else > RecognitionSlide.ACC = 0 > End If > > > My Problem is, that everytime you click somewhere else than the 4 target > Images, the Sound file and RT-measures start again. > > So basically i need something else than the code > Else > Goto restart > which doesn't cause the slide to be reset. > > > Is there any way to make everything but the 4 target Images unclickable? > I hope you understand what i mean. > > Any help would be appreciated > Best regards > Hans > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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-q0h9Kxm3mtA%3DP-ae9K0Faz_%3DwQz1xE_LGR3LpREejQ%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 Fri Jan 24 18:39:34 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 24 Jan 2014 13:39:34 -0500 Subject: Joystick attributes fail in 2.0.10 In-Reply-To: <356de062-c032-4f82-ba66-ffbf1e202f10@googlegroups.com> Message-ID: Steffen, I do not use Joystick, so I hope someone else here can help you, but this question really belongs to PST Support. Please contact them at https://support.pstnet.com , and then please write back with their response. (BTW, I think where you say "Attribute" you really mean "Property" or "Method". What wording did the error message use?) Thanks, -- David McFarlane At 1/24/2014 12:55 PM Friday, Steffen Pohl wrote: >I've got a joystick script written for E-Prime 2.0.8.90, that works >abolutely fine for that, but using it in any 2.0.10 build leads the >script generator to not recognizing the attributes of the >CJoystickResponseData object used. These are for example IsButton1 >to IsButton8 and CursorX / CursorY. I tried to consult the changelog >between 2.0.8 and 2.0.10 and the reference guide for joystick usage, >but found nothing in there that would explain that. The code I use >is in fact nearly the same like the example described in the reference. > >For clarity a snippet that reproduces this: > >Set joyresponse = >CJoystickResponseData(Joystick.History(Joystick.History.Count)) >c.SetAttrib "ResponseBtn1", joyresponse.IsButton1 > >I am experiencing an error in the second line, where IsButton1 is >not accepted as a valid Attribute of joyresponse. > >For my projects I am using a professional edition of E-Prime. Also >there is one joystick attached to the machine, that is installed and >accessible and works absolutely fine - in 2.0.8. > >So why doesn't it work for the newest build and how can I fix that? > >many thanks in advance, >Steffen -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52e2b369.2527320a.7703.17e2SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From jodie at naimfeil.org Sun Jan 26 14:57:33 2014 From: jodie at naimfeil.org (Jodie Feil) Date: Sun, 26 Jan 2014 16:57:33 +0200 Subject: Serial USB relay: Adding time-stamps to EEG Recordings In-Reply-To: Message-ID: Dear Paul, Thank you for your advice. You were right, there was 'bouncing' at the end of the falling edge, which was in part, causing the problem and additional unwanted events. I am only interested with the 'rising' and not the falling edges (which in my case does not have delay/bouncing issue), so I have found a way to work around the problem of the bouncing in the falling by re-programming some functions in EEGLAB (which remove the falling bounce). I will also try using a parallel port and see if it is a better option. Regards, Jodie ---------- Forwarded message ---------- From: Paul Groot Date: Tue, Jan 21, 2014 at 4:15 PM Subject: Re: Serial USB relay: Adding time-stamps to EEG Recordings To: e-prime at googlegroups.com Hi Jodie, I don't see why this should be an eprime issue? The logic behind your script is that there is an active digital signal when the stimulus is presented. Not sure how biosemi normally encodes those events, but if it encodes rising and falling edges seperatly, there is no way of preventing the additional marker at the end of the stimulus. However, I doubt if the digital interface with relays is the right way to conenct the two systems. Relays can cause delay and bouncing problems, so I would prefer a direct (TTL) connection from the stimulus computer to the biosemi trigger input(s). Normally this can be done using a parallel printer port or IO board. I would be very suspicious about a possible bouncing issue when the relay is switched off. Especially when using high sampling rates... Best Paul On 21 January 2014 13:24, Jodie wrote: > Hello Forum, > > I am having a little bit of trouble with my USB relay setup. Essentially, > I have a USB 4-relay board which I using to communicate between E-prime and > Biosemi. > My plan is to timestamp in the EEG recording when the stimulus event is > being shown. My current script is the following (which just opens and > closes the USB relay): > > This in-line is immediately before the stimulus presentation: > ---------------------------------- > Dim arrDataa(2) As Integer > > arrDatag(0) = 255 > arrDatag(1) = 1 > arrDatag(2) = 1 > > Serial.WriteBytes arrDataa > --------------------------------- > > Following by the Stimulus presentation > > Then, this in-line is immediately after the stimulus presentation: > > ---------------------------------- > Dim arrDatab(2) As Integer > > arrDatag(0) = 255 > arrDatag(1) = 1 > arrDatag(2) = 0 > > Serial.WriteBytes arrDatab > --------------------------------- > > The script works nicely and is able to time-stamp into the Biosemi > recording. The problem is that while it works perfectly for when the trigger > code is sent (lets say a 64 time-stamp appears in the trigger of Biosemi), > when I 'stop' the trigger (after the stimulus is presented), there is a > time-stamp of 64 with a zero underneath in the Biosemi recordings. This is > problematic for when I try to analyse the EEG data because all of the > start and stop events are saved as the same 64 time-stamps (it ignores the > zero below the 64 in the 'stop' time-stamp condition) and therefore, the > 'stop' is considered the same event as the initiation of the time-stamp. > > I contacted Biosemi and they told me that the issue is with the scripting > in E-prime. I was wondering if anyone had any suggestions for how to fix > this problem? > It would be much appreciated!! > > I hope I have been clear? > > Thank you for your help. > > Kind regards, > Jodie > > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/577e23e0-1789-4442-865c-65aa4233fef7%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- 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/V1otSAPBtFQ/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/CAKAdR-tP3UO%3DADjg%3D2_R4bsuDs1tETJx%2BG86pNEi12u%3DWWATog%40mail.gmail.com . For more options, visit https://groups.google.com/groups/opt_out. -- Dr.Jodie Naim-Feil Post-doctoral Fellow Research group of Elisha Moses Department of Physics of Complex Systems Weizmann Institute of Science 76100 Rehovot, Israel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAMr6WnORYJqsLOwoeR_j_1gOnSnn8T6ytGWMLHDZnomG-VbgDQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shai.aviram at gmail.com Sun Jan 26 15:48:54 2014 From: shai.aviram at gmail.com (Shai Aviram) Date: Sun, 26 Jan 2014 07:48:54 -0800 Subject: Mathematical task In-Reply-To: <0a14dd0e-2bca-45ac-8913-b4738cf0a1ed@googlegroups.com> Message-ID: Thank you all for detailed and comprehensive answers. you helped me very much. as you pointed I`m now going to do some homework regarding the specific experiment design. I just wanted to get a brief understanding if it even possible. one last small question, as this task should simulate a real math test (as in school) I need to set a timer for each block (block = set of exercises) I know how to set a time limitation per response, but can I do it in the block level?? Thanks again! This group is really helpful! On Monday, January 20, 2014 10:03:16 PM UTC+2, Shai Aviram wrote: > > Hello, > > I need to design a mathematical task > this is a simple task in which the student will see 10 mathematical > exercises and he needs to solve them sequentiality (from top one to the > last one) > to design this task I need the ability to present a set of exercises > (vertically) and allow user the answer each exercise (input field) and see > what he types on screen. and allow him to advance to the next exercise > it should something like this: > > 223 + 123 = 346 (example for answer exercise by student) > > 120 + 150 = 270 (example for answer exercise by student) > > 300 + 400 = ____ (this is the current exercise the student need to answer) > > 150 + 150 = ____ (this is the next exercise for the student) > > and so on... > > I would like to know if this design is possible to be designed in E-prime? > > Thanks in advance. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/2a9b5973-0e7f-473c-9ccc-2df09b33192f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tsuky19 at gmail.com Mon Jan 27 08:18:39 2014 From: tsuky19 at gmail.com (Jason Tsukahara) Date: Mon, 27 Jan 2014 00:18:39 -0800 Subject: calculating mean RTs and Standard deviations Message-ID: I am very new to E-prime and have no programming or coding experience. I want to know how to get e-prime to calculate mean reaction times and standard deviations. I know I can do this in e-data aid but that I want to be able to calculate mean RTs and standard deviations for each subject so that in e-data aid I can create a filter of RTs based on standard deviations from the mean. What is the easiest way to do this? 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/c92ae044-3b76-4de1-8a7a-3d7d81c40ce6%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 Mon Jan 27 09:36:19 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 27 Jan 2014 10:36:19 +0100 Subject: calculating mean RTs and Standard deviations In-Reply-To: Message-ID: Hi Jason, Checkout the Summation object in the E-Basic manual (or http://www.pstnet.com/support/kb.asp?TopicID=3844) However, if there is no need for this (derived) info at run-time, I would do this offline using one off the popular statistical analysis packages. Just make sure to add all the relevant information in attributes to do a proper analysis using the edat output (i.a. add condition, block and group info if necessary). Paul On 27 January 2014 09:18, Jason Tsukahara wrote: > I am very new to E-prime and have no programming or coding experience. > > I want to know how to get e-prime to calculate mean reaction times and > standard deviations. I know I can do this in e-data aid but that I want to > be able to calculate mean RTs and standard deviations for each subject so > that in e-data aid I can create a filter of RTs based on standard > deviations from the mean. What is the easiest way to do this? > > 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/c92ae044-3b76-4de1-8a7a-3d7d81c40ce6%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-vmYmnJGDM5uqR0H-iPH5yvs84w%2BVC7EuJyRGkqVXr7bg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From haslinger.hans11 at gmail.com Mon Jan 27 10:46:20 2014 From: haslinger.hans11 at gmail.com (haslinger.hans11 at gmail.com) Date: Mon, 27 Jan 2014 02:46:20 -0800 Subject: Problem with hit Test In-Reply-To: Message-ID: Hallo Paul Thank you for your help. Unfortunately, the Sound file is played before the slide is opened, if I insert the SoundOut object before the restart Label in the procedure. Isn't there another way to express Else , so that really nothing happens, if a click occurs in the invalid area of the slide? Goto restart Am Freitag, 24. Januar 2014 19:11:59 UTC+1 schrieb Paul Groot: > Hans, > > I think that the solution for the restarted sound is to insert the sound > as separate SoundOut object before the restart label. The duration could be > set to zero, and stopafter to no. The The inline script should be OK, > although I personally prefer to use a separate list object instead of a > goto-label to construct a repeating loop until a valid item is clicked. By > using a sub-list you will automatically get all individual clicks in the > edat-file. You also might need a small piece of script to stop the sound. > > The problem with the overall RT should be handled by additional inline > script. Just subtract the RTTime of the valid response from the OnsetTime > of the (first) stimulus onset. You can look at the following example for > this: > http://pfcgroot.nl/e-prime/83-example-scripts/88-image-click-example.html > > Paul > > > On 24 January 2014 18:07, > wrote: > >> Hallo everybody >> >> I am trying to create a Task where an image (a Comic Scene) is given as >> a stimulus. Simultaneously, there is a sound file played, which describes >> the stimulus scene. >> Participants should choose 1of 4 possible answers (4 Images) by clicking. >> >> So i have got a slide with 5 slide-images (1 stimulus and 4 target >> Images) and 1 slide-sound-out sub-object. >> >> I've used the following inLine code to define the 4 target Images as >> clickable targets and to check, if the clicked image is the correct answer: >> >> >> >> Dim theState as SlideState >> Set theState = RecognitionSlide.States("Default") >> Dim next_mX as Long, next_mY as Long >> Dim strHit As String >> Dim theMouseResponseData As MouseResponseData >> >> >> If RecognitionSlide.InputMasks.Responses.Count > 0 Then >> >> Set theMouseResponseData = >> CMouseResponseData(RecognitionSlide.InputMasks.Responses(1)) >> >> >> strHit = theState.HitTest(theMouseResponseData.CursorX, >> theMouseResponseData.CursorY) >> >> >> If strHit = ("Image1") or strHit = ("Image2") or >> strHit = ("Image3")or strHit = ("Image4") Then >> c.SetAttrib "response", strHit >> >> Else >> Goto restart >> End If >> >> >> If strHit = c.GetAttrib("CorrectEmotion") Then >> RecognitionSlide.ACC = 1 >> Else >> RecognitionSlide.ACC = 0 >> End If >> >> >> My Problem is, that everytime you click somewhere else than the 4 target >> Images, the Sound file and RT-measures start again. >> >> So basically i need something else than the code >> Else >> Goto restart >> which doesn't cause the slide to be reset. >> >> >> Is there any way to make everything but the 4 target Images unclickable? >> I hope you understand what i mean. >> >> Any help would be appreciated >> Best regards >> Hans >> >> -- >> You received this message because you are subscribed 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/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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/c74d6a70-2f5b-4b95-a869-9933095cd165%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 Mon Jan 27 13:52:24 2014 From: mspape at cognitology.eu (Cognitology) Date: Mon, 27 Jan 2014 15:52:24 +0200 Subject: getCurrentAttrib from nested lists In-Reply-To: <98a3aa08-8980-4dce-9d28-71d34ff850d6@googlegroups.com> Message-ID: Hi, Totally agree, sometimes Things Happen! We should actually have put something along the lines in the big new, and finally ?in press? (though still waiting for physical copies), E-Primer. Anyway, I thought it was an interesting question, though one I do not have an answer to ? it doesn?t seem unreasonable to imagine getnextattrib just does not fill out also the nested list attributes. However, I wouldn?t have trusted .getnextattrib to begin with for this reason; you don?t actually skip rows but fill in the next row to the present one, no? What I generally do is: ? To avoid unbalancing the experiment, I generally repeat whole blocks, not skip single trials. Keeping that in mind, imagine I have about 16 blocks, normally. ? Write startup variable Nblocks, ?Number of blocks?, default 16, minimal 1 ? Before running the block list (which has 1 procedure, blockprocedure, which has weight = 16), change the list to c.GetAttrib(?Nblocks?). Now, if ?things happen? or your participant started texting in block 1, was told off in block 2, and now you think it?s proper to punish them with 2 more blocks, just run the experiment again and have it set to Nblocks = 2. Less elegant ways: ? Alternatively, you could just count the current block and terminate the list. ? You could skip from the beginning of the trial procedure to the end so that no responses are made, based on startup variable ?SkipNTrials?, default at 0; add label (endoftriallabel) to end of trial and inline at the very beginning of the trial: IF c.GetAttrib(?SkipNTrials?) > 0 THEN SkipNTrials = SkipNTrials ? 1 Goto endoftriallabel END IF Should work too. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Nate Vack Sent: 24. January 2014 20:05 To: e-prime at googlegroups.com Subject: getCurrentAttrib from nested lists Hi all, I have a script where we're drawing positive and negative images from nested lists for each trial. We're separating the trials into five blocks, and sometimes Things Happen during the experiment and we'll want to skip to given block. Skipping the trials is easy with a loop and TrialList.GetNextAttrib(), but it doesn't seem to advance the nested lists. So if experiment normally shows the following sequence: pos1 neg1 pos2 BLOCK neg2 neg3 pos3 ... and I skip to the row after BLOCK, I get: neg1 neg2 pos1 If the nested lists define an "image" attribute, TrialList.GetNextAttrib("image") returns nothing, as well. Is there an elegant way to do this? Thanks! -Nate -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/98a3aa08-8980-4dce-9d28-71d34ff850d6%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/061b01cf1b67%240297d4c0%2407c77e40%24%40eu. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Mon Jan 27 13:52:34 2014 From: mspape at cognitology.eu (Cognitology) Date: Mon, 27 Jan 2014 15:52:34 +0200 Subject: Mathematical task In-Reply-To: <2a9b5973-0e7f-473c-9ccc-2df09b33192f@googlegroups.com> Message-ID: Hi, You can easily do this at the block level by setting the list to exist after ?. ms. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Shai Aviram Sent: 26. January 2014 17:49 To: e-prime at googlegroups.com Subject: Re: Mathematical task Thank you all for detailed and comprehensive answers. you helped me very much. as you pointed I`m now going to do some homework regarding the specific experiment design. I just wanted to get a brief understanding if it even possible. one last small question, as this task should simulate a real math test (as in school) I need to set a timer for each block (block = set of exercises) I know how to set a time limitation per response, but can I do it in the block level?? Thanks again! This group is really helpful! On Monday, January 20, 2014 10:03:16 PM UTC+2, Shai Aviram wrote: Hello, I need to design a mathematical task this is a simple task in which the student will see 10 mathematical exercises and he needs to solve them sequentiality (from top one to the last one) to design this task I need the ability to present a set of exercises (vertically) and allow user the answer each exercise (input field) and see what he types on screen. and allow him to advance to the next exercise it should something like this: 223 + 123 = 346 (example for answer exercise by student) 120 + 150 = 270 (example for answer exercise by student) 300 + 400 = ____ (this is the current exercise the student need to answer) 150 + 150 = ____ (this is the next exercise for the student) and so on... I would like to know if this design is possible to be designed in E-prime? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/2a9b5973-0e7f-473c-9ccc-2df09b33192f%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/062001cf1b67%2408754bc0%24195fe340%24%40eu. 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 Jan 27 19:09:00 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 27 Jan 2014 14:09:00 -0500 Subject: Mathematical task In-Reply-To: <062001cf1b67$08754bc0$195fe340$@eu> Message-ID: The thread at https://groups.google.com/d/topic/e-prime/e12W9DdgvrM might also help here. -- David McFarlane At 1/27/2014 08:52 AM Monday, Cognitology wrote: >Hi, >You can easily do this at the block level by >setting the list to exist after ?. ms. >Best, >Michiel > >From: e-prime at googlegroups.com >[mailto:e-prime at googlegroups.com] On Behalf Of Shai Aviram >Sent: 26. January 2014 17:49 >To: e-prime at googlegroups.com >Subject: Re: Mathematical task > >Thank you all for detailed and comprehensive answers. >you helped me very much. >as you pointed I`m now going to do some homework >regarding the specific experiment design. >I just wanted to get a brief understanding if it even possible. > >one last small question, as this task should >simulate a real math test (as in school) >I need to set a timer for each block (block = set of exercises) >I know how to set a time limitation per >response, but can I do it in the block level?? > >Thanks again! >This group is really helpful! > >On Monday, January 20, 2014 10:03:16 PM UTC+2, Shai Aviram wrote: >Hello, > >I need to design a mathematical task >this is a simple task in which the student will >see 10 mathematical exercises and he needs to >solve them sequentiality (from top one to the last one) >to design this task I need the ability to >present a set of exercises (vertically) and >allow user the answer each exercise (input >field) and see what he types on screen. and >allow him to advance to the next exercise >it should something like this: > >223 + 123 = 346 (example for answer exercise by student) > >120 + 150 = 270 (example for answer exercise by student) > >300 + 400 = ____ (this is the current exercise the student need to answer) > >150 + 150 = ____ (this is the next exercise for the student) > >and so on... > >I would like to know if this design is possible to be designed in E-prime? > >Thanks in advance. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52e6aed2.893d320a.571b.60b6SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From pfc.groot at gmail.com Mon Jan 27 21:23:44 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 27 Jan 2014 22:23:44 +0100 Subject: Problem with hit Test In-Reply-To: Message-ID: Hi Hans, Perhaps I'm mixing things up, but if I understand your design correctly, it should be possible to move the sound from the Stimulus slide to a separate SoundOut object just before the Stimulus Slide, without disturbing anything. (Ignoring the restart label for now.) If the duration of the SoundOut object is set to zero, the onset of the sound should (almost) coincide with the onset of the image. (If the onset times of the stimuli are critical, you will have to measure sound and display onsets using suitable instruments and fine-tune your script.) I assumed your restart-label is placed immediately before the stimulus Slide, so to prevent the sound from restarting, you should now place it between the SoundOut and Slide objects. (I.e., the order will be: SoundOut, Restart Label, RecognitionSlide). If you do it like this, the sound should not start early. But the again: I would stay away from goto-label constructs and use a separate List object... If you use a list for repeating clicks, you can even keep the sound as sub-object of the slide. Paul PS. I just tested this, but EPrime ran into problems when the sound file was always the same and defined as static text property (using a filename). When the sound file is defined as attribute, EPrime will re-initialize the sound object every iteration, and the problem disappeared. On 27 January 2014 11:46, wrote: > Hallo Paul > > Thank you for your help. > Unfortunately, the Sound file is played before the slide is opened, if I > insert the SoundOut object before the restart Label in the procedure. > > > Isn't there another way to express Else , so that > really nothing happens, if a click occurs in the invalid area of the slide? > Goto > restart > > > > > > Am Freitag, 24. Januar 2014 19:11:59 UTC+1 schrieb Paul Groot: > >> Hans, >> >> I think that the solution for the restarted sound is to insert the sound >> as separate SoundOut object before the restart label. The duration could be >> set to zero, and stopafter to no. The The inline script should be OK, >> although I personally prefer to use a separate list object instead of a >> goto-label to construct a repeating loop until a valid item is clicked. By >> using a sub-list you will automatically get all individual clicks in the >> edat-file. You also might need a small piece of script to stop the sound. >> >> The problem with the overall RT should be handled by additional inline >> script. Just subtract the RTTime of the valid response from the OnsetTime >> of the (first) stimulus onset. You can look at the following example for >> this: http://pfcgroot.nl/e-prime/83-example-scripts/88- >> image-click-example.html >> >> Paul >> >> >> On 24 January 2014 18:07, wrote: >> >>> Hallo everybody >>> >>> I am trying to create a Task where an image (a Comic Scene) is given as >>> a stimulus. Simultaneously, there is a sound file played, which describes >>> the stimulus scene. >>> Participants should choose 1of 4 possible answers (4 Images) by clicking. >>> >>> So i have got a slide with 5 slide-images (1 stimulus and 4 target >>> Images) and 1 slide-sound-out sub-object. >>> >>> I've used the following inLine code to define the 4 target Images as >>> clickable targets and to check, if the clicked image is the correct answer: >>> >>> >>> >>> Dim theState as SlideState >>> Set theState = RecognitionSlide.States("Default") >>> Dim next_mX as Long, next_mY as Long >>> Dim strHit As String >>> Dim theMouseResponseData As MouseResponseData >>> >>> >>> If RecognitionSlide.InputMasks.Responses.Count > 0 Then >>> >>> Set theMouseResponseData = CMouseResponseData( >>> RecognitionSlide.InputMasks.Responses(1)) >>> >>> >>> strHit = theState.HitTest(theMouseResponseData.CursorX, >>> theMouseResponseData.CursorY) >>> >>> >>> If strHit = ("Image1") or strHit = ("Image2") or >>> strHit = ("Image3")or strHit = ("Image4") Then >>> c.SetAttrib "response", strHit >>> >>> Else >>> Goto restart >>> End If >>> >>> >>> If strHit = c.GetAttrib("CorrectEmotion") Then >>> RecognitionSlide.ACC = 1 >>> Else >>> RecognitionSlide.ACC = 0 >>> End If >>> >>> >>> My Problem is, that everytime you click somewhere else than the 4 >>> target Images, the Sound file and RT-measures start again. >>> >>> So basically i need something else than the code >>> Else >>> Goto restart >>> which doesn't cause the slide to be reset. >>> >>> >>> Is there any way to make everything but the 4 target Images unclickable? >>> I hope you understand what i mean. >>> >>> Any help would be appreciated >>> Best regards >>> Hans >>> >>> -- >>> You received this message because you are subscribed 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/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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/c74d6a70-2f5b-4b95-a869-9933095cd165%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-uvhsUb8a2TGUo-Nnexk0bixv%2BVKc-m3Fi1g9N0m%2Bkr1w%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shai.aviram at gmail.com Tue Jan 28 09:28:35 2014 From: shai.aviram at gmail.com (Shai Aviram) Date: Tue, 28 Jan 2014 01:28:35 -0800 Subject: Mathematical task In-Reply-To: <52e6aed2.893d320a.571b.60b6SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thank you all for the help! On Monday, January 27, 2014 9:09:00 PM UTC+2, McFarlane, David wrote: > > The thread at > https://groups.google.com/d/topic/e-prime/e12W9DdgvrM might also help > here. > > -- David McFarlane > > > At 1/27/2014 08:52 AM Monday, Cognitology wrote: > >Hi, > >You can easily do this at the block level by > >setting the list to exist after . ms. > >Best, > >Michiel > > > >From: e-p... at googlegroups.com > >[mailto:e-p... at googlegroups.com ] On Behalf Of Shai Aviram > >Sent: 26. January 2014 17:49 > >To: e-p... at googlegroups.com > >Subject: Re: Mathematical task > > > >Thank you all for detailed and comprehensive answers. > >you helped me very much. > >as you pointed I`m now going to do some homework > >regarding the specific experiment design. > >I just wanted to get a brief understanding if it even possible. > > > >one last small question, as this task should > >simulate a real math test (as in school) > >I need to set a timer for each block (block = set of exercises) > >I know how to set a time limitation per > >response, but can I do it in the block level?? > > > >Thanks again! > >This group is really helpful! > > > >On Monday, January 20, 2014 10:03:16 PM UTC+2, Shai Aviram wrote: > >Hello, > > > >I need to design a mathematical task > >this is a simple task in which the student will > >see 10 mathematical exercises and he needs to > >solve them sequentiality (from top one to the last one) > >to design this task I need the ability to > >present a set of exercises (vertically) and > >allow user the answer each exercise (input > >field) and see what he types on screen. and > >allow him to advance to the next exercise > >it should something like this: > > > >223 + 123 = 346 (example for answer exercise by student) > > > >120 + 150 = 270 (example for answer exercise by student) > > > >300 + 400 = ____ (this is the current exercise the student need to > answer) > > > >150 + 150 = ____ (this is the next exercise for the student) > > > >and so on... > > > >I would like to know if this design is possible to be designed in > E-prime? > > > >Thanks in advance. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a5f98804-5ecc-4ded-ac3e-152eb3ea587f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From haslinger.hans11 at gmail.com Tue Jan 28 10:25:00 2014 From: haslinger.hans11 at gmail.com (haslinger.hans11 at gmail.com) Date: Tue, 28 Jan 2014 02:25:00 -0800 Subject: Problem with hit Test In-Reply-To: Message-ID: Hi Paul I will try your SoundOut solution again. Maybe I got something wrong. My design looks like that: TaskList restart (Label) InstructionRecognition (Slide) InLine RecognitionList RecognitionTrialProc restart (Label) RecognitionSlide InLine The Stimulus-Images, target - Images and Soundfiles are listed in "RecognitionList". But the again: I would stay away from goto-label constructs and use a > separate List object Might the GoTo-solution cause any problems additionaly to the restarting-problem or is the List-Loop method just a cleaner solution? My design is a little larger, because i have more other tasks like "Recognition", so it would be a bit more work. The easiest way (in my naive imagination) would be to make everything else except of the target Images impossible to click on. Is something like that possible? Am Montag, 27. Januar 2014 22:23:44 UTC+1 schrieb Paul Groot: > Hi Hans, > > Perhaps I'm mixing things up, but if I understand your design correctly, > it should be possible to move the sound from the Stimulus slide to a > separate SoundOut object just before the Stimulus Slide, without disturbing > anything. (Ignoring the restart label for now.) If the duration of the > SoundOut object is set to zero, the onset of the sound should (almost) > coincide with the onset of the image. (If the onset times of the stimuli > are critical, you will have to measure sound and display onsets using > suitable instruments and fine-tune your script.) I assumed your > restart-label is placed immediately before the stimulus Slide, so to > prevent the sound from restarting, you should now place it between the > SoundOut and Slide objects. (I.e., the order will be: SoundOut, Restart > Label, RecognitionSlide). If you do it like this, the sound should not > start early. > > But the again: I would stay away from goto-label constructs and use a > separate List object... If you use a list for repeating clicks, you can > even keep the sound as sub-object of the slide. > > Paul > > PS. I just tested this, but EPrime ran into problems when the sound file > was always the same and defined as static text property (using a filename). > When the sound file is defined as attribute, EPrime will re-initialize the > sound object every iteration, and the problem disappeared. > > > > > > > > On 27 January 2014 11:46, > wrote: > >> Hallo Paul >> >> Thank you for your help. >> Unfortunately, the Sound file is played before the slide is opened, if I >> insert the SoundOut object before the restart Label in the procedure. >> >> >> Isn't there another way to express Else , so that >> really nothing happens, if a click occurs in the invalid area of the slide? >> Goto >> restart >> >> >> >> >> >> Am Freitag, 24. Januar 2014 19:11:59 UTC+1 schrieb Paul Groot: >> >>> Hans, >>> >>> I think that the solution for the restarted sound is to insert the sound >>> as separate SoundOut object before the restart label. The duration could be >>> set to zero, and stopafter to no. The The inline script should be OK, >>> although I personally prefer to use a separate list object instead of a >>> goto-label to construct a repeating loop until a valid item is clicked. By >>> using a sub-list you will automatically get all individual clicks in the >>> edat-file. You also might need a small piece of script to stop the sound. >>> >>> The problem with the overall RT should be handled by additional inline >>> script. Just subtract the RTTime of the valid response from the OnsetTime >>> of the (first) stimulus onset. You can look at the following example for >>> this: http://pfcgroot.nl/e-prime/83-example-scripts/88- >>> image-click-example.html >>> >>> Paul >>> >>> >>> On 24 January 2014 18:07, wrote: >>> >>>> Hallo everybody >>>> >>>> I am trying to create a Task where an image (a Comic Scene) is given >>>> as a stimulus. Simultaneously, there is a sound file played, which >>>> describes the stimulus scene. >>>> Participants should choose 1of 4 possible answers (4 Images) by >>>> clicking. >>>> >>>> So i have got a slide with 5 slide-images (1 stimulus and 4 target >>>> Images) and 1 slide-sound-out sub-object. >>>> >>>> I've used the following inLine code to define the 4 target Images as >>>> clickable targets and to check, if the clicked image is the correct answer: >>>> >>>> >>>> >>>> Dim theState as SlideState >>>> Set theState = RecognitionSlide.States("Default") >>>> Dim next_mX as Long, next_mY as Long >>>> Dim strHit As String >>>> Dim theMouseResponseData As MouseResponseData >>>> >>>> >>>> If RecognitionSlide.InputMasks.Responses.Count > 0 Then >>>> >>>> Set theMouseResponseData = CMouseResponseData( >>>> RecognitionSlide.InputMasks.Responses(1)) >>>> >>>> >>>> strHit = theState.HitTest(theMouseResponseData.CursorX, >>>> theMouseResponseData.CursorY) >>>> >>>> >>>> If strHit = ("Image1") or strHit = ("Image2") or >>>> strHit = ("Image3")or strHit = ("Image4") Then >>>> c.SetAttrib "response", strHit >>>> >>>> Else >>>> Goto restart >>>> End If >>>> >>>> >>>> If strHit = c.GetAttrib("CorrectEmotion") Then >>>> RecognitionSlide.ACC = 1 >>>> Else >>>> RecognitionSlide.ACC = 0 >>>> End If >>>> >>>> >>>> My Problem is, that everytime you click somewhere else than the 4 >>>> target Images, the Sound file and RT-measures start again. >>>> >>>> So basically i need something else than the code >>>> Else >>>> Goto restart >>>> which doesn't cause the slide to be reset. >>>> >>>> >>>> Is there any way to make everything but the 4 target Images unclickable? >>>> I hope you understand what i mean. >>>> >>>> Any help would be appreciated >>>> Best regards >>>> Hans >>>> >>>> -- >>>> You received this message because you are subscribed 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/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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+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/c74d6a70-2f5b-4b95-a869-9933095cd165%40googlegroups.com >> . >> >> For more options, visit https://groups.google.com/groups/opt_out. >> > > Am Montag, 27. Januar 2014 22:23:44 UTC+1 schrieb Paul Groot: > > Hi Hans, > > Perhaps I'm mixing things up, but if I understand your design correctly, > it should be possible to move the sound from the Stimulus slide to a > separate SoundOut object just before the Stimulus Slide, without disturbing > anything. (Ignoring the restart label for now.) If the duration of the > SoundOut object is set to zero, the onset of the sound should (almost) > coincide with the onset of the image. (If the onset times of the stimuli > are critical, you will have to measure sound and display onsets using > suitable instruments and fine-tune your script.) I assumed your > restart-label is placed immediately before the stimulus Slide, so to > prevent the sound from restarting, you should now place it between the > SoundOut and Slide objects. (I.e., the order will be: SoundOut, Restart > Label, RecognitionSlide). If you do it like this, the sound should not > start early. > > But the again: I would stay away from goto-label constructs and use a > separate List object... If you use a list for repeating clicks, you can > even keep the sound as sub-object of the slide. > > Paul > > PS. I just tested this, but EPrime ran into problems when the sound file > was always the same and defined as static text property (using a filename). > When the sound file is defined as attribute, EPrime will re-initialize the > sound object every iteration, and the problem disappeared. > > > > > > > > On 27 January 2014 11:46, > wrote: > >> Hallo Paul >> >> Thank you for your help. >> Unfortunately, the Sound file is played before the slide is opened, if I >> insert the SoundOut object before the restart Label in the procedure. >> >> >> Isn't there another way to express Else , so that >> really nothing happens, if a click occurs in the invalid area of the slide? >> Goto >> restart >> >> >> >> >> >> Am Freitag, 24. Januar 2014 19:11:59 UTC+1 schrieb Paul Groot: >> >>> Hans, >>> >>> I think that the solution for the restarted sound is to insert the sound >>> as separate SoundOut object before the restart label. The duration could be >>> set to zero, and stopafter to no. The The inline script should be OK, >>> although I personally prefer to use a separate list object instead of a >>> goto-label to construct a repeating loop until a valid item is clicked. By >>> using a sub-list you will automatically get all individual clicks in the >>> edat-file. You also might need a small piece of script to stop the sound. >>> >>> The problem with the overall RT should be handled by additional inline >>> script. Just subtract the RTTime of the valid response from the OnsetTime >>> of the (first) stimulus onset. You can look at the following example for >>> this: http://pfcgroot.nl/e-prime/83-example-scripts/88- >>> image-click-example.html >>> >>> Paul >>> >>> >>> On 24 January 2014 18:07, wrote: >>> >>>> Hallo everybody >>>> >>>> I am trying to create a Task where an image (a Comic Scene) is given >>>> as a stimulus. Simultaneously, there is a sound file played, which >>>> describes the stimulus scene. >>>> Participants should choose 1of 4 possible answers (4 Images) by >>>> clicking. >>>> >>>> So i have got a slide with 5 slide-images (1 stimulus and 4 target >>>> Images) and 1 slide-sound-out sub-object. >>>> >>>> I've used the following inLine code to define the 4 target Images as >>>> clickable targets and to check, if the clicked image is the correct answer: >>>> >>>> >>>> >>>> Dim theState as SlideState >>>> Set theState = RecognitionSlide.States("Default") >>>> Dim next_mX as Long, next_mY as Long >>>> Dim strHit As String >>>> Dim theMouseResponseData As MouseResponseData >>>> >>>> >>>> If RecognitionSlide.InputMasks.Responses.Count > 0 Then >>>> >>>> Set theMouseResponseData = CMouseResponseData( >>>> RecognitionSlide.InputMasks.Responses(1)) >>>> >>>> >>>> strHit = theState.HitTest(theMouseResponseData.CursorX, >>>> theMouseResponseData.CursorY) >>>> >>>> >>>> If strHit = ("Image1") or strHit = ("Image2") or >>>> strHit = ("Image3")or strHit = ("Image4") Then >>>> c.SetAttrib "response", strHit >>>> >>>> Else >>>> Goto restart >>>> End If >>>> >>>> >>>> If strHit = c.GetAttrib("CorrectEmotion") Then >>>> RecognitionSlide.ACC = 1 >>>> Else >>>> RecognitionSlide.ACC = 0 >>>> End If >>>> >>>> >>>> My Problem is, that everytime you click somewhere else than the 4 >>>> target Images, the Sound file and RT-measures start again. >>>> >>>> So basically i need something else than the code >>>> Else >>>> Goto restart >>>> which doesn't cause the slide to be reset. >>>> >>>> >>>> Is there any way to make everything but the 4 target Images unclickable? >>>> I hope you understand what i mean. >>>> >>>> Any help would be appreciated >>>> Best regards >>>> Hans >>>> >>>> -- >>>> You received this message because you are subscribed 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/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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+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/c74d6a70-2f5b-4b95-a869-9933095cd165%40googlegroups.com >> . >> >> For more options, visit https://groups.google.com/groups/opt_out. >> > > Am Montag, 27. Januar 2014 22:23:44 UTC+1 schrieb Paul Groot: > > Hi Hans, > > Perhaps I'm mixing things up, but if I understand your design correctly, > it should be possible to move the sound from the Stimulus slide to a > separate SoundOut object just before the Stimulus Slide, without disturbing > anything. (Ignoring the restart label for now.) If the duration of the > SoundOut object is set to zero, the onset of the sound should (almost) > coincide with the onset of the image. (If the onset times of the stimuli > are critical, you will have to measure sound and display onsets using > suitable instruments and fine-tune your script.) I assumed your > restart-label is placed immediately before the stimulus Slide, so to > prevent the sound from restarting, you should now place it between the > SoundOut and Slide objects. (I.e., the order will be: SoundOut, Restart > Label, RecognitionSlide). If you do it like this, the sound should not > start early. > > But the again: I would stay away from goto-label constructs and use a > separate List object... If you use a list for repeating clicks, you can > even keep the sound as sub-object of the slide. > > Paul > > PS. I just tested this, but EPrime ran into problems when the sound file > was always the same and defined as static text property (using a filename). > When the sound file is defined as attribute, EPrime will re-initialize the > sound object every iteration, and the problem disappeared. > > > > > > > > On 27 January 2014 11:46, > wrote: > >> Hallo Paul >> >> Thank you for your help. >> Unfortunately, the Sound file is played before the slide is opened, if I >> insert the SoundOut object before the restart Label in the procedure. >> >> >> Isn't there another way to express Else , so that >> really nothing happens, if a click occurs in the invalid area of the slide? >> Goto >> restart >> >> >> >> >> >> Am Freitag, 24. Januar 2014 19:11:59 UTC+1 schrieb Paul Groot: >> >>> Hans, >>> >>> I think that the solution for the restarted sound is to insert the sound >>> as separate SoundOut object before the restart label. The duration could be >>> set to zero, and stopafter to no. The The inline script should be OK, >>> although I personally prefer to use a separate list object instead of a >>> goto-label to construct a repeating loop until a valid item is clicked. By >>> using a sub-list you will automatically get all individual clicks in the >>> edat-file. You also might need a small piece of script to stop the sound. >>> >>> The problem with the overall RT should be handled by additional inline >>> script. Just subtract the RTTime of the valid response from the OnsetTime >>> of the (first) stimulus onset. You can look at the following example for >>> this: http://pfcgroot.nl/e-prime/83-example-scripts/88- >>> image-click-example.html >>> >>> Paul >>> >>> >>> On 24 January 2014 18:07, wrote: >>> >>>> Hallo everybody >>>> >>>> I am trying to create a Task where an image (a Comic Scene) is given >>>> as a stimulus. Simultaneously, there is a sound file played, which >>>> describes the stimulus scene. >>>> Participants should choose 1of 4 possible answers (4 Images) by >>>> clicking. >>>> >>>> So i have got a slide with 5 slide-images (1 stimulus and 4 target >>>> Images) and 1 slide-sound-out sub-object. >>>> >>>> I've used the following inLine code to define the 4 target Images as >>>> clickable targets and to check, if the clicked image is the correct answer: >>>> >>>> >>>> >>>> Dim theState as SlideState >>>> Set theState = RecognitionSlide.States("Default") >>>> Dim next_mX as Long, next_mY as Long >>>> Dim strHit As String >>>> Dim theMouseResponseData As MouseResponseData >>>> >>>> >>>> If RecognitionSlide.InputMasks.Responses.Count > 0 Then >>>> >>>> Set theMouseResponseData = CMouseResponseData( >>>> RecognitionSlide.InputMasks.Responses(1)) >>>> >>>> >>>> strHit = theState.HitTest(theMouseResponseData.CursorX, >>>> theMouseResponseData.CursorY) >>>> >>>> >>>> If strHit = ("Image1") or strHit = ("Image2") or >>>> strHit = ("Image3")or strHit = ("Image4") Then >>>> c.SetAttrib "response", strHit >>>> >>>> Else >>>> Goto restart >>>> End If >>>> >>>> >>>> If strHit = c.GetAttrib("CorrectEmotion") Then >>>> RecognitionSlide.ACC = 1 >>>> Else >>>> RecognitionSlide.ACC = 0 >>>> End If >>>> >>>> >>>> My Problem is, that everytime you click somewhere else than the 4 >>>> target Images, the Sound file and RT-measures start again. >>>> >>>> So basically i need something else than the code >>>> Else >>>> Goto restart >>>> which doesn't cause the slide to be reset. >>>> >>>> >>>> Is there any way to make everything but the 4 target Images unclickable? >>>> I hope you understand what i mean. >>>> >>>> Any help would be appreciated >>>> Best regards >>>> Hans >>>> >>>> -- >>>> You received this message because you are subscribed 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/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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+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/c74d6a70-2f5b-4b95-a869-9933095cd165%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/a6ecf23f-4fdb-4e42-88bc-47c6a1924b69%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From markversella at gmail.com Tue Jan 28 14:19:20 2014 From: markversella at gmail.com (Mark Versella) Date: Tue, 28 Jan 2014 06:19:20 -0800 Subject: Displaying a stimuli for a random amount of time Message-ID: Hi all, hoping to get some help with a small hiccup that I've been experiencing in putting together my program in Eprime 2.0. I'm a novice when it comes to working with this software, so pardon my use of any incorrect terminology. What I'm trying to do is display a stimuli for a random amount of time, within a set range (1 to 3 seconds). The task I'm programming calls for a variable inter-trial interval, and I'm not sure how exactly to write that in. Any guidance on how to do this through the tools Eprime provides would be much appreciated (as I have very limited experience working with syntax), but if the only option is to write this in manually, that would be fine too. Thanks so much! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/b752fdf2-6548-4151-82a7-e6297a2b6c90%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From haslinger.hans11 at gmail.com Tue Jan 28 14:38:08 2014 From: haslinger.hans11 at gmail.com (haslinger.hans11 at gmail.com) Date: Tue, 28 Jan 2014 06:38:08 -0800 Subject: Problem with hit Test In-Reply-To: Message-ID: Hallo again I have tried it once again. Duration was set to "infinite" not 0 ( so embarrassing...) It's working now. For the RT-measure I used the following code after the hitTest: Dim Reaction as Long Reaction = RecognitionSlide.RTTime - SoundOut1.OnsetTime c.SetAttrib "RecognitionReaction", Reaction because when I used "RecognitionSlide.OnsetTime" instead of "SoundOut1.OnsetTime" it led to the same value as "RecognitionSlide.RT". This code seems to produce the right RT now. It seems as if i solved my problem now. I just tried it in a seperate es.-file and have to check if it still works in my actual Experiment. But so far it is looking good. Thank you very much for all your help, Paul. Best regards Hans P.S. I kept my goto restart design. "Never Change a winning team" or working program (...as I hope...) ;-) Am Dienstag, 28. Januar 2014 11:25:00 UTC+1 schrieb haslinge... at gmail.com: > Hi Paul > > I will try your SoundOut solution again. Maybe I got something wrong. > > > My design looks like that: > > TaskList > restart (Label) > InstructionRecognition (Slide) > InLine > RecognitionList > RecognitionTrialProc > restart (Label) > RecognitionSlide > InLine > > The Stimulus-Images, target - Images and Soundfiles are listed in > "RecognitionList". > > > But the again: I would stay away from goto-label constructs and use a >> separate List object > > > Might the GoTo-solution cause any problems additionaly to the > restarting-problem or is the List-Loop method just a cleaner solution? > My design is a little larger, because i have more other tasks like > "Recognition", so it would be a bit more work. > > > > The easiest way (in my naive imagination) would be to make everything else > except of the target Images impossible to click on. > Is something like that possible? > > > > Am Montag, 27. Januar 2014 22:23:44 UTC+1 schrieb Paul Groot: > >> Hi Hans, >> >> Perhaps I'm mixing things up, but if I understand your design correctly, >> it should be possible to move the sound from the Stimulus slide to a >> separate SoundOut object just before the Stimulus Slide, without disturbing >> anything. (Ignoring the restart label for now.) If the duration of the >> SoundOut object is set to zero, the onset of the sound should (almost) >> coincide with the onset of the image. (If the onset times of the stimuli >> are critical, you will have to measure sound and display onsets using >> suitable instruments and fine-tune your script.) I assumed your >> restart-label is placed immediately before the stimulus Slide, so to >> prevent the sound from restarting, you should now place it between the >> SoundOut and Slide objects. (I.e., the order will be: SoundOut, Restart >> Label, RecognitionSlide). If you do it like this, the sound should not >> start early. >> >> But the again: I would stay away from goto-label constructs and use a >> separate List object... If you use a list for repeating clicks, you can >> even keep the sound as sub-object of the slide. >> >> Paul >> >> PS. I just tested this, but EPrime ran into problems when the sound file >> was always the same and defined as static text property (using a filename). >> When the sound file is defined as attribute, EPrime will re-initialize the >> sound object every iteration, and the problem disappeared. >> >> >> >> >> >> >> >> On 27 January 2014 11:46, wrote: >> >>> Hallo Paul >>> >>> Thank you for your help. >>> Unfortunately, the Sound file is played before the slide is opened, if I >>> insert the SoundOut object before the restart Label in the procedure. >>> >>> >>> Isn't there another way to express Else , so that >>> really nothing happens, if a click occurs in the invalid area of the slide? >>> Goto >>> restart >>> >>> >>> >>> >>> >>> Am Freitag, 24. Januar 2014 19:11:59 UTC+1 schrieb Paul Groot: >>> >>>> Hans, >>>> >>>> I think that the solution for the restarted sound is to insert the >>>> sound as separate SoundOut object before the restart label. The duration >>>> could be set to zero, and stopafter to no. The The inline script should be >>>> OK, although I personally prefer to use a separate list object instead of a >>>> goto-label to construct a repeating loop until a valid item is clicked. By >>>> using a sub-list you will automatically get all individual clicks in the >>>> edat-file. You also might need a small piece of script to stop the sound. >>>> >>>> The problem with the overall RT should be handled by additional inline >>>> script. Just subtract the RTTime of the valid response from the OnsetTime >>>> of the (first) stimulus onset. You can look at the following example for >>>> this: http://pfcgroot.nl/e-prime/83-example-scripts/88- >>>> image-click-example.html >>>> >>>> Paul >>>> >>>> >>>> On 24 January 2014 18:07, wrote: >>>> >>>>> Hallo everybody >>>>> >>>>> I am trying to create a Task where an image (a Comic Scene) is given >>>>> as a stimulus. Simultaneously, there is a sound file played, which >>>>> describes the stimulus scene. >>>>> Participants should choose 1of 4 possible answers (4 Images) by >>>>> clicking. >>>>> >>>>> So i have got a slide with 5 slide-images (1 stimulus and 4 target >>>>> Images) and 1 slide-sound-out sub-object. >>>>> >>>>> I've used the following inLine code to define the 4 target Images as >>>>> clickable targets and to check, if the clicked image is the correct answer: >>>>> >>>>> >>>>> >>>>> Dim theState as SlideState >>>>> Set theState = RecognitionSlide.States("Default") >>>>> Dim next_mX as Long, next_mY as Long >>>>> Dim strHit As String >>>>> Dim theMouseResponseData As MouseResponseData >>>>> >>>>> >>>>> If RecognitionSlide.InputMasks.Responses.Count > 0 Then >>>>> >>>>> Set theMouseResponseData = CMouseResponseData( >>>>> RecognitionSlide.InputMasks.Responses(1)) >>>>> >>>>> >>>>> strHit = theState.HitTest(theMouseResponseData.CursorX, >>>>> theMouseResponseData.CursorY) >>>>> >>>>> >>>>> If strHit = ("Image1") or strHit = ("Image2") or >>>>> strHit = ("Image3")or strHit = ("Image4") Then >>>>> c.SetAttrib "response", strHit >>>>> >>>>> Else >>>>> Goto restart >>>>> End If >>>>> >>>>> >>>>> If strHit = c.GetAttrib("CorrectEmotion") Then >>>>> RecognitionSlide.ACC = 1 >>>>> Else >>>>> RecognitionSlide.ACC = 0 >>>>> End If >>>>> >>>>> >>>>> My Problem is, that everytime you click somewhere else than the 4 >>>>> target Images, the Sound file and RT-measures start again. >>>>> >>>>> So basically i need something else than the code >>>>> Else >>>>> Goto restart >>>>> which doesn't cause the slide to be reset. >>>>> >>>>> >>>>> Is there any way to make everything but the 4 target Images >>>>> unclickable? >>>>> I hope you understand what i mean. >>>>> >>>>> Any help would be appreciated >>>>> Best regards >>>>> Hans >>>>> >>>>> -- >>>>> You received this message because you are subscribed 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/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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+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/c74d6a70-2f5b-4b95-a869-9933095cd165%40googlegroups.com >>> . >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> > Am Montag, 27. Januar 2014 22:23:44 UTC+1 schrieb Paul Groot: >> >> Hi Hans, >> >> Perhaps I'm mixing things up, but if I understand your design correctly, >> it should be possible to move the sound from the Stimulus slide to a >> separate SoundOut object just before the Stimulus Slide, without disturbing >> anything. (Ignoring the restart label for now.) If the duration of the >> SoundOut object is set to zero, the onset of the sound should (almost) >> coincide with the onset of the image. (If the onset times of the stimuli >> are critical, you will have to measure sound and display onsets using >> suitable instruments and fine-tune your script.) I assumed your >> restart-label is placed immediately before the stimulus Slide, so to >> prevent the sound from restarting, you should now place it between the >> SoundOut and Slide objects. (I.e., the order will be: SoundOut, Restart >> Label, RecognitionSlide). If you do it like this, the sound should not >> start early. >> >> But the again: I would stay away from goto-label constructs and use a >> separate List object... If you use a list for repeating clicks, you can >> even keep the sound as sub-object of the slide. >> >> Paul >> >> PS. I just tested this, but EPrime ran into problems when the sound file >> was always the same and defined as static text property (using a filename). >> When the sound file is defined as attribute, EPrime will re-initialize the >> sound object every iteration, and the problem disappeared. >> >> >> >> >> >> >> >> On 27 January 2014 11:46, wrote: >> >>> Hallo Paul >>> >>> Thank you for your help. >>> Unfortunately, the Sound file is played before the slide is opened, if I >>> insert the SoundOut object before the restart Label in the procedure. >>> >>> >>> Isn't there another way to express Else , so that >>> really nothing happens, if a click occurs in the invalid area of the slide? >>> Goto >>> restart >>> >>> >>> >>> >>> >>> Am Freitag, 24. Januar 2014 19:11:59 UTC+1 schrieb Paul Groot: >>> >>>> Hans, >>>> >>>> I think that the solution for the restarted sound is to insert the >>>> sound as separate SoundOut object before the restart label. The duration >>>> could be set to zero, and stopafter to no. The The inline script should be >>>> OK, although I personally prefer to use a separate list object instead of a >>>> goto-label to construct a repeating loop until a valid item is clicked. By >>>> using a sub-list you will automatically get all individual clicks in the >>>> edat-file. You also might need a small piece of script to stop the sound. >>>> >>>> The problem with the overall RT should be handled by additional inline >>>> script. Just subtract the RTTime of the valid response from the OnsetTime >>>> of the (first) stimulus onset. You can look at the following example for >>>> this: http://pfcgroot.nl/e-prime/83-example-scripts/88- >>>> image-click-example.html >>>> >>>> Paul >>>> >>>> >>>> On 24 January 2014 18:07, wrote: >>>> >>>>> Hallo everybody >>>>> >>>>> I am trying to create a Task where an image (a Comic Scene) is given >>>>> as a stimulus. Simultaneously, there is a sound file played, which >>>>> describes the stimulus scene. >>>>> Participants should choose 1of 4 possible answers (4 Images) by >>>>> clicking. >>>>> >>>>> So i have got a slide with 5 slide-images (1 stimulus and 4 target >>>>> Images) and 1 slide-sound-out sub-object. >>>>> >>>>> I've used the following inLine code to define the 4 target Images as >>>>> clickable targets and to check, if the clicked image is the correct answer: >>>>> >>>>> >>>>> >>>>> Dim theState as SlideState >>>>> Set theState = RecognitionSlide.States("Default") >>>>> Dim next_mX as Long, next_mY as Long >>>>> Dim strHit As String >>>>> Dim theMouseResponseData As MouseResponseData >>>>> >>>>> >>>>> If RecognitionSlide.InputMasks.Responses.Count > 0 Then >>>>> >>>>> Set theMouseResponseData = CMouseResponseData( >>>>> RecognitionSlide.InputMasks.Responses(1)) >>>>> >>>>> >>>>> strHit = theState.HitTest(theMouseResponseData.CursorX, >>>>> theMouseResponseData.CursorY) >>>>> >>>>> >>>>> If strHit = ("Image1") or strHit = ("Image2") or >>>>> strHit = ("Image3")or strHit = ("Image4") Then >>>>> c.SetAttrib "response", strHit >>>>> >>>>> Else >>>>> Goto restart >>>>> End If >>>>> >>>>> >>>>> If strHit = c.GetAttrib("CorrectEmotion") Then >>>>> RecognitionSlide.ACC = 1 >>>>> Else >>>>> RecognitionSlide.ACC = 0 >>>>> End If >>>>> >>>>> >>>>> My Problem is, that everytime you click somewhere else than the 4 >>>>> target Images, the Sound file and RT-measures start again. >>>>> >>>>> So basically i need something else than the code >>>>> Else >>>>> Goto restart >>>>> which doesn't cause the slide to be reset. >>>>> >>>>> >>>>> Is there any way to make everything but the 4 target Images >>>>> unclickable? >>>>> I hope you understand what i mean. >>>>> >>>>> Any help would be appreciated >>>>> Best regards >>>>> Hans >>>>> >>>>> -- >>>>> You received this message because you are subscribed 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/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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+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/c74d6a70-2f5b-4b95-a869-9933095cd165%40googlegroups.com >>> . >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> > Am Montag, 27. Januar 2014 22:23:44 UTC+1 schrieb Paul Groot: >> >> Hi Hans, >> >> Perhaps I'm mixing things up, but if I understand your design correctly, >> it should be possible to move the sound from the Stimulus slide to a >> separate SoundOut object just before the Stimulus Slide, without disturbing >> anything. (Ignoring the restart label for now.) If the duration of the >> SoundOut object is set to zero, the onset of the sound should (almost) >> coincide with the onset of the image. (If the onset times of the stimuli >> are critical, you will have to measure sound and display onsets using >> suitable instruments and fine-tune your script.) I assumed your >> restart-label is placed immediately before the stimulus Slide, so to >> prevent the sound from restarting, you should now place it between the >> SoundOut and Slide objects. (I.e., the order will be: SoundOut, Restart >> Label, RecognitionSlide). If you do it like this, the sound should not >> start early. >> >> But the again: I would stay away from goto-label constructs and use a >> separate List object... If you use a list for repeating clicks, you can >> even keep the sound as sub-object of the slide. >> >> Paul >> >> PS. I just tested this, but EPrime ran into problems when the sound file >> was always the same and defined as static text property (using a filename). >> When the sound file is defined as attribute, EPrime will re-initialize the >> sound object every iteration, and the problem disappeared. >> >> >> >> >> >> >> >> On 27 January 2014 11:46, wrote: >> >>> Hallo Paul >>> >>> Thank you for your help. >>> Unfortunately, the Sound file is played before the slide is opened, if I >>> insert the SoundOut object before the restart Label in the procedure. >>> >>> >>> Isn't there another way to express Else , so that >>> really nothing happens, if a click occurs in the invalid area of the slide? >>> Goto >>> restart >>> >>> >>> >>> >>> >>> Am Freitag, 24. Januar 2014 19:11:59 UTC+1 schrieb Paul Groot: >>> >>>> Hans, >>>> >>>> I think that the solution for the restarted sound is to insert the >>>> sound as separate SoundOut object before the restart label. The duration >>>> could be set to zero, and stopafter to no. The The inline script should be >>>> OK, although I personally prefer to use a separate list object instead of a >>>> goto-label to construct a repeating loop until a valid item is clicked. By >>>> using a sub-list you will automatically get all individual clicks in the >>>> edat-file. You also might need a small piece of script to stop the sound. >>>> >>>> The problem with the overall RT should be handled by additional inline >>>> script. Just subtract the RTTime of the valid response from the OnsetTime >>>> of the (first) stimulus onset. You can look at the following example for >>>> this: http://pfcgroot.nl/e-prime/83-example-scripts/88- >>>> image-click-example.html >>>> >>>> Paul >>>> >>>> >>>> On 24 January 2014 18:07, wrote: >>>> >>>>> Hallo everybody >>>>> >>>>> I am trying to create a Task where an image (a Comic Scene) is given >>>>> as a stimulus. Simultaneously, there is a sound file played, which >>>>> describes the stimulus scene. >>>>> Participants should choose 1of 4 possible answers (4 Images) by >>>>> clicking. >>>>> >>>>> So i have got a slide with 5 slide-images (1 stimulus and 4 target >>>>> Images) and 1 slide-sound-out sub-object. >>>>> >>>>> I've used the following inLine code to define the 4 target Images as >>>>> clickable targets and to check, if the clicked image is the correct answer: >>>>> >>>>> >>>>> >>>>> Dim theState as SlideState >>>>> Set theState = RecognitionSlide.States("Default") >>>>> Dim next_mX as Long, next_mY as Long >>>>> Dim strHit As String >>>>> Dim theMouseResponseData As MouseResponseData >>>>> >>>>> >>>>> If RecognitionSlide.InputMasks.Responses.Count > 0 Then >>>>> >>>>> Set theMouseResponseData = CMouseResponseData( >>>>> RecognitionSlide.InputMasks.Responses(1)) >>>>> >>>>> >>>>> strHit = theState.HitTest(theMouseResponseData.CursorX, >>>>> theMouseResponseData.CursorY) >>>>> >>>>> >>>>> If strHit = ("Image1") or strHit = ("Image2") or >>>>> strHit = ("Image3")or strHit = ("Image4") Then >>>>> c.SetAttrib "response", strHit >>>>> >>>>> Else >>>>> Goto restart >>>>> End If >>>>> >>>>> >>>>> If strHit = c.GetAttrib("CorrectEmotion") Then >>>>> RecognitionSlide.ACC = 1 >>>>> Else >>>>> RecognitionSlide.ACC = 0 >>>>> End If >>>>> >>>>> >>>>> My Problem is, that everytime you click somewhere else than the 4 >>>>> target Images, the Sound file and RT-measures start again. >>>>> >>>>> So basically i need something else than the code >>>>> Else >>>>> Goto restart >>>>> which doesn't cause the slide to be reset. >>>>> >>>>> >>>>> Is there any way to make everything but the 4 target Images >>>>> unclickable? >>>>> I hope you understand what i mean. >>>>> >>>>> Any help would be appreciated >>>>> Best regards >>>>> Hans >>>>> >>>>> -- >>>>> You received this message because you are subscribed 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/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%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+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/c74d6a70-2f5b-4b95-a869-9933095cd165%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/cc719d5c-c16c-49a6-ae0a-59feffce73d2%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 Jan 28 15:45:43 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 28 Jan 2014 10:45:43 -0500 Subject: Displaying a stimuli for a random amount of time In-Reply-To: Message-ID: Without knowing any more details, offhand I would just add a list of duration values to a List, set that to run in random order, and then use those values as an attribute reference for Duration in the stimulus object -- i.e., if you name the List attribute "StimDur", use "[StimDur]" in the Duration of the object. Beyond that, I might put the durations in a nested List -- see the nested List tutorial in Appendix C of the User's Guide that came with E-Prime. If you have not already, you should first work through *all* of the tutorials in all the manuals that came with E-Prime, it will save you (and others) a lot of trouble. See also https://groups.google.com/d/topic/e-prime/VCXgOWjKtCg . (BTW, as far as terminology goes, "stimuli" is the plural form, "stimulus" the singular -- so, either "displaying a stimulus" or "diplaying stimuli".) Best, ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster ) /---- Stock reminder: 1) I do not work for PST. 2) 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 1/28/2014 09:19 AM Tuesday, Mark Versella wrote: >Hi all, hoping to get some help with a small hiccup that I've been >experiencing in putting together my program in Eprime 2.0. I'm a >novice when it comes to working with this software, so pardon my use >of any incorrect terminology. > >What I'm trying to do is display a stimuli for a random amount of >time, within a set range (1 to 3 seconds). The task I'm programming >calls for a variable inter-trial interval, and I'm not sure how >exactly to write that in. Any guidance on how to do this through the >tools Eprime provides would be much appreciated (as I have very >limited experience working with syntax), but if the only option is >to write this in manually, that would be fine too. Thanks so much! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52e7d0ac.220c320a.7724.ffff809cSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From rahayes89 at gmail.com Wed Jan 29 20:02:26 2014 From: rahayes89 at gmail.com (Becca Hayes) Date: Wed, 29 Jan 2014 12:02:26 -0800 Subject: E-run 2.0.8.x files in E-run 2.0.10.353 Message-ID: Hi all, I have a request in to the PST support people, but I wanted to see if anyone here has found a solution: Our lab has some .ebs2 files that were created in an earlier version of e-prime (2.0.8.79). We just updated all of our computers to run version 2.0.10.353, and now these e-run files won't open. The e-run resolver lists our version of e-run as being "too new" to run the files, and they terminate with an error message when we try to run them anyway. Do any of you know any options for either updating these files or running them on our computer as-is, other than tracking down the original .es2 files (which were generated outside our lab and are proving to be elusive) and using e-studio to update them? -Becca -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/cfe283ea-b438-426b-8918-f526248d1132%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 Wed Jan 29 21:53:29 2014 From: ndlabmanager at gmail.com (Stephen Mattingly) Date: Wed, 29 Jan 2014 13:53:29 -0800 Subject: How to timestamp the Spacebar multiple times per slide within a free recall paradigm Message-ID: Hi All, I have made a script with the GUI that allows (and shows) participants the words that they type (separated by spaces). I was hoping that, in addition to recording all of the typed letters, that i could somehow timestamp each time the spacebar is pressed - such that i can know when the words are completed, rather than getting an RT measure for the whole slide. Specifically, I have a slide that accepts a keyboard input, and when escape is pressed the task ends. An example of what is recorded: The{SPACE}there{SPACE}{SPACE}there{SPACE}{SPACE}the{SPACE}three{SPACE}the{ ESCAPE} any suggestions or places to look to get on the right path would be 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/086dfc85-fce6-4f4a-b5cb-f1b3def0980a%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 Jan 29 22:17:14 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 29 Jan 2014 17:17:14 -0500 Subject: E-run 2.0.8.x files in E-run 2.0.10.353 In-Reply-To: Message-ID: Becca, As PST Support will no doubt tell you, you can still download and install the EP2.0.8.90 *runtime* files. Install that, and next time the E-Run resolver should recognize your older .ebs2 files and run them using the older runtime version. I just can't remember where this is documented offhand (responding during my day off at home). -- David McFarlane Becca Hayes wrote: > I have a request in to the PST support people, but I wanted to see if > anyone here has found a solution: > > Our lab has some .ebs2 files that were created in an earlier version of > e-prime (2.0.8.79). We just updated all of our computers to run version > 2.0.10.353, and now these e-run files won't open. The e-run resolver > lists our version of e-run as being "too new" to run the files, and they > terminate with an error message when we try to run them anyway. > > Do any of you know any options for either updating these files or > running them on our computer as-is, other than tracking down the > original .es2 files (which were generated outside our lab and are > proving to be elusive) and using e-studio to update them? > > -Becca -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52E97DEA.6040309%40msu.edu. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Wed Jan 29 22:38:49 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 29 Jan 2014 17:38:49 -0500 Subject: E-run 2.0.8.x files in E-run 2.0.10.353 In-Reply-To: <52E97DEA.6040309@msu.edu> Message-ID: Aha, you can find this documented at http://www.pstnet.com/support/kb.asp?TopicID=5325 . Regards, -- David David McFarlane wrote: > Becca, > > As PST Support will no doubt tell you, you can still download and > install the EP2.0.8.90 *runtime* files. Install that, and next time the > E-Run resolver should recognize your older .ebs2 files and run them > using the older runtime version. I just can't remember where this is > documented offhand (responding during my day off at home). > > -- David McFarlane > > > Becca Hayes wrote: >> I have a request in to the PST support people, but I wanted to see if >> anyone here has found a solution: >> >> Our lab has some .ebs2 files that were created in an earlier version >> of e-prime (2.0.8.79). We just updated all of our computers to run >> version 2.0.10.353, and now these e-run files won't open. The e-run >> resolver lists our version of e-run as being "too new" to run the >> files, and they terminate with an error message when we try to run >> them anyway. >> >> Do any of you know any options for either updating these files or >> running them on our computer as-is, other than tracking down the >> original .es2 files (which were generated outside our lab and are >> proving to be elusive) and using e-studio to update them? >> >> -Becca -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52E982F9.1070402%40msu.edu. For more options, visit https://groups.google.com/groups/opt_out. From ericd87 at gmail.com Wed Jan 29 22:44:00 2014 From: ericd87 at gmail.com (Eric Dixon) Date: Wed, 29 Jan 2014 14:44:00 -0800 Subject: Resetting the clock upon trigger onset. Message-ID: Hi all, Currently, e prime starts timing the experiment after I press the run button. This means that there can be several seconds (variable) between clicking the run button, entering in participant ID, session ID and the start of the actual experiment. I would like to either start or reset the clock so that the timing starts at the beginning of the experiment and not before. As of now we have to subtract the time between clicking run and the beginning of the stimulus from each stimulus onset inorder to find / quality check there actual onsets for processing. Obviously this can be tedious and if I can simplify the data processing stream it could save tons of time. In short, is there a way to either reset or start timing at the onset of the experiment. Please let me know if you have any questions. thanks, Eric -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/6d193239-d968-45ff-a447-ec062b4844af%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ericd87 at gmail.com Wed Jan 29 23:05:10 2014 From: ericd87 at gmail.com (Eric Dixon) Date: Wed, 29 Jan 2014 15:05:10 -0800 Subject: Opening an external link from E-Prime In-Reply-To: <321a89bc-02a6-4658-b662-11a654d67988@googlegroups.com> Message-ID: Hi Tracy, I'm sort of a novice as far as e prime is concerned so I would take the advise of others over mine. Anyway, I don't think that e prime will allow you to reliably open a web browser or other applications while e prime is running. It tends to take over the CPU while in use. I'm not exactly sure what data you are looking to collect but if its just questionnaire data and you absolutely need to run it in e prime then you could always just type out the questions into Text Displays and have them respond accordingly. *Note: This would be very time consuming so I would consider whether or not you need e prime for this task. Maybe just have them run through your experiment and then open the link manually. I hope this was some help. Cheers, Eric On Thursday, January 23, 2014 1:41:47 AM UTC-8, Tracy Cheung wrote: > > Hi there, > > I would be really happy to hear solutions or suggestions to a problem that > I am experiencing. > > The experiment that I am running consists of two parts. The first is a > Stroop Test (which I have already programmed with E-prime) and the second > is something that needs to be run on Open Sesame or on a survey link on the > Internet. > > I was wondering if it would be possible to insert some sort of link in > E-prime, so when participants link on it, it will open and start running an > external program (either it is Open Sesame or a link on the internet). > > It would be great to hear your responses. Thanks! > > Cheers, > Tracy > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/b83e452e-a712-4759-8250-19352901f6be%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ntabasum at gmail.com Thu Jan 30 11:46:07 2014 From: ntabasum at gmail.com (Nazool Tabassam) Date: Thu, 30 Jan 2014 11:46:07 +0000 Subject: how to vary the3 different time interval for the 3 fixation slides Message-ID: I have a paradigm which includes following slides Process a trial Fixation 1: 500ms Cue slide: 500ms Fixation 2: 2500ms picture: 1000ms rating: infinite I want to modify it having 3 balnk slides of three different time intervals Fixation1 = 500 fixation 2 = 1000 fixation 3 = 2000 Cue slide: 500ms (2 diffrent type of cues) Fixation 2: 2500ms picture: 1000ms (positive192+192 negative pictures) 384 pictures total rating: infinite i want 8 blocks:one block would include 16 trials with fix500, fix2 with 1000ms and fix3 with 2000ms. equal no of cuess and negative and positive pictures too. How to modify that in inline and in codes? please any hints. Regards -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAOKQe00U5J03ytyWxoAdYXqgJyCVY6Ao%3DfmX8mmS9vMR%3DNgphA%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 Thu Jan 30 16:14:18 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 30 Jan 2014 11:14:18 -0500 Subject: how to vary the3 different time interval for the 3 fixation slides In-Reply-To: Message-ID: Hmm, does the discussion a couple days ago at https://groups.google.com/d/topic/e-prime/E8jlcwfcQzk/discussion provide any clues here? -- David McFarlane At 1/30/2014 06:46 AM Thursday, Nazool Tabassam wrote: >I have a paradigm which includes following slides > >Process a trial > >Fixation 1: 500ms >Cue slide: 500ms >Fixation 2: 2500ms >picture: 1000ms >rating: infinite > >I want to modify it having 3 balnk slides of three different time intervals >Fixation1 = 500 >fixation 2 = 1000 >fixation 3 = 2000 >Cue slide: 500ms (2 diffrent type of cues) >Fixation 2: 2500ms >picture: 1000ms (positive192+192 negative pictures) 384 pictures total >rating: infinite > i want 8 blocks:one block would include 16 trials with fix500, > fix2 with 1000ms and fix3 with 2000ms. equal no of cuess and > negative and positive pictures too. >How to modify that in inline and in codes? >please any hints. >Regards -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52ea7a5b.2cdd320a.5e72.ffffc3b1SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Thu Jan 30 16:24:05 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 30 Jan 2014 11:24:05 -0500 Subject: Opening an external link from E-Prime In-Reply-To: Message-ID: Tracy, Two further thoughts: 1) The Shell() function and AppActivate and WinActivate statements, along with the DeviceManager.Suspend method, as documented in the E-Basic Help facility. 2) AutoIt (http://www.autoitscript.com/site/autoit ). But as Eric said, this may not work, and even if it does may be more trouble that it's worth. ----- 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 1/29/2014 06:05 PM Wednesday, Eric Dixon wrote: >Hi Tracy, > >I'm sort of a novice as far as e prime is concerned so I would take >the advise of others over mine. Anyway, I don't think that e prime >will allow you to reliably open a web browser or other applications >while e prime is running. It tends to take over the CPU while in use. > >I'm not exactly sure what data you are looking to collect but if its >just questionnaire data and you absolutely need to run it in e prime >then you could always just type out the questions into Text Displays >and have them respond accordingly. > >*Note: This would be very time consuming so I would consider whether >or not you need e prime for this task. Maybe just have them run >through your experiment and then open the link manually. > >I hope this was some help. > >Cheers, >Eric > >On Thursday, January 23, 2014 1:41:47 AM UTC-8, Tracy Cheung wrote: >Hi there, > >I would be really happy to hear solutions or suggestions to a >problem that I am experiencing. > >The experiment that I am running consists of two parts. The first >is a Stroop Test (which I have already programmed with E-prime) and >the second is something that needs to be run on Open Sesame or on a >survey link on the Internet. > >I was wondering if it would be possible to insert some sort of link >in E-prime, so when participants link on it, it will open and start >running an external program (either it is Open Sesame or a link on >the internet). > >It would be great to hear your responses. Thanks! > >Cheers, >Tracy -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52ea7ca6.2527320a.79b3.3445SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Thu Jan 30 16:43:39 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 30 Jan 2014 11:43:39 -0500 Subject: Resetting the clock upon trigger onset. In-Reply-To: <6d193239-d968-45ff-a447-ec062b4844af@googlegroups.com> Message-ID: Eric, You should ask PST Support about this (see link below). AFAIK E-Prime does not allow for resetting the global session clock, nor should it. (In fact, the PsychoPy folks have had this discussion with regards to their ioHub facility, with the same conclusion.) Allowing for such an activity would open the way to too much abuse & mistakes. When I have wanted to have times reported relative to some global starting time (e.g., quality check of fMRI designs), I have just added some inline code to compute & log the adjusted values at runtime. In fact, once I have gone that far, it's not too much more trouble to add a final global quality check, along with raising an alarm to notify users at the end of a session about things they should look at in the .edat file. With a little bit of effort you can have E-Prime take care of all sorts of details for you. ----- 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 1/29/2014 05:44 PM Wednesday, Eric Dixon wrote: >Currently, e prime starts timing the experiment after I press the >run button. This means that there can be several seconds (variable) >between clicking the run button, entering in participant ID, session >ID and the start of the actual experiment. I would like to either >start or reset the clock so that the timing starts at the beginning >of the experiment and not before. > >As of now we have to subtract the time between clicking run and the >beginning of the stimulus from each stimulus onset inorder to find / >quality check there actual onsets for processing. Obviously this can >be tedious and if I can simplify the data processing stream it could >save tons of time. > >In short, is there a way to either reset or start timing at the >onset of the experiment. > >Please let me know if you have any questions. > > >thanks, >Eric -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52ea814e.7417320a.3b07.ffffc2faSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Thu Jan 30 16:58:26 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 30 Jan 2014 11:58:26 -0500 Subject: How to timestamp the Spacebar multiple times per slide within a free recall paradigm In-Reply-To: <086dfc85-fce6-4f4a-b5cb-f1b3def0980a@googlegroups.com> Message-ID: Start with the MultipleResponseCollection.es example that you may download from the PST website. That will introduce you to InputMask.Responses, and you may look at that topic in the E-Basic Help facility for more information. That will get you timestamps for *every* keystroke, including the spacebar. You could then write code to log only the spacebar times, or go ahead and log everything and then pull out just what you want later, or log every keystroke *plus* times when they press space, it's all up to you. BTW, in case you or anyone then wants to decode all the {key} nomenclature into normal characters, see the "KeyCodeMap" program at http://step.psy.cmu.edu/scripts-plus . 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 1/29/2014 04:53 PM Wednesday, Stephen Mattingly wrote: > I have made a script with the GUI that allows (and shows) > participants the words that they type (separated by spaces). I was > hoping that, in addition to recording all of the typed letters, > that i could somehow timestamp each time the spacebar is pressed - > such that i can know when the words are completed, rather than > getting an RT measure for the whole slide. > >Specifically, I have a slide that accepts a keyboard input, and when >escape is pressed the task ends. > >An example of what is recorded: > >The{SPACE}there{SPACE}{SPACE}there{SPACE}{SPACE}the{SPACE}three{SPACE}the{ESCAPE} > >any suggestions or places to look to get on the right path would be >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/52ea84b3.2527320a.79b3.34f7SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From leejdunn at gmail.com Thu Jan 30 20:43:52 2014 From: leejdunn at gmail.com (Lee) Date: Thu, 30 Jan 2014 12:43:52 -0800 Subject: E-Prime Stability In-Reply-To: <035401cec5bb$82669440$8733bcc0$@eu> Message-ID: My lab has also been experiencing a lot of issues with frequent crashing on Windows 7. One of our build files seems to crash under 5 minutes of opening the file. I can't even look at it long enough to figure out if something in it is causing the crashes. Other files just crash intermittently especially when copying objects. Has anyone found a solution for this besides switching to XP? Best, Lee On Thursday, October 10, 2013 9:20:36 AM UTC-4, Michiel Sovij?rvi-Spap? wrote: > > Hi, > > Given that E-Prime 2 is now pretty much a final release, I was wondering > how many of you feel it remains **particularly** instable? I mean, > E-Studio (2, pro), latest version, and I don?t stupid crashes (say, > recursively calling the sessionproc from a list within sessionproc). Just > things like > > ? Writing inline: > > Try typing: > > /* > > Hoppa > > */. > > > > Works! Automatically becomes > > ?/* > > ?Hoppa > > ?*/. > > > > Now commented out. However, type in an inline (not the user part) > > ?/* > > Hoppa > > */....CRASH! > > > > ? Just dragging objects around, adding attributes, all sorts of > randomness. Sometimes, there are nice big red crosses where graphics > usually are. > > > > The latter is the more annoying part. In general, when I?m developing > something, on both my laptop and home pc (both win7prox64), this happens. > In my experience, in fact, most people, even if they are very experienced, > have random stability issues with e-studio. My question then is: does the > list have similar issues? Say, if you?ve been doing some development, what > is the chance that e-prime will crash within 60 minutes? I?m estimating it > at 80% here. > > > > Cheers, > > Michiel > > > > Michiel Sovij?rvi-Spap? > > Helsinki Institute for Information Technology > > Aalto & Helsingin Yliopisto, > > Finland > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7d58fd4c-a2ee-44d7-bfa7-c4c43e19907b%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 Jan 30 21:06:41 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 30 Jan 2014 16:06:41 -0500 Subject: E-Prime Stability In-Reply-To: <7d58fd4c-a2ee-44d7-bfa7-c4c43e19907b@googlegroups.com> Message-ID: Lee, Just to clarify, are you reporting that the same E-Prime program of yours, using the same runtime version of E-Run, crashes when run on a Windows 7 machine but not when run on a Windows XP machine? And exactly which verion of EP2 do you run on each machine? Thanks, -- dkm At 1/30/2014 03:43 PM Thursday, Lee wrote: >My lab has also been experiencing a lot of >issues with frequent crashing on Windows 7. One >of our build files seems to crash under 5 >minutes of opening the file. I can't even look >at it long enough to figure out if something in >it is causing the crashes. Other files just >crash intermittently especially when copying objects. > >Has anyone found a solution for this besides switching to XP? > >Best, >Lee > >On Thursday, October 10, 2013 9:20:36 AM UTC-4, >Michiel Sovij??rvi-Spap?(c) wrote: > >Hi, > >Given that E-Prime 2 is now pretty much a final >release, I was wondering how many of you feel it >remains *particularly* instable? I mean, >E-Studio (2, pro), latest version, and I don? EURO (tm)t >stupid crashes (say, recursively calling the >sessionproc from a list within sessionproc). Just things like > >?? Writing inline: > >Try typing: > >/* > >Hoppa > >*/. > > > >Works! Automatically becomes > >? EURO ~/* > >? EURO ~Hoppa > >? EURO ~*/. > > > >Now commented out. However, type in an inline (not the user part) > >? EURO ~/* > >Hoppa > >*/....CRASH! > > > >?? Just dragging objects around, adding >attributes, all sorts of randomness. Sometimes, >there are nice big red crosses where graphics usually are. > > > >The latter is the more annoying part. In >general, when I? EURO (tm)m developing something, on >both my laptop and home pc (both win7prox64), >this happens. In my experience, in fact, most >people, even if they are very experienced, have >random stability issues with e-studio. My >question then is: does the list have similar >issues? Say, if you? EURO (tm)ve been doing some >development, what is the chance that e-prime >will crash within 60 minutes? I? EURO (tm)m estimating it at 80% here. > > > >Cheers, > >Michiel > > > >Michiel Sovij??rvi-Spap?(c) > >Helsinki Institute for Information Technology > >Aalto & Helsingin Yliopisto, > >Finland > > > >-- >You received this message because you are >subscribed to the Google Groups "E-Prime" group. >To unsubscribe from this group and stop >receiving emails from it, send an email to >e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/e-prime/7d58fd4c-a2ee-44d7-bfa7-c4c43e19907b%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/52eabee3.48e1320a.3e33.02afSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From jsilkes at uw.edu Thu Jan 30 22:14:22 2014 From: jsilkes at uw.edu (jsilkes at uw.edu) Date: Thu, 30 Jan 2014 14:14:22 -0800 Subject: E-Prime Stability In-Reply-To: <035401cec5bb$82669440$8733bcc0$@eu> Message-ID: I'm also having stability issues with EPrime 2.0 Professional on Windows 7. The build files are crashing every now and then but, even worse, the Run files are crashing when it first initializes to run. No pattern to it, though, and happening with one set of related protocols but not another. Might happen with one file one time and another file another time. Sometimes it happens several times in a single session, other times it doesn't. In addition, when it crashes, it locks up all of the EDataAid files that have been created since the last time we opened the program, so we have to use the recovery function to open them again. Very, very frustrating. I'm also in contact with the EPrime support folks, but would welcome any insights this group might have. Thanks! JoAnn. On Thursday, October 10, 2013 6:20:36 AM UTC-7, Michiel Sovij?rvi-Spap? wrote: > > Hi, > > Given that E-Prime 2 is now pretty much a final release, I was wondering > how many of you feel it remains **particularly** instable? I mean, > E-Studio (2, pro), latest version, and I don?t stupid crashes (say, > recursively calling the sessionproc from a list within sessionproc). Just > things like > > ? Writing inline: > > Try typing: > > /* > > Hoppa > > */. > > > > Works! Automatically becomes > > ?/* > > ?Hoppa > > ?*/. > > > > Now commented out. However, type in an inline (not the user part) > > ?/* > > Hoppa > > */....CRASH! > > > > ? Just dragging objects around, adding attributes, all sorts of > randomness. Sometimes, there are nice big red crosses where graphics > usually are. > > > > The latter is the more annoying part. In general, when I?m developing > something, on both my laptop and home pc (both win7prox64), this happens. > In my experience, in fact, most people, even if they are very experienced, > have random stability issues with e-studio. My question then is: does the > list have similar issues? Say, if you?ve been doing some development, what > is the chance that e-prime will crash within 60 minutes? I?m estimating it > at 80% here. > > > > Cheers, > > Michiel > > > > Michiel Sovij?rvi-Spap? > > Helsinki Institute for Information Technology > > Aalto & Helsingin Yliopisto, > > Finland > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/d716f9f7-692d-4c86-8a30-1376c60f3fb4%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 Jan 31 14:42:18 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 31 Jan 2014 09:42:18 -0500 Subject: E-Prime Stability In-Reply-To: Message-ID: Just on the particular block comment (/* */) issue again: Note that PST explains this at http://www.pstnet.com/support/kb.asp?TopicID=5347 , and fixed the issue in EP2.0.10.353 (aka EP2 SP1). And earlier in this thread I already expressed my like of the newer commenting feature. -- David McFarlane On Thursday, October 10, 2013 6:20:36 AM UTC-7, Michiel Sovij??rvi-Spap?(c) wrote: >Hi, > >Given that E-Prime 2 is now pretty much a final >release, I was wondering how many of you feel it >remains *particularly* instable? I mean, >E-Studio (2, pro), latest version, and I don? EURO (tm)t >stupid crashes (say, recursively calling the >sessionproc from a list within sessionproc). Just things like > >?? Writing inline: > >Try typing: > >/* > >Hoppa > >*/. > > > >Works! Automatically becomes > >? EURO ~/* > >? EURO ~Hoppa > >? EURO ~*/. > > > >Now commented out. However, type in an inline (not the user part) > >? EURO ~/* > >Hoppa > >*/....CRASH! > > > >?? Just dragging objects around, adding >attributes, all sorts of randomness. Sometimes, >there are nice big red crosses where graphics usually are. > > > >The latter is the more annoying part. In >general, when I? EURO (tm)m developing something, on >both my laptop and home pc (both win7prox64), >this happens. In my experience, in fact, most >people, even if they are very experienced, have >random stability issues with e-studio. My >question then is: does the list have similar >issues? Say, if you? EURO (tm)ve been doing some >development, what is the chance that e-prime >will crash within 60 minutes? I? EURO (tm)m estimating it at 80% here. > > > >Cheers, > >Michiel > > >Michiel Sovij??rvi-Spap?(c) >Helsinki Institute for Information Technology >Aalto & Helsingin Yliopisto, >Finland -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52ebb64d.323e320a.6986.0ab9SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Fri Jan 31 16:39:44 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 31 Jan 2014 11:39:44 -0500 Subject: Installing 2.0.8 and 2.0.10 at the same time In-Reply-To: Message-ID: Worked like a charm, thanks! I wish had known this years ago, but your tip came just in time for a new round of testing how various E-Prime updates affect some particular bugs (see https://twitter.com/EPrimeMaster ). I did modify the procedure just a bit: - Install older version of E-Prime (i.e., use existing installed version). - Find the installed E-Prime program folder and copy it to another folder -- e.g., copy "Program Files\PST\E-Prime 2.0" to "Program Files\PST\E-Prime 2.0.8.22". - Install the newer version of E-Prime right over the old version (yes, sometimes necessary to first uninstall the older E-Prime, but I like to live a little dangerously here). That's it. So far I have EP 2.0.8.22, 2.0.8.73, and 2.0.8.74 all running on one machine, working up to installing 2.0.8.79, 2.0.8.90, 2.0.10.242, and 2.0.10.353. And from now right after each update I will just make a copy of the E-Prime program folder, all ready for the next update whenever it comes. -- David McFarlane At 1/15/2014 07:31 AM Wednesday, JACanterbury wrote: >Not a question, but some information in case it's of use to anyone. > >Although the PST >website (ticket 5345)says > >Can E-Prime 2.0.8.x and E-Prime 2.0.10.x be installed at the same time? >No, only major version installations can be installed at the same >time. However, multiple versions of the E-Prime 2.0 Subject Station >installation can coexist on the same lab machine. >KB5325 - FEATURE: >Suite, Subject Station, and Run-Time detect other installations on >machine (multiple Subject Station versions allowed) > >I thought I'd try anyway as I need to support both versions as a programmer. > >It turns out that you CAN have E-Studio 2.0.8 and 2.0.10 co-existing >on the same machine at the same time. > >This is what I did: > > * install 2.0.8 > * rename the install directory e.g. from c:\program files > (x86)\pst to c:\program files (x86)\pst-2-0-8 > * uninstall E-Prime (control panel / programs and features) > * install 2.0.10 > >Notes: > >- the installed shortcuts from the Windows Start menu will be for >the lastest version, you'll need to create additional shortcuts to >the other version > >- when you switch from using one version to the other, you'll be >prompted to relicence but this on ly takes a second - This seems to >be the only irritation. > >- This seems fine for E-studio development work but I wouldn't run >any actual live experiments on a system setup like this as I'm not >quite sure what versions of drivers the 'other' version might be picking up > >- if you want to install e-prime into a different folder, e.g. on >your D: drive, select the 'custom' install as this then gives you >the option to change the installation directory/folder > > >hth > >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/52ebd1f6.893d320a.054d.4d40SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out.