From mcfarla9 at msu.edu Wed Sep 3 17:54:56 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 3 Sep 2008 13:54:56 -0400 Subject: using joystick input for version 1.1 In-Reply-To: <8b265780-680c-4d02-bc73-c1d5571f2a78@a1g2000hsb.googlegroups.com> Message-ID: Mary, > We're doing an experiment that we need joystick input to get resulting > angles in degrees as our output--is this possible in Eprime version > 1.1? Would a joystick be able to give that kind of output? I have never used a joystick in EP, so I hope someone else will weigh in here. But if the joystick gives you xy coordinates, and if you have the xy coordinate of the joystick center, then you should be able to get angles in degrees just with a bit of trigonometry in an inline script. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Wed Sep 3 19:58:38 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Wed, 3 Sep 2008 12:58:38 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <48BECF70.50208@msu.edu> Message-ID: Hi Mary, E-Prime v1.x is capable of recording responses from a joystick, but only the buttons will be recognized as input. The current version is not capable of reading the joystick position along an x/y axis. This only applies to joysticks that connect through the parallel or game ports. Joystick support for buttons, sliders, POV controls, and x-y-z position, is available in E-Prime 2.0. Please see http://pstnet.com/products/e-prime/faq/efaq2.htm for more information on upgrading. Please let me know if you have any further questions. - Matt PST Technical Consultant http://www.pstnet.com/ On Sep 3, 1:54 pm, David McFarlane wrote: > Mary, > > > We're doing an experiment that we need joystick input to get resulting > > angles in degrees as our output--is this possible in Eprime version > > 1.1?  Would a joystick be able to give that kind of output? > > I have never used a joystick in EP, so I hope someone else will weigh in >   here.  But if the joystick gives you xy coordinates, and if you have > the xy coordinate of the joystick center, then you should be able to get > angles in degrees just with a bit of trigonometry in an inline script. > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Wed Sep 3 20:00:13 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Wed, 3 Sep 2008 13:00:13 -0700 Subject: Need help with microphone In-Reply-To: <34ed590b-fc24-4030-8574-9a4b76a1c11f@59g2000hsb.googlegroups.com> Message-ID: Hi Mireille, Your support request with the same question has been responded to. If you have any questions regarding the response (or follow-up questions pertaining to it), please post a reply within the support request. - Matt PST Technical Consultant http://www.pstnet.com/ On Sep 2, 8:53 pm, Mireille wrote: > I want to know how to set up an experiment with a microphone, so that > I can have the onset of the voice of the participants as a reaction > time to my stimuli. I was also wondering if it's possible to record > the responses so that I can check after for the right detections. > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Wed Sep 3 20:03:11 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Wed, 3 Sep 2008 13:03:11 -0700 Subject: Multiple response Timings in Eprime In-Reply-To: <519b75f8-f917-4d36-87ef-32403f61e8ce@34g2000hsh.googlegroups.com> Message-ID: Hi Oli, I do not have access to your experiment, but it sounds as though you are collecting multiple responses from the subject (e.g., collecting a typed response from the subject). If this is the case, the object collecting the responses will log the final response's RT time stamp automatically (assuming that data logging is set to Time Audit or Standard). To log the first response, you will need to use a bit of InLine script. I would recommend taking a look at the MultipleResponseCollection.es sample available in the Files section of this group. This includes all of the script necessary to log RTs for responses other than the final response. Please let me know if you have any questions. - Matt PST Technical Consultant http://www.pstnet.com/ On Aug 30, 7:42 am, "oli... at googlemail.com" wrote: > Hi there - I'm running an experiment where I am measuring response > latencies (how long it takes for a patient to make their first > response) and answer duration (the time between the stimuli onset and > the last response) > At the moment I am using visual wave software to measure each time by > hand, which is a horrible process and wanted to do the remainder of > the patients using eprime - but I can only time one response.  Is > there an easy way to make this happen - I've searched on google and > there are only pages and pages of Ebasic code to sift through, and i'm > sure it's only one or two lines that I need. > > Thanks very much > > Oli --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From maryesmith at gmail.com Wed Sep 3 16:12:56 2008 From: maryesmith at gmail.com (mary) Date: Wed, 3 Sep 2008 09:12:56 -0700 Subject: using joystick input for version 1.1 Message-ID: Hi, We're doing an experiment that we need joystick input to get resulting angles in degrees as our output--is this possible in Eprime version 1.1? Would a joystick be able to give that kind of output? Thanks, Mary --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mireillebabineau at hotmail.com Wed Sep 3 00:53:04 2008 From: mireillebabineau at hotmail.com (Mireille) Date: Tue, 2 Sep 2008 17:53:04 -0700 Subject: Need help with microphone Message-ID: I want to know how to set up an experiment with a microphone, so that I can have the onset of the voice of the participants as a reaction time to my stimuli. I was also wondering if it's possible to record the responses so that I can check after for the right detections. Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From maryesmith at gmail.com Thu Sep 4 16:17:23 2008 From: maryesmith at gmail.com (mary) Date: Thu, 4 Sep 2008 09:17:23 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <8608789f-5bb7-4026-ad77-494e6fb81c0f@b30g2000prf.googlegroups.com> Message-ID: Thanks so much for your help--we're ordering Eprime 2.0 so for future reference, how would you make the joystick as input for eprime? Thanks, Mary On Sep 3, 3:58 pm, Matt Lenhart wrote: > Hi Mary, > > E-Prime v1.x is capable of recording responses from a joystick, but > only the buttons will be recognized as input. The current version is > not capable of reading the joystick position along an x/y axis. This > only applies to joysticks that connect through the parallel or game > ports. > > Joystick support for buttons, sliders, POV controls, and x-y-z > position, is available in E-Prime 2.0. Please seehttp://pstnet.com/products/e-prime/faq/efaq2.htmfor more information > on upgrading. > > Please let me know if you have any further questions. > > - Matt > PST Technical Consultanthttp://www.pstnet.com/ > > On Sep 3, 1:54 pm, David McFarlane wrote: > > > Mary, > > > > We're doing an experiment that we need joystick input to get resulting > > > angles in degrees as our output--is this possible in Eprime version > > > 1.1?  Would a joystick be able to give that kind of output? > > > I have never used a joystick in EP, so I hope someone else will weigh in > >   here.  But if the joystick gives you xy coordinates, and if you have > > the xy coordinate of the joystick center, then you should be able to get > > angles in degrees just with a bit of trigonometry in an inline script. > > > -- David McFarlane, Professional Faultfinder > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Thu Sep 4 16:42:12 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Thu, 4 Sep 2008 09:42:12 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <06eb247c-024a-42f0-ab45-6c0469195669@a2g2000prm.googlegroups.com> Message-ID: Mary, Depending on which version of E-Prime 2.0 you ordered (i.e., Standard or Professional), the Joystick will operate a bit differently. In both versions, you will add the Joystick device via the Experiment object's Property Pages. That is, you will double-click the Experiment object at the top of the Structure window, navigate to the Devices tab, click Add, and add the Joystick. In E-Prime 2.0 Professional, you can then add the Joystick as an input mask in the same manner as any other response device. In E-Prime 2.0, response collection must be handled in InLine script (which we can assist you with if necessary). - Matt PST Technical Consultant http://www.pstnet.com/ On Sep 4, 12:17 pm, mary wrote: > Thanks so much for your help--we're ordering Eprime 2.0 so for future > reference, how would you make the joystick as input for eprime? > > Thanks, > Mary > > On Sep 3, 3:58 pm, Matt Lenhart wrote: > > > Hi Mary, > > > E-Prime v1.x is capable of recording responses from a joystick, but > > only the buttons will be recognized as input. The current version is > > not capable of reading the joystick position along an x/y axis. This > > only applies to joysticks that connect through the parallel or game > > ports. > > > Joystick support for buttons, sliders, POV controls, and x-y-z > > position, is available in E-Prime 2.0. Please seehttp://pstnet.com/products/e-prime/faq/efaq2.htmformore information > > on upgrading. > > > Please let me know if you have any further questions. > > > - Matt > > PST Technical Consultanthttp://www.pstnet.com/ > > > On Sep 3, 1:54 pm, David McFarlane wrote: > > > > Mary, > > > > > We're doing an experiment that we need joystick input to get resulting > > > > angles in degrees as our output--is this possible in Eprime version > > > > 1.1?  Would a joystick be able to give that kind of output? > > > > I have never used a joystick in EP, so I hope someone else will weigh in > > >   here.  But if the joystick gives you xy coordinates, and if you have > > > the xy coordinate of the joystick center, then you should be able to get > > > angles in degrees just with a bit of trigonometry in an inline script. > > > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Thu Sep 4 16:51:09 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Thu, 4 Sep 2008 09:51:09 -0700 Subject: defining valid combinations In-Reply-To: Message-ID: Hi Tim, The best way to approach the script for your experiment will depend on exactly what you plan on doing. For example, a dynamic array would be preferred if you are unsure of how many array slots will be needed throughout the experiment. The dynamic array will allow you to assign and re-assign slots throughout the experiment. A fixed array will be better if you only need to keep track of a specific number of values. So, in this experiment, if you only need to store the previous 5 responses, a fixed array with 5 slots will be fine (e.g., in the same manner as a fixed array of 24 slots is fine for storing the possible responses). Once you have selected the appropriate type of array, you will need to create a global counter variable to keep track of which slot you are at in the array. For example, say you name this variable nCount. After each response from the subject, you will need to check to make sure the response is valid (i.e., by looping through the valid responses array), then check to make sure the response has not already been made (i.e., by looping through the distinct responses array), and then finally increment the counter and add the response to the distinct responses array if it meets the criterion: For nLoopCounter = 1 To UBound(arrValid) 'Check that we have a valid response... Next For nLoopCounter = 1 To UBound(arrDistinct) 'Check that we have a distinct response... Next 'If the response meets both criteria... If boolValid = True And boolDistinct = True Then nCount = nCount + 1 arrDistinct(nCount) = Stimulus.RESP End If Keep in mind that the only script within each loop is just comparing the current response to each slot. If a match is found in the first case, then boolValid would be set to True. If a match is found in the second loop, then boolDistinct is set to false. If any of this is not clear or you run into any further difficulty with this task, I would recommend making a support request at: http://www.pstnet.com/e-prime/support/ While I do try to respond here as often as possible, only requests made at the link provided are guaranteed to receive a timely response from PST representative. If you choose to respond here, I will try to reply as quickly as possible, but I cannot assure you of that as official support requests are handled first. - Matt PST Technical Consultant http://www.pstnet.com/ On Aug 29, 6:15 am, Victor wrote: > Hi David > > I have been using the E-basic Help.  The problem that I have is not > fully understanding VB. I have gotten away with bootstrapping until > now by using other sample experiments.  With the current problem, I > can not find an example, nor am I sure if what I am writing is > affecting the program in the way I intend, so I could be cose to a > solution but I am probably more likely to be a million miles away. > > David McFarlane wrote: > > Tim, > > > >I have referred to the help section of E-studio but to no avail. > > > Just a general comment, that is the wrong help section if you want > > help with E-Basic constructs.  For that you want to go to the E-Basic > > Help, i.e., Help > E-Basic Help  (*not* Help Topics). > > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From t1msky at yahoo.co.uk Thu Sep 4 19:09:58 2008 From: t1msky at yahoo.co.uk (Victor) Date: Thu, 4 Sep 2008 12:09:58 -0700 Subject: defining valid combinations In-Reply-To: Message-ID: Hi Matt Thanks a million for your extremely helpful responses. I am pleased to report that the experiment is now complete and ready to run!! Regards Tim Matt Lenhart wrote: > Hi Tim, > > The best way to approach the script for your experiment will depend on > exactly what you plan on doing. For example, a dynamic array would be > preferred if you are unsure of how many array slots will be needed > throughout the experiment. The dynamic array will allow you to assign > and re-assign slots throughout the experiment. A fixed array will be > better if you only need to keep track of a specific number of values. > So, in this experiment, if you only need to store the previous 5 > responses, a fixed array with 5 slots will be fine (e.g., in the same > manner as a fixed array of 24 slots is fine for storing the possible > responses). > > Once you have selected the appropriate type of array, you will need to > create a global counter variable to keep track of which slot you are > at in the array. For example, say you name this variable nCount. After > each response from the subject, you will need to check to make sure > the response is valid (i.e., by looping through the valid responses > array), then check to make sure the response has not already been made > (i.e., by looping through the distinct responses array), and then > finally increment the counter and add the response to the distinct > responses array if it meets the criterion: > > For nLoopCounter = 1 To UBound(arrValid) > 'Check that we have a valid response... > Next > > For nLoopCounter = 1 To UBound(arrDistinct) > 'Check that we have a distinct response... > Next > > 'If the response meets both criteria... > If boolValid = True And boolDistinct = True Then > nCount = nCount + 1 > > arrDistinct(nCount) = Stimulus.RESP > End If > > Keep in mind that the only script within each loop is just comparing > the current response to each slot. If a match is found in the first > case, then boolValid would be set to True. If a match is found in the > second loop, then boolDistinct is set to false. > > If any of this is not clear or you run into any further difficulty > with this task, I would recommend making a support request at: > http://www.pstnet.com/e-prime/support/ While I do try to respond here > as often as possible, only requests made at the link provided are > guaranteed to receive a timely response from PST representative. If > you choose to respond here, I will try to reply as quickly as > possible, but I cannot assure you of that as official support requests > are handled first. > > - Matt > PST Technical Consultant > http://www.pstnet.com/ > > > On Aug 29, 6:15�am, Victor wrote: > > Hi David > > > > I have been using the E-basic Help. �The problem that I have is not > > fully understanding VB. I have gotten away with bootstrapping until > > now by using other sample experiments. �With the current problem, I > > can not find an example, nor am I sure if what I am writing is > > affecting the program in the way I intend, so I could be cose to a > > solution but I am probably more likely to be a million miles away. > > > > David McFarlane wrote: > > > Tim, > > > > > >I have referred to the help section of E-studio but to no avail. > > > > > Just a general comment, that is the wrong help section if you want > > > help with E-Basic constructs. �For that you want to go to the E-Basic > > > Help, i.e., Help > E-Basic Help �(*not* Help Topics). > > > > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Fri Sep 5 13:02:55 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Fri, 5 Sep 2008 06:02:55 -0700 Subject: defining valid combinations In-Reply-To: <8c083daf-b013-43ce-969e-e7b32ea7c462@p10g2000prf.googlegroups.com> Message-ID: Hi Tim, Great to hear. If you run into anything in the future, please let me know. - Matt PST Technical Consultant http://www.pstnet.com/ On Sep 4, 3:09 pm, Victor wrote: > Hi Matt > > Thanks a million for your extremely helpful responses. > > I am pleased to report that the experiment is now complete and ready > to run!! > > Regards > > Tim > > Matt Lenhart wrote: > > Hi Tim, > > > The best way to approach the script for your experiment will depend on > > exactly what you plan on doing. For example, a dynamic array would be > > preferred if you are unsure of how many array slots will be needed > > throughout the experiment. The dynamic array will allow you to assign > > and re-assign slots throughout the experiment. A fixed array will be > > better if you only need to keep track of a specific number of values. > > So, in this experiment, if you only need to store the previous 5 > > responses, a fixed array with 5 slots will be fine (e.g., in the same > > manner as a fixed array of 24 slots is fine for storing the possible > > responses). > > > Once you have selected the appropriate type of array, you will need to > > create a global counter variable to keep track of which slot you are > > at in the array. For example, say you name this variable nCount. After > > each response from the subject, you will need to check to make sure > > the response is valid (i.e., by looping through the valid responses > > array), then check to make sure the response has not already been made > > (i.e., by looping through the distinct responses array), and then > > finally increment the counter and add the response to the distinct > > responses array if it meets the criterion: > > > For nLoopCounter = 1 To UBound(arrValid) > >  'Check that we have a valid response... > > Next > > > For nLoopCounter = 1 To UBound(arrDistinct) > >  'Check that we have a distinct response... > > Next > > > 'If the response meets both criteria... > > If boolValid = True And boolDistinct = True Then > >  nCount = nCount + 1 > > >  arrDistinct(nCount) = Stimulus.RESP > > End If > > > Keep in mind that the only script within each loop is just comparing > > the current response to each slot. If a match is found in the first > > case, then boolValid would be set to True. If a match is found in the > > second loop, then boolDistinct is set to false. > > > If any of this is not clear or you run into any further difficulty > > with this task, I would recommend making a support request at: > >http://www.pstnet.com/e-prime/support/ While I do try to respond here > > as often as possible, only requests made at the link provided are > > guaranteed to receive a timely response from PST representative. If > > you choose to respond here, I will try to reply as quickly as > > possible, but I cannot assure you of that as official support requests > > are handled first. > > > - Matt > > PST Technical Consultant > >http://www.pstnet.com/ > > > On Aug 29, 6:15 am, Victor wrote: > > > Hi David > > > > I have been using the E-basic Help. The problem that I have is not > > > fully understanding VB. I have gotten away with bootstrapping until > > > now by using other sample experiments. With the current problem, I > > > can not find an example, nor am I sure if what I am writing is > > > affecting the program in the way I intend, so I could be cose to a > > > solution but I am probably more likely to be a million miles away. > > > > David McFarlane wrote: > > > > Tim, > > > > > >I have referred to the help section of E-studio but to no avail. > > > > > Just a general comment, that is the wrong help section if you want > > > > help with E-Basic constructs. For that you want to go to the E-Basic > > > > Help, i.e., Help > E-Basic Help (*not* Help Topics). > > > > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From meg.smith322 at gmail.com Fri Sep 5 16:23:05 2008 From: meg.smith322 at gmail.com (Meg.Smith) Date: Fri, 5 Sep 2008 09:23:05 -0700 Subject: Multiple Choice Testing Message-ID: Hello. I am trying to create an experiment that uses different forms of testing. Subjects will read a passage on paper, and then take a test over the passage. There are 8 questions for the passage. We need to create (for one condition) a multiple choice test where the questions are counterbalanced for order, and the 5 choices (including the correct answer) are counterbalanced for order. For another condition, we need the subjects to first take a short answer test where they type in their answers, and then take a multiple choice test the same as above, all in one program. We would like the choices to all be counterbalanced for order in the multiple choice section. In addition, we would like the questions counterbalanced for order for each subject in both the recall and the multiple choice section, but for each subject both sections need to be in the same order. In other words, whatever order the computer chooses for the subject in the first section, we need it to again choose the same order in the second section. Is this possible to do in E-prime? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From violalumleynu22 at gmail.com Sat Sep 6 02:54:16 2008 From: violalumleynu22 at gmail.com (violalumleynu22) Date: Fri, 5 Sep 2008 19:54:16 -0700 Subject: Debra Messing Covered Up Message-ID: The Will & Grace star gets caught nude!! http://freerealvideo.net/video.html?video=88430 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From Christine.Watson at gmail.com Mon Sep 8 14:37:47 2008 From: Christine.Watson at gmail.com (Christine) Date: Mon, 8 Sep 2008 07:37:47 -0700 Subject: Movie displays freeze. Message-ID: I'm having a problem with movies freezing (the video freezes; the video's audio loops) in E-Prime 2.0.8.22. What combination of options for playing movies is correct? Let's say I have a movie that is 5 minutes long, and I want to play 3 minutes of it. I set the begin time to 00:00:00.00 and the end time to 00:03:00.00. In all cases, "Stop After" was set to "yes". What next? I have tried the following: 1. Set "End Movie Action" to terminate, then set Duration to "infinite." (freezes) 2. Set "End Movie Action" to none, then set Duration equal to 3 minutes. (freezes) 3. Set "End Movie Action" to none, then set Duration to 3 minutes + 1 second. (freezes) 4. Set "End Movie Action" to none, set Duration to "infinite", and set a key (like the letter 'k') to advance the movie once it stops playing. (This seems to work but is inconvenient). Any suggestions? Thank you! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From clarkea at upmc.edu Mon Sep 8 15:25:36 2008 From: clarkea at upmc.edu (biometricsassistant) Date: Mon, 8 Sep 2008 08:25:36 -0700 Subject: clock.systemtimedrift!!! Message-ID: when using an experiment that was originally made for e-prime one i get this error message. It claims the data from this trial may be unusable. The experiment I'm having this problem with is a digitspan experiment. It says a number that is either 4, 7, or 10, digits. The participant is then asked to repeat it back to the experiment. After this has happened the experiment is then advanced. This makes me wonder if the timedrift problem has something to do with this dependant timing. Any Ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Sep 8 18:50:48 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 8 Sep 2008 14:50:48 -0400 Subject: clock.systemtimedrift!!! In-Reply-To: <2e258149-91ad-4c89-aa2f-10feab04928c@r66g2000hsg.googlegro ups.com> Message-ID: Biometricassistant, >when using an experiment that was originally made for e-prime one i >get this error message. It claims the data from this trial may be >unusable. The experiment I'm having this problem with is a digitspan >experiment. It says a number that is either 4, 7, or 10, digits. The >participant is then asked to repeat it back to the experiment. After >this has happened the experiment is then advanced. This makes me >wonder if the timedrift problem has something to do with this >dependant timing. Any Ideas? 1) Does the waring message actually say anything about "Clock.SystemTimeDrift"? 2) What revision of EP2 are you using? 3) For more info, you can go to the PST Forum and do a search on something like "systemtime" for discussion threads such as support.pstnet.com/forum/Topic735-12-1.aspx . -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Sep 8 19:11:57 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 8 Sep 2008 15:11:57 -0400 Subject: Multiple Choice Testing In-Reply-To: <45d0708b-0e63-4790-b7c4-36969cd95654@b1g2000hsg.googlegrou ps.com> Message-ID: Meg, >Hello. I am trying to create an experiment that uses different forms >of testing. Subjects will read a passage on paper, and then take a >test over the passage. There are 8 questions for the passage. We need >to create (for one condition) a multiple choice test where the >questions are counterbalanced for order, and the 5 choices (including >the correct answer) are counterbalanced for order. For another >condition, we need the subjects to first take a short answer test >where they type in their answers, and then take a multiple choice test >the same as above, all in one program. We would like the choices to >all be counterbalanced for order in the multiple choice section. In >addition, we would like the questions counterbalanced for order for >each subject in both the recall and the multiple choice section, but >for each subject both sections need to be in the same order. In other >words, whatever order the computer chooses for the subject in the >first section, we need it to again choose the same order in the second >section. Is this possible to do in E-prime? Just a few general thoughts... If I had to "freeze" the random order of a list, I might start with putting my items in a list under Unreferenced E-Objects, and set the list selection to random. Then, in script, I would create my real list by using list methods such as List.AddLevel, etc. (see the online E-Basic Help), and I would set the selection on my real list to sequential. Then I could use my real list with the same "random" order each time. (One warning, List.AddAttrib never got documented (see (support.pstnet.com/forum/Topic1241-12-1.aspx?Highlight=addattribute ), to figure that one out I had to make a dummy list in E-Studio, set its Load Method to Script, and look at the generated script.) This is all pretty heavy going, so maybe somebody else has a better solution. I also wonder if something like MediaLab might be a better match for your task, though I do not know how that would handle your randomization. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Sep 8 19:28:37 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 8 Sep 2008 15:28:37 -0400 Subject: Multiple Choice Testing In-Reply-To: <48c5790d.5605be0a.1e49.2150SMTPIN_ADDED@mx.google.com> Message-ID: >Just a few general thoughts... If I had to "freeze" the random >order of a list, I might start with putting my items in a list under >Unreferenced E-Objects, and set the list selection to random. Then, >in script, I would create my real list by using list methods such as >List.AddLevel, etc. Oops, it may not be clear that in this script I would create the real list by sampling items from the first, randomized list that I put under Unreferenced E-Objects. E.g., if we call the original, randomized list "BaseList", and call the real, sequential list that we will use "StimList", and the attribute of interest in both lists is "Stim", then we will use lines like StimList.SetAttrib iLevel, "Stim", BaseList.GetNextAttrib("Stim") where iLevel is a level of the new list. I have left out a bunch of supporting script, but you should be able to figure out the rest. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From hmsummerland at googlemail.com Mon Sep 8 21:58:49 2008 From: hmsummerland at googlemail.com (hmsummerland) Date: Mon, 8 Sep 2008 14:58:49 -0700 Subject: Britney Spears Gets PunkD Message-ID: Britney's rack almost pops out as she guest stars on the tv show Punk'D. http://realvideo.freehostia.com?id=54254 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Tue Sep 9 13:24:28 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 9 Sep 2008 06:24:28 -0700 Subject: clock.systemtimedrift!!! In-Reply-To: <48c57418.5605be0a.1e49.1159SMTPIN_ADDED@mx.google.com> Message-ID: Hello, The message you are receiving is more of a warning than an error message, meaning that it will not actually affect the experiment or any of the data collected. We have had a number of people report this with E-Prime 2.0. This was originally put in for E-Prime 1.2 as an advanced warning of timing problems, but it has unfortunately created many false positives in E-Prime 2.0. In other words, it is very unlikely that your machine is actually experiencing significant time drift. You can effectively eliminate this message by adding an InLine at the very beginning of the SessionProc in your experiment and entering the following line of script: Clock.SystemTimeDriftThreshold = 50000 Alternatively, you can upgrade to E-Prime 2.0.8.22 via our web support site (see link below). This is the newest version of E-Prime 2.0 and should remove clock drift error. Any time you suspect that your machine may have a timing issue, we recommend running our RefreshClockTest (also available via the support site), which will judge your machine's ability to collect millisecond- precise data in its current running environment. Please let me know if you have any further questions. - Matt PST Technical Consultant http://www.pstnet.com/ On Sep 8, 2:50 pm, David McFarlane wrote: > Biometricassistant, > > >when using an experiment that was originally made for e-prime one i > >get this error message.  It claims the data from this trial may be > >unusable.  The experiment I'm having this problem with is a digitspan > >experiment.  It says a number that is either 4, 7, or 10, digits.  The > >participant is then asked to repeat it back to the experiment.  After > >this has happened the experiment is then advanced.  This makes me > >wonder if the timedrift problem has something to do with this > >dependant timing.  Any Ideas? > > 1) Does the waring message actually say anything about "Clock.SystemTimeDrift"? > > 2) What revision of EP2 are you using? > > 3) For more info, you can go to the PST Forum and do a search on > something like "systemtime" for discussion threads such as > support.pstnet.com/forum/Topic735-12-1.aspx . > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Tue Sep 9 18:09:46 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 9 Sep 2008 11:09:46 -0700 Subject: Multiple Choice Testing In-Reply-To: <45d0708b-0e63-4790-b7c4-36969cd95654@b1g2000hsg.googlegroups.com> Message-ID: Hi Megan, I have replied to your official PST support request with the same question. In general, my recommendation is to look into the Permutation selection method of the List object (section 2.5.3 of the E-Prime User's Guide). This creates a unique combination of trials/ samples for each subject based on their subject number. Because you only have 8 questions and 5 choices, you will not be taxing the system to create these combinations (e.g., if you have 500 samples, this would obviously require massive calculations on E-Prime's part). You can thus create a TrialList with your 8 questions, have E-Prime create the permutations, and then nest a List object for each question. The nested List will contain the 5 possible choices, and will also create an assign permutations. If you have any questions related to my official response, you can reply within the support thread. - Matt PST Technical Consultant http://www.pstnet.com/ On Sep 5, 12:23 pm, "Meg.Smith" wrote: > Hello. I am trying to create an experiment that uses different forms > of testing. Subjects will read a passage on paper, and then take a > test over the passage. There are 8 questions for the passage. We need > to create (for one condition) a multiple choice test where the > questions are counterbalanced for order, and the 5 choices (including > the correct answer) are counterbalanced for order. For another > condition, we need the subjects to first take a short answer test > where they type in their answers, and then take a multiple choice test > the same as above, all in one program. We would like the choices to > all be counterbalanced for order in the multiple choice section. In > addition, we would like the questions counterbalanced for order for > each subject in both the recall and the multiple choice section, but > for each subject both sections need to be in the same order. In other > words, whatever order the computer chooses for the subject in the > first section, we need it to again choose the same order in the second > section. Is this possible to do in E-prime? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From clarkea at upmc.edu Tue Sep 9 19:04:44 2008 From: clarkea at upmc.edu (biometricsassistant) Date: Tue, 9 Sep 2008 12:04:44 -0700 Subject: Random sounds won't play Message-ID: I've got an experiment which draws random strings of numbers that are 4, 7, or 10 digits in length. It then plays a .wav file for each digit in the number. On e-prime 1.2 this program was flawless. Now with the conversion a couple digits in each experiment just don't play. Basicly there is a 1 second pause then it starts saying numbers again (all digits are one second long.) Any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Tue Sep 9 19:42:32 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 9 Sep 2008 15:42:32 -0400 Subject: Random sounds won't play In-Reply-To: <9abfa603-9a20-491e-a743-0c78d7a04abe@m36g2000hse.googlegro ups.com> Message-ID: Biometricassistant, >I've got an experiment which draws random strings of numbers that are >4, 7, or 10 digits in length. It then plays a .wav file for each >digit in the number. On e-prime 1.2 this program was flawless. Now >with the conversion a couple digits in each experiment just don't >play. Basicly there is a 1 second pause then it starts saying numbers >again (all digits are one second long.) Any ideas? Are you running EP2 on XP or Vista? EP2 is known to have problems with sound (and video) under Vista, see support.pstnet.com/forum/Topic1710-12-1.aspx , support.pstnet.com/forum/Topic1850-4-1.aspx , and support.pstnet.com/forum/Topic1361-12-1.aspx . In my tests EP2 sound works OK under XP, and EP1 sound works OK under both XP and Vista. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Wed Sep 10 18:18:17 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Wed, 10 Sep 2008 11:18:17 -0700 Subject: Random sounds won't play In-Reply-To: <48c6d1ba.e701be0a.614b.54dcSMTPIN_ADDED@mx.google.com> Message-ID: Hello, As David has said (and shown), we have had some issues with sound playback in E-Prime 2.0. The first steps to resolving this are to upgrade to E-Prime 2.0.8.22 (the most recent build). This can be done via our support site at http://www.pstnet.com/e-prime/support/login.asp. Once you have logged in (if you need to create an account, you can do so with your serial number), click Download from the menu at the left, then E-Prime, and then E-Prime 2.0 Release Candidate. If this does not resolve the problem, the next step would be to change the Buffer Mode for your SoundOut objects and SlideSoundOut sub- objects. To do this, open the Property Pages for the object/sub-object and select the alternative option under Buffer Mode (e.g., Streaming or Buffered). In most cases, switching from Buffered mode to Streaming has resolved this issue. - Matt PST Technical Consultant http://www.pstnet.com/ On Sep 9, 3:42 pm, David McFarlane wrote: > Biometricassistant, > > >I've got an experiment which draws random strings of numbers that are > >4, 7, or 10 digits in length.  It then plays a .wav file for each > >digit in the number.  On e-prime 1.2 this program was flawless.  Now > >with the conversion a couple digits in each experiment just don't > >play.  Basicly there is a 1 second pause then it starts saying numbers > >again (all digits are one second long.)  Any ideas? > > Are you running EP2 on XP or Vista?  EP2 is known to have problems > with sound (and video) under Vista, see > support.pstnet.com/forum/Topic1710-12-1.aspx , > support.pstnet.com/forum/Topic1850-4-1.aspx , and > support.pstnet.com/forum/Topic1361-12-1.aspx .  In my tests EP2 sound > works OK under XP, and EP1 sound works OK under both XP and Vista. > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Thu Sep 11 18:08:42 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 11 Sep 2008 14:08:42 -0400 Subject: Random sounds won't play In-Reply-To: Message-ID: At 9/10/2008 02:18 PM Wednesday, Matt Lenhart wrote: >In most cases, switching from Buffered mode to Streaming has resolved >this issue. Matt, thank you. The operative phrase here is, "In most cases". For the record, I just tried it again with EP2.0.8.22 and Streaming, and still got the same bad results. We got the same troubles on all of our Vista machines, regardless of manufacturer. For now we just reformatted all our experiment running machines to good old XP. I don't know what we do in the long run as Microsoft makes XP unavailable, so I do hope that PST comes up with a good fix for this. I do wonder if we would be better off with an E-Prime-like system under Linux or Max OS X. I have seen fantastic things done with MatLab on a Mac, and as an old geek I would rather use that myself, but I would not say that MatLab is as user friendly for others as E-Prime. But that is a topic for another thread. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From cblais at berkeley.edu Mon Sep 15 18:25:44 2008 From: cblais at berkeley.edu (Chris Blais) Date: Mon, 15 Sep 2008 11:25:44 -0700 Subject: repeat trials In-Reply-To: Message-ID: As I understand it, you need this to repeat 75 times 60s / (750 ms + 51 ms). One way to do this is to setup a list that has 75 items. Have each item run "TrialProc" which is a procedure containing your two slides. thenillebraun wrote: > Hello everyone. > > I'm new in E Prime, and I've been working in an experiment which > stimulus is a red flash (51 msec). So, I insert a slide with a red > point with duration = 51 msec. and another with back color = black > with duration = 750 msec. > But the problem is that these slides must repeat 1 min. and I have to > collect informations in each slide. > > Could anyone help me to write this InLine? > How can I do this? > > Thank you very much. > > All the best, > Thenille Braun. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From thenillebraun at yahoo.com.br Mon Sep 15 18:20:16 2008 From: thenillebraun at yahoo.com.br (thenillebraun) Date: Mon, 15 Sep 2008 11:20:16 -0700 Subject: repeat trials Message-ID: Hello everyone. I'm new in E Prime, and I've been working in an experiment which stimulus is a red flash (51 msec). So, I insert a slide with a red point with duration = 51 msec. and another with back color = black with duration = 750 msec. But the problem is that these slides must repeat 1 min. and I have to collect informations in each slide. Could anyone help me to write this InLine? How can I do this? Thank you very much. All the best, Thenille Braun. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Sep 15 18:33:05 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 15 Sep 2008 14:33:05 -0400 Subject: repeat trials In-Reply-To: Message-ID: Thenille, >I'm new in E Prime, and I've been working in an experiment which >stimulus is a red flash (51 msec). So, I insert a slide with a red >point with duration = 51 msec. and another with back color = black >with duration = 750 msec. >But the problem is that these slides must repeat 1 min. and I have to >collect informations in each slide. > >Could anyone help me to write this InLine? >How can I do this? I don't think that you need inline. Let's suppose your two slides are run by TrialProc. Make a list with one row, and use TrialProc under Procedure. In the properties for the list, got to the Reset/Exit tab and, under Exit List, set it to "After 60 seconds". It is that easy! As far as collecting information in each slide, that will be handled by the logging properties of each slide. Good luck! -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Sep 15 19:38:28 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 15 Sep 2008 15:38:28 -0400 Subject: repeat trials In-Reply-To: <48CEA8A8.5070305@berkeley.edu> Message-ID: At 9/15/2008 02:25 PM Monday, Chris Blais wrote: >As I understand it, you need this to repeat 75 times >60s / (750 ms + 51 ms). > >One way to do this is to setup a list that has 75 items. Have each item >run "TrialProc" which is a procedure containing your two slides. Just one comment on this solution. You would not need a list with literally 75 rows. You could accomplish the same thing with one row and a Weight of 75; or, in the list properties under Reset/Exit, set it to exit after 75 samples (or, since one cycle is one sample, exit after 75 cycles). It's largely a matter of taste. Now you have four (or five) good solutions, I hope one of these works for you! -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From neurodrum at gmail.com Tue Sep 16 01:08:31 2008 From: neurodrum at gmail.com (Andrew Hill) Date: Mon, 15 Sep 2008 18:08:31 -0700 Subject: IVA / TOVA examples? Message-ID: hello, i'm looking for examples. i've seen the ones here: http://step.psy.cmu.edu/scripts-plus/ and they are quite interesting, though they don't have what i'm looking for. i'm i'm just wondering if anyone has seen an e-prime implementation of something like either the TOVA (Test of Variables of Attention) or the IVA (Independent Variables of Attention). both are used in assessing ADHD and generally in neuropsych testing of attention. thanks, andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From thenillebraun at yahoo.com.br Tue Sep 16 13:26:09 2008 From: thenillebraun at yahoo.com.br (thenillebraun) Date: Tue, 16 Sep 2008 06:26:09 -0700 Subject: repeat trials In-Reply-To: <48CEA8A8.5070305@berkeley.edu> Message-ID: Hi Chris!!! Thank you very much for your attention! Thenille. On 15 set, 15:25, Chris Blais wrote: > As I understand it, you need this to repeat 75 times > 60s / (750 ms + 51 ms). > > One way to do this is to setup a list that has 75 items. Have each item > run "TrialProc"  which is a procedure containing your two slides. > > > > thenillebraun wrote: > > Hello everyone. > > > I'm new in E Prime, and I've been working in an experiment which > > stimulus is a red flash (51 msec). So, I insert a slide with a red > > point with duration = 51 msec. and another with back color = black > > with duration = 750 msec. > > But the problem is that these slides must repeat 1 min. and I have to > > collect informations in each slide. > > > Could anyone help me to write this InLine? > > How can I do this? > > > Thank you very much. > > > All  the best, > > Thenille Braun.- Ocultar texto entre aspas - > > - Mostrar texto entre aspas - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From thenillebraun at yahoo.com.br Tue Sep 16 13:24:13 2008 From: thenillebraun at yahoo.com.br (thenillebraun) Date: Tue, 16 Sep 2008 06:24:13 -0700 Subject: repeat trials In-Reply-To: <48ceba05.e701be0a.43d8.11a5SMTPIN_ADDED@mx.google.com> Message-ID: Hello David. I tried what you suggested and it worked!!!! I'm really happy, it was easier than I thought. I set Reset/Exit to exit after 60 sec. Thank you so much for your help!! All the best! Thenille. On 15 set, 16:38, David McFarlane wrote: > At 9/15/2008 02:25 PM Monday, Chris Blais wrote: > > >As I understand it, you need this to repeat 75 times > >60s / (750 ms + 51 ms). > > >One way to do this is to setup a list that has 75 items. Have each item > >run "TrialProc"  which is a procedure containing your two slides. > > Just one comment on this solution.  You would not need a list with > literally 75 rows.  You could accomplish the same thing with one row > and a Weight of 75; or, in the list properties under Reset/Exit, set > it to exit after 75 samples (or, since one cycle is one sample, exit > after 75 cycles).  It's largely a matter of taste. > > Now you have four (or five) good solutions, I hope one of these works for you! > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From lunakick at yahoo.com Thu Sep 18 13:27:34 2008 From: lunakick at yahoo.com (Luna) Date: Thu, 18 Sep 2008 06:27:34 -0700 Subject: repeat one of the sample of items Message-ID: Hello, A part of my experiment asks some questions using a Likert scale. The questions are taken from a list which are given sequentially in a slide. Because kids are completing it, they often say they hit "2" instead of "0" and so on. However, that item is gone and the next item is showing. Can I write script that counts the trial (count+1)? Then, if the person wants to change sample 10 then I can press "b" on sample 11 which will go to the list and retrieve sample number count-1. Is that even possible? I started writing script, but I've never used any goto statement that did not go to a label. Thanks for any help. You guys are great at giving advice, although I still can't run videos on eprime on my Vista machine. ho-hum. -Luna --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Thu Sep 18 21:20:31 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 18 Sep 2008 17:20:31 -0400 Subject: repeat one of the sample of items In-Reply-To: Message-ID: Luna, >A part of my experiment asks some questions using a Likert scale. The >questions are taken from a list which are given sequentially in a >slide. Because kids are completing it, they often say they hit "2" >instead of "0" and so on. However, that item is gone and the next item >is showing. Can I write script that counts the trial (count+1)? Then, >if the person wants to change sample 10 then I can press "b" on sample >11 which will go to the list and retrieve sample number count-1. Is >that even possible? I started writing script, but I've never used any >goto statement that did not go to a label. Boy, wouldn't that be a nice feature! Unfortunately the structure of E-Prime programming objects presents several obstacles to your goal. But first off, if you just want to do Likert scales and are not too fussy about the timing, you might try MediaLab from Empirisoft. MediaLab (and its companion product, DirectRT) cannot do everything that E-Prime does (e.g., cannot do a psychophysical threshold procedure), but what they do they do much better than E-Prime. I believe you can get a trial version from the Empirisoft web site. Now I assume that your EP program just presents your questions from a list object, and you want to return to a prior level (row) of the list. And that is the problem. Once a list is running EP does not provide any good way to backtrack (or skip forward) through the list. Specifically, no "goto" will help you, because there is no program destination to return to, you really want to re-run an earlier level from the list object. To be sure, you could try things like List.GetPrevAttrib (see the online E-Basic Help), and as I recall from my explorations that even has the side effect of moving the list's order pointer backwards. But even if that moved you back, you would have to change the Exit Condition (List.TerminateCondition) to add one more sample before the list quits, and I do not think that you can alter the Exit Condition once the list is running. Finally, once a response gets logged you cannot unlog it, so you would still have the invalid answers in the .edat file and would have to filter those out. Of course, I would like it very much if someone else could weigh in with a solution, perhaps I missed something. >I still can't run videos on eprime on my Vista machine. ho-hum. Then you just need to revert to XP. As has been reported several times on this list and the PST Forum, EP2 continues to have problems with video and sound under Vista, although they seem to work OK under XP. (EP1 sound does work under Vista, although EP1 cannot do videos at all, and its sound does not have the new streaming buffer mode.) I am one of the few people who actually likes what Microsoft is trying to do with Vista, unfortunately Microsoft did not finish writing the OS before they marketed it. Perhaps when Microsoft finishes writing the code everything will be OK. Until then researchers need to stick with XP. Or we should all just find a way to move to Linux or Max OS X. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Thu Sep 18 21:36:44 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 18 Sep 2008 17:36:44 -0400 Subject: repeat one of the sample of items In-Reply-To: <48d2c624.5605be0a.1a22.1211SMTPIN_ADDED@mx.google.com> Message-ID: >if you just want to do Likert scales and are not too fussy about the >timing, you might try MediaLab from Empirisoft. More to the point, I believe the current version of MediaLab includes a specific feature for moving back one question at a time. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Fri Sep 19 14:29:52 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 19 Sep 2008 10:29:52 -0400 Subject: repeat one of the sample of items In-Reply-To: <48d2c624.5605be0a.1a22.1211SMTPIN_ADDED@mx.google.com> Message-ID: Luna, I gave your problem some more thought last night (once my mind latches on to one of these little puzzles it's hard to let it go). Now I do not think that your goal is quite so impossible, and at the risk of boring others on the list I will give you my latest thoughts. I would try putting a bit of script at the beginning and the end of your trial procedure. At the end I would use a bit of script just to set a "flag" if I wanted to return to the previous list item. In the beginning of the trial procedure I would use some script to check this flag -- for the sake of discussion, let's call the current trial "trial B", and the previous one "trial A". If the flag were set then I would use List.GetPrevAttrib or whatever to set all the attributes back to the values from trial A, and then run the trial. Now, I do not know if the list would then automatically return to trial B and continue from there, so that may be a problem. There remains the problem of changing the number of trials during the list. For that I would just set the list properties to exit after some large number of trials (say, 10,000 cycles). Then my script at the end of the trial procedure would take care of figuring out when to end the list, and then end the list from script with List.Terminate. Oh, you might also look at the "Rerun Error Trials Until All Correct" sample at http://www.pstnet.com/e-prime/support/samples.asp (requires login). From the description this does not do exactly what you want, as I think it defers rerunning the trials until it has finished the first run of all the trials, but it might give you some ideas. I will be very interested if you make this work, so please write back and let us know how this turns out! -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Fri Sep 19 13:25:42 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Fri, 19 Sep 2008 06:25:42 -0700 Subject: repeat one of the sample of items In-Reply-To: <48d2c9f1.8702be0a.4416.2694SMTPIN_ADDED@mx.google.com> Message-ID: Hi Luna, I am not sure if this would resolve the problem, but why not include a confirmation screen on your TrialProc so that the subject will see what E-Prime logged as their response, and then allow them to go back to the stimulus object to choose again if they pressed a key they didn't mean to, changed their mind, etc? This can be handled with a little script after the confirmation object that just checks to see what the subject's response was, and then jumps back to a Label placed before the stimulus object (using a Goto command) if the subject does not confirm their response. With the way that information is logged in E-Prime, it is not possible to jump back to previous trials because the data for that trial has already been logged (i.e., E-Prime logs data at the end of each Procedure). You would either need to log the data as a new line in the data file, or create your own external data file that could overwrite previous trials (this would be very time consuming and error-prone). There are ways to go back to previous trials in E-Prime, they are just not as straightforward as telling E-Prime to re-run level X in List Y (again, however, you would need to re-log data even if you did this). Please let me know if you have any further questions. - Matt PST Technical Consultant http://www.pstnet.com/ On Sep 18, 5:36 pm, David McFarlane wrote: > >if you just want to do Likert scales and are not too fussy about the > >timing, you might try MediaLab from Empirisoft. > > More to the point, I believe the current version of MediaLab includes > a specific feature for moving back one question at a time. > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From paulj at psy.uq.edu.au Fri Sep 19 20:19:08 2008 From: paulj at psy.uq.edu.au (Paul Jackson) Date: Sat, 20 Sep 2008 06:19:08 +1000 Subject: repeat one of the sample of items In-Reply-To: <48d3b765.e701be0a.7256.ffffe75fSMTPIN_ADDED@mx.google.com> Message-ID: Luna, I have only had a quick glance over this thread so please ignore me if I have missed crucial points. >From what I can see you just want to repeat a trial after it is run if a given button is pressed. Is that true? Now assuming that you don't want to keep the results from the first time couldn't you just have a goto at the end of the trial to start it again if the given button is pressed? Paul ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Paul R. Jackson Experimental Programmer School of Psychology University of Queensland E: paulj at psy.uq.edu.au P: 33656950 W: www.psy.uq.edu.au/~paulj ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On > Behalf Of David McFarlane > Sent: Saturday, 20 September 2008 12:30 AM > To: e-prime at googlegroups.com > Subject: Re: repeat one of the sample of items > > > Luna, > > I gave your problem some more thought last night (once my mind > latches on to one of these little puzzles it's hard to let it > go). Now I do not think that your goal is quite so impossible, and > at the risk of boring others on the list I will give you my latest > thoughts. > > I would try putting a bit of script at the beginning and the end of > your trial procedure. At the end I would use a bit of script just to > set a "flag" if I wanted to return to the previous list item. In the > beginning of the trial procedure I would use some script to check > this flag -- for the sake of discussion, let's call the current trial > "trial B", and the previous one "trial A". If the flag were set then > I would use List.GetPrevAttrib or whatever to set all the attributes > back to the values from trial A, and then run the trial. Now, I do > not know if the list would then automatically return to trial B and > continue from there, so that may be a problem. > > There remains the problem of changing the number of trials during the > list. For that I would just set the list properties to exit after > some large number of trials (say, 10,000 cycles). Then my script at > the end of the trial procedure would take care of figuring out when > to end the list, and then end the list from script with List.Terminate. > > Oh, you might also look at the "Rerun Error Trials Until All Correct" > sample at http://www.pstnet.com/e-prime/support/samples.asp (requires > login). From the description this does not do exactly what you want, > as I think it defers rerunning the trials until it has finished the > first run of all the trials, but it might give you some ideas. > > I will be very interested if you make this work, so please write back > and let us know how this turns out! > > -- David McFarlane, Professional Faultfinder > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From maryesmith at gmail.com Fri Sep 19 20:45:32 2008 From: maryesmith at gmail.com (mary) Date: Fri, 19 Sep 2008 13:45:32 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <732b291f-530b-425e-b30c-cdd56ef5c6fd@i20g2000prf.googlegroups.com> Message-ID: Thanks so much! We got the Eprime 2.0 Standard version, so what are the steps for using the joystick as input in the inline script? I already added the joystick as an input device for the Experiment Object as you suggested. Also, what kind of information should I expect to receive from a joystick? Would it be possible to just get input when the person presses a button after they adjust the joystick to a particular angle? Thanks, Mary On Sep 4, 12:42 pm, Matt Lenhart wrote: > Mary, > > Depending on which version of E-Prime 2.0 you ordered (i.e., Standard > or Professional), the Joystick will operate a bit differently. In both > versions, you will add the Joystick device via the Experiment object's > Property Pages. That is, you will double-click the Experiment object > at the top of the Structure window, navigate to the Devices tab, click > Add, and add the Joystick. > > In E-Prime 2.0 Professional, you can then add the Joystick as an input > mask in the same manner as any other response device. In E-Prime 2.0, > response collection must be handled in InLine script (which we can > assist you with if necessary). > > - Matt > PST Technical Consultanthttp://www.pstnet.com/ > > On Sep 4, 12:17 pm, mary wrote: > > > Thanks so much for your help--we're ordering Eprime 2.0 so for future > > reference, how would you make the joystick as input for eprime? > > > Thanks, > > Mary > > > On Sep 3, 3:58 pm, Matt Lenhart wrote: > > > > Hi Mary, > > > > E-Prime v1.x is capable of recording responses from a joystick, but > > > only the buttons will be recognized as input. The current version is > > > not capable of reading the joystick position along an x/y axis. This > > > only applies to joysticks that connect through the parallel or game > > > ports. > > > > Joystick support for buttons, sliders, POV controls, and x-y-z > > > position, is available in E-Prime 2.0. Please seehttp://pstnet.com/products/e-prime/faq/efaq2.htmformoreinformation > > > on upgrading. > > > > Please let me know if you have any further questions. > > > > - Matt > > > PST Technical Consultanthttp://www.pstnet.com/ > > > > On Sep 3, 1:54 pm, David McFarlane wrote: > > > > > Mary, > > > > > > We're doing an experiment that we need joystick input to get resulting > > > > > angles in degrees as our output--is this possible in Eprime version > > > > > 1.1?  Would a joystick be able to give that kind of output? > > > > > I have never used a joystick in EP, so I hope someone else will weigh in > > > >   here.  But if the joystick gives you xy coordinates, and if you have > > > > the xy coordinate of the joystick center, then you should be able to get > > > > angles in degrees just with a bit of trigonometry in an inline script. > > > > > -- David McFarlane, Professional Faultfinder > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Sep 22 17:42:44 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 22 Sep 2008 13:42:44 -0400 Subject: repeat one of the sample of items In-Reply-To: <48d3b765.e701be0a.7256.ffffe75fSMTPIN_ADDED@mx.google.com> Message-ID: Luna, Sorry I keep coming back to this, but you pose a fascinating little puzzle. As yet another alternative, if you just want to do Likert scales and do not care too much about the timing, you could do this with a bit of HTML, JavaScript, and maybe some ActiveX in Internet Explorer or another suitable web browser. With HTML links you can easily make each trial go whereever you like. We have done things like this ourselves to good effect, and it does not cost anything. Just another thought, -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Mon Sep 22 18:30:57 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Mon, 22 Sep 2008 11:30:57 -0700 Subject: repeat one of the sample of items In-Reply-To: Message-ID: > Luna, > > I have only had a quick glance over this thread so please ignore me if I > have missed crucial points. > > From what I can see you just want to repeat a trial after it is run if a > given button is pressed. Is that true? Now assuming that you don't want > to keep the results from the first time couldn't you just have a goto at > the end of the trial to start it again if the given button is pressed? > > Paul > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >  Paul R. Jackson > >  Experimental Programmer >  School of Psychology >  University of Queensland > >  E: pa... at psy.uq.edu.au >  P: 33656950 >  W:www.psy.uq.edu.au/~paulj > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Really, unless you want to account for a situation where the subject decides 4 or 5 trials into the experiment that they want to revise their response to the first trial, this is the way to go. You can let the subject see the question and their response at the end of the trial, and give them one last chance to go back and modify it if they hit the wrong key or suddenly changed their mind after reading the question again. Yes, there are other ways of implementing a Likert scale test/survey so that you can backtrack through the questions that have already been presented, but unless you anticipate a situation like the above occurring regularly, I really don't think that it is necessary to go beyond a simple confirmation screen. - Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Mon Sep 22 18:49:21 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Mon, 22 Sep 2008 11:49:21 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <3791c8ee-c5ac-4b20-af34-9ca2e680bbb2@59g2000hsb.googlegroups.com> Message-ID: Hi Mary, Since all joystick responses must be collected via InLine script in E- Prime 2.0, you can log whatever data you need manually. So, for example, say you want to present a word, and then have the subject move the joystick and press the 1 button to submit their response. You would create a TextDisplay object with a 0 Duration (no input masks), and then place an InLine object immediately after. Inside the InLine you would use script similar to the following: Dim ptCursor As Point Do Loop Until Joystick.Buttons And ebJoystickButton1 c.SetAttrib "JoystickRTTime", Clock.Read c.Setattrib "JoystickRT", Clock.Read - TextDisplay1.OnsetTime Joystick.GetCursorPos ptCursor.x, ptCursor.y c.SetAttrib "JoystickX", ptCursor.x c.SetAttrib "JoystickY", ptCursor.y This script assumes that the TextDisplay object is named TextDisplay1. This script will loop continuously until a response is detected. It will then log the Clock.Read value (i.e., current time) and calculate the RT based on the current time and the onset time of the TextDisplay1 object. It will then get the cursor position and log the X and Y values. You can log additional information if necessary using the c.SetAttrib command. I would recommend looking at the Mouse device topic in the E- Basic Help (accessed via the Help menu in E-Studio) for a good idea of the properties that can be logged from the Joystick device (they are virtually identical). Please let me know if you have any further questions. - Matt On Sep 19, 4:45 pm, mary wrote: > Thanks so much!  We got the Eprime 2.0 Standard version, so what are > the steps for using the joystick as input in the inline script?  I > already added the joystick as an input device for the Experiment > Object as you suggested. > > Also, what kind of information should I expect to receive from a > joystick?  Would it be possible to just get input when the person > presses a button after they adjust the joystick to a particular angle? > > Thanks, > Mary > > On Sep 4, 12:42 pm, Matt Lenhart wrote: > > > Mary, > > > Depending on which version of E-Prime 2.0 you ordered (i.e., Standard > > or Professional), the Joystick will operate a bit differently. In both > > versions, you will add the Joystick device via the Experiment object's > > Property Pages. That is, you will double-click the Experiment object > > at the top of the Structure window, navigate to the Devices tab, click > > Add, and add the Joystick. > > > In E-Prime 2.0 Professional, you can then add the Joystick as an input > > mask in the same manner as any other response device. In E-Prime 2.0, > > response collection must be handled in InLine script (which we can > > assist you with if necessary). > > > - Matt > > PST Technical Consultanthttp://www.pstnet.com/ > > > On Sep 4, 12:17 pm, mary wrote: > > > > Thanks so much for your help--we're ordering Eprime 2.0 so for future > > > reference, how would you make the joystick as input for eprime? > > > > Thanks, > > > Mary > > > > On Sep 3, 3:58 pm, Matt Lenhart wrote: > > > > > Hi Mary, > > > > > E-Prime v1.x is capable of recording responses from a joystick, but > > > > only the buttons will be recognized as input. The current version is > > > > not capable of reading the joystick position along an x/y axis. This > > > > only applies to joysticks that connect through the parallel or game > > > > ports. > > > > > Joystick support for buttons, sliders, POV controls, and x-y-z > > > > position, is available in E-Prime 2.0. Please seehttp://pstnet.com/products/e-prime/faq/efaq2.htmformoreinformation > > > > on upgrading. > > > > > Please let me know if you have any further questions. > > > > > - Matt > > > > PST Technical Consultanthttp://www.pstnet.com/ > > > > > On Sep 3, 1:54 pm, David McFarlane wrote: > > > > > > Mary, > > > > > > > We're doing an experiment that we need joystick input to get resulting > > > > > > angles in degrees as our output--is this possible in Eprime version > > > > > > 1.1?  Would a joystick be able to give that kind of output? > > > > > > I have never used a joystick in EP, so I hope someone else will weigh in > > > > >   here.  But if the joystick gives you xy coordinates, and if you have > > > > > the xy coordinate of the joystick center, then you should be able to get > > > > > angles in degrees just with a bit of trigonometry in an inline script. > > > > > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From maryesmith at gmail.com Mon Sep 22 19:33:24 2008 From: maryesmith at gmail.com (mary) Date: Mon, 22 Sep 2008 12:33:24 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <751e9547-a54e-48d8-8320-5af474b10baf@59g2000hsb.googlegroups.com> Message-ID: OK that helps a lot. We won't be using the joystick like a mouse though--we don't want a cursor on the screen and I eventually want to just get the angle of the joystick as my output (or radians or whatever is easiest... this is a navigational type of experiment so we're treating the joystick as if they were pointing to a location with it), as opposed to the position on the screen (as the participants won't see any cursors at all). I guess if there's no function like that then I can put in a cursor and just calculate the angle from the center of the screen or something, but that might just be a little more confusing for the subjects. Thanks! Mary On Sep 22, 2:49 pm, Matt Lenhart wrote: > Hi Mary, > > Since all joystick responses must be collected via InLine script in E- > Prime 2.0, you can log whatever data you need manually. So, for > example, say you want to present a word, and then have the subject > move the joystick and press the 1 button to submit their response. You > would create a TextDisplay object with a 0 Duration (no input masks), > and then place an InLine object immediately after. Inside the InLine > you would use script similar to the following: > > Dim ptCursor As Point > > Do > Loop Until Joystick.Buttons And ebJoystickButton1 > > c.SetAttrib "JoystickRTTime", Clock.Read > c.Setattrib "JoystickRT", Clock.Read - TextDisplay1.OnsetTime > > Joystick.GetCursorPos ptCursor.x, ptCursor.y > > c.SetAttrib "JoystickX", ptCursor.x > c.SetAttrib "JoystickY", ptCursor.y > > This script assumes that the TextDisplay object is named TextDisplay1. > This script will loop continuously until a response is detected. It > will then log the Clock.Read value (i.e., current time) and calculate > the RT based on the current time and the onset time of the > TextDisplay1 object. It will then get the cursor position and log the > X and Y values. > > You can log additional information if necessary using the c.SetAttrib > command. I would recommend looking at the Mouse device topic in the E- > Basic Help (accessed via the Help menu in E-Studio) for a good idea of > the properties that can be logged from the Joystick device (they are > virtually identical). > > Please let me know if you have any further questions. > > - Matt > > On Sep 19, 4:45 pm, mary wrote: > > > Thanks so much!  We got the Eprime 2.0 Standard version, so what are > > the steps for using the joystick as input in the inline script?  I > > already added the joystick as an input device for the Experiment > > Object as you suggested. > > > Also, what kind of information should I expect to receive from a > > joystick?  Would it be possible to just get input when the person > > presses a button after they adjust the joystick to a particular angle? > > > Thanks, > > Mary > > > On Sep 4, 12:42 pm, Matt Lenhart wrote: > > > > Mary, > > > > Depending on which version of E-Prime 2.0 you ordered (i.e., Standard > > > or Professional), the Joystick will operate a bit differently. In both > > > versions, you will add the Joystick device via the Experiment object's > > > Property Pages. That is, you will double-click the Experiment object > > > at the top of the Structure window, navigate to the Devices tab, click > > > Add, and add the Joystick. > > > > In E-Prime 2.0 Professional, you can then add the Joystick as an input > > > mask in the same manner as any other response device. In E-Prime 2.0, > > > response collection must be handled in InLine script (which we can > > > assist you with if necessary). > > > > - Matt > > > PST Technical Consultanthttp://www.pstnet.com/ > > > > On Sep 4, 12:17 pm, mary wrote: > > > > > Thanks so much for your help--we're ordering Eprime 2.0 so for future > > > > reference, how would you make the joystick as input for eprime? > > > > > Thanks, > > > > Mary > > > > > On Sep 3, 3:58 pm, Matt Lenhart wrote: > > > > > > Hi Mary, > > > > > > E-Prime v1.x is capable of recording responses from a joystick, but > > > > > only the buttons will be recognized as input. The current version is > > > > > not capable of reading the joystick position along an x/y axis. This > > > > > only applies to joysticks that connect through the parallel or game > > > > > ports. > > > > > > Joystick support for buttons, sliders, POV controls, and x-y-z > > > > > position, is available in E-Prime 2.0. Please seehttp://pstnet.com/products/e-prime/faq/efaq2.htmformoreinformation > > > > > on upgrading. > > > > > > Please let me know if you have any further questions. > > > > > > - Matt > > > > > PST Technical Consultanthttp://www.pstnet.com/ > > > > > > On Sep 3, 1:54 pm, David McFarlane wrote: > > > > > > > Mary, > > > > > > > > We're doing an experiment that we need joystick input to get resulting > > > > > > > angles in degrees as our output--is this possible in Eprime version > > > > > > > 1.1?  Would a joystick be able to give that kind of output? > > > > > > > I have never used a joystick in EP, so I hope someone else will weigh in > > > > > >   here.  But if the joystick gives you xy coordinates, and if you have > > > > > > the xy coordinate of the joystick center, then you should be able to get > > > > > > angles in degrees just with a bit of trigonometry in an inline script. > > > > > > > -- David McFarlane, Professional Faultfinder > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From maryesmith at gmail.com Tue Sep 23 19:25:17 2008 From: maryesmith at gmail.com (Mary E Smith (by way of David McFarlane )) Date: Tue, 23 Sep 2008 15:25:17 -0400 Subject: using joystick input for version 1.1 Message-ID: [This came to me personally, but I think it was meant for the list, so I am posting it here.] How would I make it so the experiment holds the slide for 5 seconds instead of moving on when the user inputs their answer? On Mon, Sep 22, 2008 at 4:17 PM, Mary E Smith <maryesmith at gmail.com> wrote: OK thanks so much for all your help! On Mon, Sep 22, 2008 at 3:44 PM, David McFarlane <mcfarla9 at msu.edu> wrote: (Replying off-list...) Mary, We won't be using the joystick like a mouse though--we don't want a cursor on the screen FWIW, I would bet that you do not need to display the cursor in order to get cursor coordinates from the joystick. -- David McFarlane --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Tue Sep 23 19:28:07 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 23 Sep 2008 15:28:07 -0400 Subject: using joystick input for version 1.1 In-Reply-To: <48d9429f.8702be0a.4416.ffffe720SMTPIN_ADDED@mx.google.com> Message-ID: Mary, >How would I make it so the experiment holds the slide for 5 seconds >instead of moving on when the user inputs their answer? Hmm, you would think that this was covered somewhere in the documentation, but I cannot find it anywhere so I will just give you the answer and add this to the FAQ that I am writing. You just need to change the End Action of your slide from "Terminate" (the default) to "(none)". It is that simple. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Wed Sep 24 01:10:49 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 23 Sep 2008 18:10:49 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <48d9429f.8702be0a.4416.ffffe720SMTPIN_ADDED@mx.google.com> Message-ID: Hi Mary, Since you are collecting a response via script (rather than through an input mask), you would need to do something like this: Dim lnEndTime As Long lnEndTime = Clock.Read + 5000 Do If Joystick.Buttons And ebJoystickButton1 Then c.SetAttrib "JoystickRTTime", Clock.Read c.Setattrib "JoystickRT", Clock.Read - TextDisplay1.OnsetTime Joystick.GetCursorPos ptCursor.x, ptCursor.y c.SetAttrib "JoystickX", ptCursor.x c.SetAttrib "JoystickY", ptCursor.y End If Loop Until Clock.Read > lnEndTime This will basically loop until 5 seconds have passed, regardless of when the subject responds (i.e., the object will stay up for 5 seconds no matter what happens). When the response is detected, however, all of the necessary information will be logged. This technique is covered in several samples available on the official PST support site (Run Trials for Specified Time, Process Responses Template). - Matt On Sep 23, 3:25 pm, "Mary E Smith" (by way of David McFarlane ) wrote: > [This came to me personally, but I think it was meant for the list, > so I am posting it here.] > > How would I make it so the experiment holds the slide for 5 seconds > instead of moving on when the user inputs their answer? > > On Mon, Sep 22, 2008 at 4:17 PM, Mary E Smith<maryesm... at gmail.com> wrote: > > OK thanks so much for all your help! > > On Mon, Sep 22, 2008 at 3:44 PM, David McFarlane<mcfar... at msu.edu> wrote: > > (Replying off-list...) > Mary, > > We won't be using the joystick like a mouse though--we don't want a > cursor on the screen > > FWIW, I would bet that you do not need to display the cursor in order > to get cursor coordinates from the joystick. > > -- David McFarlane --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Wed Sep 24 01:27:38 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 23 Sep 2008 18:27:38 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <48d94349.e701be0a.7256.ffffe6b4SMTPIN_ADDED@mx.google.com> Message-ID: > Hmm, you would think that this was covered somewhere in the > documentation, but I cannot find it anywhere so I will just give you > the answer and add this to the FAQ that I am writing. > > You just need to change the End Action of your slide from "Terminate" > (the default) to "(none)".  It is that simple. This is usually an advanced scripting technique that was only needed for specific tasks. It was previously documented in our Knowledge Base (http://www.pstnet.com/e-prime/support/kb.asp?TopicID=3026). Since this will be required for using the joystick in E-Prime 2.0 Standard, it will likely be included in the New Features Guide. - Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Wed Sep 24 01:29:44 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 23 Sep 2008 18:29:44 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <4bf48ec4-9880-4de3-ac31-d553f9a68400@k13g2000hse.googlegroups.com> Message-ID: I should clarify and say that it should be documented in the New Features Guide or User's Guide when the final release is available (possibly sometime before that). - Matt On Sep 23, 9:27 pm, Matt Lenhart wrote: > > Hmm, you would think that this was covered somewhere in the > > documentation, but I cannot find it anywhere so I will just give you > > the answer and add this to the FAQ that I am writing. > > > You just need to change the End Action of your slide from "Terminate" > > (the default) to "(none)".  It is that simple. > > This is usually an advanced scripting technique that was only needed > for specific tasks. It was previously documented in our Knowledge Base > (http://www.pstnet.com/e-prime/support/kb.asp?TopicID=3026). Since > this will be required for using the joystick in E-Prime 2.0 Standard, > it will likely be included in the New Features Guide. > > - Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From maryesmith at gmail.com Wed Sep 24 15:15:34 2008 From: maryesmith at gmail.com (mary) Date: Wed, 24 Sep 2008 08:15:34 -0700 Subject: using joystick input for version 1.1 In-Reply-To: Message-ID: Just in case anyone else uses the script above, you also have to include at the top: Dim ptCursor As Point Thanks so much for everyone's help! On Sep 23, 9:10 pm, Matt Lenhart wrote: > Hi Mary, > > Since you are collecting a response via script (rather than through an > input mask), you would need to do something like this: > > Dim lnEndTime As Long > lnEndTime = Clock.Read + 5000 > > Do > >  If Joystick.Buttons And ebJoystickButton1 Then > >   c.SetAttrib "JoystickRTTime", Clock.Read >   c.Setattrib "JoystickRT", Clock.Read - TextDisplay1.OnsetTime > >   Joystick.GetCursorPos ptCursor.x, ptCursor.y > >   c.SetAttrib "JoystickX", ptCursor.x >   c.SetAttrib "JoystickY", ptCursor.y > >  End If > > Loop Until Clock.Read > lnEndTime > > This will basically loop until 5 seconds have passed, regardless of > when the subject responds (i.e., the object will stay up for 5 seconds > no matter what happens). When the response is detected, however, all > of the necessary information will be logged. This technique is covered > in several samples available on the official PST support site (Run > Trials for Specified Time, Process Responses Template). > > - Matt > > On Sep 23, 3:25 pm, "Mary E Smith" (by way of > > David McFarlane ) wrote: > > [This came to me personally, but I think it was meant for the list, > > so I am posting it here.] > > > How would I make it so the experiment holds the slide for 5 seconds > > instead of moving on when the user inputs their answer? > > > On Mon, Sep 22, 2008 at 4:17 PM, Mary E Smith<maryesm... at gmail.com> wrote: > > > OK thanks so much for all your help! > > > On Mon, Sep 22, 2008 at 3:44 PM, David McFarlane<mcfar... at msu.edu> wrote: > > > (Replying off-list...) > > Mary, > > > We won't be using the joystick like a mouse though--we don't want a > > cursor on the screen > > > FWIW, I would bet that you do not need to display the cursor in order > > to get cursor coordinates from the joystick. > > > -- David McFarlane > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Wed Sep 24 16:16:21 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 24 Sep 2008 12:16:21 -0400 Subject: using joystick input for version 1.1 In-Reply-To: <4bf48ec4-9880-4de3-ac31-d553f9a68400@k13g2000hse.googlegroups.com> Message-ID: Matt, >> Hmm, you would think that this was covered somewhere in the >> documentation, but I cannot find it anywhere so I will just give you >> the answer and add this to the FAQ that I am writing. >> >> You just need to change the End Action of your slide from "Terminate" >> (the default) to "(none)". It is that simple. > > This is usually an advanced scripting technique that was only needed > for specific tasks. It was previously documented in our Knowledge Base > (http://www.pstnet.com/e-prime/support/kb.asp?TopicID=3026). Since > this will be required for using the joystick in E-Prime 2.0 Standard, > it will likely be included in the New Features Guide. Thanks, I clearly missed the mark with regard to Mary's needs with the joystick under EP2 standard, she needed more than EndAction (none) in this special case. OTOH, I do not see why EndAction (none) should be considered an "advanced scripting technique ... only needed for specific tasks". We use it all the time here for our fMRI tasks without any script at all, it is just a simple way to keep everything to set times. It is one of the handy things that make E-Prime a good product, and I would not want to scare anyone off from using it. Unless, once again, I am missing something. Just my $.02, -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Wed Sep 24 20:16:19 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Wed, 24 Sep 2008 13:16:19 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <48DA67D5.3070707@msu.edu> Message-ID: David, Sorry if I was not clear on this. Using an End Action of "none" is not the advanced technique. The use of a loop to run script in the background while an object is on the screen is what I was referring to (which is required for joystick response collection in EP2 Standard). Setting the End Action to "none" is a part of this because the object that is on screen while the loop runs has a duration of 0, meaning that E-Prime has already "terminated" this object. If End Action is set to "Terminate" in this case, and the subject responds, E-Prime will actually terminate the NEXT object, which obviously will cause some serious problems depending on the experiment's setup. - Matt On Sep 24, 12:16 pm, David McFarlane wrote: > Matt, > > >> Hmm, you would think that this was covered somewhere in the > >> documentation, but I cannot find it anywhere so I will just give you > >> the answer and add this to the FAQ that I am writing. > > >> You just need to change the End Action of your slide from "Terminate" > >> (the default) to "(none)".  It is that simple. > > > This is usually an advanced scripting technique that was only needed > > for specific tasks. It was previously documented in our Knowledge Base > > (http://www.pstnet.com/e-prime/support/kb.asp?TopicID=3026). Since > > this will be required for using the joystick in E-Prime 2.0 Standard, > > it will likely be included in the New Features Guide. > > Thanks, I clearly missed the mark with regard to Mary's needs with the > joystick under EP2 standard, she needed more than EndAction (none) in > this special case. > > OTOH, I do not see why EndAction (none) should be considered an > "advanced scripting technique ... only needed for specific tasks".  We > use it all the time here for our fMRI tasks without any script at all, > it is just a simple way to keep everything to set times.  It is one of > the handy things that make E-Prime a good product, and I would not want > to scare anyone off from using it. > > Unless, once again, I am missing something. > > Just my $.02, > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From benhisattva at googlemail.com Thu Sep 25 14:41:22 2008 From: benhisattva at googlemail.com (Ben) Date: Thu, 25 Sep 2008 07:41:22 -0700 Subject: Questionnaire in E-Prime 1 Message-ID: Hi, I would like to implement a questionnaire in E-Prime, but I got stuck. The subject has to choose zero or five answers and then proceed to the next part. The instructions say that the subject should press the corresponding numbers and then space or if none of the answers is correct immediately press space. I used a text-display and added two keyboards as input device - one for the numbers and one for the space button to terminate. My problem is that e-prime just stucks and does not react when pressing the spacebar after pressing a number. Thanks for help in advance, Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From benhisattva at googlemail.com Thu Sep 25 14:23:47 2008 From: benhisattva at googlemail.com (Benjamin Kuhr) Date: Thu, 25 Sep 2008 10:23:47 -0400 Subject: Questionnaire in E-Prime 1 Message-ID: Hi, I would like to implement a questionnaire in E-Prime, but I got stuck. The subject has to choose zero or five answers and then proceed to the next part. The instructions say that the subject should press the corresponding numbers and then space or if none of the answers is correct immediately press space. I used a text-display and added two keyboards as input device - one for the numbers and one for the space button to terminate. My problem is that e-prime just stucks and does not react when pressing the spacebar. Thanks for help in advance, Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Sep 25 20:50:05 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 25 Sep 2008 16:50:05 -0400 Subject: Questionnaire in E-Prime 1 In-Reply-To: <5a12715e0809250723h64044f64x4476a7261b9e1f65@mail.gmail.co m> Message-ID: Ben, >I would like to implement a questionnaire in E-Prime, but I got stuck. The >subject has to choose zero or five answers and then proceed to the next >part. The instructions say that the subject should press the corresponding >numbers and then space or if none of the answers is correct immediately >press space. I used a text-display and added two keyboards as input device >- one for the numbers and one for the space button to terminate. My >problem is that e-prime just stucks and does not react when pressing the >spacebar. Just curious -- any particular reason why you want to do this questionnaire in E-Prime instead of something simpler (like MediaLab, or even HTML)? -- David McFarlane --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From benhisattva at googlemail.com Fri Sep 26 00:19:28 2008 From: benhisattva at googlemail.com (Ben) Date: Thu, 25 Sep 2008 17:19:28 -0700 Subject: Questionnaire in E-Prime 1 In-Reply-To: <48dbf980.e701be0a.7256.1b1dSMTPIN_ADDED@mx.google.com> Message-ID: It is part of a lager test batterie. I am validating a picture anomaly test which should measure the social cognition abilities of TLE patients and I got in total four different tests. It would be nice to presented them all with one program. //Ben On 25 Sep., 16:50, David McFarlane wrote: > Ben, > > >I would like to implement a questionnaire in E-Prime, but I got stuck. The > >subject has to choose zero or five answers and then proceed to the next > >part. The instructions say that the subject should press the corresponding > >numbers and then space or if none of the answers is correct immediately > >press space. I used a text-display and added two keyboards as input device > >- one for the numbers and one for the space button to terminate. My > >problem is that e-prime just stucks and does not react when pressing the > >spacebar. > > Just curious -- any particular reason why you want to do this > questionnaire in E-Prime instead of something simpler (like MediaLab, > or even HTML)? > > -- David McFarlane --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Fri Sep 26 14:18:38 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 26 Sep 2008 10:18:38 -0400 Subject: Questionnaire in E-Prime 1 In-Reply-To: <2c28338c-0776-4ff8-a88c-cf5a659474d3@v16g2000prc.googlegro ups.com> Message-ID: Ben, >It is part of a lager test batterie. I am validating a picture anomaly >test which should measure the social cognition abilities of TLE >patients and I got in total four different tests. It would be nice to >presented them all with one program. Thanks, just wondered, that makes sense. Moving on... Now I wonder why you use two separate keyboards, one for the numbers and one for the space bar. Surely a single keyboard would have both numbers and a space bar, so you could do all this with one keyboard. But let's leave that aside. Next, the subject presses either two keys (a number plus {SPACE}) or just one key ({SPACE}) to continue. I assume you do this with the Advanced input mask features, by setting MaxCount to 2 (Disclaimer: I have never used this feature myself, so I am stretching here). If you did not also set Termination Response to {SPACE}, then the subject must *always* press two keys to continue, i.e., if they press just {SPACE} then the questionaire will not continue (although it would if they pressed {SPACE} twice, give that a try). So, you might try setting Termination Response to {SPACE}. That said, is there any reason they must press a number key plus the {SPACE}? Why not continue as soon as they press the number key? What have I missed? -- David McFarlane, Professional Faultfinder >On 25 Sep., 16:50, David McFarlane wrote: > > Ben, > > > > >I would like to implement a questionnaire in E-Prime, but I got stuck. The > > >subject has to choose zero or five answers and then proceed to the next > > >part. The instructions say that the subject should press the corresponding > > >numbers and then space or if none of the answers is correct immediately > > >press space. I used a text-display and added two keyboards as input device > > >- one for the numbers and one for the space button to terminate. My > > >problem is that e-prime just stucks and does not react when pressing the > > >spacebar. > > > > Just curious -- any particular reason why you want to do this > > questionnaire in E-Prime instead of something simpler (like MediaLab, > > or even HTML)? > > > > -- David McFarlane --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From j.jacobson3 at gmail.com Thu Sep 25 15:32:18 2008 From: j.jacobson3 at gmail.com (JJUMiami) Date: Thu, 25 Sep 2008 08:32:18 -0700 Subject: Correct and Incorrect Feedback Question Message-ID: Hi All, I am trying to program eprime so that the Correct Answer feedback display appears for 100ms and the Incorrect Answer feedback display appears for 500ms. However, since the Correct and Incorrect feedback displays are linked together, the program will not allow me to assign different display times to each. Any suggestions on how to solve this problem would be greatly appreciated! Best, Jessica --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From benhisattva at googlemail.com Mon Sep 29 14:17:23 2008 From: benhisattva at googlemail.com (Ben) Date: Mon, 29 Sep 2008 07:17:23 -0700 Subject: Questionnaire in E-Prime 1 In-Reply-To: <48dcef41.5605be0a.1a22.fffff4e7SMTPIN_ADDED@mx.google.com> Message-ID: Hi David, I use two keyboards because the first one is just for data logging, it accepts 1,2,3,4 as input. The second one only accepts space and is used for termination. The subject may press any number for one time, every trial it has to decide how many answers are correct ranging from zero correct answers two four. Afterwards it has to press the spacebar to proceed. So one could press just the spacebar or 1,2,3,4 and space. If I set the EndAction of the first keyboard to (none), the EndAction of the second keyboard to terminate and set MaxCount of the first keyboard to four, it terminates after the first number anyway. //Ben On 26 Sep., 10:18, David McFarlane wrote: > Ben, > > >It is part of a lager test batterie. I am validating a picture anomaly > >test which should measure the social cognition abilities of TLE > >patients and I got in total four different tests. It would be nice to > >presented them all with one program. > > Thanks, just wondered, that makes sense.  Moving on... > > Now I wonder why you use two separate keyboards, one for the numbers > and one for the space bar.  Surely a single keyboard would have both > numbers and a space bar, so you could do all this with one > keyboard.  But let's leave that aside. > > Next, the subject presses either two keys (a number plus {SPACE}) or > just one key ({SPACE}) to continue.  I assume you do this with the > Advanced input mask features, by setting MaxCount to 2 > (Disclaimer:  I have never used this feature myself, so I am > stretching here).  If you did not also set Termination Response to > {SPACE}, then the subject must *always* press two keys to continue, > i.e., if they press just {SPACE} then the questionaire will not > continue (although it would if they pressed {SPACE} twice, give that a try). > > So, you might try setting Termination Response to {SPACE}. > > That said, is there any reason they must press a number key plus the > {SPACE}?  Why not continue as soon as they press the number > key?  What have I missed? > > -- David McFarlane, Professional Faultfinder > > >On 25 Sep., 16:50, David McFarlane wrote: > > > Ben, > > > > >I would like to implement a questionnaire in E-Prime, but I got stuck. The > > > >subject has to choose zero or five answers and then proceed to the next > > > >part. The instructions say that the subject should press the corresponding > > > >numbers and then space or if none of the answers is correct immediately > > > >press space. I used a text-display and added two keyboards as input device > > > >- one for the numbers and one for the space button to terminate. My > > > >problem is that e-prime just stucks and does not react when pressing the > > > >spacebar. > > > > Just curious -- any particular reason why you want to do this > > > questionnaire in E-Prime instead of something simpler (like MediaLab, > > > or even HTML)? > > > > -- David McFarlane --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From thenillebraun at yahoo.com.br Mon Sep 29 16:57:33 2008 From: thenillebraun at yahoo.com.br (thenillebraun) Date: Mon, 29 Sep 2008 09:57:33 -0700 Subject: joystick and EP 1.1 Message-ID: Hello! I'd like to continue the discussion related to joystick and EP 1.1. We're doing an experiment that we need joystick as input in E Prime 1.1. but we have some problems with that. We add joystick as PORT, but we cannot allow an specific button to colect the datas. Could anyone help me with this? Would I need to write an InLine? Thank you very much! Thenille Braun. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Sep 29 18:18:21 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 29 Sep 2008 14:18:21 -0400 Subject: Questionnaire in E-Prime 1 In-Reply-To: <51780960-e8ef-415e-a6a3-f06485d1df50@y71g2000hsa.googlegro ups.com> Message-ID: Ben, >I use two keyboards because the first one is just for data logging, it >accepts 1,2,3,4 as input. The second one only accepts space and is >used for termination. The subject may press any number for one time, >every trial it has to decide how many answers are correct ranging from >zero correct answers two four. Afterwards it has to press the spacebar >to proceed. So one could press just the spacebar or 1,2,3,4 and space. > >If I set the EndAction of the first keyboard to (none), the EndAction >of the second keyboard to terminate and set MaxCount of the first >keyboard to four, it terminates after the first number anyway. Ah, THAT'S where I made my mistake. I thought you had two separate physical keyboards, each plugged in to a separate USB port, etc., and the subject pressed keys on one keyboard for the answers, then pressed the space bar on the second keyboard to continue. That would have been a very odd setup. Now I see that you meant two E-Prime Keyboard objects as part of the Input Mask of your EP response object. Sorry. Now I see some problems, and will propose a solution. If you don't care about my explanation, just skip down to my final solution. I tried this myself, set one Keyboard to Allow keys 1234, Max Count 4, End Action (none), and set a second Keyboard to Allow {SPACE} with End Action Terminate. Everything worked fine as long as I did not press more than 3 number keys (and as a side effect, my E-DataAid file only showed the final {SPACE} as the response). But once I pressed a fourth key the program hung and I had to to abort. Here is what happens: Once the response object gets the fourth key, it performs its end action. That action is "none". So, the program does exactly what you told it to do, you press 4 keys and after that it continues to do absolutely nothing, and there is no way to break out of that. Here is a cheap fix: Increase the Max Count of the first keyboard to 5. Now its end action does not trigger until you press 5 keys, so it is safe to press 4 keys. Of course, if someone presses 5 keys then it will hang again. So increase the Max Count to 10, or whatever, just for safety's sake. But I think we are making this all a bit too complicated, and E-Prime has a better way. So here is my final solution. Use just one keyboard input mask, Allow 1234{SPACE}, End Action Terminate, Max Count 5 (or 4), and Termination Response {SPACE}. Now this one keyboard object will allow the subject to press up to 4 keys plus a {SPACE}, and will terminate the object when the subject presses the space bar or presses a fifth key (presumably, four numbers plus a {SPACE}). If you instead set Max Count to 4, then the the object will terminate after the fourth key press without making the subject press {SPACE}, and will ensure that they only enter four keys. Finally, *all* these responses will appear as one string in the E-DataAid file. This was a nice little puzzle, and I thank you for it. -- David McFarlane, Professional Faultfinder >On 26 Sep., 10:18, David McFarlane wrote: > > Ben, > > > > >It is part of a lager test batterie. I am validating a picture anomaly > > >test which should measure the social cognition abilities of TLE > > >patients and I got in total four different tests. It would be nice to > > >presented them all with one program. > > > > Thanks, just wondered, that makes sense. Moving on... > > > > Now I wonder why you use two separate keyboards, one for the numbers > > and one for the space bar. Surely a single keyboard would have both > > numbers and a space bar, so you could do all this with one > > keyboard. But let's leave that aside. > > > > Next, the subject presses either two keys (a number plus {SPACE}) or > > just one key ({SPACE}) to continue. I assume you do this with the > > Advanced input mask features, by setting MaxCount to 2 > > (Disclaimer: I have never used this feature myself, so I am > > stretching here). If you did not also set Termination Response to > > {SPACE}, then the subject must *always* press two keys to continue, > > i.e., if they press just {SPACE} then the questionaire will not > > continue (although it would if they pressed {SPACE} twice, give > that a try). > > > > So, you might try setting Termination Response to {SPACE}. > > > > That said, is there any reason they must press a number key plus the > > {SPACE}? Why not continue as soon as they press the number > > key? What have I missed? > > > > -- David McFarlane, Professional Faultfinder > > > > >On 25 Sep., 16:50, David McFarlane wrote: > > > > Ben, > > > > > > >I would like to implement a questionnaire in E-Prime, but I > got stuck. The > > > > >subject has to choose zero or five answers and then proceed > to the next > > > > >part. The instructions say that the subject should press the > corresponding > > > > >numbers and then space or if none of the answers is correct > immediately > > > > >press space. I used a text-display and added two keyboards > as input device > > > > >- one for the numbers and one for the space button to terminate. My > > > > >problem is that e-prime just stucks and does not react when > pressing the > > > > >spacebar. > > > > > > Just curious -- any particular reason why you want to do this > > > > questionnaire in E-Prime instead of something simpler (like MediaLab, > > > > or even HTML)? > > > > > > -- David McFarlane --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Sep 29 19:37:03 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 29 Sep 2008 15:37:03 -0400 Subject: Correct and Incorrect Feedback Question In-Reply-To: <1bc7048f-a92a-4502-aab3-f006c11d9bce@f36g2000hsa.googlegro ups.com> Message-ID: Jessica, >I am trying to program eprime so that the Correct Answer feedback >display appears for 100ms and the Incorrect Answer feedback display >appears for 500ms. However, since the Correct and Incorrect feedback >displays are linked together, the program will not allow me to assign >different display times to each. You will need some inline script and an attribute reference. Set the duration of your Feedback object to [FeedDur]. Now suppose you want feedback for an object called StimText. In script before the Feedback object, do this: If StimText.ACC Then ' correct answer c.SetAttrib "FeedDur", 100 Else ' incorrect answer c.SetAttrib "FeedDur", 500 End If (Note: I did not use the full "If StimText.ACC <> 0", since the "<> 0" is understood by default.) We can also make this a little cleaner by removing the "magic numbers", thus, Const DurCorrect as Integer = 100 Const DurIncorrect as Integer = 500 If StimText.ACC Then ' correct answer c.SetAttrib "FeedDur", DurCorrect Else ' incorrect answer c.SetAttrib "FeedDur", DurIncorrect End If -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From derick-deweber at ouhsc.edu Tue Sep 30 17:58:34 2008 From: derick-deweber at ouhsc.edu (ddeweber) Date: Tue, 30 Sep 2008 10:58:34 -0700 Subject: contingent stimulus presentation Message-ID: Please help. I am learning how to interface the e-prime software program with the ASL 6000 eye tracker. So far, I have learned how to send and receive x-dats from e-prime. My goal is to learn how to create a contingent response paradigm where eye gaze data collected from the ASL program controls stimulus presentation in e-prime. I have had no success thus far as both software producers tell me to contact the other. My first question is is this even a capability of the e-prime program? If it is a possibility does anyone have any idea where to start? Thanks, Derick --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Tue Sep 30 19:19:00 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 30 Sep 2008 15:19:00 -0400 Subject: contingent stimulus presentation In-Reply-To: Message-ID: Derick, >Please help. I am learning how to interface the e-prime software >program with the ASL 6000 eye tracker. So far, I have learned how to >send and receive x-dats from e-prime. My goal is to learn how to >create a contingent response paradigm where eye gaze data collected >from the ASL program controls stimulus presentation in e-prime. I >have had no success thus far as both software producers tell me to >contact the other. My first question is is this even a capability of >the e-prime program? Just addressing the general question, since this gets asked from time to time. E-Prime runs on E-Basic, which in turn is a dialect of Microsoft VisualBasic, which in turn is a rather full-fledged programming language that can in principle do just about anything that can be programmed with a computer. So in general, yes, whatever you want to do, in principle EP can do it. Of course, in practice it may not be easy, and other programming tools may work better for specific tasks. >If it is a possibility does anyone have any idea where to start? I have never used EP with an eyetracker, so I cannot help you there, just wanted to address the general question. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Wed Sep 3 17:54:56 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 3 Sep 2008 13:54:56 -0400 Subject: using joystick input for version 1.1 In-Reply-To: <8b265780-680c-4d02-bc73-c1d5571f2a78@a1g2000hsb.googlegroups.com> Message-ID: Mary, > We're doing an experiment that we need joystick input to get resulting > angles in degrees as our output--is this possible in Eprime version > 1.1? Would a joystick be able to give that kind of output? I have never used a joystick in EP, so I hope someone else will weigh in here. But if the joystick gives you xy coordinates, and if you have the xy coordinate of the joystick center, then you should be able to get angles in degrees just with a bit of trigonometry in an inline script. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Wed Sep 3 19:58:38 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Wed, 3 Sep 2008 12:58:38 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <48BECF70.50208@msu.edu> Message-ID: Hi Mary, E-Prime v1.x is capable of recording responses from a joystick, but only the buttons will be recognized as input. The current version is not capable of reading the joystick position along an x/y axis. This only applies to joysticks that connect through the parallel or game ports. Joystick support for buttons, sliders, POV controls, and x-y-z position, is available in E-Prime 2.0. Please see http://pstnet.com/products/e-prime/faq/efaq2.htm for more information on upgrading. Please let me know if you have any further questions. - Matt PST Technical Consultant http://www.pstnet.com/ On Sep 3, 1:54?pm, David McFarlane wrote: > Mary, > > > We're doing an experiment that we need joystick input to get resulting > > angles in degrees as our output--is this possible in Eprime version > > 1.1? ?Would a joystick be able to give that kind of output? > > I have never used a joystick in EP, so I hope someone else will weigh in > ? here. ?But if the joystick gives you xy coordinates, and if you have > the xy coordinate of the joystick center, then you should be able to get > angles in degrees just with a bit of trigonometry in an inline script. > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Wed Sep 3 20:00:13 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Wed, 3 Sep 2008 13:00:13 -0700 Subject: Need help with microphone In-Reply-To: <34ed590b-fc24-4030-8574-9a4b76a1c11f@59g2000hsb.googlegroups.com> Message-ID: Hi Mireille, Your support request with the same question has been responded to. If you have any questions regarding the response (or follow-up questions pertaining to it), please post a reply within the support request. - Matt PST Technical Consultant http://www.pstnet.com/ On Sep 2, 8:53?pm, Mireille wrote: > I want to know how to set up an experiment with a microphone, so that > I can have the onset of the voice of the participants as a reaction > time to my stimuli. I was also wondering if it's possible to record > the responses so that I can check after for the right detections. > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Wed Sep 3 20:03:11 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Wed, 3 Sep 2008 13:03:11 -0700 Subject: Multiple response Timings in Eprime In-Reply-To: <519b75f8-f917-4d36-87ef-32403f61e8ce@34g2000hsh.googlegroups.com> Message-ID: Hi Oli, I do not have access to your experiment, but it sounds as though you are collecting multiple responses from the subject (e.g., collecting a typed response from the subject). If this is the case, the object collecting the responses will log the final response's RT time stamp automatically (assuming that data logging is set to Time Audit or Standard). To log the first response, you will need to use a bit of InLine script. I would recommend taking a look at the MultipleResponseCollection.es sample available in the Files section of this group. This includes all of the script necessary to log RTs for responses other than the final response. Please let me know if you have any questions. - Matt PST Technical Consultant http://www.pstnet.com/ On Aug 30, 7:42?am, "oli... at googlemail.com" wrote: > Hi there - I'm running an experiment where I am measuring response > latencies (how long it takes for a patient to make their first > response) and answer duration (the time between the stimuli onset and > the last response) > At the moment I am using visual wave software to measure each time by > hand, which is a horrible process and wanted to do the remainder of > the patients using eprime - but I can only time one response. ?Is > there an easy way to make this happen - I've searched on google and > there are only pages and pages of Ebasic code to sift through, and i'm > sure it's only one or two lines that I need. > > Thanks very much > > Oli --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From maryesmith at gmail.com Wed Sep 3 16:12:56 2008 From: maryesmith at gmail.com (mary) Date: Wed, 3 Sep 2008 09:12:56 -0700 Subject: using joystick input for version 1.1 Message-ID: Hi, We're doing an experiment that we need joystick input to get resulting angles in degrees as our output--is this possible in Eprime version 1.1? Would a joystick be able to give that kind of output? Thanks, Mary --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mireillebabineau at hotmail.com Wed Sep 3 00:53:04 2008 From: mireillebabineau at hotmail.com (Mireille) Date: Tue, 2 Sep 2008 17:53:04 -0700 Subject: Need help with microphone Message-ID: I want to know how to set up an experiment with a microphone, so that I can have the onset of the voice of the participants as a reaction time to my stimuli. I was also wondering if it's possible to record the responses so that I can check after for the right detections. Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From maryesmith at gmail.com Thu Sep 4 16:17:23 2008 From: maryesmith at gmail.com (mary) Date: Thu, 4 Sep 2008 09:17:23 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <8608789f-5bb7-4026-ad77-494e6fb81c0f@b30g2000prf.googlegroups.com> Message-ID: Thanks so much for your help--we're ordering Eprime 2.0 so for future reference, how would you make the joystick as input for eprime? Thanks, Mary On Sep 3, 3:58?pm, Matt Lenhart wrote: > Hi Mary, > > E-Prime v1.x is capable of recording responses from a joystick, but > only the buttons will be recognized as input. The current version is > not capable of reading the joystick position along an x/y axis. This > only applies to joysticks that connect through the parallel or game > ports. > > Joystick support for buttons, sliders, POV controls, and x-y-z > position, is available in E-Prime 2.0. Please seehttp://pstnet.com/products/e-prime/faq/efaq2.htmfor more information > on upgrading. > > Please let me know if you have any further questions. > > - Matt > PST Technical Consultanthttp://www.pstnet.com/ > > On Sep 3, 1:54?pm, David McFarlane wrote: > > > Mary, > > > > We're doing an experiment that we need joystick input to get resulting > > > angles in degrees as our output--is this possible in Eprime version > > > 1.1? ?Would a joystick be able to give that kind of output? > > > I have never used a joystick in EP, so I hope someone else will weigh in > > ? here. ?But if the joystick gives you xy coordinates, and if you have > > the xy coordinate of the joystick center, then you should be able to get > > angles in degrees just with a bit of trigonometry in an inline script. > > > -- David McFarlane, Professional Faultfinder > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Thu Sep 4 16:42:12 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Thu, 4 Sep 2008 09:42:12 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <06eb247c-024a-42f0-ab45-6c0469195669@a2g2000prm.googlegroups.com> Message-ID: Mary, Depending on which version of E-Prime 2.0 you ordered (i.e., Standard or Professional), the Joystick will operate a bit differently. In both versions, you will add the Joystick device via the Experiment object's Property Pages. That is, you will double-click the Experiment object at the top of the Structure window, navigate to the Devices tab, click Add, and add the Joystick. In E-Prime 2.0 Professional, you can then add the Joystick as an input mask in the same manner as any other response device. In E-Prime 2.0, response collection must be handled in InLine script (which we can assist you with if necessary). - Matt PST Technical Consultant http://www.pstnet.com/ On Sep 4, 12:17?pm, mary wrote: > Thanks so much for your help--we're ordering Eprime 2.0 so for future > reference, how would you make the joystick as input for eprime? > > Thanks, > Mary > > On Sep 3, 3:58?pm, Matt Lenhart wrote: > > > Hi Mary, > > > E-Prime v1.x is capable of recording responses from a joystick, but > > only the buttons will be recognized as input. The current version is > > not capable of reading the joystick position along an x/y axis. This > > only applies to joysticks that connect through the parallel or game > > ports. > > > Joystick support for buttons, sliders, POV controls, and x-y-z > > position, is available in E-Prime 2.0. Please seehttp://pstnet.com/products/e-prime/faq/efaq2.htmformore information > > on upgrading. > > > Please let me know if you have any further questions. > > > - Matt > > PST Technical Consultanthttp://www.pstnet.com/ > > > On Sep 3, 1:54?pm, David McFarlane wrote: > > > > Mary, > > > > > We're doing an experiment that we need joystick input to get resulting > > > > angles in degrees as our output--is this possible in Eprime version > > > > 1.1? ?Would a joystick be able to give that kind of output? > > > > I have never used a joystick in EP, so I hope someone else will weigh in > > > ? here. ?But if the joystick gives you xy coordinates, and if you have > > > the xy coordinate of the joystick center, then you should be able to get > > > angles in degrees just with a bit of trigonometry in an inline script. > > > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Thu Sep 4 16:51:09 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Thu, 4 Sep 2008 09:51:09 -0700 Subject: defining valid combinations In-Reply-To: Message-ID: Hi Tim, The best way to approach the script for your experiment will depend on exactly what you plan on doing. For example, a dynamic array would be preferred if you are unsure of how many array slots will be needed throughout the experiment. The dynamic array will allow you to assign and re-assign slots throughout the experiment. A fixed array will be better if you only need to keep track of a specific number of values. So, in this experiment, if you only need to store the previous 5 responses, a fixed array with 5 slots will be fine (e.g., in the same manner as a fixed array of 24 slots is fine for storing the possible responses). Once you have selected the appropriate type of array, you will need to create a global counter variable to keep track of which slot you are at in the array. For example, say you name this variable nCount. After each response from the subject, you will need to check to make sure the response is valid (i.e., by looping through the valid responses array), then check to make sure the response has not already been made (i.e., by looping through the distinct responses array), and then finally increment the counter and add the response to the distinct responses array if it meets the criterion: For nLoopCounter = 1 To UBound(arrValid) 'Check that we have a valid response... Next For nLoopCounter = 1 To UBound(arrDistinct) 'Check that we have a distinct response... Next 'If the response meets both criteria... If boolValid = True And boolDistinct = True Then nCount = nCount + 1 arrDistinct(nCount) = Stimulus.RESP End If Keep in mind that the only script within each loop is just comparing the current response to each slot. If a match is found in the first case, then boolValid would be set to True. If a match is found in the second loop, then boolDistinct is set to false. If any of this is not clear or you run into any further difficulty with this task, I would recommend making a support request at: http://www.pstnet.com/e-prime/support/ While I do try to respond here as often as possible, only requests made at the link provided are guaranteed to receive a timely response from PST representative. If you choose to respond here, I will try to reply as quickly as possible, but I cannot assure you of that as official support requests are handled first. - Matt PST Technical Consultant http://www.pstnet.com/ On Aug 29, 6:15?am, Victor wrote: > Hi David > > I have been using the E-basic Help. ?The problem that I have is not > fully understanding VB. I have gotten away with bootstrapping until > now by using other sample experiments. ?With the current problem, I > can not find an example, nor am I sure if what I am writing is > affecting the program in the way I intend, so I could be cose to a > solution but I am probably more likely to be a million miles away. > > David McFarlane wrote: > > Tim, > > > >I have referred to the help section of E-studio but to no avail. > > > Just a general comment, that is the wrong help section if you want > > help with E-Basic constructs. ?For that you want to go to the E-Basic > > Help, i.e., Help > E-Basic Help ?(*not* Help Topics). > > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From t1msky at yahoo.co.uk Thu Sep 4 19:09:58 2008 From: t1msky at yahoo.co.uk (Victor) Date: Thu, 4 Sep 2008 12:09:58 -0700 Subject: defining valid combinations In-Reply-To: Message-ID: Hi Matt Thanks a million for your extremely helpful responses. I am pleased to report that the experiment is now complete and ready to run!! Regards Tim Matt Lenhart wrote: > Hi Tim, > > The best way to approach the script for your experiment will depend on > exactly what you plan on doing. For example, a dynamic array would be > preferred if you are unsure of how many array slots will be needed > throughout the experiment. The dynamic array will allow you to assign > and re-assign slots throughout the experiment. A fixed array will be > better if you only need to keep track of a specific number of values. > So, in this experiment, if you only need to store the previous 5 > responses, a fixed array with 5 slots will be fine (e.g., in the same > manner as a fixed array of 24 slots is fine for storing the possible > responses). > > Once you have selected the appropriate type of array, you will need to > create a global counter variable to keep track of which slot you are > at in the array. For example, say you name this variable nCount. After > each response from the subject, you will need to check to make sure > the response is valid (i.e., by looping through the valid responses > array), then check to make sure the response has not already been made > (i.e., by looping through the distinct responses array), and then > finally increment the counter and add the response to the distinct > responses array if it meets the criterion: > > For nLoopCounter = 1 To UBound(arrValid) > 'Check that we have a valid response... > Next > > For nLoopCounter = 1 To UBound(arrDistinct) > 'Check that we have a distinct response... > Next > > 'If the response meets both criteria... > If boolValid = True And boolDistinct = True Then > nCount = nCount + 1 > > arrDistinct(nCount) = Stimulus.RESP > End If > > Keep in mind that the only script within each loop is just comparing > the current response to each slot. If a match is found in the first > case, then boolValid would be set to True. If a match is found in the > second loop, then boolDistinct is set to false. > > If any of this is not clear or you run into any further difficulty > with this task, I would recommend making a support request at: > http://www.pstnet.com/e-prime/support/ While I do try to respond here > as often as possible, only requests made at the link provided are > guaranteed to receive a timely response from PST representative. If > you choose to respond here, I will try to reply as quickly as > possible, but I cannot assure you of that as official support requests > are handled first. > > - Matt > PST Technical Consultant > http://www.pstnet.com/ > > > On Aug 29, 6:15?am, Victor wrote: > > Hi David > > > > I have been using the E-basic Help. ?The problem that I have is not > > fully understanding VB. I have gotten away with bootstrapping until > > now by using other sample experiments. ?With the current problem, I > > can not find an example, nor am I sure if what I am writing is > > affecting the program in the way I intend, so I could be cose to a > > solution but I am probably more likely to be a million miles away. > > > > David McFarlane wrote: > > > Tim, > > > > > >I have referred to the help section of E-studio but to no avail. > > > > > Just a general comment, that is the wrong help section if you want > > > help with E-Basic constructs. ?For that you want to go to the E-Basic > > > Help, i.e., Help > E-Basic Help ?(*not* Help Topics). > > > > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Fri Sep 5 13:02:55 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Fri, 5 Sep 2008 06:02:55 -0700 Subject: defining valid combinations In-Reply-To: <8c083daf-b013-43ce-969e-e7b32ea7c462@p10g2000prf.googlegroups.com> Message-ID: Hi Tim, Great to hear. If you run into anything in the future, please let me know. - Matt PST Technical Consultant http://www.pstnet.com/ On Sep 4, 3:09?pm, Victor wrote: > Hi Matt > > Thanks a million for your extremely helpful responses. > > I am pleased to report that the experiment is now complete and ready > to run!! > > Regards > > Tim > > Matt Lenhart wrote: > > Hi Tim, > > > The best way to approach the script for your experiment will depend on > > exactly what you plan on doing. For example, a dynamic array would be > > preferred if you are unsure of how many array slots will be needed > > throughout the experiment. The dynamic array will allow you to assign > > and re-assign slots throughout the experiment. A fixed array will be > > better if you only need to keep track of a specific number of values. > > So, in this experiment, if you only need to store the previous 5 > > responses, a fixed array with 5 slots will be fine (e.g., in the same > > manner as a fixed array of 24 slots is fine for storing the possible > > responses). > > > Once you have selected the appropriate type of array, you will need to > > create a global counter variable to keep track of which slot you are > > at in the array. For example, say you name this variable nCount. After > > each response from the subject, you will need to check to make sure > > the response is valid (i.e., by looping through the valid responses > > array), then check to make sure the response has not already been made > > (i.e., by looping through the distinct responses array), and then > > finally increment the counter and add the response to the distinct > > responses array if it meets the criterion: > > > For nLoopCounter = 1 To UBound(arrValid) > > ?'Check that we have a valid response... > > Next > > > For nLoopCounter = 1 To UBound(arrDistinct) > > ?'Check that we have a distinct response... > > Next > > > 'If the response meets both criteria... > > If boolValid = True And boolDistinct = True Then > > ?nCount = nCount + 1 > > > ?arrDistinct(nCount) = Stimulus.RESP > > End If > > > Keep in mind that the only script within each loop is just comparing > > the current response to each slot. If a match is found in the first > > case, then boolValid would be set to True. If a match is found in the > > second loop, then boolDistinct is set to false. > > > If any of this is not clear or you run into any further difficulty > > with this task, I would recommend making a support request at: > >http://www.pstnet.com/e-prime/support/?While I do try to respond here > > as often as possible, only requests made at the link provided are > > guaranteed to receive a timely response from PST representative. If > > you choose to respond here, I will try to reply as quickly as > > possible, but I cannot assure you of that as official support requests > > are handled first. > > > - Matt > > PST Technical Consultant > >http://www.pstnet.com/ > > > On Aug 29, 6:15 am, Victor wrote: > > > Hi David > > > > I have been using the E-basic Help. The problem that I have is not > > > fully understanding VB. I have gotten away with bootstrapping until > > > now by using other sample experiments. With the current problem, I > > > can not find an example, nor am I sure if what I am writing is > > > affecting the program in the way I intend, so I could be cose to a > > > solution but I am probably more likely to be a million miles away. > > > > David McFarlane wrote: > > > > Tim, > > > > > >I have referred to the help section of E-studio but to no avail. > > > > > Just a general comment, that is the wrong help section if you want > > > > help with E-Basic constructs. For that you want to go to the E-Basic > > > > Help, i.e., Help > E-Basic Help (*not* Help Topics). > > > > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From meg.smith322 at gmail.com Fri Sep 5 16:23:05 2008 From: meg.smith322 at gmail.com (Meg.Smith) Date: Fri, 5 Sep 2008 09:23:05 -0700 Subject: Multiple Choice Testing Message-ID: Hello. I am trying to create an experiment that uses different forms of testing. Subjects will read a passage on paper, and then take a test over the passage. There are 8 questions for the passage. We need to create (for one condition) a multiple choice test where the questions are counterbalanced for order, and the 5 choices (including the correct answer) are counterbalanced for order. For another condition, we need the subjects to first take a short answer test where they type in their answers, and then take a multiple choice test the same as above, all in one program. We would like the choices to all be counterbalanced for order in the multiple choice section. In addition, we would like the questions counterbalanced for order for each subject in both the recall and the multiple choice section, but for each subject both sections need to be in the same order. In other words, whatever order the computer chooses for the subject in the first section, we need it to again choose the same order in the second section. Is this possible to do in E-prime? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From violalumleynu22 at gmail.com Sat Sep 6 02:54:16 2008 From: violalumleynu22 at gmail.com (violalumleynu22) Date: Fri, 5 Sep 2008 19:54:16 -0700 Subject: Debra Messing Covered Up Message-ID: The Will & Grace star gets caught nude!! http://freerealvideo.net/video.html?video=88430 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From Christine.Watson at gmail.com Mon Sep 8 14:37:47 2008 From: Christine.Watson at gmail.com (Christine) Date: Mon, 8 Sep 2008 07:37:47 -0700 Subject: Movie displays freeze. Message-ID: I'm having a problem with movies freezing (the video freezes; the video's audio loops) in E-Prime 2.0.8.22. What combination of options for playing movies is correct? Let's say I have a movie that is 5 minutes long, and I want to play 3 minutes of it. I set the begin time to 00:00:00.00 and the end time to 00:03:00.00. In all cases, "Stop After" was set to "yes". What next? I have tried the following: 1. Set "End Movie Action" to terminate, then set Duration to "infinite." (freezes) 2. Set "End Movie Action" to none, then set Duration equal to 3 minutes. (freezes) 3. Set "End Movie Action" to none, then set Duration to 3 minutes + 1 second. (freezes) 4. Set "End Movie Action" to none, set Duration to "infinite", and set a key (like the letter 'k') to advance the movie once it stops playing. (This seems to work but is inconvenient). Any suggestions? Thank you! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From clarkea at upmc.edu Mon Sep 8 15:25:36 2008 From: clarkea at upmc.edu (biometricsassistant) Date: Mon, 8 Sep 2008 08:25:36 -0700 Subject: clock.systemtimedrift!!! Message-ID: when using an experiment that was originally made for e-prime one i get this error message. It claims the data from this trial may be unusable. The experiment I'm having this problem with is a digitspan experiment. It says a number that is either 4, 7, or 10, digits. The participant is then asked to repeat it back to the experiment. After this has happened the experiment is then advanced. This makes me wonder if the timedrift problem has something to do with this dependant timing. Any Ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Sep 8 18:50:48 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 8 Sep 2008 14:50:48 -0400 Subject: clock.systemtimedrift!!! In-Reply-To: <2e258149-91ad-4c89-aa2f-10feab04928c@r66g2000hsg.googlegro ups.com> Message-ID: Biometricassistant, >when using an experiment that was originally made for e-prime one i >get this error message. It claims the data from this trial may be >unusable. The experiment I'm having this problem with is a digitspan >experiment. It says a number that is either 4, 7, or 10, digits. The >participant is then asked to repeat it back to the experiment. After >this has happened the experiment is then advanced. This makes me >wonder if the timedrift problem has something to do with this >dependant timing. Any Ideas? 1) Does the waring message actually say anything about "Clock.SystemTimeDrift"? 2) What revision of EP2 are you using? 3) For more info, you can go to the PST Forum and do a search on something like "systemtime" for discussion threads such as support.pstnet.com/forum/Topic735-12-1.aspx . -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Sep 8 19:11:57 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 8 Sep 2008 15:11:57 -0400 Subject: Multiple Choice Testing In-Reply-To: <45d0708b-0e63-4790-b7c4-36969cd95654@b1g2000hsg.googlegrou ps.com> Message-ID: Meg, >Hello. I am trying to create an experiment that uses different forms >of testing. Subjects will read a passage on paper, and then take a >test over the passage. There are 8 questions for the passage. We need >to create (for one condition) a multiple choice test where the >questions are counterbalanced for order, and the 5 choices (including >the correct answer) are counterbalanced for order. For another >condition, we need the subjects to first take a short answer test >where they type in their answers, and then take a multiple choice test >the same as above, all in one program. We would like the choices to >all be counterbalanced for order in the multiple choice section. In >addition, we would like the questions counterbalanced for order for >each subject in both the recall and the multiple choice section, but >for each subject both sections need to be in the same order. In other >words, whatever order the computer chooses for the subject in the >first section, we need it to again choose the same order in the second >section. Is this possible to do in E-prime? Just a few general thoughts... If I had to "freeze" the random order of a list, I might start with putting my items in a list under Unreferenced E-Objects, and set the list selection to random. Then, in script, I would create my real list by using list methods such as List.AddLevel, etc. (see the online E-Basic Help), and I would set the selection on my real list to sequential. Then I could use my real list with the same "random" order each time. (One warning, List.AddAttrib never got documented (see (support.pstnet.com/forum/Topic1241-12-1.aspx?Highlight=addattribute ), to figure that one out I had to make a dummy list in E-Studio, set its Load Method to Script, and look at the generated script.) This is all pretty heavy going, so maybe somebody else has a better solution. I also wonder if something like MediaLab might be a better match for your task, though I do not know how that would handle your randomization. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Sep 8 19:28:37 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 8 Sep 2008 15:28:37 -0400 Subject: Multiple Choice Testing In-Reply-To: <48c5790d.5605be0a.1e49.2150SMTPIN_ADDED@mx.google.com> Message-ID: >Just a few general thoughts... If I had to "freeze" the random >order of a list, I might start with putting my items in a list under >Unreferenced E-Objects, and set the list selection to random. Then, >in script, I would create my real list by using list methods such as >List.AddLevel, etc. Oops, it may not be clear that in this script I would create the real list by sampling items from the first, randomized list that I put under Unreferenced E-Objects. E.g., if we call the original, randomized list "BaseList", and call the real, sequential list that we will use "StimList", and the attribute of interest in both lists is "Stim", then we will use lines like StimList.SetAttrib iLevel, "Stim", BaseList.GetNextAttrib("Stim") where iLevel is a level of the new list. I have left out a bunch of supporting script, but you should be able to figure out the rest. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From hmsummerland at googlemail.com Mon Sep 8 21:58:49 2008 From: hmsummerland at googlemail.com (hmsummerland) Date: Mon, 8 Sep 2008 14:58:49 -0700 Subject: Britney Spears Gets PunkD Message-ID: Britney's rack almost pops out as she guest stars on the tv show Punk'D. http://realvideo.freehostia.com?id=54254 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Tue Sep 9 13:24:28 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 9 Sep 2008 06:24:28 -0700 Subject: clock.systemtimedrift!!! In-Reply-To: <48c57418.5605be0a.1e49.1159SMTPIN_ADDED@mx.google.com> Message-ID: Hello, The message you are receiving is more of a warning than an error message, meaning that it will not actually affect the experiment or any of the data collected. We have had a number of people report this with E-Prime 2.0. This was originally put in for E-Prime 1.2 as an advanced warning of timing problems, but it has unfortunately created many false positives in E-Prime 2.0. In other words, it is very unlikely that your machine is actually experiencing significant time drift. You can effectively eliminate this message by adding an InLine at the very beginning of the SessionProc in your experiment and entering the following line of script: Clock.SystemTimeDriftThreshold = 50000 Alternatively, you can upgrade to E-Prime 2.0.8.22 via our web support site (see link below). This is the newest version of E-Prime 2.0 and should remove clock drift error. Any time you suspect that your machine may have a timing issue, we recommend running our RefreshClockTest (also available via the support site), which will judge your machine's ability to collect millisecond- precise data in its current running environment. Please let me know if you have any further questions. - Matt PST Technical Consultant http://www.pstnet.com/ On Sep 8, 2:50?pm, David McFarlane wrote: > Biometricassistant, > > >when using an experiment that was originally made for e-prime one i > >get this error message. ?It claims the data from this trial may be > >unusable. ?The experiment I'm having this problem with is a digitspan > >experiment. ?It says a number that is either 4, 7, or 10, digits. ?The > >participant is then asked to repeat it back to the experiment. ?After > >this has happened the experiment is then advanced. ?This makes me > >wonder if the timedrift problem has something to do with this > >dependant timing. ?Any Ideas? > > 1) Does the waring message actually say anything about "Clock.SystemTimeDrift"? > > 2) What revision of EP2 are you using? > > 3) For more info, you can go to the PST Forum and do a search on > something like "systemtime" for discussion threads such as > support.pstnet.com/forum/Topic735-12-1.aspx . > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Tue Sep 9 18:09:46 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 9 Sep 2008 11:09:46 -0700 Subject: Multiple Choice Testing In-Reply-To: <45d0708b-0e63-4790-b7c4-36969cd95654@b1g2000hsg.googlegroups.com> Message-ID: Hi Megan, I have replied to your official PST support request with the same question. In general, my recommendation is to look into the Permutation selection method of the List object (section 2.5.3 of the E-Prime User's Guide). This creates a unique combination of trials/ samples for each subject based on their subject number. Because you only have 8 questions and 5 choices, you will not be taxing the system to create these combinations (e.g., if you have 500 samples, this would obviously require massive calculations on E-Prime's part). You can thus create a TrialList with your 8 questions, have E-Prime create the permutations, and then nest a List object for each question. The nested List will contain the 5 possible choices, and will also create an assign permutations. If you have any questions related to my official response, you can reply within the support thread. - Matt PST Technical Consultant http://www.pstnet.com/ On Sep 5, 12:23?pm, "Meg.Smith" wrote: > Hello. I am trying to create an experiment that uses different forms > of testing. Subjects will read a passage on paper, and then take a > test over the passage. There are 8 questions for the passage. We need > to create (for one condition) a multiple choice test where the > questions are counterbalanced for order, and the 5 choices (including > the correct answer) are counterbalanced for order. For another > condition, we need the subjects to first take a short answer test > where they type in their answers, and then take a multiple choice test > the same as above, all in one program. We would like the choices to > all be counterbalanced for order in the multiple choice section. In > addition, we would like the questions counterbalanced for order for > each subject in both the recall and the multiple choice section, but > for each subject both sections need to be in the same order. In other > words, whatever order the computer chooses for the subject in the > first section, we need it to again choose the same order in the second > section. Is this possible to do in E-prime? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From clarkea at upmc.edu Tue Sep 9 19:04:44 2008 From: clarkea at upmc.edu (biometricsassistant) Date: Tue, 9 Sep 2008 12:04:44 -0700 Subject: Random sounds won't play Message-ID: I've got an experiment which draws random strings of numbers that are 4, 7, or 10 digits in length. It then plays a .wav file for each digit in the number. On e-prime 1.2 this program was flawless. Now with the conversion a couple digits in each experiment just don't play. Basicly there is a 1 second pause then it starts saying numbers again (all digits are one second long.) Any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Tue Sep 9 19:42:32 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 9 Sep 2008 15:42:32 -0400 Subject: Random sounds won't play In-Reply-To: <9abfa603-9a20-491e-a743-0c78d7a04abe@m36g2000hse.googlegro ups.com> Message-ID: Biometricassistant, >I've got an experiment which draws random strings of numbers that are >4, 7, or 10 digits in length. It then plays a .wav file for each >digit in the number. On e-prime 1.2 this program was flawless. Now >with the conversion a couple digits in each experiment just don't >play. Basicly there is a 1 second pause then it starts saying numbers >again (all digits are one second long.) Any ideas? Are you running EP2 on XP or Vista? EP2 is known to have problems with sound (and video) under Vista, see support.pstnet.com/forum/Topic1710-12-1.aspx , support.pstnet.com/forum/Topic1850-4-1.aspx , and support.pstnet.com/forum/Topic1361-12-1.aspx . In my tests EP2 sound works OK under XP, and EP1 sound works OK under both XP and Vista. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Wed Sep 10 18:18:17 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Wed, 10 Sep 2008 11:18:17 -0700 Subject: Random sounds won't play In-Reply-To: <48c6d1ba.e701be0a.614b.54dcSMTPIN_ADDED@mx.google.com> Message-ID: Hello, As David has said (and shown), we have had some issues with sound playback in E-Prime 2.0. The first steps to resolving this are to upgrade to E-Prime 2.0.8.22 (the most recent build). This can be done via our support site at http://www.pstnet.com/e-prime/support/login.asp. Once you have logged in (if you need to create an account, you can do so with your serial number), click Download from the menu at the left, then E-Prime, and then E-Prime 2.0 Release Candidate. If this does not resolve the problem, the next step would be to change the Buffer Mode for your SoundOut objects and SlideSoundOut sub- objects. To do this, open the Property Pages for the object/sub-object and select the alternative option under Buffer Mode (e.g., Streaming or Buffered). In most cases, switching from Buffered mode to Streaming has resolved this issue. - Matt PST Technical Consultant http://www.pstnet.com/ On Sep 9, 3:42?pm, David McFarlane wrote: > Biometricassistant, > > >I've got an experiment which draws random strings of numbers that are > >4, 7, or 10 digits in length. ?It then plays a .wav file for each > >digit in the number. ?On e-prime 1.2 this program was flawless. ?Now > >with the conversion a couple digits in each experiment just don't > >play. ?Basicly there is a 1 second pause then it starts saying numbers > >again (all digits are one second long.) ?Any ideas? > > Are you running EP2 on XP or Vista? ?EP2 is known to have problems > with sound (and video) under Vista, see > support.pstnet.com/forum/Topic1710-12-1.aspx , > support.pstnet.com/forum/Topic1850-4-1.aspx , and > support.pstnet.com/forum/Topic1361-12-1.aspx . ?In my tests EP2 sound > works OK under XP, and EP1 sound works OK under both XP and Vista. > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Thu Sep 11 18:08:42 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 11 Sep 2008 14:08:42 -0400 Subject: Random sounds won't play In-Reply-To: Message-ID: At 9/10/2008 02:18 PM Wednesday, Matt Lenhart wrote: >In most cases, switching from Buffered mode to Streaming has resolved >this issue. Matt, thank you. The operative phrase here is, "In most cases". For the record, I just tried it again with EP2.0.8.22 and Streaming, and still got the same bad results. We got the same troubles on all of our Vista machines, regardless of manufacturer. For now we just reformatted all our experiment running machines to good old XP. I don't know what we do in the long run as Microsoft makes XP unavailable, so I do hope that PST comes up with a good fix for this. I do wonder if we would be better off with an E-Prime-like system under Linux or Max OS X. I have seen fantastic things done with MatLab on a Mac, and as an old geek I would rather use that myself, but I would not say that MatLab is as user friendly for others as E-Prime. But that is a topic for another thread. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From cblais at berkeley.edu Mon Sep 15 18:25:44 2008 From: cblais at berkeley.edu (Chris Blais) Date: Mon, 15 Sep 2008 11:25:44 -0700 Subject: repeat trials In-Reply-To: Message-ID: As I understand it, you need this to repeat 75 times 60s / (750 ms + 51 ms). One way to do this is to setup a list that has 75 items. Have each item run "TrialProc" which is a procedure containing your two slides. thenillebraun wrote: > Hello everyone. > > I'm new in E Prime, and I've been working in an experiment which > stimulus is a red flash (51 msec). So, I insert a slide with a red > point with duration = 51 msec. and another with back color = black > with duration = 750 msec. > But the problem is that these slides must repeat 1 min. and I have to > collect informations in each slide. > > Could anyone help me to write this InLine? > How can I do this? > > Thank you very much. > > All the best, > Thenille Braun. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From thenillebraun at yahoo.com.br Mon Sep 15 18:20:16 2008 From: thenillebraun at yahoo.com.br (thenillebraun) Date: Mon, 15 Sep 2008 11:20:16 -0700 Subject: repeat trials Message-ID: Hello everyone. I'm new in E Prime, and I've been working in an experiment which stimulus is a red flash (51 msec). So, I insert a slide with a red point with duration = 51 msec. and another with back color = black with duration = 750 msec. But the problem is that these slides must repeat 1 min. and I have to collect informations in each slide. Could anyone help me to write this InLine? How can I do this? Thank you very much. All the best, Thenille Braun. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Sep 15 18:33:05 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 15 Sep 2008 14:33:05 -0400 Subject: repeat trials In-Reply-To: Message-ID: Thenille, >I'm new in E Prime, and I've been working in an experiment which >stimulus is a red flash (51 msec). So, I insert a slide with a red >point with duration = 51 msec. and another with back color = black >with duration = 750 msec. >But the problem is that these slides must repeat 1 min. and I have to >collect informations in each slide. > >Could anyone help me to write this InLine? >How can I do this? I don't think that you need inline. Let's suppose your two slides are run by TrialProc. Make a list with one row, and use TrialProc under Procedure. In the properties for the list, got to the Reset/Exit tab and, under Exit List, set it to "After 60 seconds". It is that easy! As far as collecting information in each slide, that will be handled by the logging properties of each slide. Good luck! -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Sep 15 19:38:28 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 15 Sep 2008 15:38:28 -0400 Subject: repeat trials In-Reply-To: <48CEA8A8.5070305@berkeley.edu> Message-ID: At 9/15/2008 02:25 PM Monday, Chris Blais wrote: >As I understand it, you need this to repeat 75 times >60s / (750 ms + 51 ms). > >One way to do this is to setup a list that has 75 items. Have each item >run "TrialProc" which is a procedure containing your two slides. Just one comment on this solution. You would not need a list with literally 75 rows. You could accomplish the same thing with one row and a Weight of 75; or, in the list properties under Reset/Exit, set it to exit after 75 samples (or, since one cycle is one sample, exit after 75 cycles). It's largely a matter of taste. Now you have four (or five) good solutions, I hope one of these works for you! -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From neurodrum at gmail.com Tue Sep 16 01:08:31 2008 From: neurodrum at gmail.com (Andrew Hill) Date: Mon, 15 Sep 2008 18:08:31 -0700 Subject: IVA / TOVA examples? Message-ID: hello, i'm looking for examples. i've seen the ones here: http://step.psy.cmu.edu/scripts-plus/ and they are quite interesting, though they don't have what i'm looking for. i'm i'm just wondering if anyone has seen an e-prime implementation of something like either the TOVA (Test of Variables of Attention) or the IVA (Independent Variables of Attention). both are used in assessing ADHD and generally in neuropsych testing of attention. thanks, andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From thenillebraun at yahoo.com.br Tue Sep 16 13:26:09 2008 From: thenillebraun at yahoo.com.br (thenillebraun) Date: Tue, 16 Sep 2008 06:26:09 -0700 Subject: repeat trials In-Reply-To: <48CEA8A8.5070305@berkeley.edu> Message-ID: Hi Chris!!! Thank you very much for your attention! Thenille. On 15 set, 15:25, Chris Blais wrote: > As I understand it, you need this to repeat 75 times > 60s / (750 ms + 51 ms). > > One way to do this is to setup a list that has 75 items. Have each item > run "TrialProc" ?which is a procedure containing your two slides. > > > > thenillebraun wrote: > > Hello everyone. > > > I'm new in E Prime, and I've been working in an experiment which > > stimulus is a red flash (51 msec). So, I insert a slide with a red > > point with duration = 51 msec. and another with back color = black > > with duration = 750 msec. > > But the problem is that these slides must repeat 1 min. and I have to > > collect informations in each slide. > > > Could anyone help me to write this InLine? > > How can I do this? > > > Thank you very much. > > > All ?the best, > > Thenille Braun.- Ocultar texto entre aspas - > > - Mostrar texto entre aspas - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From thenillebraun at yahoo.com.br Tue Sep 16 13:24:13 2008 From: thenillebraun at yahoo.com.br (thenillebraun) Date: Tue, 16 Sep 2008 06:24:13 -0700 Subject: repeat trials In-Reply-To: <48ceba05.e701be0a.43d8.11a5SMTPIN_ADDED@mx.google.com> Message-ID: Hello David. I tried what you suggested and it worked!!!! I'm really happy, it was easier than I thought. I set Reset/Exit to exit after 60 sec. Thank you so much for your help!! All the best! Thenille. On 15 set, 16:38, David McFarlane wrote: > At 9/15/2008 02:25 PM Monday, Chris Blais wrote: > > >As I understand it, you need this to repeat 75 times > >60s / (750 ms + 51 ms). > > >One way to do this is to setup a list that has 75 items. Have each item > >run "TrialProc" ?which is a procedure containing your two slides. > > Just one comment on this solution. ?You would not need a list with > literally 75 rows. ?You could accomplish the same thing with one row > and a Weight of 75; or, in the list properties under Reset/Exit, set > it to exit after 75 samples (or, since one cycle is one sample, exit > after 75 cycles). ?It's largely a matter of taste. > > Now you have four (or five) good solutions, I hope one of these works for you! > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From lunakick at yahoo.com Thu Sep 18 13:27:34 2008 From: lunakick at yahoo.com (Luna) Date: Thu, 18 Sep 2008 06:27:34 -0700 Subject: repeat one of the sample of items Message-ID: Hello, A part of my experiment asks some questions using a Likert scale. The questions are taken from a list which are given sequentially in a slide. Because kids are completing it, they often say they hit "2" instead of "0" and so on. However, that item is gone and the next item is showing. Can I write script that counts the trial (count+1)? Then, if the person wants to change sample 10 then I can press "b" on sample 11 which will go to the list and retrieve sample number count-1. Is that even possible? I started writing script, but I've never used any goto statement that did not go to a label. Thanks for any help. You guys are great at giving advice, although I still can't run videos on eprime on my Vista machine. ho-hum. -Luna --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Thu Sep 18 21:20:31 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 18 Sep 2008 17:20:31 -0400 Subject: repeat one of the sample of items In-Reply-To: Message-ID: Luna, >A part of my experiment asks some questions using a Likert scale. The >questions are taken from a list which are given sequentially in a >slide. Because kids are completing it, they often say they hit "2" >instead of "0" and so on. However, that item is gone and the next item >is showing. Can I write script that counts the trial (count+1)? Then, >if the person wants to change sample 10 then I can press "b" on sample >11 which will go to the list and retrieve sample number count-1. Is >that even possible? I started writing script, but I've never used any >goto statement that did not go to a label. Boy, wouldn't that be a nice feature! Unfortunately the structure of E-Prime programming objects presents several obstacles to your goal. But first off, if you just want to do Likert scales and are not too fussy about the timing, you might try MediaLab from Empirisoft. MediaLab (and its companion product, DirectRT) cannot do everything that E-Prime does (e.g., cannot do a psychophysical threshold procedure), but what they do they do much better than E-Prime. I believe you can get a trial version from the Empirisoft web site. Now I assume that your EP program just presents your questions from a list object, and you want to return to a prior level (row) of the list. And that is the problem. Once a list is running EP does not provide any good way to backtrack (or skip forward) through the list. Specifically, no "goto" will help you, because there is no program destination to return to, you really want to re-run an earlier level from the list object. To be sure, you could try things like List.GetPrevAttrib (see the online E-Basic Help), and as I recall from my explorations that even has the side effect of moving the list's order pointer backwards. But even if that moved you back, you would have to change the Exit Condition (List.TerminateCondition) to add one more sample before the list quits, and I do not think that you can alter the Exit Condition once the list is running. Finally, once a response gets logged you cannot unlog it, so you would still have the invalid answers in the .edat file and would have to filter those out. Of course, I would like it very much if someone else could weigh in with a solution, perhaps I missed something. >I still can't run videos on eprime on my Vista machine. ho-hum. Then you just need to revert to XP. As has been reported several times on this list and the PST Forum, EP2 continues to have problems with video and sound under Vista, although they seem to work OK under XP. (EP1 sound does work under Vista, although EP1 cannot do videos at all, and its sound does not have the new streaming buffer mode.) I am one of the few people who actually likes what Microsoft is trying to do with Vista, unfortunately Microsoft did not finish writing the OS before they marketed it. Perhaps when Microsoft finishes writing the code everything will be OK. Until then researchers need to stick with XP. Or we should all just find a way to move to Linux or Max OS X. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Thu Sep 18 21:36:44 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 18 Sep 2008 17:36:44 -0400 Subject: repeat one of the sample of items In-Reply-To: <48d2c624.5605be0a.1a22.1211SMTPIN_ADDED@mx.google.com> Message-ID: >if you just want to do Likert scales and are not too fussy about the >timing, you might try MediaLab from Empirisoft. More to the point, I believe the current version of MediaLab includes a specific feature for moving back one question at a time. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Fri Sep 19 14:29:52 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 19 Sep 2008 10:29:52 -0400 Subject: repeat one of the sample of items In-Reply-To: <48d2c624.5605be0a.1a22.1211SMTPIN_ADDED@mx.google.com> Message-ID: Luna, I gave your problem some more thought last night (once my mind latches on to one of these little puzzles it's hard to let it go). Now I do not think that your goal is quite so impossible, and at the risk of boring others on the list I will give you my latest thoughts. I would try putting a bit of script at the beginning and the end of your trial procedure. At the end I would use a bit of script just to set a "flag" if I wanted to return to the previous list item. In the beginning of the trial procedure I would use some script to check this flag -- for the sake of discussion, let's call the current trial "trial B", and the previous one "trial A". If the flag were set then I would use List.GetPrevAttrib or whatever to set all the attributes back to the values from trial A, and then run the trial. Now, I do not know if the list would then automatically return to trial B and continue from there, so that may be a problem. There remains the problem of changing the number of trials during the list. For that I would just set the list properties to exit after some large number of trials (say, 10,000 cycles). Then my script at the end of the trial procedure would take care of figuring out when to end the list, and then end the list from script with List.Terminate. Oh, you might also look at the "Rerun Error Trials Until All Correct" sample at http://www.pstnet.com/e-prime/support/samples.asp (requires login). From the description this does not do exactly what you want, as I think it defers rerunning the trials until it has finished the first run of all the trials, but it might give you some ideas. I will be very interested if you make this work, so please write back and let us know how this turns out! -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Fri Sep 19 13:25:42 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Fri, 19 Sep 2008 06:25:42 -0700 Subject: repeat one of the sample of items In-Reply-To: <48d2c9f1.8702be0a.4416.2694SMTPIN_ADDED@mx.google.com> Message-ID: Hi Luna, I am not sure if this would resolve the problem, but why not include a confirmation screen on your TrialProc so that the subject will see what E-Prime logged as their response, and then allow them to go back to the stimulus object to choose again if they pressed a key they didn't mean to, changed their mind, etc? This can be handled with a little script after the confirmation object that just checks to see what the subject's response was, and then jumps back to a Label placed before the stimulus object (using a Goto command) if the subject does not confirm their response. With the way that information is logged in E-Prime, it is not possible to jump back to previous trials because the data for that trial has already been logged (i.e., E-Prime logs data at the end of each Procedure). You would either need to log the data as a new line in the data file, or create your own external data file that could overwrite previous trials (this would be very time consuming and error-prone). There are ways to go back to previous trials in E-Prime, they are just not as straightforward as telling E-Prime to re-run level X in List Y (again, however, you would need to re-log data even if you did this). Please let me know if you have any further questions. - Matt PST Technical Consultant http://www.pstnet.com/ On Sep 18, 5:36?pm, David McFarlane wrote: > >if you just want to do Likert scales and are not too fussy about the > >timing, you might try MediaLab from Empirisoft. > > More to the point, I believe the current version of MediaLab includes > a specific feature for moving back one question at a time. > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From paulj at psy.uq.edu.au Fri Sep 19 20:19:08 2008 From: paulj at psy.uq.edu.au (Paul Jackson) Date: Sat, 20 Sep 2008 06:19:08 +1000 Subject: repeat one of the sample of items In-Reply-To: <48d3b765.e701be0a.7256.ffffe75fSMTPIN_ADDED@mx.google.com> Message-ID: Luna, I have only had a quick glance over this thread so please ignore me if I have missed crucial points. >From what I can see you just want to repeat a trial after it is run if a given button is pressed. Is that true? Now assuming that you don't want to keep the results from the first time couldn't you just have a goto at the end of the trial to start it again if the given button is pressed? Paul ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Paul R. Jackson Experimental Programmer School of Psychology University of Queensland E: paulj at psy.uq.edu.au P: 33656950 W: www.psy.uq.edu.au/~paulj ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On > Behalf Of David McFarlane > Sent: Saturday, 20 September 2008 12:30 AM > To: e-prime at googlegroups.com > Subject: Re: repeat one of the sample of items > > > Luna, > > I gave your problem some more thought last night (once my mind > latches on to one of these little puzzles it's hard to let it > go). Now I do not think that your goal is quite so impossible, and > at the risk of boring others on the list I will give you my latest > thoughts. > > I would try putting a bit of script at the beginning and the end of > your trial procedure. At the end I would use a bit of script just to > set a "flag" if I wanted to return to the previous list item. In the > beginning of the trial procedure I would use some script to check > this flag -- for the sake of discussion, let's call the current trial > "trial B", and the previous one "trial A". If the flag were set then > I would use List.GetPrevAttrib or whatever to set all the attributes > back to the values from trial A, and then run the trial. Now, I do > not know if the list would then automatically return to trial B and > continue from there, so that may be a problem. > > There remains the problem of changing the number of trials during the > list. For that I would just set the list properties to exit after > some large number of trials (say, 10,000 cycles). Then my script at > the end of the trial procedure would take care of figuring out when > to end the list, and then end the list from script with List.Terminate. > > Oh, you might also look at the "Rerun Error Trials Until All Correct" > sample at http://www.pstnet.com/e-prime/support/samples.asp (requires > login). From the description this does not do exactly what you want, > as I think it defers rerunning the trials until it has finished the > first run of all the trials, but it might give you some ideas. > > I will be very interested if you make this work, so please write back > and let us know how this turns out! > > -- David McFarlane, Professional Faultfinder > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From maryesmith at gmail.com Fri Sep 19 20:45:32 2008 From: maryesmith at gmail.com (mary) Date: Fri, 19 Sep 2008 13:45:32 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <732b291f-530b-425e-b30c-cdd56ef5c6fd@i20g2000prf.googlegroups.com> Message-ID: Thanks so much! We got the Eprime 2.0 Standard version, so what are the steps for using the joystick as input in the inline script? I already added the joystick as an input device for the Experiment Object as you suggested. Also, what kind of information should I expect to receive from a joystick? Would it be possible to just get input when the person presses a button after they adjust the joystick to a particular angle? Thanks, Mary On Sep 4, 12:42?pm, Matt Lenhart wrote: > Mary, > > Depending on which version of E-Prime 2.0 you ordered (i.e., Standard > or Professional), the Joystick will operate a bit differently. In both > versions, you will add the Joystick device via the Experiment object's > Property Pages. That is, you will double-click the Experiment object > at the top of the Structure window, navigate to the Devices tab, click > Add, and add the Joystick. > > In E-Prime 2.0 Professional, you can then add the Joystick as an input > mask in the same manner as any other response device. In E-Prime 2.0, > response collection must be handled in InLine script (which we can > assist you with if necessary). > > - Matt > PST Technical Consultanthttp://www.pstnet.com/ > > On Sep 4, 12:17?pm, mary wrote: > > > Thanks so much for your help--we're ordering Eprime 2.0 so for future > > reference, how would you make the joystick as input for eprime? > > > Thanks, > > Mary > > > On Sep 3, 3:58?pm, Matt Lenhart wrote: > > > > Hi Mary, > > > > E-Prime v1.x is capable of recording responses from a joystick, but > > > only the buttons will be recognized as input. The current version is > > > not capable of reading the joystick position along an x/y axis. This > > > only applies to joysticks that connect through the parallel or game > > > ports. > > > > Joystick support for buttons, sliders, POV controls, and x-y-z > > > position, is available in E-Prime 2.0. Please seehttp://pstnet.com/products/e-prime/faq/efaq2.htmformoreinformation > > > on upgrading. > > > > Please let me know if you have any further questions. > > > > - Matt > > > PST Technical Consultanthttp://www.pstnet.com/ > > > > On Sep 3, 1:54?pm, David McFarlane wrote: > > > > > Mary, > > > > > > We're doing an experiment that we need joystick input to get resulting > > > > > angles in degrees as our output--is this possible in Eprime version > > > > > 1.1? ?Would a joystick be able to give that kind of output? > > > > > I have never used a joystick in EP, so I hope someone else will weigh in > > > > ? here. ?But if the joystick gives you xy coordinates, and if you have > > > > the xy coordinate of the joystick center, then you should be able to get > > > > angles in degrees just with a bit of trigonometry in an inline script. > > > > > -- David McFarlane, Professional Faultfinder > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Sep 22 17:42:44 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 22 Sep 2008 13:42:44 -0400 Subject: repeat one of the sample of items In-Reply-To: <48d3b765.e701be0a.7256.ffffe75fSMTPIN_ADDED@mx.google.com> Message-ID: Luna, Sorry I keep coming back to this, but you pose a fascinating little puzzle. As yet another alternative, if you just want to do Likert scales and do not care too much about the timing, you could do this with a bit of HTML, JavaScript, and maybe some ActiveX in Internet Explorer or another suitable web browser. With HTML links you can easily make each trial go whereever you like. We have done things like this ourselves to good effect, and it does not cost anything. Just another thought, -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Mon Sep 22 18:30:57 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Mon, 22 Sep 2008 11:30:57 -0700 Subject: repeat one of the sample of items In-Reply-To: Message-ID: > Luna, > > I have only had a quick glance over this thread so please ignore me if I > have missed crucial points. > > From what I can see you just want to repeat a trial after it is run if a > given button is pressed. Is that true? Now assuming that you don't want > to keep the results from the first time couldn't you just have a goto at > the end of the trial to start it again if the given button is pressed? > > Paul > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ?Paul R. Jackson > > ?Experimental Programmer > ?School of Psychology > ?University of Queensland > > ?E: pa... at psy.uq.edu.au > ?P: 33656950 > ?W:www.psy.uq.edu.au/~paulj > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Really, unless you want to account for a situation where the subject decides 4 or 5 trials into the experiment that they want to revise their response to the first trial, this is the way to go. You can let the subject see the question and their response at the end of the trial, and give them one last chance to go back and modify it if they hit the wrong key or suddenly changed their mind after reading the question again. Yes, there are other ways of implementing a Likert scale test/survey so that you can backtrack through the questions that have already been presented, but unless you anticipate a situation like the above occurring regularly, I really don't think that it is necessary to go beyond a simple confirmation screen. - Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Mon Sep 22 18:49:21 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Mon, 22 Sep 2008 11:49:21 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <3791c8ee-c5ac-4b20-af34-9ca2e680bbb2@59g2000hsb.googlegroups.com> Message-ID: Hi Mary, Since all joystick responses must be collected via InLine script in E- Prime 2.0, you can log whatever data you need manually. So, for example, say you want to present a word, and then have the subject move the joystick and press the 1 button to submit their response. You would create a TextDisplay object with a 0 Duration (no input masks), and then place an InLine object immediately after. Inside the InLine you would use script similar to the following: Dim ptCursor As Point Do Loop Until Joystick.Buttons And ebJoystickButton1 c.SetAttrib "JoystickRTTime", Clock.Read c.Setattrib "JoystickRT", Clock.Read - TextDisplay1.OnsetTime Joystick.GetCursorPos ptCursor.x, ptCursor.y c.SetAttrib "JoystickX", ptCursor.x c.SetAttrib "JoystickY", ptCursor.y This script assumes that the TextDisplay object is named TextDisplay1. This script will loop continuously until a response is detected. It will then log the Clock.Read value (i.e., current time) and calculate the RT based on the current time and the onset time of the TextDisplay1 object. It will then get the cursor position and log the X and Y values. You can log additional information if necessary using the c.SetAttrib command. I would recommend looking at the Mouse device topic in the E- Basic Help (accessed via the Help menu in E-Studio) for a good idea of the properties that can be logged from the Joystick device (they are virtually identical). Please let me know if you have any further questions. - Matt On Sep 19, 4:45?pm, mary wrote: > Thanks so much! ?We got the Eprime 2.0 Standard version, so what are > the steps for using the joystick as input in the inline script? ?I > already added the joystick as an input device for the Experiment > Object as you suggested. > > Also, what kind of information should I expect to receive from a > joystick? ?Would it be possible to just get input when the person > presses a button after they adjust the joystick to a particular angle? > > Thanks, > Mary > > On Sep 4, 12:42?pm, Matt Lenhart wrote: > > > Mary, > > > Depending on which version of E-Prime 2.0 you ordered (i.e., Standard > > or Professional), the Joystick will operate a bit differently. In both > > versions, you will add the Joystick device via the Experiment object's > > Property Pages. That is, you will double-click the Experiment object > > at the top of the Structure window, navigate to the Devices tab, click > > Add, and add the Joystick. > > > In E-Prime 2.0 Professional, you can then add the Joystick as an input > > mask in the same manner as any other response device. In E-Prime 2.0, > > response collection must be handled in InLine script (which we can > > assist you with if necessary). > > > - Matt > > PST Technical Consultanthttp://www.pstnet.com/ > > > On Sep 4, 12:17?pm, mary wrote: > > > > Thanks so much for your help--we're ordering Eprime 2.0 so for future > > > reference, how would you make the joystick as input for eprime? > > > > Thanks, > > > Mary > > > > On Sep 3, 3:58?pm, Matt Lenhart wrote: > > > > > Hi Mary, > > > > > E-Prime v1.x is capable of recording responses from a joystick, but > > > > only the buttons will be recognized as input. The current version is > > > > not capable of reading the joystick position along an x/y axis. This > > > > only applies to joysticks that connect through the parallel or game > > > > ports. > > > > > Joystick support for buttons, sliders, POV controls, and x-y-z > > > > position, is available in E-Prime 2.0. Please seehttp://pstnet.com/products/e-prime/faq/efaq2.htmformoreinformation > > > > on upgrading. > > > > > Please let me know if you have any further questions. > > > > > - Matt > > > > PST Technical Consultanthttp://www.pstnet.com/ > > > > > On Sep 3, 1:54?pm, David McFarlane wrote: > > > > > > Mary, > > > > > > > We're doing an experiment that we need joystick input to get resulting > > > > > > angles in degrees as our output--is this possible in Eprime version > > > > > > 1.1? ?Would a joystick be able to give that kind of output? > > > > > > I have never used a joystick in EP, so I hope someone else will weigh in > > > > > ? here. ?But if the joystick gives you xy coordinates, and if you have > > > > > the xy coordinate of the joystick center, then you should be able to get > > > > > angles in degrees just with a bit of trigonometry in an inline script. > > > > > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From maryesmith at gmail.com Mon Sep 22 19:33:24 2008 From: maryesmith at gmail.com (mary) Date: Mon, 22 Sep 2008 12:33:24 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <751e9547-a54e-48d8-8320-5af474b10baf@59g2000hsb.googlegroups.com> Message-ID: OK that helps a lot. We won't be using the joystick like a mouse though--we don't want a cursor on the screen and I eventually want to just get the angle of the joystick as my output (or radians or whatever is easiest... this is a navigational type of experiment so we're treating the joystick as if they were pointing to a location with it), as opposed to the position on the screen (as the participants won't see any cursors at all). I guess if there's no function like that then I can put in a cursor and just calculate the angle from the center of the screen or something, but that might just be a little more confusing for the subjects. Thanks! Mary On Sep 22, 2:49?pm, Matt Lenhart wrote: > Hi Mary, > > Since all joystick responses must be collected via InLine script in E- > Prime 2.0, you can log whatever data you need manually. So, for > example, say you want to present a word, and then have the subject > move the joystick and press the 1 button to submit their response. You > would create a TextDisplay object with a 0 Duration (no input masks), > and then place an InLine object immediately after. Inside the InLine > you would use script similar to the following: > > Dim ptCursor As Point > > Do > Loop Until Joystick.Buttons And ebJoystickButton1 > > c.SetAttrib "JoystickRTTime", Clock.Read > c.Setattrib "JoystickRT", Clock.Read - TextDisplay1.OnsetTime > > Joystick.GetCursorPos ptCursor.x, ptCursor.y > > c.SetAttrib "JoystickX", ptCursor.x > c.SetAttrib "JoystickY", ptCursor.y > > This script assumes that the TextDisplay object is named TextDisplay1. > This script will loop continuously until a response is detected. It > will then log the Clock.Read value (i.e., current time) and calculate > the RT based on the current time and the onset time of the > TextDisplay1 object. It will then get the cursor position and log the > X and Y values. > > You can log additional information if necessary using the c.SetAttrib > command. I would recommend looking at the Mouse device topic in the E- > Basic Help (accessed via the Help menu in E-Studio) for a good idea of > the properties that can be logged from the Joystick device (they are > virtually identical). > > Please let me know if you have any further questions. > > - Matt > > On Sep 19, 4:45?pm, mary wrote: > > > Thanks so much! ?We got the Eprime 2.0 Standard version, so what are > > the steps for using the joystick as input in the inline script? ?I > > already added the joystick as an input device for the Experiment > > Object as you suggested. > > > Also, what kind of information should I expect to receive from a > > joystick? ?Would it be possible to just get input when the person > > presses a button after they adjust the joystick to a particular angle? > > > Thanks, > > Mary > > > On Sep 4, 12:42?pm, Matt Lenhart wrote: > > > > Mary, > > > > Depending on which version of E-Prime 2.0 you ordered (i.e., Standard > > > or Professional), the Joystick will operate a bit differently. In both > > > versions, you will add the Joystick device via the Experiment object's > > > Property Pages. That is, you will double-click the Experiment object > > > at the top of the Structure window, navigate to the Devices tab, click > > > Add, and add the Joystick. > > > > In E-Prime 2.0 Professional, you can then add the Joystick as an input > > > mask in the same manner as any other response device. In E-Prime 2.0, > > > response collection must be handled in InLine script (which we can > > > assist you with if necessary). > > > > - Matt > > > PST Technical Consultanthttp://www.pstnet.com/ > > > > On Sep 4, 12:17?pm, mary wrote: > > > > > Thanks so much for your help--we're ordering Eprime 2.0 so for future > > > > reference, how would you make the joystick as input for eprime? > > > > > Thanks, > > > > Mary > > > > > On Sep 3, 3:58?pm, Matt Lenhart wrote: > > > > > > Hi Mary, > > > > > > E-Prime v1.x is capable of recording responses from a joystick, but > > > > > only the buttons will be recognized as input. The current version is > > > > > not capable of reading the joystick position along an x/y axis. This > > > > > only applies to joysticks that connect through the parallel or game > > > > > ports. > > > > > > Joystick support for buttons, sliders, POV controls, and x-y-z > > > > > position, is available in E-Prime 2.0. Please seehttp://pstnet.com/products/e-prime/faq/efaq2.htmformoreinformation > > > > > on upgrading. > > > > > > Please let me know if you have any further questions. > > > > > > - Matt > > > > > PST Technical Consultanthttp://www.pstnet.com/ > > > > > > On Sep 3, 1:54?pm, David McFarlane wrote: > > > > > > > Mary, > > > > > > > > We're doing an experiment that we need joystick input to get resulting > > > > > > > angles in degrees as our output--is this possible in Eprime version > > > > > > > 1.1? ?Would a joystick be able to give that kind of output? > > > > > > > I have never used a joystick in EP, so I hope someone else will weigh in > > > > > > ? here. ?But if the joystick gives you xy coordinates, and if you have > > > > > > the xy coordinate of the joystick center, then you should be able to get > > > > > > angles in degrees just with a bit of trigonometry in an inline script. > > > > > > > -- David McFarlane, Professional Faultfinder > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From maryesmith at gmail.com Tue Sep 23 19:25:17 2008 From: maryesmith at gmail.com (Mary E Smith (by way of David McFarlane )) Date: Tue, 23 Sep 2008 15:25:17 -0400 Subject: using joystick input for version 1.1 Message-ID: [This came to me personally, but I think it was meant for the list, so I am posting it here.] How would I make it so the experiment holds the slide for 5 seconds instead of moving on when the user inputs their answer? On Mon, Sep 22, 2008 at 4:17 PM, Mary E Smith <maryesmith at gmail.com> wrote: OK thanks so much for all your help! On Mon, Sep 22, 2008 at 3:44 PM, David McFarlane <mcfarla9 at msu.edu> wrote: (Replying off-list...) Mary, We won't be using the joystick like a mouse though--we don't want a cursor on the screen FWIW, I would bet that you do not need to display the cursor in order to get cursor coordinates from the joystick. -- David McFarlane --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Tue Sep 23 19:28:07 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 23 Sep 2008 15:28:07 -0400 Subject: using joystick input for version 1.1 In-Reply-To: <48d9429f.8702be0a.4416.ffffe720SMTPIN_ADDED@mx.google.com> Message-ID: Mary, >How would I make it so the experiment holds the slide for 5 seconds >instead of moving on when the user inputs their answer? Hmm, you would think that this was covered somewhere in the documentation, but I cannot find it anywhere so I will just give you the answer and add this to the FAQ that I am writing. You just need to change the End Action of your slide from "Terminate" (the default) to "(none)". It is that simple. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Wed Sep 24 01:10:49 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 23 Sep 2008 18:10:49 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <48d9429f.8702be0a.4416.ffffe720SMTPIN_ADDED@mx.google.com> Message-ID: Hi Mary, Since you are collecting a response via script (rather than through an input mask), you would need to do something like this: Dim lnEndTime As Long lnEndTime = Clock.Read + 5000 Do If Joystick.Buttons And ebJoystickButton1 Then c.SetAttrib "JoystickRTTime", Clock.Read c.Setattrib "JoystickRT", Clock.Read - TextDisplay1.OnsetTime Joystick.GetCursorPos ptCursor.x, ptCursor.y c.SetAttrib "JoystickX", ptCursor.x c.SetAttrib "JoystickY", ptCursor.y End If Loop Until Clock.Read > lnEndTime This will basically loop until 5 seconds have passed, regardless of when the subject responds (i.e., the object will stay up for 5 seconds no matter what happens). When the response is detected, however, all of the necessary information will be logged. This technique is covered in several samples available on the official PST support site (Run Trials for Specified Time, Process Responses Template). - Matt On Sep 23, 3:25?pm, "Mary E Smith" (by way of David McFarlane ) wrote: > [This came to me personally, but I think it was meant for the list, > so I am posting it here.] > > How would I make it so the experiment holds the slide for 5 seconds > instead of moving on when the user inputs their answer? > > On Mon, Sep 22, 2008 at 4:17 PM, Mary E Smith<maryesm... at gmail.com> wrote: > > OK thanks so much for all your help! > > On Mon, Sep 22, 2008 at 3:44 PM, David McFarlane<mcfar... at msu.edu> wrote: > > (Replying off-list...) > Mary, > > We won't be using the joystick like a mouse though--we don't want a > cursor on the screen > > FWIW, I would bet that you do not need to display the cursor in order > to get cursor coordinates from the joystick. > > -- David McFarlane --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Wed Sep 24 01:27:38 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 23 Sep 2008 18:27:38 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <48d94349.e701be0a.7256.ffffe6b4SMTPIN_ADDED@mx.google.com> Message-ID: > Hmm, you would think that this was covered somewhere in the > documentation, but I cannot find it anywhere so I will just give you > the answer and add this to the FAQ that I am writing. > > You just need to change the End Action of your slide from "Terminate" > (the default) to "(none)". ?It is that simple. This is usually an advanced scripting technique that was only needed for specific tasks. It was previously documented in our Knowledge Base (http://www.pstnet.com/e-prime/support/kb.asp?TopicID=3026). Since this will be required for using the joystick in E-Prime 2.0 Standard, it will likely be included in the New Features Guide. - Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Wed Sep 24 01:29:44 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 23 Sep 2008 18:29:44 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <4bf48ec4-9880-4de3-ac31-d553f9a68400@k13g2000hse.googlegroups.com> Message-ID: I should clarify and say that it should be documented in the New Features Guide or User's Guide when the final release is available (possibly sometime before that). - Matt On Sep 23, 9:27?pm, Matt Lenhart wrote: > > Hmm, you would think that this was covered somewhere in the > > documentation, but I cannot find it anywhere so I will just give you > > the answer and add this to the FAQ that I am writing. > > > You just need to change the End Action of your slide from "Terminate" > > (the default) to "(none)". ?It is that simple. > > This is usually an advanced scripting technique that was only needed > for specific tasks. It was previously documented in our Knowledge Base > (http://www.pstnet.com/e-prime/support/kb.asp?TopicID=3026). Since > this will be required for using the joystick in E-Prime 2.0 Standard, > it will likely be included in the New Features Guide. > > - Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From maryesmith at gmail.com Wed Sep 24 15:15:34 2008 From: maryesmith at gmail.com (mary) Date: Wed, 24 Sep 2008 08:15:34 -0700 Subject: using joystick input for version 1.1 In-Reply-To: Message-ID: Just in case anyone else uses the script above, you also have to include at the top: Dim ptCursor As Point Thanks so much for everyone's help! On Sep 23, 9:10?pm, Matt Lenhart wrote: > Hi Mary, > > Since you are collecting a response via script (rather than through an > input mask), you would need to do something like this: > > Dim lnEndTime As Long > lnEndTime = Clock.Read + 5000 > > Do > > ?If Joystick.Buttons And ebJoystickButton1 Then > > ? c.SetAttrib "JoystickRTTime", Clock.Read > ? c.Setattrib "JoystickRT", Clock.Read - TextDisplay1.OnsetTime > > ? Joystick.GetCursorPos ptCursor.x, ptCursor.y > > ? c.SetAttrib "JoystickX", ptCursor.x > ? c.SetAttrib "JoystickY", ptCursor.y > > ?End If > > Loop Until Clock.Read > lnEndTime > > This will basically loop until 5 seconds have passed, regardless of > when the subject responds (i.e., the object will stay up for 5 seconds > no matter what happens). When the response is detected, however, all > of the necessary information will be logged. This technique is covered > in several samples available on the official PST support site (Run > Trials for Specified Time, Process Responses Template). > > - Matt > > On Sep 23, 3:25?pm, "Mary E Smith" (by way of > > David McFarlane ) wrote: > > [This came to me personally, but I think it was meant for the list, > > so I am posting it here.] > > > How would I make it so the experiment holds the slide for 5 seconds > > instead of moving on when the user inputs their answer? > > > On Mon, Sep 22, 2008 at 4:17 PM, Mary E Smith<maryesm... at gmail.com> wrote: > > > OK thanks so much for all your help! > > > On Mon, Sep 22, 2008 at 3:44 PM, David McFarlane<mcfar... at msu.edu> wrote: > > > (Replying off-list...) > > Mary, > > > We won't be using the joystick like a mouse though--we don't want a > > cursor on the screen > > > FWIW, I would bet that you do not need to display the cursor in order > > to get cursor coordinates from the joystick. > > > -- David McFarlane > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Wed Sep 24 16:16:21 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 24 Sep 2008 12:16:21 -0400 Subject: using joystick input for version 1.1 In-Reply-To: <4bf48ec4-9880-4de3-ac31-d553f9a68400@k13g2000hse.googlegroups.com> Message-ID: Matt, >> Hmm, you would think that this was covered somewhere in the >> documentation, but I cannot find it anywhere so I will just give you >> the answer and add this to the FAQ that I am writing. >> >> You just need to change the End Action of your slide from "Terminate" >> (the default) to "(none)". It is that simple. > > This is usually an advanced scripting technique that was only needed > for specific tasks. It was previously documented in our Knowledge Base > (http://www.pstnet.com/e-prime/support/kb.asp?TopicID=3026). Since > this will be required for using the joystick in E-Prime 2.0 Standard, > it will likely be included in the New Features Guide. Thanks, I clearly missed the mark with regard to Mary's needs with the joystick under EP2 standard, she needed more than EndAction (none) in this special case. OTOH, I do not see why EndAction (none) should be considered an "advanced scripting technique ... only needed for specific tasks". We use it all the time here for our fMRI tasks without any script at all, it is just a simple way to keep everything to set times. It is one of the handy things that make E-Prime a good product, and I would not want to scare anyone off from using it. Unless, once again, I am missing something. Just my $.02, -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mplenhart at gmail.com Wed Sep 24 20:16:19 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Wed, 24 Sep 2008 13:16:19 -0700 Subject: using joystick input for version 1.1 In-Reply-To: <48DA67D5.3070707@msu.edu> Message-ID: David, Sorry if I was not clear on this. Using an End Action of "none" is not the advanced technique. The use of a loop to run script in the background while an object is on the screen is what I was referring to (which is required for joystick response collection in EP2 Standard). Setting the End Action to "none" is a part of this because the object that is on screen while the loop runs has a duration of 0, meaning that E-Prime has already "terminated" this object. If End Action is set to "Terminate" in this case, and the subject responds, E-Prime will actually terminate the NEXT object, which obviously will cause some serious problems depending on the experiment's setup. - Matt On Sep 24, 12:16?pm, David McFarlane wrote: > Matt, > > >> Hmm, you would think that this was covered somewhere in the > >> documentation, but I cannot find it anywhere so I will just give you > >> the answer and add this to the FAQ that I am writing. > > >> You just need to change the End Action of your slide from "Terminate" > >> (the default) to "(none)". ?It is that simple. > > > This is usually an advanced scripting technique that was only needed > > for specific tasks. It was previously documented in our Knowledge Base > > (http://www.pstnet.com/e-prime/support/kb.asp?TopicID=3026). Since > > this will be required for using the joystick in E-Prime 2.0 Standard, > > it will likely be included in the New Features Guide. > > Thanks, I clearly missed the mark with regard to Mary's needs with the > joystick under EP2 standard, she needed more than EndAction (none) in > this special case. > > OTOH, I do not see why EndAction (none) should be considered an > "advanced scripting technique ... only needed for specific tasks". ?We > use it all the time here for our fMRI tasks without any script at all, > it is just a simple way to keep everything to set times. ?It is one of > the handy things that make E-Prime a good product, and I would not want > to scare anyone off from using it. > > Unless, once again, I am missing something. > > Just my $.02, > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From benhisattva at googlemail.com Thu Sep 25 14:41:22 2008 From: benhisattva at googlemail.com (Ben) Date: Thu, 25 Sep 2008 07:41:22 -0700 Subject: Questionnaire in E-Prime 1 Message-ID: Hi, I would like to implement a questionnaire in E-Prime, but I got stuck. The subject has to choose zero or five answers and then proceed to the next part. The instructions say that the subject should press the corresponding numbers and then space or if none of the answers is correct immediately press space. I used a text-display and added two keyboards as input device - one for the numbers and one for the space button to terminate. My problem is that e-prime just stucks and does not react when pressing the spacebar after pressing a number. Thanks for help in advance, Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From benhisattva at googlemail.com Thu Sep 25 14:23:47 2008 From: benhisattva at googlemail.com (Benjamin Kuhr) Date: Thu, 25 Sep 2008 10:23:47 -0400 Subject: Questionnaire in E-Prime 1 Message-ID: Hi, I would like to implement a questionnaire in E-Prime, but I got stuck. The subject has to choose zero or five answers and then proceed to the next part. The instructions say that the subject should press the corresponding numbers and then space or if none of the answers is correct immediately press space. I used a text-display and added two keyboards as input device - one for the numbers and one for the space button to terminate. My problem is that e-prime just stucks and does not react when pressing the spacebar. Thanks for help in advance, Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Sep 25 20:50:05 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 25 Sep 2008 16:50:05 -0400 Subject: Questionnaire in E-Prime 1 In-Reply-To: <5a12715e0809250723h64044f64x4476a7261b9e1f65@mail.gmail.co m> Message-ID: Ben, >I would like to implement a questionnaire in E-Prime, but I got stuck. The >subject has to choose zero or five answers and then proceed to the next >part. The instructions say that the subject should press the corresponding >numbers and then space or if none of the answers is correct immediately >press space. I used a text-display and added two keyboards as input device >- one for the numbers and one for the space button to terminate. My >problem is that e-prime just stucks and does not react when pressing the >spacebar. Just curious -- any particular reason why you want to do this questionnaire in E-Prime instead of something simpler (like MediaLab, or even HTML)? -- David McFarlane --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From benhisattva at googlemail.com Fri Sep 26 00:19:28 2008 From: benhisattva at googlemail.com (Ben) Date: Thu, 25 Sep 2008 17:19:28 -0700 Subject: Questionnaire in E-Prime 1 In-Reply-To: <48dbf980.e701be0a.7256.1b1dSMTPIN_ADDED@mx.google.com> Message-ID: It is part of a lager test batterie. I am validating a picture anomaly test which should measure the social cognition abilities of TLE patients and I got in total four different tests. It would be nice to presented them all with one program. //Ben On 25 Sep., 16:50, David McFarlane wrote: > Ben, > > >I would like to implement a questionnaire in E-Prime, but I got stuck. The > >subject has to choose zero or five answers and then proceed to the next > >part. The instructions say that the subject should press the corresponding > >numbers and then space or if none of the answers is correct immediately > >press space. I used a text-display and added two keyboards as input device > >- one for the numbers and one for the space button to terminate. My > >problem is that e-prime just stucks and does not react when pressing the > >spacebar. > > Just curious -- any particular reason why you want to do this > questionnaire in E-Prime instead of something simpler (like MediaLab, > or even HTML)? > > -- David McFarlane --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Fri Sep 26 14:18:38 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 26 Sep 2008 10:18:38 -0400 Subject: Questionnaire in E-Prime 1 In-Reply-To: <2c28338c-0776-4ff8-a88c-cf5a659474d3@v16g2000prc.googlegro ups.com> Message-ID: Ben, >It is part of a lager test batterie. I am validating a picture anomaly >test which should measure the social cognition abilities of TLE >patients and I got in total four different tests. It would be nice to >presented them all with one program. Thanks, just wondered, that makes sense. Moving on... Now I wonder why you use two separate keyboards, one for the numbers and one for the space bar. Surely a single keyboard would have both numbers and a space bar, so you could do all this with one keyboard. But let's leave that aside. Next, the subject presses either two keys (a number plus {SPACE}) or just one key ({SPACE}) to continue. I assume you do this with the Advanced input mask features, by setting MaxCount to 2 (Disclaimer: I have never used this feature myself, so I am stretching here). If you did not also set Termination Response to {SPACE}, then the subject must *always* press two keys to continue, i.e., if they press just {SPACE} then the questionaire will not continue (although it would if they pressed {SPACE} twice, give that a try). So, you might try setting Termination Response to {SPACE}. That said, is there any reason they must press a number key plus the {SPACE}? Why not continue as soon as they press the number key? What have I missed? -- David McFarlane, Professional Faultfinder >On 25 Sep., 16:50, David McFarlane wrote: > > Ben, > > > > >I would like to implement a questionnaire in E-Prime, but I got stuck. The > > >subject has to choose zero or five answers and then proceed to the next > > >part. The instructions say that the subject should press the corresponding > > >numbers and then space or if none of the answers is correct immediately > > >press space. I used a text-display and added two keyboards as input device > > >- one for the numbers and one for the space button to terminate. My > > >problem is that e-prime just stucks and does not react when pressing the > > >spacebar. > > > > Just curious -- any particular reason why you want to do this > > questionnaire in E-Prime instead of something simpler (like MediaLab, > > or even HTML)? > > > > -- David McFarlane --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From j.jacobson3 at gmail.com Thu Sep 25 15:32:18 2008 From: j.jacobson3 at gmail.com (JJUMiami) Date: Thu, 25 Sep 2008 08:32:18 -0700 Subject: Correct and Incorrect Feedback Question Message-ID: Hi All, I am trying to program eprime so that the Correct Answer feedback display appears for 100ms and the Incorrect Answer feedback display appears for 500ms. However, since the Correct and Incorrect feedback displays are linked together, the program will not allow me to assign different display times to each. Any suggestions on how to solve this problem would be greatly appreciated! Best, Jessica --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From benhisattva at googlemail.com Mon Sep 29 14:17:23 2008 From: benhisattva at googlemail.com (Ben) Date: Mon, 29 Sep 2008 07:17:23 -0700 Subject: Questionnaire in E-Prime 1 In-Reply-To: <48dcef41.5605be0a.1a22.fffff4e7SMTPIN_ADDED@mx.google.com> Message-ID: Hi David, I use two keyboards because the first one is just for data logging, it accepts 1,2,3,4 as input. The second one only accepts space and is used for termination. The subject may press any number for one time, every trial it has to decide how many answers are correct ranging from zero correct answers two four. Afterwards it has to press the spacebar to proceed. So one could press just the spacebar or 1,2,3,4 and space. If I set the EndAction of the first keyboard to (none), the EndAction of the second keyboard to terminate and set MaxCount of the first keyboard to four, it terminates after the first number anyway. //Ben On 26 Sep., 10:18, David McFarlane wrote: > Ben, > > >It is part of a lager test batterie. I am validating a picture anomaly > >test which should measure the social cognition abilities of TLE > >patients and I got in total four different tests. It would be nice to > >presented them all with one program. > > Thanks, just wondered, that makes sense. ?Moving on... > > Now I wonder why you use two separate keyboards, one for the numbers > and one for the space bar. ?Surely a single keyboard would have both > numbers and a space bar, so you could do all this with one > keyboard. ?But let's leave that aside. > > Next, the subject presses either two keys (a number plus {SPACE}) or > just one key ({SPACE}) to continue. ?I assume you do this with the > Advanced input mask features, by setting MaxCount to 2 > (Disclaimer: ?I have never used this feature myself, so I am > stretching here). ?If you did not also set Termination Response to > {SPACE}, then the subject must *always* press two keys to continue, > i.e., if they press just {SPACE} then the questionaire will not > continue (although it would if they pressed {SPACE} twice, give that a try). > > So, you might try setting Termination Response to {SPACE}. > > That said, is there any reason they must press a number key plus the > {SPACE}? ?Why not continue as soon as they press the number > key? ?What have I missed? > > -- David McFarlane, Professional Faultfinder > > >On 25 Sep., 16:50, David McFarlane wrote: > > > Ben, > > > > >I would like to implement a questionnaire in E-Prime, but I got stuck. The > > > >subject has to choose zero or five answers and then proceed to the next > > > >part. The instructions say that the subject should press the corresponding > > > >numbers and then space or if none of the answers is correct immediately > > > >press space. I used a text-display and added two keyboards as input device > > > >- one for the numbers and one for the space button to terminate. My > > > >problem is that e-prime just stucks and does not react when pressing the > > > >spacebar. > > > > Just curious -- any particular reason why you want to do this > > > questionnaire in E-Prime instead of something simpler (like MediaLab, > > > or even HTML)? > > > > -- David McFarlane --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From thenillebraun at yahoo.com.br Mon Sep 29 16:57:33 2008 From: thenillebraun at yahoo.com.br (thenillebraun) Date: Mon, 29 Sep 2008 09:57:33 -0700 Subject: joystick and EP 1.1 Message-ID: Hello! I'd like to continue the discussion related to joystick and EP 1.1. We're doing an experiment that we need joystick as input in E Prime 1.1. but we have some problems with that. We add joystick as PORT, but we cannot allow an specific button to colect the datas. Could anyone help me with this? Would I need to write an InLine? Thank you very much! Thenille Braun. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Sep 29 18:18:21 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 29 Sep 2008 14:18:21 -0400 Subject: Questionnaire in E-Prime 1 In-Reply-To: <51780960-e8ef-415e-a6a3-f06485d1df50@y71g2000hsa.googlegro ups.com> Message-ID: Ben, >I use two keyboards because the first one is just for data logging, it >accepts 1,2,3,4 as input. The second one only accepts space and is >used for termination. The subject may press any number for one time, >every trial it has to decide how many answers are correct ranging from >zero correct answers two four. Afterwards it has to press the spacebar >to proceed. So one could press just the spacebar or 1,2,3,4 and space. > >If I set the EndAction of the first keyboard to (none), the EndAction >of the second keyboard to terminate and set MaxCount of the first >keyboard to four, it terminates after the first number anyway. Ah, THAT'S where I made my mistake. I thought you had two separate physical keyboards, each plugged in to a separate USB port, etc., and the subject pressed keys on one keyboard for the answers, then pressed the space bar on the second keyboard to continue. That would have been a very odd setup. Now I see that you meant two E-Prime Keyboard objects as part of the Input Mask of your EP response object. Sorry. Now I see some problems, and will propose a solution. If you don't care about my explanation, just skip down to my final solution. I tried this myself, set one Keyboard to Allow keys 1234, Max Count 4, End Action (none), and set a second Keyboard to Allow {SPACE} with End Action Terminate. Everything worked fine as long as I did not press more than 3 number keys (and as a side effect, my E-DataAid file only showed the final {SPACE} as the response). But once I pressed a fourth key the program hung and I had to to abort. Here is what happens: Once the response object gets the fourth key, it performs its end action. That action is "none". So, the program does exactly what you told it to do, you press 4 keys and after that it continues to do absolutely nothing, and there is no way to break out of that. Here is a cheap fix: Increase the Max Count of the first keyboard to 5. Now its end action does not trigger until you press 5 keys, so it is safe to press 4 keys. Of course, if someone presses 5 keys then it will hang again. So increase the Max Count to 10, or whatever, just for safety's sake. But I think we are making this all a bit too complicated, and E-Prime has a better way. So here is my final solution. Use just one keyboard input mask, Allow 1234{SPACE}, End Action Terminate, Max Count 5 (or 4), and Termination Response {SPACE}. Now this one keyboard object will allow the subject to press up to 4 keys plus a {SPACE}, and will terminate the object when the subject presses the space bar or presses a fifth key (presumably, four numbers plus a {SPACE}). If you instead set Max Count to 4, then the the object will terminate after the fourth key press without making the subject press {SPACE}, and will ensure that they only enter four keys. Finally, *all* these responses will appear as one string in the E-DataAid file. This was a nice little puzzle, and I thank you for it. -- David McFarlane, Professional Faultfinder >On 26 Sep., 10:18, David McFarlane wrote: > > Ben, > > > > >It is part of a lager test batterie. I am validating a picture anomaly > > >test which should measure the social cognition abilities of TLE > > >patients and I got in total four different tests. It would be nice to > > >presented them all with one program. > > > > Thanks, just wondered, that makes sense. Moving on... > > > > Now I wonder why you use two separate keyboards, one for the numbers > > and one for the space bar. Surely a single keyboard would have both > > numbers and a space bar, so you could do all this with one > > keyboard. But let's leave that aside. > > > > Next, the subject presses either two keys (a number plus {SPACE}) or > > just one key ({SPACE}) to continue. I assume you do this with the > > Advanced input mask features, by setting MaxCount to 2 > > (Disclaimer: I have never used this feature myself, so I am > > stretching here). If you did not also set Termination Response to > > {SPACE}, then the subject must *always* press two keys to continue, > > i.e., if they press just {SPACE} then the questionaire will not > > continue (although it would if they pressed {SPACE} twice, give > that a try). > > > > So, you might try setting Termination Response to {SPACE}. > > > > That said, is there any reason they must press a number key plus the > > {SPACE}? Why not continue as soon as they press the number > > key? What have I missed? > > > > -- David McFarlane, Professional Faultfinder > > > > >On 25 Sep., 16:50, David McFarlane wrote: > > > > Ben, > > > > > > >I would like to implement a questionnaire in E-Prime, but I > got stuck. The > > > > >subject has to choose zero or five answers and then proceed > to the next > > > > >part. The instructions say that the subject should press the > corresponding > > > > >numbers and then space or if none of the answers is correct > immediately > > > > >press space. I used a text-display and added two keyboards > as input device > > > > >- one for the numbers and one for the space button to terminate. My > > > > >problem is that e-prime just stucks and does not react when > pressing the > > > > >spacebar. > > > > > > Just curious -- any particular reason why you want to do this > > > > questionnaire in E-Prime instead of something simpler (like MediaLab, > > > > or even HTML)? > > > > > > -- David McFarlane --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Mon Sep 29 19:37:03 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 29 Sep 2008 15:37:03 -0400 Subject: Correct and Incorrect Feedback Question In-Reply-To: <1bc7048f-a92a-4502-aab3-f006c11d9bce@f36g2000hsa.googlegro ups.com> Message-ID: Jessica, >I am trying to program eprime so that the Correct Answer feedback >display appears for 100ms and the Incorrect Answer feedback display >appears for 500ms. However, since the Correct and Incorrect feedback >displays are linked together, the program will not allow me to assign >different display times to each. You will need some inline script and an attribute reference. Set the duration of your Feedback object to [FeedDur]. Now suppose you want feedback for an object called StimText. In script before the Feedback object, do this: If StimText.ACC Then ' correct answer c.SetAttrib "FeedDur", 100 Else ' incorrect answer c.SetAttrib "FeedDur", 500 End If (Note: I did not use the full "If StimText.ACC <> 0", since the "<> 0" is understood by default.) We can also make this a little cleaner by removing the "magic numbers", thus, Const DurCorrect as Integer = 100 Const DurIncorrect as Integer = 500 If StimText.ACC Then ' correct answer c.SetAttrib "FeedDur", DurCorrect Else ' incorrect answer c.SetAttrib "FeedDur", DurIncorrect End If -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From derick-deweber at ouhsc.edu Tue Sep 30 17:58:34 2008 From: derick-deweber at ouhsc.edu (ddeweber) Date: Tue, 30 Sep 2008 10:58:34 -0700 Subject: contingent stimulus presentation Message-ID: Please help. I am learning how to interface the e-prime software program with the ASL 6000 eye tracker. So far, I have learned how to send and receive x-dats from e-prime. My goal is to learn how to create a contingent response paradigm where eye gaze data collected from the ASL program controls stimulus presentation in e-prime. I have had no success thus far as both software producers tell me to contact the other. My first question is is this even a capability of the e-prime program? If it is a possibility does anyone have any idea where to start? Thanks, Derick --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From mcfarla9 at msu.edu Tue Sep 30 19:19:00 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 30 Sep 2008 15:19:00 -0400 Subject: contingent stimulus presentation In-Reply-To: Message-ID: Derick, >Please help. I am learning how to interface the e-prime software >program with the ASL 6000 eye tracker. So far, I have learned how to >send and receive x-dats from e-prime. My goal is to learn how to >create a contingent response paradigm where eye gaze data collected >from the ASL program controls stimulus presentation in e-prime. I >have had no success thus far as both software producers tell me to >contact the other. My first question is is this even a capability of >the e-prime program? Just addressing the general question, since this gets asked from time to time. E-Prime runs on E-Basic, which in turn is a dialect of Microsoft VisualBasic, which in turn is a rather full-fledged programming language that can in principle do just about anything that can be programmed with a computer. So in general, yes, whatever you want to do, in principle EP can do it. Of course, in practice it may not be easy, and other programming tools may work better for specific tasks. >If it is a possibility does anyone have any idea where to start? I have never used EP with an eyetracker, so I cannot help you there, just wanted to address the general question. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~---