From kai.osterberg at ymed.lu.se Mon Jan 7 16:11:46 2002 From: kai.osterberg at ymed.lu.se (Kai) Date: Mon, 7 Jan 2002 17:11:46 +0100 Subject: Using visual-analogue scales in E-prime Message-ID: Dear e-prime users, Using e-prime, we are trying to program a 20-item questionnaire with visual-analogue scales (VAS) for the responses. This will require the movement of an arrow along a line (from 0 to100 percent) in response to the question; e. g., the stimulus “Do you feel tired ?” would be presented at the top of the screen, and below would be presented a 0-100 percent response line (with labeled endpoints) and a moveable arrow. The subject would move the arrow back and forth along the line (preferably by using the SRBox keys no 1 and 5) in order to fine-tune its position until it is perceived as represntative for his/her current state. The subject would then confirm/enter this response by pressing a separate key, and the next question would appear (and so on). Problem: We are able to achieve the movement of an arrow along a line, but only by setting up each small step of arrow movement (i. e. each key-press) as a separate reaction time (RT) stimulus-response (S-R). But this leads to serious problems: If the scale resolution is set to 2 percent (0-100% = 50 steps), already moving along the scale once leads to 50 RT S-R:s. Together with some margin for additional movements, the number of RT:s must reasonably be set to at least 300 for each question! This would of course make a 20-item questionnaire extremely large (not to mention the enormous amount of unwanted data obtained). Obviously this approach is incorrect. We have not succeeded to solve the riddle of how make the arrow move back and forth along the VAS-scale in response to keyboard inputs without making e-prime believe that each arrow movement represents a RT S-R event. The only two response data of interest to us is the position of the arrow when the subject makes his FINAL confirmatory key-press and the decision time. We would welcome any suggestion of how to properly program this type of VAS-question within e-prime. Thanks, Kai Österberg, PhD Dept. Occupational and Environmental Medicine Lund University SE-22185 Sweden kai.osterberg at ymed.lu.se phone +46-46-177292 From anthony.zuccolotto at pstnet.com Mon Jan 7 16:37:02 2002 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Mon, 7 Jan 2002 11:37:02 -0500 Subject: Using visual-analogue scales in E-prime Message-ID: Dear Kai, You should be able to achieve this by just using a Label object in the procedure and a Goto statement in Inline script. Put the Label above the object that collects your input and then after the object check in script (using an IF statement) if the subject has made the 'final' response. If the 'final' response was not made then just process the key as normal and then call Goto Label1 (replace Label1 with whatever you called your label). The TrialProc would have the following object on it ' designates where to jump back to ' collects the response ' tests for final response, updates interface and jumps Assuming you were using the '3' key on the SRBOX as an indication of the 'final' response the inline script you would need would look sometime like If Stimulus.RESP <> "3" Then ' move arrow and draw at new location .... Goto Label1 End If Because you jump back to the top of the procedure logging to the data file never occurs. Thus after the final response comes in you just let the Procedure end normally and only that 1 trial should be logged that contains the final response you are interested in. If you want the 'total' response time then you should save the Stimulus.OnsetTime of the very first trial in a global variable and then you can compute a total RT as follows. Dim totalRT as Long totalRT = Stimulus.RTTime - g_nOnsetTimeOfFirstStimulus c.SetAttrib "TotalRT", totalRT Hope that helps, Tony Anthony P. Zuccolotto Vice President of Operations Psychology Software Tools, Inc. 2050 Ardmore Boulevard Suite 200 Pittsburgh, PA 15221-4610 Phone 412-271-5040 FAX 412-271-7077 Email anthony.zuccolotto at pstnet.com Internet http://www.pstnet.com/ -----Original Message----- From: Kai [mailto:kai.osterberg at ymed.lu.se] Sent: Monday, January 07, 2002 11:12 AM To: eprime at mail.talkbank.org Subject: Using visual-analogue scales in E-prime Dear e-prime users, Using e-prime, we are trying to program a 20-item questionnaire with visual-analogue scales (VAS) for the responses. This will require the movement of an arrow along a line (from 0 to100 percent) in response to the question; e. g., the stimulus "Do you feel tired ?" would be presented at the top of the screen, and below would be presented a 0-100 percent response line (with labeled endpoints) and a moveable arrow. The subject would move the arrow back and forth along the line (preferably by using the SRBox keys no 1 and 5) in order to fine-tune its position until it is perceived as represntative for his/her current state. The subject would then confirm/enter this response by pressing a separate key, and the next question would appear (and so on). Problem: We are able to achieve the movement of an arrow along a line, but only by setting up each small step of arrow movement (i. e. each key-press) as a separate reaction time (RT) stimulus-response (S-R). But this leads to serious problems: If the scale resolution is set to 2 percent (0-100% = 50 steps), already moving along the scale once leads to 50 RT S-R:s. Together with some margin for additional movements, the number of RT:s must reasonably be set to at least 300 for each question! This would of course make a 20-item questionnaire extremely large (not to mention the enormous amount of unwanted data obtained). Obviously this approach is incorrect. We have not succeeded to solve the riddle of how make the arrow move back and forth along the VAS-scale in response to keyboard inputs without making e-prime believe that each arrow movement represents a RT S-R event. The only two response data of interest to us is the position of the arrow when the subject makes his FINAL confirmatory key-press and the decision time. We would welcome any suggestion of how to properly program this type of VAS-question within e-prime. Thanks, Kai Österberg, PhD Dept. Occupational and Environmental Medicine Lund University SE-22185 Sweden kai.osterberg at ymed.lu.se phone +46-46-177292 From michael.allerhand at ed.ac.uk Wed Jan 9 15:02:27 2002 From: michael.allerhand at ed.ac.uk (mike allerhand) Date: Wed, 9 Jan 2002 15:02:27 +0000 Subject: fastest refresh Message-ID: What monitor and graphics card can get presentation intervals of 5ms (and below if possible)? Suppose you've got a monitor that can be driven at 160Hz vertical refresh, and a video card that can drive faster than that, and has, say, 32Mb on-board RAM. You've set the lowest resolution and color depth. You use small images. You set pre-release time to spare. You select the max refresh rate your monitor can handle, and tell eprime to present an image for, say, 6.25 ms (160Hz). Will you get what you want? Not necessarily. It's not easy to measure. We used a high-end storage 'scope to measure the response from a photocell. The fact is that it depends upon magic in the video card and driver. We found Sony and IIyama monitors that can go to 160Hz, but you have to get the right card. Just because the card says it can drive at 200Hz is no guarantee that you will get that out of eprime. For example we found ATI cards with sufficient video RAM that claimed to go fast enough could give at best a mulitple of two refreshes, ie. 12.5ms minimum. One card we found that does give 6.25ms is Matrox millenium G400 max. It would be useful to know what people are using to get low presentation intervals. Can anyone do 5ms or better? Mike From JPatte at lsuhsc.edu Wed Jan 9 16:06:20 2002 From: JPatte at lsuhsc.edu (Patterson, James) Date: Wed, 9 Jan 2002 10:06:20 -0600 Subject: fastest refresh Message-ID: Just curious...why would you want to go that fast? =========================================== James C. Patterson II, MD/PhD Director of PET Neuroimaging Research PET Imaging Center, Biomedical Research Foundation Assistant Professor of Psychiatry Louisiana State University Health Sciences Center at Shreveport 318-675-6040 - Psychiatry 318-675-6148 - fax 318-675-4000 - PET Center 318-675-4020 - fax =========================================== > -----Original Message----- > From: mike allerhand [mailto:michael.allerhand at ed.ac.uk] > Sent: Wednesday, January 09, 2002 7:02 AM > To: eprime at mail.talkbank.org > Subject: fastest refresh > > > What monitor and graphics card can get presentation > intervals of 5ms (and below if possible)? > > Suppose you've got a monitor that can be driven at 160Hz > vertical refresh, and a video card that can drive faster than that, > and has, say, 32Mb on-board RAM. > You've set the lowest resolution and color depth. You use > small images. You set pre-release time > to spare. You select the max refresh rate your monitor can > handle, and tell eprime to present an image for, say, 6.25 ms > (160Hz). Will you get what you want? Not necessarily. > It's not easy to measure. We used a high-end storage 'scope > to measure the response from a photocell. The fact is that > it depends upon magic in the video card and driver. > We found Sony and IIyama monitors that can go to 160Hz, > but you have to get the right card. Just because the card says > it can drive at 200Hz is no guarantee that you will get that > out of eprime. For example we found ATI cards with sufficient > video RAM that claimed to go fast enough could give at > best a mulitple of two refreshes, ie. 12.5ms minimum. > One card we found that does give 6.25ms is Matrox millenium G400 max. > > It would be useful to know what people are using to get low > presentation intervals. Can anyone do 5ms or better? > > Mike > > > From anthony.zuccolotto at pstnet.com Thu Jan 10 14:00:24 2002 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Thu, 10 Jan 2002 09:00:24 -0500 Subject: FW: In gratitude Message-ID: Kai, Glad to be of assistance. The solution I gave sounds like it will work, but note that there are other ways in E-Prime to deal with limiting the logging of data you are not interested in. If you run into this situation again it might be worth your programmer writing a very simple experiment (e.g. 1 List with 1 Procedure and a TextDisplay with a single response enabled) and then generating the script and examining it in the script window or by loading the script (*.ebs) into E-Run. You will see that each procedure generates a subroutine that holds the script for that procedure. If your procedure is named TrialProc then E-Prime will generate a subroutine named TrialProc_Run. This procedure is what is run whenever the TrialProc is called from a List to execute. The whole logging system in E-Prime works by adding attribute and their values to the experimental Context. The Context is a multi-level data structure that holds all of the attributes and their values that are currently active in the paradigm. Attributes can be independent variables (typically declared on List objects), dependent measures, or any other type of information you feel is valid for your paradigm and post-analysis. You will see the Context being passed into the TrialProc_Run subroutine as a parameter (named c). If you examine the TrialProc_Run subroutine you will see script that adds different attributes to the context at various points in the subroutine, e.g. c.SetAttrib "Stimulus.RT", Stimulus.RT E-Prime handles most of the management of the Context for, but you can add or override anything you want in the Context using the c.SetAttrib method. You can also pull information from the context using the c.GetAttrib method. When it comes time to log at the end of the trial, E-Prime assumes all the data that is relevant for that trial is in held in the Context and it then makes a single call to c.Log This call instructs the Context to write all of its relevant data to the data file on disk. If you want to handle all logging yourself then you can turn off the default call to c.Log at the end of the Procedure by setting the LogData property for the Procedure object to "No" (via the Properties Window in E-Studio). After that, it is your responsibility to update the attribute values in the context and call c.Log as little or as often as is needed to meet the needs of your paradigm. There is more information on the Context object in the User's Manual and E-Basic Help for further detail. Regards, Tony -----Original Message----- From: Kai [mailto:kai.osterberg at ymed.lu.se] Sent: Thursday, January 10, 2002 8:36 AM To: Tony Zuccolotto Subject: In gratitude Dear Tony, Our programmer is now very optimistic after having read your mail. Thanks a lot for your help! Kai --------------------------------------------------------------------- Original message: Date: Mon, 7 Jan 2002 11:37:02 -0500 Reply-To: Tony Zuccolotto Sender: Eprime List From: Tony Zuccolotto Subject: Re: Using visual-analogue scales in E-prime Comments: To: eprime at mail.talkbank.org Content-Type: text/plain; charset="iso-8859-1" Dear Kai, You should be able to achieve this by just using a Label object in the procedure and a Goto statement in Inline script. Put the Label above the object that collects your input and then after the object check in script (using an IF statement) if the subject has made the 'final' response. If the 'final' response was not made then just process the key as normal and then call Goto Label1 (replace Label1 with whatever you called your label). The TrialProc would have the following object on it ' designates where to jump back to ' collects the response ' tests for final response, updates interface and jumps Assuming you were using the '3' key on the SRBOX as an indication of the 'final' response the inline script you would need would look sometime like If Stimulus.RESP <> "3" Then ' move arrow and draw at new location .... Goto Label1 End If Because you jump back to the top of the procedure logging to the data file never occurs. Thus after the final response comes in you just let the Procedure end normally and only that 1 trial should be logged that contains the final response you are interested in. If you want the 'total' response time then you should save the Stimulus.OnsetTime of the very first trial in a global variable and then you can compute a total RT as follows. Dim totalRT as Long totalRT = Stimulus.RTTime - g_nOnsetTimeOfFirstStimulus c.SetAttrib "TotalRT", totalRT Hope that helps, Tony Anthony P. Zuccolotto Vice President of Operations Psychology Software Tools, Inc. 2050 Ardmore Boulevard Suite 200 Pittsburgh, PA 15221-4610 Phone 412-271-5040 FAX 412-271-7077 Email anthony.zuccolotto at pstnet.com Internet http://www.pstnet.com/ From art80408 at nus.edu.sg Tue Jan 15 07:45:55 2002 From: art80408 at nus.edu.sg (Ho Kok Inn) Date: Tue, 15 Jan 2002 15:45:55 +0800 Subject: Addition of feedback Message-ID: Hello anyone out there, Can anyone please enlighten me on how to display different feedbacks in an experiment? (say, getting a correct answer for type "A" questions earn you 1 point & getting a correct answer for type "B" questions earn you 3 points.) Also, if the above is done, how to add up all these scores that are displayed in the feedback? PLEASE HELP- thesis deadline drawing near.............. : ) HKI -------------- next part -------------- An HTML attachment was scrubbed... URL: From BSchech at intra.nida.nih.gov Tue Jan 15 16:58:08 2002 From: BSchech at intra.nida.nih.gov (Schech, Barry (NIDA/IRP)) Date: Tue, 15 Jan 2002 11:58:08 -0500 Subject: Addition of feedback Message-ID: I don't know if anyone responded yet to this question but here is how I have counted and total amounts in one on my projects. 1) Early in the project define the variables such as DIM total as integer DIM current as integer And in the begining put a script such as; c.setattrib "Total", total c.setattrib "current", current current=0 This will start the project at 0 points or dollars etc. and let you recall the total and current points/money in a feedback screen. 2) In the list for the project have the following defined (and put in the answers for each column expected) correctanswer incorrectanswer correctmoney incorrectmoney ( I used money amounts but you could just use correctanswer and incorrectanswer) 3) In an inline put something like the following script if slide1.RESP =c.GetAttrib ("correctanswer") then ####slide1 is where the person was asked to press the appropriate key such as 1 or 2 total=total + (c.GetAttrib ("correctmoney")) end if if slide1.RESP =c.GetAttrib ("incorrectanswer") then total=total - (c.GetAttrib ("incorrectmoney")) end if if slide1.RESP =c.GetAttrib ("correctanswer") then current = (c.GetAttrib ("correctmoney")) end if if slide1.RESP =c.GetAttrib ("incorrectanswer") then current = (c.GetAttrib ("incorrectmoney")) end if c.setattrib "Total", total ####This is the raw total including negative signs c.setattrib "Total2", abs(total) ####This strips the negative sign from the total amount c.setattrib "current" , current c.setattrib "sign" , left$ (total,1) ####This reads the first char. from the total if left$ (total,1) <> "-" then ###This checks the sign if it is negative c.setattrib "sign" , CHR$(32) ###This assigns the sign to a - so when I display the dollar amount the neg sign is in front of the $ sign end if 4) In the feedback screen you can display the total and current amounts by the following; You have just won $[current] You total winnings are $[sign] [total2] or Your total winnings are [total] #### If you don't care about the negative sign before the number Hope this helps, Barry Schech National Institute on Drug Abuse Baltimore Md. -----Original Message----- From: Ho Kok Inn [mailto:art80408 at nus.edu.sg] Sent: Tuesday, January 15, 2002 2:46 AM To: 'eprime at mail.talkbank.org' Subject: Addition of feedback Hello anyone out there, Can anyone please enlighten me on how to display different feedbacks in an experiment? (say, getting a correct answer for type "A" questions earn you 1 point & getting a correct answer for type "B" questions earn you 3 points.) Also, if the above is done, how to add up all these scores that are displayed in the feedback? PLEASE HELP- thesis deadline drawing near.............. : ) HKI -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jennifer.Thompson at man.ac.uk Tue Jan 15 17:10:48 2002 From: Jennifer.Thompson at man.ac.uk (Jennifer Thompson) Date: Tue, 15 Jan 2002 17:10:48 GMT1BST Subject: timing of multiple responses in E-Prime Message-ID: I hope someone can help me with this, I'm new to eprime (and haven't used anything similar so starting from a very basic level). Basically, what I want to do is have people (neurological patients) repetatively tap a button for a predetermined time period, and look at the a) number of responses and b) the timing of these responses. Reading the manuals I can't see a way to do this, and EPrime wants to record the time of the LAST response, not all of them. What I want it to do is to sample the time of EACH response, relative to the start signal. If anyone can put me on the right track or has any suggestions I'd be most grateful. Also if the above doesn't make sense then I can elaborate. Many thanks, Jennifer Thompson From beta at pstnet.com Tue Jan 15 18:25:43 2002 From: beta at pstnet.com (Beta) Date: Tue, 15 Jan 2002 13:25:43 -0500 Subject: Addition of feedback Message-ID: Dear Dr. Inn, Thank you for your support of E-Prime. You will need to keep a separate summation variable to look at the Probe.Acc property before feedback. Summation objects are used to collect a series of observations. From this collection, various summary measures may be determined, such as minimum or maximum value in the collection, the number of observations, and various statistical measures, such as mean, standard deviation, or variance of the observations within the collection. For more information about the Summation object, please refer to the E-Basic OnLine Help. You may access E-Basic OnLine Help within E-Studio via the taskbar and selecting the Help option. Here is some sample script for your particular experiment, you will need to place this script in an InLine object before your Feedback object. Please try the script below and re-run your experiment. If (Probe.ACC=1) Then ' Correct so figure out how many points they get If c.GetAttrib("TrialType")="TrialThatGets3Points" Then MySummation.AddObservation 3 Else ' MySummation.AddObservation 1 End If Else ' Wrong, may want to sum a 0 here if you are interested in Mean Points/Trial, if not you can ignore it. End If ' If user needs to display total points in feedback then add to context and put [TotalPoints] somewhere on feedback tabs... c.SetAttrib "TotalPoints", MySummation.Total I hope this information is helpful in the completion of your experiment. Sincerely, Jennifer Gliptis Technical Consultant ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Psychology Software Tools, Inc. 2050 Ardmore Blvd. Pittsburgh, PA 15221-4610 USA ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Visit our Web Site for the latest info: << http://www.pstnet.com/>> E-mail: info at pstnet.com Voice (412) 271-5040 -----Original Message----- From: Ho Kok Inn [mailto:art80408 at nus.edu.sg] Sent: Tuesday, January 15, 2002 2:46 AM To: 'eprime at mail.talkbank.org' Subject: Addition of feedback Hello anyone out there, Can anyone please enlighten me on how to display different feedbacks in an experiment? (say, getting a correct answer for type "A" questions earn you 1 point & getting a correct answer for type "B" questions earn you 3 points.) Also, if the above is done, how to add up all these scores that are displayed in the feedback? PLEASE HELP- thesis deadline drawing near.............. : ) HKI -------------- next part -------------- An HTML attachment was scrubbed... URL: From zajdeld at ohsu.edu Thu Jan 17 00:48:24 2002 From: zajdeld at ohsu.edu (Daniel Zajdel) Date: Wed, 16 Jan 2002 16:48:24 -0800 Subject: Ebasic Changes Message-ID: Hello All, I am in the process of converting some experiment scrips to the new version. Along the way I am discovering little changes here and there. Some things have been simplified, like the .PreReleaseTime object property is now .PreRelease. Easy enough to convert, however it may be that some things are gone now, like the .input property for display objects collecting a response. Neither was mentioned on the website knowledge base, and I didn't find anything about those in the documentation. I am afraid I get to figure out all these refinements for myself, but is anyone else out there noticing such changes? Dan Zajdel Neurology Oregon Health & Science University From susanc at andrew.cmu.edu Thu Jan 17 15:57:40 2002 From: susanc at andrew.cmu.edu (Susan Campbell) Date: Thu, 17 Jan 2002 10:57:40 -0500 Subject: timing of multiple responses in E-Prime Message-ID: I'm not certain if anyone has answered your question off-list, but I've prepared an example script that does muliple response timing and put it up on the STEP website for people to look at and download. The script is the third on the page at http://step.psy.cmu.edu/script_samples/ I tried to find a way to find the time between responses with a minimum of E-Basic scripting, but apparently the only way to get at the sub-responses that make up an InputMask object is with scripting. E-Prime actually collects the responses that make up a multiple-response trial (InputMask.Responses), but it only records the final RT to the output data file. There's a lot of information in the E-Basic help files (not the E-Studio ones, and not in the manuals that I could find) about InputMask objects, but I don't know how useful it will be if you don't have a scripting background. For the script, I rather hacked up the code from the main InputMask topic in the E-Basic help such that it collected multiple keyboard responses per trial. Their example uses mouse clicks. I added writing it to a data file as well, though I couldn't find a good way to add it to the normal data file E-Prime generates. There should be copious comments on the code, but if it's still incomprehensible, please feel free to let me know and I'll try to clarify. I hope this helps, Susan Campbell STEP E-Prime Programmer Jennifer Thompson wrote: > I hope someone can help me with this, I'm new to eprime (and > haven't used anything similar so starting from a very basic level). > > Basically, what I want to do is have people (neurological patients) > repetatively tap a button for a predetermined time period, and look > at the a) number of responses and b) the timing of these > responses. Reading the manuals I can't see a way to do this, and > EPrime wants to record the time of the LAST response, not all of > them. What I want it to do is to sample the time of EACH > response, relative to the start signal. > > If anyone can put me on the right track or has any suggestions I'd > be most grateful. Also if the above doesn't make sense then I can > elaborate. > > Many thanks, > Jennifer Thompson > > From miw2004 at med.cornell.edu Thu Jan 17 17:39:13 2002 From: miw2004 at med.cornell.edu (Michael Worden) Date: Thu, 17 Jan 2002 12:39:13 -0500 Subject: timing of multiple responses in E-Prime Message-ID: (I tried to send this yesterday but it didn't show up for some reason...) This is quite simple to do with e-prime. You just need a list that calls a single procedure and that exits after a predetermined amount of time (or number of taps if you like). The procedure needs a single object (TextDisplay or whatever) that takes a response and terminates. That's it. Every time the subject taps a new row will be created in the data file. To find the interval between taps simply take the .rttime value for one tap and subtract from it the .rttime value for the previous tap. I put together a simple example and you may ftp it from sacklerinstitute.org as /pub/tap.es. ( ftp://sacklerinstitute.org/pub/tap.es ) This was written with beta5 SP2. If you convert to v1.0 double check that the input action of the tap object is set to terminate, the max count (under Advanced) is set to 1 and the allowable input is set to whatever key you want to tap. I believe that Jennifer had some trouble with some of these values being reset incorrectly. Good luck, Michael Jennifer Thompson wrote: >I hope someone can help me with this, I'm new to eprime (and haven't >used anything similar so starting from a very basic level). > >Basically, what I want to do is have people (neurological patients) >repetatively tap a button for a predetermined time period, and look >at the a) number of responses and b) the timing of these responses. >Reading the manuals I can't see a way to do this, and EPrime wants >to record the time of the LAST response, not all of them. What I >want it to do is to sample the time of EACH response, relative to >the start signal. > >If anyone can put me on the right track or has any suggestions I'd >be most grateful. Also if the above doesn't make sense then I can >elaborate. > >Many thanks, >Jennifer Thompson -- __ Michael Worden, PhD miw2004 at med.cornell.edu Sackler Institute for Developmental Psychobiology, Box 140 1300 York Ave., NY, NY 10021 Tel: 212 746-5830 http://www.sacklerinstitute.org From beta at pstnet.com Thu Jan 17 21:34:00 2002 From: beta at pstnet.com (Beta) Date: Thu, 17 Jan 2002 16:34:00 -0500 Subject: Ebasic Changes Message-ID: Dan, Since your question was entered on the forum as well through web support, I am posting this response so that others in the forum may see the answer. The .Input property was replaced in v1.0. As noted in the Knowledge Base section of our website: "Especially in E-Basic, the input model has changed to accommodate primarily for multiple response collection and displaying responses to the screen." However, besides the elimination of "AnyOf," the input model has not really changed; the script for echo responses and multiple responses is essentially an extension of Beta 5's input model. The docs do not describe the use of the new input model in reference to the old input model because we did not consider it necessary to document an input model that no longer exists. However, as noted in the web support Knowledge Base, you will find the new input model thoroughly documented under the InputMask, ResponseData and RteRunnableInputObject topics in our OnLine E-Basic Help. Again, the change from .Input essentially only affects input handled via script. We do NOT encourage users to ever write their own input mask handling script, and there is no real need for users to do so: any input collection script you need can be generated by E-Studio by simply using a Wait object with a zero duration and preset input properties. We do encourage you to work with the InputMask and ResponseData contents after input has been collected, and the ways in which to do so are also very well documented in E-Basic help. It may also help you to play with the input properties on a single object E-Studio, then generate the full script to see each one is used. Used in this way, E-Studio can be a great learning tool for users trying to familiarize themselves with E-Basic. We are currently examining over 1000 line item differences between B5 and v1.0, and we will post them as soon as possible. We have always made a real effort to inform users of changes from version to version, and did release on our website a top level listing of the bug fixes and other changes between Beta 5 and v1.0. You can access these from the web support Knowledge Base page under the heading "Line Item Updates." You are correct that the change from "PreReleaseTime" to "PreRelease" was not specifically addressed in our documentation or Knowledge Base. It is mentioned in the line items, but in a somewhat unrelated context. Again, we didn't believe it necessary to document something that didn't exist in the final version; however, this information will most likely be included in the line item differences I mentioned above. In the future, if you have trouble finding information, please submit a technical support request, and we will be happy to point you to the appropriate documentation or Help topics, or provide you with any other information we have. Sincerely, Sara Burgess Technical Consultant -----Original Message----- From: Daniel Zajdel Sent: Wed 1/16/2002 7:48 PM To: eprime at mail.talkbank.org Cc: Subject: Ebasic Changes Hello All, I am in the process of converting some experiment scrips to the new version. Along the way I am discovering little changes here and there. Some things have been simplified, like the .PreReleaseTime object property is now .PreRelease. Easy enough to convert, however it may be that some things are gone now, like the .input property for display objects collecting a response. Neither was mentioned on the website knowledge base, and I didn't find anything about those in the documentation. I am afraid I get to figure out all these refinements for myself, but is anyone else out there noticing such changes? Dan Zajdel Neurology Oregon Health & Science University From jhopper at bu.edu Fri Jan 18 23:39:20 2002 From: jhopper at bu.edu (Jim Hopper, Ph.D.) Date: Fri, 18 Jan 2002 18:39:20 -0500 Subject: voice-activated mic input Message-ID: Hello, I've been having trouble finding a scientifically sound and financially reasonable solution for voice-activated mic input. Any recommendations would be greatly appreciated. Thanks, Jim Hopper ______________________________________ Jim Hopper, Ph.D. Research Associate, Dept of Psychiatry Boston University School of Medicine _______________________________________ From jmbaker at uncg.edu Mon Jan 21 17:08:23 2002 From: jmbaker at uncg.edu (Julie M. Baker) Date: Mon, 21 Jan 2002 12:08:23 -0500 Subject: Data Compatibility Message-ID: Hello, I was wondering if anyone has tried to merge data from the beta version of e-prime with data from the full version. Are the data files compatible? Or do they all need to come from the same version? Thanks, Julie Baker Dept of Psychology University of North Carolina - Greensboro From roy.allen at abdn.ac.uk Tue Jan 22 16:30:04 2002 From: roy.allen at abdn.ac.uk (Roy Allen) Date: Tue, 22 Jan 2002 16:30:04 -0000 Subject: Problem Message-ID: I wonder if anyone can help. I'm trying to develop experiments where, on each trial I can present both a visual and an auditory stimulus. I know that this can be done as a SlideObject but, crucially, I need to vary the onset times of each stimulus separately so that: on some trials the auditory stimulus precedes the visual; on others they are presented simultaneously; and on yet others the visual stimulus precedes the auditory. Plainly I need to set up a number of variables but I can't seem to even get E-Prime to let me present two stimuli in the same trial but at different onsets. Thanks in anticipation, Roy Allen University of Aberdeen. From susanc at andrew.cmu.edu Tue Jan 22 18:36:37 2002 From: susanc at andrew.cmu.edu (Susan Campbell) Date: Tue, 22 Jan 2002 13:36:37 -0500 Subject: Problem Message-ID: One thing to try, if you haven't already, is creating two (or three) seperate Procedure objects, one with the sound first and one with the visual first. Then you can vary which Procedure you use from the list that controls presentation and duration, though you might need to rework your duration math a little. You can probably even use the same sound and visual display objects in both procedures to minimize the number of different objects required (though I suppose you'd need to use a combined slide for the simultaneous condition). This worked for me on an experiment that involved having two visual presentations per trial whose order varied between trials, so I assume it would work for a combination of visual and auditory stimuli. There may be other solutions, however. I haven't done much with the new SlideObject, so I'm not sure what its capabilities are. Hope this helps, Susan Campbell STEP E-Prime Programmer Roy Allen wrote: > I wonder if anyone can help. I'm trying to develop experiments > where, on each trial I can present both a visual and an auditory > stimulus. I know that this can be done as a SlideObject but, > crucially, I need to vary the onset times of each stimulus > separately so that: on some trials the auditory stimulus precedes > the visual; on others they are presented simultaneously; and on yet > others the visual stimulus precedes the auditory. Plainly I need to > set up a number of variables but I can't seem to even get E-Prime > to let me present two stimuli in the same trial but at different > onsets. > > Thanks in anticipation, > > Roy Allen > University of Aberdeen. > > From miw2004 at med.cornell.edu Tue Jan 22 18:40:15 2002 From: miw2004 at med.cornell.edu (Michael Worden) Date: Tue, 22 Jan 2002 13:40:15 -0500 Subject: Problem In-Reply-To: <3C4D938C.28000.199A707@localhost> Message-ID: A straightforward way to do this is to have two procedures, one presents stimulus A first and the other presents stimulus B first. Add a wait or other object in the middle if you want to have variable ISIs. I threw together a quick example using two slide objects with visual stimuli (it's a simple modification to make one of these a sound object). You can find the example at ftp://sacklerinstitute.org/pub/ABexample.es Good luck, Michael >I wonder if anyone can help. I'm trying to develop experiments >where, on each trial I can present both a visual and an auditory >stimulus. I know that this can be done as a SlideObject but, >crucially, I need to vary the onset times of each stimulus >separately so that: on some trials the auditory stimulus precedes >the visual; on others they are presented simultaneously; and on yet >others the visual stimulus precedes the auditory. Plainly I need to >set up a number of variables but I can't seem to even get E-Prime >to let me present two stimuli in the same trial but at different >onsets. > >Thanks in anticipation, > >Roy Allen >University of Aberdeen. -- __ Michael Worden, PhD miw2004 at med.cornell.edu Sackler Institute for Developmental Psychobiology, Box 140 1300 York Ave., NY, NY 10021 Tel: 212 746-5830 http://www.sacklerinstitute.org From susanc at andrew.cmu.edu Wed Jan 23 15:36:14 2002 From: susanc at andrew.cmu.edu (Susan Campbell) Date: Wed, 23 Jan 2002 10:36:14 -0500 Subject: Problem Message-ID: As an addendum, the experiment I mentioned is a replication of the Eriksen and St. James (1986) study of focal attention. In some cases, positions in a display are cued before the display appears, and in other cases, after. The experiment is online at: http://step.psy.cmu.edu/scripts/Eriksen1986.zip Have a nice day, Susan Susan Campbell wrote: > One thing to try, if you haven't already, is creating two (or three) > seperate Procedure objects, one with the sound first and one with the > visual first. Then you can vary which Procedure you use from the list > that controls presentation and duration, though you might need to rework > your duration math a little. > > You can probably even use the same sound and visual display objects in > both procedures to minimize the number of different objects required > (though I suppose you'd need to use a combined slide for the > simultaneous condition). This worked for me on an experiment that > involved having two visual presentations per trial whose order varied > between trials, so I assume it would work for a combination of visual > and auditory stimuli. > > There may be other solutions, however. I haven't done much with the new > SlideObject, so I'm not sure what its capabilities are. > > Hope this helps, > Susan Campbell > STEP E-Prime Programmer > > Roy Allen wrote: > >> I wonder if anyone can help. I'm trying to develop experiments where, >> on each trial I can present both a visual and an auditory stimulus. I >> know that this can be done as a SlideObject but, crucially, I need to >> vary the onset times of each stimulus separately so that: on some >> trials the auditory stimulus precedes the visual; on others they are >> presented simultaneously; and on yet others the visual stimulus >> precedes the auditory. Plainly I need to set up a number of variables >> but I can't seem to even get E-Prime to let me present two stimuli in >> the same trial but at different onsets. >> >> Thanks in anticipation, >> >> Roy Allen >> University of Aberdeen. >> >> > > > From kai.osterberg at ymed.lu.se Mon Jan 7 16:11:46 2002 From: kai.osterberg at ymed.lu.se (Kai) Date: Mon, 7 Jan 2002 17:11:46 +0100 Subject: Using visual-analogue scales in E-prime Message-ID: Dear e-prime users, Using e-prime, we are trying to program a 20-item questionnaire with visual-analogue scales (VAS) for the responses. This will require the movement of an arrow along a line (from 0 to100 percent) in response to the question; e. g., the stimulus ?Do you feel tired ?? would be presented at the top of the screen, and below would be presented a 0-100 percent response line (with labeled endpoints) and a moveable arrow. The subject would move the arrow back and forth along the line (preferably by using the SRBox keys no 1 and 5) in order to fine-tune its position until it is perceived as represntative for his/her current state. The subject would then confirm/enter this response by pressing a separate key, and the next question would appear (and so on). Problem: We are able to achieve the movement of an arrow along a line, but only by setting up each small step of arrow movement (i. e. each key-press) as a separate reaction time (RT) stimulus-response (S-R). But this leads to serious problems: If the scale resolution is set to 2 percent (0-100% = 50 steps), already moving along the scale once leads to 50 RT S-R:s. Together with some margin for additional movements, the number of RT:s must reasonably be set to at least 300 for each question! This would of course make a 20-item questionnaire extremely large (not to mention the enormous amount of unwanted data obtained). Obviously this approach is incorrect. We have not succeeded to solve the riddle of how make the arrow move back and forth along the VAS-scale in response to keyboard inputs without making e-prime believe that each arrow movement represents a RT S-R event. The only two response data of interest to us is the position of the arrow when the subject makes his FINAL confirmatory key-press and the decision time. We would welcome any suggestion of how to properly program this type of VAS-question within e-prime. Thanks, Kai ?sterberg, PhD Dept. Occupational and Environmental Medicine Lund University SE-22185 Sweden kai.osterberg at ymed.lu.se phone +46-46-177292 From anthony.zuccolotto at pstnet.com Mon Jan 7 16:37:02 2002 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Mon, 7 Jan 2002 11:37:02 -0500 Subject: Using visual-analogue scales in E-prime Message-ID: Dear Kai, You should be able to achieve this by just using a Label object in the procedure and a Goto statement in Inline script. Put the Label above the object that collects your input and then after the object check in script (using an IF statement) if the subject has made the 'final' response. If the 'final' response was not made then just process the key as normal and then call Goto Label1 (replace Label1 with whatever you called your label). The TrialProc would have the following object on it ' designates where to jump back to ' collects the response ' tests for final response, updates interface and jumps Assuming you were using the '3' key on the SRBOX as an indication of the 'final' response the inline script you would need would look sometime like If Stimulus.RESP <> "3" Then ' move arrow and draw at new location .... Goto Label1 End If Because you jump back to the top of the procedure logging to the data file never occurs. Thus after the final response comes in you just let the Procedure end normally and only that 1 trial should be logged that contains the final response you are interested in. If you want the 'total' response time then you should save the Stimulus.OnsetTime of the very first trial in a global variable and then you can compute a total RT as follows. Dim totalRT as Long totalRT = Stimulus.RTTime - g_nOnsetTimeOfFirstStimulus c.SetAttrib "TotalRT", totalRT Hope that helps, Tony Anthony P. Zuccolotto Vice President of Operations Psychology Software Tools, Inc. 2050 Ardmore Boulevard Suite 200 Pittsburgh, PA 15221-4610 Phone 412-271-5040 FAX 412-271-7077 Email anthony.zuccolotto at pstnet.com Internet http://www.pstnet.com/ -----Original Message----- From: Kai [mailto:kai.osterberg at ymed.lu.se] Sent: Monday, January 07, 2002 11:12 AM To: eprime at mail.talkbank.org Subject: Using visual-analogue scales in E-prime Dear e-prime users, Using e-prime, we are trying to program a 20-item questionnaire with visual-analogue scales (VAS) for the responses. This will require the movement of an arrow along a line (from 0 to100 percent) in response to the question; e. g., the stimulus "Do you feel tired ?" would be presented at the top of the screen, and below would be presented a 0-100 percent response line (with labeled endpoints) and a moveable arrow. The subject would move the arrow back and forth along the line (preferably by using the SRBox keys no 1 and 5) in order to fine-tune its position until it is perceived as represntative for his/her current state. The subject would then confirm/enter this response by pressing a separate key, and the next question would appear (and so on). Problem: We are able to achieve the movement of an arrow along a line, but only by setting up each small step of arrow movement (i. e. each key-press) as a separate reaction time (RT) stimulus-response (S-R). But this leads to serious problems: If the scale resolution is set to 2 percent (0-100% = 50 steps), already moving along the scale once leads to 50 RT S-R:s. Together with some margin for additional movements, the number of RT:s must reasonably be set to at least 300 for each question! This would of course make a 20-item questionnaire extremely large (not to mention the enormous amount of unwanted data obtained). Obviously this approach is incorrect. We have not succeeded to solve the riddle of how make the arrow move back and forth along the VAS-scale in response to keyboard inputs without making e-prime believe that each arrow movement represents a RT S-R event. The only two response data of interest to us is the position of the arrow when the subject makes his FINAL confirmatory key-press and the decision time. We would welcome any suggestion of how to properly program this type of VAS-question within e-prime. Thanks, Kai ?sterberg, PhD Dept. Occupational and Environmental Medicine Lund University SE-22185 Sweden kai.osterberg at ymed.lu.se phone +46-46-177292 From michael.allerhand at ed.ac.uk Wed Jan 9 15:02:27 2002 From: michael.allerhand at ed.ac.uk (mike allerhand) Date: Wed, 9 Jan 2002 15:02:27 +0000 Subject: fastest refresh Message-ID: What monitor and graphics card can get presentation intervals of 5ms (and below if possible)? Suppose you've got a monitor that can be driven at 160Hz vertical refresh, and a video card that can drive faster than that, and has, say, 32Mb on-board RAM. You've set the lowest resolution and color depth. You use small images. You set pre-release time to spare. You select the max refresh rate your monitor can handle, and tell eprime to present an image for, say, 6.25 ms (160Hz). Will you get what you want? Not necessarily. It's not easy to measure. We used a high-end storage 'scope to measure the response from a photocell. The fact is that it depends upon magic in the video card and driver. We found Sony and IIyama monitors that can go to 160Hz, but you have to get the right card. Just because the card says it can drive at 200Hz is no guarantee that you will get that out of eprime. For example we found ATI cards with sufficient video RAM that claimed to go fast enough could give at best a mulitple of two refreshes, ie. 12.5ms minimum. One card we found that does give 6.25ms is Matrox millenium G400 max. It would be useful to know what people are using to get low presentation intervals. Can anyone do 5ms or better? Mike From JPatte at lsuhsc.edu Wed Jan 9 16:06:20 2002 From: JPatte at lsuhsc.edu (Patterson, James) Date: Wed, 9 Jan 2002 10:06:20 -0600 Subject: fastest refresh Message-ID: Just curious...why would you want to go that fast? =========================================== James C. Patterson II, MD/PhD Director of PET Neuroimaging Research PET Imaging Center, Biomedical Research Foundation Assistant Professor of Psychiatry Louisiana State University Health Sciences Center at Shreveport 318-675-6040 - Psychiatry 318-675-6148 - fax 318-675-4000 - PET Center 318-675-4020 - fax =========================================== > -----Original Message----- > From: mike allerhand [mailto:michael.allerhand at ed.ac.uk] > Sent: Wednesday, January 09, 2002 7:02 AM > To: eprime at mail.talkbank.org > Subject: fastest refresh > > > What monitor and graphics card can get presentation > intervals of 5ms (and below if possible)? > > Suppose you've got a monitor that can be driven at 160Hz > vertical refresh, and a video card that can drive faster than that, > and has, say, 32Mb on-board RAM. > You've set the lowest resolution and color depth. You use > small images. You set pre-release time > to spare. You select the max refresh rate your monitor can > handle, and tell eprime to present an image for, say, 6.25 ms > (160Hz). Will you get what you want? Not necessarily. > It's not easy to measure. We used a high-end storage 'scope > to measure the response from a photocell. The fact is that > it depends upon magic in the video card and driver. > We found Sony and IIyama monitors that can go to 160Hz, > but you have to get the right card. Just because the card says > it can drive at 200Hz is no guarantee that you will get that > out of eprime. For example we found ATI cards with sufficient > video RAM that claimed to go fast enough could give at > best a mulitple of two refreshes, ie. 12.5ms minimum. > One card we found that does give 6.25ms is Matrox millenium G400 max. > > It would be useful to know what people are using to get low > presentation intervals. Can anyone do 5ms or better? > > Mike > > > From anthony.zuccolotto at pstnet.com Thu Jan 10 14:00:24 2002 From: anthony.zuccolotto at pstnet.com (Tony Zuccolotto) Date: Thu, 10 Jan 2002 09:00:24 -0500 Subject: FW: In gratitude Message-ID: Kai, Glad to be of assistance. The solution I gave sounds like it will work, but note that there are other ways in E-Prime to deal with limiting the logging of data you are not interested in. If you run into this situation again it might be worth your programmer writing a very simple experiment (e.g. 1 List with 1 Procedure and a TextDisplay with a single response enabled) and then generating the script and examining it in the script window or by loading the script (*.ebs) into E-Run. You will see that each procedure generates a subroutine that holds the script for that procedure. If your procedure is named TrialProc then E-Prime will generate a subroutine named TrialProc_Run. This procedure is what is run whenever the TrialProc is called from a List to execute. The whole logging system in E-Prime works by adding attribute and their values to the experimental Context. The Context is a multi-level data structure that holds all of the attributes and their values that are currently active in the paradigm. Attributes can be independent variables (typically declared on List objects), dependent measures, or any other type of information you feel is valid for your paradigm and post-analysis. You will see the Context being passed into the TrialProc_Run subroutine as a parameter (named c). If you examine the TrialProc_Run subroutine you will see script that adds different attributes to the context at various points in the subroutine, e.g. c.SetAttrib "Stimulus.RT", Stimulus.RT E-Prime handles most of the management of the Context for, but you can add or override anything you want in the Context using the c.SetAttrib method. You can also pull information from the context using the c.GetAttrib method. When it comes time to log at the end of the trial, E-Prime assumes all the data that is relevant for that trial is in held in the Context and it then makes a single call to c.Log This call instructs the Context to write all of its relevant data to the data file on disk. If you want to handle all logging yourself then you can turn off the default call to c.Log at the end of the Procedure by setting the LogData property for the Procedure object to "No" (via the Properties Window in E-Studio). After that, it is your responsibility to update the attribute values in the context and call c.Log as little or as often as is needed to meet the needs of your paradigm. There is more information on the Context object in the User's Manual and E-Basic Help for further detail. Regards, Tony -----Original Message----- From: Kai [mailto:kai.osterberg at ymed.lu.se] Sent: Thursday, January 10, 2002 8:36 AM To: Tony Zuccolotto Subject: In gratitude Dear Tony, Our programmer is now very optimistic after having read your mail. Thanks a lot for your help! Kai --------------------------------------------------------------------- Original message: Date: Mon, 7 Jan 2002 11:37:02 -0500 Reply-To: Tony Zuccolotto Sender: Eprime List From: Tony Zuccolotto Subject: Re: Using visual-analogue scales in E-prime Comments: To: eprime at mail.talkbank.org Content-Type: text/plain; charset="iso-8859-1" Dear Kai, You should be able to achieve this by just using a Label object in the procedure and a Goto statement in Inline script. Put the Label above the object that collects your input and then after the object check in script (using an IF statement) if the subject has made the 'final' response. If the 'final' response was not made then just process the key as normal and then call Goto Label1 (replace Label1 with whatever you called your label). The TrialProc would have the following object on it ' designates where to jump back to ' collects the response ' tests for final response, updates interface and jumps Assuming you were using the '3' key on the SRBOX as an indication of the 'final' response the inline script you would need would look sometime like If Stimulus.RESP <> "3" Then ' move arrow and draw at new location .... Goto Label1 End If Because you jump back to the top of the procedure logging to the data file never occurs. Thus after the final response comes in you just let the Procedure end normally and only that 1 trial should be logged that contains the final response you are interested in. If you want the 'total' response time then you should save the Stimulus.OnsetTime of the very first trial in a global variable and then you can compute a total RT as follows. Dim totalRT as Long totalRT = Stimulus.RTTime - g_nOnsetTimeOfFirstStimulus c.SetAttrib "TotalRT", totalRT Hope that helps, Tony Anthony P. Zuccolotto Vice President of Operations Psychology Software Tools, Inc. 2050 Ardmore Boulevard Suite 200 Pittsburgh, PA 15221-4610 Phone 412-271-5040 FAX 412-271-7077 Email anthony.zuccolotto at pstnet.com Internet http://www.pstnet.com/ From art80408 at nus.edu.sg Tue Jan 15 07:45:55 2002 From: art80408 at nus.edu.sg (Ho Kok Inn) Date: Tue, 15 Jan 2002 15:45:55 +0800 Subject: Addition of feedback Message-ID: Hello anyone out there, Can anyone please enlighten me on how to display different feedbacks in an experiment? (say, getting a correct answer for type "A" questions earn you 1 point & getting a correct answer for type "B" questions earn you 3 points.) Also, if the above is done, how to add up all these scores that are displayed in the feedback? PLEASE HELP- thesis deadline drawing near.............. : ) HKI -------------- next part -------------- An HTML attachment was scrubbed... URL: From BSchech at intra.nida.nih.gov Tue Jan 15 16:58:08 2002 From: BSchech at intra.nida.nih.gov (Schech, Barry (NIDA/IRP)) Date: Tue, 15 Jan 2002 11:58:08 -0500 Subject: Addition of feedback Message-ID: I don't know if anyone responded yet to this question but here is how I have counted and total amounts in one on my projects. 1) Early in the project define the variables such as DIM total as integer DIM current as integer And in the begining put a script such as; c.setattrib "Total", total c.setattrib "current", current current=0 This will start the project at 0 points or dollars etc. and let you recall the total and current points/money in a feedback screen. 2) In the list for the project have the following defined (and put in the answers for each column expected) correctanswer incorrectanswer correctmoney incorrectmoney ( I used money amounts but you could just use correctanswer and incorrectanswer) 3) In an inline put something like the following script if slide1.RESP =c.GetAttrib ("correctanswer") then ####slide1 is where the person was asked to press the appropriate key such as 1 or 2 total=total + (c.GetAttrib ("correctmoney")) end if if slide1.RESP =c.GetAttrib ("incorrectanswer") then total=total - (c.GetAttrib ("incorrectmoney")) end if if slide1.RESP =c.GetAttrib ("correctanswer") then current = (c.GetAttrib ("correctmoney")) end if if slide1.RESP =c.GetAttrib ("incorrectanswer") then current = (c.GetAttrib ("incorrectmoney")) end if c.setattrib "Total", total ####This is the raw total including negative signs c.setattrib "Total2", abs(total) ####This strips the negative sign from the total amount c.setattrib "current" , current c.setattrib "sign" , left$ (total,1) ####This reads the first char. from the total if left$ (total,1) <> "-" then ###This checks the sign if it is negative c.setattrib "sign" , CHR$(32) ###This assigns the sign to a - so when I display the dollar amount the neg sign is in front of the $ sign end if 4) In the feedback screen you can display the total and current amounts by the following; You have just won $[current] You total winnings are $[sign] [total2] or Your total winnings are [total] #### If you don't care about the negative sign before the number Hope this helps, Barry Schech National Institute on Drug Abuse Baltimore Md. -----Original Message----- From: Ho Kok Inn [mailto:art80408 at nus.edu.sg] Sent: Tuesday, January 15, 2002 2:46 AM To: 'eprime at mail.talkbank.org' Subject: Addition of feedback Hello anyone out there, Can anyone please enlighten me on how to display different feedbacks in an experiment? (say, getting a correct answer for type "A" questions earn you 1 point & getting a correct answer for type "B" questions earn you 3 points.) Also, if the above is done, how to add up all these scores that are displayed in the feedback? PLEASE HELP- thesis deadline drawing near.............. : ) HKI -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jennifer.Thompson at man.ac.uk Tue Jan 15 17:10:48 2002 From: Jennifer.Thompson at man.ac.uk (Jennifer Thompson) Date: Tue, 15 Jan 2002 17:10:48 GMT1BST Subject: timing of multiple responses in E-Prime Message-ID: I hope someone can help me with this, I'm new to eprime (and haven't used anything similar so starting from a very basic level). Basically, what I want to do is have people (neurological patients) repetatively tap a button for a predetermined time period, and look at the a) number of responses and b) the timing of these responses. Reading the manuals I can't see a way to do this, and EPrime wants to record the time of the LAST response, not all of them. What I want it to do is to sample the time of EACH response, relative to the start signal. If anyone can put me on the right track or has any suggestions I'd be most grateful. Also if the above doesn't make sense then I can elaborate. Many thanks, Jennifer Thompson From beta at pstnet.com Tue Jan 15 18:25:43 2002 From: beta at pstnet.com (Beta) Date: Tue, 15 Jan 2002 13:25:43 -0500 Subject: Addition of feedback Message-ID: Dear Dr. Inn, Thank you for your support of E-Prime. You will need to keep a separate summation variable to look at the Probe.Acc property before feedback. Summation objects are used to collect a series of observations. From this collection, various summary measures may be determined, such as minimum or maximum value in the collection, the number of observations, and various statistical measures, such as mean, standard deviation, or variance of the observations within the collection. For more information about the Summation object, please refer to the E-Basic OnLine Help. You may access E-Basic OnLine Help within E-Studio via the taskbar and selecting the Help option. Here is some sample script for your particular experiment, you will need to place this script in an InLine object before your Feedback object. Please try the script below and re-run your experiment. If (Probe.ACC=1) Then ' Correct so figure out how many points they get If c.GetAttrib("TrialType")="TrialThatGets3Points" Then MySummation.AddObservation 3 Else ' MySummation.AddObservation 1 End If Else ' Wrong, may want to sum a 0 here if you are interested in Mean Points/Trial, if not you can ignore it. End If ' If user needs to display total points in feedback then add to context and put [TotalPoints] somewhere on feedback tabs... c.SetAttrib "TotalPoints", MySummation.Total I hope this information is helpful in the completion of your experiment. Sincerely, Jennifer Gliptis Technical Consultant ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Psychology Software Tools, Inc. 2050 Ardmore Blvd. Pittsburgh, PA 15221-4610 USA ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Visit our Web Site for the latest info: << http://www.pstnet.com/>> E-mail: info at pstnet.com Voice (412) 271-5040 -----Original Message----- From: Ho Kok Inn [mailto:art80408 at nus.edu.sg] Sent: Tuesday, January 15, 2002 2:46 AM To: 'eprime at mail.talkbank.org' Subject: Addition of feedback Hello anyone out there, Can anyone please enlighten me on how to display different feedbacks in an experiment? (say, getting a correct answer for type "A" questions earn you 1 point & getting a correct answer for type "B" questions earn you 3 points.) Also, if the above is done, how to add up all these scores that are displayed in the feedback? PLEASE HELP- thesis deadline drawing near.............. : ) HKI -------------- next part -------------- An HTML attachment was scrubbed... URL: From zajdeld at ohsu.edu Thu Jan 17 00:48:24 2002 From: zajdeld at ohsu.edu (Daniel Zajdel) Date: Wed, 16 Jan 2002 16:48:24 -0800 Subject: Ebasic Changes Message-ID: Hello All, I am in the process of converting some experiment scrips to the new version. Along the way I am discovering little changes here and there. Some things have been simplified, like the .PreReleaseTime object property is now .PreRelease. Easy enough to convert, however it may be that some things are gone now, like the .input property for display objects collecting a response. Neither was mentioned on the website knowledge base, and I didn't find anything about those in the documentation. I am afraid I get to figure out all these refinements for myself, but is anyone else out there noticing such changes? Dan Zajdel Neurology Oregon Health & Science University From susanc at andrew.cmu.edu Thu Jan 17 15:57:40 2002 From: susanc at andrew.cmu.edu (Susan Campbell) Date: Thu, 17 Jan 2002 10:57:40 -0500 Subject: timing of multiple responses in E-Prime Message-ID: I'm not certain if anyone has answered your question off-list, but I've prepared an example script that does muliple response timing and put it up on the STEP website for people to look at and download. The script is the third on the page at http://step.psy.cmu.edu/script_samples/ I tried to find a way to find the time between responses with a minimum of E-Basic scripting, but apparently the only way to get at the sub-responses that make up an InputMask object is with scripting. E-Prime actually collects the responses that make up a multiple-response trial (InputMask.Responses), but it only records the final RT to the output data file. There's a lot of information in the E-Basic help files (not the E-Studio ones, and not in the manuals that I could find) about InputMask objects, but I don't know how useful it will be if you don't have a scripting background. For the script, I rather hacked up the code from the main InputMask topic in the E-Basic help such that it collected multiple keyboard responses per trial. Their example uses mouse clicks. I added writing it to a data file as well, though I couldn't find a good way to add it to the normal data file E-Prime generates. There should be copious comments on the code, but if it's still incomprehensible, please feel free to let me know and I'll try to clarify. I hope this helps, Susan Campbell STEP E-Prime Programmer Jennifer Thompson wrote: > I hope someone can help me with this, I'm new to eprime (and > haven't used anything similar so starting from a very basic level). > > Basically, what I want to do is have people (neurological patients) > repetatively tap a button for a predetermined time period, and look > at the a) number of responses and b) the timing of these > responses. Reading the manuals I can't see a way to do this, and > EPrime wants to record the time of the LAST response, not all of > them. What I want it to do is to sample the time of EACH > response, relative to the start signal. > > If anyone can put me on the right track or has any suggestions I'd > be most grateful. Also if the above doesn't make sense then I can > elaborate. > > Many thanks, > Jennifer Thompson > > From miw2004 at med.cornell.edu Thu Jan 17 17:39:13 2002 From: miw2004 at med.cornell.edu (Michael Worden) Date: Thu, 17 Jan 2002 12:39:13 -0500 Subject: timing of multiple responses in E-Prime Message-ID: (I tried to send this yesterday but it didn't show up for some reason...) This is quite simple to do with e-prime. You just need a list that calls a single procedure and that exits after a predetermined amount of time (or number of taps if you like). The procedure needs a single object (TextDisplay or whatever) that takes a response and terminates. That's it. Every time the subject taps a new row will be created in the data file. To find the interval between taps simply take the .rttime value for one tap and subtract from it the .rttime value for the previous tap. I put together a simple example and you may ftp it from sacklerinstitute.org as /pub/tap.es. ( ftp://sacklerinstitute.org/pub/tap.es ) This was written with beta5 SP2. If you convert to v1.0 double check that the input action of the tap object is set to terminate, the max count (under Advanced) is set to 1 and the allowable input is set to whatever key you want to tap. I believe that Jennifer had some trouble with some of these values being reset incorrectly. Good luck, Michael Jennifer Thompson wrote: >I hope someone can help me with this, I'm new to eprime (and haven't >used anything similar so starting from a very basic level). > >Basically, what I want to do is have people (neurological patients) >repetatively tap a button for a predetermined time period, and look >at the a) number of responses and b) the timing of these responses. >Reading the manuals I can't see a way to do this, and EPrime wants >to record the time of the LAST response, not all of them. What I >want it to do is to sample the time of EACH response, relative to >the start signal. > >If anyone can put me on the right track or has any suggestions I'd >be most grateful. Also if the above doesn't make sense then I can >elaborate. > >Many thanks, >Jennifer Thompson -- __ Michael Worden, PhD miw2004 at med.cornell.edu Sackler Institute for Developmental Psychobiology, Box 140 1300 York Ave., NY, NY 10021 Tel: 212 746-5830 http://www.sacklerinstitute.org From beta at pstnet.com Thu Jan 17 21:34:00 2002 From: beta at pstnet.com (Beta) Date: Thu, 17 Jan 2002 16:34:00 -0500 Subject: Ebasic Changes Message-ID: Dan, Since your question was entered on the forum as well through web support, I am posting this response so that others in the forum may see the answer. The .Input property was replaced in v1.0. As noted in the Knowledge Base section of our website: "Especially in E-Basic, the input model has changed to accommodate primarily for multiple response collection and displaying responses to the screen." However, besides the elimination of "AnyOf," the input model has not really changed; the script for echo responses and multiple responses is essentially an extension of Beta 5's input model. The docs do not describe the use of the new input model in reference to the old input model because we did not consider it necessary to document an input model that no longer exists. However, as noted in the web support Knowledge Base, you will find the new input model thoroughly documented under the InputMask, ResponseData and RteRunnableInputObject topics in our OnLine E-Basic Help. Again, the change from .Input essentially only affects input handled via script. We do NOT encourage users to ever write their own input mask handling script, and there is no real need for users to do so: any input collection script you need can be generated by E-Studio by simply using a Wait object with a zero duration and preset input properties. We do encourage you to work with the InputMask and ResponseData contents after input has been collected, and the ways in which to do so are also very well documented in E-Basic help. It may also help you to play with the input properties on a single object E-Studio, then generate the full script to see each one is used. Used in this way, E-Studio can be a great learning tool for users trying to familiarize themselves with E-Basic. We are currently examining over 1000 line item differences between B5 and v1.0, and we will post them as soon as possible. We have always made a real effort to inform users of changes from version to version, and did release on our website a top level listing of the bug fixes and other changes between Beta 5 and v1.0. You can access these from the web support Knowledge Base page under the heading "Line Item Updates." You are correct that the change from "PreReleaseTime" to "PreRelease" was not specifically addressed in our documentation or Knowledge Base. It is mentioned in the line items, but in a somewhat unrelated context. Again, we didn't believe it necessary to document something that didn't exist in the final version; however, this information will most likely be included in the line item differences I mentioned above. In the future, if you have trouble finding information, please submit a technical support request, and we will be happy to point you to the appropriate documentation or Help topics, or provide you with any other information we have. Sincerely, Sara Burgess Technical Consultant -----Original Message----- From: Daniel Zajdel Sent: Wed 1/16/2002 7:48 PM To: eprime at mail.talkbank.org Cc: Subject: Ebasic Changes Hello All, I am in the process of converting some experiment scrips to the new version. Along the way I am discovering little changes here and there. Some things have been simplified, like the .PreReleaseTime object property is now .PreRelease. Easy enough to convert, however it may be that some things are gone now, like the .input property for display objects collecting a response. Neither was mentioned on the website knowledge base, and I didn't find anything about those in the documentation. I am afraid I get to figure out all these refinements for myself, but is anyone else out there noticing such changes? Dan Zajdel Neurology Oregon Health & Science University From jhopper at bu.edu Fri Jan 18 23:39:20 2002 From: jhopper at bu.edu (Jim Hopper, Ph.D.) Date: Fri, 18 Jan 2002 18:39:20 -0500 Subject: voice-activated mic input Message-ID: Hello, I've been having trouble finding a scientifically sound and financially reasonable solution for voice-activated mic input. Any recommendations would be greatly appreciated. Thanks, Jim Hopper ______________________________________ Jim Hopper, Ph.D. Research Associate, Dept of Psychiatry Boston University School of Medicine _______________________________________ From jmbaker at uncg.edu Mon Jan 21 17:08:23 2002 From: jmbaker at uncg.edu (Julie M. Baker) Date: Mon, 21 Jan 2002 12:08:23 -0500 Subject: Data Compatibility Message-ID: Hello, I was wondering if anyone has tried to merge data from the beta version of e-prime with data from the full version. Are the data files compatible? Or do they all need to come from the same version? Thanks, Julie Baker Dept of Psychology University of North Carolina - Greensboro From roy.allen at abdn.ac.uk Tue Jan 22 16:30:04 2002 From: roy.allen at abdn.ac.uk (Roy Allen) Date: Tue, 22 Jan 2002 16:30:04 -0000 Subject: Problem Message-ID: I wonder if anyone can help. I'm trying to develop experiments where, on each trial I can present both a visual and an auditory stimulus. I know that this can be done as a SlideObject but, crucially, I need to vary the onset times of each stimulus separately so that: on some trials the auditory stimulus precedes the visual; on others they are presented simultaneously; and on yet others the visual stimulus precedes the auditory. Plainly I need to set up a number of variables but I can't seem to even get E-Prime to let me present two stimuli in the same trial but at different onsets. Thanks in anticipation, Roy Allen University of Aberdeen. From susanc at andrew.cmu.edu Tue Jan 22 18:36:37 2002 From: susanc at andrew.cmu.edu (Susan Campbell) Date: Tue, 22 Jan 2002 13:36:37 -0500 Subject: Problem Message-ID: One thing to try, if you haven't already, is creating two (or three) seperate Procedure objects, one with the sound first and one with the visual first. Then you can vary which Procedure you use from the list that controls presentation and duration, though you might need to rework your duration math a little. You can probably even use the same sound and visual display objects in both procedures to minimize the number of different objects required (though I suppose you'd need to use a combined slide for the simultaneous condition). This worked for me on an experiment that involved having two visual presentations per trial whose order varied between trials, so I assume it would work for a combination of visual and auditory stimuli. There may be other solutions, however. I haven't done much with the new SlideObject, so I'm not sure what its capabilities are. Hope this helps, Susan Campbell STEP E-Prime Programmer Roy Allen wrote: > I wonder if anyone can help. I'm trying to develop experiments > where, on each trial I can present both a visual and an auditory > stimulus. I know that this can be done as a SlideObject but, > crucially, I need to vary the onset times of each stimulus > separately so that: on some trials the auditory stimulus precedes > the visual; on others they are presented simultaneously; and on yet > others the visual stimulus precedes the auditory. Plainly I need to > set up a number of variables but I can't seem to even get E-Prime > to let me present two stimuli in the same trial but at different > onsets. > > Thanks in anticipation, > > Roy Allen > University of Aberdeen. > > From miw2004 at med.cornell.edu Tue Jan 22 18:40:15 2002 From: miw2004 at med.cornell.edu (Michael Worden) Date: Tue, 22 Jan 2002 13:40:15 -0500 Subject: Problem In-Reply-To: <3C4D938C.28000.199A707@localhost> Message-ID: A straightforward way to do this is to have two procedures, one presents stimulus A first and the other presents stimulus B first. Add a wait or other object in the middle if you want to have variable ISIs. I threw together a quick example using two slide objects with visual stimuli (it's a simple modification to make one of these a sound object). You can find the example at ftp://sacklerinstitute.org/pub/ABexample.es Good luck, Michael >I wonder if anyone can help. I'm trying to develop experiments >where, on each trial I can present both a visual and an auditory >stimulus. I know that this can be done as a SlideObject but, >crucially, I need to vary the onset times of each stimulus >separately so that: on some trials the auditory stimulus precedes >the visual; on others they are presented simultaneously; and on yet >others the visual stimulus precedes the auditory. Plainly I need to >set up a number of variables but I can't seem to even get E-Prime >to let me present two stimuli in the same trial but at different >onsets. > >Thanks in anticipation, > >Roy Allen >University of Aberdeen. -- __ Michael Worden, PhD miw2004 at med.cornell.edu Sackler Institute for Developmental Psychobiology, Box 140 1300 York Ave., NY, NY 10021 Tel: 212 746-5830 http://www.sacklerinstitute.org From susanc at andrew.cmu.edu Wed Jan 23 15:36:14 2002 From: susanc at andrew.cmu.edu (Susan Campbell) Date: Wed, 23 Jan 2002 10:36:14 -0500 Subject: Problem Message-ID: As an addendum, the experiment I mentioned is a replication of the Eriksen and St. James (1986) study of focal attention. In some cases, positions in a display are cued before the display appears, and in other cases, after. The experiment is online at: http://step.psy.cmu.edu/scripts/Eriksen1986.zip Have a nice day, Susan Susan Campbell wrote: > One thing to try, if you haven't already, is creating two (or three) > seperate Procedure objects, one with the sound first and one with the > visual first. Then you can vary which Procedure you use from the list > that controls presentation and duration, though you might need to rework > your duration math a little. > > You can probably even use the same sound and visual display objects in > both procedures to minimize the number of different objects required > (though I suppose you'd need to use a combined slide for the > simultaneous condition). This worked for me on an experiment that > involved having two visual presentations per trial whose order varied > between trials, so I assume it would work for a combination of visual > and auditory stimuli. > > There may be other solutions, however. I haven't done much with the new > SlideObject, so I'm not sure what its capabilities are. > > Hope this helps, > Susan Campbell > STEP E-Prime Programmer > > Roy Allen wrote: > >> I wonder if anyone can help. I'm trying to develop experiments where, >> on each trial I can present both a visual and an auditory stimulus. I >> know that this can be done as a SlideObject but, crucially, I need to >> vary the onset times of each stimulus separately so that: on some >> trials the auditory stimulus precedes the visual; on others they are >> presented simultaneously; and on yet others the visual stimulus >> precedes the auditory. Plainly I need to set up a number of variables >> but I can't seem to even get E-Prime to let me present two stimuli in >> the same trial but at different onsets. >> >> Thanks in anticipation, >> >> Roy Allen >> University of Aberdeen. >> >> > > >