From kmaayane at gmail.com Sun Jun 1 10:45:36 2014 From: kmaayane at gmail.com (maayan kedar) Date: Sun, 1 Jun 2014 03:45:36 -0700 Subject: n-back/CRT - memory task In-Reply-To: <2b197d8a-0017-4fc4-9cfc-3d4984fba01f@googlegroups.com> Message-ID: Anne-Wil, Thanks, the problem is that if I trying to store the bottom number at the end of the procedure and then use it in the begining again for the next trial it dosn't recognize the variable I created for storing (at the begining). I hope the problem is clear its a little hard for me to describe. what inline code would you use for creating, using storing and using again a number? thanks again Maayan בתאריך יום חמישי, 15 במאי 2014 21:37:10 UTC+3, מאת maayan kedar: > > Hi there, > > I was asked to build a memory task in which the subject need to identify > if the upper number between 2 numbers is match to the the number was at the > buttom one screen berofe. for example: > > _0_ (beginning) > 8 > > _7_ (7 dosn't match to 8) > 5 > > _5_ (5 match to 5) > 3 > > _2_ (2 dosnt match to 3) > 9 > > the thing is that I need to create 50% matches, and I don't know how to > link each text to the text from the slide before sense in each trial new > random numbers are selected. > > any ideas for help? > with regards, > maayan > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1314ebdc-e936-40b9-9dd6-94ecadc8a99a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From liwenna at gmail.com Sun Jun 1 17:29:54 2014 From: liwenna at gmail.com (Anne-Wil) Date: Sun, 1 Jun 2014 10:29:54 -0700 Subject: n-back/CRT - memory task In-Reply-To: <1314ebdc-e936-40b9-9dd6-94ecadc8a99a@googlegroups.com> Message-ID: Hi Maayan, You need a so-called 'user defined variable': open the script window and click on the 'user' tab (at the bottom). If you define a variable on that tab ('dim variable as...' ), the information held in that variable will be kept over trials (as opposed to variables in lists or defined within procedures, which are 'reset' at each run of a procedure). Good luck! Anne-Wil On Sunday, 1 June 2014 11:45:37 UTC+1, maayan kedar wrote: > > Anne-Wil, Thanks, > > the problem is that if I trying to store the bottom number at the end of > the procedure and then use it in the begining again for the next trial it > dosn't recognize the variable I created for storing (at the begining). I > hope the problem is clear its a little hard for me to describe. > what inline code would you use for creating, using storing and using again > a number? > > thanks again > Maayan > > בתאריך יום חמישי, 15 במאי 2014 21:37:10 UTC+3, מאת maayan kedar: >> >> Hi there, >> >> I was asked to build a memory task in which the subject need to identify >> if the upper number between 2 numbers is match to the the number was at the >> buttom one screen berofe. for example: >> >> _0_ (beginning) >> 8 >> >> _7_ (7 dosn't match to 8) >> 5 >> >> _5_ (5 match to 5) >> 3 >> >> _2_ (2 dosnt match to 3) >> 9 >> >> the thing is that I need to create 50% matches, and I don't know how to >> link each text to the text from the slide before sense in each trial new >> random numbers are selected. >> >> any ideas for help? >> with regards, >> maayan >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/4707c2e4-0d24-4af8-91f7-084fd474511f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidruvolo51 at gmail.com Mon Jun 2 13:57:00 2014 From: davidruvolo51 at gmail.com (David Ruvolo) Date: Mon, 2 Jun 2014 06:57:00 -0700 Subject: Score based on reaction time In-Reply-To: <4ad0431c-0e9f-4d01-a1d9-6d2094bd5e86@googlegroups.com> Message-ID: Hi Semeon, I am currently using the IGT. Let me see if I am on the right page, for each trial are you wanting to capture the reaction time and create a score based upon the RT of that trial? What criteria are you using for the "score" (such as RT < X ms or RT > Yms)? The display is fairly straightforward. You could probably create a txt box on the presentation screen and which you could call the score variable, but it might get a little tricky. Maybe create a feedback screen after each trial? Are you displaying the score similarly to the won/borrowed bars as in the original task? I am thinking this could be accomplished using an in-line script where you call the RT for each trial (e.g., "mystimulusscreen.RT") and then you can use a IF/THEN statement to assign a "score" with it. If you want to save the score to the output file, assign the score to the .TAG attribute (found in the Properties/Logging tab). Hope that is a good start. - David On Tuesday, March 18, 2014 11:58:43 AM UTC-5, semeon... at gmail.com wrote: > > I am working on a modified version of the Iowa Gambling Task, and I'm > trying to create a trial score based on reaction time. I'm also > interested in display this score at the end of each trial. > > I was wondering if there were recommendations for a piece of code that can > do this, or if you can provide a link that discusses this. Any help is > appreciated! > > Thanks, > > - Semeon > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/6079a514-3076-45c3-88fb-6d22409e2285%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gabriel.mograbi at gmail.com Mon Jun 2 18:16:00 2014 From: gabriel.mograbi at gmail.com (Gabriel Mograbi) Date: Mon, 2 Jun 2014 11:16:00 -0700 Subject: E-prime Triggers are partially but no completely read by Aquisition Message-ID: Dear All, I am a complete newbie in e-prime. A philosopher by formation venturing myself in a postdoctoral fellowship in neuroscience. And I an running against time to run an experiment before my fellowship finishes. I am having problems with sending triggers to the "Aquisition" machine. In my protocol I have 3 procedures (conditions) that divide the big list into 3. I have a first general Inline to open the ports. And I have an Onset Inline for each of the questions and each of the stimuli that can after the question. All that works. I can manage to make the machines send triggers when the question 1,2 and 3 appears and then when the 1,2 and 3 stimuli appears. When I try to insert an InLine after the stimuli, the first trigger (the one that marks the onset of the question does not work anymore) So my list is divided in 3 procedures (conditions) and each has the following structure Text (ITI Fixation Cross with Jittered values) Inline question (Image Display with 2000 ms duration) Another ITI (Fication Cross with Jittered Values) Inline products (Stimulus/Image Display with fixed duration) My script runs like that. First in the beginning of the protocol: question2.OnsetSignalEnabled = True question2.OnsetSignalPort = &H378 question2.OffsetSignalEnabled= True question2OffsetSignalPort = & H378 products2.OnsetSignalEnabled = True products2.OnsetSignalPort = &H378 products2.OffsetSignalEnabled= True products2OffsetSignalPort = & H378 question1.OnsetSignalEnabled = True question1.OnsetSignalPort = &H378 question1.OffsetSignalEnabled= True question1.OffsetSignalPort = & H378 products1.OnsetSignalEnabled = True products1.OnsetSignalPort = &H378 products1.OffsetSignalEnabled= True products1OffsetSignalPort = & H378 question1.OnsetSignalEnabled = True question1.OnsetSignalPort = &H378 question1.OffsetSignalEnabled= True question1.OffsetSignalPort = & H378 products3.OnsetSignalEnabled = True products3.OnsetSignalPort = &H378 products3.OffsetSignalEnabled= True products3.OffsetSignalPort = & H378 Before each condition (specific procedure) I have a Inline like that question2.OnsetSignalData ="2" and so on... for each of the question and products... That works all fine! But I have to use a trigger for the responses of the stimuli. Whenever I insert WritePort &H378,"11" or any other value, transforming the procedure to this structure to: Text ITI (Fixation Cross with Jittered values) Inline question (Image Display with 2000 ms duration) Another ITI (Fication Cross with Jittered Values) Inline product (Stimulus/Image Display with fixed duration) InLine - WritePort &H378,"11" after each product object, the first trigger (related to the question) stops appearing in the aquisition machine. The Writeport command functions, the products onset keeps working, but the question that comes in the beginning of this condition stops appearing. I will be deeply grateful if you could help me out, as I tried various (hundreds of) diverse strategies to fix the problem and nothing seems to work! Best, Gabriel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a1092837-37ba-47d7-a3bd-2a49c4d0e318%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Tue Jun 3 07:54:52 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Tue, 3 Jun 2014 09:54:52 +0200 Subject: E-prime Triggers are partially but no completely read by Aquisition In-Reply-To: Message-ID: Gabriel, I've read your post twice, but your description seems to have some contradictory information, so I'm a bit lost there... Anyway, EP2 pro has a new method for generating triggers by using so called 'Task Events'. Task events offer a more elegant solution if your script has to create triggers when an input event occurs. Just have a look at these pages: http://www.pstnet.com/support/kb.asp?TopicID=4803 https://www.youtube.com/watch?v=0oxtfdZb0Fo Paul On 2 June 2014 20:16, Gabriel Mograbi wrote: > Dear All, > > I am a complete newbie in e-prime. A philosopher by formation venturing > myself in a postdoctoral fellowship in neuroscience. And I an running > against time to run an experiment before my fellowship finishes. > > I am having problems with sending triggers to the "Aquisition" machine. > > In my protocol I have 3 procedures (conditions) that divide the big list > into 3. I have a first general Inline to open the ports. And I have an > Onset Inline for each of the questions and each of the stimuli that can > after the question. All that works. I can manage to make the machines send > triggers when the question 1,2 and 3 appears and then when the 1,2 and 3 > stimuli appears. When I try to insert an InLine after the stimuli, the > first trigger (the one that marks the onset of the question does not work > anymore) > > So my list is divided in 3 procedures (conditions) and each has the > following structure > > Text (ITI Fixation Cross with Jittered values) > Inline > question (Image Display with 2000 ms duration) > Another ITI (Fication Cross with Jittered Values) > Inline > products (Stimulus/Image Display with fixed duration) > > > > My script runs like that. First in the beginning of the protocol: > > question2.OnsetSignalEnabled = True > question2.OnsetSignalPort = &H378 > question2.OffsetSignalEnabled= True > question2OffsetSignalPort = & H378 > > products2.OnsetSignalEnabled = True > products2.OnsetSignalPort = &H378 > products2.OffsetSignalEnabled= True > products2OffsetSignalPort = & H378 > > question1.OnsetSignalEnabled = True > question1.OnsetSignalPort = &H378 > question1.OffsetSignalEnabled= True > question1.OffsetSignalPort = & H378 > > products1.OnsetSignalEnabled = True > products1.OnsetSignalPort = &H378 > products1.OffsetSignalEnabled= True > products1OffsetSignalPort = & H378 > > question1.OnsetSignalEnabled = True > question1.OnsetSignalPort = &H378 > question1.OffsetSignalEnabled= True > question1.OffsetSignalPort = & H378 > > products3.OnsetSignalEnabled = True > products3.OnsetSignalPort = &H378 > products3.OffsetSignalEnabled= True > products3.OffsetSignalPort = & H378 > > Before each condition (specific procedure) > > I have a Inline like that > question2.OnsetSignalData ="2" and so on... for each of the question and > products... > > That works all fine! But I have to use a trigger for the responses of the > stimuli. Whenever I insert > > WritePort &H378,"11" or any other value, > > transforming the procedure to this structure to: > > Text ITI (Fixation Cross with Jittered values) > Inline > question (Image Display with 2000 ms duration) > Another ITI (Fication Cross with Jittered Values) > Inline > product (Stimulus/Image Display with fixed duration) > InLine - WritePort &H378,"11" > > > after each product object, the first trigger (related to the question) > stops appearing in the aquisition machine. The Writeport command functions, > the products onset keeps working, but the question that comes in the > beginning of this condition stops appearing. > > I will be deeply grateful if you could help me out, as I tried various > (hundreds of) diverse strategies to fix the problem and nothing seems to > work! > > Best, > > Gabriel > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/a1092837-37ba-47d7-a3bd-2a49c4d0e318%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-sycefWLUbiEjxtBCUCGfZ9EEiHZxvA2bDYQ7jZkheupQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidruvolo51 at gmail.com Tue Jun 3 17:47:00 2014 From: davidruvolo51 at gmail.com (David Ruvolo) Date: Tue, 3 Jun 2014 10:47:00 -0700 Subject: Compatibility Issues - 2.0.8.22 (Release Candidate) Message-ID: To all E-Prime users (who are still using the Release Candidate version), Has anyone else run into issues using the Release Candidate version and trying to open studio files created in other versions of E-Prime? I am forever doomed if I cannot work on studio files (created in other versions of E-Prime) sent by others. I am not sure if there is an option to "save as" or "convert to" in recent versions. Would anyone care to comment, provide information, or share condolences with this matter? Thanks, David -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/87cc0592-4252-4916-bb6d-0656975339de%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Jun 3 19:04:58 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 3 Jun 2014 15:04:58 -0400 Subject: Compatibility Issues - 2.0.8.22 (Release Candidate) In-Reply-To: <87cc0592-4252-4916-bb6d-0656975339de@googlegroups.com> Message-ID: David, Briefly, you cannot view, edit, or run EP2.0.10 files with any earlier version. And once a file is saved in the newer format, you cannot convert it back to the older format. If you install EP2.0.10, you may also install the EP2.0.8.90 runtime (E-Run) so that you may continue to run subjects using the older .ebs2 files without first converting them to EP2.0.10, see Knowledge Base article at http://www.pstnet.com/support/kb.asp?TopicID=5325 . If you really want to run multiple versions of E-Studio on the same machine, then see discussion at https://groups.google.com/d/topic/e-prime/cgxEUYw-Ub0 (for experts only!). Or, just install different versions on different development workstations (which has been our typical solution). ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 6/3/2014 01:47 PM Tuesday, David Ruvolo wrote: >To all E-Prime users (who are still using the Release Candidate version), > >Has anyone else run into issues using the Release Candidate version >and trying to open studio files created in other versions of >E-Prime? I am forever doomed if I cannot work on studio files >(created in other versions of E-Prime) sent by others. I am not >sure if there is an option to "save as" or "convert to" in recent >versions. Would anyone care to comment, provide information, or >share condolences with this matter? > >Thanks, > >David -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/538e1c62.e277320a.482a.ffff83a0SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From davidruvolo51 at gmail.com Tue Jun 3 19:58:08 2014 From: davidruvolo51 at gmail.com (David Ruvolo) Date: Tue, 3 Jun 2014 12:58:08 -0700 Subject: Compatibility Issues - 2.0.8.22 (Release Candidate) In-Reply-To: <538e1c62.e277320a.482a.ffff83a0SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Wonderful! Thank you very much for your help. I do have one additional question. If I were to install multiple versions of E-Studio, would that interfere with licensing (HASP key, etc.)? Thanks, David On Tuesday, June 3, 2014 2:05:08 PM UTC-5, McFarlane, David wrote: > > David, > > Briefly, you cannot view, edit, or run EP2.0.10 files with any > earlier version. And once a file is saved in the newer format, you > cannot convert it back to the older format. If you install EP2.0.10, > you may also install the EP2.0.8.90 runtime (E-Run) so that you may > continue to run subjects using the older .ebs2 files without first > converting them to EP2.0.10, see Knowledge Base article at > http://www.pstnet.com/support/kb.asp?TopicID=5325 . If you really > want to run multiple versions of E-Studio on the same machine, then > see discussion at > https://groups.google.com/d/topic/e-prime/cgxEUYw-Ub0 (for experts > only!). Or, just install different versions on different development > workstations (which has been our typical solution). > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) PST's trained staff > take any and all questions at https://support.pstnet.com , and they > strive to respond to all requests in 24-48 hours, so make full use of > it. 3) In addition, PST offers several instructional videos on their > YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do > get an answer from PST staff, please extend the courtesy of posting > their reply back here for the sake of others. > \---- > > > At 6/3/2014 01:47 PM Tuesday, David Ruvolo wrote: > >To all E-Prime users (who are still using the Release Candidate version), > > > >Has anyone else run into issues using the Release Candidate version > >and trying to open studio files created in other versions of > >E-Prime? I am forever doomed if I cannot work on studio files > >(created in other versions of E-Prime) sent by others. I am not > >sure if there is an option to "save as" or "convert to" in recent > >versions. Would anyone care to comment, provide information, or > >share condolences with this matter? > > > >Thanks, > > > >David > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8737544a-8155-4eec-b185-9f2edecea5f9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Jun 3 20:28:37 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 3 Jun 2014 16:28:37 -0400 Subject: Compatibility Issues - 2.0.8.22 (Release Candidate) In-Reply-To: <8737544a-8155-4eec-b185-9f2edecea5f9@googlegroups.com> Message-ID: DAvid, Two issues mixed in here... As for licensing, your EP2 license should entitle you to use any number of installations/versions of EP2 on any single machine (although it does have limits on how many different machines you may run it on), so OK there. As for HASP key, etc., I can only tell you that I followed the procedures in that thread to install several versions of EP2 on my main development workstation and have successfully danced between them, very handy. Sometimes when I switch versions it goes through a sort of a "first time" setup again, and resets all my settings to defaults, which is a bit of a nuisance but tolerable. You will just have to try yourself and then report back with your own results! -- David McFarlane At 6/3/2014 03:58 PM Tuesday, David Ruvolo wrote: >Wonderful! Thank you very much for your help. I do have one >additional question. > >If I were to install multiple versions of E-Studio, would that >interfere with licensing (HASP key, etc.)? > >Thanks, > >David > >On Tuesday, June 3, 2014 2:05:08 PM UTC-5, McFarlane, David wrote: >David, > >Briefly, you cannot view, edit, or run EP2.0.10 files with any >earlier version. And once a file is saved in the newer format, you >cannot convert it back to the older format. If you install EP2.0.10, >you may also install the EP2.0.8.90 runtime (E-Run) so that you may >continue to run subjects using the older .ebs2 files without first >converting them to EP2.0.10, see Knowledge Base article at >http://www.pstnet.com/support/kb.asp?TopicID=5325 >. If you really >want to run multiple versions of E-Studio on the same machine, then >see discussion at >https://groups.google.com/d/topic/e-prime/cgxEUYw-Ub0 >(for experts >only!). Or, just install different versions on different development >workstations (which has been our typical solution). > >----- >David McFarlane >E-Prime training >online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx > >Twitter: @EPrimeMaster >(https://twitter.com/EPrimeMaster) > >/---- >Stock reminder: 1) I do not work for PST. 2) PST's trained staff >take any and all questions at >https://support.pstnet.com , and they >strive to respond to all requests in 24-48 hours, so make full use of >it. 3) In addition, PST offers several instructional videos on their >YouTube channel >(http://www.youtube.com/user/PSTNET >). 4) If you do >get an answer from PST staff, please extend the courtesy of posting >their reply back here for the sake of others. >\---- > > >At 6/3/2014 01:47 PM Tuesday, David Ruvolo wrote: > >To all E-Prime users (who are still using the Release Candidate version), > > > >Has anyone else run into issues using the Release Candidate version > >and trying to open studio files created in other versions of > >E-Prime? I am forever doomed if I cannot work on studio files > >(created in other versions of E-Prime) sent by others. I am not > >sure if there is an option to "save as" or "convert to" in recent > >versions. Would anyone care to comment, provide information, or > >share condolences with this matter? > > > >Thanks, > > > >David -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/538e2ff6.2639320a.2bc9.ffff933aSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Tue Jun 3 22:16:27 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 3 Jun 2014 18:16:27 -0400 Subject: E-prime Triggers are partially but no completely read by Aquisition In-Reply-To: Message-ID: Gabriel, First, what Paul said -- if you have EP2.0.10 or later, you should look into using the new Task Events feature instead. Second, this thread seems to stem from https://groups.google.com/d/topic/e-prime/HZbe0baSMeY . Third, a couple odditities in your inline code fragments. Your lines question2.OnsetSignalData ="2" and WritePort &H378,"11" just seem weird, are you sure that those do not read instead? question2.OnsetSignalData 2 and WritePort &H378, 11 ? (Oh, and you should use Constants instead of "magic numbers" in your code, but that is another matter.) Now, for the advice. We have found that when we have EP output a signal to an external device (e.g., EEG), we then have to have EP reset the output port to 0 before another output will work. Remember, EP does *not* output *pulses*, it merely sets the output to your data and then leaves it there until you do something to change it (I go over this in a lesson on my course). I imagine that your Onset & OffsetSignal data normally take care of setting the output, and then later resetting it to 0. Your WritePort does not. You would need to do another WritePort to reset the output at some appropriate time, or another OnsetSignal, etc. Task Events can make it very nice to setup both the signal and the reset for any stimulus object. Just a thought. Good luck. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 6/3/2014 03:54 AM Tuesday, Paul Groot wrote: >Gabriel, > >I've read your post twice, but your description >seems to have some contradictory information, so I'm a bit lost there... > >Anyway, EP2 pro has a new method for generating >triggers by using so called 'Task Events'. Task >events offer a more elegant solution if your >script has to create triggers when an input >event occurs. Just have a look at these pages: > >http://www.pstnet.com/support/kb.asp?TopicID=4803 >https://www.youtube.com/watch?v=0oxtfdZb0Fo > > >Paul > > > >On 2 June 2014 20:16, Gabriel Mograbi ><gabriel.mograbi at gmail.com> wrote: >Dear All, > >I am a complete newbie in e-prime. A philosopher >by formation venturing myself in a postdoctoral >fellowship in neuroscience. And I an running >against time to run an experiment before my fellowship finishes. > >I am having problems with sending triggers to the "Aquisition" machine. > >In my protocol I have 3 procedures (conditions) >that divide the big list into 3. I have a first >general Inline to open the ports. And I have an >Onset Inline for each of the questions and each >of the stimuli that can after the question. All >that works. I can manage to make the machines >send triggers when the question 1,2 and 3 >appears and then when the 1,2 and 3 stimuli >appears. When I try to insert an InLine after >the stimuli, the first trigger (the one that >marks the onset of the question does not work anymore)  > >So my list is divided in 3 procedures >(conditions) and each has the following structure > >Text (ITI Fixation Cross with Jittered values) >Inline >question (Image Display with 2000 ms duration) >Another ITI (Fication Cross with Jittered Values) >Inline >products (Stimulus/Image Display with fixed duration) > > > >My script runs like that. First in the beginning of the protocol: > >question2.OnsetSignalEnabled = True >question2.OnsetSignalPort = &H378 >question2.OffsetSignalEnabled= True >question2OffsetSignalPort = & H378 > >products2.OnsetSignalEnabled = True >products2.OnsetSignalPort = &H378 >products2.OffsetSignalEnabled= True >products2OffsetSignalPort = & H378 > >question1.OnsetSignalEnabled = True >question1.OnsetSignalPort = &H378 >question1.OffsetSignalEnabled= True >question1.OffsetSignalPort = & H378 > >products1.OnsetSignalEnabled = True >products1.OnsetSignalPort = &H378 >products1.OffsetSignalEnabled= True >products1OffsetSignalPort = & H378 > >question1.OnsetSignalEnabled = True >question1.OnsetSignalPort = &H378 >question1.OffsetSignalEnabled= True >question1.OffsetSignalPort = & H378 > >products3.OnsetSignalEnabled = True >products3.OnsetSignalPort = &H378 >products3.OffsetSignalEnabled= True >products3.OffsetSignalPort = & H378 > >Before each condition (specific procedure) > >I have a Inline like that >question2.OnsetSignalData ="2" and so on... >for each of the question and products... > >That works all fine! But I have to use a trigger >for the responses of the stimuli. Whenever I insert > >WritePort &H378,"11" or any other value, > >transforming the procedure to this structure to: > >Text ITI (Fixation Cross with Jittered values) >Inline >question (Image Display with 2000 ms duration) >Another ITI (Fication Cross with Jittered Values) >Inline >product (Stimulus/Image Display with fixed duration) >InLine - WritePort &H378,"11" > > >after each product object, the first trigger >(related to the question) stops appearing in the >aquisition machine. The Writeport command >functions, the products onset keeps working, but >the question that comes in the beginning of this condition stops appearing. > >I will be deeply grateful if you could help me >out, as I tried various (hundreds of) diverse >strategies to fix the problem and nothing seems to work! > >Best, > >Gabriel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/538e4953.82fd320a.2462.1a8cSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Tue Jun 3 22:18:23 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 3 Jun 2014 18:18:23 -0400 Subject: Problems with triggers from e-prime to Aquisition (URGENT) In-Reply-To: <68d4dec0-a10d-41ba-930f-aaa0ae173fca@googlegroups.com> Message-ID: This thread got followed up at https://groups.google.com/d/topic/e-prime/HZbe0baSMeY At 5/31/2014 06:07 PM Saturday, Gabriel Mograbi wrote: >Dear All, > >the original transcript is: > >question2.OnsetSignalEnabled = True >question2.OnsetSignalPort = &H378 >question2.OnsetSignalEnabled= True >question2OffsetSignalPort = & H378 > >products2.OnsetSignalEnabled = True >products2.OnsetSignalPort = &H378 >products2.OffsetSignalEnabled= True >products2OffsetSignalPort = & H378 > >question1.OnsetSignalEnabled = True >question1.OnsetSignalPort = &H378 >question1.OffsetSignalEnabled= True >question1.OffsetSignalPort = & H378 > >products1.OnsetSignalEnabled = True >products1.OnsetSignalPort = &H378 >products1.OffsetSignalEnabled= True >products1OffsetSignalPort = & H378 > >question1.OnsetSignalEnabled = True >question1.OnsetSignalPort = &H378 >question1.OffsetSignalEnabled= True >question1.OffsetSignalPort = & H378 > >products3.OnsetSignalEnabled = True >products3.OnsetSignalPort = &H378 >products3.OffsetSignalEnabled= True >products3.OffsetSignalPort = & H378 > >and runs well - the only problem is when I insert the Writeport >after each condition. Then, the first command stops working! > >Thanks again! > > > >On Saturday, May 31, 2014 2:47:29 PM UTC-4, Gabriel Mograbi wrote: >Dear All, > >I am a complete newbie in e-prime. A philosopher by formation >venturing myself in a postdoctoral fellowship in neuroscience. And I >an running against time to run an experiment before my fellowship finishes. > >I am having problems with sending triggers to the "Aquisition" machine. > >In my protocol I have 3 procedures (conditions) that divide the big >list into 3. I have a first general Inline to open the ports. And I >have an Onset Inline for each of the questions and each of the >stimuli that can after the question. All that works. I can manage to >make the machines send triggers when the question 1,2 and 3 appears >and then when the 1,2 and 3 stimuli appears. When I try to insert an >InLine after the stimuli, the first trigger (the one that marks the >onset of the question does not work anymore) > >So my list is divided in 3 procedures (conditions) and each has the >following structure > >Text (ITI Fixation Cross with Jittered values) >Inline >question (Image Display with 2000 ms duration) >Another ITI (Fication Cross with Jittered Values) >Inline >products (Stimulus/Image Display with fixed duration) > > > >My script runs like that. First in the beginning of the protocol: > >question2.OnsetSignalEnabled = True >question2.OnsetSignalPort = &H378 >question2.OnsetSignalEnabled= True >question2OffsetSignalPort = & H378 > >products2.OnsetSignalEnabled = True >products2.OnsetSignalPort = &H378 >products2.OffsetSignalEnabled= True >products2OffsetSignalPort = & H378 > >question1.OnsetSignalEnabled = True >question1.OnsetSignalPort = &H378 >question1.OffetSignalEnabled= True >question1.OffsetSignalPort = & H378 > >products1.OnsetSignalEnabled = True >products1.OnsetSignalPort = &H378 >products1.OffsetSignalEnabled= True >products1OffsetSignalPort = & H378 > >question1.OnsetSignalEnabled = True >question1.OnsetSignalPort = &H378 >question1.OffetSignalEnabled= True >question1.OffsetSignalPort = & H378 > >products3.OnsetSignalEnabled = True >products3.OnsetSignalPort = &H378 >products3.OffsetSignalEnabled= True >products3.OffsetSignalPort = & H378 > >Before each condition (specific procedure) > >I have a Inline like that >question2.OnsetSignalData ="2" and so on... for each of the >question and products... > >That works all fine! But I have to use a trigger for the responses >of the stimuli. Whenever I insert > >WritePort &H378,"11" or any other value, > >transforming the procedure to this structure to: > >Text ITI (Fixation Cross with Jittered values) >Inline >question (Image Display with 2000 ms duration) >Another ITI (Fication Cross with Jittered Values) >Inline >product (Stimulus/Image Display with fixed duration) >InLine - WritePort &H378,"11" > > >after each product object, the first trigger (related to the >question) stops appearing in the aquisition machine. The Writeport >command functions, the products onset keeps working, but the >question that comes in the beginning of this condition stops appearing. > >I will be deeply grateful if you could help me out, as I tried >various (hundreds of) diverse strategies to fix the problem and >nothing seems to work! > >Best, > >Gabriel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/538e49b1.093c320a.5502.ffff94ceSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From irini.symeonidou at gmail.com Wed Jun 4 14:43:26 2014 From: irini.symeonidou at gmail.com (Irini Symeonidou) Date: Wed, 4 Jun 2014 07:43:26 -0700 Subject: deactivatedisable mouse for a certain time period Message-ID: Hi, I am wondering if there is an inline code in e-prime that tells the program to deactivate/disable the mouse at a certain point in time during the trial so that if the participant clicks the mouse by accident e-prime will not record or recognize the click (so that the program won't crash). I know you can do this in Matlab, I'm wondering if there is anything similar for e-prime. Thank you Irini -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/32656228-1ed8-4ca5-b4ea-68f77e91568a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ceci.westbrook at gmail.com Wed Jun 4 18:49:17 2014 From: ceci.westbrook at gmail.com (Cecilia Westbrook) Date: Wed, 4 Jun 2014 11:49:17 -0700 Subject: Prerelease and data logging Message-ID: Hi all, I'm sure this is covered in another thread, but I was not able to find it with searches. I'm using E-Prime for an fMRI task with critical timing. I'm using prerelease for my stimuli, but I'm seeing some weirdness in my data logging files. For stims with 200ms prerelease, it seems like it is logging them as the onsettime + 200ms. Shouldn't it be -200ms? I see this in two ways: 1) if I look at the onsettime and the offset time and subtract them to get a duration, it is 200ms SHORTER than it should be (seems like it should be 200ms LONGER). 2) If I log the offsettime of the stim immediately preceeding it, the onsettime is 200ms later (even though it should be displaying at the same time as the offset time of the previous stim, right? +/- a little bit of delay in offsettime - but not 200ms of delay, surely?). What is going on? Does anybody have any advice? Is the most accurate thing to do to just use the offsettime of the preceeding stim? Thanks, Ceci -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8c8c8825-cdc6-4b5e-be2d-1ef3ac396e5c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Wed Jun 4 19:29:29 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 4 Jun 2014 21:29:29 +0200 Subject: deactivatedisable mouse for a certain time period In-Reply-To: <32656228-1ed8-4ca5-b4ea-68f77e91568a@googlegroups.com> Message-ID: Hi Irini, The mouse responses are only handled by eprime when the mouse device is added as Input Mask in the *active *E-Object (such as as slide). If it's not included, EPrime will ignore mouse clicks. The MouseDevice object can also be programmed using inline script, for example to show or hide the cursor. (The EBasic manual contains examples for doing so.) However, you mention that you would like to prevent program crashes. In my experience, EPrime will crash as soon as it is not the active program on the desktop anymore. This can happen, for example, if you have two displays attached to the computer, and the windows desktop is extended across both. Any mouse click on the second screen will cause serious problems. The same happens when you accidentally press a key on the keyboard that causes another program to become active (like the Windows key). I'm not sure if there is an easy workaround for this because Windows handles such key and mouse presses itself, even if ERun is active. I know there are tools to disable certain key's system wide, but that won't be an option to disable the mouse at specific time points during the experiment. If the second display (if any) is indeed the problem, the easiest workaround is to disconnect or disable the second display before starting EPrime. Another option is to use the second display in EPrime to display a dummy Text or Slide object. (The multiple display option is available in EP 2 pro). Best Paul On 4 June 2014 16:43, Irini Symeonidou wrote: > Hi, > > I am wondering if there is an inline code in e-prime that tells the > program to deactivate/disable the mouse at a certain point in time during > the trial so that if the participant clicks the mouse by accident e-prime > will not record or recognize the click (so that the program won't crash). I > know you can do this in Matlab, I'm wondering if there is anything similar > for e-prime. > > Thank you > > Irini > > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/32656228-1ed8-4ca5-b4ea-68f77e91568a%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-sUJ%2BCY2NjfzZirjcW%2BP5nak5Sf8MXmw_vwd1%3Ds9RgxEg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Wed Jun 4 19:47:09 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 4 Jun 2014 21:47:09 +0200 Subject: Prerelease and data logging In-Reply-To: <8c8c8825-cdc6-4b5e-be2d-1ef3ac396e5c@googlegroups.com> Message-ID: Hi Cecilia, You may find one of David's post very informative: https://groups.google.com/d/msg/e-prime/OeiZ00V9SRc/Vt2QAt3uoOcJ Also note that the prerelease time of an object is used to prepare the *following *object. (This is something that is often overlooked.) Paul On 4 June 2014 20:49, Cecilia Westbrook wrote: > Hi all, > > I'm sure this is covered in another thread, but I was not able to find it > with searches. I'm using E-Prime for an fMRI task with critical timing. I'm > using prerelease for my stimuli, but I'm seeing some weirdness in my data > logging files. For stims with 200ms prerelease, it seems like it is logging > them as the onsettime + 200ms. Shouldn't it be -200ms? > > I see this in two ways: 1) if I look at the onsettime and the offset time > and subtract them to get a duration, it is 200ms SHORTER than it should be > (seems like it should be 200ms LONGER). 2) If I log the offsettime of the > stim immediately preceeding it, the onsettime is 200ms later (even though > it should be displaying at the same time as the offset time of the previous > stim, right? +/- a little bit of delay in offsettime - but not 200ms of > delay, surely?). > > What is going on? Does anybody have any advice? Is the most accurate thing > to do to just use the offsettime of the preceeding stim? > > Thanks, > Ceci > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/8c8c8825-cdc6-4b5e-be2d-1ef3ac396e5c%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-v0MEyS1aCZA31Ue6kETBOk8TQgq6Fq%3D5GVTy_SL-JcOw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ceci.westbrook at gmail.com Wed Jun 4 22:16:29 2014 From: ceci.westbrook at gmail.com (Cecilia Westbrook) Date: Wed, 4 Jun 2014 15:16:29 -0700 Subject: Prerelease and data logging In-Reply-To: Message-ID: Thanks, this is helpful. One question that I still can't seem to find the answer for, though, is: what does E-Prime log as OnsetTime for an object set with pre-release? Does it log when the object starts drawing, or when it actually displays? On Wednesday, June 4, 2014 2:47:11 PM UTC-5, Paul Groot wrote: > > Hi Cecilia, > > You may find one of David's post very informative: > > https://groups.google.com/d/msg/e-prime/OeiZ00V9SRc/Vt2QAt3uoOcJ > > > Also note that the prerelease time of an object is used to prepare the *following > *object. (This is something that is often overlooked.) > > Paul > > > On 4 June 2014 20:49, Cecilia Westbrook > wrote: > >> Hi all, >> >> I'm sure this is covered in another thread, but I was not able to find it >> with searches. I'm using E-Prime for an fMRI task with critical timing. I'm >> using prerelease for my stimuli, but I'm seeing some weirdness in my data >> logging files. For stims with 200ms prerelease, it seems like it is logging >> them as the onsettime + 200ms. Shouldn't it be -200ms? >> >> I see this in two ways: 1) if I look at the onsettime and the offset time >> and subtract them to get a duration, it is 200ms SHORTER than it should be >> (seems like it should be 200ms LONGER). 2) If I log the offsettime of the >> stim immediately preceeding it, the onsettime is 200ms later (even though >> it should be displaying at the same time as the offset time of the previous >> stim, right? +/- a little bit of delay in offsettime - but not 200ms of >> delay, surely?). >> >> What is going on? Does anybody have any advice? Is the most accurate >> thing to do to just use the offsettime of the preceeding stim? >> >> Thanks, >> Ceci >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+u... at googlegroups.com . >> To post to this group, send email to e-p... at googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/8c8c8825-cdc6-4b5e-be2d-1ef3ac396e5c%40googlegroups.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/817cc9c2-bcd9-446c-9748-8373ae375c6e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Thu Jun 5 10:00:28 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Thu, 5 Jun 2014 12:00:28 +0200 Subject: Prerelease and data logging In-Reply-To: <817cc9c2-bcd9-446c-9748-8373ae375c6e@googlegroups.com> Message-ID: from http://www.pstnet.com/support/kb.asp?TopicID=3025 *Lastly, it is also important to keep in mind exactly what the Onset Time property is telling you. The Onset Time property will give you a timestamp of the exact time in which the display began to draw.* But you will find more relevant pages when you use keywords as eprime, onssettime, LCD, etc. So, the OnsetTime has no direct relation with the time that E-Prime is *preparing* the stimulus in memory during the pre-release time of the previous object. Note that the actual pixel responses depend on the hardware that is being used, and the pixel location on the display. If it is really critical, you should check the real onsets using a light sensor and oscilloscope. Paul On 5 June 2014 00:16, Cecilia Westbrook wrote: > Thanks, this is helpful. > > One question that I still can't seem to find the answer for, though, is: > what does E-Prime log as OnsetTime for an object set with pre-release? Does > it log when the object starts drawing, or when it actually displays? > > On Wednesday, June 4, 2014 2:47:11 PM UTC-5, Paul Groot wrote: >> >> Hi Cecilia, >> >> You may find one of David's post very informative: >> >> https://groups.google.com/d/msg/e-prime/OeiZ00V9SRc/Vt2QAt3uoOcJ >> >> >> Also note that the prerelease time of an object is used to prepare the *following >> *object. (This is something that is often overlooked.) >> >> Paul >> >> >> On 4 June 2014 20:49, Cecilia Westbrook wrote: >> >>> Hi all, >>> >>> I'm sure this is covered in another thread, but I was not able to find >>> it with searches. I'm using E-Prime for an fMRI task with critical timing. >>> I'm using prerelease for my stimuli, but I'm seeing some weirdness in my >>> data logging files. For stims with 200ms prerelease, it seems like it is >>> logging them as the onsettime + 200ms. Shouldn't it be -200ms? >>> >>> I see this in two ways: 1) if I look at the onsettime and the offset >>> time and subtract them to get a duration, it is 200ms SHORTER than it >>> should be (seems like it should be 200ms LONGER). 2) If I log the >>> offsettime of the stim immediately preceeding it, the onsettime is 200ms >>> later (even though it should be displaying at the same time as the offset >>> time of the previous stim, right? +/- a little bit of delay in offsettime - >>> but not 200ms of delay, surely?). >>> >>> What is going on? Does anybody have any advice? Is the most accurate >>> thing to do to just use the offsettime of the preceeding stim? >>> >>> Thanks, >>> Ceci >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+u... at googlegroups.com. >>> To post to this group, send email to e-p... at googlegroups.com. >>> To view this discussion on the web visit https://groups.google.com/d/ >>> msgid/e-prime/8c8c8825-cdc6-4b5e-be2d-1ef3ac396e5c%40googlegroups.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/817cc9c2-bcd9-446c-9748-8373ae375c6e%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-s3CR%3DNdG5%3Dy_n7jC3DWep8XiucJb5W-UeGNdWA1xLPjw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ceci.westbrook at gmail.com Thu Jun 5 18:21:09 2014 From: ceci.westbrook at gmail.com (Cecilia Westbrook) Date: Thu, 5 Jun 2014 11:21:09 -0700 Subject: Prerelease and data logging In-Reply-To: Message-ID: Hi Paul, Thanks, this makes sense now that you point it out to me. I still can't figure out, then, why the onsettime would be 100ms later than the offsettime for the previous stimulus, if the stimulus is prereleased and therefore preparing in the background. There are not 100ms of blank screen when I do the task. On Thursday, June 5, 2014 5:00:30 AM UTC-5, Paul Groot wrote: > > > from http://www.pstnet.com/support/kb.asp?TopicID=3025 > > *Lastly, it is also important to keep in mind exactly what the Onset Time > property is telling you. The Onset Time property will give you a timestamp > of the exact time in which the display began to draw.* > > But you will find more relevant pages when you use keywords as eprime, > onssettime, LCD, etc. > > So, the OnsetTime has no direct relation with the time that E-Prime is > *preparing* the stimulus in memory during the pre-release time of the > previous object. > > Note that the actual pixel responses depend on the hardware that is being > used, and the pixel location on the display. If it is really critical, you > should check the real onsets using a light sensor and oscilloscope. > > Paul > > > > On 5 June 2014 00:16, Cecilia Westbrook > wrote: > >> Thanks, this is helpful. >> >> One question that I still can't seem to find the answer for, though, is: >> what does E-Prime log as OnsetTime for an object set with pre-release? Does >> it log when the object starts drawing, or when it actually displays? >> >> On Wednesday, June 4, 2014 2:47:11 PM UTC-5, Paul Groot wrote: >>> >>> Hi Cecilia, >>> >>> You may find one of David's post very informative: >>> >>> https://groups.google.com/d/msg/e-prime/OeiZ00V9SRc/Vt2QAt3uoOcJ >>> >>> >>> Also note that the prerelease time of an object is used to prepare the *following >>> *object. (This is something that is often overlooked.) >>> >>> Paul >>> >>> >>> On 4 June 2014 20:49, Cecilia Westbrook wrote: >>> >>>> Hi all, >>>> >>>> I'm sure this is covered in another thread, but I was not able to find >>>> it with searches. I'm using E-Prime for an fMRI task with critical timing. >>>> I'm using prerelease for my stimuli, but I'm seeing some weirdness in my >>>> data logging files. For stims with 200ms prerelease, it seems like it is >>>> logging them as the onsettime + 200ms. Shouldn't it be -200ms? >>>> >>>> I see this in two ways: 1) if I look at the onsettime and the offset >>>> time and subtract them to get a duration, it is 200ms SHORTER than it >>>> should be (seems like it should be 200ms LONGER). 2) If I log the >>>> offsettime of the stim immediately preceeding it, the onsettime is 200ms >>>> later (even though it should be displaying at the same time as the offset >>>> time of the previous stim, right? +/- a little bit of delay in offsettime - >>>> but not 200ms of delay, surely?). >>>> >>>> What is going on? Does anybody have any advice? Is the most accurate >>>> thing to do to just use the offsettime of the preceeding stim? >>>> >>>> Thanks, >>>> Ceci >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to e-prime+u... at googlegroups.com. >>>> To post to this group, send email to e-p... at googlegroups.com. >>>> To view this discussion on the web visit https://groups.google.com/d/ >>>> msgid/e-prime/8c8c8825-cdc6-4b5e-be2d-1ef3ac396e5c%40googlegroups.com >>>> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+u... at googlegroups.com . >> To post to this group, send email to e-p... at googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/817cc9c2-bcd9-446c-9748-8373ae375c6e%40googlegroups.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/73e27051-9682-4e4a-bd56-3de73ec0be1e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ceci.westbrook at gmail.com Thu Jun 5 19:39:37 2014 From: ceci.westbrook at gmail.com (Cecilia Westbrook) Date: Thu, 5 Jun 2014 12:39:37 -0700 Subject: Prerelease and data logging In-Reply-To: <73e27051-9682-4e4a-bd56-3de73ec0be1e@googlegroups.com> Message-ID: Ah, I think I figured it out. Looks like the offsettime is actually 100ms early due to prerelease of the next stimulus. On Thursday, June 5, 2014 1:21:10 PM UTC-5, Cecilia Westbrook wrote: > > Hi Paul, > > Thanks, this makes sense now that you point it out to me. > > I still can't figure out, then, why the onsettime would be 100ms later > than the offsettime for the previous stimulus, if the stimulus is > prereleased and therefore preparing in the background. There are not 100ms > of blank screen when I do the task. > > On Thursday, June 5, 2014 5:00:30 AM UTC-5, Paul Groot wrote: >> >> >> from http://www.pstnet.com/support/kb.asp?TopicID=3025 >> >> *Lastly, it is also important to keep in mind exactly what the Onset Time >> property is telling you. The Onset Time property will give you a timestamp >> of the exact time in which the display began to draw.* >> >> But you will find more relevant pages when you use keywords as eprime, >> onssettime, LCD, etc. >> >> So, the OnsetTime has no direct relation with the time that E-Prime is >> *preparing* the stimulus in memory during the pre-release time of the >> previous object. >> >> Note that the actual pixel responses depend on the hardware that is being >> used, and the pixel location on the display. If it is really critical, you >> should check the real onsets using a light sensor and oscilloscope. >> >> Paul >> >> >> >> On 5 June 2014 00:16, Cecilia Westbrook wrote: >> >>> Thanks, this is helpful. >>> >>> One question that I still can't seem to find the answer for, though, is: >>> what does E-Prime log as OnsetTime for an object set with pre-release? Does >>> it log when the object starts drawing, or when it actually displays? >>> >>> On Wednesday, June 4, 2014 2:47:11 PM UTC-5, Paul Groot wrote: >>>> >>>> Hi Cecilia, >>>> >>>> You may find one of David's post very informative: >>>> >>>> https://groups.google.com/d/msg/e-prime/OeiZ00V9SRc/Vt2QAt3uoOcJ >>>> >>>> >>>> Also note that the prerelease time of an object is used to prepare the *following >>>> *object. (This is something that is often overlooked.) >>>> >>>> Paul >>>> >>>> >>>> On 4 June 2014 20:49, Cecilia Westbrook wrote: >>>> >>>>> Hi all, >>>>> >>>>> I'm sure this is covered in another thread, but I was not able to find >>>>> it with searches. I'm using E-Prime for an fMRI task with critical timing. >>>>> I'm using prerelease for my stimuli, but I'm seeing some weirdness in my >>>>> data logging files. For stims with 200ms prerelease, it seems like it is >>>>> logging them as the onsettime + 200ms. Shouldn't it be -200ms? >>>>> >>>>> I see this in two ways: 1) if I look at the onsettime and the offset >>>>> time and subtract them to get a duration, it is 200ms SHORTER than it >>>>> should be (seems like it should be 200ms LONGER). 2) If I log the >>>>> offsettime of the stim immediately preceeding it, the onsettime is 200ms >>>>> later (even though it should be displaying at the same time as the offset >>>>> time of the previous stim, right? +/- a little bit of delay in offsettime - >>>>> but not 200ms of delay, surely?). >>>>> >>>>> What is going on? Does anybody have any advice? Is the most accurate >>>>> thing to do to just use the offsettime of the preceeding stim? >>>>> >>>>> Thanks, >>>>> Ceci >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "E-Prime" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to e-prime+u... at googlegroups.com. >>>>> To post to this group, send email to e-p... at googlegroups.com. >>>>> To view this discussion on the web visit https://groups.google.com/d/ >>>>> msgid/e-prime/8c8c8825-cdc6-4b5e-be2d-1ef3ac396e5c%40googlegroups.com >>>>> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+u... at googlegroups.com. >>> To post to this group, send email to e-p... at googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/e-prime/817cc9c2-bcd9-446c-9748-8373ae375c6e%40googlegroups.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/51ed78ad-45a5-46e7-8485-d2b32c591d5a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Jun 5 19:59:47 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 5 Jun 2014 15:59:47 -0400 Subject: Prerelease and data logging In-Reply-To: <51ed78ad-45a5-46e7-8485-d2b32c591d5a@googlegroups.com> Message-ID: Ceci, Looks like you got it. And if you log the StartTime for the object that follows the 100 ms PreRelease, you should find that it is close to the OffsetTime of the previous object. So if you have something like FixationText (PreRelease=100) StimImage then the 100 ms PreRelease time of FixationText is taken up with the time used to run any code between FixationText.FinishTime and StimImage.StartTime (e.g., loading image files), and StimImage just sitting idle until StimImage.OnsetTime. (StimImage.OnsetTime will of course follow StimImage.TargetOnsetTime, with potential delay added for screen refresh synchronization.) BTW, in general if you use any PreRelease at all, then you might as well make it large, e.g., same as Duration (and in fact this has become the default behavior since EP2.0.10). At the same time, using PreRelease does run the risk of other "gothchas" with regard to using and logging responses that happen during the PreRelease period, but EP2.0.10 also adds specific safeguards to help with that. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 6/5/2014 03:39 PM Thursday, Cecilia Westbrook wrote: >Ah, I think I figured it out. Looks like the offsettime is actually >100ms early due to prerelease of the next stimulus. > >On Thursday, June 5, 2014 1:21:10 PM UTC-5, Cecilia Westbrook wrote: >Hi Paul, > >Thanks, this makes sense now that you point it out to me. > >I still can't figure out, then, why the onsettime would be 100ms >later than the offsettime for the previous stimulus, if the stimulus >is prereleased and therefore preparing in the background. There are >not 100ms of blank screen when I do the task. > >On Thursday, June 5, 2014 5:00:30 AM UTC-5, Paul Groot wrote: > >from >http://www.pstnet.com/support/kb.asp?TopicID=3025 > >Lastly, it is also important to keep in mind exactly what the Onset >Time property is telling you. The Onset Time property will give you >a timestamp of the exact time in which the display began to draw. > >But you will find more relevant pages when you use keywords as >eprime, onssettime, LCD, etc. > >So, the OnsetTime has no direct relation with the time that E-Prime >is preparing the stimulus in memory during the pre-release time of >the previous object. > >Note that the actual pixel responses depend on the hardware that is >being used, and the pixel location on the display. If it is really >critical, you should check the real onsets using a light sensor and >oscilloscope. > >Paul > > > >On 5 June 2014 00:16, Cecilia Westbrook wrote: >Thanks, this is helpful. > >One question that I still can't seem to find the answer for, though, >is: what does E-Prime log as OnsetTime for an object set with >pre-release? Does it log when the object starts drawing, or when it >actually displays? > >On Wednesday, June 4, 2014 2:47:11 PM UTC-5, Paul Groot wrote: >Hi Cecilia, > >You may find one of David's post very informative: > >https://groups.google.com/d/msg/e-prime/OeiZ00V9SRc/Vt2QAt3uoOcJ > > >Also note that the prerelease time of an object is used to prepare >the following object. (This is something that is often overlooked.) > >Paul > > >On 4 June 2014 20:49, Cecilia Westbrook wrote: >Hi all, > >I'm sure this is covered in another thread, but I was not able to >find it with searches. I'm using E-Prime for an fMRI task with >critical timing. I'm using prerelease for my stimuli, but I'm seeing >some weirdness in my data logging files. For stims with 200ms >prerelease, it seems like it is logging them as the onsettime + >200ms. Shouldn't it be -200ms? > >I see this in two ways: 1) if I look at the onsettime and the offset >time and subtract them to get a duration, it is 200ms SHORTER than >it should be (seems like it should be 200ms LONGER). 2) If I log the >offsettime of the stim immediately preceeding it, the onsettime is >200ms later (even though it should be displaying at the same time as >the offset time of the previous stim, right? +/- a little bit of >delay in offsettime - but not 200ms of delay, surely?). > >What is going on? Does anybody have any advice? Is the most accurate >thing to do to just use the offsettime of the preceeding stim? > >Thanks, >Ceci -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5390cc37.093c320a.5502.ffffd73cSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From chad.s.fernandez at gmail.com Mon Jun 9 16:23:56 2014 From: chad.s.fernandez at gmail.com (Chad Fernandez) Date: Mon, 9 Jun 2014 09:23:56 -0700 Subject: Re-using the same 'random' order later in an experiment Message-ID: Hello forums, I have created a program using e-prime 2.0 that shows participants a set of 10 images one at a time in a random order. I used a nested list and the random option from the sequencing drop-down menu, and it works perfectly. Each image is loaded from the file location and is presented randomly. However at the end of the experiment I am hoping to be able to show the participants smaller versions of all 10 images (on the same screen) with them labelled 1-10, in the same order they originally saw them in. The reason being is there is a manipulation that we are checking for and if they failed the manipulation, we want to know which image they failed it on. The order is important because we may be able to use the data - if the participant failed the manipulation on the 10th image - for the other nine images. I have no idea if this is even possible and I would also like to add that my extent of e-prime knowledge extends to only the point-and-click so far. I am starting to learn manual coding, but the learning curve there is much steeper than just the point and click. Any help would be appreciated. Thanks, Chad -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/e2d82921-ee48-4b1c-a977-295feb23291b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Jun 9 18:36:39 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 9 Jun 2014 14:36:39 -0400 Subject: Terminate list at set time, even if current sample no completed. In-Reply-To: Message-ID: Nadia, I cannot think of any reason that pre-loading images would affect any of this, so please give it a try! -- David McFarlane At 5/30/2014 11:05 AM Friday, Nadia Martin wrote: >Hi Paul and David, > >Can this solution be implemented even with images being pre-loaded? > >Thank you, >Nadia > > > >Le dimanche 10 novembre 2013 21:39:37 UTC-5, Kate Cox a écrit : >Hi I'm very new to eprime and have no script >background so please be gentle :). > >What I'm trying to do: present participants with >a series of mathematical equations which they >must answer, using the keyboard. They must >answer as many equations as they can in 2 >minutes. After 2 minutes the task will terminate >(and go on to the next task) even if they are >part way through giving an answer. The outcomes >i'm measuring are accuracy, RT of correct >responses and number of correct responses in the 2 minute time window. > >What is working and how I have it set up: I have >300 potential equations in a list called >"TrialList", which are presented on a TextDisplay. This works perfectly. >Answers typed on the keyboard are echoed on the >screen and logged. When an answer is complete >the participant presses ENTER and the the next >equation in my list is shown. This works perfectly. >In the TextDisplay properties, under the >Duration/Input tab I have duration as infinite, >timing mode as Event, the keyboard as the only >device, allowable responses is any, time limit >is same as duration and End action is terminate. >In the list properties, under the Reset/Exit tab >I have set Exit List to "After 120 seconds" > >The problem: I can't get the task to terminate >at exactly 2 minutes. At the moment it appears >to stop when the trial that is running at 2 >minute mark is terminated (ie the participant >presses enter). For example if a participant >starts an equation at 1:55 then the task won't >stop at 2:00 it will wait until they submit >their answer and that trial is terminated. As >some of my participants aren't particularly fast >to provide their responses this may end up being closer to 3 minutes than 2. > >I'm pretty useless with script but I've found >the bit that refers to the termination settings and it looks like this: > >Set TrialList.TerminateCondition = TimedMSecs(120000) >Set TrialList.ResetCondition = Samples(300) >TrialList.Reset > >I've tried searching this group and the Eprime >guide for the answers but can't find how to fix >it. I know some people have mentioned some >script that terminates at a particular clock >setting but my script seems to look different >to theirs so I'm not sure how to implement it. >Also this maths task is part of a larger battery >of tasks so how a participant performs on >earlier tasks will determine where the running >clock is when they get up to the maths problems >(ie a participant who is faster at earlier tasks >may start the math task at the 5 minute mark and >someone who is slower might start it at the 7 >minute mark, so the running clock will be >different 2 minutes into the math task). > >I hope all this makes sense. Any help would be hugely appreciated. > >thank you in advance >Kate > >-- >You received this message because you are >subscribed to the Google Groups "E-Prime" group. >To unsubscribe from this group and stop >receiving emails from it, send an email to >e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to >e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/e-prime/a8891566-53da-4ffb-9385-aa277d9b47bf%40googlegroups.com. >For more options, visit >https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5395febd.4115320a.3865.50feSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Mon Jun 9 18:53:12 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 9 Jun 2014 14:53:12 -0400 Subject: Re-using the same 'random' order later in an experiment In-Reply-To: Message-ID: Chad, Very possible, in fact several years ago with help from PST Support I did something very like this using ExplicitOrder, see that topic in the E-Basic Help facility. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 6/9/2014 12:23 PM Monday, Chad Fernandez wrote: >I have created a program using e-prime 2.0 that shows participants a >set of 10 images one at a time in a random order. I used a nested >list and the random option from the sequencing drop-down menu, and >it works perfectly. Each image is loaded from the file location and >is presented randomly. However at the end of the experiment I am >hoping to be able to show the participants smaller versions of all >10 images (on the same screen) with them labelled 1-10, in the same >order they originally saw them in. The reason being is there is a >manipulation that we are checking for and if they failed the >manipulation, we want to know which image they failed it on. The >order is important because we may be able to use the data - if the >participant failed the manipulation on the 10th image - for the >other nine images. > >I have no idea if this is even possible and I would also like to add >that my extent of e-prime knowledge extends to only the >point-and-click so far. I am starting to learn manual coding, but >the learning curve there is much steeper than just the point and >click. Any help would be appreciated. > >Thanks, >Chad -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5396029e.0529320a.4b5e.fffff1c7SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From aahill at vassar.edu Wed Jun 11 20:53:42 2014 From: aahill at vassar.edu (aahill at vassar.edu) Date: Wed, 11 Jun 2014 13:53:42 -0700 Subject: TETWaitForFixation not working on Tobii eye tracker Message-ID: Hi all, So I've been trying to work with my eye tracker for quite some time but I can't get the TETWaitForFixation package call to work. I've tried everything but nothing works, even when go step-by-step through the tutorial in the manual. Has anyone encountered the same problem? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/c986d55d-455c-46fd-b3ed-6b9a87cb6d31%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jedema at pitt.edu Fri Jun 13 13:25:23 2014 From: Jedema at pitt.edu (Hank Jedema) Date: Fri, 13 Jun 2014 06:25:23 -0700 Subject: E-Prime Stability In-Reply-To: <961e104d-3b8c-4883-a86f-ecca23739d3d@googlegroups.com> Message-ID: Thanks for posting about the cut and paste issue with EP 2.0.10.242. I > often use it while writing programs (Matlab or E-prime) and it drives me > crazy that EP (W7-64) crashes for no apparent reason with such a simple > procedure (I just often copy just a line or 2). I haven't seen any CPU or > memory load issues but it just freezes E-studio with no apparent way out. > Hank -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/028f8a8f-3c64-4e5c-a744-0c411d1fa229%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicholasdavey2010 at gmail.com Tue Jun 17 15:49:02 2014 From: nicholasdavey2010 at gmail.com (Nicholas Davey) Date: Tue, 17 Jun 2014 08:49:02 -0700 Subject: Scrolling in Eprime? In-Reply-To: <0fe8f420-74b4-40f3-af22-482363286da1@v13g2000pro.googlegroups.com> Message-ID: Hi Matt, I'm an E-Prime novice and I'm trying to program scrolling text in E-Prime. I know this a really old post, but if you still have it, is there any way you could send me the example you mentioned? Google groups has since deleted the file feature where you originally posted it. It would be a tremendous help and I'd really appreciate it. Thanks, Nick On Tuesday, August 26, 2008 12:29:20 PM UTC-4, Matt wrote: > > Hello, > > It is possible to implement "scrolling" text in E-Prime. However, this > must be done manually using InLine script. I have attached a very > basic example of how this could be done in the Files section of this > group (i.e., ScrollingText.es). Essentially, a SlideText sub-object is > created and its proportions are configured to be larger than the > screen (thus creating the need to scroll the text). Another SlideText > sub-object is used to present instructions to the subject. > > The Slide object's Duration is set to 0, while its Time Limit is set > to "infinite" and its End Action is set to "none". The only allowable > responses are the down arrow, up arrow, and Enter keys. The Enter key > is used as the termination response. The Max Count (i.e., maximum > allowed responses) is set extremely high so that the subject can > scroll freely. > > This configuration results in the Stimulus appearing on screen while > the InLine script is running in the background. This script does > nothing except monitor incoming responses and moving the SlideText sub- > object presenting the target text. This results in a "scrolling" > effect as the subject presses the down and up arrow keys. All that is > occurring is that the script gains access to the SlideText sub-object > and then moves the Y position of the SlideText up or down as > necessary. A "ceiling" and "floor" for the Y position is implemented > so that the text is never off-screen. > > The attributes in the TrialList are used to implement the "celing" and > "floor" as well as to define the size and starting position of the > text. This allows text of varying length to be presented. > > Please let me know if you have any questions about this sample. > > - Matt > PST Technical Consultant > http://pstnet.com > > > On Aug 24, 3:05 pm, Pooja wrote: > > I'd like to create an Eprime program, similar to those used in SAT and > > GRE practice tests, where I can show a long passage on the left (which > > requires the user to scroll down in order to view the entire passage) > > along with multiple choice questions on the right. I'd like the user > > to have access to the entire passage (e.g., if they scroll down, they > > can still scroll back up, and vice versa). > > > > It doesn't appear that a long text/image/slide automatically creates a > > scroll. Is there a way to program this manually? > > > > Thanks! > > > > (Cross posted on the PTS forum website) -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1af902d4-1372-413f-85f9-7bb001c565ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Jun 17 16:23:33 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 17 Jun 2014 12:23:33 -0400 Subject: Scrolling in Eprime? In-Reply-To: <1af902d4-1372-413f-85f9-7bb001c565ce@googlegroups.com> Message-ID: Nick, Matt works for PST, so to get his attention you might do better posting your request to PST Support, and then reference this thread in your request. -- David McFarlane At 6/17/2014 11:49 AM Tuesday, Nicholas Davey wrote: >Hi Matt, > >I'm an E-Prime novice and I'm trying to program scrolling text in >E-Prime. I know this a really old post, but if you still have it, >is there any way you could send me the example you >mentioned? Google groups has since deleted the file feature where >you originally posted it. It would be a tremendous help and I'd >really appreciate it. > >Thanks, >Nick > > >On Tuesday, August 26, 2008 12:29:20 PM UTC-4, Matt wrote: >Hello, > >It is possible to implement "scrolling" text in E-Prime. However, this >must be done manually using InLine script. I have attached a very >basic example of how this could be done in the Files section of this >group (i.e., ScrollingText.es). Essentially, a SlideText sub-object is >created and its proportions are configured to be larger than the >screen (thus creating the need to scroll the text). Another SlideText >sub-object is used to present instructions to the subject. > >The Slide object's Duration is set to 0, while its Time Limit is set >to "infinite" and its End Action is set to "none". The only allowable >responses are the down arrow, up arrow, and Enter keys. The Enter key >is used as the termination response. The Max Count (i.e., maximum >allowed responses) is set extremely high so that the subject can >scroll freely. > >This configuration results in the Stimulus appearing on screen while >the InLine script is running in the background. This script does >nothing except monitor incoming responses and moving the SlideText sub- >object presenting the target text. This results in a "scrolling" >effect as the subject presses the down and up arrow keys. All that is >occurring is that the script gains access to the SlideText sub-object >and then moves the Y position of the SlideText up or down as >necessary. A "ceiling" and "floor" for the Y position is implemented >so that the text is never off-screen. > >The attributes in the TrialList are used to implement the "celing" and >"floor" as well as to define the size and starting position of the >text. This allows text of varying length to be presented. > >Please let me know if you have any questions about this sample. > >- Matt >PST Technical Consultant >http://pstnet.com > > >On Aug 24, 3:05 pm, Pooja wrote: > > I'd like to create an Eprime program, similar to those used in SAT and > > GRE practice tests, where I can show a long passage on the left (which > > requires the user to scroll down in order to view the entire passage) > > along with multiple choice questions on the right. I'd like the user > > to have access to the entire passage (e.g., if they scroll down, they > > can still scroll back up, and vice versa). > > > > It doesn't appear that a long text/image/slide automatically creates a > > scroll. Is there a way to program this manually? > > > > Thanks! > > > > (Cross posted on the PTS forum website) > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To unsubscribe from this group and stop receiving emails from it, >send an email to >e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to >e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/e-prime/1af902d4-1372-413f-85f9-7bb001c565ce%40googlegroups.com. >For more options, visit >https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53a06b8c.e277320a.25bc.5b2dSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From nicholasdavey2010 at gmail.com Tue Jun 17 17:08:37 2014 From: nicholasdavey2010 at gmail.com (Nicholas Davey) Date: Tue, 17 Jun 2014 13:08:37 -0400 Subject: Scrolling in Eprime? In-Reply-To: <53a06b8c.e277320a.25bc.5b2dSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thanks David, I'll give that a try On Tue, Jun 17, 2014 at 12:23 PM, David McFarlane wrote: > Nick, > > Matt works for PST, so to get his attention you might do better posting > your request to PST Support, and then reference this thread in your request. > > -- David McFarlane > > > > At 6/17/2014 11:49 AM Tuesday, Nicholas Davey wrote: > >> Hi Matt, >> >> I'm an E-Prime novice and I'm trying to program scrolling text in >> E-Prime. I know this a really old post, but if you still have it, is there >> any way you could send me the example you mentioned? Google groups has >> since deleted the file feature where you originally posted it. It would be >> a tremendous help and I'd really appreciate it. >> >> Thanks, >> Nick >> >> >> On Tuesday, August 26, 2008 12:29:20 PM UTC-4, Matt wrote: >> Hello, >> >> It is possible to implement "scrolling" text in E-Prime. However, this >> must be done manually using InLine script. I have attached a very >> basic example of how this could be done in the Files section of this >> group (i.e., ScrollingText.es). Essentially, a SlideText sub-object is >> created and its proportions are configured to be larger than the >> screen (thus creating the need to scroll the text). Another SlideText >> sub-object is used to present instructions to the subject. >> >> The Slide object's Duration is set to 0, while its Time Limit is set >> to "infinite" and its End Action is set to "none". The only allowable >> responses are the down arrow, up arrow, and Enter keys. The Enter key >> is used as the termination response. The Max Count (i.e., maximum >> allowed responses) is set extremely high so that the subject can >> scroll freely. >> >> This configuration results in the Stimulus appearing on screen while >> the InLine script is running in the background. This script does >> nothing except monitor incoming responses and moving the SlideText sub- >> object presenting the target text. This results in a "scrolling" >> effect as the subject presses the down and up arrow keys. All that is >> occurring is that the script gains access to the SlideText sub-object >> and then moves the Y position of the SlideText up or down as >> necessary. A "ceiling" and "floor" for the Y position is implemented >> so that the text is never off-screen. >> >> The attributes in the TrialList are used to implement the "celing" and >> "floor" as well as to define the size and starting position of the >> text. This allows text of varying length to be presented. >> >> Please let me know if you have any questions about this sample. >> >> - Matt >> PST Technical Consultant >> http://pstnet.com >> >> >> >> On Aug 24, 3:05 pm, Pooja wrote: >> > I'd like to create an Eprime program, similar to those used in SAT and >> > GRE practice tests, where I can show a long passage on the left (which >> > requires the user to scroll down in order to view the entire passage) >> > along with multiple choice questions on the right. I'd like the user >> > to have access to the entire passage (e.g., if they scroll down, they >> > can still scroll back up, and vice versa). >> > >> > It doesn't appear that a long text/image/slide automatically creates a >> > scroll. Is there a way to program this manually? >> > >> > Thanks! >> > >> > (Cross posted on the PTS forum website) >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+ >> unsubscribe at googlegroups.com. >> To post to this group, send email to >> e-prime at googlegroups.com. >> To view this discussion on the web visit > msgid/e-prime/1af902d4-1372-413f-85f9-7bb001c565ce% >> 40googlegroups.com?utm_medium=email&utm_source=footer>https: >> //groups.google.com/d/msgid/e-prime/1af902d4-1372-413f-85f9- >> 7bb001c565ce%40googlegroups.com. >> For more options, visit >> https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "E-Prime" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/e-prime/KU8_AAqyNA4/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/e-prime/53a06b8c.e277320a.25bc.5b2dSMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAHYfHRGvPuPgZn9-ZBBDu1ukEGXO6rgWPEf9QhMd%2B3TsNthZvg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ted.snyder at gmail.com Thu Jun 19 16:16:33 2014 From: ted.snyder at gmail.com (Ted Snyder) Date: Thu, 19 Jun 2014 09:16:33 -0700 Subject: Running tasks remotely, via VNC? Message-ID: E-Prime Experts, Do any of you have experience using VNC--or similar protocols--to run your tasks remotely? I work in a sleep lab, and we'd like to use E-Prime to generate stimuli while our participants are sleeping. We have computers in the participant's rooms running the script, but we need to control the task without entering the room and disturbing their sleep. We've experimented with Remote Desktop and various VNC clients, but they all seem pretty flaky--despite everything being on the same LAN and connected by gigabit ethernet. Do you have any recommendations for running E-Prime tasks remotely? Any suggestions for tackling this problem? Thanks for your help and expertise. Regards, -Ted Snyder -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/46240288-b139-46c0-a3f6-26b694980d81%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Thu Jun 19 18:17:31 2014 From: mspape at cognitology.eu (=?utf-8?Q?Michiel_Sovij=C3=A4rvi-Spap=C3=A9?=) Date: Thu, 19 Jun 2014 21:17:31 +0300 Subject: Running tasks remotely, via VNC? In-Reply-To: <46240288-b139-46c0-a3f6-26b694980d81@googlegroups.com> Message-ID: Hi, Gigabit connections, much like extremely fast PCs, do not necessarily translate into low-latency. Indeed, the lowest latency (“least flaky”) we get is consistently via old-school protocols such as serial/parallel cables. My suggestion would be to use this instead of LAN. Another idea is to use very long cables (I used 30m powered serial cable before, went fine), or attaching equipment in duplicates. For example, you can easily attach 2 computer mice and 2 keyboards to a single PC; e-prime (or Windows) doesn’t care where key-strokes come from. Then, if you add a secondary screen, you’ll have solid and extremely stable solution. Personally, I like my e-prime computers not to be connected to any LAN whatsoever. I think there have been people around who use e-prime on remote desktop. Not sure what their experience is, but I (and more importantly, your reviewers) might find it doubtful that high precision can be achieved. Of course, that doesn’t matter for many paradigms :) Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Ted Snyder Sent: 19 June 2014 19:17 To: e-prime at googlegroups.com Subject: Running tasks remotely, via VNC? E-Prime Experts, Do any of you have experience using VNC--or similar protocols--to run your tasks remotely? I work in a sleep lab, and we'd like to use E-Prime to generate stimuli while our participants are sleeping. We have computers in the participant's rooms running the script, but we need to control the task without entering the room and disturbing their sleep. We've experimented with Remote Desktop and various VNC clients, but they all seem pretty flaky--despite everything being on the same LAN and connected by gigabit ethernet. Do you have any recommendations for running E-Prime tasks remotely? Any suggestions for tackling this problem? Thanks for your help and expertise. Regards, -Ted Snyder -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com . To post to this group, send email to e-prime at googlegroups.com . To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/46240288-b139-46c0-a3f6-26b694980d81%40googlegroups.com . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/009d01cf8bea%24bcf51460%2436df3d20%24%40cognitology.eu. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ted.snyder at gmail.com Thu Jun 19 18:43:52 2014 From: ted.snyder at gmail.com (Ted Snyder) Date: Thu, 19 Jun 2014 11:43:52 -0700 Subject: Running tasks remotely, via VNC? In-Reply-To: <009d01cf8bea$bcf51460$36df3d20$@cognitology.eu> Message-ID: Michiel, Thanks for your reply. Unfortunately, our physical layout makes running more cables unlikely. Luckily, we usually have a 30 second-ish window to trigger our stimulus (one stage's worth of sleep), so a reasonable amount of latency isn't a problem. Regards, -Ted Snyder On Thursday, June 19, 2014 1:17:39 PM UTC-5, Michiel Sovijärvi-Spapé wrote: > > Hi, > > Gigabit connections, much like extremely fast PCs, do not necessarily > translate into low-latency. Indeed, the lowest latency (“least flaky”) we > get is consistently via old-school protocols such as serial/parallel > cables. My suggestion would be to use this instead of LAN. Another idea is > to use very long cables (I used 30m powered serial cable before, went > fine), or attaching equipment in duplicates. For example, you can easily > attach 2 computer mice and 2 keyboards to a single PC; e-prime (or Windows) > doesn’t care where key-strokes come from. Then, if you add a secondary > screen, you’ll have solid and extremely stable solution. Personally, I like > my e-prime computers not to be connected to any LAN whatsoever. > > > > I think there have been people around who use e-prime on remote desktop. > Not sure what their experience is, but I (and more importantly, your > reviewers) might find it doubtful that high precision can be achieved. Of > course, that doesn’t matter for many paradigms J > > Best, > > Michiel > > > > *From:* e-p... at googlegroups.com [mailto: > e-p... at googlegroups.com ] *On Behalf Of *Ted Snyder > *Sent:* 19 June 2014 19:17 > *To:* e-p... at googlegroups.com > *Subject:* Running tasks remotely, via VNC? > > > > E-Prime Experts, > > > > Do any of you have experience using VNC--or similar protocols--to run your > tasks remotely? > > > > I work in a sleep lab, and we'd like to use E-Prime to generate stimuli > while our participants are sleeping. We have computers in the participant's > rooms running the script, but we need to control the task without entering > the room and disturbing their sleep. We've experimented with Remote Desktop > and various VNC clients, but they all seem pretty flaky--despite everything > being on the same LAN and connected by gigabit ethernet. > > > > Do you have any recommendations for running E-Prime tasks remotely? Any > suggestions for tackling this problem? > > > > Thanks for your help and expertise. > > > > Regards, > > -Ted Snyder > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+u... at googlegroups.com . > To post to this group, send email to e-p... at googlegroups.com > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/46240288-b139-46c0-a3f6-26b694980d81%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/aed5a5fe-863a-4374-82c5-840076f91642%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ainos1785 at gmail.com Fri Jun 20 16:24:51 2014 From: ainos1785 at gmail.com (Sonia Bansal) Date: Fri, 20 Jun 2014 09:24:51 -0700 Subject: E-Prime and I-View: Gaze contingency Message-ID: I have managed to script an experiment in E-prime and set the communication and eye tracking up, but am having trouble with the gaze contingency part of the experiment. Basically, I have a fixation window/AOI set up around the central fixation, and when subject's eyes leave that window and look towards a peripheral target, I want that eye movement to trigger the next slide to be presented. (I just want to force fixation at the centre at the beginning of the trial for a certain period of time). What I have tried is set and enabled an AOI to obtain a count of the number of gaze data samples that are within that AOI, and for at least let's say 500 hits(calculated based on required fixation duration and sampling rate), that fixation screen is to stay on before a target (next slide) comes on. Any help with this would be highly highly appreciated!! Thanks, Sonia -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/14dd03fa-a78b-4b07-bc95-509c0dcb792f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ainos1785 at gmail.com Fri Jun 20 16:29:13 2014 From: ainos1785 at gmail.com (Sonia Bansal) Date: Fri, 20 Jun 2014 09:29:13 -0700 Subject: E-Prime and I-View: Gaze contingency In-Reply-To: <14dd03fa-a78b-4b07-bc95-509c0dcb792f@googlegroups.com> Message-ID: P.S My E-Prime is version 2.0 Standard and SMI I-View is Hi Speed-X (240/350/500 Hz) On Friday, June 20, 2014 12:24:51 PM UTC-4, Sonia Bansal wrote: > > I have managed to script an experiment in E-prime and set the > communication and eye tracking up, but am having trouble with the gaze > contingency part of the experiment. > > Basically, I have a fixation window/AOI set up around the central > fixation, and when subject's eyes leave that window and look towards a > peripheral target, I want that eye movement to trigger the next slide to be > presented. (I just want to force fixation at the centre at the beginning of > the trial for a certain period of time). > > What I have tried is set and enabled an AOI to obtain a count of the > number of gaze data samples that are within that AOI, and for at least > let's say 500 hits(calculated based on required fixation duration and > sampling rate), that fixation screen is to stay on before a target (next > slide) comes on. > > Any help with this would be highly highly appreciated!! > > Thanks, > Sonia > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/b9c328fc-7f6b-4f6c-a189-a452a085898e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From enrico.fattorini at uniroma1.it Mon Jun 23 16:28:25 2014 From: enrico.fattorini at uniroma1.it (Enrico Fattorini) Date: Mon, 23 Jun 2014 09:28:25 -0700 Subject: Triggering the No/Go response on inline Message-ID: Hi to everyone, I am using E-Prime 1. I am now preparing a Go/NoGo paradigm. I have a problem about the triggering of the No/Go response on the inline file. I have three response conditions: response with left hand ("s"); response with right hand ("l"); NO response. I did not have problem to trigger the two Go responses (letter "s" and "l") but the software is closing and segnaling an error when I did not make a response. I have to find the way to triggering a NO response. I tried a lot of different combinations, one is the following: if TResp.Responses(TResp.Responses.count).resp= "s" then Trisp=1 elseif TResp.Responses(TResp.Responses.count).resp= "l" then Trisp=2 elseif TResp.Responses(TResp.Responses.count).resp= "void" then Trisp=3 end if if Trisp = 1 then writeport 888, 51 sleep 5 writeport 888, 0 elseif Trisp = 2 then writeport 888, 52 sleep 5 writeport 888, 0 elseif Trisp = 3 then writeport 888, 50 sleep 5 writeport 888, 0 Any suggestions? Thank you a lot. Enrico -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/836c0a8c-6e89-48ab-90fd-f31ad7a9894f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kumar.dilip86 at gmail.com Tue Jun 24 03:45:42 2014 From: kumar.dilip86 at gmail.com (Dilip Kumar) Date: Mon, 23 Jun 2014 20:45:42 -0700 Subject: Converging trials with and without conditions into one Trial List...!!! Message-ID: Hi, I want to converge two tasks into one trial list in order to get random trial appearance. As can be seen in design attached, control task has only one slide object which acts as stimuli & response simultaneously (no condition) while WM task has two slide objects one being used as stimulus and other as condition & response medium. Of-course this in not a huge issue for experts in the group and I need some help in resolving it. Can someone please guide me on how should I go about converging the experiment at tabular list as well as on trial design level. Please do share your tips/tricks and suggestions on this issue. Thanks! Best regards, Dilip -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/64cab763-9897-474d-ad0e-37df28f2cff1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Trial Convergence.pdf Type: application/pdf Size: 180592 bytes Desc: not available URL: From pfc.groot at gmail.com Tue Jun 24 13:45:27 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Tue, 24 Jun 2014 15:45:27 +0200 Subject: Triggering the No/Go response on inline In-Reply-To: <836c0a8c-6e89-48ab-90fd-f31ad7a9894f@googlegroups.com> Message-ID: Hi Enrico, Does your paradigm really allow multiple responses on a single stimulus? Your script checks the value of the latest response, which would be over-complicated in case the maximum number of allowed responses is 1. Also, if there are no responses, your script will fail because it tries to read the value of the last element of the response array, which will not exist if there are no elements! So, to simplify the script you should use TResp.RESP instead of TResp.Responses(TResp.Responses.count).resp. Also be aware that comparison will be case sensitive. And instead of using if-then, you could use Select-Case. Combining it all together: Select Case UCase$(TResp.RESP) Case "S" Trisp=1 Case "L" Trisp=2 Case "" Trisp=3 Otherwise Debug.Print "Unexpected reponse: " & TResp.RESP End Select Or combining the other lines as well: Dim code as Integer Select Case UCase$(TResp.RESP) Case "S" code = 51 Case "L" code = 52 Case "" code = 50 Otherwise Debug.Print "Unexpected reponse: " & TResp.RESP code = 0 End Select if code>0 then writeport 888, code sleep 5 writeport 888, 0 end if Best Paul PS. Note that nonzero pre-release times will be problematic if this inline is used immediately after TResp. On 23 June 2014 18:28, Enrico Fattorini wrote: > Hi to everyone, > > I am using E-Prime 1. I am now preparing a Go/NoGo paradigm. I have a > problem about the triggering of the No/Go response on the inline file. I > have three response conditions: response with left hand ("s"); response > with right hand ("l"); NO response. I did not have problem to trigger the > two Go responses (letter "s" and "l") but the software is closing and > segnaling an error when I did not make a response. I have to find the way > to triggering a NO response. > > I tried a lot of different combinations, one is the following: > > if TResp.Responses(TResp.Responses.count).resp= "s" then > Trisp=1 > elseif TResp.Responses(TResp.Responses.count).resp= "l" then > Trisp=2 > elseif TResp.Responses(TResp.Responses.count).resp= "void" then > Trisp=3 > end if > > if Trisp = 1 then > writeport 888, 51 > sleep 5 > writeport 888, 0 > > elseif Trisp = 2 then > writeport 888, 52 > sleep 5 > writeport 888, 0 > > elseif Trisp = 3 then > writeport 888, 50 > sleep 5 > writeport 888, 0 > > Any suggestions? > > Thank you a lot. > > Enrico > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/836c0a8c-6e89-48ab-90fd-f31ad7a9894f%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-sF9sowLnfJbefSv_Pzmuv-qAxh6Xtc7cJ-h-W85M%2BMTA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marie-france.larsson at miun.se Tue Jun 24 13:59:09 2014 From: marie-france.larsson at miun.se (Marie-France Larsson) Date: Tue, 24 Jun 2014 06:59:09 -0700 Subject: "NULL" as my first logged answer when using "c.SetAttrib" Message-ID: Hi! I was wondering if someone else encountered this problem. I used the code below in order to log which picture a participant clicks on (the answer choices in this experiment are images on a slide). For a reason that I do not quite understand, the answers are logged in my data output, BUT, the first answer is always "NULL", and the answers are then logged on the wrong row (they are displaced one row down so that the answer provided for trial 1 is logged on the row of trial 2, and so on, meaning that the last answer is not logged at all). Anything in my code that looks wrong to you, or any suggestion? This is the very first time I ever program an experiment at all, so I feel like there are probably a lot of things I might be doing wrong! Code: Dim theState As SlideState Set theState = EmotionIdentification.States("Default") Dim strHit As String Dim providedAnswer As MouseResponseData If EmotionIdentification.InputMasks.Responses.Count > 0 Then Set providedAnswer = CMouseResponseData(EmotionIdentification.InputMasks.Responses(1)) strHit = theState.HitTest(providedAnswer.CursorX, providedAnswer.CursorY) c.SetAttrib "ClickedAnsKey", strHit End If -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/aaf59e04-10be-4ec5-a9cb-2861ebaabcad%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Tue Jun 24 14:20:32 2014 From: gusunny1 at gmail.com (sally) Date: Tue, 24 Jun 2014 07:20:32 -0700 Subject: eprime timing issues and wierd time log Message-ID: Dear all, Recently I find there is a strange thing about eprime. I am engaged in an fMRI experiment. So there is a strict timing demand and I wrote several lines of codes to make it possible in the scanner that subjects use two keys to move the cursor in the screen to do rating from 1-9. The very obvious problem is that when I run the codes, some presentation before the 1-9 ratings has got something like time ceiling. the rating time is always fixed as I assigned in the codes,but sometimes, the fixation time after the rating is shorten to 0, or sometimes the picture showing time after the fixation also flash more quickly than I expected while another fixation after the picture is still shown as I hoped. It's totally out of my mind. pictures didn't show up for the time I demand in the duration menu. I think this may have something to do wt my rating part. So I'd better to write out how I realize this part: Another guy give me this idea to make the rating 1-9 shown for 0s and afterwards every time I press the button I set up in the rating slide to left or right move the cursor, the eprime would catch the response and check which btton is pressed and make a decision whether the cursor move left or right and how long it would move. then after the axis is determined, I would draw the rating slide. and I have a cycle to control the time by datediff functon to check the start and the end of the cycle is about 5s apart. I hope I make myself clear. Any idea would be appreciated and hope someone can help me. My best, Sally -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marie-france.larsson at miun.se Tue Jun 24 15:19:07 2014 From: marie-france.larsson at miun.se (Marie-France Larsson) Date: Tue, 24 Jun 2014 08:19:07 -0700 Subject: How to define which areas can be clicked on a slide? Message-ID: Hi! I seem to have reached a deadend again. I cannot for the life of me figure out how to define which areas can be valid for a mouse click on a slide, in this case it should be on SlideImages and SlideImages only. The way it is now, a click anywhere on the slide will make the experiment go forward to the next trial. However, I would like the experiment to go forward only after the participant clicks on one of the SlideImages. A mouse click anywhere else on the slide should not have any effect. Is this something that I can fix with the "Duration/Input" settings in the slide's properties or will it require InLine code? Thank you for your input! Kind regards, Marie-France -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/27cb52b9-e02a-4160-8873-9d5393596479%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From annekehaddad at gmail.com Tue Jun 24 15:47:11 2014 From: annekehaddad at gmail.com (annekehaddad at gmail.com) Date: Tue, 24 Jun 2014 08:47:11 -0700 Subject: Randomization with nested lists Message-ID: Hi there, I'm having trouble with the randomization of some nested lists. The overall structure of my experiment is as follows. There are three stimuli, A, B, and C and 6 blocks. In each block, participants first "view" three pairs of stimuli, and then "rate" three pairs of stimuli. Within each block, each unique pair of stimuli (AB, AC, and BC) should appear exactly once in the "view" section and exactly once in the "rate" section. The position of each stimulus (left or right) should be counterbalanced within the "view" sections across the whole experiment and similarly within the "rate" sections across the whole experiment. Thus across the whole experiment, stimulus A should appear on the left 6 times in the "view" context and 6 times in the "rate" context and similarly for the other stimuli - but I am having difficulty getting the position (left/right) to counterbalance properly. My experimental setup looks something like this: Experiment -BlockList (ThreeViewTrialsProc,ThreeRateTrialsProc) 12 samples (6 cycles x 2 samples/cycle), 1 cycle equals 2 samples, seq. selection -ThreeViewTrialsProc -PairingsList1 (three rows showing the three pairs) 3 samples, 1 cycle equals 3 samples, random selection -nested within this LeftRightList1 (two rows showing the l/r orientations) 1 sample, 1 cycle equals 2 samples, random selection -ViewProc -ThreeRateTrialsProc -PairingsList2 (three rows showing the three pairs) 3 samples, 1 cycle equals 3 samples, random selection -nested within this is LeftRightList2 (two rows showing the l/r orientations) 1 sample, 1 cycle equals 2 samples, random selection -RateTrialProc I get the right number of pairs of each type, but I seem to get one too many of, for example, A on the left. What am I doing wrong? Many thanks in advance for your help. Anneke -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/10e291fa-0c55-41a6-bf35-85ea17c53609%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Tue Jun 24 22:00:57 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 25 Jun 2014 00:00:57 +0200 Subject: "NULL" as my first logged answer when using "c.SetAttrib" In-Reply-To: Message-ID: Hi Marie-France, Sounds like this inline script is executed during the prerelease time of the EmotionIdentification object. This will be the case when pre-release is non-zero and the inline script is placed immediately after EmotionIdentification. Ideally such an inline should be at the end of the trial procedure. However, when EmotionIdentification is the last object of the procedure, you should consider setting the pre-release to zero or to insert another 'dummy' object before the inline. Also have a look at the experiment advisor in EP 2. It probably warned about this inline execution during pre-release issue. Best Paul On 24 June 2014 15:59, Marie-France Larsson wrote: > Hi! > I was wondering if someone else encountered this problem. I used the code > below in order to log which picture a participant clicks on (the answer > choices in this experiment are images on a slide). For a reason that I do > not quite understand, the answers are logged in my data output, BUT, the > first answer is always "NULL", and the answers are then logged on the wrong > row (they are displaced one row down so that the answer provided for trial > 1 is logged on the row of trial 2, and so on, meaning that the last answer > is not logged at all). Anything in my code that looks wrong to you, or any > suggestion? This is the very first time I ever program an experiment at > all, so I feel like there are probably a lot of things I might be doing > wrong! > > Code: > > Dim theState As SlideState > Set theState = EmotionIdentification.States("Default") > Dim strHit As String > Dim providedAnswer As MouseResponseData > > If EmotionIdentification.InputMasks.Responses.Count > 0 Then > > Set providedAnswer = > CMouseResponseData(EmotionIdentification.InputMasks.Responses(1)) > > strHit = theState.HitTest(providedAnswer.CursorX, providedAnswer.CursorY) > > c.SetAttrib "ClickedAnsKey", strHit > > End If > > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/aaf59e04-10be-4ec5-a9cb-2861ebaabcad%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-svzgwfcLDkXA0Ch7eJ_MY7V94SduRDjgk8TfBpWgXm-A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Tue Jun 24 22:09:21 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 25 Jun 2014 00:09:21 +0200 Subject: eprime timing issues and wierd time log In-Reply-To: <7b4b3274-d26e-48e6-9753-416c720445a5@googlegroups.com> Message-ID: Hi Sally, Does your inline code use some kind of loop that takes a relative long time to finish? In that case EPrime probably tries to compensate for the 'lost' time when executing the next object. Paul On 24 June 2014 16:20, sally wrote: > Dear all, > > Recently I find there is a strange thing about eprime. I am engaged in an > fMRI experiment. So there is a strict timing demand and I wrote several > lines of codes to make it possible in the scanner that subjects use two > keys to move the cursor in the screen to do rating from 1-9. > The very obvious problem is that when I run the codes, some presentation > before the 1-9 ratings has got something like time ceiling. the rating time > is always fixed as I assigned in the codes,but sometimes, the fixation time > after the rating is shorten to 0, or sometimes the picture showing time > after the fixation also flash more quickly than I expected while another > fixation after the picture is still shown as I hoped. It's totally out of > my mind. pictures didn't show up for the time I demand in the duration menu. > I think this may have something to do wt my rating part. So I'd better to > write out how I realize this part: > > Another guy give me this idea to make the rating 1-9 shown for 0s and > afterwards every time I press the button I set up in the rating slide to > left or right move the cursor, the eprime would catch the response and > check which btton is pressed and make a decision whether the cursor move > left or right and how long it would move. then after the axis is > determined, I would draw the rating slide. and I have a cycle to control > the time by datediff functon to check the start and the end of the cycle is > about 5s apart. > > I hope I make myself clear. > > Any idea would be appreciated and hope someone can help me. > > My best, > > Sally > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Tue Jun 24 22:11:51 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 25 Jun 2014 00:11:51 +0200 Subject: How to define which areas can be clicked on a slide? In-Reply-To: <27cb52b9-e02a-4160-8873-9d5393596479@googlegroups.com> Message-ID: You might have a look at these examples: http://pfcgroot.nl/e-prime/83-example-scripts/88-image-click-example.html http://pfcgroot.nl/e-prime/83-example-scripts/84-image-selection-example.html Paul On 24 June 2014 17:19, Marie-France Larsson wrote: > Hi! > I seem to have reached a deadend again. I cannot for the life of me figure > out how to define which areas can be valid for a mouse click on a slide, in > this case it should be on SlideImages and SlideImages only. The way it is > now, a click anywhere on the slide will make the experiment go forward to > the next trial. However, I would like the experiment to go forward only > after the participant clicks on one of the SlideImages. A mouse click > anywhere else on the slide should not have any effect. Is this something > that I can fix with the "Duration/Input" settings in the slide's properties > or will it require InLine code? > > Thank you for your input! > > Kind regards, > Marie-France > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/27cb52b9-e02a-4160-8873-9d5393596479%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-ua8K%2BiNrFtpBG-7fHwAZVZCETF9M8bGiHNr3cmnG%3D61w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Wed Jun 25 00:01:11 2014 From: gusunny1 at gmail.com (sunnygu) Date: Wed, 25 Jun 2014 08:01:11 +0800 Subject: eprime timing issues and wierd time log In-Reply-To: Message-ID: Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And I tried to change the following fixation mode to event then the time of the fixation is ok then. But do you have any better idea about this situation? Thanks for your nice reply. Sally 发自我的 iPhone > 在 2014年6月25日,上午6:09,Paul Groot 写道: > > Hi Sally, > > Does your inline code use some kind of loop that takes a relative long time to finish? In that case EPrime probably tries to compensate for the 'lost' time when executing the next object. > > Paul > > > > >> On 24 June 2014 16:20, sally wrote: >> Dear all, >> >> Recently I find there is a strange thing about eprime. I am engaged in an fMRI experiment. So there is a strict timing demand and I wrote several lines of codes to make it possible in the scanner that subjects use two keys to move the cursor in the screen to do rating from 1-9. >> The very obvious problem is that when I run the codes, some presentation before the 1-9 ratings has got something like time ceiling. the rating time is always fixed as I assigned in the codes,but sometimes, the fixation time after the rating is shorten to 0, or sometimes the picture showing time after the fixation also flash more quickly than I expected while another fixation after the picture is still shown as I hoped. It's totally out of my mind. pictures didn't show up for the time I demand in the duration menu. >> I think this may have something to do wt my rating part. So I'd better to write out how I realize this part: >> >> Another guy give me this idea to make the rating 1-9 shown for 0s and afterwards every time I press the button I set up in the rating slide to left or right move the cursor, the eprime would catch the response and check which btton is pressed and make a decision whether the cursor move left or right and how long it would move. then after the axis is determined, I would draw the rating slide. and I have a cycle to control the time by datediff functon to check the start and the end of the cycle is about 5s apart. >> >> I hope I make myself clear. >> >> Any idea would be appreciated and hope someone can help me. >> >> My best, >> >> Sally >> -- >> You received this message because you are subscribed to the Google Groups "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Wed Jun 25 07:51:22 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 25 Jun 2014 09:51:22 +0200 Subject: eprime timing issues and wierd time log In-Reply-To: <8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59@gmail.com> Message-ID: Hi Sally, You could solve this by setting the duration of the object before the inline to the required value (5 sec), and set pre-release to 'same as duration'. This will make sure that the inline is executed a.s.a.p. and that the next object is scheduled to start after 5 seconds. However, this would not work if the time taken by the inline is variable. In that case you might try using the CustomOnset/OffsetTime properties and set the timing mode to custom (of the object after the inline ). Paul On 25 June 2014 02:01, sunnygu wrote: > Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And I > tried to change the following fixation mode to event then the time of the > fixation is ok then. But do you have any better idea about this situation? > Thanks for your nice reply. > > Sally > > 发自我的 iPhone > > 在 2014年6月25日,上午6:09,Paul Groot 写道: > > Hi Sally, > > Does your inline code use some kind of loop that takes a relative long > time to finish? In that case EPrime probably tries to compensate for the > 'lost' time when executing the next object. > > Paul > > > > > On 24 June 2014 16:20, sally wrote: > >> Dear all, >> >> Recently I find there is a strange thing about eprime. I am engaged in an >> fMRI experiment. So there is a strict timing demand and I wrote several >> lines of codes to make it possible in the scanner that subjects use two >> keys to move the cursor in the screen to do rating from 1-9. >> The very obvious problem is that when I run the codes, some presentation >> before the 1-9 ratings has got something like time ceiling. the rating time >> is always fixed as I assigned in the codes,but sometimes, the fixation time >> after the rating is shorten to 0, or sometimes the picture showing time >> after the fixation also flash more quickly than I expected while another >> fixation after the picture is still shown as I hoped. It's totally out of >> my mind. pictures didn't show up for the time I demand in the duration menu. >> I think this may have something to do wt my rating part. So I'd better to >> write out how I realize this part: >> >> Another guy give me this idea to make the rating 1-9 shown for 0s and >> afterwards every time I press the button I set up in the rating slide to >> left or right move the cursor, the eprime would catch the response and >> check which btton is pressed and make a decision whether the cursor move >> left or right and how long it would move. then after the axis is >> determined, I would draw the rating slide. and I have a cycle to control >> the time by datediff functon to check the start and the end of the cycle is >> about 5s apart. >> >> I hope I make myself clear. >> >> Any idea would be appreciated and hope someone can help me. >> >> My best, >> >> Sally >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com > > . > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-vQ7hPCO0KmxptQF4Qsh_ccjHu3RJvQK%3D1HzgFarMMx_w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marie-france.larsson at miun.se Wed Jun 25 09:30:48 2014 From: marie-france.larsson at miun.se (Marie-France Larsson) Date: Wed, 25 Jun 2014 02:30:48 -0700 Subject: "NULL" as my first logged answer when using "c.SetAttrib" In-Reply-To: Message-ID: Hi Paul! It worked! I moved the InLine at the end of the procedure and it solved the problem. Thank you for your reply! Best, Marie-France On Wednesday, June 25, 2014 12:01:03 AM UTC+2, Paul Groot wrote: > > Hi Marie-France, > > Sounds like this inline script is executed during the prerelease time of > the EmotionIdentification object. This will be the case when pre-release > is non-zero and the inline script is placed immediately after EmotionIdentification. > Ideally such an inline should be at the end of the trial procedure. > However, when EmotionIdentification is the last object of the procedure, > you should consider setting the pre-release to zero or to insert another > 'dummy' object before the inline. > > Also have a look at the experiment advisor in EP 2. It probably warned > about this inline execution during pre-release issue. > > Best > Paul > > > > On 24 June 2014 15:59, Marie-France Larsson > wrote: > >> Hi! >> I was wondering if someone else encountered this problem. I used the code >> below in order to log which picture a participant clicks on (the answer >> choices in this experiment are images on a slide). For a reason that I do >> not quite understand, the answers are logged in my data output, BUT, the >> first answer is always "NULL", and the answers are then logged on the wrong >> row (they are displaced one row down so that the answer provided for trial >> 1 is logged on the row of trial 2, and so on, meaning that the last answer >> is not logged at all). Anything in my code that looks wrong to you, or any >> suggestion? This is the very first time I ever program an experiment at >> all, so I feel like there are probably a lot of things I might be doing >> wrong! >> >> Code: >> >> Dim theState As SlideState >> Set theState = EmotionIdentification.States("Default") >> Dim strHit As String >> Dim providedAnswer As MouseResponseData >> >> If EmotionIdentification.InputMasks.Responses.Count > 0 Then >> >> Set providedAnswer = >> CMouseResponseData(EmotionIdentification.InputMasks.Responses(1)) >> >> strHit = theState.HitTest(providedAnswer.CursorX, providedAnswer.CursorY) >> >> c.SetAttrib "ClickedAnsKey", strHit >> >> End If >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+u... at googlegroups.com . >> To post to this group, send email to e-p... at googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/aaf59e04-10be-4ec5-a9cb-2861ebaabcad%40googlegroups.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a29102c6-7f98-44ff-9f26-9f8844a6bbb7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Wed Jun 25 10:18:14 2014 From: gusunny1 at gmail.com (sunnygu) Date: Wed, 25 Jun 2014 18:18:14 +0800 Subject: eprime timing issues and wierd time log In-Reply-To: Message-ID: Hi,Paul. So you mean if I want the fixation after the 5s rating to be presented as long as I defined, I should set the duration before the rating and prerelease to same as duration. Besides, my rating slice time is fixed to 5s, so I suppose this would work. I just tried following: I originally set the fixation as accumulative mode which is required in fMRI and I changed this to event mode which make the fixation last as long as I want. How do you think about this? By the way, I usually add an attribution in list which tells the fixation duration, but now I defined the duration in fixation property file using[time1] which time1 is the property name in list. Are these two ways the same? Sometimes I find I can't trust the codes in eprime very much. Which would you suggest? Thanks a lot for your kind reply. My best, Sally 发自我的 iPhone > 在 2014年6月25日,下午3:51,Paul Groot 写道: > > Hi Sally, > > You could solve this by setting the duration of the object before the inline to the required value (5 sec), and set pre-release to 'same as duration'. This will make sure that the inline is executed a.s.a.p. and that the next object is scheduled to start after 5 seconds. However, this would not work if the time taken by the inline is variable. In that case you might try using the CustomOnset/OffsetTime properties and set the timing mode to custom (of the object after the inline ). > > > Paul > > >> On 25 June 2014 02:01, sunnygu wrote: >> Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And I tried to change the following fixation mode to event then the time of the fixation is ok then. But do you have any better idea about this situation? >> Thanks for your nice reply. >> >> Sally >> >> 发自我的 iPhone >> >>> 在 2014年6月25日,上午6:09,Paul Groot 写道: >>> >>> Hi Sally, >>> >>> Does your inline code use some kind of loop that takes a relative long time to finish? In that case EPrime probably tries to compensate for the 'lost' time when executing the next object. >>> >>> Paul >>> >>> >>> >>> >>>> On 24 June 2014 16:20, sally wrote: >>>> Dear all, >>>> >>>> Recently I find there is a strange thing about eprime. I am engaged in an fMRI experiment. So there is a strict timing demand and I wrote several lines of codes to make it possible in the scanner that subjects use two keys to move the cursor in the screen to do rating from 1-9. >>>> The very obvious problem is that when I run the codes, some presentation before the 1-9 ratings has got something like time ceiling. the rating time is always fixed as I assigned in the codes,but sometimes, the fixation time after the rating is shorten to 0, or sometimes the picture showing time after the fixation also flash more quickly than I expected while another fixation after the picture is still shown as I hoped. It's totally out of my mind. pictures didn't show up for the time I demand in the duration menu. >>>> I think this may have something to do wt my rating part. So I'd better to write out how I realize this part: >>>> >>>> Another guy give me this idea to make the rating 1-9 shown for 0s and afterwards every time I press the button I set up in the rating slide to left or right move the cursor, the eprime would catch the response and check which btton is pressed and make a decision whether the cursor move left or right and how long it would move. then after the axis is determined, I would draw the rating slide. and I have a cycle to control the time by datediff functon to check the start and the end of the cycle is about 5s apart. >>>> >>>> I hope I make myself clear. >>>> >>>> Any idea would be appreciated and hope someone can help me. >>>> >>>> My best, >>>> >>>> Sally >>>> -- >>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>> To post to this group, send email to e-prime at googlegroups.com. >>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>> To post to this group, send email to e-prime at googlegroups.com. >>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com. >>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-vQ7hPCO0KmxptQF4Qsh_ccjHu3RJvQK%3D1HzgFarMMx_w%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/E6E547F2-6F29-413A-BF6E-E1CCD6FCA631%40gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Wed Jun 25 13:09:59 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 25 Jun 2014 15:09:59 +0200 Subject: eprime timing issues and wierd time log In-Reply-To: Message-ID: Well, just to make sure we are talking about the same thing: I assumed you have the following consecutive objects on the trial procedure: ... RatingSlide Inline (with long processing loop) Fixation ... You can keep the configuration of the Fixation object as required. I.e., just specify the duration using the bracketed attribute name ([time1]). Pre-release can be set to default ('same as duration'). The rating Slide should have duration of 5 seconds and pre-release set to 'same as duration'. So, assuming that the allowed response time for the rating is 5 seconds, this should be OK and there is no need to use *CustomOnsetTime *and cousins. The timing mode can be set to event or cumulative. I'm always a bit in doubt if fMRI tasks are synchronized using cumulative timing. For event related designs it's probably not required, unless you would like to make sure that an EPI is made at a very specific point in the BOLD response. In most cases it's sufficient to use the (relative) onset times of the edat files in the fMRI analysis. For block designs you could consider re-synchronization at the start of each block using the trigger signal of the scanner. Although I prefer to use a small piece of script at the end of a block instead, to make sure that any errors are compensated for. But there is no harm done when the cumulative mode is used, as long as you make sure to check the timed log results. Best, Paul On 25 June 2014 12:18, sunnygu wrote: > Hi,Paul. So you mean if I want the fixation after the 5s rating to be > presented as long as I defined, I should set the duration before the rating > and prerelease to same as duration. > Besides, my rating slice time is fixed to 5s, so I suppose this would > work. > I just tried following: I originally set the fixation as accumulative mode > which is required in fMRI and I changed this to event mode which make the > fixation last as long as I want. How do you think about this? > By the way, I usually add an attribution in list which tells the fixation > duration, but now I defined the duration in fixation property file > using[time1] which time1 is the property name in list. Are these two ways > the same? Sometimes I find I can't trust the codes in eprime very much. > Which would you suggest? > > Thanks a lot for your kind reply. > My best, > Sally > 发自我的 iPhone > > 在 2014年6月25日,下午3:51,Paul Groot 写道: > > Hi Sally, > > You could solve this by setting the duration of the object before the > inline to the required value (5 sec), and set pre-release to 'same as > duration'. This will make sure that the inline is executed a.s.a.p. and > that the next object is scheduled to start after 5 seconds. However, this > would not work if the time taken by the inline is variable. In that case > you might try using the CustomOnset/OffsetTime properties and set the > timing mode to custom (of the object after the inline ). > > > Paul > > > On 25 June 2014 02:01, sunnygu wrote: > >> Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And I >> tried to change the following fixation mode to event then the time of the >> fixation is ok then. But do you have any better idea about this situation? >> Thanks for your nice reply. >> >> Sally >> >> 发自我的 iPhone >> >> 在 2014年6月25日,上午6:09,Paul Groot 写道: >> >> Hi Sally, >> >> Does your inline code use some kind of loop that takes a relative long >> time to finish? In that case EPrime probably tries to compensate for the >> 'lost' time when executing the next object. >> >> Paul >> >> >> >> >> On 24 June 2014 16:20, sally wrote: >> >>> Dear all, >>> >>> Recently I find there is a strange thing about eprime. I am engaged in >>> an fMRI experiment. So there is a strict timing demand and I wrote several >>> lines of codes to make it possible in the scanner that subjects use two >>> keys to move the cursor in the screen to do rating from 1-9. >>> The very obvious problem is that when I run the codes, some presentation >>> before the 1-9 ratings has got something like time ceiling. the rating time >>> is always fixed as I assigned in the codes,but sometimes, the fixation time >>> after the rating is shorten to 0, or sometimes the picture showing time >>> after the fixation also flash more quickly than I expected while another >>> fixation after the picture is still shown as I hoped. It's totally out of >>> my mind. pictures didn't show up for the time I demand in the duration menu. >>> I think this may have something to do wt my rating part. So I'd better >>> to write out how I realize this part: >>> >>> Another guy give me this idea to make the rating 1-9 shown for 0s and >>> afterwards every time I press the button I set up in the rating slide to >>> left or right move the cursor, the eprime would catch the response and >>> check which btton is pressed and make a decision whether the cursor move >>> left or right and how long it would move. then after the axis is >>> determined, I would draw the rating slide. and I have a cycle to control >>> the time by datediff functon to check the start and the end of the cycle is >>> about 5s apart. >>> >>> I hope I make myself clear. >>> >>> Any idea would be appreciated and hope someone can help me. >>> >>> My best, >>> >>> Sally >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+unsubscribe at googlegroups.com. >>> To post to this group, send email to e-prime at googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/CAKAdR-vQ7hPCO0KmxptQF4Qsh_ccjHu3RJvQK%3D1HzgFarMMx_w%40mail.gmail.com > > . > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/E6E547F2-6F29-413A-BF6E-E1CCD6FCA631%40gmail.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uWK8MR5R0NrvJF7MhOQUefiT4LNXjWjH76Tna12KnC2Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Wed Jun 25 13:18:54 2014 From: gusunny1 at gmail.com (sunnygu) Date: Wed, 25 Jun 2014 21:18:54 +0800 Subject: eprime timing issues and wierd time log In-Reply-To: Message-ID: Ok,Paul. Thanks a lot for your fast reply. I would update after I do what you suggested. It's nice to have you here in this group. My best, Sally 发自我的 iPhone > 在 2014年6月25日,下午9:09,Paul Groot 写道: > > Well, just to make sure we are talking about the same thing: I assumed you have the following consecutive objects on the trial procedure: > > ... > RatingSlide > Inline (with long processing loop) > Fixation > ... > > You can keep the configuration of the Fixation object as required. I.e., just specify the duration using the bracketed attribute name ([time1]). Pre-release can be set to default ('same as duration'). The rating Slide should have duration of 5 seconds and pre-release set to 'same as duration'. So, assuming that the allowed response time for the rating is 5 seconds, this should be OK and there is no need to use CustomOnsetTime and cousins. > > The timing mode can be set to event or cumulative. I'm always a bit in doubt if fMRI tasks are synchronized using cumulative timing. For event related designs it's probably not required, unless you would like to make sure that an EPI is made at a very specific point in the BOLD response. In most cases it's sufficient to use the (relative) onset times of the edat files in the fMRI analysis. For block designs you could consider re-synchronization at the start of each block using the trigger signal of the scanner. Although I prefer to use a small piece of script at the end of a block instead, to make sure that any errors are compensated for. But there is no harm done when the cumulative mode is used, as long as you make sure to check the timed log results. > > Best, > Paul > > > > >> On 25 June 2014 12:18, sunnygu wrote: >> Hi,Paul. So you mean if I want the fixation after the 5s rating to be presented as long as I defined, I should set the duration before the rating and prerelease to same as duration. >> Besides, my rating slice time is fixed to 5s, so I suppose this would work. >> I just tried following: I originally set the fixation as accumulative mode which is required in fMRI and I changed this to event mode which make the fixation last as long as I want. How do you think about this? >> By the way, I usually add an attribution in list which tells the fixation duration, but now I defined the duration in fixation property file using[time1] which time1 is the property name in list. Are these two ways the same? Sometimes I find I can't trust the codes in eprime very much. Which would you suggest? >> >> Thanks a lot for your kind reply. >> My best, >> Sally >> 发自我的 iPhone >> >>> 在 2014年6月25日,下午3:51,Paul Groot 写道: >>> >>> Hi Sally, >>> >>> You could solve this by setting the duration of the object before the inline to the required value (5 sec), and set pre-release to 'same as duration'. This will make sure that the inline is executed a.s.a.p. and that the next object is scheduled to start after 5 seconds. However, this would not work if the time taken by the inline is variable. In that case you might try using the CustomOnset/OffsetTime properties and set the timing mode to custom (of the object after the inline ). >>> >>> >>> Paul >>> >>> >>>> On 25 June 2014 02:01, sunnygu wrote: >>>> Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And I tried to change the following fixation mode to event then the time of the fixation is ok then. But do you have any better idea about this situation? >>>> Thanks for your nice reply. >>>> >>>> Sally >>>> >>>> 发自我的 iPhone >>>> >>>> 在 2014年6月25日,上午6:09,Paul Groot 写道: >>>> >>>>> Hi Sally, >>>>> >>>>> Does your inline code use some kind of loop that takes a relative long time to finish? In that case EPrime probably tries to compensate for the 'lost' time when executing the next object. >>>>> >>>>> Paul >>>>> >>>>> >>>>> >>>>> >>>>>> On 24 June 2014 16:20, sally wrote: >>>>>> Dear all, >>>>>> >>>>>> Recently I find there is a strange thing about eprime. I am engaged in an fMRI experiment. So there is a strict timing demand and I wrote several lines of codes to make it possible in the scanner that subjects use two keys to move the cursor in the screen to do rating from 1-9. >>>>>> The very obvious problem is that when I run the codes, some presentation before the 1-9 ratings has got something like time ceiling. the rating time is always fixed as I assigned in the codes,but sometimes, the fixation time after the rating is shorten to 0, or sometimes the picture showing time after the fixation also flash more quickly than I expected while another fixation after the picture is still shown as I hoped. It's totally out of my mind. pictures didn't show up for the time I demand in the duration menu. >>>>>> I think this may have something to do wt my rating part. So I'd better to write out how I realize this part: >>>>>> >>>>>> Another guy give me this idea to make the rating 1-9 shown for 0s and afterwards every time I press the button I set up in the rating slide to left or right move the cursor, the eprime would catch the response and check which btton is pressed and make a decision whether the cursor move left or right and how long it would move. then after the axis is determined, I would draw the rating slide. and I have a cycle to control the time by datediff functon to check the start and the end of the cycle is about 5s apart. >>>>>> >>>>>> I hope I make myself clear. >>>>>> >>>>>> Any idea would be appreciated and hope someone can help me. >>>>>> >>>>>> My best, >>>>>> >>>>>> Sally >>>>>> -- >>>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com. >>>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>> To post to this group, send email to e-prime at googlegroups.com. >>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com. >>>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>> To post to this group, send email to e-prime at googlegroups.com. >>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-vQ7hPCO0KmxptQF4Qsh_ccjHu3RJvQK%3D1HzgFarMMx_w%40mail.gmail.com. >>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/E6E547F2-6F29-413A-BF6E-E1CCD6FCA631%40gmail.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uWK8MR5R0NrvJF7MhOQUefiT4LNXjWjH76Tna12KnC2Q%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/0B430218-63D5-4FB6-9026-C70EBDED53DE%40gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Wed Jun 25 14:50:44 2014 From: gusunny1 at gmail.com (sunnygu) Date: Wed, 25 Jun 2014 22:50:44 +0800 Subject: eprime timing issues and wierd time log In-Reply-To: Message-ID: Hi, Paul. I just tried what you said but it didn't work as we expected. First of all, I would like make you informed that the rating slide duration is set to zero and I use inline scripts to control the whole presentation to be 5 seconds, each time there is a keyboard response, I would draw the rating slice,making it seems its duration is 5 seconds. Then here is how I revised as you told me: first fixation prerelease set to be the same as it's duration, since my eprime version didn't have this option, I use the bracketed attribution. Second, I set the rating prerelease to be zero or 5 seconds. But all turned to be a failure in that the fixation time is shorten. So I don't know how to revise it. Hope you can give me some guidance. Thanks a lot. Best regards, Sally 发自我的 iPhone > 在 2014年6月25日,下午9:09,Paul Groot 写道: > > Well, just to make sure we are talking about the same thing: I assumed you have the following consecutive objects on the trial procedure: > > ... > RatingSlide > Inline (with long processing loop) > Fixation > ... > > You can keep the configuration of the Fixation object as required. I.e., just specify the duration using the bracketed attribute name ([time1]). Pre-release can be set to default ('same as duration'). The rating Slide should have duration of 5 seconds and pre-release set to 'same as duration'. So, assuming that the allowed response time for the rating is 5 seconds, this should be OK and there is no need to use CustomOnsetTime and cousins. > > The timing mode can be set to event or cumulative. I'm always a bit in doubt if fMRI tasks are synchronized using cumulative timing. For event related designs it's probably not required, unless you would like to make sure that an EPI is made at a very specific point in the BOLD response. In most cases it's sufficient to use the (relative) onset times of the edat files in the fMRI analysis. For block designs you could consider re-synchronization at the start of each block using the trigger signal of the scanner. Although I prefer to use a small piece of script at the end of a block instead, to make sure that any errors are compensated for. But there is no harm done when the cumulative mode is used, as long as you make sure to check the timed log results. > > Best, > Paul > > > > >> On 25 June 2014 12:18, sunnygu wrote: >> Hi,Paul. So you mean if I want the fixation after the 5s rating to be presented as long as I defined, I should set the duration before the rating and prerelease to same as duration. >> Besides, my rating slice time is fixed to 5s, so I suppose this would work. >> I just tried following: I originally set the fixation as accumulative mode which is required in fMRI and I changed this to event mode which make the fixation last as long as I want. How do you think about this? >> By the way, I usually add an attribution in list which tells the fixation duration, but now I defined the duration in fixation property file using[time1] which time1 is the property name in list. Are these two ways the same? Sometimes I find I can't trust the codes in eprime very much. Which would you suggest? >> >> Thanks a lot for your kind reply. >> My best, >> Sally >> 发自我的 iPhone >> >>> 在 2014年6月25日,下午3:51,Paul Groot 写道: >>> >>> Hi Sally, >>> >>> You could solve this by setting the duration of the object before the inline to the required value (5 sec), and set pre-release to 'same as duration'. This will make sure that the inline is executed a.s.a.p. and that the next object is scheduled to start after 5 seconds. However, this would not work if the time taken by the inline is variable. In that case you might try using the CustomOnset/OffsetTime properties and set the timing mode to custom (of the object after the inline ). >>> >>> >>> Paul >>> >>> >>>> On 25 June 2014 02:01, sunnygu wrote: >>>> Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And I tried to change the following fixation mode to event then the time of the fixation is ok then. But do you have any better idea about this situation? >>>> Thanks for your nice reply. >>>> >>>> Sally >>>> >>>> 发自我的 iPhone >>>> >>>> 在 2014年6月25日,上午6:09,Paul Groot 写道: >>>> >>>>> Hi Sally, >>>>> >>>>> Does your inline code use some kind of loop that takes a relative long time to finish? In that case EPrime probably tries to compensate for the 'lost' time when executing the next object. >>>>> >>>>> Paul >>>>> >>>>> >>>>> >>>>> >>>>>> On 24 June 2014 16:20, sally wrote: >>>>>> Dear all, >>>>>> >>>>>> Recently I find there is a strange thing about eprime. I am engaged in an fMRI experiment. So there is a strict timing demand and I wrote several lines of codes to make it possible in the scanner that subjects use two keys to move the cursor in the screen to do rating from 1-9. >>>>>> The very obvious problem is that when I run the codes, some presentation before the 1-9 ratings has got something like time ceiling. the rating time is always fixed as I assigned in the codes,but sometimes, the fixation time after the rating is shorten to 0, or sometimes the picture showing time after the fixation also flash more quickly than I expected while another fixation after the picture is still shown as I hoped. It's totally out of my mind. pictures didn't show up for the time I demand in the duration menu. >>>>>> I think this may have something to do wt my rating part. So I'd better to write out how I realize this part: >>>>>> >>>>>> Another guy give me this idea to make the rating 1-9 shown for 0s and afterwards every time I press the button I set up in the rating slide to left or right move the cursor, the eprime would catch the response and check which btton is pressed and make a decision whether the cursor move left or right and how long it would move. then after the axis is determined, I would draw the rating slide. and I have a cycle to control the time by datediff functon to check the start and the end of the cycle is about 5s apart. >>>>>> >>>>>> I hope I make myself clear. >>>>>> >>>>>> Any idea would be appreciated and hope someone can help me. >>>>>> >>>>>> My best, >>>>>> >>>>>> Sally >>>>>> -- >>>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com. >>>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>> To post to this group, send email to e-prime at googlegroups.com. >>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com. >>>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>> To post to this group, send email to e-prime at googlegroups.com. >>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-vQ7hPCO0KmxptQF4Qsh_ccjHu3RJvQK%3D1HzgFarMMx_w%40mail.gmail.com. >>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/E6E547F2-6F29-413A-BF6E-E1CCD6FCA631%40gmail.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uWK8MR5R0NrvJF7MhOQUefiT4LNXjWjH76Tna12KnC2Q%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/BA6FD93E-22E5-4F3F-B821-A719CE785EB0%40gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tjay.hennessy at gmail.com Wed Jun 25 20:20:20 2014 From: tjay.hennessy at gmail.com (Jay Hennessy) Date: Wed, 25 Jun 2014 13:20:20 -0700 Subject: Sending non-printable ascii characters via serial port Message-ID: Hi all, Maybe someone can help me with this problem. I want to send a string to a serial port to control a TMS machine during an EEG experiment. I already know how to send strings using Serial.Write The problem is that the standards for the TMS machine require the last character of the string to be a check bit. You calculate it by first adding up the hexadecimal equivalents of the other characters then taking the inverse. This is now your check bit or check character added to the end of the string. example: if i want to send @050 ascii hex @ = 40 0 = 30 5 = 35 0 = 30 40+30+35+30 = D5 so the inverse is = 2A and 2A in hex is * in ascii so I would send the string @050* and everything should work. The problem is that if my check bit becomes a non-printable ascii character, how should I send it? for example my check bit might be 1C in hex which is 'file seperator' in ascii. This isn't a character I can send using Serial.Write in Eprime (at least that I know of). Can anyone think of a way around this problem? I might be able to send bits instead of a string. Is sending bits something Serial.Write can do? can eprime convert things to bits? Any help would be appreciated. Thanks jay -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/fb97098b-509e-403b-96a7-909c09c9ef67%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From leejdunn at gmail.com Thu Jun 26 00:25:07 2014 From: leejdunn at gmail.com (Lee) Date: Wed, 25 Jun 2014 17:25:07 -0700 Subject: Autoit scripts for running multiple tasks In-Reply-To: Message-ID: Hi all, I am trying to look into using autoit for some of my experiments. I am using the script Anne-Wil provided with only a small modification (my eprime is in a dif directory) Run("C:\Program Files (x86)\PST\E-Prime 2.0\Program\E-Run.exe /a /m " & '"' & @Workingdir & '\1.ebs2"') However when I try to run it I have a problem where an extra window is popping up (image of window http://imgur.com/h5kXMqe) before my specific .esb2 file opens. This is the window that appears if I were to just double click erun. So it appears the program is first running erun without selecting a program then running my ebs2 file. The issue is though that the program gets stuck because this extra window appears and I can't click past it. I'm not sure why this is an issue for me when the program works for others. Is there maybe a setting in erun I need to change? Something wrong with the code? Thanks, Lee On Wednesday, October 9, 2013 5:09:32 AM UTC-4, iskeb... at gmail.com wrote: > > Hi all, > I found this conversation about scripts that people have created to run > multiple tasks (something that suprised me very much to find e-prime > doesn't do!): > https://groups.google.com/forum/?hl=en-US#!searchin/e-prime/autoit$20/e-prime/yxViXrIuOfM/aF1IeVUJw5MJ. > However, the links are not working anymore. Does anyone perhaps still have > this script (or another that does the same, of course)? > Many thanks! > Iske > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/879b0524-e6b6-4157-b619-23211169f531%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Thu Jun 26 02:37:21 2014 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Thu, 26 Jun 2014 10:37:21 +0800 Subject: eprime timing issues and wierd time log In-Reply-To: Message-ID: Hi, Paul. I have tried again and find that once I set the fixation mode to event the program went smoothly as I expected and its duration I defined would not be shortened. I am a little confused about this part. Do you have an idea? My best, Sally 2014-06-25 22:50 GMT+08:00 sunnygu : > Hi, Paul. > > I just tried what you said but it didn't work as we expected. First of > all, I would like make you informed that the rating slide duration is set > to zero and I use inline scripts to control the whole presentation to be 5 > seconds, each time there is a keyboard response, I would draw the rating > slice,making it seems its duration is 5 seconds. > > Then here is how I revised as you told me: first fixation prerelease set > to be the same as it's duration, since my eprime version didn't have this > option, I use the bracketed attribution. Second, I set the rating > prerelease to be zero or 5 seconds. > But all turned to be a failure in that the fixation time is shorten. > > So I don't know how to revise it. > > Hope you can give me some guidance. > Thanks a lot. > Best regards, > > Sally > > 发自我的 iPhone > > 在 2014年6月25日,下午9:09,Paul Groot 写道: > > Well, just to make sure we are talking about the same thing: I assumed you > have the following consecutive objects on the trial procedure: > > ... > RatingSlide > Inline (with long processing loop) > Fixation > ... > > You can keep the configuration of the Fixation object as required. I.e., > just specify the duration using the bracketed attribute name ([time1]). > Pre-release can be set to default ('same as duration'). The rating Slide > should have duration of 5 seconds and pre-release set to 'same as > duration'. So, assuming that the allowed response time for the rating is 5 > seconds, this should be OK and there is no need to use *CustomOnsetTime *and > cousins. > > The timing mode can be set to event or cumulative. I'm always a bit in > doubt if fMRI tasks are synchronized using cumulative timing. For event > related designs it's probably not required, unless you would like to make > sure that an EPI is made at a very specific point in the BOLD response. In > most cases it's sufficient to use the (relative) onset times of the edat > files in the fMRI analysis. For block designs you could consider > re-synchronization at the start of each block using the trigger signal of > the scanner. Although I prefer to use a small piece of script at the end of > a block instead, to make sure that any errors are compensated for. But > there is no harm done when the cumulative mode is used, as long as you make > sure to check the timed log results. > > Best, > Paul > > > > > On 25 June 2014 12:18, sunnygu wrote: > >> Hi,Paul. So you mean if I want the fixation after the 5s rating to be >> presented as long as I defined, I should set the duration before the rating >> and prerelease to same as duration. >> Besides, my rating slice time is fixed to 5s, so I suppose this would >> work. >> I just tried following: I originally set the fixation as accumulative >> mode which is required in fMRI and I changed this to event mode which make >> the fixation last as long as I want. How do you think about this? >> By the way, I usually add an attribution in list which tells the fixation >> duration, but now I defined the duration in fixation property file >> using[time1] which time1 is the property name in list. Are these two ways >> the same? Sometimes I find I can't trust the codes in eprime very much. >> Which would you suggest? >> >> Thanks a lot for your kind reply. >> My best, >> Sally >> 发自我的 iPhone >> >> 在 2014年6月25日,下午3:51,Paul Groot 写道: >> >> Hi Sally, >> >> You could solve this by setting the duration of the object before the >> inline to the required value (5 sec), and set pre-release to 'same as >> duration'. This will make sure that the inline is executed a.s.a.p. and >> that the next object is scheduled to start after 5 seconds. However, this >> would not work if the time taken by the inline is variable. In that case >> you might try using the CustomOnset/OffsetTime properties and set the >> timing mode to custom (of the object after the inline ). >> >> >> Paul >> >> >> On 25 June 2014 02:01, sunnygu wrote: >> >>> Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And >>> I tried to change the following fixation mode to event then the time of the >>> fixation is ok then. But do you have any better idea about this situation? >>> Thanks for your nice reply. >>> >>> Sally >>> >>> 发自我的 iPhone >>> >>> 在 2014年6月25日,上午6:09,Paul Groot 写道: >>> >>> Hi Sally, >>> >>> Does your inline code use some kind of loop that takes a relative long >>> time to finish? In that case EPrime probably tries to compensate for the >>> 'lost' time when executing the next object. >>> >>> Paul >>> >>> >>> >>> >>> On 24 June 2014 16:20, sally wrote: >>> >>>> Dear all, >>>> >>>> Recently I find there is a strange thing about eprime. I am engaged in >>>> an fMRI experiment. So there is a strict timing demand and I wrote several >>>> lines of codes to make it possible in the scanner that subjects use two >>>> keys to move the cursor in the screen to do rating from 1-9. >>>> The very obvious problem is that when I run the codes, some >>>> presentation before the 1-9 ratings has got something like time ceiling. >>>> the rating time is always fixed as I assigned in the codes,but sometimes, >>>> the fixation time after the rating is shorten to 0, or sometimes the >>>> picture showing time after the fixation also flash more quickly than I >>>> expected while another fixation after the picture is still shown as I >>>> hoped. It's totally out of my mind. pictures didn't show up for the time I >>>> demand in the duration menu. >>>> I think this may have something to do wt my rating part. So I'd better >>>> to write out how I realize this part: >>>> >>>> Another guy give me this idea to make the rating 1-9 shown for 0s and >>>> afterwards every time I press the button I set up in the rating slide to >>>> left or right move the cursor, the eprime would catch the response and >>>> check which btton is pressed and make a decision whether the cursor move >>>> left or right and how long it would move. then after the axis is >>>> determined, I would draw the rating slide. and I have a cycle to control >>>> the time by datediff functon to check the start and the end of the cycle is >>>> about 5s apart. >>>> >>>> I hope I make myself clear. >>>> >>>> Any idea would be appreciated and hope someone can help me. >>>> >>>> My best, >>>> >>>> Sally >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to e-prime+unsubscribe at googlegroups.com. >>>> To post to this group, send email to e-prime at googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com >>>> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+unsubscribe at googlegroups.com. >>> To post to this group, send email to e-prime at googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+unsubscribe at googlegroups.com. >>> To post to this group, send email to e-prime at googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/CAKAdR-vQ7hPCO0KmxptQF4Qsh_ccjHu3RJvQK%3D1HzgFarMMx_w%40mail.gmail.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/E6E547F2-6F29-413A-BF6E-E1CCD6FCA631%40gmail.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/CAKAdR-uWK8MR5R0NrvJF7MhOQUefiT4LNXjWjH76Tna12KnC2Q%40mail.gmail.com > > . > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAJO0WNZR3rTL0REq-nq5aXkmQ6MD5qtELk%3DCKxQKtHeJpGXv-w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kumar.dilip86 at gmail.com Thu Jun 26 03:42:58 2014 From: kumar.dilip86 at gmail.com (Dilip Kumar) Date: Wed, 25 Jun 2014 20:42:58 -0700 Subject: Random trial presentation from two Block list with different trial procedures & Incomplete Execution Message-ID: Hi, I have designed an experiment with two block list with different trial procedures. Each block list has 30 trials and different timeline due to different trial design. I am trying to get the random trial presentation in the run to create unpredictability. This is what I have done so far, I have set the weight to 30 in master block list 'A' for both trial block lists 'B & C'. I have set the each 30 trial block list 'B & C' with 1 cycle equals 30 samples from reset/ext tab. I have set the block list 'A' selection order to Random to get blended trial presentation from lists 'B & C'. I've used IFIS Paradigm Design Wizard with E-prime 1.1 version to design this experiment. It has its own experiment design structure which I somehow managed to incorporate my design into it. The problem I have now is that the experiment runs only for 16 trial from a total of 60 (30 trials from 'B & C' each) in a single run and continues until I choose exit at the end of each 16 trial run. I am also not sure whether my design will be able to show a mixture of all 60 trials without repeating any of them. Can someone help me address these two issue? Best Regards, Dilip -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1d29a861-b2e6-4294-a249-6aa2bf6f2aaa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marie-france.larsson at miun.se Thu Jun 26 11:12:41 2014 From: marie-france.larsson at miun.se (Marie-France Larsson) Date: Thu, 26 Jun 2014 04:12:41 -0700 Subject: How to define which areas can be clicked on a slide? In-Reply-To: Message-ID: Hi Paul! Thank you very much for the links, great examples! I had managed to log the answers with script that is a bit similar to the one found in your examples, but the problem that I have is that the pictures on my slide do not cover the entire canvas, meaning that participants can click beside a picture, and the experiment will still go forward, but without a valid answer in the log. Since my participants will be children, there is a high risk that they will click a bit randomly, and I want to avoid missing values as much as possible by making the rest of the canvas "unclickable". I am trying to build an If / Else statement to solve it, I'm not sure that's the best way to go, but hopefully it can work. Regards, Marie-France On Wednesday, June 25, 2014 12:11:58 AM UTC+2, Paul Groot wrote: > > You might have a look at these examples: > > http://pfcgroot.nl/e-prime/83-example-scripts/88-image-click-example.html > > http://pfcgroot.nl/e-prime/83-example-scripts/84-image-selection-example.html > > Paul > > > On 24 June 2014 17:19, Marie-France Larsson > wrote: > >> Hi! >> I seem to have reached a deadend again. I cannot for the life of me >> figure out how to define which areas can be valid for a mouse click on a >> slide, in this case it should be on SlideImages and SlideImages only. The >> way it is now, a click anywhere on the slide will make the experiment go >> forward to the next trial. However, I would like the experiment to go >> forward only after the participant clicks on one of the SlideImages. A >> mouse click anywhere else on the slide should not have any effect. Is this >> something that I can fix with the "Duration/Input" settings in the slide's >> properties or will it require InLine code? >> >> Thank you for your input! >> >> Kind regards, >> Marie-France >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+u... at googlegroups.com . >> To post to this group, send email to e-p... at googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/27cb52b9-e02a-4160-8873-9d5393596479%40googlegroups.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/08d24a5b-5428-41aa-b1ae-a8bd9b287e2b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From anagonzalezroldan at gmail.com Fri Jun 27 13:28:07 2014 From: anagonzalezroldan at gmail.com (=?UTF-8?Q?Ana_Mar=C3=ADa?=) Date: Fri, 27 Jun 2014 06:28:07 -0700 Subject: background color in Images Message-ID: Hi! I have a little problem programing my experiment. I am modifying the Click and Drag routine that there is available in the samples, to show only two circles that can be moved. I have replaced the SlideText for a SlideImage and put the pictures that I need (two different circles, with different colors and words inside). Everything runs perfect, but my problem is that when I run the scenario, the pictures appear with a background color that was not originally there. The background is black (if the picture is in *tiff or *png format) or white (if the picture is in jpg or bmp). Do you know why E-PRIME could do this? In the properties of the Image I have set the BackStyle as Transparent... Thank you very much!! Ana. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1b10746b-8e51-48ca-b0a7-2cbe07e63ace%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Sat Jun 28 10:54:10 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Sat, 28 Jun 2014 12:54:10 +0200 Subject: Sending non-printable ascii characters via serial port In-Reply-To: Message-ID: Jay, You can use the WriteBytes function for this: Dim arrData(4) As Integer arrData(0) = 40 arrData(1) = 30 arrData(2) = 35 arrData(3) = 30 arrData(4) = &H2A Serial.WriteBytes arrData With some additional code you could make a nice function out of this that automatically calculates and adds the checksum value. Best, Paul On 25 June 2014 22:20, Jay Hennessy wrote: > Hi all, > > Maybe someone can help me with this problem. > > I want to send a string to a serial port to control a TMS machine during > an EEG experiment. I already know how to send strings using Serial.Write > > The problem is that the standards for the TMS machine require the last > character of the string to be a check bit. You calculate it by first adding > up the hexadecimal equivalents of the other characters then taking the > inverse. This is now your check bit or check character added to the end of > the string. > > example: if i want to send @050 > > ascii hex > > @ = 40 > 0 = 30 > 5 = 35 > 0 = 30 > > 40+30+35+30 = D5 > > so the inverse is = 2A > > and 2A in hex is * in ascii > so I would send the string @050* and everything should work. > > The problem is that if my check bit becomes a non-printable ascii > character, how should I send it? > > for example my check bit might be 1C in hex which is 'file seperator' in > ascii. This isn't a character I can send using Serial.Write in Eprime (at > least that I know of). > Can anyone think of a way around this problem? > I might be able to send bits instead of a string. Is sending bits > something Serial.Write can do? can eprime convert things to bits? > > Any help would be appreciated. > > Thanks > > jay > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/fb97098b-509e-403b-96a7-909c09c9ef67%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-sKYK%2BUwMnHR8p0EU3ZhjB9gNNpS24O-kw_dFDq_aaRtw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kumar.dilip86 at gmail.com Mon Jun 30 01:20:49 2014 From: kumar.dilip86 at gmail.com (Dilip Kumar) Date: Sun, 29 Jun 2014 18:20:49 -0700 Subject: background color in Images In-Reply-To: <1b10746b-8e51-48ca-b0a7-2cbe07e63ace@googlegroups.com> Message-ID: Dear Ana, Even I do not have that much experience using E-prime but I can suggest what you can do and hope it works out for you. Change the backstylist back to opaque from transparent, keep the default settings. BMP is considered standard format for presenting image stimulus using E-prime and I was also suggested for using bmp image format by seniors. If you want to change the background color of the image object on the slide(not the image itself), you can do that by choosing image object, go to properties, under general tab you will find source key color and back color options. Source key color applies to the stimulus and backcolor applies to background. You can play around with these options to observe and get your desired outcome. I hope it resolves your issues. Best Regards, Dilip On Friday, June 27, 2014 9:28:08 PM UTC+8, Ana María wrote: > > Hi! > > > I have a little problem programing my experiment. > > > I am modifying the Click and Drag routine that there is available in the > samples, to show only two circles that can be moved. I have replaced the > SlideText for a SlideImage and put the pictures that I need (two > different circles, with different colors and words inside). Everything runs > perfect, but my problem is that when I run the scenario, the pictures > appear with a background color that was not originally there. The > background is black (if the picture is in *tiff or *png format) or white > (if the picture is in jpg or bmp). Do you know why E-PRIME could do this? > In the properties of the Image I have set the BackStyle as Transparent... > > > Thank you very much!! > > > > Ana. > > > > > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/93a88617-6e4a-4337-9405-1086a37d2a33%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Mon Jun 30 08:39:33 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 30 Jun 2014 10:39:33 +0200 Subject: eprime timing issues and wierd time log In-Reply-To: Message-ID: Hi Sally, Once you set the timing mode to cumulative, E-Prime will try to 'fix' any delays by modifying onsets and durations on the fly. So, that explains why the timing issue disappears when you change the timing mode to something else. However, be aware that the actual 'problem' is caused by a long execution time of the inline. You will still have large OnsetDelay values for the fixation of about 5 seconds. As I indicated before, you can solve this by setting the duration of the slider to the full 5 seconds and execute the inline during this period by setting the pre-release also to 5 seconds. This will 'reserve' about 5 seconds of execution time for the inline without any timing issues. (But again, if the response window has a variabe duration, you should use the custom timing mode.) The atached two EP (version 1) scripts will demonstrate this for event and cumulative mode. The scripts can also be loaded in EP version 2. A typical debug output is as follows: Slide1.OnsetTime: 6374 Start inline time : 6375 current inline time : 7376 current inline time : 8377 current inline time : 9377 current inline time : 10378 Exit inline time : 10380 Fixation.OnsetTime: 11373 Fixation.OnsetDelay: -1 Fixation.OffsetTime: 12373 Best, Paul On 26 June 2014 04:37, gorgeous yayuan geng wrote: > Hi, Paul. > > I have tried again and find that once I set the fixation mode to event the > program went smoothly as I expected and its duration I defined would not > be shortened. I am a little confused about this part. Do you have an idea? > > My best, > > Sally > > > 2014-06-25 22:50 GMT+08:00 sunnygu : > >> Hi, Paul. >> >> I just tried what you said but it didn't work as we expected. First of >> all, I would like make you informed that the rating slide duration is set >> to zero and I use inline scripts to control the whole presentation to be 5 >> seconds, each time there is a keyboard response, I would draw the rating >> slice,making it seems its duration is 5 seconds. >> >> Then here is how I revised as you told me: first fixation prerelease set >> to be the same as it's duration, since my eprime version didn't have this >> option, I use the bracketed attribution. Second, I set the rating >> prerelease to be zero or 5 seconds. >> But all turned to be a failure in that the fixation time is shorten. >> >> So I don't know how to revise it. >> >> Hope you can give me some guidance. >> Thanks a lot. >> Best regards, >> >> Sally >> >> 发自我的 iPhone >> >> 在 2014年6月25日,下午9:09,Paul Groot 写道: >> >> Well, just to make sure we are talking about the same thing: I assumed >> you have the following consecutive objects on the trial procedure: >> >> ... >> RatingSlide >> Inline (with long processing loop) >> Fixation >> ... >> >> You can keep the configuration of the Fixation object as required. I.e., >> just specify the duration using the bracketed attribute name ([time1]). >> Pre-release can be set to default ('same as duration'). The rating Slide >> should have duration of 5 seconds and pre-release set to 'same as >> duration'. So, assuming that the allowed response time for the rating is 5 >> seconds, this should be OK and there is no need to use *CustomOnsetTime *and >> cousins. >> >> The timing mode can be set to event or cumulative. I'm always a bit in >> doubt if fMRI tasks are synchronized using cumulative timing. For event >> related designs it's probably not required, unless you would like to make >> sure that an EPI is made at a very specific point in the BOLD response. In >> most cases it's sufficient to use the (relative) onset times of the edat >> files in the fMRI analysis. For block designs you could consider >> re-synchronization at the start of each block using the trigger signal of >> the scanner. Although I prefer to use a small piece of script at the end of >> a block instead, to make sure that any errors are compensated for. But >> there is no harm done when the cumulative mode is used, as long as you make >> sure to check the timed log results. >> >> Best, >> Paul >> >> >> >> >> On 25 June 2014 12:18, sunnygu wrote: >> >>> Hi,Paul. So you mean if I want the fixation after the 5s rating to be >>> presented as long as I defined, I should set the duration before the rating >>> and prerelease to same as duration. >>> Besides, my rating slice time is fixed to 5s, so I suppose this would >>> work. >>> I just tried following: I originally set the fixation as accumulative >>> mode which is required in fMRI and I changed this to event mode which make >>> the fixation last as long as I want. How do you think about this? >>> By the way, I usually add an attribution in list which tells the >>> fixation duration, but now I defined the duration in fixation property file >>> using[time1] which time1 is the property name in list. Are these two ways >>> the same? Sometimes I find I can't trust the codes in eprime very much. >>> Which would you suggest? >>> >>> Thanks a lot for your kind reply. >>> My best, >>> Sally >>> 发自我的 iPhone >>> >>> 在 2014年6月25日,下午3:51,Paul Groot 写道: >>> >>> Hi Sally, >>> >>> You could solve this by setting the duration of the object before the >>> inline to the required value (5 sec), and set pre-release to 'same as >>> duration'. This will make sure that the inline is executed a.s.a.p. and >>> that the next object is scheduled to start after 5 seconds. However, this >>> would not work if the time taken by the inline is variable. In that case >>> you might try using the CustomOnset/OffsetTime properties and set the >>> timing mode to custom (of the object after the inline ). >>> >>> >>> Paul >>> >>> >>> On 25 June 2014 02:01, sunnygu wrote: >>> >>>> Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And >>>> I tried to change the following fixation mode to event then the time of the >>>> fixation is ok then. But do you have any better idea about this situation? >>>> Thanks for your nice reply. >>>> >>>> Sally >>>> >>>> 发自我的 iPhone >>>> >>>> 在 2014年6月25日,上午6:09,Paul Groot 写道: >>>> >>>> Hi Sally, >>>> >>>> Does your inline code use some kind of loop that takes a relative long >>>> time to finish? In that case EPrime probably tries to compensate for the >>>> 'lost' time when executing the next object. >>>> >>>> Paul >>>> >>>> >>>> >>>> >>>> On 24 June 2014 16:20, sally wrote: >>>> >>>>> Dear all, >>>>> >>>>> Recently I find there is a strange thing about eprime. I am engaged in >>>>> an fMRI experiment. So there is a strict timing demand and I wrote several >>>>> lines of codes to make it possible in the scanner that subjects use two >>>>> keys to move the cursor in the screen to do rating from 1-9. >>>>> The very obvious problem is that when I run the codes, some >>>>> presentation before the 1-9 ratings has got something like time ceiling. >>>>> the rating time is always fixed as I assigned in the codes,but sometimes, >>>>> the fixation time after the rating is shorten to 0, or sometimes the >>>>> picture showing time after the fixation also flash more quickly than I >>>>> expected while another fixation after the picture is still shown as I >>>>> hoped. It's totally out of my mind. pictures didn't show up for the time I >>>>> demand in the duration menu. >>>>> I think this may have something to do wt my rating part. So I'd better >>>>> to write out how I realize this part: >>>>> >>>>> Another guy give me this idea to make the rating 1-9 shown for 0s and >>>>> afterwards every time I press the button I set up in the rating slide to >>>>> left or right move the cursor, the eprime would catch the response and >>>>> check which btton is pressed and make a decision whether the cursor move >>>>> left or right and how long it would move. then after the axis is >>>>> determined, I would draw the rating slide. and I have a cycle to control >>>>> the time by datediff functon to check the start and the end of the cycle is >>>>> about 5s apart. >>>>> >>>>> I hope I make myself clear. >>>>> >>>>> Any idea would be appreciated and hope someone can help me. >>>>> >>>>> My best, >>>>> >>>>> Sally >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "E-Prime" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to e-prime+unsubscribe at googlegroups.com. >>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com >>>>> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to e-prime+unsubscribe at googlegroups.com. >>>> To post to this group, send email to e-prime at googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com >>>> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to e-prime+unsubscribe at googlegroups.com. >>>> To post to this group, send email to e-prime at googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com >>>> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+unsubscribe at googlegroups.com. >>> To post to this group, send email to e-prime at googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/e-prime/CAKAdR-vQ7hPCO0KmxptQF4Qsh_ccjHu3RJvQK%3D1HzgFarMMx_w%40mail.gmail.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+unsubscribe at googlegroups.com. >>> To post to this group, send email to e-prime at googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/e-prime/E6E547F2-6F29-413A-BF6E-E1CCD6FCA631%40gmail.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/CAKAdR-uWK8MR5R0NrvJF7MhOQUefiT4LNXjWjH76Tna12KnC2Q%40mail.gmail.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/CAJO0WNZR3rTL0REq-nq5aXkmQ6MD5qtELk%3DCKxQKtHeJpGXv-w%40mail.gmail.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uhT9zg_AQg%3DXqYE0wmX9jNyP0hp1hZ0M9y1ikQemaiVg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TestPreReleaseInline.es Type: application/octet-stream Size: 9942 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TestPreReleaseInlineCumulative.es Type: application/octet-stream Size: 9944 bytes Desc: not available URL: From pfc.groot at gmail.com Mon Jun 30 09:05:40 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 30 Jun 2014 11:05:40 +0200 Subject: How to define which areas can be clicked on a slide? In-Reply-To: <08d24a5b-5428-41aa-b1ae-a8bd9b287e2b@googlegroups.com> Message-ID: Hi Marie-France, I think this can be solved by modifying the exit condition of the ClickList (in my ImageSelectionExample script for example). By setting the number of cycles to a large number it is possible to accept multiple clicks withing one trial. Typically, the list would be exited after hitting a specific number of images. This can be done by calling the ClickList.Terminate function in the HandleClick inline as soon as the terminate condition is met. The ClickList will repeat as long as the Terminate function is not called, so this will solve the stray clicks. Note that every click (accepted or not) will add a new line to the edat output file. Paul On 26 June 2014 13:12, Marie-France Larsson wrote: > Hi Paul! > Thank you very much for the links, great examples! I had managed to log > the answers with script that is a bit similar to the one found in your > examples, but the problem that I have is that the pictures on my slide do > not cover the entire canvas, meaning that participants can click beside a > picture, and the experiment will still go forward, but without a valid > answer in the log. Since my participants will be children, there is a high > risk that they will click a bit randomly, and I want to avoid missing > values as much as possible by making the rest of the canvas "unclickable". > I am trying to build an If / Else statement to solve it, I'm not sure > that's the best way to go, but hopefully it can work. > Regards, > Marie-France > > On Wednesday, June 25, 2014 12:11:58 AM UTC+2, Paul Groot wrote: >> >> You might have a look at these examples: >> >> http://pfcgroot.nl/e-prime/83-example-scripts/88-image-click-example.html >> http://pfcgroot.nl/e-prime/83-example-scripts/84-image- >> selection-example.html >> >> Paul >> >> >> On 24 June 2014 17:19, Marie-France Larsson >> wrote: >> >>> Hi! >>> I seem to have reached a deadend again. I cannot for the life of me >>> figure out how to define which areas can be valid for a mouse click on a >>> slide, in this case it should be on SlideImages and SlideImages only. The >>> way it is now, a click anywhere on the slide will make the experiment go >>> forward to the next trial. However, I would like the experiment to go >>> forward only after the participant clicks on one of the SlideImages. A >>> mouse click anywhere else on the slide should not have any effect. Is this >>> something that I can fix with the "Duration/Input" settings in the slide's >>> properties or will it require InLine code? >>> >>> Thank you for your input! >>> >>> Kind regards, >>> Marie-France >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+u... at googlegroups.com. >>> To post to this group, send email to e-p... at googlegroups.com. >>> To view this discussion on the web visit https://groups.google.com/d/ >>> msgid/e-prime/27cb52b9-e02a-4160-8873-9d5393596479%40googlegroups.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/08d24a5b-5428-41aa-b1ae-a8bd9b287e2b%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uabJD1Y_taCc0Tu3r2Pbk4ryJMEROKiaUozmRpSOD1mg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Mon Jun 30 10:05:53 2014 From: gusunny1 at gmail.com (sunnygu) Date: Mon, 30 Jun 2014 18:05:53 +0800 Subject: eprime timing issues and wierd time log In-Reply-To: Message-ID: Hi, Paul. Thanks a lot. And I would try what you suggested and see what's going on. Thanks again for your kind help. Best regards, Sally 发自我的 iPhone > 在 2014年6月30日,下午4:39,Paul Groot 写道: > > Hi Sally, > > Once you set the timing mode to cumulative, E-Prime will try to 'fix' any delays by modifying onsets and durations on the fly. So, that explains why the timing issue disappears when you change the timing mode to something else. However, be aware that the actual 'problem' is caused by a long execution time of the inline. You will still have large OnsetDelay values for the fixation of about 5 seconds. As I indicated before, you can solve this by setting the duration of the slider to the full 5 seconds and execute the inline during this period by setting the pre-release also to 5 seconds. This will 'reserve' about 5 seconds of execution time for the inline without any timing issues. (But again, if the response window has a variabe duration, you should use the custom timing mode.) > > The atached two EP (version 1) scripts will demonstrate this for event and cumulative mode. The scripts can also be loaded in EP version 2. A typical debug output is as follows: > > Slide1.OnsetTime: 6374 > Start inline time : 6375 > current inline time : 7376 > current inline time : 8377 > current inline time : 9377 > current inline time : 10378 > Exit inline time : 10380 > Fixation.OnsetTime: 11373 > Fixation.OnsetDelay: -1 > Fixation.OffsetTime: 12373 > > > > Best, > Paul > > > > > > >> On 26 June 2014 04:37, gorgeous yayuan geng wrote: >> Hi, Paul. >> >> I have tried again and find that once I set the fixation mode to event the program went smoothly as I expected and its duration I defined would not be shortened. I am a little confused about this part. Do you have an idea? >> >> My best, >> >> Sally >> >> >> 2014-06-25 22:50 GMT+08:00 sunnygu : >>> Hi, Paul. >>> >>> I just tried what you said but it didn't work as we expected. First of all, I would like make you informed that the rating slide duration is set to zero and I use inline scripts to control the whole presentation to be 5 seconds, each time there is a keyboard response, I would draw the rating slice,making it seems its duration is 5 seconds. >>> >>> Then here is how I revised as you told me: first fixation prerelease set to be the same as it's duration, since my eprime version didn't have this option, I use the bracketed attribution. Second, I set the rating prerelease to be zero or 5 seconds. >>> But all turned to be a failure in that the fixation time is shorten. >>> >>> So I don't know how to revise it. >>> >>> Hope you can give me some guidance. >>> Thanks a lot. >>> Best regards, >>> >>> Sally >>> >>> 发自我的 iPhone >>> >>>> 在 2014年6月25日,下午9:09,Paul Groot 写道: >>>> >>>> Well, just to make sure we are talking about the same thing: I assumed you have the following consecutive objects on the trial procedure: >>>> >>>> ... >>>> RatingSlide >>>> Inline (with long processing loop) >>>> Fixation >>>> ... >>>> >>>> You can keep the configuration of the Fixation object as required. I.e., just specify the duration using the bracketed attribute name ([time1]). Pre-release can be set to default ('same as duration'). The rating Slide should have duration of 5 seconds and pre-release set to 'same as duration'. So, assuming that the allowed response time for the rating is 5 seconds, this should be OK and there is no need to use CustomOnsetTime and cousins. >>>> >>>> The timing mode can be set to event or cumulative. I'm always a bit in doubt if fMRI tasks are synchronized using cumulative timing. For event related designs it's probably not required, unless you would like to make sure that an EPI is made at a very specific point in the BOLD response. In most cases it's sufficient to use the (relative) onset times of the edat files in the fMRI analysis. For block designs you could consider re-synchronization at the start of each block using the trigger signal of the scanner. Although I prefer to use a small piece of script at the end of a block instead, to make sure that any errors are compensated for. But there is no harm done when the cumulative mode is used, as long as you make sure to check the timed log results. >>>> >>>> Best, >>>> Paul >>>> >>>> >>>> >>>> >>>>> On 25 June 2014 12:18, sunnygu wrote: >>>>> Hi,Paul. So you mean if I want the fixation after the 5s rating to be presented as long as I defined, I should set the duration before the rating and prerelease to same as duration. >>>>> Besides, my rating slice time is fixed to 5s, so I suppose this would work. >>>>> I just tried following: I originally set the fixation as accumulative mode which is required in fMRI and I changed this to event mode which make the fixation last as long as I want. How do you think about this? >>>>> By the way, I usually add an attribution in list which tells the fixation duration, but now I defined the duration in fixation property file using[time1] which time1 is the property name in list. Are these two ways the same? Sometimes I find I can't trust the codes in eprime very much. Which would you suggest? >>>>> >>>>> Thanks a lot for your kind reply. >>>>> My best, >>>>> Sally >>>>> 发自我的 iPhone >>>>> >>>>>> 在 2014年6月25日,下午3:51,Paul Groot 写道: >>>>>> >>>>>> Hi Sally, >>>>>> >>>>>> You could solve this by setting the duration of the object before the inline to the required value (5 sec), and set pre-release to 'same as duration'. This will make sure that the inline is executed a.s.a.p. and that the next object is scheduled to start after 5 seconds. However, this would not work if the time taken by the inline is variable. In that case you might try using the CustomOnset/OffsetTime properties and set the timing mode to custom (of the object after the inline ). >>>>>> >>>>>> >>>>>> Paul >>>>>> >>>>>> >>>>>>> On 25 June 2014 02:01, sunnygu wrote: >>>>>>> Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And I tried to change the following fixation mode to event then the time of the fixation is ok then. But do you have any better idea about this situation? >>>>>>> Thanks for your nice reply. >>>>>>> >>>>>>> Sally >>>>>>> >>>>>>> 发自我的 iPhone >>>>>>> >>>>>>> 在 2014年6月25日,上午6:09,Paul Groot 写道: >>>>>>> >>>>>>>> Hi Sally, >>>>>>>> >>>>>>>> Does your inline code use some kind of loop that takes a relative long time to finish? In that case EPrime probably tries to compensate for the 'lost' time when executing the next object. >>>>>>>> >>>>>>>> Paul >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> On 24 June 2014 16:20, sally wrote: >>>>>>>>> Dear all, >>>>>>>>> >>>>>>>>> Recently I find there is a strange thing about eprime. I am engaged in an fMRI experiment. So there is a strict timing demand and I wrote several lines of codes to make it possible in the scanner that subjects use two keys to move the cursor in the screen to do rating from 1-9. >>>>>>>>> The very obvious problem is that when I run the codes, some presentation before the 1-9 ratings has got something like time ceiling. the rating time is always fixed as I assigned in the codes,but sometimes, the fixation time after the rating is shorten to 0, or sometimes the picture showing time after the fixation also flash more quickly than I expected while another fixation after the picture is still shown as I hoped. It's totally out of my mind. pictures didn't show up for the time I demand in the duration menu. >>>>>>>>> I think this may have something to do wt my rating part. So I'd better to write out how I realize this part: >>>>>>>>> >>>>>>>>> Another guy give me this idea to make the rating 1-9 shown for 0s and afterwards every time I press the button I set up in the rating slide to left or right move the cursor, the eprime would catch the response and check which btton is pressed and make a decision whether the cursor move left or right and how long it would move. then after the axis is determined, I would draw the rating slide. and I have a cycle to control the time by datediff functon to check the start and the end of the cycle is about 5s apart. >>>>>>>>> >>>>>>>>> I hope I make myself clear. >>>>>>>>> >>>>>>>>> Any idea would be appreciated and hope someone can help me. >>>>>>>>> >>>>>>>>> My best, >>>>>>>>> >>>>>>>>> Sally >>>>>>>>> -- >>>>>>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>>>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>>>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com. >>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com. >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-vQ7hPCO0KmxptQF4Qsh_ccjHu3RJvQK%3D1HzgFarMMx_w%40mail.gmail.com. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/E6E547F2-6F29-413A-BF6E-E1CCD6FCA631%40gmail.com. >>>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>> To post to this group, send email to e-prime at googlegroups.com. >>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uWK8MR5R0NrvJF7MhOQUefiT4LNXjWjH76Tna12KnC2Q%40mail.gmail.com. >>>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAJO0WNZR3rTL0REq-nq5aXkmQ6MD5qtELk%3DCKxQKtHeJpGXv-w%40mail.gmail.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uhT9zg_AQg%3DXqYE0wmX9jNyP0hp1hZ0M9y1ikQemaiVg%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/859B7EC7-3A0B-4C9D-87A6-9E576CD8719A%40gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Jun 30 19:56:56 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 30 Jun 2014 15:56:56 -0400 Subject: Converging trials with and without conditions into one Trial List...!!! In-Reply-To: <64cab763-9897-474d-ad0e-37df28f2cff1@googlegroups.com> Message-ID: Dilip, Perhaps I do not understand this fully, but couldn't you just use one List with that contains both tasks, and use the Procedure attribute to indicate which task (Control or WM) runs on any trial? ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 6/23/2014 11:45 PM Monday, Dilip Kumar wrote: >I want to converge two tasks into one trial list in order to get >random trial appearance. As can be seen in design attached, control >task has only one slide object which acts as stimuli & response >simultaneously (no condition) while WM task has two slide objects >one being used as stimulus and other as condition & response medium. > >Of-course this in not a huge issue for experts in the group and I >need some help in resolving it. Can someone please guide me on how >should I go about converging the experiment at tabular list as well >as on trial design level. Please do share your tips/tricks and >suggestions on this issue. > >Thanks! > >Best regards, > >Dilip -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53b1c113.6970320a.1fd2.1ea0SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From kmaayane at gmail.com Sun Jun 1 10:45:36 2014 From: kmaayane at gmail.com (maayan kedar) Date: Sun, 1 Jun 2014 03:45:36 -0700 Subject: n-back/CRT - memory task In-Reply-To: <2b197d8a-0017-4fc4-9cfc-3d4984fba01f@googlegroups.com> Message-ID: Anne-Wil, Thanks, the problem is that if I trying to store the bottom number at the end of the procedure and then use it in the begining again for the next trial it dosn't recognize the variable I created for storing (at the begining). I hope the problem is clear its a little hard for me to describe. what inline code would you use for creating, using storing and using again a number? thanks again Maayan ?????? ??? ?????, 15 ???? 2014 21:37:10 UTC+3, ??? maayan kedar: > > Hi there, > > I was asked to build a memory task in which the subject need to identify > if the upper number between 2 numbers is match to the the number was at the > buttom one screen berofe. for example: > > _0_ (beginning) > 8 > > _7_ (7 dosn't match to 8) > 5 > > _5_ (5 match to 5) > 3 > > _2_ (2 dosnt match to 3) > 9 > > the thing is that I need to create 50% matches, and I don't know how to > link each text to the text from the slide before sense in each trial new > random numbers are selected. > > any ideas for help? > with regards, > maayan > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1314ebdc-e936-40b9-9dd6-94ecadc8a99a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From liwenna at gmail.com Sun Jun 1 17:29:54 2014 From: liwenna at gmail.com (Anne-Wil) Date: Sun, 1 Jun 2014 10:29:54 -0700 Subject: n-back/CRT - memory task In-Reply-To: <1314ebdc-e936-40b9-9dd6-94ecadc8a99a@googlegroups.com> Message-ID: Hi Maayan, You need a so-called 'user defined variable': open the script window and click on the 'user' tab (at the bottom). If you define a variable on that tab ('dim variable as...' ), the information held in that variable will be kept over trials (as opposed to variables in lists or defined within procedures, which are 'reset' at each run of a procedure). Good luck! Anne-Wil On Sunday, 1 June 2014 11:45:37 UTC+1, maayan kedar wrote: > > Anne-Wil, Thanks, > > the problem is that if I trying to store the bottom number at the end of > the procedure and then use it in the begining again for the next trial it > dosn't recognize the variable I created for storing (at the begining). I > hope the problem is clear its a little hard for me to describe. > what inline code would you use for creating, using storing and using again > a number? > > thanks again > Maayan > > ?????? ??? ?????, 15 ???? 2014 21:37:10 UTC+3, ??? maayan kedar: >> >> Hi there, >> >> I was asked to build a memory task in which the subject need to identify >> if the upper number between 2 numbers is match to the the number was at the >> buttom one screen berofe. for example: >> >> _0_ (beginning) >> 8 >> >> _7_ (7 dosn't match to 8) >> 5 >> >> _5_ (5 match to 5) >> 3 >> >> _2_ (2 dosnt match to 3) >> 9 >> >> the thing is that I need to create 50% matches, and I don't know how to >> link each text to the text from the slide before sense in each trial new >> random numbers are selected. >> >> any ideas for help? >> with regards, >> maayan >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/4707c2e4-0d24-4af8-91f7-084fd474511f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidruvolo51 at gmail.com Mon Jun 2 13:57:00 2014 From: davidruvolo51 at gmail.com (David Ruvolo) Date: Mon, 2 Jun 2014 06:57:00 -0700 Subject: Score based on reaction time In-Reply-To: <4ad0431c-0e9f-4d01-a1d9-6d2094bd5e86@googlegroups.com> Message-ID: Hi Semeon, I am currently using the IGT. Let me see if I am on the right page, for each trial are you wanting to capture the reaction time and create a score based upon the RT of that trial? What criteria are you using for the "score" (such as RT < X ms or RT > Yms)? The display is fairly straightforward. You could probably create a txt box on the presentation screen and which you could call the score variable, but it might get a little tricky. Maybe create a feedback screen after each trial? Are you displaying the score similarly to the won/borrowed bars as in the original task? I am thinking this could be accomplished using an in-line script where you call the RT for each trial (e.g., "mystimulusscreen.RT") and then you can use a IF/THEN statement to assign a "score" with it. If you want to save the score to the output file, assign the score to the .TAG attribute (found in the Properties/Logging tab). Hope that is a good start. - David On Tuesday, March 18, 2014 11:58:43 AM UTC-5, semeon... at gmail.com wrote: > > I am working on a modified version of the Iowa Gambling Task, and I'm > trying to create a trial score based on reaction time. I'm also > interested in display this score at the end of each trial. > > I was wondering if there were recommendations for a piece of code that can > do this, or if you can provide a link that discusses this. Any help is > appreciated! > > Thanks, > > - Semeon > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/6079a514-3076-45c3-88fb-6d22409e2285%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gabriel.mograbi at gmail.com Mon Jun 2 18:16:00 2014 From: gabriel.mograbi at gmail.com (Gabriel Mograbi) Date: Mon, 2 Jun 2014 11:16:00 -0700 Subject: E-prime Triggers are partially but no completely read by Aquisition Message-ID: Dear All, I am a complete newbie in e-prime. A philosopher by formation venturing myself in a postdoctoral fellowship in neuroscience. And I an running against time to run an experiment before my fellowship finishes. I am having problems with sending triggers to the "Aquisition" machine. In my protocol I have 3 procedures (conditions) that divide the big list into 3. I have a first general Inline to open the ports. And I have an Onset Inline for each of the questions and each of the stimuli that can after the question. All that works. I can manage to make the machines send triggers when the question 1,2 and 3 appears and then when the 1,2 and 3 stimuli appears. When I try to insert an InLine after the stimuli, the first trigger (the one that marks the onset of the question does not work anymore) So my list is divided in 3 procedures (conditions) and each has the following structure Text (ITI Fixation Cross with Jittered values) Inline question (Image Display with 2000 ms duration) Another ITI (Fication Cross with Jittered Values) Inline products (Stimulus/Image Display with fixed duration) My script runs like that. First in the beginning of the protocol: question2.OnsetSignalEnabled = True question2.OnsetSignalPort = &H378 question2.OffsetSignalEnabled= True question2OffsetSignalPort = & H378 products2.OnsetSignalEnabled = True products2.OnsetSignalPort = &H378 products2.OffsetSignalEnabled= True products2OffsetSignalPort = & H378 question1.OnsetSignalEnabled = True question1.OnsetSignalPort = &H378 question1.OffsetSignalEnabled= True question1.OffsetSignalPort = & H378 products1.OnsetSignalEnabled = True products1.OnsetSignalPort = &H378 products1.OffsetSignalEnabled= True products1OffsetSignalPort = & H378 question1.OnsetSignalEnabled = True question1.OnsetSignalPort = &H378 question1.OffsetSignalEnabled= True question1.OffsetSignalPort = & H378 products3.OnsetSignalEnabled = True products3.OnsetSignalPort = &H378 products3.OffsetSignalEnabled= True products3.OffsetSignalPort = & H378 Before each condition (specific procedure) I have a Inline like that question2.OnsetSignalData ="2" and so on... for each of the question and products... That works all fine! But I have to use a trigger for the responses of the stimuli. Whenever I insert WritePort &H378,"11" or any other value, transforming the procedure to this structure to: Text ITI (Fixation Cross with Jittered values) Inline question (Image Display with 2000 ms duration) Another ITI (Fication Cross with Jittered Values) Inline product (Stimulus/Image Display with fixed duration) InLine - WritePort &H378,"11" after each product object, the first trigger (related to the question) stops appearing in the aquisition machine. The Writeport command functions, the products onset keeps working, but the question that comes in the beginning of this condition stops appearing. I will be deeply grateful if you could help me out, as I tried various (hundreds of) diverse strategies to fix the problem and nothing seems to work! Best, Gabriel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a1092837-37ba-47d7-a3bd-2a49c4d0e318%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Tue Jun 3 07:54:52 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Tue, 3 Jun 2014 09:54:52 +0200 Subject: E-prime Triggers are partially but no completely read by Aquisition In-Reply-To: Message-ID: Gabriel, I've read your post twice, but your description seems to have some contradictory information, so I'm a bit lost there... Anyway, EP2 pro has a new method for generating triggers by using so called 'Task Events'. Task events offer a more elegant solution if your script has to create triggers when an input event occurs. Just have a look at these pages: http://www.pstnet.com/support/kb.asp?TopicID=4803 https://www.youtube.com/watch?v=0oxtfdZb0Fo Paul On 2 June 2014 20:16, Gabriel Mograbi wrote: > Dear All, > > I am a complete newbie in e-prime. A philosopher by formation venturing > myself in a postdoctoral fellowship in neuroscience. And I an running > against time to run an experiment before my fellowship finishes. > > I am having problems with sending triggers to the "Aquisition" machine. > > In my protocol I have 3 procedures (conditions) that divide the big list > into 3. I have a first general Inline to open the ports. And I have an > Onset Inline for each of the questions and each of the stimuli that can > after the question. All that works. I can manage to make the machines send > triggers when the question 1,2 and 3 appears and then when the 1,2 and 3 > stimuli appears. When I try to insert an InLine after the stimuli, the > first trigger (the one that marks the onset of the question does not work > anymore) > > So my list is divided in 3 procedures (conditions) and each has the > following structure > > Text (ITI Fixation Cross with Jittered values) > Inline > question (Image Display with 2000 ms duration) > Another ITI (Fication Cross with Jittered Values) > Inline > products (Stimulus/Image Display with fixed duration) > > > > My script runs like that. First in the beginning of the protocol: > > question2.OnsetSignalEnabled = True > question2.OnsetSignalPort = &H378 > question2.OffsetSignalEnabled= True > question2OffsetSignalPort = & H378 > > products2.OnsetSignalEnabled = True > products2.OnsetSignalPort = &H378 > products2.OffsetSignalEnabled= True > products2OffsetSignalPort = & H378 > > question1.OnsetSignalEnabled = True > question1.OnsetSignalPort = &H378 > question1.OffsetSignalEnabled= True > question1.OffsetSignalPort = & H378 > > products1.OnsetSignalEnabled = True > products1.OnsetSignalPort = &H378 > products1.OffsetSignalEnabled= True > products1OffsetSignalPort = & H378 > > question1.OnsetSignalEnabled = True > question1.OnsetSignalPort = &H378 > question1.OffsetSignalEnabled= True > question1.OffsetSignalPort = & H378 > > products3.OnsetSignalEnabled = True > products3.OnsetSignalPort = &H378 > products3.OffsetSignalEnabled= True > products3.OffsetSignalPort = & H378 > > Before each condition (specific procedure) > > I have a Inline like that > question2.OnsetSignalData ="2" and so on... for each of the question and > products... > > That works all fine! But I have to use a trigger for the responses of the > stimuli. Whenever I insert > > WritePort &H378,"11" or any other value, > > transforming the procedure to this structure to: > > Text ITI (Fixation Cross with Jittered values) > Inline > question (Image Display with 2000 ms duration) > Another ITI (Fication Cross with Jittered Values) > Inline > product (Stimulus/Image Display with fixed duration) > InLine - WritePort &H378,"11" > > > after each product object, the first trigger (related to the question) > stops appearing in the aquisition machine. The Writeport command functions, > the products onset keeps working, but the question that comes in the > beginning of this condition stops appearing. > > I will be deeply grateful if you could help me out, as I tried various > (hundreds of) diverse strategies to fix the problem and nothing seems to > work! > > Best, > > Gabriel > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/a1092837-37ba-47d7-a3bd-2a49c4d0e318%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-sycefWLUbiEjxtBCUCGfZ9EEiHZxvA2bDYQ7jZkheupQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidruvolo51 at gmail.com Tue Jun 3 17:47:00 2014 From: davidruvolo51 at gmail.com (David Ruvolo) Date: Tue, 3 Jun 2014 10:47:00 -0700 Subject: Compatibility Issues - 2.0.8.22 (Release Candidate) Message-ID: To all E-Prime users (who are still using the Release Candidate version), Has anyone else run into issues using the Release Candidate version and trying to open studio files created in other versions of E-Prime? I am forever doomed if I cannot work on studio files (created in other versions of E-Prime) sent by others. I am not sure if there is an option to "save as" or "convert to" in recent versions. Would anyone care to comment, provide information, or share condolences with this matter? Thanks, David -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/87cc0592-4252-4916-bb6d-0656975339de%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Jun 3 19:04:58 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 3 Jun 2014 15:04:58 -0400 Subject: Compatibility Issues - 2.0.8.22 (Release Candidate) In-Reply-To: <87cc0592-4252-4916-bb6d-0656975339de@googlegroups.com> Message-ID: David, Briefly, you cannot view, edit, or run EP2.0.10 files with any earlier version. And once a file is saved in the newer format, you cannot convert it back to the older format. If you install EP2.0.10, you may also install the EP2.0.8.90 runtime (E-Run) so that you may continue to run subjects using the older .ebs2 files without first converting them to EP2.0.10, see Knowledge Base article at http://www.pstnet.com/support/kb.asp?TopicID=5325 . If you really want to run multiple versions of E-Studio on the same machine, then see discussion at https://groups.google.com/d/topic/e-prime/cgxEUYw-Ub0 (for experts only!). Or, just install different versions on different development workstations (which has been our typical solution). ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 6/3/2014 01:47 PM Tuesday, David Ruvolo wrote: >To all E-Prime users (who are still using the Release Candidate version), > >Has anyone else run into issues using the Release Candidate version >and trying to open studio files created in other versions of >E-Prime? I am forever doomed if I cannot work on studio files >(created in other versions of E-Prime) sent by others. I am not >sure if there is an option to "save as" or "convert to" in recent >versions. Would anyone care to comment, provide information, or >share condolences with this matter? > >Thanks, > >David -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/538e1c62.e277320a.482a.ffff83a0SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From davidruvolo51 at gmail.com Tue Jun 3 19:58:08 2014 From: davidruvolo51 at gmail.com (David Ruvolo) Date: Tue, 3 Jun 2014 12:58:08 -0700 Subject: Compatibility Issues - 2.0.8.22 (Release Candidate) In-Reply-To: <538e1c62.e277320a.482a.ffff83a0SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Wonderful! Thank you very much for your help. I do have one additional question. If I were to install multiple versions of E-Studio, would that interfere with licensing (HASP key, etc.)? Thanks, David On Tuesday, June 3, 2014 2:05:08 PM UTC-5, McFarlane, David wrote: > > David, > > Briefly, you cannot view, edit, or run EP2.0.10 files with any > earlier version. And once a file is saved in the newer format, you > cannot convert it back to the older format. If you install EP2.0.10, > you may also install the EP2.0.8.90 runtime (E-Run) so that you may > continue to run subjects using the older .ebs2 files without first > converting them to EP2.0.10, see Knowledge Base article at > http://www.pstnet.com/support/kb.asp?TopicID=5325 . If you really > want to run multiple versions of E-Studio on the same machine, then > see discussion at > https://groups.google.com/d/topic/e-prime/cgxEUYw-Ub0 (for experts > only!). Or, just install different versions on different development > workstations (which has been our typical solution). > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) PST's trained staff > take any and all questions at https://support.pstnet.com , and they > strive to respond to all requests in 24-48 hours, so make full use of > it. 3) In addition, PST offers several instructional videos on their > YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do > get an answer from PST staff, please extend the courtesy of posting > their reply back here for the sake of others. > \---- > > > At 6/3/2014 01:47 PM Tuesday, David Ruvolo wrote: > >To all E-Prime users (who are still using the Release Candidate version), > > > >Has anyone else run into issues using the Release Candidate version > >and trying to open studio files created in other versions of > >E-Prime? I am forever doomed if I cannot work on studio files > >(created in other versions of E-Prime) sent by others. I am not > >sure if there is an option to "save as" or "convert to" in recent > >versions. Would anyone care to comment, provide information, or > >share condolences with this matter? > > > >Thanks, > > > >David > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8737544a-8155-4eec-b185-9f2edecea5f9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Jun 3 20:28:37 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 3 Jun 2014 16:28:37 -0400 Subject: Compatibility Issues - 2.0.8.22 (Release Candidate) In-Reply-To: <8737544a-8155-4eec-b185-9f2edecea5f9@googlegroups.com> Message-ID: DAvid, Two issues mixed in here... As for licensing, your EP2 license should entitle you to use any number of installations/versions of EP2 on any single machine (although it does have limits on how many different machines you may run it on), so OK there. As for HASP key, etc., I can only tell you that I followed the procedures in that thread to install several versions of EP2 on my main development workstation and have successfully danced between them, very handy. Sometimes when I switch versions it goes through a sort of a "first time" setup again, and resets all my settings to defaults, which is a bit of a nuisance but tolerable. You will just have to try yourself and then report back with your own results! -- David McFarlane At 6/3/2014 03:58 PM Tuesday, David Ruvolo wrote: >Wonderful! Thank you very much for your help. I do have one >additional question. > >If I were to install multiple versions of E-Studio, would that >interfere with licensing (HASP key, etc.)? > >Thanks, > >David > >On Tuesday, June 3, 2014 2:05:08 PM UTC-5, McFarlane, David wrote: >David, > >Briefly, you cannot view, edit, or run EP2.0.10 files with any >earlier version. And once a file is saved in the newer format, you >cannot convert it back to the older format. If you install EP2.0.10, >you may also install the EP2.0.8.90 runtime (E-Run) so that you may >continue to run subjects using the older .ebs2 files without first >converting them to EP2.0.10, see Knowledge Base article at >http://www.pstnet.com/support/kb.asp?TopicID=5325 >. If you really >want to run multiple versions of E-Studio on the same machine, then >see discussion at >https://groups.google.com/d/topic/e-prime/cgxEUYw-Ub0 >(for experts >only!). Or, just install different versions on different development >workstations (which has been our typical solution). > >----- >David McFarlane >E-Prime training >online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx > >Twitter: @EPrimeMaster >(https://twitter.com/EPrimeMaster) > >/---- >Stock reminder: 1) I do not work for PST. 2) PST's trained staff >take any and all questions at >https://support.pstnet.com , and they >strive to respond to all requests in 24-48 hours, so make full use of >it. 3) In addition, PST offers several instructional videos on their >YouTube channel >(http://www.youtube.com/user/PSTNET >). 4) If you do >get an answer from PST staff, please extend the courtesy of posting >their reply back here for the sake of others. >\---- > > >At 6/3/2014 01:47 PM Tuesday, David Ruvolo wrote: > >To all E-Prime users (who are still using the Release Candidate version), > > > >Has anyone else run into issues using the Release Candidate version > >and trying to open studio files created in other versions of > >E-Prime? I am forever doomed if I cannot work on studio files > >(created in other versions of E-Prime) sent by others. I am not > >sure if there is an option to "save as" or "convert to" in recent > >versions. Would anyone care to comment, provide information, or > >share condolences with this matter? > > > >Thanks, > > > >David -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/538e2ff6.2639320a.2bc9.ffff933aSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Tue Jun 3 22:16:27 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 3 Jun 2014 18:16:27 -0400 Subject: E-prime Triggers are partially but no completely read by Aquisition In-Reply-To: Message-ID: Gabriel, First, what Paul said -- if you have EP2.0.10 or later, you should look into using the new Task Events feature instead. Second, this thread seems to stem from https://groups.google.com/d/topic/e-prime/HZbe0baSMeY . Third, a couple odditities in your inline code fragments. Your lines question2.OnsetSignalData ="2" and WritePort &H378,"11" just seem weird, are you sure that those do not read instead? question2.OnsetSignalData 2 and WritePort &H378, 11 ? (Oh, and you should use Constants instead of "magic numbers" in your code, but that is another matter.) Now, for the advice. We have found that when we have EP output a signal to an external device (e.g., EEG), we then have to have EP reset the output port to 0 before another output will work. Remember, EP does *not* output *pulses*, it merely sets the output to your data and then leaves it there until you do something to change it (I go over this in a lesson on my course). I imagine that your Onset & OffsetSignal data normally take care of setting the output, and then later resetting it to 0. Your WritePort does not. You would need to do another WritePort to reset the output at some appropriate time, or another OnsetSignal, etc. Task Events can make it very nice to setup both the signal and the reset for any stimulus object. Just a thought. Good luck. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 6/3/2014 03:54 AM Tuesday, Paul Groot wrote: >Gabriel, > >I've read your post twice, but your description >seems to have some contradictory information, so I'm a bit lost there...? > >Anyway, EP2 pro has a new method for generating >triggers by using so called 'Task Events'. Task >events offer a more elegant solution if your >script has to create triggers when an input >event occurs. Just have a look at these pages: > >http://www.pstnet.com/support/kb.asp?TopicID=4803 >https://www.youtube.com/watch?v=0oxtfdZb0Fo > > >Paul > > > >On 2 June 2014 20:16, Gabriel Mograbi ><gabriel.mograbi at gmail.com> wrote: >Dear All, > >I am a complete newbie in e-prime. A philosopher >by formation venturing myself in a postdoctoral >fellowship in neuroscience. And I an running >against time to run an experiment before my fellowship finishes.? > >I am having problems with sending triggers to the "Aquisition" machine. > >In my protocol I have 3 procedures (conditions) >that divide the big list into 3. I have a first >general Inline to open the ports. And I have an >Onset Inline for each of the questions and each >of the stimuli that can after the question. All >that works. I can manage to make the machines >send triggers when the question 1,2 and 3 >appears and then when the 1,2 and 3 stimuli >appears. When I try to insert an InLine after >the stimuli, the first trigger (the one that >marks the onset of the question does not work anymore)? ? > >So my list is divided in 3 procedures >(conditions) and each has the following structure > >Text (ITI Fixation Cross with Jittered values)? >Inline? >question (Image Display with 2000 ms duration) >Another ITI (Fication Cross with Jittered Values) >Inline >products (Stimulus/Image Display with fixed duration)? > > > >My script runs like that. First in the beginning of the protocol: > >question2.OnsetSignalEnabled = True >question2.OnsetSignalPort = &H378 >question2.OffsetSignalEnabled= True >question2OffsetSignalPort = & H378 > >products2.OnsetSignalEnabled = True >products2.OnsetSignalPort = &H378 >products2.OffsetSignalEnabled= True >products2OffsetSignalPort = & H378 > >question1.OnsetSignalEnabled = True >question1.OnsetSignalPort = &H378 >question1.OffsetSignalEnabled= True >question1.OffsetSignalPort = & H378 > >products1.OnsetSignalEnabled = True >products1.OnsetSignalPort = &H378 >products1.OffsetSignalEnabled= True >products1OffsetSignalPort = & H378 > >question1.OnsetSignalEnabled = True >question1.OnsetSignalPort = &H378 >question1.OffsetSignalEnabled= True >question1.OffsetSignalPort = & H378 > >products3.OnsetSignalEnabled = True >products3.OnsetSignalPort = &H378 >products3.OffsetSignalEnabled= True >products3.OffsetSignalPort = & H378 > >Before each condition (specific procedure)? > >I have a Inline like that >question2.OnsetSignalData ="2"? and so on... >for each of the question and products... > >That works all fine! But I have to use a trigger >for the responses of the stimuli. Whenever I insert > >WritePort &H378,"11"? or any other value, > >transforming the procedure to this structure to: > >Text ITI (Fixation Cross with Jittered values)? >Inline? >question (Image Display with 2000 ms duration) >Another ITI (Fication Cross with Jittered Values) >Inline >product (Stimulus/Image Display with fixed duration) >InLine - WritePort &H378,"11" > > >after each product object, the first trigger >(related to the question) stops appearing in the >aquisition machine. The Writeport command >functions, the products onset keeps working, but >the question that comes in the beginning of this condition stops appearing. >? >I will be deeply grateful if you could help me >out, as I tried various (hundreds of) diverse >strategies to fix the problem and nothing seems to work!? > >Best, > >Gabriel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/538e4953.82fd320a.2462.1a8cSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Tue Jun 3 22:18:23 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 3 Jun 2014 18:18:23 -0400 Subject: Problems with triggers from e-prime to Aquisition (URGENT) In-Reply-To: <68d4dec0-a10d-41ba-930f-aaa0ae173fca@googlegroups.com> Message-ID: This thread got followed up at https://groups.google.com/d/topic/e-prime/HZbe0baSMeY At 5/31/2014 06:07 PM Saturday, Gabriel Mograbi wrote: >Dear All, > >the original transcript is: > >question2.OnsetSignalEnabled = True >question2.OnsetSignalPort = &H378 >question2.OnsetSignalEnabled= True >question2OffsetSignalPort = & H378 > >products2.OnsetSignalEnabled = True >products2.OnsetSignalPort = &H378 >products2.OffsetSignalEnabled= True >products2OffsetSignalPort = & H378 > >question1.OnsetSignalEnabled = True >question1.OnsetSignalPort = &H378 >question1.OffsetSignalEnabled= True >question1.OffsetSignalPort = & H378 > >products1.OnsetSignalEnabled = True >products1.OnsetSignalPort = &H378 >products1.OffsetSignalEnabled= True >products1OffsetSignalPort = & H378 > >question1.OnsetSignalEnabled = True >question1.OnsetSignalPort = &H378 >question1.OffsetSignalEnabled= True >question1.OffsetSignalPort = & H378 > >products3.OnsetSignalEnabled = True >products3.OnsetSignalPort = &H378 >products3.OffsetSignalEnabled= True >products3.OffsetSignalPort = & H378 > >and runs well - the only problem is when I insert the Writeport >after each condition. Then, the first command stops working! > >Thanks again! > > > >On Saturday, May 31, 2014 2:47:29 PM UTC-4, Gabriel Mograbi wrote: >Dear All, > >I am a complete newbie in e-prime. A philosopher by formation >venturing myself in a postdoctoral fellowship in neuroscience. And I >an running against time to run an experiment before my fellowship finishes. > >I am having problems with sending triggers to the "Aquisition" machine. > >In my protocol I have 3 procedures (conditions) that divide the big >list into 3. I have a first general Inline to open the ports. And I >have an Onset Inline for each of the questions and each of the >stimuli that can after the question. All that works. I can manage to >make the machines send triggers when the question 1,2 and 3 appears >and then when the 1,2 and 3 stimuli appears. When I try to insert an >InLine after the stimuli, the first trigger (the one that marks the >onset of the question does not work anymore) > >So my list is divided in 3 procedures (conditions) and each has the >following structure > >Text (ITI Fixation Cross with Jittered values) >Inline >question (Image Display with 2000 ms duration) >Another ITI (Fication Cross with Jittered Values) >Inline >products (Stimulus/Image Display with fixed duration) > > > >My script runs like that. First in the beginning of the protocol: > >question2.OnsetSignalEnabled = True >question2.OnsetSignalPort = &H378 >question2.OnsetSignalEnabled= True >question2OffsetSignalPort = & H378 > >products2.OnsetSignalEnabled = True >products2.OnsetSignalPort = &H378 >products2.OffsetSignalEnabled= True >products2OffsetSignalPort = & H378 > >question1.OnsetSignalEnabled = True >question1.OnsetSignalPort = &H378 >question1.OffetSignalEnabled= True >question1.OffsetSignalPort = & H378 > >products1.OnsetSignalEnabled = True >products1.OnsetSignalPort = &H378 >products1.OffsetSignalEnabled= True >products1OffsetSignalPort = & H378 > >question1.OnsetSignalEnabled = True >question1.OnsetSignalPort = &H378 >question1.OffetSignalEnabled= True >question1.OffsetSignalPort = & H378 > >products3.OnsetSignalEnabled = True >products3.OnsetSignalPort = &H378 >products3.OffsetSignalEnabled= True >products3.OffsetSignalPort = & H378 > >Before each condition (specific procedure) > >I have a Inline like that >question2.OnsetSignalData ="2" and so on... for each of the >question and products... > >That works all fine! But I have to use a trigger for the responses >of the stimuli. Whenever I insert > >WritePort &H378,"11" or any other value, > >transforming the procedure to this structure to: > >Text ITI (Fixation Cross with Jittered values) >Inline >question (Image Display with 2000 ms duration) >Another ITI (Fication Cross with Jittered Values) >Inline >product (Stimulus/Image Display with fixed duration) >InLine - WritePort &H378,"11" > > >after each product object, the first trigger (related to the >question) stops appearing in the aquisition machine. The Writeport >command functions, the products onset keeps working, but the >question that comes in the beginning of this condition stops appearing. > >I will be deeply grateful if you could help me out, as I tried >various (hundreds of) diverse strategies to fix the problem and >nothing seems to work! > >Best, > >Gabriel -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/538e49b1.093c320a.5502.ffff94ceSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From irini.symeonidou at gmail.com Wed Jun 4 14:43:26 2014 From: irini.symeonidou at gmail.com (Irini Symeonidou) Date: Wed, 4 Jun 2014 07:43:26 -0700 Subject: deactivatedisable mouse for a certain time period Message-ID: Hi, I am wondering if there is an inline code in e-prime that tells the program to deactivate/disable the mouse at a certain point in time during the trial so that if the participant clicks the mouse by accident e-prime will not record or recognize the click (so that the program won't crash). I know you can do this in Matlab, I'm wondering if there is anything similar for e-prime. Thank you Irini -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/32656228-1ed8-4ca5-b4ea-68f77e91568a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ceci.westbrook at gmail.com Wed Jun 4 18:49:17 2014 From: ceci.westbrook at gmail.com (Cecilia Westbrook) Date: Wed, 4 Jun 2014 11:49:17 -0700 Subject: Prerelease and data logging Message-ID: Hi all, I'm sure this is covered in another thread, but I was not able to find it with searches. I'm using E-Prime for an fMRI task with critical timing. I'm using prerelease for my stimuli, but I'm seeing some weirdness in my data logging files. For stims with 200ms prerelease, it seems like it is logging them as the onsettime + 200ms. Shouldn't it be -200ms? I see this in two ways: 1) if I look at the onsettime and the offset time and subtract them to get a duration, it is 200ms SHORTER than it should be (seems like it should be 200ms LONGER). 2) If I log the offsettime of the stim immediately preceeding it, the onsettime is 200ms later (even though it should be displaying at the same time as the offset time of the previous stim, right? +/- a little bit of delay in offsettime - but not 200ms of delay, surely?). What is going on? Does anybody have any advice? Is the most accurate thing to do to just use the offsettime of the preceeding stim? Thanks, Ceci -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8c8c8825-cdc6-4b5e-be2d-1ef3ac396e5c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Wed Jun 4 19:29:29 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 4 Jun 2014 21:29:29 +0200 Subject: deactivatedisable mouse for a certain time period In-Reply-To: <32656228-1ed8-4ca5-b4ea-68f77e91568a@googlegroups.com> Message-ID: Hi Irini, The mouse responses are only handled by eprime when the mouse device is added as Input Mask in the *active *E-Object (such as as slide). If it's not included, EPrime will ignore mouse clicks. The MouseDevice object can also be programmed using inline script, for example to show or hide the cursor. (The EBasic manual contains examples for doing so.) However, you mention that you would like to prevent program crashes. In my experience, EPrime will crash as soon as it is not the active program on the desktop anymore. This can happen, for example, if you have two displays attached to the computer, and the windows desktop is extended across both. Any mouse click on the second screen will cause serious problems. The same happens when you accidentally press a key on the keyboard that causes another program to become active (like the Windows key). I'm not sure if there is an easy workaround for this because Windows handles such key and mouse presses itself, even if ERun is active. I know there are tools to disable certain key's system wide, but that won't be an option to disable the mouse at specific time points during the experiment. If the second display (if any) is indeed the problem, the easiest workaround is to disconnect or disable the second display before starting EPrime. Another option is to use the second display in EPrime to display a dummy Text or Slide object. (The multiple display option is available in EP 2 pro). Best Paul On 4 June 2014 16:43, Irini Symeonidou wrote: > Hi, > > I am wondering if there is an inline code in e-prime that tells the > program to deactivate/disable the mouse at a certain point in time during > the trial so that if the participant clicks the mouse by accident e-prime > will not record or recognize the click (so that the program won't crash). I > know you can do this in Matlab, I'm wondering if there is anything similar > for e-prime. > > Thank you > > Irini > > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/32656228-1ed8-4ca5-b4ea-68f77e91568a%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-sUJ%2BCY2NjfzZirjcW%2BP5nak5Sf8MXmw_vwd1%3Ds9RgxEg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Wed Jun 4 19:47:09 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 4 Jun 2014 21:47:09 +0200 Subject: Prerelease and data logging In-Reply-To: <8c8c8825-cdc6-4b5e-be2d-1ef3ac396e5c@googlegroups.com> Message-ID: Hi Cecilia, You may find one of David's post very informative: https://groups.google.com/d/msg/e-prime/OeiZ00V9SRc/Vt2QAt3uoOcJ Also note that the prerelease time of an object is used to prepare the *following *object. (This is something that is often overlooked.) Paul On 4 June 2014 20:49, Cecilia Westbrook wrote: > Hi all, > > I'm sure this is covered in another thread, but I was not able to find it > with searches. I'm using E-Prime for an fMRI task with critical timing. I'm > using prerelease for my stimuli, but I'm seeing some weirdness in my data > logging files. For stims with 200ms prerelease, it seems like it is logging > them as the onsettime + 200ms. Shouldn't it be -200ms? > > I see this in two ways: 1) if I look at the onsettime and the offset time > and subtract them to get a duration, it is 200ms SHORTER than it should be > (seems like it should be 200ms LONGER). 2) If I log the offsettime of the > stim immediately preceeding it, the onsettime is 200ms later (even though > it should be displaying at the same time as the offset time of the previous > stim, right? +/- a little bit of delay in offsettime - but not 200ms of > delay, surely?). > > What is going on? Does anybody have any advice? Is the most accurate thing > to do to just use the offsettime of the preceeding stim? > > Thanks, > Ceci > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/8c8c8825-cdc6-4b5e-be2d-1ef3ac396e5c%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-v0MEyS1aCZA31Ue6kETBOk8TQgq6Fq%3D5GVTy_SL-JcOw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ceci.westbrook at gmail.com Wed Jun 4 22:16:29 2014 From: ceci.westbrook at gmail.com (Cecilia Westbrook) Date: Wed, 4 Jun 2014 15:16:29 -0700 Subject: Prerelease and data logging In-Reply-To: Message-ID: Thanks, this is helpful. One question that I still can't seem to find the answer for, though, is: what does E-Prime log as OnsetTime for an object set with pre-release? Does it log when the object starts drawing, or when it actually displays? On Wednesday, June 4, 2014 2:47:11 PM UTC-5, Paul Groot wrote: > > Hi Cecilia, > > You may find one of David's post very informative: > > https://groups.google.com/d/msg/e-prime/OeiZ00V9SRc/Vt2QAt3uoOcJ > > > Also note that the prerelease time of an object is used to prepare the *following > *object. (This is something that is often overlooked.) > > Paul > > > On 4 June 2014 20:49, Cecilia Westbrook > wrote: > >> Hi all, >> >> I'm sure this is covered in another thread, but I was not able to find it >> with searches. I'm using E-Prime for an fMRI task with critical timing. I'm >> using prerelease for my stimuli, but I'm seeing some weirdness in my data >> logging files. For stims with 200ms prerelease, it seems like it is logging >> them as the onsettime + 200ms. Shouldn't it be -200ms? >> >> I see this in two ways: 1) if I look at the onsettime and the offset time >> and subtract them to get a duration, it is 200ms SHORTER than it should be >> (seems like it should be 200ms LONGER). 2) If I log the offsettime of the >> stim immediately preceeding it, the onsettime is 200ms later (even though >> it should be displaying at the same time as the offset time of the previous >> stim, right? +/- a little bit of delay in offsettime - but not 200ms of >> delay, surely?). >> >> What is going on? Does anybody have any advice? Is the most accurate >> thing to do to just use the offsettime of the preceeding stim? >> >> Thanks, >> Ceci >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+u... at googlegroups.com . >> To post to this group, send email to e-p... at googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/8c8c8825-cdc6-4b5e-be2d-1ef3ac396e5c%40googlegroups.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/817cc9c2-bcd9-446c-9748-8373ae375c6e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Thu Jun 5 10:00:28 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Thu, 5 Jun 2014 12:00:28 +0200 Subject: Prerelease and data logging In-Reply-To: <817cc9c2-bcd9-446c-9748-8373ae375c6e@googlegroups.com> Message-ID: from http://www.pstnet.com/support/kb.asp?TopicID=3025 *Lastly, it is also important to keep in mind exactly what the Onset Time property is telling you. The Onset Time property will give you a timestamp of the exact time in which the display began to draw.* But you will find more relevant pages when you use keywords as eprime, onssettime, LCD, etc. So, the OnsetTime has no direct relation with the time that E-Prime is *preparing* the stimulus in memory during the pre-release time of the previous object. Note that the actual pixel responses depend on the hardware that is being used, and the pixel location on the display. If it is really critical, you should check the real onsets using a light sensor and oscilloscope. Paul On 5 June 2014 00:16, Cecilia Westbrook wrote: > Thanks, this is helpful. > > One question that I still can't seem to find the answer for, though, is: > what does E-Prime log as OnsetTime for an object set with pre-release? Does > it log when the object starts drawing, or when it actually displays? > > On Wednesday, June 4, 2014 2:47:11 PM UTC-5, Paul Groot wrote: >> >> Hi Cecilia, >> >> You may find one of David's post very informative: >> >> https://groups.google.com/d/msg/e-prime/OeiZ00V9SRc/Vt2QAt3uoOcJ >> >> >> Also note that the prerelease time of an object is used to prepare the *following >> *object. (This is something that is often overlooked.) >> >> Paul >> >> >> On 4 June 2014 20:49, Cecilia Westbrook wrote: >> >>> Hi all, >>> >>> I'm sure this is covered in another thread, but I was not able to find >>> it with searches. I'm using E-Prime for an fMRI task with critical timing. >>> I'm using prerelease for my stimuli, but I'm seeing some weirdness in my >>> data logging files. For stims with 200ms prerelease, it seems like it is >>> logging them as the onsettime + 200ms. Shouldn't it be -200ms? >>> >>> I see this in two ways: 1) if I look at the onsettime and the offset >>> time and subtract them to get a duration, it is 200ms SHORTER than it >>> should be (seems like it should be 200ms LONGER). 2) If I log the >>> offsettime of the stim immediately preceeding it, the onsettime is 200ms >>> later (even though it should be displaying at the same time as the offset >>> time of the previous stim, right? +/- a little bit of delay in offsettime - >>> but not 200ms of delay, surely?). >>> >>> What is going on? Does anybody have any advice? Is the most accurate >>> thing to do to just use the offsettime of the preceeding stim? >>> >>> Thanks, >>> Ceci >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+u... at googlegroups.com. >>> To post to this group, send email to e-p... at googlegroups.com. >>> To view this discussion on the web visit https://groups.google.com/d/ >>> msgid/e-prime/8c8c8825-cdc6-4b5e-be2d-1ef3ac396e5c%40googlegroups.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/817cc9c2-bcd9-446c-9748-8373ae375c6e%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-s3CR%3DNdG5%3Dy_n7jC3DWep8XiucJb5W-UeGNdWA1xLPjw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ceci.westbrook at gmail.com Thu Jun 5 18:21:09 2014 From: ceci.westbrook at gmail.com (Cecilia Westbrook) Date: Thu, 5 Jun 2014 11:21:09 -0700 Subject: Prerelease and data logging In-Reply-To: Message-ID: Hi Paul, Thanks, this makes sense now that you point it out to me. I still can't figure out, then, why the onsettime would be 100ms later than the offsettime for the previous stimulus, if the stimulus is prereleased and therefore preparing in the background. There are not 100ms of blank screen when I do the task. On Thursday, June 5, 2014 5:00:30 AM UTC-5, Paul Groot wrote: > > > from http://www.pstnet.com/support/kb.asp?TopicID=3025 > > *Lastly, it is also important to keep in mind exactly what the Onset Time > property is telling you. The Onset Time property will give you a timestamp > of the exact time in which the display began to draw.* > > But you will find more relevant pages when you use keywords as eprime, > onssettime, LCD, etc. > > So, the OnsetTime has no direct relation with the time that E-Prime is > *preparing* the stimulus in memory during the pre-release time of the > previous object. > > Note that the actual pixel responses depend on the hardware that is being > used, and the pixel location on the display. If it is really critical, you > should check the real onsets using a light sensor and oscilloscope. > > Paul > > > > On 5 June 2014 00:16, Cecilia Westbrook > wrote: > >> Thanks, this is helpful. >> >> One question that I still can't seem to find the answer for, though, is: >> what does E-Prime log as OnsetTime for an object set with pre-release? Does >> it log when the object starts drawing, or when it actually displays? >> >> On Wednesday, June 4, 2014 2:47:11 PM UTC-5, Paul Groot wrote: >>> >>> Hi Cecilia, >>> >>> You may find one of David's post very informative: >>> >>> https://groups.google.com/d/msg/e-prime/OeiZ00V9SRc/Vt2QAt3uoOcJ >>> >>> >>> Also note that the prerelease time of an object is used to prepare the *following >>> *object. (This is something that is often overlooked.) >>> >>> Paul >>> >>> >>> On 4 June 2014 20:49, Cecilia Westbrook wrote: >>> >>>> Hi all, >>>> >>>> I'm sure this is covered in another thread, but I was not able to find >>>> it with searches. I'm using E-Prime for an fMRI task with critical timing. >>>> I'm using prerelease for my stimuli, but I'm seeing some weirdness in my >>>> data logging files. For stims with 200ms prerelease, it seems like it is >>>> logging them as the onsettime + 200ms. Shouldn't it be -200ms? >>>> >>>> I see this in two ways: 1) if I look at the onsettime and the offset >>>> time and subtract them to get a duration, it is 200ms SHORTER than it >>>> should be (seems like it should be 200ms LONGER). 2) If I log the >>>> offsettime of the stim immediately preceeding it, the onsettime is 200ms >>>> later (even though it should be displaying at the same time as the offset >>>> time of the previous stim, right? +/- a little bit of delay in offsettime - >>>> but not 200ms of delay, surely?). >>>> >>>> What is going on? Does anybody have any advice? Is the most accurate >>>> thing to do to just use the offsettime of the preceeding stim? >>>> >>>> Thanks, >>>> Ceci >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to e-prime+u... at googlegroups.com. >>>> To post to this group, send email to e-p... at googlegroups.com. >>>> To view this discussion on the web visit https://groups.google.com/d/ >>>> msgid/e-prime/8c8c8825-cdc6-4b5e-be2d-1ef3ac396e5c%40googlegroups.com >>>> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+u... at googlegroups.com . >> To post to this group, send email to e-p... at googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/817cc9c2-bcd9-446c-9748-8373ae375c6e%40googlegroups.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/73e27051-9682-4e4a-bd56-3de73ec0be1e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ceci.westbrook at gmail.com Thu Jun 5 19:39:37 2014 From: ceci.westbrook at gmail.com (Cecilia Westbrook) Date: Thu, 5 Jun 2014 12:39:37 -0700 Subject: Prerelease and data logging In-Reply-To: <73e27051-9682-4e4a-bd56-3de73ec0be1e@googlegroups.com> Message-ID: Ah, I think I figured it out. Looks like the offsettime is actually 100ms early due to prerelease of the next stimulus. On Thursday, June 5, 2014 1:21:10 PM UTC-5, Cecilia Westbrook wrote: > > Hi Paul, > > Thanks, this makes sense now that you point it out to me. > > I still can't figure out, then, why the onsettime would be 100ms later > than the offsettime for the previous stimulus, if the stimulus is > prereleased and therefore preparing in the background. There are not 100ms > of blank screen when I do the task. > > On Thursday, June 5, 2014 5:00:30 AM UTC-5, Paul Groot wrote: >> >> >> from http://www.pstnet.com/support/kb.asp?TopicID=3025 >> >> *Lastly, it is also important to keep in mind exactly what the Onset Time >> property is telling you. The Onset Time property will give you a timestamp >> of the exact time in which the display began to draw.* >> >> But you will find more relevant pages when you use keywords as eprime, >> onssettime, LCD, etc. >> >> So, the OnsetTime has no direct relation with the time that E-Prime is >> *preparing* the stimulus in memory during the pre-release time of the >> previous object. >> >> Note that the actual pixel responses depend on the hardware that is being >> used, and the pixel location on the display. If it is really critical, you >> should check the real onsets using a light sensor and oscilloscope. >> >> Paul >> >> >> >> On 5 June 2014 00:16, Cecilia Westbrook wrote: >> >>> Thanks, this is helpful. >>> >>> One question that I still can't seem to find the answer for, though, is: >>> what does E-Prime log as OnsetTime for an object set with pre-release? Does >>> it log when the object starts drawing, or when it actually displays? >>> >>> On Wednesday, June 4, 2014 2:47:11 PM UTC-5, Paul Groot wrote: >>>> >>>> Hi Cecilia, >>>> >>>> You may find one of David's post very informative: >>>> >>>> https://groups.google.com/d/msg/e-prime/OeiZ00V9SRc/Vt2QAt3uoOcJ >>>> >>>> >>>> Also note that the prerelease time of an object is used to prepare the *following >>>> *object. (This is something that is often overlooked.) >>>> >>>> Paul >>>> >>>> >>>> On 4 June 2014 20:49, Cecilia Westbrook wrote: >>>> >>>>> Hi all, >>>>> >>>>> I'm sure this is covered in another thread, but I was not able to find >>>>> it with searches. I'm using E-Prime for an fMRI task with critical timing. >>>>> I'm using prerelease for my stimuli, but I'm seeing some weirdness in my >>>>> data logging files. For stims with 200ms prerelease, it seems like it is >>>>> logging them as the onsettime + 200ms. Shouldn't it be -200ms? >>>>> >>>>> I see this in two ways: 1) if I look at the onsettime and the offset >>>>> time and subtract them to get a duration, it is 200ms SHORTER than it >>>>> should be (seems like it should be 200ms LONGER). 2) If I log the >>>>> offsettime of the stim immediately preceeding it, the onsettime is 200ms >>>>> later (even though it should be displaying at the same time as the offset >>>>> time of the previous stim, right? +/- a little bit of delay in offsettime - >>>>> but not 200ms of delay, surely?). >>>>> >>>>> What is going on? Does anybody have any advice? Is the most accurate >>>>> thing to do to just use the offsettime of the preceeding stim? >>>>> >>>>> Thanks, >>>>> Ceci >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "E-Prime" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to e-prime+u... at googlegroups.com. >>>>> To post to this group, send email to e-p... at googlegroups.com. >>>>> To view this discussion on the web visit https://groups.google.com/d/ >>>>> msgid/e-prime/8c8c8825-cdc6-4b5e-be2d-1ef3ac396e5c%40googlegroups.com >>>>> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+u... at googlegroups.com. >>> To post to this group, send email to e-p... at googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/e-prime/817cc9c2-bcd9-446c-9748-8373ae375c6e%40googlegroups.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/51ed78ad-45a5-46e7-8485-d2b32c591d5a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Jun 5 19:59:47 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 5 Jun 2014 15:59:47 -0400 Subject: Prerelease and data logging In-Reply-To: <51ed78ad-45a5-46e7-8485-d2b32c591d5a@googlegroups.com> Message-ID: Ceci, Looks like you got it. And if you log the StartTime for the object that follows the 100 ms PreRelease, you should find that it is close to the OffsetTime of the previous object. So if you have something like FixationText (PreRelease=100) StimImage then the 100 ms PreRelease time of FixationText is taken up with the time used to run any code between FixationText.FinishTime and StimImage.StartTime (e.g., loading image files), and StimImage just sitting idle until StimImage.OnsetTime. (StimImage.OnsetTime will of course follow StimImage.TargetOnsetTime, with potential delay added for screen refresh synchronization.) BTW, in general if you use any PreRelease at all, then you might as well make it large, e.g., same as Duration (and in fact this has become the default behavior since EP2.0.10). At the same time, using PreRelease does run the risk of other "gothchas" with regard to using and logging responses that happen during the PreRelease period, but EP2.0.10 also adds specific safeguards to help with that. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 6/5/2014 03:39 PM Thursday, Cecilia Westbrook wrote: >Ah, I think I figured it out. Looks like the offsettime is actually >100ms early due to prerelease of the next stimulus. > >On Thursday, June 5, 2014 1:21:10 PM UTC-5, Cecilia Westbrook wrote: >Hi Paul, > >Thanks, this makes sense now that you point it out to me. > >I still can't figure out, then, why the onsettime would be 100ms >later than the offsettime for the previous stimulus, if the stimulus >is prereleased and therefore preparing in the background. There are >not 100ms of blank screen when I do the task. > >On Thursday, June 5, 2014 5:00:30 AM UTC-5, Paul Groot wrote: > >from >http://www.pstnet.com/support/kb.asp?TopicID=3025 > >Lastly, it is also important to keep in mind exactly what the Onset >Time property is telling you. The Onset Time property will give you >a timestamp of the exact time in which the display began to draw. > >But you will find more relevant pages when you use keywords as >eprime, onssettime, LCD, etc. > >So, the OnsetTime has no direct relation with the time that E-Prime >is preparing the stimulus in memory during the pre-release time of >the previous object. > >Note that the actual pixel responses depend on the hardware that is >being used, and the pixel location on the display. If it is really >critical, you should check the real onsets using a light sensor and >oscilloscope. > >Paul > > > >On 5 June 2014 00:16, Cecilia Westbrook wrote: >Thanks, this is helpful. > >One question that I still can't seem to find the answer for, though, >is: what does E-Prime log as OnsetTime for an object set with >pre-release? Does it log when the object starts drawing, or when it >actually displays? > >On Wednesday, June 4, 2014 2:47:11 PM UTC-5, Paul Groot wrote: >Hi Cecilia, > >You may find one of David's post very informative: > >https://groups.google.com/d/msg/e-prime/OeiZ00V9SRc/Vt2QAt3uoOcJ > > >Also note that the prerelease time of an object is used to prepare >the following object. (This is something that is often overlooked.) > >Paul > > >On 4 June 2014 20:49, Cecilia Westbrook wrote: >Hi all, > >I'm sure this is covered in another thread, but I was not able to >find it with searches. I'm using E-Prime for an fMRI task with >critical timing. I'm using prerelease for my stimuli, but I'm seeing >some weirdness in my data logging files. For stims with 200ms >prerelease, it seems like it is logging them as the onsettime + >200ms. Shouldn't it be -200ms? > >I see this in two ways: 1) if I look at the onsettime and the offset >time and subtract them to get a duration, it is 200ms SHORTER than >it should be (seems like it should be 200ms LONGER). 2) If I log the >offsettime of the stim immediately preceeding it, the onsettime is >200ms later (even though it should be displaying at the same time as >the offset time of the previous stim, right? +/- a little bit of >delay in offsettime - but not 200ms of delay, surely?). > >What is going on? Does anybody have any advice? Is the most accurate >thing to do to just use the offsettime of the preceeding stim? > >Thanks, >Ceci -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5390cc37.093c320a.5502.ffffd73cSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From chad.s.fernandez at gmail.com Mon Jun 9 16:23:56 2014 From: chad.s.fernandez at gmail.com (Chad Fernandez) Date: Mon, 9 Jun 2014 09:23:56 -0700 Subject: Re-using the same 'random' order later in an experiment Message-ID: Hello forums, I have created a program using e-prime 2.0 that shows participants a set of 10 images one at a time in a random order. I used a nested list and the random option from the sequencing drop-down menu, and it works perfectly. Each image is loaded from the file location and is presented randomly. However at the end of the experiment I am hoping to be able to show the participants smaller versions of all 10 images (on the same screen) with them labelled 1-10, in the same order they originally saw them in. The reason being is there is a manipulation that we are checking for and if they failed the manipulation, we want to know which image they failed it on. The order is important because we may be able to use the data - if the participant failed the manipulation on the 10th image - for the other nine images. I have no idea if this is even possible and I would also like to add that my extent of e-prime knowledge extends to only the point-and-click so far. I am starting to learn manual coding, but the learning curve there is much steeper than just the point and click. Any help would be appreciated. Thanks, Chad -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/e2d82921-ee48-4b1c-a977-295feb23291b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Jun 9 18:36:39 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 9 Jun 2014 14:36:39 -0400 Subject: Terminate list at set time, even if current sample no completed. In-Reply-To: Message-ID: Nadia, I cannot think of any reason that pre-loading images would affect any of this, so please give it a try! -- David McFarlane At 5/30/2014 11:05 AM Friday, Nadia Martin wrote: >Hi Paul and David, > >Can this solution be implemented even with images being pre-loaded? > >Thank you, >Nadia > > > >Le dimanche 10 novembre 2013 21:39:37 UTC-5, Kate Cox a ??crit : >Hi I'm very new to eprime and have no script >background so please be gentle :). > >What I'm trying to do: present participants with >a series of mathematical equations which they >must answer, using the keyboard. They must >answer as many equations as they can in 2 >minutes. After 2 minutes the task will terminate >(and go on to the next task) even if they are >part way through giving an answer. The outcomes >i'm measuring are accuracy, RT of correct >responses and number of correct responses in the 2 minute time window. > >What is working and how I have it set up: I have >300 potential equations in a list called >"TrialList", which are presented on a TextDisplay. This works perfectly. >Answers typed on the keyboard are echoed on the >screen and logged. When an answer is complete >the participant presses ENTER and the the next >equation in my list is shown. This works perfectly. >In the TextDisplay properties, under the >Duration/Input tab I have duration as infinite, >timing mode as Event, the keyboard as the only >device, allowable responses is any, time limit >is same as duration and End action is terminate. >In the list properties, under the Reset/Exit tab >I have set Exit List to "After 120 seconds" > >The problem: I can't get the task to terminate >at exactly 2 minutes. At the moment it appears >to stop when the trial that is running at 2 >minute mark is terminated (ie the participant >presses enter). For example if a participant >starts an equation at 1:55 then the task won't >stop at 2:00 it will wait until they submit >their answer and that trial is terminated. As >some of my participants aren't particularly fast >to provide their responses this may end up being closer to 3 minutes than 2. > >I'm pretty useless with script but I've found >the bit that refers to the termination settings and it looks like this: > >Set TrialList.TerminateCondition = TimedMSecs(120000) >Set TrialList.ResetCondition = Samples(300) >TrialList.Reset > >I've tried searching this group and the Eprime >guide for the answers but can't find how to fix >it. I know some people have mentioned some >script that terminates at a particular clock >setting but my script seems to look different >to theirs so I'm not sure how to implement it. >Also this maths task is part of a larger battery >of tasks so how a participant performs on >earlier tasks will determine where the running >clock is when they get up to the maths problems >(ie a participant who is faster at earlier tasks >may start the math task at the 5 minute mark and >someone who is slower might start it at the 7 >minute mark, so the running clock will be >different 2 minutes into the math task). > >I hope all this makes sense. Any help would be hugely appreciated. > >thank you in advance >Kate > >-- >You received this message because you are >subscribed to the Google Groups "E-Prime" group. >To unsubscribe from this group and stop >receiving emails from it, send an email to >e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to >e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/e-prime/a8891566-53da-4ffb-9385-aa277d9b47bf%40googlegroups.com. >For more options, visit >https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5395febd.4115320a.3865.50feSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Mon Jun 9 18:53:12 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 9 Jun 2014 14:53:12 -0400 Subject: Re-using the same 'random' order later in an experiment In-Reply-To: Message-ID: Chad, Very possible, in fact several years ago with help from PST Support I did something very like this using ExplicitOrder, see that topic in the E-Basic Help facility. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 6/9/2014 12:23 PM Monday, Chad Fernandez wrote: >I have created a program using e-prime 2.0 that shows participants a >set of 10 images one at a time in a random order. I used a nested >list and the random option from the sequencing drop-down menu, and >it works perfectly. Each image is loaded from the file location and >is presented randomly. However at the end of the experiment I am >hoping to be able to show the participants smaller versions of all >10 images (on the same screen) with them labelled 1-10, in the same >order they originally saw them in. The reason being is there is a >manipulation that we are checking for and if they failed the >manipulation, we want to know which image they failed it on. The >order is important because we may be able to use the data - if the >participant failed the manipulation on the 10th image - for the >other nine images. > >I have no idea if this is even possible and I would also like to add >that my extent of e-prime knowledge extends to only the >point-and-click so far. I am starting to learn manual coding, but >the learning curve there is much steeper than just the point and >click. Any help would be appreciated. > >Thanks, >Chad -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5396029e.0529320a.4b5e.fffff1c7SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From aahill at vassar.edu Wed Jun 11 20:53:42 2014 From: aahill at vassar.edu (aahill at vassar.edu) Date: Wed, 11 Jun 2014 13:53:42 -0700 Subject: TETWaitForFixation not working on Tobii eye tracker Message-ID: Hi all, So I've been trying to work with my eye tracker for quite some time but I can't get the TETWaitForFixation package call to work. I've tried everything but nothing works, even when go step-by-step through the tutorial in the manual. Has anyone encountered the same problem? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/c986d55d-455c-46fd-b3ed-6b9a87cb6d31%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jedema at pitt.edu Fri Jun 13 13:25:23 2014 From: Jedema at pitt.edu (Hank Jedema) Date: Fri, 13 Jun 2014 06:25:23 -0700 Subject: E-Prime Stability In-Reply-To: <961e104d-3b8c-4883-a86f-ecca23739d3d@googlegroups.com> Message-ID: Thanks for posting about the cut and paste issue with EP 2.0.10.242. I > often use it while writing programs (Matlab or E-prime) and it drives me > crazy that EP (W7-64) crashes for no apparent reason with such a simple > procedure (I just often copy just a line or 2). I haven't seen any CPU or > memory load issues but it just freezes E-studio with no apparent way out. > Hank -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/028f8a8f-3c64-4e5c-a744-0c411d1fa229%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicholasdavey2010 at gmail.com Tue Jun 17 15:49:02 2014 From: nicholasdavey2010 at gmail.com (Nicholas Davey) Date: Tue, 17 Jun 2014 08:49:02 -0700 Subject: Scrolling in Eprime? In-Reply-To: <0fe8f420-74b4-40f3-af22-482363286da1@v13g2000pro.googlegroups.com> Message-ID: Hi Matt, I'm an E-Prime novice and I'm trying to program scrolling text in E-Prime. I know this a really old post, but if you still have it, is there any way you could send me the example you mentioned? Google groups has since deleted the file feature where you originally posted it. It would be a tremendous help and I'd really appreciate it. Thanks, Nick On Tuesday, August 26, 2008 12:29:20 PM UTC-4, Matt wrote: > > Hello, > > It is possible to implement "scrolling" text in E-Prime. However, this > must be done manually using InLine script. I have attached a very > basic example of how this could be done in the Files section of this > group (i.e., ScrollingText.es). Essentially, a SlideText sub-object is > created and its proportions are configured to be larger than the > screen (thus creating the need to scroll the text). Another SlideText > sub-object is used to present instructions to the subject. > > The Slide object's Duration is set to 0, while its Time Limit is set > to "infinite" and its End Action is set to "none". The only allowable > responses are the down arrow, up arrow, and Enter keys. The Enter key > is used as the termination response. The Max Count (i.e., maximum > allowed responses) is set extremely high so that the subject can > scroll freely. > > This configuration results in the Stimulus appearing on screen while > the InLine script is running in the background. This script does > nothing except monitor incoming responses and moving the SlideText sub- > object presenting the target text. This results in a "scrolling" > effect as the subject presses the down and up arrow keys. All that is > occurring is that the script gains access to the SlideText sub-object > and then moves the Y position of the SlideText up or down as > necessary. A "ceiling" and "floor" for the Y position is implemented > so that the text is never off-screen. > > The attributes in the TrialList are used to implement the "celing" and > "floor" as well as to define the size and starting position of the > text. This allows text of varying length to be presented. > > Please let me know if you have any questions about this sample. > > - Matt > PST Technical Consultant > http://pstnet.com > > > On Aug 24, 3:05 pm, Pooja wrote: > > I'd like to create an Eprime program, similar to those used in SAT and > > GRE practice tests, where I can show a long passage on the left (which > > requires the user to scroll down in order to view the entire passage) > > along with multiple choice questions on the right. I'd like the user > > to have access to the entire passage (e.g., if they scroll down, they > > can still scroll back up, and vice versa). > > > > It doesn't appear that a long text/image/slide automatically creates a > > scroll. Is there a way to program this manually? > > > > Thanks! > > > > (Cross posted on the PTS forum website) -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1af902d4-1372-413f-85f9-7bb001c565ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Jun 17 16:23:33 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 17 Jun 2014 12:23:33 -0400 Subject: Scrolling in Eprime? In-Reply-To: <1af902d4-1372-413f-85f9-7bb001c565ce@googlegroups.com> Message-ID: Nick, Matt works for PST, so to get his attention you might do better posting your request to PST Support, and then reference this thread in your request. -- David McFarlane At 6/17/2014 11:49 AM Tuesday, Nicholas Davey wrote: >Hi Matt, > >I'm an E-Prime novice and I'm trying to program scrolling text in >E-Prime. I know this a really old post, but if you still have it, >is there any way you could send me the example you >mentioned? Google groups has since deleted the file feature where >you originally posted it. It would be a tremendous help and I'd >really appreciate it. > >Thanks, >Nick > > >On Tuesday, August 26, 2008 12:29:20 PM UTC-4, Matt wrote: >Hello, > >It is possible to implement "scrolling" text in E-Prime. However, this >must be done manually using InLine script. I have attached a very >basic example of how this could be done in the Files section of this >group (i.e., ScrollingText.es). Essentially, a SlideText sub-object is >created and its proportions are configured to be larger than the >screen (thus creating the need to scroll the text). Another SlideText >sub-object is used to present instructions to the subject. > >The Slide object's Duration is set to 0, while its Time Limit is set >to "infinite" and its End Action is set to "none". The only allowable >responses are the down arrow, up arrow, and Enter keys. The Enter key >is used as the termination response. The Max Count (i.e., maximum >allowed responses) is set extremely high so that the subject can >scroll freely. > >This configuration results in the Stimulus appearing on screen while >the InLine script is running in the background. This script does >nothing except monitor incoming responses and moving the SlideText sub- >object presenting the target text. This results in a "scrolling" >effect as the subject presses the down and up arrow keys. All that is >occurring is that the script gains access to the SlideText sub-object >and then moves the Y position of the SlideText up or down as >necessary. A "ceiling" and "floor" for the Y position is implemented >so that the text is never off-screen. > >The attributes in the TrialList are used to implement the "celing" and >"floor" as well as to define the size and starting position of the >text. This allows text of varying length to be presented. > >Please let me know if you have any questions about this sample. > >- Matt >PST Technical Consultant >http://pstnet.com > > >On Aug 24, 3:05 pm, Pooja wrote: > > I'd like to create an Eprime program, similar to those used in SAT and > > GRE practice tests, where I can show a long passage on the left (which > > requires the user to scroll down in order to view the entire passage) > > along with multiple choice questions on the right. I'd like the user > > to have access to the entire passage (e.g., if they scroll down, they > > can still scroll back up, and vice versa). > > > > It doesn't appear that a long text/image/slide automatically creates a > > scroll. Is there a way to program this manually? > > > > Thanks! > > > > (Cross posted on the PTS forum website) > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To unsubscribe from this group and stop receiving emails from it, >send an email to >e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to >e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/e-prime/1af902d4-1372-413f-85f9-7bb001c565ce%40googlegroups.com. >For more options, visit >https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53a06b8c.e277320a.25bc.5b2dSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From nicholasdavey2010 at gmail.com Tue Jun 17 17:08:37 2014 From: nicholasdavey2010 at gmail.com (Nicholas Davey) Date: Tue, 17 Jun 2014 13:08:37 -0400 Subject: Scrolling in Eprime? In-Reply-To: <53a06b8c.e277320a.25bc.5b2dSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thanks David, I'll give that a try On Tue, Jun 17, 2014 at 12:23 PM, David McFarlane wrote: > Nick, > > Matt works for PST, so to get his attention you might do better posting > your request to PST Support, and then reference this thread in your request. > > -- David McFarlane > > > > At 6/17/2014 11:49 AM Tuesday, Nicholas Davey wrote: > >> Hi Matt, >> >> I'm an E-Prime novice and I'm trying to program scrolling text in >> E-Prime. I know this a really old post, but if you still have it, is there >> any way you could send me the example you mentioned? Google groups has >> since deleted the file feature where you originally posted it. It would be >> a tremendous help and I'd really appreciate it. >> >> Thanks, >> Nick >> >> >> On Tuesday, August 26, 2008 12:29:20 PM UTC-4, Matt wrote: >> Hello, >> >> It is possible to implement "scrolling" text in E-Prime. However, this >> must be done manually using InLine script. I have attached a very >> basic example of how this could be done in the Files section of this >> group (i.e., ScrollingText.es). Essentially, a SlideText sub-object is >> created and its proportions are configured to be larger than the >> screen (thus creating the need to scroll the text). Another SlideText >> sub-object is used to present instructions to the subject. >> >> The Slide object's Duration is set to 0, while its Time Limit is set >> to "infinite" and its End Action is set to "none". The only allowable >> responses are the down arrow, up arrow, and Enter keys. The Enter key >> is used as the termination response. The Max Count (i.e., maximum >> allowed responses) is set extremely high so that the subject can >> scroll freely. >> >> This configuration results in the Stimulus appearing on screen while >> the InLine script is running in the background. This script does >> nothing except monitor incoming responses and moving the SlideText sub- >> object presenting the target text. This results in a "scrolling" >> effect as the subject presses the down and up arrow keys. All that is >> occurring is that the script gains access to the SlideText sub-object >> and then moves the Y position of the SlideText up or down as >> necessary. A "ceiling" and "floor" for the Y position is implemented >> so that the text is never off-screen. >> >> The attributes in the TrialList are used to implement the "celing" and >> "floor" as well as to define the size and starting position of the >> text. This allows text of varying length to be presented. >> >> Please let me know if you have any questions about this sample. >> >> - Matt >> PST Technical Consultant >> http://pstnet.com >> >> >> >> On Aug 24, 3:05 pm, Pooja wrote: >> > I'd like to create an Eprime program, similar to those used in SAT and >> > GRE practice tests, where I can show a long passage on the left (which >> > requires the user to scroll down in order to view the entire passage) >> > along with multiple choice questions on the right. I'd like the user >> > to have access to the entire passage (e.g., if they scroll down, they >> > can still scroll back up, and vice versa). >> > >> > It doesn't appear that a long text/image/slide automatically creates a >> > scroll. Is there a way to program this manually? >> > >> > Thanks! >> > >> > (Cross posted on the PTS forum website) >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+ >> unsubscribe at googlegroups.com. >> To post to this group, send email to >> e-prime at googlegroups.com. >> To view this discussion on the web visit > msgid/e-prime/1af902d4-1372-413f-85f9-7bb001c565ce% >> 40googlegroups.com?utm_medium=email&utm_source=footer>https: >> //groups.google.com/d/msgid/e-prime/1af902d4-1372-413f-85f9- >> 7bb001c565ce%40googlegroups.com. >> For more options, visit >> https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "E-Prime" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/e-prime/KU8_AAqyNA4/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/e-prime/53a06b8c.e277320a.25bc.5b2dSMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAHYfHRGvPuPgZn9-ZBBDu1ukEGXO6rgWPEf9QhMd%2B3TsNthZvg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ted.snyder at gmail.com Thu Jun 19 16:16:33 2014 From: ted.snyder at gmail.com (Ted Snyder) Date: Thu, 19 Jun 2014 09:16:33 -0700 Subject: Running tasks remotely, via VNC? Message-ID: E-Prime Experts, Do any of you have experience using VNC--or similar protocols--to run your tasks remotely? I work in a sleep lab, and we'd like to use E-Prime to generate stimuli while our participants are sleeping. We have computers in the participant's rooms running the script, but we need to control the task without entering the room and disturbing their sleep. We've experimented with Remote Desktop and various VNC clients, but they all seem pretty flaky--despite everything being on the same LAN and connected by gigabit ethernet. Do you have any recommendations for running E-Prime tasks remotely? Any suggestions for tackling this problem? Thanks for your help and expertise. Regards, -Ted Snyder -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/46240288-b139-46c0-a3f6-26b694980d81%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Thu Jun 19 18:17:31 2014 From: mspape at cognitology.eu (=?utf-8?Q?Michiel_Sovij=C3=A4rvi-Spap=C3=A9?=) Date: Thu, 19 Jun 2014 21:17:31 +0300 Subject: Running tasks remotely, via VNC? In-Reply-To: <46240288-b139-46c0-a3f6-26b694980d81@googlegroups.com> Message-ID: Hi, Gigabit connections, much like extremely fast PCs, do not necessarily translate into low-latency. Indeed, the lowest latency (?least flaky?) we get is consistently via old-school protocols such as serial/parallel cables. My suggestion would be to use this instead of LAN. Another idea is to use very long cables (I used 30m powered serial cable before, went fine), or attaching equipment in duplicates. For example, you can easily attach 2 computer mice and 2 keyboards to a single PC; e-prime (or Windows) doesn?t care where key-strokes come from. Then, if you add a secondary screen, you?ll have solid and extremely stable solution. Personally, I like my e-prime computers not to be connected to any LAN whatsoever. I think there have been people around who use e-prime on remote desktop. Not sure what their experience is, but I (and more importantly, your reviewers) might find it doubtful that high precision can be achieved. Of course, that doesn?t matter for many paradigms :) Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Ted Snyder Sent: 19 June 2014 19:17 To: e-prime at googlegroups.com Subject: Running tasks remotely, via VNC? E-Prime Experts, Do any of you have experience using VNC--or similar protocols--to run your tasks remotely? I work in a sleep lab, and we'd like to use E-Prime to generate stimuli while our participants are sleeping. We have computers in the participant's rooms running the script, but we need to control the task without entering the room and disturbing their sleep. We've experimented with Remote Desktop and various VNC clients, but they all seem pretty flaky--despite everything being on the same LAN and connected by gigabit ethernet. Do you have any recommendations for running E-Prime tasks remotely? Any suggestions for tackling this problem? Thanks for your help and expertise. Regards, -Ted Snyder -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com . To post to this group, send email to e-prime at googlegroups.com . To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/46240288-b139-46c0-a3f6-26b694980d81%40googlegroups.com . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/009d01cf8bea%24bcf51460%2436df3d20%24%40cognitology.eu. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ted.snyder at gmail.com Thu Jun 19 18:43:52 2014 From: ted.snyder at gmail.com (Ted Snyder) Date: Thu, 19 Jun 2014 11:43:52 -0700 Subject: Running tasks remotely, via VNC? In-Reply-To: <009d01cf8bea$bcf51460$36df3d20$@cognitology.eu> Message-ID: Michiel, Thanks for your reply. Unfortunately, our physical layout makes running more cables unlikely. Luckily, we usually have a 30 second-ish window to trigger our stimulus (one stage's worth of sleep), so a reasonable amount of latency isn't a problem. Regards, -Ted Snyder On Thursday, June 19, 2014 1:17:39 PM UTC-5, Michiel Sovij?rvi-Spap? wrote: > > Hi, > > Gigabit connections, much like extremely fast PCs, do not necessarily > translate into low-latency. Indeed, the lowest latency (?least flaky?) we > get is consistently via old-school protocols such as serial/parallel > cables. My suggestion would be to use this instead of LAN. Another idea is > to use very long cables (I used 30m powered serial cable before, went > fine), or attaching equipment in duplicates. For example, you can easily > attach 2 computer mice and 2 keyboards to a single PC; e-prime (or Windows) > doesn?t care where key-strokes come from. Then, if you add a secondary > screen, you?ll have solid and extremely stable solution. Personally, I like > my e-prime computers not to be connected to any LAN whatsoever. > > > > I think there have been people around who use e-prime on remote desktop. > Not sure what their experience is, but I (and more importantly, your > reviewers) might find it doubtful that high precision can be achieved. Of > course, that doesn?t matter for many paradigms J > > Best, > > Michiel > > > > *From:* e-p... at googlegroups.com [mailto: > e-p... at googlegroups.com ] *On Behalf Of *Ted Snyder > *Sent:* 19 June 2014 19:17 > *To:* e-p... at googlegroups.com > *Subject:* Running tasks remotely, via VNC? > > > > E-Prime Experts, > > > > Do any of you have experience using VNC--or similar protocols--to run your > tasks remotely? > > > > I work in a sleep lab, and we'd like to use E-Prime to generate stimuli > while our participants are sleeping. We have computers in the participant's > rooms running the script, but we need to control the task without entering > the room and disturbing their sleep. We've experimented with Remote Desktop > and various VNC clients, but they all seem pretty flaky--despite everything > being on the same LAN and connected by gigabit ethernet. > > > > Do you have any recommendations for running E-Prime tasks remotely? Any > suggestions for tackling this problem? > > > > Thanks for your help and expertise. > > > > Regards, > > -Ted Snyder > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+u... at googlegroups.com . > To post to this group, send email to e-p... at googlegroups.com > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/46240288-b139-46c0-a3f6-26b694980d81%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/aed5a5fe-863a-4374-82c5-840076f91642%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ainos1785 at gmail.com Fri Jun 20 16:24:51 2014 From: ainos1785 at gmail.com (Sonia Bansal) Date: Fri, 20 Jun 2014 09:24:51 -0700 Subject: E-Prime and I-View: Gaze contingency Message-ID: I have managed to script an experiment in E-prime and set the communication and eye tracking up, but am having trouble with the gaze contingency part of the experiment. Basically, I have a fixation window/AOI set up around the central fixation, and when subject's eyes leave that window and look towards a peripheral target, I want that eye movement to trigger the next slide to be presented. (I just want to force fixation at the centre at the beginning of the trial for a certain period of time). What I have tried is set and enabled an AOI to obtain a count of the number of gaze data samples that are within that AOI, and for at least let's say 500 hits(calculated based on required fixation duration and sampling rate), that fixation screen is to stay on before a target (next slide) comes on. Any help with this would be highly highly appreciated!! Thanks, Sonia -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/14dd03fa-a78b-4b07-bc95-509c0dcb792f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ainos1785 at gmail.com Fri Jun 20 16:29:13 2014 From: ainos1785 at gmail.com (Sonia Bansal) Date: Fri, 20 Jun 2014 09:29:13 -0700 Subject: E-Prime and I-View: Gaze contingency In-Reply-To: <14dd03fa-a78b-4b07-bc95-509c0dcb792f@googlegroups.com> Message-ID: P.S My E-Prime is version 2.0 Standard and SMI I-View is Hi Speed-X (240/350/500 Hz) On Friday, June 20, 2014 12:24:51 PM UTC-4, Sonia Bansal wrote: > > I have managed to script an experiment in E-prime and set the > communication and eye tracking up, but am having trouble with the gaze > contingency part of the experiment. > > Basically, I have a fixation window/AOI set up around the central > fixation, and when subject's eyes leave that window and look towards a > peripheral target, I want that eye movement to trigger the next slide to be > presented. (I just want to force fixation at the centre at the beginning of > the trial for a certain period of time). > > What I have tried is set and enabled an AOI to obtain a count of the > number of gaze data samples that are within that AOI, and for at least > let's say 500 hits(calculated based on required fixation duration and > sampling rate), that fixation screen is to stay on before a target (next > slide) comes on. > > Any help with this would be highly highly appreciated!! > > Thanks, > Sonia > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/b9c328fc-7f6b-4f6c-a189-a452a085898e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From enrico.fattorini at uniroma1.it Mon Jun 23 16:28:25 2014 From: enrico.fattorini at uniroma1.it (Enrico Fattorini) Date: Mon, 23 Jun 2014 09:28:25 -0700 Subject: Triggering the No/Go response on inline Message-ID: Hi to everyone, I am using E-Prime 1. I am now preparing a Go/NoGo paradigm. I have a problem about the triggering of the No/Go response on the inline file. I have three response conditions: response with left hand ("s"); response with right hand ("l"); NO response. I did not have problem to trigger the two Go responses (letter "s" and "l") but the software is closing and segnaling an error when I did not make a response. I have to find the way to triggering a NO response. I tried a lot of different combinations, one is the following: if TResp.Responses(TResp.Responses.count).resp= "s" then Trisp=1 elseif TResp.Responses(TResp.Responses.count).resp= "l" then Trisp=2 elseif TResp.Responses(TResp.Responses.count).resp= "void" then Trisp=3 end if if Trisp = 1 then writeport 888, 51 sleep 5 writeport 888, 0 elseif Trisp = 2 then writeport 888, 52 sleep 5 writeport 888, 0 elseif Trisp = 3 then writeport 888, 50 sleep 5 writeport 888, 0 Any suggestions? Thank you a lot. Enrico -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/836c0a8c-6e89-48ab-90fd-f31ad7a9894f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kumar.dilip86 at gmail.com Tue Jun 24 03:45:42 2014 From: kumar.dilip86 at gmail.com (Dilip Kumar) Date: Mon, 23 Jun 2014 20:45:42 -0700 Subject: Converging trials with and without conditions into one Trial List...!!! Message-ID: Hi, I want to converge two tasks into one trial list in order to get random trial appearance. As can be seen in design attached, control task has only one slide object which acts as stimuli & response simultaneously (no condition) while WM task has two slide objects one being used as stimulus and other as condition & response medium. Of-course this in not a huge issue for experts in the group and I need some help in resolving it. Can someone please guide me on how should I go about converging the experiment at tabular list as well as on trial design level. Please do share your tips/tricks and suggestions on this issue. Thanks! Best regards, Dilip -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/64cab763-9897-474d-ad0e-37df28f2cff1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Trial Convergence.pdf Type: application/pdf Size: 180592 bytes Desc: not available URL: From pfc.groot at gmail.com Tue Jun 24 13:45:27 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Tue, 24 Jun 2014 15:45:27 +0200 Subject: Triggering the No/Go response on inline In-Reply-To: <836c0a8c-6e89-48ab-90fd-f31ad7a9894f@googlegroups.com> Message-ID: Hi Enrico, Does your paradigm really allow multiple responses on a single stimulus? Your script checks the value of the latest response, which would be over-complicated in case the maximum number of allowed responses is 1. Also, if there are no responses, your script will fail because it tries to read the value of the last element of the response array, which will not exist if there are no elements! So, to simplify the script you should use TResp.RESP instead of TResp.Responses(TResp.Responses.count).resp. Also be aware that comparison will be case sensitive. And instead of using if-then, you could use Select-Case. Combining it all together: Select Case UCase$(TResp.RESP) Case "S" Trisp=1 Case "L" Trisp=2 Case "" Trisp=3 Otherwise Debug.Print "Unexpected reponse: " & TResp.RESP End Select Or combining the other lines as well: Dim code as Integer Select Case UCase$(TResp.RESP) Case "S" code = 51 Case "L" code = 52 Case "" code = 50 Otherwise Debug.Print "Unexpected reponse: " & TResp.RESP code = 0 End Select if code>0 then writeport 888, code sleep 5 writeport 888, 0 end if Best Paul PS. Note that nonzero pre-release times will be problematic if this inline is used immediately after TResp. On 23 June 2014 18:28, Enrico Fattorini wrote: > Hi to everyone, > > I am using E-Prime 1. I am now preparing a Go/NoGo paradigm. I have a > problem about the triggering of the No/Go response on the inline file. I > have three response conditions: response with left hand ("s"); response > with right hand ("l"); NO response. I did not have problem to trigger the > two Go responses (letter "s" and "l") but the software is closing and > segnaling an error when I did not make a response. I have to find the way > to triggering a NO response. > > I tried a lot of different combinations, one is the following: > > if TResp.Responses(TResp.Responses.count).resp= "s" then > Trisp=1 > elseif TResp.Responses(TResp.Responses.count).resp= "l" then > Trisp=2 > elseif TResp.Responses(TResp.Responses.count).resp= "void" then > Trisp=3 > end if > > if Trisp = 1 then > writeport 888, 51 > sleep 5 > writeport 888, 0 > > elseif Trisp = 2 then > writeport 888, 52 > sleep 5 > writeport 888, 0 > > elseif Trisp = 3 then > writeport 888, 50 > sleep 5 > writeport 888, 0 > > Any suggestions? > > Thank you a lot. > > Enrico > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/836c0a8c-6e89-48ab-90fd-f31ad7a9894f%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-sF9sowLnfJbefSv_Pzmuv-qAxh6Xtc7cJ-h-W85M%2BMTA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marie-france.larsson at miun.se Tue Jun 24 13:59:09 2014 From: marie-france.larsson at miun.se (Marie-France Larsson) Date: Tue, 24 Jun 2014 06:59:09 -0700 Subject: "NULL" as my first logged answer when using "c.SetAttrib" Message-ID: Hi! I was wondering if someone else encountered this problem. I used the code below in order to log which picture a participant clicks on (the answer choices in this experiment are images on a slide). For a reason that I do not quite understand, the answers are logged in my data output, BUT, the first answer is always "NULL", and the answers are then logged on the wrong row (they are displaced one row down so that the answer provided for trial 1 is logged on the row of trial 2, and so on, meaning that the last answer is not logged at all). Anything in my code that looks wrong to you, or any suggestion? This is the very first time I ever program an experiment at all, so I feel like there are probably a lot of things I might be doing wrong! Code: Dim theState As SlideState Set theState = EmotionIdentification.States("Default") Dim strHit As String Dim providedAnswer As MouseResponseData If EmotionIdentification.InputMasks.Responses.Count > 0 Then Set providedAnswer = CMouseResponseData(EmotionIdentification.InputMasks.Responses(1)) strHit = theState.HitTest(providedAnswer.CursorX, providedAnswer.CursorY) c.SetAttrib "ClickedAnsKey", strHit End If -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/aaf59e04-10be-4ec5-a9cb-2861ebaabcad%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Tue Jun 24 14:20:32 2014 From: gusunny1 at gmail.com (sally) Date: Tue, 24 Jun 2014 07:20:32 -0700 Subject: eprime timing issues and wierd time log Message-ID: Dear all, Recently I find there is a strange thing about eprime. I am engaged in an fMRI experiment. So there is a strict timing demand and I wrote several lines of codes to make it possible in the scanner that subjects use two keys to move the cursor in the screen to do rating from 1-9. The very obvious problem is that when I run the codes, some presentation before the 1-9 ratings has got something like time ceiling. the rating time is always fixed as I assigned in the codes,but sometimes, the fixation time after the rating is shorten to 0, or sometimes the picture showing time after the fixation also flash more quickly than I expected while another fixation after the picture is still shown as I hoped. It's totally out of my mind. pictures didn't show up for the time I demand in the duration menu. I think this may have something to do wt my rating part. So I'd better to write out how I realize this part: Another guy give me this idea to make the rating 1-9 shown for 0s and afterwards every time I press the button I set up in the rating slide to left or right move the cursor, the eprime would catch the response and check which btton is pressed and make a decision whether the cursor move left or right and how long it would move. then after the axis is determined, I would draw the rating slide. and I have a cycle to control the time by datediff functon to check the start and the end of the cycle is about 5s apart. I hope I make myself clear. Any idea would be appreciated and hope someone can help me. My best, Sally -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marie-france.larsson at miun.se Tue Jun 24 15:19:07 2014 From: marie-france.larsson at miun.se (Marie-France Larsson) Date: Tue, 24 Jun 2014 08:19:07 -0700 Subject: How to define which areas can be clicked on a slide? Message-ID: Hi! I seem to have reached a deadend again. I cannot for the life of me figure out how to define which areas can be valid for a mouse click on a slide, in this case it should be on SlideImages and SlideImages only. The way it is now, a click anywhere on the slide will make the experiment go forward to the next trial. However, I would like the experiment to go forward only after the participant clicks on one of the SlideImages. A mouse click anywhere else on the slide should not have any effect. Is this something that I can fix with the "Duration/Input" settings in the slide's properties or will it require InLine code? Thank you for your input! Kind regards, Marie-France -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/27cb52b9-e02a-4160-8873-9d5393596479%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From annekehaddad at gmail.com Tue Jun 24 15:47:11 2014 From: annekehaddad at gmail.com (annekehaddad at gmail.com) Date: Tue, 24 Jun 2014 08:47:11 -0700 Subject: Randomization with nested lists Message-ID: Hi there, I'm having trouble with the randomization of some nested lists. The overall structure of my experiment is as follows. There are three stimuli, A, B, and C and 6 blocks. In each block, participants first "view" three pairs of stimuli, and then "rate" three pairs of stimuli. Within each block, each unique pair of stimuli (AB, AC, and BC) should appear exactly once in the "view" section and exactly once in the "rate" section. The position of each stimulus (left or right) should be counterbalanced within the "view" sections across the whole experiment and similarly within the "rate" sections across the whole experiment. Thus across the whole experiment, stimulus A should appear on the left 6 times in the "view" context and 6 times in the "rate" context and similarly for the other stimuli - but I am having difficulty getting the position (left/right) to counterbalance properly. My experimental setup looks something like this: Experiment -BlockList (ThreeViewTrialsProc,ThreeRateTrialsProc) 12 samples (6 cycles x 2 samples/cycle), 1 cycle equals 2 samples, seq. selection -ThreeViewTrialsProc -PairingsList1 (three rows showing the three pairs) 3 samples, 1 cycle equals 3 samples, random selection -nested within this LeftRightList1 (two rows showing the l/r orientations) 1 sample, 1 cycle equals 2 samples, random selection -ViewProc -ThreeRateTrialsProc -PairingsList2 (three rows showing the three pairs) 3 samples, 1 cycle equals 3 samples, random selection -nested within this is LeftRightList2 (two rows showing the l/r orientations) 1 sample, 1 cycle equals 2 samples, random selection -RateTrialProc I get the right number of pairs of each type, but I seem to get one too many of, for example, A on the left. What am I doing wrong? Many thanks in advance for your help. Anneke -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/10e291fa-0c55-41a6-bf35-85ea17c53609%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Tue Jun 24 22:00:57 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 25 Jun 2014 00:00:57 +0200 Subject: "NULL" as my first logged answer when using "c.SetAttrib" In-Reply-To: Message-ID: Hi Marie-France, Sounds like this inline script is executed during the prerelease time of the EmotionIdentification object. This will be the case when pre-release is non-zero and the inline script is placed immediately after EmotionIdentification. Ideally such an inline should be at the end of the trial procedure. However, when EmotionIdentification is the last object of the procedure, you should consider setting the pre-release to zero or to insert another 'dummy' object before the inline. Also have a look at the experiment advisor in EP 2. It probably warned about this inline execution during pre-release issue. Best Paul On 24 June 2014 15:59, Marie-France Larsson wrote: > Hi! > I was wondering if someone else encountered this problem. I used the code > below in order to log which picture a participant clicks on (the answer > choices in this experiment are images on a slide). For a reason that I do > not quite understand, the answers are logged in my data output, BUT, the > first answer is always "NULL", and the answers are then logged on the wrong > row (they are displaced one row down so that the answer provided for trial > 1 is logged on the row of trial 2, and so on, meaning that the last answer > is not logged at all). Anything in my code that looks wrong to you, or any > suggestion? This is the very first time I ever program an experiment at > all, so I feel like there are probably a lot of things I might be doing > wrong! > > Code: > > Dim theState As SlideState > Set theState = EmotionIdentification.States("Default") > Dim strHit As String > Dim providedAnswer As MouseResponseData > > If EmotionIdentification.InputMasks.Responses.Count > 0 Then > > Set providedAnswer = > CMouseResponseData(EmotionIdentification.InputMasks.Responses(1)) > > strHit = theState.HitTest(providedAnswer.CursorX, providedAnswer.CursorY) > > c.SetAttrib "ClickedAnsKey", strHit > > End If > > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/aaf59e04-10be-4ec5-a9cb-2861ebaabcad%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-svzgwfcLDkXA0Ch7eJ_MY7V94SduRDjgk8TfBpWgXm-A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Tue Jun 24 22:09:21 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 25 Jun 2014 00:09:21 +0200 Subject: eprime timing issues and wierd time log In-Reply-To: <7b4b3274-d26e-48e6-9753-416c720445a5@googlegroups.com> Message-ID: Hi Sally, Does your inline code use some kind of loop that takes a relative long time to finish? In that case EPrime probably tries to compensate for the 'lost' time when executing the next object. Paul On 24 June 2014 16:20, sally wrote: > Dear all, > > Recently I find there is a strange thing about eprime. I am engaged in an > fMRI experiment. So there is a strict timing demand and I wrote several > lines of codes to make it possible in the scanner that subjects use two > keys to move the cursor in the screen to do rating from 1-9. > The very obvious problem is that when I run the codes, some presentation > before the 1-9 ratings has got something like time ceiling. the rating time > is always fixed as I assigned in the codes,but sometimes, the fixation time > after the rating is shorten to 0, or sometimes the picture showing time > after the fixation also flash more quickly than I expected while another > fixation after the picture is still shown as I hoped. It's totally out of > my mind. pictures didn't show up for the time I demand in the duration menu. > I think this may have something to do wt my rating part. So I'd better to > write out how I realize this part: > > Another guy give me this idea to make the rating 1-9 shown for 0s and > afterwards every time I press the button I set up in the rating slide to > left or right move the cursor, the eprime would catch the response and > check which btton is pressed and make a decision whether the cursor move > left or right and how long it would move. then after the axis is > determined, I would draw the rating slide. and I have a cycle to control > the time by datediff functon to check the start and the end of the cycle is > about 5s apart. > > I hope I make myself clear. > > Any idea would be appreciated and hope someone can help me. > > My best, > > Sally > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Tue Jun 24 22:11:51 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 25 Jun 2014 00:11:51 +0200 Subject: How to define which areas can be clicked on a slide? In-Reply-To: <27cb52b9-e02a-4160-8873-9d5393596479@googlegroups.com> Message-ID: You might have a look at these examples: http://pfcgroot.nl/e-prime/83-example-scripts/88-image-click-example.html http://pfcgroot.nl/e-prime/83-example-scripts/84-image-selection-example.html Paul On 24 June 2014 17:19, Marie-France Larsson wrote: > Hi! > I seem to have reached a deadend again. I cannot for the life of me figure > out how to define which areas can be valid for a mouse click on a slide, in > this case it should be on SlideImages and SlideImages only. The way it is > now, a click anywhere on the slide will make the experiment go forward to > the next trial. However, I would like the experiment to go forward only > after the participant clicks on one of the SlideImages. A mouse click > anywhere else on the slide should not have any effect. Is this something > that I can fix with the "Duration/Input" settings in the slide's properties > or will it require InLine code? > > Thank you for your input! > > Kind regards, > Marie-France > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/27cb52b9-e02a-4160-8873-9d5393596479%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-ua8K%2BiNrFtpBG-7fHwAZVZCETF9M8bGiHNr3cmnG%3D61w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Wed Jun 25 00:01:11 2014 From: gusunny1 at gmail.com (sunnygu) Date: Wed, 25 Jun 2014 08:01:11 +0800 Subject: eprime timing issues and wierd time log In-Reply-To: Message-ID: Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And I tried to change the following fixation mode to event then the time of the fixation is ok then. But do you have any better idea about this situation? Thanks for your nice reply. Sally ???? iPhone > ? 2014?6?25????6:09?Paul Groot ??? > > Hi Sally, > > Does your inline code use some kind of loop that takes a relative long time to finish? In that case EPrime probably tries to compensate for the 'lost' time when executing the next object. > > Paul > > > > >> On 24 June 2014 16:20, sally wrote: >> Dear all, >> >> Recently I find there is a strange thing about eprime. I am engaged in an fMRI experiment. So there is a strict timing demand and I wrote several lines of codes to make it possible in the scanner that subjects use two keys to move the cursor in the screen to do rating from 1-9. >> The very obvious problem is that when I run the codes, some presentation before the 1-9 ratings has got something like time ceiling. the rating time is always fixed as I assigned in the codes,but sometimes, the fixation time after the rating is shorten to 0, or sometimes the picture showing time after the fixation also flash more quickly than I expected while another fixation after the picture is still shown as I hoped. It's totally out of my mind. pictures didn't show up for the time I demand in the duration menu. >> I think this may have something to do wt my rating part. So I'd better to write out how I realize this part: >> >> Another guy give me this idea to make the rating 1-9 shown for 0s and afterwards every time I press the button I set up in the rating slide to left or right move the cursor, the eprime would catch the response and check which btton is pressed and make a decision whether the cursor move left or right and how long it would move. then after the axis is determined, I would draw the rating slide. and I have a cycle to control the time by datediff functon to check the start and the end of the cycle is about 5s apart. >> >> I hope I make myself clear. >> >> Any idea would be appreciated and hope someone can help me. >> >> My best, >> >> Sally >> -- >> You received this message because you are subscribed to the Google Groups "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Wed Jun 25 07:51:22 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 25 Jun 2014 09:51:22 +0200 Subject: eprime timing issues and wierd time log In-Reply-To: <8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59@gmail.com> Message-ID: Hi Sally, You could solve this by setting the duration of the object before the inline to the required value (5 sec), and set pre-release to 'same as duration'. This will make sure that the inline is executed a.s.a.p. and that the next object is scheduled to start after 5 seconds. However, this would not work if the time taken by the inline is variable. In that case you might try using the CustomOnset/OffsetTime properties and set the timing mode to custom (of the object after the inline ). Paul On 25 June 2014 02:01, sunnygu wrote: > Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And I > tried to change the following fixation mode to event then the time of the > fixation is ok then. But do you have any better idea about this situation? > Thanks for your nice reply. > > Sally > > ???? iPhone > > ? 2014?6?25????6:09?Paul Groot ??? > > Hi Sally, > > Does your inline code use some kind of loop that takes a relative long > time to finish? In that case EPrime probably tries to compensate for the > 'lost' time when executing the next object. > > Paul > > > > > On 24 June 2014 16:20, sally wrote: > >> Dear all, >> >> Recently I find there is a strange thing about eprime. I am engaged in an >> fMRI experiment. So there is a strict timing demand and I wrote several >> lines of codes to make it possible in the scanner that subjects use two >> keys to move the cursor in the screen to do rating from 1-9. >> The very obvious problem is that when I run the codes, some presentation >> before the 1-9 ratings has got something like time ceiling. the rating time >> is always fixed as I assigned in the codes,but sometimes, the fixation time >> after the rating is shorten to 0, or sometimes the picture showing time >> after the fixation also flash more quickly than I expected while another >> fixation after the picture is still shown as I hoped. It's totally out of >> my mind. pictures didn't show up for the time I demand in the duration menu. >> I think this may have something to do wt my rating part. So I'd better to >> write out how I realize this part: >> >> Another guy give me this idea to make the rating 1-9 shown for 0s and >> afterwards every time I press the button I set up in the rating slide to >> left or right move the cursor, the eprime would catch the response and >> check which btton is pressed and make a decision whether the cursor move >> left or right and how long it would move. then after the axis is >> determined, I would draw the rating slide. and I have a cycle to control >> the time by datediff functon to check the start and the end of the cycle is >> about 5s apart. >> >> I hope I make myself clear. >> >> Any idea would be appreciated and hope someone can help me. >> >> My best, >> >> Sally >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com > > . > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-vQ7hPCO0KmxptQF4Qsh_ccjHu3RJvQK%3D1HzgFarMMx_w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marie-france.larsson at miun.se Wed Jun 25 09:30:48 2014 From: marie-france.larsson at miun.se (Marie-France Larsson) Date: Wed, 25 Jun 2014 02:30:48 -0700 Subject: "NULL" as my first logged answer when using "c.SetAttrib" In-Reply-To: Message-ID: Hi Paul! It worked! I moved the InLine at the end of the procedure and it solved the problem. Thank you for your reply! Best, Marie-France On Wednesday, June 25, 2014 12:01:03 AM UTC+2, Paul Groot wrote: > > Hi Marie-France, > > Sounds like this inline script is executed during the prerelease time of > the EmotionIdentification object. This will be the case when pre-release > is non-zero and the inline script is placed immediately after EmotionIdentification. > Ideally such an inline should be at the end of the trial procedure. > However, when EmotionIdentification is the last object of the procedure, > you should consider setting the pre-release to zero or to insert another > 'dummy' object before the inline. > > Also have a look at the experiment advisor in EP 2. It probably warned > about this inline execution during pre-release issue. > > Best > Paul > > > > On 24 June 2014 15:59, Marie-France Larsson > wrote: > >> Hi! >> I was wondering if someone else encountered this problem. I used the code >> below in order to log which picture a participant clicks on (the answer >> choices in this experiment are images on a slide). For a reason that I do >> not quite understand, the answers are logged in my data output, BUT, the >> first answer is always "NULL", and the answers are then logged on the wrong >> row (they are displaced one row down so that the answer provided for trial >> 1 is logged on the row of trial 2, and so on, meaning that the last answer >> is not logged at all). Anything in my code that looks wrong to you, or any >> suggestion? This is the very first time I ever program an experiment at >> all, so I feel like there are probably a lot of things I might be doing >> wrong! >> >> Code: >> >> Dim theState As SlideState >> Set theState = EmotionIdentification.States("Default") >> Dim strHit As String >> Dim providedAnswer As MouseResponseData >> >> If EmotionIdentification.InputMasks.Responses.Count > 0 Then >> >> Set providedAnswer = >> CMouseResponseData(EmotionIdentification.InputMasks.Responses(1)) >> >> strHit = theState.HitTest(providedAnswer.CursorX, providedAnswer.CursorY) >> >> c.SetAttrib "ClickedAnsKey", strHit >> >> End If >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+u... at googlegroups.com . >> To post to this group, send email to e-p... at googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/aaf59e04-10be-4ec5-a9cb-2861ebaabcad%40googlegroups.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a29102c6-7f98-44ff-9f26-9f8844a6bbb7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Wed Jun 25 10:18:14 2014 From: gusunny1 at gmail.com (sunnygu) Date: Wed, 25 Jun 2014 18:18:14 +0800 Subject: eprime timing issues and wierd time log In-Reply-To: Message-ID: Hi,Paul. So you mean if I want the fixation after the 5s rating to be presented as long as I defined, I should set the duration before the rating and prerelease to same as duration. Besides, my rating slice time is fixed to 5s, so I suppose this would work. I just tried following: I originally set the fixation as accumulative mode which is required in fMRI and I changed this to event mode which make the fixation last as long as I want. How do you think about this? By the way, I usually add an attribution in list which tells the fixation duration, but now I defined the duration in fixation property file using[time1] which time1 is the property name in list. Are these two ways the same? Sometimes I find I can't trust the codes in eprime very much. Which would you suggest? Thanks a lot for your kind reply. My best, Sally ???? iPhone > ? 2014?6?25????3:51?Paul Groot ??? > > Hi Sally, > > You could solve this by setting the duration of the object before the inline to the required value (5 sec), and set pre-release to 'same as duration'. This will make sure that the inline is executed a.s.a.p. and that the next object is scheduled to start after 5 seconds. However, this would not work if the time taken by the inline is variable. In that case you might try using the CustomOnset/OffsetTime properties and set the timing mode to custom (of the object after the inline ). > > > Paul > > >> On 25 June 2014 02:01, sunnygu wrote: >> Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And I tried to change the following fixation mode to event then the time of the fixation is ok then. But do you have any better idea about this situation? >> Thanks for your nice reply. >> >> Sally >> >> ???? iPhone >> >>> ? 2014?6?25????6:09?Paul Groot ??? >>> >>> Hi Sally, >>> >>> Does your inline code use some kind of loop that takes a relative long time to finish? In that case EPrime probably tries to compensate for the 'lost' time when executing the next object. >>> >>> Paul >>> >>> >>> >>> >>>> On 24 June 2014 16:20, sally wrote: >>>> Dear all, >>>> >>>> Recently I find there is a strange thing about eprime. I am engaged in an fMRI experiment. So there is a strict timing demand and I wrote several lines of codes to make it possible in the scanner that subjects use two keys to move the cursor in the screen to do rating from 1-9. >>>> The very obvious problem is that when I run the codes, some presentation before the 1-9 ratings has got something like time ceiling. the rating time is always fixed as I assigned in the codes,but sometimes, the fixation time after the rating is shorten to 0, or sometimes the picture showing time after the fixation also flash more quickly than I expected while another fixation after the picture is still shown as I hoped. It's totally out of my mind. pictures didn't show up for the time I demand in the duration menu. >>>> I think this may have something to do wt my rating part. So I'd better to write out how I realize this part: >>>> >>>> Another guy give me this idea to make the rating 1-9 shown for 0s and afterwards every time I press the button I set up in the rating slide to left or right move the cursor, the eprime would catch the response and check which btton is pressed and make a decision whether the cursor move left or right and how long it would move. then after the axis is determined, I would draw the rating slide. and I have a cycle to control the time by datediff functon to check the start and the end of the cycle is about 5s apart. >>>> >>>> I hope I make myself clear. >>>> >>>> Any idea would be appreciated and hope someone can help me. >>>> >>>> My best, >>>> >>>> Sally >>>> -- >>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>> To post to this group, send email to e-prime at googlegroups.com. >>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>> To post to this group, send email to e-prime at googlegroups.com. >>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com. >>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-vQ7hPCO0KmxptQF4Qsh_ccjHu3RJvQK%3D1HzgFarMMx_w%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/E6E547F2-6F29-413A-BF6E-E1CCD6FCA631%40gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Wed Jun 25 13:09:59 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 25 Jun 2014 15:09:59 +0200 Subject: eprime timing issues and wierd time log In-Reply-To: Message-ID: Well, just to make sure we are talking about the same thing: I assumed you have the following consecutive objects on the trial procedure: ... RatingSlide Inline (with long processing loop) Fixation ... You can keep the configuration of the Fixation object as required. I.e., just specify the duration using the bracketed attribute name ([time1]). Pre-release can be set to default ('same as duration'). The rating Slide should have duration of 5 seconds and pre-release set to 'same as duration'. So, assuming that the allowed response time for the rating is 5 seconds, this should be OK and there is no need to use *CustomOnsetTime *and cousins. The timing mode can be set to event or cumulative. I'm always a bit in doubt if fMRI tasks are synchronized using cumulative timing. For event related designs it's probably not required, unless you would like to make sure that an EPI is made at a very specific point in the BOLD response. In most cases it's sufficient to use the (relative) onset times of the edat files in the fMRI analysis. For block designs you could consider re-synchronization at the start of each block using the trigger signal of the scanner. Although I prefer to use a small piece of script at the end of a block instead, to make sure that any errors are compensated for. But there is no harm done when the cumulative mode is used, as long as you make sure to check the timed log results. Best, Paul On 25 June 2014 12:18, sunnygu wrote: > Hi,Paul. So you mean if I want the fixation after the 5s rating to be > presented as long as I defined, I should set the duration before the rating > and prerelease to same as duration. > Besides, my rating slice time is fixed to 5s, so I suppose this would > work. > I just tried following: I originally set the fixation as accumulative mode > which is required in fMRI and I changed this to event mode which make the > fixation last as long as I want. How do you think about this? > By the way, I usually add an attribution in list which tells the fixation > duration, but now I defined the duration in fixation property file > using[time1] which time1 is the property name in list. Are these two ways > the same? Sometimes I find I can't trust the codes in eprime very much. > Which would you suggest? > > Thanks a lot for your kind reply. > My best, > Sally > ???? iPhone > > ? 2014?6?25????3:51?Paul Groot ??? > > Hi Sally, > > You could solve this by setting the duration of the object before the > inline to the required value (5 sec), and set pre-release to 'same as > duration'. This will make sure that the inline is executed a.s.a.p. and > that the next object is scheduled to start after 5 seconds. However, this > would not work if the time taken by the inline is variable. In that case > you might try using the CustomOnset/OffsetTime properties and set the > timing mode to custom (of the object after the inline ). > > > Paul > > > On 25 June 2014 02:01, sunnygu wrote: > >> Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And I >> tried to change the following fixation mode to event then the time of the >> fixation is ok then. But do you have any better idea about this situation? >> Thanks for your nice reply. >> >> Sally >> >> ???? iPhone >> >> ? 2014?6?25????6:09?Paul Groot ??? >> >> Hi Sally, >> >> Does your inline code use some kind of loop that takes a relative long >> time to finish? In that case EPrime probably tries to compensate for the >> 'lost' time when executing the next object. >> >> Paul >> >> >> >> >> On 24 June 2014 16:20, sally wrote: >> >>> Dear all, >>> >>> Recently I find there is a strange thing about eprime. I am engaged in >>> an fMRI experiment. So there is a strict timing demand and I wrote several >>> lines of codes to make it possible in the scanner that subjects use two >>> keys to move the cursor in the screen to do rating from 1-9. >>> The very obvious problem is that when I run the codes, some presentation >>> before the 1-9 ratings has got something like time ceiling. the rating time >>> is always fixed as I assigned in the codes,but sometimes, the fixation time >>> after the rating is shorten to 0, or sometimes the picture showing time >>> after the fixation also flash more quickly than I expected while another >>> fixation after the picture is still shown as I hoped. It's totally out of >>> my mind. pictures didn't show up for the time I demand in the duration menu. >>> I think this may have something to do wt my rating part. So I'd better >>> to write out how I realize this part: >>> >>> Another guy give me this idea to make the rating 1-9 shown for 0s and >>> afterwards every time I press the button I set up in the rating slide to >>> left or right move the cursor, the eprime would catch the response and >>> check which btton is pressed and make a decision whether the cursor move >>> left or right and how long it would move. then after the axis is >>> determined, I would draw the rating slide. and I have a cycle to control >>> the time by datediff functon to check the start and the end of the cycle is >>> about 5s apart. >>> >>> I hope I make myself clear. >>> >>> Any idea would be appreciated and hope someone can help me. >>> >>> My best, >>> >>> Sally >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+unsubscribe at googlegroups.com. >>> To post to this group, send email to e-prime at googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/CAKAdR-vQ7hPCO0KmxptQF4Qsh_ccjHu3RJvQK%3D1HzgFarMMx_w%40mail.gmail.com > > . > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/E6E547F2-6F29-413A-BF6E-E1CCD6FCA631%40gmail.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uWK8MR5R0NrvJF7MhOQUefiT4LNXjWjH76Tna12KnC2Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Wed Jun 25 13:18:54 2014 From: gusunny1 at gmail.com (sunnygu) Date: Wed, 25 Jun 2014 21:18:54 +0800 Subject: eprime timing issues and wierd time log In-Reply-To: Message-ID: Ok,Paul. Thanks a lot for your fast reply. I would update after I do what you suggested. It's nice to have you here in this group. My best, Sally ???? iPhone > ? 2014?6?25????9:09?Paul Groot ??? > > Well, just to make sure we are talking about the same thing: I assumed you have the following consecutive objects on the trial procedure: > > ... > RatingSlide > Inline (with long processing loop) > Fixation > ... > > You can keep the configuration of the Fixation object as required. I.e., just specify the duration using the bracketed attribute name ([time1]). Pre-release can be set to default ('same as duration'). The rating Slide should have duration of 5 seconds and pre-release set to 'same as duration'. So, assuming that the allowed response time for the rating is 5 seconds, this should be OK and there is no need to use CustomOnsetTime and cousins. > > The timing mode can be set to event or cumulative. I'm always a bit in doubt if fMRI tasks are synchronized using cumulative timing. For event related designs it's probably not required, unless you would like to make sure that an EPI is made at a very specific point in the BOLD response. In most cases it's sufficient to use the (relative) onset times of the edat files in the fMRI analysis. For block designs you could consider re-synchronization at the start of each block using the trigger signal of the scanner. Although I prefer to use a small piece of script at the end of a block instead, to make sure that any errors are compensated for. But there is no harm done when the cumulative mode is used, as long as you make sure to check the timed log results. > > Best, > Paul > > > > >> On 25 June 2014 12:18, sunnygu wrote: >> Hi,Paul. So you mean if I want the fixation after the 5s rating to be presented as long as I defined, I should set the duration before the rating and prerelease to same as duration. >> Besides, my rating slice time is fixed to 5s, so I suppose this would work. >> I just tried following: I originally set the fixation as accumulative mode which is required in fMRI and I changed this to event mode which make the fixation last as long as I want. How do you think about this? >> By the way, I usually add an attribution in list which tells the fixation duration, but now I defined the duration in fixation property file using[time1] which time1 is the property name in list. Are these two ways the same? Sometimes I find I can't trust the codes in eprime very much. Which would you suggest? >> >> Thanks a lot for your kind reply. >> My best, >> Sally >> ???? iPhone >> >>> ? 2014?6?25????3:51?Paul Groot ??? >>> >>> Hi Sally, >>> >>> You could solve this by setting the duration of the object before the inline to the required value (5 sec), and set pre-release to 'same as duration'. This will make sure that the inline is executed a.s.a.p. and that the next object is scheduled to start after 5 seconds. However, this would not work if the time taken by the inline is variable. In that case you might try using the CustomOnset/OffsetTime properties and set the timing mode to custom (of the object after the inline ). >>> >>> >>> Paul >>> >>> >>>> On 25 June 2014 02:01, sunnygu wrote: >>>> Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And I tried to change the following fixation mode to event then the time of the fixation is ok then. But do you have any better idea about this situation? >>>> Thanks for your nice reply. >>>> >>>> Sally >>>> >>>> ???? iPhone >>>> >>>> ? 2014?6?25????6:09?Paul Groot ??? >>>> >>>>> Hi Sally, >>>>> >>>>> Does your inline code use some kind of loop that takes a relative long time to finish? In that case EPrime probably tries to compensate for the 'lost' time when executing the next object. >>>>> >>>>> Paul >>>>> >>>>> >>>>> >>>>> >>>>>> On 24 June 2014 16:20, sally wrote: >>>>>> Dear all, >>>>>> >>>>>> Recently I find there is a strange thing about eprime. I am engaged in an fMRI experiment. So there is a strict timing demand and I wrote several lines of codes to make it possible in the scanner that subjects use two keys to move the cursor in the screen to do rating from 1-9. >>>>>> The very obvious problem is that when I run the codes, some presentation before the 1-9 ratings has got something like time ceiling. the rating time is always fixed as I assigned in the codes,but sometimes, the fixation time after the rating is shorten to 0, or sometimes the picture showing time after the fixation also flash more quickly than I expected while another fixation after the picture is still shown as I hoped. It's totally out of my mind. pictures didn't show up for the time I demand in the duration menu. >>>>>> I think this may have something to do wt my rating part. So I'd better to write out how I realize this part: >>>>>> >>>>>> Another guy give me this idea to make the rating 1-9 shown for 0s and afterwards every time I press the button I set up in the rating slide to left or right move the cursor, the eprime would catch the response and check which btton is pressed and make a decision whether the cursor move left or right and how long it would move. then after the axis is determined, I would draw the rating slide. and I have a cycle to control the time by datediff functon to check the start and the end of the cycle is about 5s apart. >>>>>> >>>>>> I hope I make myself clear. >>>>>> >>>>>> Any idea would be appreciated and hope someone can help me. >>>>>> >>>>>> My best, >>>>>> >>>>>> Sally >>>>>> -- >>>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com. >>>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>> To post to this group, send email to e-prime at googlegroups.com. >>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com. >>>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>> To post to this group, send email to e-prime at googlegroups.com. >>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-vQ7hPCO0KmxptQF4Qsh_ccjHu3RJvQK%3D1HzgFarMMx_w%40mail.gmail.com. >>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/E6E547F2-6F29-413A-BF6E-E1CCD6FCA631%40gmail.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uWK8MR5R0NrvJF7MhOQUefiT4LNXjWjH76Tna12KnC2Q%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/0B430218-63D5-4FB6-9026-C70EBDED53DE%40gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Wed Jun 25 14:50:44 2014 From: gusunny1 at gmail.com (sunnygu) Date: Wed, 25 Jun 2014 22:50:44 +0800 Subject: eprime timing issues and wierd time log In-Reply-To: Message-ID: Hi, Paul. I just tried what you said but it didn't work as we expected. First of all, I would like make you informed that the rating slide duration is set to zero and I use inline scripts to control the whole presentation to be 5 seconds, each time there is a keyboard response, I would draw the rating slice,making it seems its duration is 5 seconds. Then here is how I revised as you told me: first fixation prerelease set to be the same as it's duration, since my eprime version didn't have this option, I use the bracketed attribution. Second, I set the rating prerelease to be zero or 5 seconds. But all turned to be a failure in that the fixation time is shorten. So I don't know how to revise it. Hope you can give me some guidance. Thanks a lot. Best regards, Sally ???? iPhone > ? 2014?6?25????9:09?Paul Groot ??? > > Well, just to make sure we are talking about the same thing: I assumed you have the following consecutive objects on the trial procedure: > > ... > RatingSlide > Inline (with long processing loop) > Fixation > ... > > You can keep the configuration of the Fixation object as required. I.e., just specify the duration using the bracketed attribute name ([time1]). Pre-release can be set to default ('same as duration'). The rating Slide should have duration of 5 seconds and pre-release set to 'same as duration'. So, assuming that the allowed response time for the rating is 5 seconds, this should be OK and there is no need to use CustomOnsetTime and cousins. > > The timing mode can be set to event or cumulative. I'm always a bit in doubt if fMRI tasks are synchronized using cumulative timing. For event related designs it's probably not required, unless you would like to make sure that an EPI is made at a very specific point in the BOLD response. In most cases it's sufficient to use the (relative) onset times of the edat files in the fMRI analysis. For block designs you could consider re-synchronization at the start of each block using the trigger signal of the scanner. Although I prefer to use a small piece of script at the end of a block instead, to make sure that any errors are compensated for. But there is no harm done when the cumulative mode is used, as long as you make sure to check the timed log results. > > Best, > Paul > > > > >> On 25 June 2014 12:18, sunnygu wrote: >> Hi,Paul. So you mean if I want the fixation after the 5s rating to be presented as long as I defined, I should set the duration before the rating and prerelease to same as duration. >> Besides, my rating slice time is fixed to 5s, so I suppose this would work. >> I just tried following: I originally set the fixation as accumulative mode which is required in fMRI and I changed this to event mode which make the fixation last as long as I want. How do you think about this? >> By the way, I usually add an attribution in list which tells the fixation duration, but now I defined the duration in fixation property file using[time1] which time1 is the property name in list. Are these two ways the same? Sometimes I find I can't trust the codes in eprime very much. Which would you suggest? >> >> Thanks a lot for your kind reply. >> My best, >> Sally >> ???? iPhone >> >>> ? 2014?6?25????3:51?Paul Groot ??? >>> >>> Hi Sally, >>> >>> You could solve this by setting the duration of the object before the inline to the required value (5 sec), and set pre-release to 'same as duration'. This will make sure that the inline is executed a.s.a.p. and that the next object is scheduled to start after 5 seconds. However, this would not work if the time taken by the inline is variable. In that case you might try using the CustomOnset/OffsetTime properties and set the timing mode to custom (of the object after the inline ). >>> >>> >>> Paul >>> >>> >>>> On 25 June 2014 02:01, sunnygu wrote: >>>> Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And I tried to change the following fixation mode to event then the time of the fixation is ok then. But do you have any better idea about this situation? >>>> Thanks for your nice reply. >>>> >>>> Sally >>>> >>>> ???? iPhone >>>> >>>> ? 2014?6?25????6:09?Paul Groot ??? >>>> >>>>> Hi Sally, >>>>> >>>>> Does your inline code use some kind of loop that takes a relative long time to finish? In that case EPrime probably tries to compensate for the 'lost' time when executing the next object. >>>>> >>>>> Paul >>>>> >>>>> >>>>> >>>>> >>>>>> On 24 June 2014 16:20, sally wrote: >>>>>> Dear all, >>>>>> >>>>>> Recently I find there is a strange thing about eprime. I am engaged in an fMRI experiment. So there is a strict timing demand and I wrote several lines of codes to make it possible in the scanner that subjects use two keys to move the cursor in the screen to do rating from 1-9. >>>>>> The very obvious problem is that when I run the codes, some presentation before the 1-9 ratings has got something like time ceiling. the rating time is always fixed as I assigned in the codes,but sometimes, the fixation time after the rating is shorten to 0, or sometimes the picture showing time after the fixation also flash more quickly than I expected while another fixation after the picture is still shown as I hoped. It's totally out of my mind. pictures didn't show up for the time I demand in the duration menu. >>>>>> I think this may have something to do wt my rating part. So I'd better to write out how I realize this part: >>>>>> >>>>>> Another guy give me this idea to make the rating 1-9 shown for 0s and afterwards every time I press the button I set up in the rating slide to left or right move the cursor, the eprime would catch the response and check which btton is pressed and make a decision whether the cursor move left or right and how long it would move. then after the axis is determined, I would draw the rating slide. and I have a cycle to control the time by datediff functon to check the start and the end of the cycle is about 5s apart. >>>>>> >>>>>> I hope I make myself clear. >>>>>> >>>>>> Any idea would be appreciated and hope someone can help me. >>>>>> >>>>>> My best, >>>>>> >>>>>> Sally >>>>>> -- >>>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com. >>>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>> To post to this group, send email to e-prime at googlegroups.com. >>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com. >>>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>> To post to this group, send email to e-prime at googlegroups.com. >>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-vQ7hPCO0KmxptQF4Qsh_ccjHu3RJvQK%3D1HzgFarMMx_w%40mail.gmail.com. >>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/E6E547F2-6F29-413A-BF6E-E1CCD6FCA631%40gmail.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uWK8MR5R0NrvJF7MhOQUefiT4LNXjWjH76Tna12KnC2Q%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/BA6FD93E-22E5-4F3F-B821-A719CE785EB0%40gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tjay.hennessy at gmail.com Wed Jun 25 20:20:20 2014 From: tjay.hennessy at gmail.com (Jay Hennessy) Date: Wed, 25 Jun 2014 13:20:20 -0700 Subject: Sending non-printable ascii characters via serial port Message-ID: Hi all, Maybe someone can help me with this problem. I want to send a string to a serial port to control a TMS machine during an EEG experiment. I already know how to send strings using Serial.Write The problem is that the standards for the TMS machine require the last character of the string to be a check bit. You calculate it by first adding up the hexadecimal equivalents of the other characters then taking the inverse. This is now your check bit or check character added to the end of the string. example: if i want to send @050 ascii hex @ = 40 0 = 30 5 = 35 0 = 30 40+30+35+30 = D5 so the inverse is = 2A and 2A in hex is * in ascii so I would send the string @050* and everything should work. The problem is that if my check bit becomes a non-printable ascii character, how should I send it? for example my check bit might be 1C in hex which is 'file seperator' in ascii. This isn't a character I can send using Serial.Write in Eprime (at least that I know of). Can anyone think of a way around this problem? I might be able to send bits instead of a string. Is sending bits something Serial.Write can do? can eprime convert things to bits? Any help would be appreciated. Thanks jay -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/fb97098b-509e-403b-96a7-909c09c9ef67%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From leejdunn at gmail.com Thu Jun 26 00:25:07 2014 From: leejdunn at gmail.com (Lee) Date: Wed, 25 Jun 2014 17:25:07 -0700 Subject: Autoit scripts for running multiple tasks In-Reply-To: Message-ID: Hi all, I am trying to look into using autoit for some of my experiments. I am using the script Anne-Wil provided with only a small modification (my eprime is in a dif directory) Run("C:\Program Files (x86)\PST\E-Prime 2.0\Program\E-Run.exe /a /m " & '"' & @Workingdir & '\1.ebs2"') However when I try to run it I have a problem where an extra window is popping up (image of window http://imgur.com/h5kXMqe) before my specific .esb2 file opens. This is the window that appears if I were to just double click erun. So it appears the program is first running erun without selecting a program then running my ebs2 file. The issue is though that the program gets stuck because this extra window appears and I can't click past it. I'm not sure why this is an issue for me when the program works for others. Is there maybe a setting in erun I need to change? Something wrong with the code? Thanks, Lee On Wednesday, October 9, 2013 5:09:32 AM UTC-4, iskeb... at gmail.com wrote: > > Hi all, > I found this conversation about scripts that people have created to run > multiple tasks (something that suprised me very much to find e-prime > doesn't do!): > https://groups.google.com/forum/?hl=en-US#!searchin/e-prime/autoit$20/e-prime/yxViXrIuOfM/aF1IeVUJw5MJ. > However, the links are not working anymore. Does anyone perhaps still have > this script (or another that does the same, of course)? > Many thanks! > Iske > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/879b0524-e6b6-4157-b619-23211169f531%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Thu Jun 26 02:37:21 2014 From: gusunny1 at gmail.com (gorgeous yayuan geng) Date: Thu, 26 Jun 2014 10:37:21 +0800 Subject: eprime timing issues and wierd time log In-Reply-To: Message-ID: Hi, Paul. I have tried again and find that once I set the fixation mode to event the program went smoothly as I expected and its duration I defined would not be shortened. I am a little confused about this part. Do you have an idea? My best, Sally 2014-06-25 22:50 GMT+08:00 sunnygu : > Hi, Paul. > > I just tried what you said but it didn't work as we expected. First of > all, I would like make you informed that the rating slide duration is set > to zero and I use inline scripts to control the whole presentation to be 5 > seconds, each time there is a keyboard response, I would draw the rating > slice,making it seems its duration is 5 seconds. > > Then here is how I revised as you told me: first fixation prerelease set > to be the same as it's duration, since my eprime version didn't have this > option, I use the bracketed attribution. Second, I set the rating > prerelease to be zero or 5 seconds. > But all turned to be a failure in that the fixation time is shorten. > > So I don't know how to revise it. > > Hope you can give me some guidance. > Thanks a lot. > Best regards, > > Sally > > ???? iPhone > > ? 2014?6?25????9:09?Paul Groot ??? > > Well, just to make sure we are talking about the same thing: I assumed you > have the following consecutive objects on the trial procedure: > > ... > RatingSlide > Inline (with long processing loop) > Fixation > ... > > You can keep the configuration of the Fixation object as required. I.e., > just specify the duration using the bracketed attribute name ([time1]). > Pre-release can be set to default ('same as duration'). The rating Slide > should have duration of 5 seconds and pre-release set to 'same as > duration'. So, assuming that the allowed response time for the rating is 5 > seconds, this should be OK and there is no need to use *CustomOnsetTime *and > cousins. > > The timing mode can be set to event or cumulative. I'm always a bit in > doubt if fMRI tasks are synchronized using cumulative timing. For event > related designs it's probably not required, unless you would like to make > sure that an EPI is made at a very specific point in the BOLD response. In > most cases it's sufficient to use the (relative) onset times of the edat > files in the fMRI analysis. For block designs you could consider > re-synchronization at the start of each block using the trigger signal of > the scanner. Although I prefer to use a small piece of script at the end of > a block instead, to make sure that any errors are compensated for. But > there is no harm done when the cumulative mode is used, as long as you make > sure to check the timed log results. > > Best, > Paul > > > > > On 25 June 2014 12:18, sunnygu wrote: > >> Hi,Paul. So you mean if I want the fixation after the 5s rating to be >> presented as long as I defined, I should set the duration before the rating >> and prerelease to same as duration. >> Besides, my rating slice time is fixed to 5s, so I suppose this would >> work. >> I just tried following: I originally set the fixation as accumulative >> mode which is required in fMRI and I changed this to event mode which make >> the fixation last as long as I want. How do you think about this? >> By the way, I usually add an attribution in list which tells the fixation >> duration, but now I defined the duration in fixation property file >> using[time1] which time1 is the property name in list. Are these two ways >> the same? Sometimes I find I can't trust the codes in eprime very much. >> Which would you suggest? >> >> Thanks a lot for your kind reply. >> My best, >> Sally >> ???? iPhone >> >> ? 2014?6?25????3:51?Paul Groot ??? >> >> Hi Sally, >> >> You could solve this by setting the duration of the object before the >> inline to the required value (5 sec), and set pre-release to 'same as >> duration'. This will make sure that the inline is executed a.s.a.p. and >> that the next object is scheduled to start after 5 seconds. However, this >> would not work if the time taken by the inline is variable. In that case >> you might try using the CustomOnset/OffsetTime properties and set the >> timing mode to custom (of the object after the inline ). >> >> >> Paul >> >> >> On 25 June 2014 02:01, sunnygu wrote: >> >>> Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And >>> I tried to change the following fixation mode to event then the time of the >>> fixation is ok then. But do you have any better idea about this situation? >>> Thanks for your nice reply. >>> >>> Sally >>> >>> ???? iPhone >>> >>> ? 2014?6?25????6:09?Paul Groot ??? >>> >>> Hi Sally, >>> >>> Does your inline code use some kind of loop that takes a relative long >>> time to finish? In that case EPrime probably tries to compensate for the >>> 'lost' time when executing the next object. >>> >>> Paul >>> >>> >>> >>> >>> On 24 June 2014 16:20, sally wrote: >>> >>>> Dear all, >>>> >>>> Recently I find there is a strange thing about eprime. I am engaged in >>>> an fMRI experiment. So there is a strict timing demand and I wrote several >>>> lines of codes to make it possible in the scanner that subjects use two >>>> keys to move the cursor in the screen to do rating from 1-9. >>>> The very obvious problem is that when I run the codes, some >>>> presentation before the 1-9 ratings has got something like time ceiling. >>>> the rating time is always fixed as I assigned in the codes,but sometimes, >>>> the fixation time after the rating is shorten to 0, or sometimes the >>>> picture showing time after the fixation also flash more quickly than I >>>> expected while another fixation after the picture is still shown as I >>>> hoped. It's totally out of my mind. pictures didn't show up for the time I >>>> demand in the duration menu. >>>> I think this may have something to do wt my rating part. So I'd better >>>> to write out how I realize this part: >>>> >>>> Another guy give me this idea to make the rating 1-9 shown for 0s and >>>> afterwards every time I press the button I set up in the rating slide to >>>> left or right move the cursor, the eprime would catch the response and >>>> check which btton is pressed and make a decision whether the cursor move >>>> left or right and how long it would move. then after the axis is >>>> determined, I would draw the rating slide. and I have a cycle to control >>>> the time by datediff functon to check the start and the end of the cycle is >>>> about 5s apart. >>>> >>>> I hope I make myself clear. >>>> >>>> Any idea would be appreciated and hope someone can help me. >>>> >>>> My best, >>>> >>>> Sally >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to e-prime+unsubscribe at googlegroups.com. >>>> To post to this group, send email to e-prime at googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com >>>> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+unsubscribe at googlegroups.com. >>> To post to this group, send email to e-prime at googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+unsubscribe at googlegroups.com. >>> To post to this group, send email to e-prime at googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/CAKAdR-vQ7hPCO0KmxptQF4Qsh_ccjHu3RJvQK%3D1HzgFarMMx_w%40mail.gmail.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/E6E547F2-6F29-413A-BF6E-E1CCD6FCA631%40gmail.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/CAKAdR-uWK8MR5R0NrvJF7MhOQUefiT4LNXjWjH76Tna12KnC2Q%40mail.gmail.com > > . > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAJO0WNZR3rTL0REq-nq5aXkmQ6MD5qtELk%3DCKxQKtHeJpGXv-w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kumar.dilip86 at gmail.com Thu Jun 26 03:42:58 2014 From: kumar.dilip86 at gmail.com (Dilip Kumar) Date: Wed, 25 Jun 2014 20:42:58 -0700 Subject: Random trial presentation from two Block list with different trial procedures & Incomplete Execution Message-ID: Hi, I have designed an experiment with two block list with different trial procedures. Each block list has 30 trials and different timeline due to different trial design. I am trying to get the random trial presentation in the run to create unpredictability. This is what I have done so far, I have set the weight to 30 in master block list 'A' for both trial block lists 'B & C'. I have set the each 30 trial block list 'B & C' with 1 cycle equals 30 samples from reset/ext tab. I have set the block list 'A' selection order to Random to get blended trial presentation from lists 'B & C'. I've used IFIS Paradigm Design Wizard with E-prime 1.1 version to design this experiment. It has its own experiment design structure which I somehow managed to incorporate my design into it. The problem I have now is that the experiment runs only for 16 trial from a total of 60 (30 trials from 'B & C' each) in a single run and continues until I choose exit at the end of each 16 trial run. I am also not sure whether my design will be able to show a mixture of all 60 trials without repeating any of them. Can someone help me address these two issue? Best Regards, Dilip -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1d29a861-b2e6-4294-a249-6aa2bf6f2aaa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marie-france.larsson at miun.se Thu Jun 26 11:12:41 2014 From: marie-france.larsson at miun.se (Marie-France Larsson) Date: Thu, 26 Jun 2014 04:12:41 -0700 Subject: How to define which areas can be clicked on a slide? In-Reply-To: Message-ID: Hi Paul! Thank you very much for the links, great examples! I had managed to log the answers with script that is a bit similar to the one found in your examples, but the problem that I have is that the pictures on my slide do not cover the entire canvas, meaning that participants can click beside a picture, and the experiment will still go forward, but without a valid answer in the log. Since my participants will be children, there is a high risk that they will click a bit randomly, and I want to avoid missing values as much as possible by making the rest of the canvas "unclickable". I am trying to build an If / Else statement to solve it, I'm not sure that's the best way to go, but hopefully it can work. Regards, Marie-France On Wednesday, June 25, 2014 12:11:58 AM UTC+2, Paul Groot wrote: > > You might have a look at these examples: > > http://pfcgroot.nl/e-prime/83-example-scripts/88-image-click-example.html > > http://pfcgroot.nl/e-prime/83-example-scripts/84-image-selection-example.html > > Paul > > > On 24 June 2014 17:19, Marie-France Larsson > wrote: > >> Hi! >> I seem to have reached a deadend again. I cannot for the life of me >> figure out how to define which areas can be valid for a mouse click on a >> slide, in this case it should be on SlideImages and SlideImages only. The >> way it is now, a click anywhere on the slide will make the experiment go >> forward to the next trial. However, I would like the experiment to go >> forward only after the participant clicks on one of the SlideImages. A >> mouse click anywhere else on the slide should not have any effect. Is this >> something that I can fix with the "Duration/Input" settings in the slide's >> properties or will it require InLine code? >> >> Thank you for your input! >> >> Kind regards, >> Marie-France >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+u... at googlegroups.com . >> To post to this group, send email to e-p... at googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/27cb52b9-e02a-4160-8873-9d5393596479%40googlegroups.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/08d24a5b-5428-41aa-b1ae-a8bd9b287e2b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From anagonzalezroldan at gmail.com Fri Jun 27 13:28:07 2014 From: anagonzalezroldan at gmail.com (=?UTF-8?Q?Ana_Mar=C3=ADa?=) Date: Fri, 27 Jun 2014 06:28:07 -0700 Subject: background color in Images Message-ID: Hi! I have a little problem programing my experiment. I am modifying the Click and Drag routine that there is available in the samples, to show only two circles that can be moved. I have replaced the SlideText for a SlideImage and put the pictures that I need (two different circles, with different colors and words inside). Everything runs perfect, but my problem is that when I run the scenario, the pictures appear with a background color that was not originally there. The background is black (if the picture is in *tiff or *png format) or white (if the picture is in jpg or bmp). Do you know why E-PRIME could do this? In the properties of the Image I have set the BackStyle as Transparent... Thank you very much!! Ana. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1b10746b-8e51-48ca-b0a7-2cbe07e63ace%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Sat Jun 28 10:54:10 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Sat, 28 Jun 2014 12:54:10 +0200 Subject: Sending non-printable ascii characters via serial port In-Reply-To: Message-ID: Jay, You can use the WriteBytes function for this: Dim arrData(4) As Integer arrData(0) = 40 arrData(1) = 30 arrData(2) = 35 arrData(3) = 30 arrData(4) = &H2A Serial.WriteBytes arrData With some additional code you could make a nice function out of this that automatically calculates and adds the checksum value. Best, Paul On 25 June 2014 22:20, Jay Hennessy wrote: > Hi all, > > Maybe someone can help me with this problem. > > I want to send a string to a serial port to control a TMS machine during > an EEG experiment. I already know how to send strings using Serial.Write > > The problem is that the standards for the TMS machine require the last > character of the string to be a check bit. You calculate it by first adding > up the hexadecimal equivalents of the other characters then taking the > inverse. This is now your check bit or check character added to the end of > the string. > > example: if i want to send @050 > > ascii hex > > @ = 40 > 0 = 30 > 5 = 35 > 0 = 30 > > 40+30+35+30 = D5 > > so the inverse is = 2A > > and 2A in hex is * in ascii > so I would send the string @050* and everything should work. > > The problem is that if my check bit becomes a non-printable ascii > character, how should I send it? > > for example my check bit might be 1C in hex which is 'file seperator' in > ascii. This isn't a character I can send using Serial.Write in Eprime (at > least that I know of). > Can anyone think of a way around this problem? > I might be able to send bits instead of a string. Is sending bits > something Serial.Write can do? can eprime convert things to bits? > > Any help would be appreciated. > > Thanks > > jay > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/fb97098b-509e-403b-96a7-909c09c9ef67%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-sKYK%2BUwMnHR8p0EU3ZhjB9gNNpS24O-kw_dFDq_aaRtw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kumar.dilip86 at gmail.com Mon Jun 30 01:20:49 2014 From: kumar.dilip86 at gmail.com (Dilip Kumar) Date: Sun, 29 Jun 2014 18:20:49 -0700 Subject: background color in Images In-Reply-To: <1b10746b-8e51-48ca-b0a7-2cbe07e63ace@googlegroups.com> Message-ID: Dear Ana, Even I do not have that much experience using E-prime but I can suggest what you can do and hope it works out for you. Change the backstylist back to opaque from transparent, keep the default settings. BMP is considered standard format for presenting image stimulus using E-prime and I was also suggested for using bmp image format by seniors. If you want to change the background color of the image object on the slide(not the image itself), you can do that by choosing image object, go to properties, under general tab you will find source key color and back color options. Source key color applies to the stimulus and backcolor applies to background. You can play around with these options to observe and get your desired outcome. I hope it resolves your issues. Best Regards, Dilip On Friday, June 27, 2014 9:28:08 PM UTC+8, Ana Mar?a wrote: > > Hi! > > > I have a little problem programing my experiment. > > > I am modifying the Click and Drag routine that there is available in the > samples, to show only two circles that can be moved. I have replaced the > SlideText for a SlideImage and put the pictures that I need (two > different circles, with different colors and words inside). Everything runs > perfect, but my problem is that when I run the scenario, the pictures > appear with a background color that was not originally there. The > background is black (if the picture is in *tiff or *png format) or white > (if the picture is in jpg or bmp). Do you know why E-PRIME could do this? > In the properties of the Image I have set the BackStyle as Transparent... > > > Thank you very much!! > > > > Ana. > > > > > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/93a88617-6e4a-4337-9405-1086a37d2a33%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Mon Jun 30 08:39:33 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 30 Jun 2014 10:39:33 +0200 Subject: eprime timing issues and wierd time log In-Reply-To: Message-ID: Hi Sally, Once you set the timing mode to cumulative, E-Prime will try to 'fix' any delays by modifying onsets and durations on the fly. So, that explains why the timing issue disappears when you change the timing mode to something else. However, be aware that the actual 'problem' is caused by a long execution time of the inline. You will still have large OnsetDelay values for the fixation of about 5 seconds. As I indicated before, you can solve this by setting the duration of the slider to the full 5 seconds and execute the inline during this period by setting the pre-release also to 5 seconds. This will 'reserve' about 5 seconds of execution time for the inline without any timing issues. (But again, if the response window has a variabe duration, you should use the custom timing mode.) The atached two EP (version 1) scripts will demonstrate this for event and cumulative mode. The scripts can also be loaded in EP version 2. A typical debug output is as follows: Slide1.OnsetTime: 6374 Start inline time : 6375 current inline time : 7376 current inline time : 8377 current inline time : 9377 current inline time : 10378 Exit inline time : 10380 Fixation.OnsetTime: 11373 Fixation.OnsetDelay: -1 Fixation.OffsetTime: 12373 Best, Paul On 26 June 2014 04:37, gorgeous yayuan geng wrote: > Hi, Paul. > > I have tried again and find that once I set the fixation mode to event the > program went smoothly as I expected and its duration I defined would not > be shortened. I am a little confused about this part. Do you have an idea? > > My best, > > Sally > > > 2014-06-25 22:50 GMT+08:00 sunnygu : > >> Hi, Paul. >> >> I just tried what you said but it didn't work as we expected. First of >> all, I would like make you informed that the rating slide duration is set >> to zero and I use inline scripts to control the whole presentation to be 5 >> seconds, each time there is a keyboard response, I would draw the rating >> slice,making it seems its duration is 5 seconds. >> >> Then here is how I revised as you told me: first fixation prerelease set >> to be the same as it's duration, since my eprime version didn't have this >> option, I use the bracketed attribution. Second, I set the rating >> prerelease to be zero or 5 seconds. >> But all turned to be a failure in that the fixation time is shorten. >> >> So I don't know how to revise it. >> >> Hope you can give me some guidance. >> Thanks a lot. >> Best regards, >> >> Sally >> >> ???? iPhone >> >> ? 2014?6?25????9:09?Paul Groot ??? >> >> Well, just to make sure we are talking about the same thing: I assumed >> you have the following consecutive objects on the trial procedure: >> >> ... >> RatingSlide >> Inline (with long processing loop) >> Fixation >> ... >> >> You can keep the configuration of the Fixation object as required. I.e., >> just specify the duration using the bracketed attribute name ([time1]). >> Pre-release can be set to default ('same as duration'). The rating Slide >> should have duration of 5 seconds and pre-release set to 'same as >> duration'. So, assuming that the allowed response time for the rating is 5 >> seconds, this should be OK and there is no need to use *CustomOnsetTime *and >> cousins. >> >> The timing mode can be set to event or cumulative. I'm always a bit in >> doubt if fMRI tasks are synchronized using cumulative timing. For event >> related designs it's probably not required, unless you would like to make >> sure that an EPI is made at a very specific point in the BOLD response. In >> most cases it's sufficient to use the (relative) onset times of the edat >> files in the fMRI analysis. For block designs you could consider >> re-synchronization at the start of each block using the trigger signal of >> the scanner. Although I prefer to use a small piece of script at the end of >> a block instead, to make sure that any errors are compensated for. But >> there is no harm done when the cumulative mode is used, as long as you make >> sure to check the timed log results. >> >> Best, >> Paul >> >> >> >> >> On 25 June 2014 12:18, sunnygu wrote: >> >>> Hi,Paul. So you mean if I want the fixation after the 5s rating to be >>> presented as long as I defined, I should set the duration before the rating >>> and prerelease to same as duration. >>> Besides, my rating slice time is fixed to 5s, so I suppose this would >>> work. >>> I just tried following: I originally set the fixation as accumulative >>> mode which is required in fMRI and I changed this to event mode which make >>> the fixation last as long as I want. How do you think about this? >>> By the way, I usually add an attribution in list which tells the >>> fixation duration, but now I defined the duration in fixation property file >>> using[time1] which time1 is the property name in list. Are these two ways >>> the same? Sometimes I find I can't trust the codes in eprime very much. >>> Which would you suggest? >>> >>> Thanks a lot for your kind reply. >>> My best, >>> Sally >>> ???? iPhone >>> >>> ? 2014?6?25????3:51?Paul Groot ??? >>> >>> Hi Sally, >>> >>> You could solve this by setting the duration of the object before the >>> inline to the required value (5 sec), and set pre-release to 'same as >>> duration'. This will make sure that the inline is executed a.s.a.p. and >>> that the next object is scheduled to start after 5 seconds. However, this >>> would not work if the time taken by the inline is variable. In that case >>> you might try using the CustomOnset/OffsetTime properties and set the >>> timing mode to custom (of the object after the inline ). >>> >>> >>> Paul >>> >>> >>> On 25 June 2014 02:01, sunnygu wrote: >>> >>>> Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And >>>> I tried to change the following fixation mode to event then the time of the >>>> fixation is ok then. But do you have any better idea about this situation? >>>> Thanks for your nice reply. >>>> >>>> Sally >>>> >>>> ???? iPhone >>>> >>>> ? 2014?6?25????6:09?Paul Groot ??? >>>> >>>> Hi Sally, >>>> >>>> Does your inline code use some kind of loop that takes a relative long >>>> time to finish? In that case EPrime probably tries to compensate for the >>>> 'lost' time when executing the next object. >>>> >>>> Paul >>>> >>>> >>>> >>>> >>>> On 24 June 2014 16:20, sally wrote: >>>> >>>>> Dear all, >>>>> >>>>> Recently I find there is a strange thing about eprime. I am engaged in >>>>> an fMRI experiment. So there is a strict timing demand and I wrote several >>>>> lines of codes to make it possible in the scanner that subjects use two >>>>> keys to move the cursor in the screen to do rating from 1-9. >>>>> The very obvious problem is that when I run the codes, some >>>>> presentation before the 1-9 ratings has got something like time ceiling. >>>>> the rating time is always fixed as I assigned in the codes,but sometimes, >>>>> the fixation time after the rating is shorten to 0, or sometimes the >>>>> picture showing time after the fixation also flash more quickly than I >>>>> expected while another fixation after the picture is still shown as I >>>>> hoped. It's totally out of my mind. pictures didn't show up for the time I >>>>> demand in the duration menu. >>>>> I think this may have something to do wt my rating part. So I'd better >>>>> to write out how I realize this part: >>>>> >>>>> Another guy give me this idea to make the rating 1-9 shown for 0s and >>>>> afterwards every time I press the button I set up in the rating slide to >>>>> left or right move the cursor, the eprime would catch the response and >>>>> check which btton is pressed and make a decision whether the cursor move >>>>> left or right and how long it would move. then after the axis is >>>>> determined, I would draw the rating slide. and I have a cycle to control >>>>> the time by datediff functon to check the start and the end of the cycle is >>>>> about 5s apart. >>>>> >>>>> I hope I make myself clear. >>>>> >>>>> Any idea would be appreciated and hope someone can help me. >>>>> >>>>> My best, >>>>> >>>>> Sally >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "E-Prime" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to e-prime+unsubscribe at googlegroups.com. >>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com >>>>> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to e-prime+unsubscribe at googlegroups.com. >>>> To post to this group, send email to e-prime at googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com >>>> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to e-prime+unsubscribe at googlegroups.com. >>>> To post to this group, send email to e-prime at googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com >>>> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+unsubscribe at googlegroups.com. >>> To post to this group, send email to e-prime at googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/e-prime/CAKAdR-vQ7hPCO0KmxptQF4Qsh_ccjHu3RJvQK%3D1HzgFarMMx_w%40mail.gmail.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+unsubscribe at googlegroups.com. >>> To post to this group, send email to e-prime at googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/e-prime/E6E547F2-6F29-413A-BF6E-E1CCD6FCA631%40gmail.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/CAKAdR-uWK8MR5R0NrvJF7MhOQUefiT4LNXjWjH76Tna12KnC2Q%40mail.gmail.com >> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/CAJO0WNZR3rTL0REq-nq5aXkmQ6MD5qtELk%3DCKxQKtHeJpGXv-w%40mail.gmail.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uhT9zg_AQg%3DXqYE0wmX9jNyP0hp1hZ0M9y1ikQemaiVg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TestPreReleaseInline.es Type: application/octet-stream Size: 9942 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TestPreReleaseInlineCumulative.es Type: application/octet-stream Size: 9944 bytes Desc: not available URL: From pfc.groot at gmail.com Mon Jun 30 09:05:40 2014 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 30 Jun 2014 11:05:40 +0200 Subject: How to define which areas can be clicked on a slide? In-Reply-To: <08d24a5b-5428-41aa-b1ae-a8bd9b287e2b@googlegroups.com> Message-ID: Hi Marie-France, I think this can be solved by modifying the exit condition of the ClickList (in my ImageSelectionExample script for example). By setting the number of cycles to a large number it is possible to accept multiple clicks withing one trial. Typically, the list would be exited after hitting a specific number of images. This can be done by calling the ClickList.Terminate function in the HandleClick inline as soon as the terminate condition is met. The ClickList will repeat as long as the Terminate function is not called, so this will solve the stray clicks. Note that every click (accepted or not) will add a new line to the edat output file. Paul On 26 June 2014 13:12, Marie-France Larsson wrote: > Hi Paul! > Thank you very much for the links, great examples! I had managed to log > the answers with script that is a bit similar to the one found in your > examples, but the problem that I have is that the pictures on my slide do > not cover the entire canvas, meaning that participants can click beside a > picture, and the experiment will still go forward, but without a valid > answer in the log. Since my participants will be children, there is a high > risk that they will click a bit randomly, and I want to avoid missing > values as much as possible by making the rest of the canvas "unclickable". > I am trying to build an If / Else statement to solve it, I'm not sure > that's the best way to go, but hopefully it can work. > Regards, > Marie-France > > On Wednesday, June 25, 2014 12:11:58 AM UTC+2, Paul Groot wrote: >> >> You might have a look at these examples: >> >> http://pfcgroot.nl/e-prime/83-example-scripts/88-image-click-example.html >> http://pfcgroot.nl/e-prime/83-example-scripts/84-image- >> selection-example.html >> >> Paul >> >> >> On 24 June 2014 17:19, Marie-France Larsson >> wrote: >> >>> Hi! >>> I seem to have reached a deadend again. I cannot for the life of me >>> figure out how to define which areas can be valid for a mouse click on a >>> slide, in this case it should be on SlideImages and SlideImages only. The >>> way it is now, a click anywhere on the slide will make the experiment go >>> forward to the next trial. However, I would like the experiment to go >>> forward only after the participant clicks on one of the SlideImages. A >>> mouse click anywhere else on the slide should not have any effect. Is this >>> something that I can fix with the "Duration/Input" settings in the slide's >>> properties or will it require InLine code? >>> >>> Thank you for your input! >>> >>> Kind regards, >>> Marie-France >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "E-Prime" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to e-prime+u... at googlegroups.com. >>> To post to this group, send email to e-p... at googlegroups.com. >>> To view this discussion on the web visit https://groups.google.com/d/ >>> msgid/e-prime/27cb52b9-e02a-4160-8873-9d5393596479%40googlegroups.com >>> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/08d24a5b-5428-41aa-b1ae-a8bd9b287e2b%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uabJD1Y_taCc0Tu3r2Pbk4ryJMEROKiaUozmRpSOD1mg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gusunny1 at gmail.com Mon Jun 30 10:05:53 2014 From: gusunny1 at gmail.com (sunnygu) Date: Mon, 30 Jun 2014 18:05:53 +0800 Subject: eprime timing issues and wierd time log In-Reply-To: Message-ID: Hi, Paul. Thanks a lot. And I would try what you suggested and see what's going on. Thanks again for your kind help. Best regards, Sally ???? iPhone > ? 2014?6?30????4:39?Paul Groot ??? > > Hi Sally, > > Once you set the timing mode to cumulative, E-Prime will try to 'fix' any delays by modifying onsets and durations on the fly. So, that explains why the timing issue disappears when you change the timing mode to something else. However, be aware that the actual 'problem' is caused by a long execution time of the inline. You will still have large OnsetDelay values for the fixation of about 5 seconds. As I indicated before, you can solve this by setting the duration of the slider to the full 5 seconds and execute the inline during this period by setting the pre-release also to 5 seconds. This will 'reserve' about 5 seconds of execution time for the inline without any timing issues. (But again, if the response window has a variabe duration, you should use the custom timing mode.) > > The atached two EP (version 1) scripts will demonstrate this for event and cumulative mode. The scripts can also be loaded in EP version 2. A typical debug output is as follows: > > Slide1.OnsetTime: 6374 > Start inline time : 6375 > current inline time : 7376 > current inline time : 8377 > current inline time : 9377 > current inline time : 10378 > Exit inline time : 10380 > Fixation.OnsetTime: 11373 > Fixation.OnsetDelay: -1 > Fixation.OffsetTime: 12373 > > > > Best, > Paul > > > > > > >> On 26 June 2014 04:37, gorgeous yayuan geng wrote: >> Hi, Paul. >> >> I have tried again and find that once I set the fixation mode to event the program went smoothly as I expected and its duration I defined would not be shortened. I am a little confused about this part. Do you have an idea? >> >> My best, >> >> Sally >> >> >> 2014-06-25 22:50 GMT+08:00 sunnygu : >>> Hi, Paul. >>> >>> I just tried what you said but it didn't work as we expected. First of all, I would like make you informed that the rating slide duration is set to zero and I use inline scripts to control the whole presentation to be 5 seconds, each time there is a keyboard response, I would draw the rating slice,making it seems its duration is 5 seconds. >>> >>> Then here is how I revised as you told me: first fixation prerelease set to be the same as it's duration, since my eprime version didn't have this option, I use the bracketed attribution. Second, I set the rating prerelease to be zero or 5 seconds. >>> But all turned to be a failure in that the fixation time is shorten. >>> >>> So I don't know how to revise it. >>> >>> Hope you can give me some guidance. >>> Thanks a lot. >>> Best regards, >>> >>> Sally >>> >>> ???? iPhone >>> >>>> ? 2014?6?25????9:09?Paul Groot ??? >>>> >>>> Well, just to make sure we are talking about the same thing: I assumed you have the following consecutive objects on the trial procedure: >>>> >>>> ... >>>> RatingSlide >>>> Inline (with long processing loop) >>>> Fixation >>>> ... >>>> >>>> You can keep the configuration of the Fixation object as required. I.e., just specify the duration using the bracketed attribute name ([time1]). Pre-release can be set to default ('same as duration'). The rating Slide should have duration of 5 seconds and pre-release set to 'same as duration'. So, assuming that the allowed response time for the rating is 5 seconds, this should be OK and there is no need to use CustomOnsetTime and cousins. >>>> >>>> The timing mode can be set to event or cumulative. I'm always a bit in doubt if fMRI tasks are synchronized using cumulative timing. For event related designs it's probably not required, unless you would like to make sure that an EPI is made at a very specific point in the BOLD response. In most cases it's sufficient to use the (relative) onset times of the edat files in the fMRI analysis. For block designs you could consider re-synchronization at the start of each block using the trigger signal of the scanner. Although I prefer to use a small piece of script at the end of a block instead, to make sure that any errors are compensated for. But there is no harm done when the cumulative mode is used, as long as you make sure to check the timed log results. >>>> >>>> Best, >>>> Paul >>>> >>>> >>>> >>>> >>>>> On 25 June 2014 12:18, sunnygu wrote: >>>>> Hi,Paul. So you mean if I want the fixation after the 5s rating to be presented as long as I defined, I should set the duration before the rating and prerelease to same as duration. >>>>> Besides, my rating slice time is fixed to 5s, so I suppose this would work. >>>>> I just tried following: I originally set the fixation as accumulative mode which is required in fMRI and I changed this to event mode which make the fixation last as long as I want. How do you think about this? >>>>> By the way, I usually add an attribution in list which tells the fixation duration, but now I defined the duration in fixation property file using[time1] which time1 is the property name in list. Are these two ways the same? Sometimes I find I can't trust the codes in eprime very much. Which would you suggest? >>>>> >>>>> Thanks a lot for your kind reply. >>>>> My best, >>>>> Sally >>>>> ???? iPhone >>>>> >>>>>> ? 2014?6?25????3:51?Paul Groot ??? >>>>>> >>>>>> Hi Sally, >>>>>> >>>>>> You could solve this by setting the duration of the object before the inline to the required value (5 sec), and set pre-release to 'same as duration'. This will make sure that the inline is executed a.s.a.p. and that the next object is scheduled to start after 5 seconds. However, this would not work if the time taken by the inline is variable. In that case you might try using the CustomOnset/OffsetTime properties and set the timing mode to custom (of the object after the inline ). >>>>>> >>>>>> >>>>>> Paul >>>>>> >>>>>> >>>>>>> On 25 June 2014 02:01, sunnygu wrote: >>>>>>> Hi,Paul, yes, I used a loop to make sure the rating lasted for 5s . And I tried to change the following fixation mode to event then the time of the fixation is ok then. But do you have any better idea about this situation? >>>>>>> Thanks for your nice reply. >>>>>>> >>>>>>> Sally >>>>>>> >>>>>>> ???? iPhone >>>>>>> >>>>>>> ? 2014?6?25????6:09?Paul Groot ??? >>>>>>> >>>>>>>> Hi Sally, >>>>>>>> >>>>>>>> Does your inline code use some kind of loop that takes a relative long time to finish? In that case EPrime probably tries to compensate for the 'lost' time when executing the next object. >>>>>>>> >>>>>>>> Paul >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> On 24 June 2014 16:20, sally wrote: >>>>>>>>> Dear all, >>>>>>>>> >>>>>>>>> Recently I find there is a strange thing about eprime. I am engaged in an fMRI experiment. So there is a strict timing demand and I wrote several lines of codes to make it possible in the scanner that subjects use two keys to move the cursor in the screen to do rating from 1-9. >>>>>>>>> The very obvious problem is that when I run the codes, some presentation before the 1-9 ratings has got something like time ceiling. the rating time is always fixed as I assigned in the codes,but sometimes, the fixation time after the rating is shorten to 0, or sometimes the picture showing time after the fixation also flash more quickly than I expected while another fixation after the picture is still shown as I hoped. It's totally out of my mind. pictures didn't show up for the time I demand in the duration menu. >>>>>>>>> I think this may have something to do wt my rating part. So I'd better to write out how I realize this part: >>>>>>>>> >>>>>>>>> Another guy give me this idea to make the rating 1-9 shown for 0s and afterwards every time I press the button I set up in the rating slide to left or right move the cursor, the eprime would catch the response and check which btton is pressed and make a decision whether the cursor move left or right and how long it would move. then after the axis is determined, I would draw the rating slide. and I have a cycle to control the time by datediff functon to check the start and the end of the cycle is about 5s apart. >>>>>>>>> >>>>>>>>> I hope I make myself clear. >>>>>>>>> >>>>>>>>> Any idea would be appreciated and hope someone can help me. >>>>>>>>> >>>>>>>>> My best, >>>>>>>>> >>>>>>>>> Sally >>>>>>>>> -- >>>>>>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>>>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>>>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7b4b3274-d26e-48e6-9753-416c720445a5%40googlegroups.com. >>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-u5SZ3hEwaDMguViqhBLLGkj1_yQyeGs%2BixD_sncLfb6w%40mail.gmail.com. >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8BF65B75-ABD2-4959-BD71-D1A8DA4ECF59%40gmail.com. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-vQ7hPCO0KmxptQF4Qsh_ccjHu3RJvQK%3D1HzgFarMMx_w%40mail.gmail.com. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>>> To post to this group, send email to e-prime at googlegroups.com. >>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/E6E547F2-6F29-413A-BF6E-E1CCD6FCA631%40gmail.com. >>>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google Groups "E-Prime" group. >>>> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >>>> To post to this group, send email to e-prime at googlegroups.com. >>>> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uWK8MR5R0NrvJF7MhOQUefiT4LNXjWjH76Tna12KnC2Q%40mail.gmail.com. >>>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAJO0WNZR3rTL0REq-nq5aXkmQ6MD5qtELk%3DCKxQKtHeJpGXv-w%40mail.gmail.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uhT9zg_AQg%3DXqYE0wmX9jNyP0hp1hZ0M9y1ikQemaiVg%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/859B7EC7-3A0B-4C9D-87A6-9E576CD8719A%40gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Jun 30 19:56:56 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 30 Jun 2014 15:56:56 -0400 Subject: Converging trials with and without conditions into one Trial List...!!! In-Reply-To: <64cab763-9897-474d-ad0e-37df28f2cff1@googlegroups.com> Message-ID: Dilip, Perhaps I do not understand this fully, but couldn't you just use one List with that contains both tasks, and use the Procedure attribute to indicate which task (Control or WM) runs on any trial? ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at https://support.pstnet.com , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 6/23/2014 11:45 PM Monday, Dilip Kumar wrote: >I want to converge two tasks into one trial list in order to get >random trial appearance. As can be seen in design attached, control >task has only one slide object which acts as stimuli & response >simultaneously (no condition) while WM task has two slide objects >one being used as stimulus and other as condition & response medium. > >Of-course this in not a huge issue for experts in the group and I >need some help in resolving it. Can someone please guide me on how >should I go about converging the experiment at tabular list as well >as on trial design level. Please do share your tips/tricks and >suggestions on this issue. > >Thanks! > >Best regards, > >Dilip -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/53b1c113.6970320a.1fd2.1ea0SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout.