From argaud.soizic at gmail.com Mon Aug 5 11:12:43 2013 From: argaud.soizic at gmail.com (Soizic Argaud) Date: Mon, 5 Aug 2013 13:12:43 +0200 Subject: RT on "moving" scales Message-ID: Hello everyone, In a part of my experiment, participants have to evaluate stimuli on different continuous scales from 0 to 100 % each. To allow them to see their answers (they move the cursor of each scale from 0 to 100 % directly clicking where they want on the scale), I use a loop which "send" them in the beginning of the slide where the scales are at every mouse click until they are satisfied with their responses. When they are, they just have to click on a "OK, next" button to see the next stimuli and continue the experiment... I wonder what mean the RT and RTTime exactly ? Is RT the real time participants take to answer the question, I mean the time from the apparition of the slide with scales to the click on the "OK, next" button (regardless of the number of clicks and, therefore, the number of times that the slide with scales is "loaded" again) ? Thank you so much if you can help me on that point, Best, Soizic -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAMripVFpmLjN7FhjOSBACNuFK2e5vhfKiPt0acJGYKrAnCBsUQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From argaud.soizic at gmail.com Mon Aug 5 11:50:48 2013 From: argaud.soizic at gmail.com (Soizic Argaud) Date: Mon, 5 Aug 2013 13:50:48 +0200 Subject: Timing issue - movie / sound Message-ID: Hello everybody, For my experiment, I present on the screen (full screen) short movies without sound. Because I film the participants during the experiment and work on the video files obtained (I am obviously interested on the moment when they see the movies), I add a sound on the same slide where short movies are and record this sound on the video files. I wonder if there is a kind of time gap between the "presentations" of the sounds and those of the movies in E-Prime ? In the same time, I record electrophysiological signals from the participants. I use E-Prime to send triggers on this recordings allowing me to target the apparition of the short movie and I also record the sound on an other channel (in this way, I can consider the sound like "sound trigger" which should correspond to the E-Prime trigger). I see on this biological recording that there is a difference of nearly 50 ms between the E-Prime trigger and the "sound" one whereas the E-Prime trigger should correspond to the apparition of the slide where there are both the short movie and the sound. Is it possible to have a better timing in this configuration ? I hope I am clear enough... Thank you so much if you can bring me an answer about that, Best, Soizic -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAMripVHFmCjzf75Xy_c4GzbDT%2BCwb%2ByJwDh%3DkTcSs5%2BG00H1wg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From argaud.soizic at gmail.com Mon Aug 5 12:00:22 2013 From: argaud.soizic at gmail.com (Soizic Argaud) Date: Mon, 5 Aug 2013 14:00:22 +0200 Subject: E-Prime on one screen / something else on the other Message-ID: Hello everybody, (Yes, it's my third consecutive post...) I know that it's possible with E-Prime to send one experiment on multiple screens but, if I have 2 screens with one computer, is it possible to present an experiment using E-Prime on one of the two screens and on the other one do something else (a completely different application than E-Prime) in the same time ? Thank you very much, Best, Soizic -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAMripVHMbN7PwUDkeRivBnEo%2B%3D%2B1NBtyqO-xB73E492YXhhgsw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Mon Aug 5 13:43:29 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 5 Aug 2013 15:43:29 +0200 Subject: E-Prime on one screen / something else on the other In-Reply-To: Message-ID: This is possible, but I would strongly advise not do do this. There are several issues when running another application on the foreground on a second display: 1) EPrime uses a non-colaborative display mode (DirectX). Any mouse or keyboard activity on the second screen will cause E-Run to crash. You can easily verify this. Also, the desktop of the second screen often shifts offscreen when E-Run changes display modes. 2) Timing could become an issue because EPrime fiddles with the application priorities and windows scheduler to increase timing accuracy. The other program might respond slow. best paul On 5 August 2013 14:00, Soizic Argaud wrote: > Hello everybody, > > (Yes, it's my third consecutive post...) > > I know that it's possible with E-Prime to send one experiment on multiple > screens but, if I have 2 screens with one computer, is it possible to > present an experiment using E-Prime on one of the two screens and on the > other one do something else (a completely different application than > E-Prime) in the same time ? > > Thank you very much, > Best, > > Soizic > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/CAMripVHMbN7PwUDkeRivBnEo%2B%3D%2B1NBtyqO-xB73E492YXhhgsw%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-t%3DjySenys7hoHYcT_k%2BgyC-er2KMKZ1D7RX9aWF6UQfw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From argaud.soizic at gmail.com Mon Aug 5 17:51:07 2013 From: argaud.soizic at gmail.com (Soizic Argaud) Date: Mon, 5 Aug 2013 19:51:07 +0200 Subject: E-Prime on one screen / something else on the other In-Reply-To: Message-ID: Thank you Paul, I'll take your advice ! Best, Soizic 2013/8/5 Paul Groot > This is possible, but I would strongly advise not do do this. There are > several issues when running another application on the foreground on a > second display: > > 1) EPrime uses a non-colaborative display mode (DirectX). Any mouse or > keyboard activity on the second screen will cause E-Run to crash. You can > easily verify this. Also, the desktop of the second screen often shifts > offscreen when E-Run changes display modes. > > 2) Timing could become an issue because EPrime fiddles with the > application priorities and windows scheduler to increase timing accuracy. > The other program might respond slow. > > best > paul > > > > > On 5 August 2013 14:00, Soizic Argaud wrote: > >> Hello everybody, >> >> (Yes, it's my third consecutive post...) >> >> I know that it's possible with E-Prime to send one experiment on multiple >> screens but, if I have 2 screens with one computer, is it possible to >> present an experiment using E-Prime on one of the two screens and on the >> other one do something else (a completely different application than >> E-Prime) in the same time ? >> >> Thank you very much, >> Best, >> >> Soizic >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/CAMripVHMbN7PwUDkeRivBnEo%2B%3D%2B1NBtyqO-xB73E492YXhhgsw%40mail.gmail.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/CAKAdR-t%3DjySenys7hoHYcT_k%2BgyC-er2KMKZ1D7RX9aWF6UQfw%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAMripVFTvBU0JyvxR8F9jdvSzCT70_FftFVZqMkiv20A-7pLPQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From swathi.bwh at gmail.com Mon Aug 5 18:29:28 2013 From: swathi.bwh at gmail.com (Swathi) Date: Mon, 5 Aug 2013 11:29:28 -0700 Subject: Calling and Running an exe in background Message-ID: Hello everyone, I am trying to call a software called viewpoint (that records eye movement) through E prime. I would like to launch the software through eprime(& let it hang around in the background), run my eprime experiment and then when close the software once my experiment is completed. I have seen example of suspending eprime and resuming it but I need the e prime to function normally while the software is running in the background. Is this possible via e prime. Can i call the dll? Thank you, Swathi -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/3b56f717-9ebe-4dae-959d-98c3344de437%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Mon Aug 5 19:37:59 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 5 Aug 2013 21:37:59 +0200 Subject: Calling and Running an exe in background In-Reply-To: <3b56f717-9ebe-4dae-959d-98c3344de437@googlegroups.com> Message-ID: Calling a DLL function is possible after predefining the required function(s) using the Declare statement. I don't think it would be possible to call DLL functions that use graphical devices in any way, so that may limit your options. Note that running an application is not the same thing as calling a DLL function, so I'm not sure how viewpoint could be integrated. I think there are application suspend and resume examples available on the PST support site that could be used as a starting point if you're integrating a regular application instead of a DLL. If the viewport application (or DLL) supports COM interfaces, that would also be an option. (See one of my previous post on interfacing with matlab.) Best paul On 5 August 2013 20:29, Swathi wrote: > Hello everyone, > > I am trying to call a software called viewpoint (that records eye > movement) through E prime. I would like to launch the software through > eprime(& let it hang around in the background), run my eprime experiment > and then when close the software once my experiment is completed. > > I have seen example of suspending eprime and resuming it but I need the e > prime to function normally while the software is running in the background. > > Is this possible via e prime. Can i call the dll? > > Thank you, > Swathi > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/3b56f717-9ebe-4dae-959d-98c3344de437%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-sF7MKphg8rqF9O6SBFLzUtzscM-H5OnGgwfkMa%3DTNB%2BA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Aug 6 14:17:49 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 6 Aug 2013 10:17:49 -0400 Subject: RT on "moving" scales In-Reply-To: Message-ID: Soizic, In general, the RT logged for a stimulus object corresponds to the time from the onset of the stimulus until the final or "terminating" response to that stimulus, while RTTime corresponds to the time from the start of the experiment session until the final or "terminating" response to that stimulus. But in your specific case, you have some intervening inline code controlling the processing of subject responses, and in that case RT means whatever you programmed it to mean. You just have to look at your custom program code and figure it out. ----- 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 http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/5/2013 07:12 AM Monday, Soizic Argaud wrote: >In a part of my experiment, participants have to evaluate stimuli on >different continuous scales from 0 to 100 % each. To allow them to >see their answers (they move the cursor of each scale from 0 to 100 >% directly clicking where they want on the scale), I use a loop >which "send" them in the beginning of the slide where the scales are >at every mouse click until they are satisfied with their responses. >When they are, they just have to click on a "OK, next" button to see >the next stimuli and continue the experiment... > >I wonder what mean the RT and RTTime exactly ? Is RT the real time >participants take to answer the question, I mean the time from the >apparition of the slide with scales to the click on the "OK, next" >button (regardless of the number of clicks and, therefore, the >number of times that the slide with scales is "loaded" again) ? > >Thank you so much if you can help me on that point, >Best, > >Soizic -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/520105ac.ea90ec0a.6a76.1175SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Tue Aug 6 14:28:58 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 6 Aug 2013 10:28:58 -0400 Subject: Timing issue - movie / sound In-Reply-To: Message-ID: Soizic, The Knowledge Base at the PST website has some information about this issue. But ultimitely, you need to use some external calibrating equipment (e.g., oscilloscope, or Black Box Toolkit (http://www.blackboxtoolkit.com )) to measure this all for yourself. E.g., put a photosensor on your display device, a microphone up to your sound device, and measure the actual delays for your equipment. The PST website has some advice on how to minimize sound latency in general. You also want to minimize the latency between movie onset and sound onset, for that you should use a Slide to start the movie and sound at the same time. Now, if you merely want to add some synchronizing signals for your video and physiological recordings, then you might try another approach. In particular, use WritePort, OnsetSignal..., or Task Events to operate a low-latency digital signal through something like a parallel port, and pipe that directly into your electrophysiology or video -- if need be, use that signal to operate the flashing of an LED to record on the video, etc. You should be able to think of something. ----- 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 http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/5/2013 07:50 AM Monday, Soizic Argaud wrote: >For my experiment, I present on the screen (full screen) short >movies without sound. Because I film the participants during the >experiment and work on the video files obtained (I am obviously >interested on the moment when they see the movies), I add a sound on >the same slide where short movies are and record this sound on the video files. > >I wonder if there is a kind of time gap between the "presentations" >of the sounds and those of the movies in E-Prime ? > >In the same time, I record electrophysiological signals from the >participants. I use E-Prime to send triggers on this recordings >allowing me to target the apparition of the short movie and I also >record the sound on an other channel (in this way, I can consider >the sound like "sound trigger" which should correspond to the E-Prime trigger). > >I see on this biological recording that there is a difference of >nearly 50 ms between the E-Prime trigger and the "sound" one whereas >the E-Prime trigger should correspond to the apparition of the slide >where there are both the short movie and the sound. > >Is it possible to have a better timing in this configuration ? > >I hope I am clear enough... >Thank you so much if you can bring me an answer about that, > >Best, >Soizic -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52010848.e5c2ec0a.34d3.124bSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From swathi.bwh at gmail.com Tue Aug 6 14:50:01 2013 From: swathi.bwh at gmail.com (Swathi) Date: Tue, 6 Aug 2013 07:50:01 -0700 Subject: Calling and Running an exe in background In-Reply-To: Message-ID: Thanks Paul for your inputs. Currently, we have Viewpoint application running in the background and then we start our Eprime experiment. With in the Eprime I have an inline code calling the Viewpoint DLL to start recording the eye movie and stop once the experiment is finished. But we would like to open and close viewpoint application automatically via Eprime so that we dont loose time in between our scans. Suspend and resume example, as I mentioned earlier does not serve this purpose. Meanwhile, I will look into the COM interface option via Viewpoint and your previous post about matlab. Thanks again, Swathi On Monday, August 5, 2013 3:37:59 PM UTC-4, Paul Groot wrote: > > Calling a DLL function is possible after predefining the required > function(s) using the Declare statement. I don't think it would be possible > to call DLL functions that use graphical devices in any way, so that may > limit your options. Note that running an application is not the same thing > as calling a DLL function, so I'm not sure how viewpoint could be > integrated. I think there are application suspend and resume examples > available on the PST support site that could be used as a starting point if > you're integrating a regular application instead of a DLL. If the viewport > application (or DLL) supports COM interfaces, that would also be an option. > (See one of my previous post on interfacing with matlab.) > > Best > paul > > > On 5 August 2013 20:29, Swathi > wrote: > >> Hello everyone, >> >> I am trying to call a software called viewpoint (that records eye >> movement) through E prime. I would like to launch the software through >> eprime(& let it hang around in the background), run my eprime experiment >> and then when close the software once my experiment is completed. >> >> I have seen example of suspending eprime and resuming it but I need the e >> prime to function normally while the software is running in the background. >> >> Is this possible via e prime. Can i call the dll? >> >> Thank you, >> Swathi >> >> -- >> You received this message because you are subscribed 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/3b56f717-9ebe-4dae-959d-98c3344de437%40googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/4d03953c-399a-4a82-b60e-818614d20479%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From erin.spurgeon at gallaudet.edu Tue Aug 6 15:07:29 2013 From: erin.spurgeon at gallaudet.edu (erin.spurgeon at gallaudet.edu) Date: Tue, 6 Aug 2013 08:07:29 -0700 Subject: Issues with running Eprime on an external touch screen monitor connected via USB Message-ID: I am having an issue running Eprime via a small touch screen connected via USB port. We are using the following 10.1" touch screen monitor (without the stand) from Mimo Monitors: http://www.mimomonitors.com/products/mimo-magic-monster-10-1-inch-resistive-touchscreen-monitor This monitor connects to our E-Prime PC via USB. The Mimo monitor will successfully mirror the displays of our PC until we run our experiment in E-Prime, then the Mimo screen goes black. I am trying to isolate the problem as either an issue with the Mimo driver, or the connection to E-Prime via USB. Has anyone reading this post used a Mimo monitor successfully in their E-Prime experiments? Or, has anyone had a similar problem using an external monitor with their E-Prime set up that connects via a USB? Can anyone offer suggestions for a touch screen monitor that approximately replicates the physical dimensions of an iPad, that also works successfully with E-Prime 2.0 Professional? Or any suggestions for troubleshooting? Thank you for your help. Erin -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/acb78d66-8f37-488d-82ca-536b581679d6%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kgoodyea at gmail.com Tue Aug 6 18:05:25 2013 From: kgoodyea at gmail.com (Kim Goodyear) Date: Tue, 6 Aug 2013 11:05:25 -0700 Subject: E-Prime Loop for a counting variable Message-ID: If anyone could help me with a loop in the background for my counter that would be awesome. I have 5 slides that go through the same sequence eight times. I want my attribute Total to keep track each time and then subtract according to the previous round. I don't want my total for each row in the attribute to be 30, 29, 30 etc. I want it to start at 30 and the last attribute to be 24 or however much they got wrong. Here is my script: Dim Wrong as integer Dim Total as integer Dim Rightt as integer Dim Start as integer Counter = 30 Wrong = -1 Rightt = 0 If c.GetAttrib ("CorrectAnswer") = AdviceDisplay.RESP then Total = Counter + Rightt Else Total = Counter + Wrong end if c.SetAttrib "CorrectAnswer", Total -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/3b35a730-f4c9-4a26-8561-0b0565ef1d78%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kyleheidtman2012 at u.northwestern.edu Wed Aug 7 14:30:33 2013 From: kyleheidtman2012 at u.northwestern.edu (kyleheidtman2012 at u.northwestern.edu) Date: Wed, 7 Aug 2013 07:30:33 -0700 Subject: Turn Time Audit on For Everything Message-ID: Hi I'm new to e-basic, so I don't know if this is possible, but is there some way to write an inline file that will turn Time Audit on for everything (I'm doing an fMRI study, so it's very important to track all the timing information). I looked through the generate code and found what appears to be the code that turns on time audit for an individual object (in this case a TextDisplay called PreBlockInstructions) PreBlockInstructions.Run c.SetAttrib PreBlockInstructions.Name & ebDot & ebLogNameOnsetDelay, PreBlockInstructions.OnsetDelay c.SetAttrib PreBlockInstructions.Name & ebDot & ebLogNameOnsetTime, PreBlockInstructions.OnsetTime c.SetAttrib PreBlockInstructions.Name & ebDot & ebLogNameDurationError, PreBlockInstructions.DurationError c.SetAttrib PreBlockInstructions.Name & ebDot & ebLogNameOnsetToOnsetTime, PreBlockInstructions.OnsetToOnsetTime I would like to make an inline that iterates over every declared variable of the TextDisplay type and call code similar to the above on each of those TextDisplays. Is this possible/feasible? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/354e96dd-90fd-4bdc-bf16-0f0827ceec91%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cshalloran at gmail.com Wed Aug 7 17:29:15 2013 From: cshalloran at gmail.com (cshalloran at gmail.com) Date: Wed, 7 Aug 2013 10:29:15 -0700 Subject: How to schedule "breaks" within a block? Message-ID: Hello Community, I have no coding background. I am brand new to E-Prime, and I need help. I am designing an experiment in which I have 48 unique samples, weighted 2, random order, that I wish to separate into 4 equal "blocks" in order to give our volunteer subjects cognitive breaks from the task. That is, I want a break screen with no time limit that the subject can leave by pressing {SPACE} and then continue with the next randomized sample (numbers 25, 49, or 73, as appropriate), randomized as if that break screen was not there and the subject was running through the 96 samples consecutively. I know I could program 4 blocks to each be followed by my desired break screen, but this would result in a constraint on the randomness of the sample presentation that I wish to avoid. Is it possible to code into the script something to the effect: After Sample = 24, 48, and 72, then Go To BreakScreen. After {SPACE}, then Go To Sample 25, 49, and 73, respectively. If such is possible, can you help me learn how to write this code and then insert it properly into the script generated by E-Studio? Thank you, ~C.S. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/db1a3e09-adfd-4288-800c-0cc545189af8%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Wed Aug 7 20:16:13 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 7 Aug 2013 22:16:13 +0200 Subject: How to schedule "breaks" within a block? In-Reply-To: Message-ID: it should be possible to do this without any coding magic. Just create two levels using a block list and trial list (like in a 'basic' paradigm). Then set the number of block samples to 4 (using weight 4 for example). The trial list should contain all 2x48 trials, using random selection as you wish. The trick is to terminate the trial list after playing 24 trials by setting the 'exit list' property to 24 samples. That's it. The next thing is to create a proper pause screen. Although this can be done by including a slide or text object after the trial list, you need another small trick to make sure that the pause screen is not displayed after the last block. My preferred solution is to use a slide with two (or more) tab pages. One tab contains the text that should be displayed between blocks, while another page is used to show after the last block. Then add a column to the BlockList to specify the ActiveState property of pause slide (using the [] syntax). More complex designs might require other techniques, but in most cases switching the ActiveState property of the slide will do. Have a look at the attached example script to see how I did this from scratch (in only two minutes) using a fresh 'basic' script. best paul On 7 August 2013 19:29, wrote: > Hello Community, > > I have no coding background. I am brand new to E-Prime, and I need help. > > I am designing an experiment in which I have 48 unique samples, weighted > 2, random order, that I wish to separate into 4 equal "blocks" in order to > give our volunteer subjects cognitive breaks from the task. That is, I want > a break screen with no time limit that the subject can leave by pressing > {SPACE} and then continue with the next randomized sample (numbers 25, 49, > or 73, as appropriate), randomized as if that break screen was not there > and the subject was running through the 96 samples consecutively. I know I > could program 4 blocks to each be followed by my desired break screen, but > this would result in a constraint on the randomness of the sample > presentation that I wish to avoid. > > Is it possible to code into the script something to the effect: > > After Sample = 24, 48, and 72, then Go To BreakScreen. > After {SPACE}, then Go To Sample 25, 49, and 73, respectively. > > If such is possible, can you help me learn how to write this code and then > insert it properly into the script generated by E-Studio? > > Thank you, > ~C.S. > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/db1a3e09-adfd-4288-800c-0cc545189af8%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uvFbGjj7oUqTwRKSqkUXt_1kmRAuM8MzEhm7Jz7wLnWw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: BlocksWithPause.es2 Type: application/octet-stream Size: 109166 bytes Desc: not available URL: From mcfarla9 at msu.edu Thu Aug 8 16:09:13 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 8 Aug 2013 12:09:13 -0400 Subject: How to schedule "breaks" within a block? In-Reply-To: Message-ID: You might also do this (with no code) using a main List, run in Sequential order with different rows for trials and rest breaks (each with appropriate Weights), and have the trial rows call on a single nested List that contains trial info. See the Nested List tutorial in Appendix C of the User's Guide that came with E-Prime, or browse through the Samples on the PST website. But Paul's example looks good, so give that a try. -- David McFarlane At 8/7/2013 04:16 PM Wednesday, Paul Groot wrote: >it should be possible to do this without any coding magic. Just >create two levels using a block list and trial list (like in a >'basic' paradigm). Then set the number of block samples to 4 (using >weight 4 for example). The trial list should contain all 2x48 >trials, using random selection as you wish. The trick is to >terminate the trial list after playing 24 trials by setting the >'exit list' property to 24 samples. That's it. > >The next thing is to create a proper pause screen. Although this can >be done by including a slide or text object after the trial list, >you need another small trick to make sure that the pause screen is >not displayed after the last block. My preferred solution is to use >a slide with two (or more) tab pages. One tab contains the text that >should be displayed between blocks, while another page is used to >show after the last block. Then add a column to the BlockList to >specify the ActiveState property of pause slide (using the [] >syntax). More complex designs might require other techniques, but in >most cases switching the ActiveState property of the slide will do. > >Have a look at the attached example script to see how I did this >from scratch (in only two minutes) using a fresh 'basic' script. > >best >paul > > > > >On 7 August 2013 19:29, ><cshalloran at gmail.com> wrote: >Hello Community, > >I have no coding background. I am brand new to E-Prime, and I need help. > >I am designing an experiment in which I have 48 unique samples, >weighted 2, random order, that I wish to separate into 4 equal >"blocks" in order to give our volunteer subjects cognitive breaks >from the task. That is, I want a break screen with no time limit >that the subject can leave by pressing {SPACE} and then continue >with the next randomized sample (numbers 25, 49, or 73, as >appropriate), randomized as if that break screen was not there and >the subject was running through the 96 samples consecutively. I know >I could program 4 blocks to each be followed by my desired break >screen, but this would result in a constraint on the randomness of >the sample presentation that I wish to avoid. > >Is it possible to code into the script something to the effect: > >After Sample = 24, 48, and 72, then Go To BreakScreen. >After {SPACE}, then Go To Sample 25, 49, and 73, respectively. > >If such is possible, can you help me learn how to write this code >and then insert it properly into the script generated by E-Studio? > >Thank you, >~C.S. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5203c2c9.060b320a.7694.62dbSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From cshalloran at gmail.com Thu Aug 8 16:48:34 2013 From: cshalloran at gmail.com (cshalloran at gmail.com) Date: Thu, 8 Aug 2013 09:48:34 -0700 Subject: How to schedule "breaks" within a block? In-Reply-To: Message-ID: Hello Paul, Thank you very much for your help! I have set up my blocks and procedures as you outlined, and it is working. If I trouble you for a clarification, it is unclear to me how to set up my Pause Slide to show different text after my final block. That is, I do not know what you mean by switching the ActiveState. I made the Slide with two tabs (Default and Slide1) with my pause text in the former and goodbye text in the latter. How do I get the Slide1 (goodbye) text to show after that final block? It shows the Default (pause) text for me, making me believe I labeled something in the slide or BlockList incorrectly. Thank you again, ~C.S. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/0cd008da-d9a5-4101-a3f8-1d0a4bb7bbf5%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Aug 8 18:17:21 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 8 Aug 2013 14:17:21 -0400 Subject: Turn Time Audit on For Everything In-Reply-To: <354e96dd-90fd-4bdc-bf16-0f0827ceec91@googlegroups.com> Message-ID: Well, if you are really determined, then you might use Rte.GetObject() to iterate through all the E-Objects and do as you like (see that topic in the E-Basic Help facility). But this seems a very peculiar request. Ordinarily, you would take care of this in E-Studio from the Property Pages of each object of interest -- either go to the Duration/Input tab and select the desired Data Logging, or for finer granularity go to the Logging tab and select whatever you like. ----- 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 http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/7/2013 10:30 AM Wednesday, kyleheidtman2012 at u.northwestern.edu wrote: >I'm new to e-basic, so I don't know if this is possible, but is >there some way to write an inline file that will turn Time Audit on >for everything (I'm doing an fMRI study, so it's very important to >track all the timing information). > >I looked through the generate code and found what appears to be the >code that turns on time audit for an individual object (in this case >a TextDisplay called PreBlockInstructions) > >PreBlockInstructions.Run > > c.SetAttrib PreBlockInstructions.Name & ebDot & > ebLogNameOnsetDelay, PreBlockInstructions.OnsetDelay > > c.SetAttrib PreBlockInstructions.Name & ebDot & > ebLogNameOnsetTime, PreBlockInstructions.OnsetTime > > c.SetAttrib PreBlockInstructions.Name & ebDot & > ebLogNameDurationError, PreBlockInstructions.DurationError > c.SetAttrib PreBlockInstructions.Name & ebDot & > ebLogNameOnsetToOnsetTime, PreBlockInstructions.OnsetToOnsetTime > > >I would like to make an inline that iterates over every declared >variable of the TextDisplay type and call code similar to the above >on each of those TextDisplays. > >Is this possible/feasible? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5203e0d2.060b320a.7694.6932SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From pfc.groot at gmail.com Thu Aug 8 19:52:22 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Thu, 8 Aug 2013 21:52:22 +0200 Subject: Turn Time Audit on For Everything In-Reply-To: <5203e0d2.060b320a.7694.6932SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: In addition to David's advise, I would also suggest adding a few lines of E-Basic script to calculate stimulus (and response) onset times that are relative to the start of the start of the MRI scanner. These values can then be added to the output file using the c.SetAttrib method. This is a very easy to do and it will save a lot of post processing. (I've seen people creating lots of excel sheets just to get onset times for SPM or FSL. Very time consuming and error-prone.) Just follow these steps: 1) Declare a global variable to store the scanner start time (i.e. onset time of first EPI scan). This time is normally determined by handling the trigger onset pulse as input response. The global variable should be of type Long (integer) and should be placed in the global user script section: Dim ScannerOnset as Long 2) Then copy the trigger onset time to the global declared variable by adding the following after the object that handles the scanner trigger: ScannerOnset = *WaitForScanner*.RTTime (replace* WaitForScanner* with the name the actual object) Also make sure the RTTime attribute itself is logged properly to be able to verify timing. 3) Add a few lines of script at the end of the trial procedure to save the relative times to the log output: c.SetAttrib "*RelStimOnset*", CStr(*Stim*.OnsetTime - ScannerOnset) (replace *Stim* with the name of the stimulus object) Also make sure the onset attribute itself is logged properly to be able to verify timing. Repeat 3) for all relevant onset and response times. that's it Paul On 8 August 2013 20:17, David McFarlane wrote: > Well, if you are really determined, then you might use Rte.GetObject() to > iterate through all the E-Objects and do as you like (see that topic in the > E-Basic Help facility). > > But this seems a very peculiar request. Ordinarily, you would take care > of this in E-Studio from the Property Pages of each object of interest -- > either go to the Duration/Input tab and select the desired Data Logging, or > for finer granularity go to the Logging tab and select whatever you like. > > ----- > 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 http://support.pstnet.com/e%** > 2Dprime/support/login.asp, 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 8/7/2013 10:30 AM Wednesday, kyleheidtman2012 at u.**northwestern.eduwrote: > >> I'm new to e-basic, so I don't know if this is possible, but is there >> some way to write an inline file that will turn Time Audit on for >> everything (I'm doing an fMRI study, so it's very important to track all >> the timing information). >> >> I looked through the generate code and found what appears to be the code >> that turns on time audit for an individual object (in this case a >> TextDisplay called PreBlockInstructions) >> >> PreBlockInstructions.Run >> >> c.SetAttrib PreBlockInstructions.Name & ebDot & >> ebLogNameOnsetDelay, PreBlockInstructions.**OnsetDelay >> >> c.SetAttrib PreBlockInstructions.Name & ebDot & ebLogNameOnsetTime, >> PreBlockInstructions.OnsetTime >> >> c.SetAttrib PreBlockInstructions.Name & ebDot & >> ebLogNameDurationError, PreBlockInstructions.**DurationError >> c.SetAttrib PreBlockInstructions.Name & ebDot & >> ebLogNameOnsetToOnsetTime, PreBlockInstructions.**OnsetToOnsetTime >> >> >> I would like to make an inline that iterates over every declared variable >> of the TextDisplay type and call code similar to the above on each of those >> TextDisplays. >> >> Is this possible/feasible? >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe@**googlegroups.com > . > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/** > msgid/e-prime/5203e0d2.**060b320a.7694.6932SMTPIN_** > ADDED_MISSING%40gmr-mx.google.**com > . > For more options, visit https://groups.google.com/**groups/opt_out > . > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-t0K3EQaAWjXr3fWM3okjR7gTKZxPGHR_nysYu_EtKONA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cshalloran at gmail.com Thu Aug 8 20:39:51 2013 From: cshalloran at gmail.com (cshalloran at gmail.com) Date: Thu, 8 Aug 2013 13:39:51 -0700 Subject: How to schedule "breaks" within a block? In-Reply-To: <0cd008da-d9a5-4101-a3f8-1d0a4bb7bbf5@googlegroups.com> Message-ID: Actually, I think I answered my own question. I had a problem getting E-Prime to show different texts on a slide after different blocks, but the tutorials very easily show how to get a slide to show different images. So, I wrote my text in Word, screen captured it, saved is as a JPEG, and programmed the files names into BlockList. So, I had two images: one with my PauseScreen text and and the second with my EndScreen text. I am confident that there are more elegant ways to have solved my problem, but my way worked. (Editing the text is a chore; that's true.) ~C.S. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/9c6a44e9-0a66-47d0-bbc9-97cd90257c4b%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Thu Aug 8 22:51:50 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Fri, 9 Aug 2013 00:51:50 +0200 Subject: How to schedule "breaks" within a block? In-Reply-To: <9c6a44e9-0a66-47d0-bbc9-97cd90257c4b@googlegroups.com> Message-ID: Great you solved it yourself, but let me elaborate just a bit on this topic for the interested reader... I think that the example you used already showed how to use list-attributes to dynamically change stimuli. What you did with the filenames (i.e. using []-syntax) can also be done with text itself. (Just like in the basic paradigm that estudio will create automatically.) Or more advanced: a list-attribute can also be used to select the active slide (*Default *or * Slide1*). Just put the name off the list-attribute in the ActiveState property of the slide, and put square brackets around the name to make it a dynamic parameter (i.e. [*NameOfAttribute*]). Paul On 8 August 2013 22:39, wrote: > Actually, I think I answered my own question. I had a problem getting > E-Prime to show different texts on a slide after different blocks, but the > tutorials very easily show how to get a slide to show different images. So, > I wrote my text in Word, screen captured it, saved is as a JPEG, and > programmed the files names into BlockList. So, I had two images: one with > my PauseScreen text and and the second with my EndScreen text. > > I am confident that there are more elegant ways to have solved my problem, > but my way worked. (Editing the text is a chore; that's true.) > > ~C.S. > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/9c6a44e9-0a66-47d0-bbc9-97cd90257c4b%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-vZ0bOfaQk7ZqpVMerKvE2v4nxP9UPkcjZc5ZpvdomMog%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From afsander12 at gmail.com Fri Aug 9 17:08:02 2013 From: afsander12 at gmail.com (Ashley Sanders) Date: Fri, 9 Aug 2013 10:08:02 -0700 Subject: Biopac not receiving E-Prime signal for second part of n-back task Message-ID: Hi all, I am having trouble getting a stimulus delivery/response signal to show up on Biopac for the second part of our n-back experiment. The first task, zero back, asks the subject to press a certain key when a neutral face is presented (non-target) and another key when a scared face is presented (target). The inline script is as follows and works perfectly in connection with Biopac: Const OutPort As Integer = &hD800 'Const BioPacTrigger As Integer = &h01 WritePort OutPort, 0 TaskStimZERO.OnsetSignalEnabled = True TaskStimZERO.OnsetSignalPort = OutPort TaskStimZERO.OnsetSignalData = c.GetAttrib("BioStim") TaskStimZERO.OffsetSignalEnabled = True TaskStimZERO.OffsetSignalPort = OutPort TaskStimZERO.OffsetSignalData = 0 Next, the one back section asks the subject to only press the target assigned key after *two* scared faces have been presented in a row. This is where Biopac is not collecting a signal. The inline script is as follows: Const OutPort As Integer = &hD800 'Const BioPacTrigger As Integer = &h01 WritePort OutPort, 0 TaskStimONE.OnsetSignalEnabled = True TaskStimONE.OnsetSignalPort = OutPort TaskStimONE.OnsetSignalData = c.GetAttrib("BioStim") TaskStimONE.OffsetSignalEnabled = True TaskStimONE.OffsetSignalPort = OutPort TaskStimONE.OffsetSignalData = 0 I have tried numerous ways to get this to work but have failed. If anyone has any advice, please let me know. Your help would be GREATLY appreciated! Thanks in advance, Ashley -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/d53d8de5-2b05-4ee2-a466-9a15a471e6f8%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Sat Aug 10 18:43:41 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Sat, 10 Aug 2013 20:43:41 +0200 Subject: Biopac not receiving E-Prime signal for second part of n-back task In-Reply-To: Message-ID: Hi Ashley, seems pretty straightforward inline script. Just a few trivial checks: Just declare the constant *OutPort* just once in the global use script section. If this is done properly, you can remove the corresponding lines from the two inline scripts. Did you verify the values of "BioStim"? These should be numbers ranging from 1 to 255. Also, the duration of TaskStimOne should be at least as long as the sampling interval used by BioPac. You could verify this by enabling logging of OnsetTime and OffsetTime of TaskStimOne for example. Another method is to add a few Debug.Print statements: Debug.Print "BioStim value: " & CInt(c.GetAttrib("BioStim")) Debug.Print "TaskStimONE.Duration: " & TaskStimONE.Duration And is TaskStimONE really the object that is used during the one back phase? If these checks don't help, you could test if the IO port is still accessible by adding this below the WritePort statement: WritePort OutPort, 0 Sleep 1000 WritePort OutPort, 255 This should always give a high pulse of one second on all digital lines. best paul On 9 August 2013 19:08, Ashley Sanders wrote: > Hi all, > > I am having trouble getting a stimulus delivery/response signal to show > up on Biopac for the second part of our n-back experiment. The first task, > zero back, asks the subject to press a certain key when a neutral face is > presented (non-target) and another key when a scared face is presented > (target). The inline script is as follows and works perfectly in connection > with Biopac: > > Const OutPort As Integer = &hD800 > 'Const BioPacTrigger As Integer = &h01 > > WritePort OutPort, 0 > > TaskStimZERO.OnsetSignalEnabled = True > TaskStimZERO.OnsetSignalPort = OutPort > TaskStimZERO.OnsetSignalData = c.GetAttrib("BioStim") > > TaskStimZERO.OffsetSignalEnabled = True > TaskStimZERO.OffsetSignalPort = OutPort > TaskStimZERO.OffsetSignalData = 0 > > Next, the one back section asks the subject to only press the target > assigned key after *two* scared faces have been presented in a row. This > is where Biopac is not collecting a signal. The inline script is as follows: > > Const OutPort As Integer = &hD800 > 'Const BioPacTrigger As Integer = &h01 > > WritePort OutPort, 0 > > TaskStimONE.OnsetSignalEnabled = True > TaskStimONE.OnsetSignalPort = OutPort > TaskStimONE.OnsetSignalData = c.GetAttrib("BioStim") > > TaskStimONE.OffsetSignalEnabled = True > TaskStimONE.OffsetSignalPort = OutPort > TaskStimONE.OffsetSignalData = 0 > > > I have tried numerous ways to get this to work but have failed. If anyone > has any advice, please let me know. Your help would be GREATLY appreciated! > > > Thanks in advance, > Ashley > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/d53d8de5-2b05-4ee2-a466-9a15a471e6f8%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uZ9MOF__3qQaHmQifVQ_3X0ENCqt4Frs8v8PG4L9CTgA%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kyleheidtman2012 at u.northwestern.edu Mon Aug 12 13:04:28 2013 From: kyleheidtman2012 at u.northwestern.edu (kyleheidtman2012 at u.northwestern.edu) Date: Mon, 12 Aug 2013 06:04:28 -0700 Subject: Turn Time Audit on For Everything In-Reply-To: Message-ID: Great. Thanks a lot for your help On Thursday, August 8, 2013 3:52:22 PM UTC-4, Paul Groot wrote: > > In addition to David's advise, I would also suggest adding a few lines of > E-Basic script to calculate stimulus (and response) onset times that are > relative to the start of the start of the MRI scanner. These values can > then be added to the output file using the c.SetAttrib method. This is a > very easy to do and it will save a lot of post processing. (I've seen > people creating lots of excel sheets just to get onset times for SPM or > FSL. Very time consuming and error-prone.) > > Just follow these steps: > > 1) Declare a global variable to store the scanner start time (i.e. onset > time of first EPI scan). This time is normally determined by handling the > trigger onset pulse as input response. The global variable should be of > type Long (integer) and should be placed in the global user script section: > > Dim ScannerOnset as Long > > 2) Then copy the trigger onset time to the global declared variable by > adding the following after the object that handles the scanner trigger: > > ScannerOnset = *WaitForScanner*.RTTime > > (replace* WaitForScanner* with the name the actual object) > Also make sure the RTTime attribute itself is logged properly to be able > to verify timing. > > 3) Add a few lines of script at the end of the trial procedure to save the > relative times to the log output: > > c.SetAttrib "*RelStimOnset*", CStr(*Stim*.OnsetTime - ScannerOnset) > > (replace *Stim* with the name of the stimulus object) > Also make sure the onset attribute itself is logged properly to be able to > verify timing. > > Repeat 3) for all relevant onset and response times. > > > that's it > > Paul > > > On 8 August 2013 20:17, David McFarlane >wrote: > >> Well, if you are really determined, then you might use Rte.GetObject() to >> iterate through all the E-Objects and do as you like (see that topic in the >> E-Basic Help facility). >> >> But this seems a very peculiar request. Ordinarily, you would take care >> of this in E-Studio from the Property Pages of each object of interest -- >> either go to the Duration/Input tab and select the desired Data Logging, or >> for finer granularity go to the Logging tab and select whatever you like. >> >> ----- >> 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 http://support.pstnet.com/e%** >> 2Dprime/support/login.asp, 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 8/7/2013 10:30 AM Wednesday, kyleheid... at u.**northwestern.eduwrote: >> >>> I'm new to e-basic, so I don't know if this is possible, but is there >>> some way to write an inline file that will turn Time Audit on for >>> everything (I'm doing an fMRI study, so it's very important to track all >>> the timing information). >>> >>> I looked through the generate code and found what appears to be the code >>> that turns on time audit for an individual object (in this case a >>> TextDisplay called PreBlockInstructions) >>> >>> PreBlockInstructions.Run >>> >>> c.SetAttrib PreBlockInstructions.Name & ebDot & >>> ebLogNameOnsetDelay, PreBlockInstructions.**OnsetDelay >>> >>> c.SetAttrib PreBlockInstructions.Name & ebDot & >>> ebLogNameOnsetTime, PreBlockInstructions.OnsetTime >>> >>> c.SetAttrib PreBlockInstructions.Name & ebDot & >>> ebLogNameDurationError, PreBlockInstructions.**DurationError >>> c.SetAttrib PreBlockInstructions.Name & ebDot & >>> ebLogNameOnsetToOnsetTime, PreBlockInstructions.**OnsetToOnsetTime >>> >>> >>> I would like to make an inline that iterates over every declared >>> variable of the TextDisplay type and call code similar to the above on each >>> of those TextDisplays. >>> >>> Is this possible/feasible? >>> >> >> -- >> You received this message because you are subscribed 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...@**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/5203e0d2.**060b320a.7694.6932SMTPIN_** >> ADDED_MISSING%40gmr-mx.google.**com >> . >> For more options, visit https://groups.google.com/**groups/opt_out >> . >> >> >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/c20d97de-705f-4cb3-bd03-c792eb0f578f%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpryan28 at gmail.com Mon Aug 12 15:28:34 2013 From: jpryan28 at gmail.com (John) Date: Mon, 12 Aug 2013 08:28:34 -0700 Subject: Task Event - WriteString? Message-ID: I'm running eprime pro and trying to use task events to trigger an external device. When the stimulus comes on the screen, I need eprime to send the string "RUN" to the serial port. In task events, I do the following: -Add an event -Select the serial device (COM3) -Action: WriteString ...but then how to I define what the string is? (i.e. "RUN") (In a terminal window, i can type "echo RUN > COM3" and that triggers the device...I'm just trying to figure out how eprime to do that.) Thanks! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/f151e64e-a9f9-4345-96e6-61eaefcdd6e8%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From michellehoog at gmail.com Mon Aug 12 16:24:50 2013 From: michellehoog at gmail.com (Michelle Hoogenhout) Date: Mon, 12 Aug 2013 09:24:50 -0700 Subject: problems with consistent video duration In-Reply-To: <4F4B5BEA.9040207@ucl.ac.uk> Message-ID: Hi, I am experiencing the same problem, and would appreciate any advice. I have 8 videos in my study, which is running in E-Prime 2. Each video is approximately 3 minutes long and in avi (MPEG4 [Xvid] and MPEG4 [FMP4]) format, with MPEG-1 Layer 3 (MP3) stereo sound. There is a gap ranging between 30 seconds to 2 minutes in between the different videos. The e-prime file executes just fine, and runs to the end. The videos play, but then randomly cut off somewhere through the video. The experiment then just goes on the next stimulus. They videos do not always stop at the same point, and it does not matter whether they are displayed early on or later into the experiment. The videos do lag, however, and the sound and image may go out of sync before the movie ends. All the videos play correctly on the computer outside of e-prime (on VLC and Windows Media Player). It is not just the case that the larger video file is the more likely it is to stop, but what I have noticed is that the videos that I resized beforehand using Avidemux never play to the end. The videos that were in the correct resolution (1024 x 1028) to start with do not give the same problems. However, I would like all of the videos in the experiment to be the same resolution (or at least same length, without needing to stretch them), so I have no option but to resize the videos. I have tried converting the videos to a different format (mpeg1) as suggested elsewhere ( https://groups.google.com/forum/#!msg/e-prime/ENSVeWNy6p0/RyME4_tKof4J), but that only made it worse. I have also tried to increase the pre-release time, set the MovieDisplay to show the movie for a fixed amount of time, and simplifying the script to the very basics; all to no effect. Even the simplest possible experiment with only one movie in it fails to display the movie to the end. I have installed the latest Combined Community Codec Pack (2013-08-01; http://www.cccp-project.net/wiki/index.php?title=Main_Page), but it has not made a difference. The experimental computer is an Intel i3 530 at 2.93 GHz machine with 1.86 GB Ram and an Intel H55 Express chipset, running a 1280 x 1024 16bit desktop display. I suspect that the computer is underpowered. I have run the experiment on my laptop and the videos ran smoothly (I can't use my laptop for the final presentation as I need to use the lab computer that is connected to the eye tracking equipment). Another possibility would be the interaction of the codecs with e-prime. I ran the e-prime codec config tool, and it renders all the files correctly. However, they still perform as described above when running the actual experiment. Everything in the e-prime codec config is currently set to the default values. Is there perhaps something within this tool that I could change to give a better result? I don't know whether the recoding with Avidemux caused the problem (has anyone else used it successfully/unsuccessfully with e-prime?), or whether just resizing the videos was problematic in general. Any suggestions on how to get the movies to display correctly? Your help would be greatly appreciated. Thank you, Michelle On Monday, 27 February 2012 12:33:14 UTC+2, Vinson, David: UCL wrote: > > Hi Lindsay, > > Unfortunately it can be a lot of work to get videos to display > correctly, and it looks like you've gone through a sensible process so > far. We experienced something similar, and suspected it could be > related to the time it takes to load the video files from the hard drive > and get them displayed in time. We might not be correct but we managed > to eliminate these problems (or at least sufficiently reduce them) by a > combination of a few factors: > > 1. pre-load the video (e.g. MovieDisplay1.Load in an inline object) well > before the movie is due to start playing > 2. include a fairly high % of breaks between trials if possible, which > may help resolve the buildup of lag > 3. if you are using an older/slower machine it may be useful to have > video files on a different hard drive than the one being used for > virtual memory > > And 4. a bit more "trial and error" with video formats. Keep in mind > that just converting from one video format to another may not be > sufficient - it may be necessary to re-compress with a different codec. > > In troubleshooting these matters it may also be helpful to set up the > simplest possible miniature version of your experiment (e.g. just one or > two videos) repeated many times in the simplest possible trial sequence, > and see if your problem reproduces under those conditions. > > OR.... am I missing something here - if one of your videos is 13 sec and > you only display it for 7 seconds, this would cut it off about halfway > through. But surely it's not as simple as this. > > good luck, and please report back to the list if you figure it out. > -dv > > On 25/02/2012 20:06, Lindsay wrote: > > I am setting up an experiment with videos and am playing around with > > displaying the videos to make sure it will work for our study. The > > videos will play, but they will not play for the whole length every > > time. I am using two practice videos, one 13 seconds and one 6 seconds > > long, and have the program set up to randomly pull them from a list > > and play them after a blank screen. I have tried pre-release, changing > > the run time of the videos, and various video formats, but have not > > had much success. When I increase the number of cycles, some of the > > presentations will run the whole time and some will cut off half-way > > through. The timing of the presentation of stimuli is not necessarily > > important, but we need each video to run for the set length of time > > (about 7 seconds). > > > > We are expanding upon a study that used still images, so we are not as > > familiar with the various video formats, compressions, etc. I would > > appreciate any help! > > > > Lindsay > > > > -- > David Vinson, Ph.D. > Senior Postdoctoral Researcher > Cognitive, Perceptual and Brain Sciences Research Department > University College London > 26 Bedford Way, London WC1H 0AP > Tel +44 (0)20 7679 5311 (UCL internal ext. 25311) > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/142a9d9b-5d52-4243-a42a-6e75559ed4cc%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Aug 12 18:26:45 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 12 Aug 2013 14:26:45 -0400 Subject: Task Event - WriteString? In-Reply-To: Message-ID: Try the following in the Task Events dialog box: - Set Source to "(custom)" - In Custom, put your string (e.g., "RUN", without the quotes). (You may also use attribute references here, e.g., "[StimCode]", these will be resolved just before the stimulus object runs.) - Set Data Type to "String". - Set Enabled to "Yes". Please write back with your results, as I am not set up to test that myself here. And if you have not already, look a the seciton 3.1 of the New Features Guide, and KB4803 (http://www.pstnet.com/support/kb.asp?TopicID=4803 ) for the documentation from PST. ----- 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 http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/12/2013 11:28 AM Monday, John wrote: >I'm running eprime pro and trying to use task events to trigger an >external device. > >When the stimulus comes on the screen, I need eprime to send the >string "RUN" to the serial port. > >In task events, I do the following: >-Add an event >-Select the serial device (COM3) >-Action: WriteString > >...but then how to I define what the string is? (i.e. "RUN") > > >(In a terminal window, i can type "echo RUN > COM3" and that >triggers the device...I'm just trying to figure out how eprime to do that.) > >Thanks! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52092908.6707320a.114d.ffff9e68SMTPIN_ADDED_MISSING%40gmr-mx.google.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out. From jpryan28 at gmail.com Mon Aug 12 21:03:44 2013 From: jpryan28 at gmail.com (John) Date: Mon, 12 Aug 2013 14:03:44 -0700 Subject: Task Event - WriteString? In-Reply-To: <52092908.6707320a.114d.ffff9e68SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thanks for your reply, David - No luck. Action: WriteString Parameter - Custom: RUN Data Type: String Enabled: Yes On Monday, August 12, 2013 2:26:45 PM UTC-4, McFarlane, David wrote: > > Try the following in the Task Events dialog box: > > - Set Source to "(custom)" > - In Custom, put your string (e.g., "RUN", without the quotes). (You > may also use attribute references here, e.g., "[StimCode]", these > will be resolved just before the stimulus object runs.) > - Set Data Type to "String". > - Set Enabled to "Yes". > > Please write back with your results, as I am not set up to test that > myself here. > > And if you have not already, look a the seciton 3.1 of the New > Features Guide, and KB4803 > (http://www.pstnet.com/support/kb.asp?TopicID=4803 ) for the > documentation from PST. > > ----- > 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 > http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/12/2013 11:28 AM Monday, John wrote: > >I'm running eprime pro and trying to use task events to trigger an > >external device. > > > >When the stimulus comes on the screen, I need eprime to send the > >string "RUN" to the serial port. > > > >In task events, I do the following: > >-Add an event > >-Select the serial device (COM3) > >-Action: WriteString > > > >...but then how to I define what the string is? (i.e. "RUN") > > > > > >(In a terminal window, i can type "echo RUN > COM3" and that > >triggers the device...I'm just trying to figure out how eprime to do > that.) > > > >Thanks! > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/39331893-408e-4884-b933-19a86184c068%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Aug 12 21:13:18 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 12 Aug 2013 17:13:18 -0400 Subject: Task Event - WriteString? In-Reply-To: <39331893-408e-4884-b933-19a86184c068@googlegroups.com> Message-ID: Thanks for reporting back. Time now to contact PST Web Support and have them sort it out for you, then please report back here for the rest of us. Thanks! -- David McFarlane At 8/12/2013 05:03 PM Monday, John wrote: >Thanks for your reply, David - No luck. > >Action: WriteString >Parameter - Custom: RUN >Data Type: String >Enabled: Yes > >On Monday, August 12, 2013 2:26:45 PM UTC-4, McFarlane, David wrote: >Try the following in the Task Events dialog box: > >- Set Source to "(custom)" >- In Custom, put your string (e.g., "RUN", without the quotes). (You >may also use attribute references here, e.g., "[StimCode]", these >will be resolved just before the stimulus object runs.) >- Set Data Type to "String". >- Set Enabled to "Yes". > >Please write back with your results, as I am not set up to test that >myself here. > >And if you have not already, look a the seciton 3.1 of the New >Features Guide, and KB4803 >(http://www.pstnet.com/support/kb.asp?TopicID=4803 >) for the >documentation from PST. > >----- >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 >http://support.pstnet.com/e%2Dprime/support/login.asp >, 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 8/12/2013 11:28 AM Monday, John wrote: > >I'm running eprime pro and trying to use task events to trigger an > >external device. > > > >When the stimulus comes on the screen, I need eprime to send the > >string "RUN" to the serial port. > > > >In task events, I do the following: > >-Add an event > >-Select the serial device (COM3) > >-Action: WriteString > > > >...but then how to I define what the string is? (i.e. "RUN") > > > > > >(In a terminal window, i can type "echo RUN > COM3" and that > >triggers the device...I'm just trying to figure out how eprime to do that.) > > > >Thanks! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52095011.0352320a.72ef.0196SMTPIN_ADDED_MISSING%40gmr-mx.google.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out. From alpnobre at gmail.com Wed Aug 14 03:32:38 2013 From: alpnobre at gmail.com (Alexandre Nobre) Date: Tue, 13 Aug 2013 20:32:38 -0700 Subject: Fragmented pictures with multiple inputs Message-ID: Hello. I'm new to E-prime and am currently trying to implement an experiment on identification of fragmented pictures, but can't figure out how. Each trial in the experiment should initiate with the presentation of a fragmented picture, to which the subject must respond verbally. If the subject identifies it correctly, the experimenter initiates the next trial, with a different fragmented picture. However, if the object is named incorrectly, the same picture appears on the screen, but in a less fragmented form. Also, I need to have six different levels of fragmentation, so that, if the subject can`t identify the picture correctly on any level, the next trial is initiated, with a new fragmented picture. Does anyone know how to do this? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/d891ce7e-6108-4aef-9b49-d2defd2f3579%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastian.poloczek at gmx.de Wed Aug 14 09:15:04 2013 From: sebastian.poloczek at gmx.de (Sebastian Poloczek) Date: Wed, 14 Aug 2013 02:15:04 -0700 Subject: ImageDisplay Internal Error only for display2 but not for display1 Message-ID: Hi, I'm designing an experiment in Eprime2 in which some slides should be displayed on display 1 (experimenter's screen) and some on display2 (participant's screen). The program stops running and gives the error message "image display internal error, marker:2000" for the first slide on display2. All filenames are double-checked and without typos, all pictures are in the respective folders. The program runs smoothly and displays the images if I change all slide settings to display1. The images can be displayed on display2 if the slides for display2 directly refers to the images. But as soon as a slide for display2 includes an image attribute and the image is specified either in a list item or in an inline command the program crashes and gives the error 11041. Do you have any suggestions what I could try to solve the problem and to display images defined by attributes on display2? Many thanks in advance, Sebastian -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/fe6be799-1be1-48d4-8593-030d48e96aed%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgannis at macalester.edu Wed Aug 14 19:46:34 2013 From: sgannis at macalester.edu (sgannis at macalester.edu) Date: Wed, 14 Aug 2013 12:46:34 -0700 Subject: Jumping/Gating Message-ID: Hello, Our research team is new to E-Prime, and we have run into a problem. Our experimental paradigms require what E-Prime seems to call jumping (i.e., leading the participant to encounter different stimuli depending on his/her response to initial stimuli). Prior to our travails with E-Prime, we knew this process as "gating." After reading up on Jumping on this forum and in various manuals. it seems that this procedure requires the use of a Label (and/or Jump Label) and some manipulation of the "End Action" component of a stimuli's properties. However, neither our Principal Investigator nor anyone else in the lab can determine how to make this happen. I am beginning to think it might be easiest with some InLine code writing, but I could be incorrect because none of us really know what we're doing. If anyone can explain how this works, it would be much appreciated. Scott G -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/92af2928-c6d1-46c8-a0b7-96f8f97e1be1%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmaayane at gmail.com Thu Aug 15 04:54:15 2013 From: kmaayane at gmail.com (Maayan Kedar) Date: Thu, 15 Aug 2013 07:54:15 +0300 Subject: Jumping/Gating In-Reply-To: <92af2928-c6d1-46c8-a0b7-96f8f97e1be1@googlegroups.com> Message-ID: Hi, This is not too complicated: Lets say you have 3 slides and you want to skip to the third slide if the answer on the first one was "3". You put a label flag before the third slide, and inline after the first one says: If slide1.resp=3 then goto/jump to label1 You can also use slide1.acc if you want to jump fot correct or incorrect answer. This is the basic idea. Good luck! Maayan בתאריך 2013 8 14 22:46, מאת : > Hello, > > Our research team is new to E-Prime, and we have run into a problem. Our > experimental paradigms require what E-Prime seems to call jumping (i.e., > leading the participant to encounter different stimuli depending on his/her > response to initial stimuli). Prior to our travails with E-Prime, we knew > this process as "gating." After reading up on Jumping on this forum and in > various manuals. it seems that this procedure requires the use of a Label > (and/or Jump Label) and some manipulation of the "End Action" component of > a stimuli's properties. However, neither our Principal Investigator nor > anyone else in the lab can determine how to make this happen. I am > beginning to think it might be easiest with some InLine code writing, but I > could be incorrect because none of us really know what we're doing. If > anyone can explain how this works, it would be much appreciated. > > Scott G > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/92af2928-c6d1-46c8-a0b7-96f8f97e1be1%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CA%2B5t7Q6vYyxeQv63Lf3uAabM4iYmQnAT2T%3D7U1OHVWGaz4mV3A%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Aug 15 15:09:31 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 15 Aug 2013 11:09:31 -0400 Subject: Fragmented pictures with multiple inputs In-Reply-To: Message-ID: Unsure whether "this" refers to (1) how to run a sequence of stimuli until the subject reaches some criterion, or (2) how to have images with varying degrees of fragmentation. For (1), start by looking at the "Criterion Based Exit" example that you may download from the PST website. For (2), did you mean to have EP programmatically fragment the images for you? I think you would be hard preseed to get EP to do that. But if you can make a series of 6 fragmented image files for each base image then you could simply have EP present those using an ImageDisplay or Slide in the normal way. ----- 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 http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/13/2013 11:32 PM Tuesday, Alexandre Nobre wrote: >Hello. I'm new to E-prime and am currently trying to implement an >experiment on identification of fragmented pictures, but can't >figure out how. Each trial in the experiment should initiate with >the presentation of a fragmented picture, to which the subject must >respond verbally. If the subject identifies it correctly, the >experimenter initiates the next trial, with a different fragmented >picture. However, if the object is named incorrectly, the same >picture appears on the screen, but in a less fragmented form. Also, >I need to have six different levels of fragmentation, so that, if >the subject can`t identify the picture correctly on any level, the >next trial is initiated, with a new fragmented picture. Does anyone >know how to do this? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/520cef50.6707320a.3990.1f27SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From jpryan28 at gmail.com Thu Aug 15 17:14:55 2013 From: jpryan28 at gmail.com (John) Date: Thu, 15 Aug 2013 10:14:55 -0700 Subject: Task Event - WriteString? In-Reply-To: Message-ID: Update: We were able to get it running using inline script -- it needed a carriage return. Prior to each event, put in an inline script with: Serial.WriteString "RUN" & ebCrLf If using multiple pumps in a network, precede run with the address of the pump: "00 RUN" for the first pump, "01 RUN" for the second, etc. On Monday, August 12, 2013 11:28:34 AM UTC-4, John wrote: > > I'm running eprime pro and trying to use task events to trigger an > external device. > > When the stimulus comes on the screen, I need eprime to send the string > "RUN" to the serial port. > > In task events, I do the following: > -Add an event > -Select the serial device (COM3) > -Action: WriteString > > ...but then how to I define what the string is? (i.e. "RUN") > > > (In a terminal window, i can type "echo RUN > COM3" and that triggers the > device...I'm just trying to figure out how eprime to do that.) > > Thanks! > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/6de50f0f-a5ec-46f3-aae2-50178fb231e8%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cshalloran at gmail.com Thu Aug 15 17:35:34 2013 From: cshalloran at gmail.com (cshalloran at gmail.com) Date: Thu, 15 Aug 2013 10:35:34 -0700 Subject: Skipping Slides Message-ID: Hello, I have two experiments with the same problem. Both have a significant number of trials (68 and 96, respectively). I have programmed in a break slide after a certain n number of trials to ward off mental fatigue, which is an issue to consider with my subject population. After the final block of each, it again shows the break slide. Is it possible to skip these slides and head immediately to the goodbye slide? Or, am I stuck with the slides? Thank you, ~C.S. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/c0b787b8-ce42-4ba5-b815-1ee01969c007%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Aug 15 18:19:11 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 15 Aug 2013 14:19:11 -0400 Subject: Task Event - WriteString? In-Reply-To: <6de50f0f-a5ec-46f3-aae2-50178fb231e8@googlegroups.com> Message-ID: Great, and thanks for posting back! So the issue was not exactly with E-Prime Task Events, but with including control characters in the output string. Hmm, then you should still be able to get it to work with Task Events by defining your string plus carriage return/newline into an attribute, and then using the attribute reference in Task Events. E.g., with inline code (could do this once at the Sesson level), c.SetAttrib RunString, "RUN" & ebCrLf and then for "Custom" in Task Events use [RunString] Even better, just try either of the following strings for Custom in Task Events: RUN\n RUN\r\n The generated code shows that it properly includes the escaped control characters (\n, or \r\n), so this should work, but I need someone else to run this and confirm. So the lesson here seems to be that we have to know how to embed standard escaped control characters in our Custom strings for Task Events. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 8/15/2013 01:14 PM Thursday, John wrote: >Update: We were able to get it running using inline script -- it >needed a carriage return. > >Prior to each event, put in an inline script with: >Serial.WriteString "RUN" & ebCrLf > >If using multiple pumps in a network, precede run with the address >of the pump: "00 RUN" for the first pump, "01 RUN" for the second, etc. > > >On Monday, August 12, 2013 11:28:34 AM UTC-4, John wrote: >I'm running eprime pro and trying to use task events to trigger an >external device. > >When the stimulus comes on the screen, I need eprime to send the >string "RUN" to the serial port. > >In task events, I do the following: >-Add an event >-Select the serial device (COM3) >-Action: WriteString > >...but then how to I define what the string is? (i.e. "RUN") > > >(In a terminal window, i can type "echo RUN > COM3" and that >triggers the device...I'm just trying to figure out how eprime to do that.) > >Thanks! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/520d1bdf.6707320a.6500.0288SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From pfc.groot at gmail.com Fri Aug 16 10:36:05 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Fri, 16 Aug 2013 12:36:05 +0200 Subject: Skipping Slides In-Reply-To: Message-ID: Have a look at this topic, posted about a week ago... https://groups.google.com/forum/#!topic/e-prime/Fe2U1nXjICA Should look familiar and contains a working example script. paul On 15 August 2013 19:35, wrote: > Hello, > > I have two experiments with the same problem. Both have a significant > number of trials (68 and 96, respectively). I have programmed in a break > slide after a certain n number of trials to ward off mental fatigue, which > is an issue to consider with my subject population. After the final block > of each, it again shows the break slide. Is it possible to skip these > slides and head immediately to the goodbye slide? Or, am I stuck with the > slides? > > Thank you, > ~C.S. > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/c0b787b8-ce42-4ba5-b815-1ee01969c007%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-vbAQWckBLx5%2BvQgMN89pjzArHojy3cWDtGS%3DS%3DE%3DYkKQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpryan28 at gmail.com Fri Aug 16 15:55:29 2013 From: jpryan28 at gmail.com (John) Date: Fri, 16 Aug 2013 08:55:29 -0700 Subject: Task Event - WriteString? In-Reply-To: <520d1bdf.6707320a.6500.0288SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Correct - I was able to take out the inline and use task events by putting RUN/r/n into the custom string. 00 RUN/r/n triggers the first pump 01 RUN/r/n triggers the second pump Success! On Thursday, August 15, 2013 2:19:11 PM UTC-4, McFarlane, David wrote: > > Great, and thanks for posting back! So the issue was not exactly > with E-Prime Task Events, but with including control characters in > the output string. > > Hmm, then you should still be able to get it to work with Task Events > by defining your string plus carriage return/newline into an > attribute, and then using the attribute reference in Task > Events. E.g., with inline code (could do this once at the Sesson level), > > c.SetAttrib RunString, "RUN" & ebCrLf > > and then for "Custom" in Task Events use > > [RunString] > > Even better, just try either of the following strings for Custom in > Task Events: > RUN\n > RUN\r\n > > The generated code shows that it properly includes the escaped > control characters (\n, or \r\n), so this should work, but I need > someone else to run this and confirm. > > So the lesson here seems to be that we have to know how to embed > standard escaped control characters in our Custom strings for Task Events. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > At 8/15/2013 01:14 PM Thursday, John wrote: > >Update: We were able to get it running using inline script -- it > >needed a carriage return. > > > >Prior to each event, put in an inline script with: > >Serial.WriteString "RUN" & ebCrLf > > > >If using multiple pumps in a network, precede run with the address > >of the pump: "00 RUN" for the first pump, "01 RUN" for the second, etc. > > > > > >On Monday, August 12, 2013 11:28:34 AM UTC-4, John wrote: > >I'm running eprime pro and trying to use task events to trigger an > >external device. > > > >When the stimulus comes on the screen, I need eprime to send the > >string "RUN" to the serial port. > > > >In task events, I do the following: > >-Add an event > >-Select the serial device (COM3) > >-Action: WriteString > > > >...but then how to I define what the string is? (i.e. "RUN") > > > > > >(In a terminal window, i can type "echo RUN > COM3" and that > >triggers the device...I'm just trying to figure out how eprime to do > that.) > > > >Thanks! > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/64ff3f74-b687-4074-aeb9-9dd31662998a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpryan28 at gmail.com Fri Aug 16 15:56:34 2013 From: jpryan28 at gmail.com (John) Date: Fri, 16 Aug 2013 08:56:34 -0700 Subject: Task Event - WriteString? In-Reply-To: <64ff3f74-b687-4074-aeb9-9dd31662998a@googlegroups.com> Message-ID: (sorry, those should be backslashes 00 RUN\r\n) On Friday, August 16, 2013 11:55:29 AM UTC-4, John wrote: > > Correct - I was able to take out the inline and use task events by putting > RUN/r/n into the custom string. > > 00 RUN/r/n triggers the first pump > 01 RUN/r/n triggers the second pump > > Success! > > On Thursday, August 15, 2013 2:19:11 PM UTC-4, McFarlane, David wrote: >> >> Great, and thanks for posting back! So the issue was not exactly >> with E-Prime Task Events, but with including control characters in >> the output string. >> >> Hmm, then you should still be able to get it to work with Task Events >> by defining your string plus carriage return/newline into an >> attribute, and then using the attribute reference in Task >> Events. E.g., with inline code (could do this once at the Sesson level), >> >> c.SetAttrib RunString, "RUN" & ebCrLf >> >> and then for "Custom" in Task Events use >> >> [RunString] >> >> Even better, just try either of the following strings for Custom in >> Task Events: >> RUN\n >> RUN\r\n >> >> The generated code shows that it properly includes the escaped >> control characters (\n, or \r\n), so this should work, but I need >> someone else to run this and confirm. >> >> So the lesson here seems to be that we have to know how to embed >> standard escaped control characters in our Custom strings for Task >> Events. >> >> ----- >> David McFarlane >> E-Prime training >> online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) >> >> >> At 8/15/2013 01:14 PM Thursday, John wrote: >> >Update: We were able to get it running using inline script -- it >> >needed a carriage return. >> > >> >Prior to each event, put in an inline script with: >> >Serial.WriteString "RUN" & ebCrLf >> > >> >If using multiple pumps in a network, precede run with the address >> >of the pump: "00 RUN" for the first pump, "01 RUN" for the second, etc. >> > >> > >> >On Monday, August 12, 2013 11:28:34 AM UTC-4, John wrote: >> >I'm running eprime pro and trying to use task events to trigger an >> >external device. >> > >> >When the stimulus comes on the screen, I need eprime to send the >> >string "RUN" to the serial port. >> > >> >In task events, I do the following: >> >-Add an event >> >-Select the serial device (COM3) >> >-Action: WriteString >> > >> >...but then how to I define what the string is? (i.e. "RUN") >> > >> > >> >(In a terminal window, i can type "echo RUN > COM3" and that >> >triggers the device...I'm just trying to figure out how eprime to do >> that.) >> > >> >Thanks! >> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/0f9f914c-f66f-458d-ad03-6017fb199861%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alpnobre at gmail.com Fri Aug 16 23:25:50 2013 From: alpnobre at gmail.com (Alexandre Nobre) Date: Fri, 16 Aug 2013 16:25:50 -0700 Subject: Fragmented pictures with multiple inputs In-Reply-To: Message-ID: Hi, David, thank you for the reply. I'm sorry for not being clear about what I meant. I do have the fragmented pictures, actually. My main problem is how to repeat the response slide in a single trial until the participant identifies the picture correctly (which he does verbally - the key press for repeating the same picture, but in a less fragmented form, or for jumping to the next picture (trial) is done by the experimenter). I need to have the slide change the image it uses every time the participant emits a wrong response, until they get it right or the last fragmented form has been displayed. I've been able to insert several slides and masks in the trial procedure, so that, if the participant emits a wrong response, the trial continues on to the next slide, which presents the same picture in a less fragmented form. If they identify the picture correctly, then he trial ends using a label. The problem with this is that, because this task is done simultaneously with a dichotic listening task, the number of attributes specified in the trial list is becoming enormous (one sound for each slide, as well as one image). I imagine that this can be done with a Inline in a less sloppy way, but I'm not sure how to do this. I checked out the "criterion based exit" sample you recommended, but, from what I've understood, in the sample the trials are simply repeated, but not modified as the experiment goes on, so I've been unable to transfer it to my experiment. On Wednesday, August 14, 2013 12:32:38 AM UTC-3, Alexandre Nobre wrote: > > Hello. I'm new to E-prime and am currently trying to implement an > experiment on identification of fragmented pictures, but can't figure out > how. Each trial in the experiment should initiate with the presentation of > a fragmented picture, to which the subject must respond verbally. If the > subject identifies it correctly, the experimenter initiates the next trial, > with a different fragmented picture. However, if the object is named > incorrectly, the same picture appears on the screen, but in a less > fragmented form. Also, I need to have six different levels of > fragmentation, so that, if the subject can`t identify the picture correctly > on any level, the next trial is initiated, with a new fragmented picture. > Does anyone know how to do this? > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/3b04c2be-ee11-4462-afa4-739f3d0a3b83%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahuvayochevedsegal at gmail.com Sun Aug 18 14:30:35 2013 From: ahuvayochevedsegal at gmail.com (gugs) Date: Sun, 18 Aug 2013 07:30:35 -0700 Subject: Autoincrement subject number in startupinfo editor Message-ID: Hi All, I have to create a task that will be running on computers at essentially an expo, which will allows passersby to test out their chops on a shortened version of a cognitive task. Given that the people staffing the booth will not be able to enter subject numbers I was hoping I could make it as "independently" running as possible. I googled the topic of autoincrementing subject numbers and came across the "What's new" guide which talks about this. There is very little information on the knowledge base (the topic page related to the startupinfo editor is under construction). I tried to set it up but it keeps on kicking up errors. I am not sure what text to put under the values column of the "subject"property? Does anyone have any ideas? Regards, Ahuva -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/e83e2b86-93e4-47d4-a1ff-57423ed0aa9d%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Untitled.png Type: image/png Size: 40561 bytes Desc: not available URL: From ndlabmanager at gmail.com Thu Aug 22 17:10:18 2013 From: ndlabmanager at gmail.com (Stephen Mattingly) Date: Thu, 22 Aug 2013 10:10:18 -0700 Subject: underline certain characters/words within text display Message-ID: Hi All, This seems pretty simple, but i am just learning that Eprime has components to allow you to add code. So my question is: is it possible to add emphasis within a text slide to certain words. e.g. "it is *IMPORTANT* that you remember to press 0 or 1. " "there is a difference between *Remember* and *Know*." etc it seems that the property menus are global - either everything in the text slide is underlined (italicized, struck through ,etc), or nothing is. using ctrl+U while highlighting a subset gives the error noise. ultimately, I've got an idea for adding multiple text boxes within a slide, some with underline and some without, but I feel like this will be very difficult to properly line it up - especially with the auto-snap feature. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/0f80fe6c-30e4-47d8-9ade-b0a3788c3b3f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdwss at 163.com Sun Aug 25 20:55:32 2013 From: wdwss at 163.com (wdwss) Date: Sun, 25 Aug 2013 13:55:32 -0700 Subject: Partial execution of TrialList Message-ID: Good afternoon, Does anyone know the inline code to allow the procedure to go through a selection of the levels (exemplars) in a TrialList? Thank you! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/c389becb-2bf9-4c0f-9543-c765c2f09d07%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Aug 26 20:06:51 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 26 Aug 2013 16:06:51 -0400 Subject: underline certain characters/words within text display In-Reply-To: <0f80fe6c-30e4-47d8-9ade-b0a3788c3b3f@googlegroups.com> Message-ID: Yes, using multiple text boxes in a Slide is the regular way to get around this, although clumsy. Ultimately, you could do everything using Canvas.Text, etc. (see the Canvas topic in the E-Prime Help facility), although this is not simple (e.g., you will have to do your own word-wrapping). ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 8/22/2013 01:10 PM Thursday, Stephen Mattingly wrote: >Hi All, > > This seems pretty simple, but i am just learning that Eprime has > components to allow you to add code. So my question is: is it > possible to add emphasis within a text slide to certain words. e.g. > >"it is IMPORTANT that you remember to press 0 or 1. " > >"there is a difference between Remember and Know." > >etc > >it seems that the property menus are global - either everything in >the text slide is underlined (italicized, struck through ,etc), or >nothing is. using ctrl+U while highlighting a subset gives the error noise. > > > >ultimately, I've got an idea for adding multiple text boxes within a >slide, some with underline and some without, but I feel like this >will be very difficult to properly line it up - especially with the >auto-snap feature. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/521bb563.0286320a.4f5e.54d8SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Mon Aug 26 20:09:24 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 26 Aug 2013 16:09:24 -0400 Subject: Autoincrement subject number in startupinfo editor In-Reply-To: Message-ID: Ahuva, If PST has advertised this capacity, then you should contact their support to get it working for you (see below). Or, see if you can program this using AutoIt, http://www.autoitscript.com/site/autoit . ----- 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 http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/18/2013 10:30 AM Sunday, gugs wrote: >Hi All, > >I have to create a task that will be running on computers at >essentially an expo, which will allows passersby to test out their >chops on a shortened version of a cognitive task. Given that the >people staffing the booth will not be able to enter subject numbers >I was hoping I could make it as "independently" running as >possible. I googled the topic of autoincrementing subject numbers >and came across the "What's new" guide which talks about >this. There is very little information on the knowledge base (the >topic page related to the startupinfo editor is under >construction). I tried to set it up but it keeps on kicking up >errors. I am not sure what text to put under the values column of >the "subject"property? Does anyone have any ideas? > >Regards, > >Ahuva -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/521bb5fb.665d320a.3753.54f8SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Mon Aug 26 20:22:38 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 26 Aug 2013 16:22:38 -0400 Subject: Fragmented pictures with multiple inputs In-Reply-To: <3b04c2be-ee11-4462-afa4-739f3d0a3b83@googlegroups.com> Message-ID: First, another general point about online disussions -- when you post a reply, *please* also include the previous messages from *both* parties, so that your correspondent can readily recall the proper context (look at my reply as an example). Just a little courtesy to spare your correspondent and other readers some work. So, the "criterion based exit" example shows you how to create a simple loop, now you just need to modify the stimulus each time through the loop. You could do that just by using an attribute reference in your stimulus (e.g., "[FragFile].bmp", and then using c.SetAttrib to set the attribute each time through the loop (see the Context.SetAttrib in the E-Basic Help facility) according to whatever algorithm you devise. You should be able to take it from there. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/16/2013 07:25 PM Friday, Alexandre Nobre wrote: >Hi, David, thank you for the reply. I'm sorry for not being clear >about what I meant. I do have the fragmented pictures, actually. My >main problem is how to repeat the response slide in a single trial >until the participant identifies the picture correctly (which he >does verbally - the key press for repeating the same picture, but in >a less fragmented form, or for jumping to the next picture (trial) >is done by the experimenter). I need to have the slide change the >image it uses every time the participant emits a wrong response, >until they get it right or the last fragmented form has been displayed. > >I've been able to insert several slides and masks in the trial >procedure, so that, if the participant emits a wrong response, the >trial continues on to the next slide, which presents the same >picture in a less fragmented form. If they identify the picture >correctly, then he trial ends using a label. The problem with this >is that, because this task is done simultaneously with a dichotic >listening task, the number of attributes specified in the trial list >is becoming enormous (one sound for each slide, as well as one >image). I imagine that this can be done with a Inline in a less >sloppy way, but I'm not sure how to do this. I checked out the >"criterion based exit" sample you recommended, but, from what I've >understood, in the sample the trials are simply repeated, but not >modified as the experiment goes on, so I've been unable to transfer >it to my experiment. > >On Wednesday, August 14, 2013 12:32:38 AM UTC-3, Alexandre Nobre wrote: >Hello. I'm new to E-prime and am currently trying to implement an >experiment on identification of fragmented pictures, but can't >figure out how. Each trial in the experiment should initiate with >the presentation of a fragmented picture, to which the subject must >respond verbally. If the subject identifies it correctly, the >experimenter initiates the next trial, with a different fragmented >picture. However, if the object is named incorrectly, the same >picture appears on the screen, but in a less fragmented form. Also, >I need to have six different levels of fragmentation, so that, if >the subject can`t identify the picture correctly on any level, the >next trial is initiated, with a new fragmented picture. Does anyone >know how to do this? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/521bb939.0286320a.4f5e.5545SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From robert.gutzwiller at gmail.com Fri Aug 30 20:29:10 2013 From: robert.gutzwiller at gmail.com (Robert Gutzwiller) Date: Fri, 30 Aug 2013 13:29:10 -0700 Subject: drawing lines using the mouse over experimenter-displayed images Message-ID: Hi all, New to the in-depth programming of Eprime, and all I want to do is allow participants to use the mouse to draw 3 lines visible on-screen over an image that is presented. The basic idea would be to have them click on the initiation point for the line, and then click where they want the line to end. I've tried to go through the help material and the forums, and cobbled together this little bit of inline code that currently sits immediately before my image. Can someone point me in the right direction for correcting this? Dim cnvs As Canvas Set cnvs = Display.Canvas Dim xPos, yPos, xPosTwo, yPosTwo As Integer Dim counter As Integer counter = 0 Mouse.ShowCursor True Dim rdMouse1 As MouseResponseData Dim mouseClicks As Integer If counter < 3 Then mouseClicks = Fixation.InputMasks.Item(1).Responses.Count If mouseClicks > 0 Then Set rdMouse1 = CMouseResponseData(Fixation.InputMasks.Responses(1)) xPos = rdMouse1.CursorX yPos = rdMouse1.CursorY sleep 50 set rdMouse1 = CMouseResponseData(Fixation.InputMasks.Responses(2)) xPosTwo = rdMouse1.CursorX yPosTwo = rdMouse1.CursorY END IF cnvs.PenWidth = 30 cnvs.PenColor = CColor ("red") cnvs.Line xPos, yPos, xPosTwo, yPosTwo counter = counter + 1 END IF Thanks! -Robert -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/4464893c-ff01-4661-b5f6-7f617b37cc5a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alpnobre at gmail.com Sat Aug 31 20:27:22 2013 From: alpnobre at gmail.com (Alexandre Nobre) Date: Sat, 31 Aug 2013 13:27:22 -0700 Subject: Fragmented pictures with multiple inputs In-Reply-To: <521bb939.0286320a.4f5e.5545SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: That worked well. Thank you David! On Monday, August 26, 2013 5:22:38 PM UTC-3, McFarlane, David wrote: > > First, another general point about online disussions -- when you post > a reply, *please* also include the previous messages from *both* > parties, so that your correspondent can readily recall the proper > context (look at my reply as an example). Just a little courtesy to > spare your correspondent and other readers some work. > > So, the "criterion based exit" example shows you how to create a > simple loop, now you just need to modify the stimulus each time > through the loop. You could do that just by using an attribute > reference in your stimulus (e.g., "[FragFile].bmp", and then using > c.SetAttrib to set the attribute each time through the loop (see the > Context.SetAttrib in the E-Basic Help facility) according to whatever > algorithm you devise. You should be able to take it from there. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) PST's trained staff > take any and all questions at > http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/16/2013 07:25 PM Friday, Alexandre Nobre wrote: > >Hi, David, thank you for the reply. I'm sorry for not being clear > >about what I meant. I do have the fragmented pictures, actually. My > >main problem is how to repeat the response slide in a single trial > >until the participant identifies the picture correctly (which he > >does verbally - the key press for repeating the same picture, but in > >a less fragmented form, or for jumping to the next picture (trial) > >is done by the experimenter). I need to have the slide change the > >image it uses every time the participant emits a wrong response, > >until they get it right or the last fragmented form has been displayed. > > > >I've been able to insert several slides and masks in the trial > >procedure, so that, if the participant emits a wrong response, the > >trial continues on to the next slide, which presents the same > >picture in a less fragmented form. If they identify the picture > >correctly, then he trial ends using a label. The problem with this > >is that, because this task is done simultaneously with a dichotic > >listening task, the number of attributes specified in the trial list > >is becoming enormous (one sound for each slide, as well as one > >image). I imagine that this can be done with a Inline in a less > >sloppy way, but I'm not sure how to do this. I checked out the > >"criterion based exit" sample you recommended, but, from what I've > >understood, in the sample the trials are simply repeated, but not > >modified as the experiment goes on, so I've been unable to transfer > >it to my experiment. > > > >On Wednesday, August 14, 2013 12:32:38 AM UTC-3, Alexandre Nobre wrote: > >Hello. I'm new to E-prime and am currently trying to implement an > >experiment on identification of fragmented pictures, but can't > >figure out how. Each trial in the experiment should initiate with > >the presentation of a fragmented picture, to which the subject must > >respond verbally. If the subject identifies it correctly, the > >experimenter initiates the next trial, with a different fragmented > >picture. However, if the object is named incorrectly, the same > >picture appears on the screen, but in a less fragmented form. Also, > >I need to have six different levels of fragmentation, so that, if > >the subject can`t identify the picture correctly on any level, the > >next trial is initiated, with a new fragmented picture. Does anyone > >know how to do this? > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/fb4e63d2-80fa-40fc-83a7-86d430767c2b%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From argaud.soizic at gmail.com Mon Aug 5 11:12:43 2013 From: argaud.soizic at gmail.com (Soizic Argaud) Date: Mon, 5 Aug 2013 13:12:43 +0200 Subject: RT on "moving" scales Message-ID: Hello everyone, In a part of my experiment, participants have to evaluate stimuli on different continuous scales from 0 to 100 % each. To allow them to see their answers (they move the cursor of each scale from 0 to 100 % directly clicking where they want on the scale), I use a loop which "send" them in the beginning of the slide where the scales are at every mouse click until they are satisfied with their responses. When they are, they just have to click on a "OK, next" button to see the next stimuli and continue the experiment... I wonder what mean the RT and RTTime exactly ? Is RT the real time participants take to answer the question, I mean the time from the apparition of the slide with scales to the click on the "OK, next" button (regardless of the number of clicks and, therefore, the number of times that the slide with scales is "loaded" again) ? Thank you so much if you can help me on that point, Best, Soizic -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAMripVFpmLjN7FhjOSBACNuFK2e5vhfKiPt0acJGYKrAnCBsUQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From argaud.soizic at gmail.com Mon Aug 5 11:50:48 2013 From: argaud.soizic at gmail.com (Soizic Argaud) Date: Mon, 5 Aug 2013 13:50:48 +0200 Subject: Timing issue - movie / sound Message-ID: Hello everybody, For my experiment, I present on the screen (full screen) short movies without sound. Because I film the participants during the experiment and work on the video files obtained (I am obviously interested on the moment when they see the movies), I add a sound on the same slide where short movies are and record this sound on the video files. I wonder if there is a kind of time gap between the "presentations" of the sounds and those of the movies in E-Prime ? In the same time, I record electrophysiological signals from the participants. I use E-Prime to send triggers on this recordings allowing me to target the apparition of the short movie and I also record the sound on an other channel (in this way, I can consider the sound like "sound trigger" which should correspond to the E-Prime trigger). I see on this biological recording that there is a difference of nearly 50 ms between the E-Prime trigger and the "sound" one whereas the E-Prime trigger should correspond to the apparition of the slide where there are both the short movie and the sound. Is it possible to have a better timing in this configuration ? I hope I am clear enough... Thank you so much if you can bring me an answer about that, Best, Soizic -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAMripVHFmCjzf75Xy_c4GzbDT%2BCwb%2ByJwDh%3DkTcSs5%2BG00H1wg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From argaud.soizic at gmail.com Mon Aug 5 12:00:22 2013 From: argaud.soizic at gmail.com (Soizic Argaud) Date: Mon, 5 Aug 2013 14:00:22 +0200 Subject: E-Prime on one screen / something else on the other Message-ID: Hello everybody, (Yes, it's my third consecutive post...) I know that it's possible with E-Prime to send one experiment on multiple screens but, if I have 2 screens with one computer, is it possible to present an experiment using E-Prime on one of the two screens and on the other one do something else (a completely different application than E-Prime) in the same time ? Thank you very much, Best, Soizic -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAMripVHMbN7PwUDkeRivBnEo%2B%3D%2B1NBtyqO-xB73E492YXhhgsw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Mon Aug 5 13:43:29 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 5 Aug 2013 15:43:29 +0200 Subject: E-Prime on one screen / something else on the other In-Reply-To: Message-ID: This is possible, but I would strongly advise not do do this. There are several issues when running another application on the foreground on a second display: 1) EPrime uses a non-colaborative display mode (DirectX). Any mouse or keyboard activity on the second screen will cause E-Run to crash. You can easily verify this. Also, the desktop of the second screen often shifts offscreen when E-Run changes display modes. 2) Timing could become an issue because EPrime fiddles with the application priorities and windows scheduler to increase timing accuracy. The other program might respond slow. best paul On 5 August 2013 14:00, Soizic Argaud wrote: > Hello everybody, > > (Yes, it's my third consecutive post...) > > I know that it's possible with E-Prime to send one experiment on multiple > screens but, if I have 2 screens with one computer, is it possible to > present an experiment using E-Prime on one of the two screens and on the > other one do something else (a completely different application than > E-Prime) in the same time ? > > Thank you very much, > Best, > > Soizic > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/CAMripVHMbN7PwUDkeRivBnEo%2B%3D%2B1NBtyqO-xB73E492YXhhgsw%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-t%3DjySenys7hoHYcT_k%2BgyC-er2KMKZ1D7RX9aWF6UQfw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From argaud.soizic at gmail.com Mon Aug 5 17:51:07 2013 From: argaud.soizic at gmail.com (Soizic Argaud) Date: Mon, 5 Aug 2013 19:51:07 +0200 Subject: E-Prime on one screen / something else on the other In-Reply-To: Message-ID: Thank you Paul, I'll take your advice ! Best, Soizic 2013/8/5 Paul Groot > This is possible, but I would strongly advise not do do this. There are > several issues when running another application on the foreground on a > second display: > > 1) EPrime uses a non-colaborative display mode (DirectX). Any mouse or > keyboard activity on the second screen will cause E-Run to crash. You can > easily verify this. Also, the desktop of the second screen often shifts > offscreen when E-Run changes display modes. > > 2) Timing could become an issue because EPrime fiddles with the > application priorities and windows scheduler to increase timing accuracy. > The other program might respond slow. > > best > paul > > > > > On 5 August 2013 14:00, Soizic Argaud wrote: > >> Hello everybody, >> >> (Yes, it's my third consecutive post...) >> >> I know that it's possible with E-Prime to send one experiment on multiple >> screens but, if I have 2 screens with one computer, is it possible to >> present an experiment using E-Prime on one of the two screens and on the >> other one do something else (a completely different application than >> E-Prime) in the same time ? >> >> Thank you very much, >> Best, >> >> Soizic >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/e-prime/CAMripVHMbN7PwUDkeRivBnEo%2B%3D%2B1NBtyqO-xB73E492YXhhgsw%40mail.gmail.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/CAKAdR-t%3DjySenys7hoHYcT_k%2BgyC-er2KMKZ1D7RX9aWF6UQfw%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAMripVFTvBU0JyvxR8F9jdvSzCT70_FftFVZqMkiv20A-7pLPQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From swathi.bwh at gmail.com Mon Aug 5 18:29:28 2013 From: swathi.bwh at gmail.com (Swathi) Date: Mon, 5 Aug 2013 11:29:28 -0700 Subject: Calling and Running an exe in background Message-ID: Hello everyone, I am trying to call a software called viewpoint (that records eye movement) through E prime. I would like to launch the software through eprime(& let it hang around in the background), run my eprime experiment and then when close the software once my experiment is completed. I have seen example of suspending eprime and resuming it but I need the e prime to function normally while the software is running in the background. Is this possible via e prime. Can i call the dll? Thank you, Swathi -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/3b56f717-9ebe-4dae-959d-98c3344de437%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Mon Aug 5 19:37:59 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 5 Aug 2013 21:37:59 +0200 Subject: Calling and Running an exe in background In-Reply-To: <3b56f717-9ebe-4dae-959d-98c3344de437@googlegroups.com> Message-ID: Calling a DLL function is possible after predefining the required function(s) using the Declare statement. I don't think it would be possible to call DLL functions that use graphical devices in any way, so that may limit your options. Note that running an application is not the same thing as calling a DLL function, so I'm not sure how viewpoint could be integrated. I think there are application suspend and resume examples available on the PST support site that could be used as a starting point if you're integrating a regular application instead of a DLL. If the viewport application (or DLL) supports COM interfaces, that would also be an option. (See one of my previous post on interfacing with matlab.) Best paul On 5 August 2013 20:29, Swathi wrote: > Hello everyone, > > I am trying to call a software called viewpoint (that records eye > movement) through E prime. I would like to launch the software through > eprime(& let it hang around in the background), run my eprime experiment > and then when close the software once my experiment is completed. > > I have seen example of suspending eprime and resuming it but I need the e > prime to function normally while the software is running in the background. > > Is this possible via e prime. Can i call the dll? > > Thank you, > Swathi > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/3b56f717-9ebe-4dae-959d-98c3344de437%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-sF7MKphg8rqF9O6SBFLzUtzscM-H5OnGgwfkMa%3DTNB%2BA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Aug 6 14:17:49 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 6 Aug 2013 10:17:49 -0400 Subject: RT on "moving" scales In-Reply-To: Message-ID: Soizic, In general, the RT logged for a stimulus object corresponds to the time from the onset of the stimulus until the final or "terminating" response to that stimulus, while RTTime corresponds to the time from the start of the experiment session until the final or "terminating" response to that stimulus. But in your specific case, you have some intervening inline code controlling the processing of subject responses, and in that case RT means whatever you programmed it to mean. You just have to look at your custom program code and figure it out. ----- 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 http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/5/2013 07:12 AM Monday, Soizic Argaud wrote: >In a part of my experiment, participants have to evaluate stimuli on >different continuous scales from 0 to 100 % each. To allow them to >see their answers (they move the cursor of each scale from 0 to 100 >% directly clicking where they want on the scale), I use a loop >which "send" them in the beginning of the slide where the scales are >at every mouse click until they are satisfied with their responses. >When they are, they just have to click on a "OK, next" button to see >the next stimuli and continue the experiment... > >I wonder what mean the RT and RTTime exactly ? Is RT the real time >participants take to answer the question, I mean the time from the >apparition of the slide with scales to the click on the "OK, next" >button (regardless of the number of clicks and, therefore, the >number of times that the slide with scales is "loaded" again) ? > >Thank you so much if you can help me on that point, >Best, > >Soizic -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/520105ac.ea90ec0a.6a76.1175SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Tue Aug 6 14:28:58 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 6 Aug 2013 10:28:58 -0400 Subject: Timing issue - movie / sound In-Reply-To: Message-ID: Soizic, The Knowledge Base at the PST website has some information about this issue. But ultimitely, you need to use some external calibrating equipment (e.g., oscilloscope, or Black Box Toolkit (http://www.blackboxtoolkit.com )) to measure this all for yourself. E.g., put a photosensor on your display device, a microphone up to your sound device, and measure the actual delays for your equipment. The PST website has some advice on how to minimize sound latency in general. You also want to minimize the latency between movie onset and sound onset, for that you should use a Slide to start the movie and sound at the same time. Now, if you merely want to add some synchronizing signals for your video and physiological recordings, then you might try another approach. In particular, use WritePort, OnsetSignal..., or Task Events to operate a low-latency digital signal through something like a parallel port, and pipe that directly into your electrophysiology or video -- if need be, use that signal to operate the flashing of an LED to record on the video, etc. You should be able to think of something. ----- 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 http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/5/2013 07:50 AM Monday, Soizic Argaud wrote: >For my experiment, I present on the screen (full screen) short >movies without sound. Because I film the participants during the >experiment and work on the video files obtained (I am obviously >interested on the moment when they see the movies), I add a sound on >the same slide where short movies are and record this sound on the video files. > >I wonder if there is a kind of time gap between the "presentations" >of the sounds and those of the movies in E-Prime ? > >In the same time, I record electrophysiological signals from the >participants. I use E-Prime to send triggers on this recordings >allowing me to target the apparition of the short movie and I also >record the sound on an other channel (in this way, I can consider >the sound like "sound trigger" which should correspond to the E-Prime trigger). > >I see on this biological recording that there is a difference of >nearly 50 ms between the E-Prime trigger and the "sound" one whereas >the E-Prime trigger should correspond to the apparition of the slide >where there are both the short movie and the sound. > >Is it possible to have a better timing in this configuration ? > >I hope I am clear enough... >Thank you so much if you can bring me an answer about that, > >Best, >Soizic -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52010848.e5c2ec0a.34d3.124bSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From swathi.bwh at gmail.com Tue Aug 6 14:50:01 2013 From: swathi.bwh at gmail.com (Swathi) Date: Tue, 6 Aug 2013 07:50:01 -0700 Subject: Calling and Running an exe in background In-Reply-To: Message-ID: Thanks Paul for your inputs. Currently, we have Viewpoint application running in the background and then we start our Eprime experiment. With in the Eprime I have an inline code calling the Viewpoint DLL to start recording the eye movie and stop once the experiment is finished. But we would like to open and close viewpoint application automatically via Eprime so that we dont loose time in between our scans. Suspend and resume example, as I mentioned earlier does not serve this purpose. Meanwhile, I will look into the COM interface option via Viewpoint and your previous post about matlab. Thanks again, Swathi On Monday, August 5, 2013 3:37:59 PM UTC-4, Paul Groot wrote: > > Calling a DLL function is possible after predefining the required > function(s) using the Declare statement. I don't think it would be possible > to call DLL functions that use graphical devices in any way, so that may > limit your options. Note that running an application is not the same thing > as calling a DLL function, so I'm not sure how viewpoint could be > integrated. I think there are application suspend and resume examples > available on the PST support site that could be used as a starting point if > you're integrating a regular application instead of a DLL. If the viewport > application (or DLL) supports COM interfaces, that would also be an option. > (See one of my previous post on interfacing with matlab.) > > Best > paul > > > On 5 August 2013 20:29, Swathi > wrote: > >> Hello everyone, >> >> I am trying to call a software called viewpoint (that records eye >> movement) through E prime. I would like to launch the software through >> eprime(& let it hang around in the background), run my eprime experiment >> and then when close the software once my experiment is completed. >> >> I have seen example of suspending eprime and resuming it but I need the e >> prime to function normally while the software is running in the background. >> >> Is this possible via e prime. Can i call the dll? >> >> Thank you, >> Swathi >> >> -- >> You received this message because you are subscribed 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/3b56f717-9ebe-4dae-959d-98c3344de437%40googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/4d03953c-399a-4a82-b60e-818614d20479%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From erin.spurgeon at gallaudet.edu Tue Aug 6 15:07:29 2013 From: erin.spurgeon at gallaudet.edu (erin.spurgeon at gallaudet.edu) Date: Tue, 6 Aug 2013 08:07:29 -0700 Subject: Issues with running Eprime on an external touch screen monitor connected via USB Message-ID: I am having an issue running Eprime via a small touch screen connected via USB port. We are using the following 10.1" touch screen monitor (without the stand) from Mimo Monitors: http://www.mimomonitors.com/products/mimo-magic-monster-10-1-inch-resistive-touchscreen-monitor This monitor connects to our E-Prime PC via USB. The Mimo monitor will successfully mirror the displays of our PC until we run our experiment in E-Prime, then the Mimo screen goes black. I am trying to isolate the problem as either an issue with the Mimo driver, or the connection to E-Prime via USB. Has anyone reading this post used a Mimo monitor successfully in their E-Prime experiments? Or, has anyone had a similar problem using an external monitor with their E-Prime set up that connects via a USB? Can anyone offer suggestions for a touch screen monitor that approximately replicates the physical dimensions of an iPad, that also works successfully with E-Prime 2.0 Professional? Or any suggestions for troubleshooting? Thank you for your help. Erin -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/acb78d66-8f37-488d-82ca-536b581679d6%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kgoodyea at gmail.com Tue Aug 6 18:05:25 2013 From: kgoodyea at gmail.com (Kim Goodyear) Date: Tue, 6 Aug 2013 11:05:25 -0700 Subject: E-Prime Loop for a counting variable Message-ID: If anyone could help me with a loop in the background for my counter that would be awesome. I have 5 slides that go through the same sequence eight times. I want my attribute Total to keep track each time and then subtract according to the previous round. I don't want my total for each row in the attribute to be 30, 29, 30 etc. I want it to start at 30 and the last attribute to be 24 or however much they got wrong. Here is my script: Dim Wrong as integer Dim Total as integer Dim Rightt as integer Dim Start as integer Counter = 30 Wrong = -1 Rightt = 0 If c.GetAttrib ("CorrectAnswer") = AdviceDisplay.RESP then Total = Counter + Rightt Else Total = Counter + Wrong end if c.SetAttrib "CorrectAnswer", Total -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/3b35a730-f4c9-4a26-8561-0b0565ef1d78%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kyleheidtman2012 at u.northwestern.edu Wed Aug 7 14:30:33 2013 From: kyleheidtman2012 at u.northwestern.edu (kyleheidtman2012 at u.northwestern.edu) Date: Wed, 7 Aug 2013 07:30:33 -0700 Subject: Turn Time Audit on For Everything Message-ID: Hi I'm new to e-basic, so I don't know if this is possible, but is there some way to write an inline file that will turn Time Audit on for everything (I'm doing an fMRI study, so it's very important to track all the timing information). I looked through the generate code and found what appears to be the code that turns on time audit for an individual object (in this case a TextDisplay called PreBlockInstructions) PreBlockInstructions.Run c.SetAttrib PreBlockInstructions.Name & ebDot & ebLogNameOnsetDelay, PreBlockInstructions.OnsetDelay c.SetAttrib PreBlockInstructions.Name & ebDot & ebLogNameOnsetTime, PreBlockInstructions.OnsetTime c.SetAttrib PreBlockInstructions.Name & ebDot & ebLogNameDurationError, PreBlockInstructions.DurationError c.SetAttrib PreBlockInstructions.Name & ebDot & ebLogNameOnsetToOnsetTime, PreBlockInstructions.OnsetToOnsetTime I would like to make an inline that iterates over every declared variable of the TextDisplay type and call code similar to the above on each of those TextDisplays. Is this possible/feasible? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/354e96dd-90fd-4bdc-bf16-0f0827ceec91%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cshalloran at gmail.com Wed Aug 7 17:29:15 2013 From: cshalloran at gmail.com (cshalloran at gmail.com) Date: Wed, 7 Aug 2013 10:29:15 -0700 Subject: How to schedule "breaks" within a block? Message-ID: Hello Community, I have no coding background. I am brand new to E-Prime, and I need help. I am designing an experiment in which I have 48 unique samples, weighted 2, random order, that I wish to separate into 4 equal "blocks" in order to give our volunteer subjects cognitive breaks from the task. That is, I want a break screen with no time limit that the subject can leave by pressing {SPACE} and then continue with the next randomized sample (numbers 25, 49, or 73, as appropriate), randomized as if that break screen was not there and the subject was running through the 96 samples consecutively. I know I could program 4 blocks to each be followed by my desired break screen, but this would result in a constraint on the randomness of the sample presentation that I wish to avoid. Is it possible to code into the script something to the effect: After Sample = 24, 48, and 72, then Go To BreakScreen. After {SPACE}, then Go To Sample 25, 49, and 73, respectively. If such is possible, can you help me learn how to write this code and then insert it properly into the script generated by E-Studio? Thank you, ~C.S. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/db1a3e09-adfd-4288-800c-0cc545189af8%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Wed Aug 7 20:16:13 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 7 Aug 2013 22:16:13 +0200 Subject: How to schedule "breaks" within a block? In-Reply-To: Message-ID: it should be possible to do this without any coding magic. Just create two levels using a block list and trial list (like in a 'basic' paradigm). Then set the number of block samples to 4 (using weight 4 for example). The trial list should contain all 2x48 trials, using random selection as you wish. The trick is to terminate the trial list after playing 24 trials by setting the 'exit list' property to 24 samples. That's it. The next thing is to create a proper pause screen. Although this can be done by including a slide or text object after the trial list, you need another small trick to make sure that the pause screen is not displayed after the last block. My preferred solution is to use a slide with two (or more) tab pages. One tab contains the text that should be displayed between blocks, while another page is used to show after the last block. Then add a column to the BlockList to specify the ActiveState property of pause slide (using the [] syntax). More complex designs might require other techniques, but in most cases switching the ActiveState property of the slide will do. Have a look at the attached example script to see how I did this from scratch (in only two minutes) using a fresh 'basic' script. best paul On 7 August 2013 19:29, wrote: > Hello Community, > > I have no coding background. I am brand new to E-Prime, and I need help. > > I am designing an experiment in which I have 48 unique samples, weighted > 2, random order, that I wish to separate into 4 equal "blocks" in order to > give our volunteer subjects cognitive breaks from the task. That is, I want > a break screen with no time limit that the subject can leave by pressing > {SPACE} and then continue with the next randomized sample (numbers 25, 49, > or 73, as appropriate), randomized as if that break screen was not there > and the subject was running through the 96 samples consecutively. I know I > could program 4 blocks to each be followed by my desired break screen, but > this would result in a constraint on the randomness of the sample > presentation that I wish to avoid. > > Is it possible to code into the script something to the effect: > > After Sample = 24, 48, and 72, then Go To BreakScreen. > After {SPACE}, then Go To Sample 25, 49, and 73, respectively. > > If such is possible, can you help me learn how to write this code and then > insert it properly into the script generated by E-Studio? > > Thank you, > ~C.S. > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/db1a3e09-adfd-4288-800c-0cc545189af8%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uvFbGjj7oUqTwRKSqkUXt_1kmRAuM8MzEhm7Jz7wLnWw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: BlocksWithPause.es2 Type: application/octet-stream Size: 109166 bytes Desc: not available URL: From mcfarla9 at msu.edu Thu Aug 8 16:09:13 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 8 Aug 2013 12:09:13 -0400 Subject: How to schedule "breaks" within a block? In-Reply-To: Message-ID: You might also do this (with no code) using a main List, run in Sequential order with different rows for trials and rest breaks (each with appropriate Weights), and have the trial rows call on a single nested List that contains trial info. See the Nested List tutorial in Appendix C of the User's Guide that came with E-Prime, or browse through the Samples on the PST website. But Paul's example looks good, so give that a try. -- David McFarlane At 8/7/2013 04:16 PM Wednesday, Paul Groot wrote: >it should be possible to do this without any coding magic. Just >create two levels using a block list and trial list (like in a >'basic' paradigm). Then set the number of block samples to 4 (using >weight 4 for example). The trial list should contain all 2x48 >trials, using random selection as you wish. The trick is to >terminate the trial list after playing 24 trials by setting the >'exit list' property to 24 samples. That's it. > >The next thing is to create a proper pause screen. Although this can >be done by including a slide or text object after the trial list, >you need another small trick to make sure that the pause screen is >not displayed after the last block. My preferred solution is to use >a slide with two (or more) tab pages. One tab contains the text that >should be displayed between blocks, while another page is used to >show after the last block. Then add a column to the BlockList to >specify the ActiveState property of pause slide (using the [] >syntax). More complex designs might require other techniques, but in >most cases switching the ActiveState property of the slide will do. > >Have a look at the attached example script to see how I did this >from scratch (in only two minutes) using a fresh 'basic' script. > >best >paul > > > > >On 7 August 2013 19:29, ><cshalloran at gmail.com> wrote: >Hello Community, > >I have no coding background. I am brand new to E-Prime, and I need help. > >I am designing an experiment in which I have 48 unique samples, >weighted 2, random order, that I wish to separate into 4 equal >"blocks" in order to give our volunteer subjects cognitive breaks >from the task. That is, I want a break screen with no time limit >that the subject can leave by pressing {SPACE} and then continue >with the next randomized sample (numbers 25, 49, or 73, as >appropriate), randomized as if that break screen was not there and >the subject was running through the 96 samples consecutively. I know >I could program 4 blocks to each be followed by my desired break >screen, but this would result in a constraint on the randomness of >the sample presentation that I wish to avoid. > >Is it possible to code into the script something to the effect: > >After Sample = 24, 48, and 72, then Go To BreakScreen. >After {SPACE}, then Go To Sample 25, 49, and 73, respectively. > >If such is possible, can you help me learn how to write this code >and then insert it properly into the script generated by E-Studio? > >Thank you, >~C.S. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5203c2c9.060b320a.7694.62dbSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From cshalloran at gmail.com Thu Aug 8 16:48:34 2013 From: cshalloran at gmail.com (cshalloran at gmail.com) Date: Thu, 8 Aug 2013 09:48:34 -0700 Subject: How to schedule "breaks" within a block? In-Reply-To: Message-ID: Hello Paul, Thank you very much for your help! I have set up my blocks and procedures as you outlined, and it is working. If I trouble you for a clarification, it is unclear to me how to set up my Pause Slide to show different text after my final block. That is, I do not know what you mean by switching the ActiveState. I made the Slide with two tabs (Default and Slide1) with my pause text in the former and goodbye text in the latter. How do I get the Slide1 (goodbye) text to show after that final block? It shows the Default (pause) text for me, making me believe I labeled something in the slide or BlockList incorrectly. Thank you again, ~C.S. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/0cd008da-d9a5-4101-a3f8-1d0a4bb7bbf5%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Aug 8 18:17:21 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 8 Aug 2013 14:17:21 -0400 Subject: Turn Time Audit on For Everything In-Reply-To: <354e96dd-90fd-4bdc-bf16-0f0827ceec91@googlegroups.com> Message-ID: Well, if you are really determined, then you might use Rte.GetObject() to iterate through all the E-Objects and do as you like (see that topic in the E-Basic Help facility). But this seems a very peculiar request. Ordinarily, you would take care of this in E-Studio from the Property Pages of each object of interest -- either go to the Duration/Input tab and select the desired Data Logging, or for finer granularity go to the Logging tab and select whatever you like. ----- 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 http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/7/2013 10:30 AM Wednesday, kyleheidtman2012 at u.northwestern.edu wrote: >I'm new to e-basic, so I don't know if this is possible, but is >there some way to write an inline file that will turn Time Audit on >for everything (I'm doing an fMRI study, so it's very important to >track all the timing information). > >I looked through the generate code and found what appears to be the >code that turns on time audit for an individual object (in this case >a TextDisplay called PreBlockInstructions) > >PreBlockInstructions.Run > > c.SetAttrib PreBlockInstructions.Name & ebDot & > ebLogNameOnsetDelay, PreBlockInstructions.OnsetDelay > > c.SetAttrib PreBlockInstructions.Name & ebDot & > ebLogNameOnsetTime, PreBlockInstructions.OnsetTime > > c.SetAttrib PreBlockInstructions.Name & ebDot & > ebLogNameDurationError, PreBlockInstructions.DurationError > c.SetAttrib PreBlockInstructions.Name & ebDot & > ebLogNameOnsetToOnsetTime, PreBlockInstructions.OnsetToOnsetTime > > >I would like to make an inline that iterates over every declared >variable of the TextDisplay type and call code similar to the above >on each of those TextDisplays. > >Is this possible/feasible? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5203e0d2.060b320a.7694.6932SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From pfc.groot at gmail.com Thu Aug 8 19:52:22 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Thu, 8 Aug 2013 21:52:22 +0200 Subject: Turn Time Audit on For Everything In-Reply-To: <5203e0d2.060b320a.7694.6932SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: In addition to David's advise, I would also suggest adding a few lines of E-Basic script to calculate stimulus (and response) onset times that are relative to the start of the start of the MRI scanner. These values can then be added to the output file using the c.SetAttrib method. This is a very easy to do and it will save a lot of post processing. (I've seen people creating lots of excel sheets just to get onset times for SPM or FSL. Very time consuming and error-prone.) Just follow these steps: 1) Declare a global variable to store the scanner start time (i.e. onset time of first EPI scan). This time is normally determined by handling the trigger onset pulse as input response. The global variable should be of type Long (integer) and should be placed in the global user script section: Dim ScannerOnset as Long 2) Then copy the trigger onset time to the global declared variable by adding the following after the object that handles the scanner trigger: ScannerOnset = *WaitForScanner*.RTTime (replace* WaitForScanner* with the name the actual object) Also make sure the RTTime attribute itself is logged properly to be able to verify timing. 3) Add a few lines of script at the end of the trial procedure to save the relative times to the log output: c.SetAttrib "*RelStimOnset*", CStr(*Stim*.OnsetTime - ScannerOnset) (replace *Stim* with the name of the stimulus object) Also make sure the onset attribute itself is logged properly to be able to verify timing. Repeat 3) for all relevant onset and response times. that's it Paul On 8 August 2013 20:17, David McFarlane wrote: > Well, if you are really determined, then you might use Rte.GetObject() to > iterate through all the E-Objects and do as you like (see that topic in the > E-Basic Help facility). > > But this seems a very peculiar request. Ordinarily, you would take care > of this in E-Studio from the Property Pages of each object of interest -- > either go to the Duration/Input tab and select the desired Data Logging, or > for finer granularity go to the Logging tab and select whatever you like. > > ----- > 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 http://support.pstnet.com/e%** > 2Dprime/support/login.asp, 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 8/7/2013 10:30 AM Wednesday, kyleheidtman2012 at u.**northwestern.eduwrote: > >> I'm new to e-basic, so I don't know if this is possible, but is there >> some way to write an inline file that will turn Time Audit on for >> everything (I'm doing an fMRI study, so it's very important to track all >> the timing information). >> >> I looked through the generate code and found what appears to be the code >> that turns on time audit for an individual object (in this case a >> TextDisplay called PreBlockInstructions) >> >> PreBlockInstructions.Run >> >> c.SetAttrib PreBlockInstructions.Name & ebDot & >> ebLogNameOnsetDelay, PreBlockInstructions.**OnsetDelay >> >> c.SetAttrib PreBlockInstructions.Name & ebDot & ebLogNameOnsetTime, >> PreBlockInstructions.OnsetTime >> >> c.SetAttrib PreBlockInstructions.Name & ebDot & >> ebLogNameDurationError, PreBlockInstructions.**DurationError >> c.SetAttrib PreBlockInstructions.Name & ebDot & >> ebLogNameOnsetToOnsetTime, PreBlockInstructions.**OnsetToOnsetTime >> >> >> I would like to make an inline that iterates over every declared variable >> of the TextDisplay type and call code similar to the above on each of those >> TextDisplays. >> >> Is this possible/feasible? >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe@**googlegroups.com > . > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/** > msgid/e-prime/5203e0d2.**060b320a.7694.6932SMTPIN_** > ADDED_MISSING%40gmr-mx.google.**com > . > For more options, visit https://groups.google.com/**groups/opt_out > . > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-t0K3EQaAWjXr3fWM3okjR7gTKZxPGHR_nysYu_EtKONA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cshalloran at gmail.com Thu Aug 8 20:39:51 2013 From: cshalloran at gmail.com (cshalloran at gmail.com) Date: Thu, 8 Aug 2013 13:39:51 -0700 Subject: How to schedule "breaks" within a block? In-Reply-To: <0cd008da-d9a5-4101-a3f8-1d0a4bb7bbf5@googlegroups.com> Message-ID: Actually, I think I answered my own question. I had a problem getting E-Prime to show different texts on a slide after different blocks, but the tutorials very easily show how to get a slide to show different images. So, I wrote my text in Word, screen captured it, saved is as a JPEG, and programmed the files names into BlockList. So, I had two images: one with my PauseScreen text and and the second with my EndScreen text. I am confident that there are more elegant ways to have solved my problem, but my way worked. (Editing the text is a chore; that's true.) ~C.S. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/9c6a44e9-0a66-47d0-bbc9-97cd90257c4b%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Thu Aug 8 22:51:50 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Fri, 9 Aug 2013 00:51:50 +0200 Subject: How to schedule "breaks" within a block? In-Reply-To: <9c6a44e9-0a66-47d0-bbc9-97cd90257c4b@googlegroups.com> Message-ID: Great you solved it yourself, but let me elaborate just a bit on this topic for the interested reader... I think that the example you used already showed how to use list-attributes to dynamically change stimuli. What you did with the filenames (i.e. using []-syntax) can also be done with text itself. (Just like in the basic paradigm that estudio will create automatically.) Or more advanced: a list-attribute can also be used to select the active slide (*Default *or * Slide1*). Just put the name off the list-attribute in the ActiveState property of the slide, and put square brackets around the name to make it a dynamic parameter (i.e. [*NameOfAttribute*]). Paul On 8 August 2013 22:39, wrote: > Actually, I think I answered my own question. I had a problem getting > E-Prime to show different texts on a slide after different blocks, but the > tutorials very easily show how to get a slide to show different images. So, > I wrote my text in Word, screen captured it, saved is as a JPEG, and > programmed the files names into BlockList. So, I had two images: one with > my PauseScreen text and and the second with my EndScreen text. > > I am confident that there are more elegant ways to have solved my problem, > but my way worked. (Editing the text is a chore; that's true.) > > ~C.S. > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/9c6a44e9-0a66-47d0-bbc9-97cd90257c4b%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-vZ0bOfaQk7ZqpVMerKvE2v4nxP9UPkcjZc5ZpvdomMog%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From afsander12 at gmail.com Fri Aug 9 17:08:02 2013 From: afsander12 at gmail.com (Ashley Sanders) Date: Fri, 9 Aug 2013 10:08:02 -0700 Subject: Biopac not receiving E-Prime signal for second part of n-back task Message-ID: Hi all, I am having trouble getting a stimulus delivery/response signal to show up on Biopac for the second part of our n-back experiment. The first task, zero back, asks the subject to press a certain key when a neutral face is presented (non-target) and another key when a scared face is presented (target). The inline script is as follows and works perfectly in connection with Biopac: Const OutPort As Integer = &hD800 'Const BioPacTrigger As Integer = &h01 WritePort OutPort, 0 TaskStimZERO.OnsetSignalEnabled = True TaskStimZERO.OnsetSignalPort = OutPort TaskStimZERO.OnsetSignalData = c.GetAttrib("BioStim") TaskStimZERO.OffsetSignalEnabled = True TaskStimZERO.OffsetSignalPort = OutPort TaskStimZERO.OffsetSignalData = 0 Next, the one back section asks the subject to only press the target assigned key after *two* scared faces have been presented in a row. This is where Biopac is not collecting a signal. The inline script is as follows: Const OutPort As Integer = &hD800 'Const BioPacTrigger As Integer = &h01 WritePort OutPort, 0 TaskStimONE.OnsetSignalEnabled = True TaskStimONE.OnsetSignalPort = OutPort TaskStimONE.OnsetSignalData = c.GetAttrib("BioStim") TaskStimONE.OffsetSignalEnabled = True TaskStimONE.OffsetSignalPort = OutPort TaskStimONE.OffsetSignalData = 0 I have tried numerous ways to get this to work but have failed. If anyone has any advice, please let me know. Your help would be GREATLY appreciated! Thanks in advance, Ashley -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/d53d8de5-2b05-4ee2-a466-9a15a471e6f8%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Sat Aug 10 18:43:41 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Sat, 10 Aug 2013 20:43:41 +0200 Subject: Biopac not receiving E-Prime signal for second part of n-back task In-Reply-To: Message-ID: Hi Ashley, seems pretty straightforward inline script. Just a few trivial checks: Just declare the constant *OutPort* just once in the global use script section. If this is done properly, you can remove the corresponding lines from the two inline scripts. Did you verify the values of "BioStim"? These should be numbers ranging from 1 to 255. Also, the duration of TaskStimOne should be at least as long as the sampling interval used by BioPac. You could verify this by enabling logging of OnsetTime and OffsetTime of TaskStimOne for example. Another method is to add a few Debug.Print statements: Debug.Print "BioStim value: " & CInt(c.GetAttrib("BioStim")) Debug.Print "TaskStimONE.Duration: " & TaskStimONE.Duration And is TaskStimONE really the object that is used during the one back phase? If these checks don't help, you could test if the IO port is still accessible by adding this below the WritePort statement: WritePort OutPort, 0 Sleep 1000 WritePort OutPort, 255 This should always give a high pulse of one second on all digital lines. best paul On 9 August 2013 19:08, Ashley Sanders wrote: > Hi all, > > I am having trouble getting a stimulus delivery/response signal to show > up on Biopac for the second part of our n-back experiment. The first task, > zero back, asks the subject to press a certain key when a neutral face is > presented (non-target) and another key when a scared face is presented > (target). The inline script is as follows and works perfectly in connection > with Biopac: > > Const OutPort As Integer = &hD800 > 'Const BioPacTrigger As Integer = &h01 > > WritePort OutPort, 0 > > TaskStimZERO.OnsetSignalEnabled = True > TaskStimZERO.OnsetSignalPort = OutPort > TaskStimZERO.OnsetSignalData = c.GetAttrib("BioStim") > > TaskStimZERO.OffsetSignalEnabled = True > TaskStimZERO.OffsetSignalPort = OutPort > TaskStimZERO.OffsetSignalData = 0 > > Next, the one back section asks the subject to only press the target > assigned key after *two* scared faces have been presented in a row. This > is where Biopac is not collecting a signal. The inline script is as follows: > > Const OutPort As Integer = &hD800 > 'Const BioPacTrigger As Integer = &h01 > > WritePort OutPort, 0 > > TaskStimONE.OnsetSignalEnabled = True > TaskStimONE.OnsetSignalPort = OutPort > TaskStimONE.OnsetSignalData = c.GetAttrib("BioStim") > > TaskStimONE.OffsetSignalEnabled = True > TaskStimONE.OffsetSignalPort = OutPort > TaskStimONE.OffsetSignalData = 0 > > > I have tried numerous ways to get this to work but have failed. If anyone > has any advice, please let me know. Your help would be GREATLY appreciated! > > > Thanks in advance, > Ashley > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/d53d8de5-2b05-4ee2-a466-9a15a471e6f8%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-uZ9MOF__3qQaHmQifVQ_3X0ENCqt4Frs8v8PG4L9CTgA%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kyleheidtman2012 at u.northwestern.edu Mon Aug 12 13:04:28 2013 From: kyleheidtman2012 at u.northwestern.edu (kyleheidtman2012 at u.northwestern.edu) Date: Mon, 12 Aug 2013 06:04:28 -0700 Subject: Turn Time Audit on For Everything In-Reply-To: Message-ID: Great. Thanks a lot for your help On Thursday, August 8, 2013 3:52:22 PM UTC-4, Paul Groot wrote: > > In addition to David's advise, I would also suggest adding a few lines of > E-Basic script to calculate stimulus (and response) onset times that are > relative to the start of the start of the MRI scanner. These values can > then be added to the output file using the c.SetAttrib method. This is a > very easy to do and it will save a lot of post processing. (I've seen > people creating lots of excel sheets just to get onset times for SPM or > FSL. Very time consuming and error-prone.) > > Just follow these steps: > > 1) Declare a global variable to store the scanner start time (i.e. onset > time of first EPI scan). This time is normally determined by handling the > trigger onset pulse as input response. The global variable should be of > type Long (integer) and should be placed in the global user script section: > > Dim ScannerOnset as Long > > 2) Then copy the trigger onset time to the global declared variable by > adding the following after the object that handles the scanner trigger: > > ScannerOnset = *WaitForScanner*.RTTime > > (replace* WaitForScanner* with the name the actual object) > Also make sure the RTTime attribute itself is logged properly to be able > to verify timing. > > 3) Add a few lines of script at the end of the trial procedure to save the > relative times to the log output: > > c.SetAttrib "*RelStimOnset*", CStr(*Stim*.OnsetTime - ScannerOnset) > > (replace *Stim* with the name of the stimulus object) > Also make sure the onset attribute itself is logged properly to be able to > verify timing. > > Repeat 3) for all relevant onset and response times. > > > that's it > > Paul > > > On 8 August 2013 20:17, David McFarlane >wrote: > >> Well, if you are really determined, then you might use Rte.GetObject() to >> iterate through all the E-Objects and do as you like (see that topic in the >> E-Basic Help facility). >> >> But this seems a very peculiar request. Ordinarily, you would take care >> of this in E-Studio from the Property Pages of each object of interest -- >> either go to the Duration/Input tab and select the desired Data Logging, or >> for finer granularity go to the Logging tab and select whatever you like. >> >> ----- >> 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 http://support.pstnet.com/e%** >> 2Dprime/support/login.asp, 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 8/7/2013 10:30 AM Wednesday, kyleheid... at u.**northwestern.eduwrote: >> >>> I'm new to e-basic, so I don't know if this is possible, but is there >>> some way to write an inline file that will turn Time Audit on for >>> everything (I'm doing an fMRI study, so it's very important to track all >>> the timing information). >>> >>> I looked through the generate code and found what appears to be the code >>> that turns on time audit for an individual object (in this case a >>> TextDisplay called PreBlockInstructions) >>> >>> PreBlockInstructions.Run >>> >>> c.SetAttrib PreBlockInstructions.Name & ebDot & >>> ebLogNameOnsetDelay, PreBlockInstructions.**OnsetDelay >>> >>> c.SetAttrib PreBlockInstructions.Name & ebDot & >>> ebLogNameOnsetTime, PreBlockInstructions.OnsetTime >>> >>> c.SetAttrib PreBlockInstructions.Name & ebDot & >>> ebLogNameDurationError, PreBlockInstructions.**DurationError >>> c.SetAttrib PreBlockInstructions.Name & ebDot & >>> ebLogNameOnsetToOnsetTime, PreBlockInstructions.**OnsetToOnsetTime >>> >>> >>> I would like to make an inline that iterates over every declared >>> variable of the TextDisplay type and call code similar to the above on each >>> of those TextDisplays. >>> >>> Is this possible/feasible? >>> >> >> -- >> You received this message because you are subscribed 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...@**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/5203e0d2.**060b320a.7694.6932SMTPIN_** >> ADDED_MISSING%40gmr-mx.google.**com >> . >> For more options, visit https://groups.google.com/**groups/opt_out >> . >> >> >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/c20d97de-705f-4cb3-bd03-c792eb0f578f%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpryan28 at gmail.com Mon Aug 12 15:28:34 2013 From: jpryan28 at gmail.com (John) Date: Mon, 12 Aug 2013 08:28:34 -0700 Subject: Task Event - WriteString? Message-ID: I'm running eprime pro and trying to use task events to trigger an external device. When the stimulus comes on the screen, I need eprime to send the string "RUN" to the serial port. In task events, I do the following: -Add an event -Select the serial device (COM3) -Action: WriteString ...but then how to I define what the string is? (i.e. "RUN") (In a terminal window, i can type "echo RUN > COM3" and that triggers the device...I'm just trying to figure out how eprime to do that.) Thanks! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/f151e64e-a9f9-4345-96e6-61eaefcdd6e8%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From michellehoog at gmail.com Mon Aug 12 16:24:50 2013 From: michellehoog at gmail.com (Michelle Hoogenhout) Date: Mon, 12 Aug 2013 09:24:50 -0700 Subject: problems with consistent video duration In-Reply-To: <4F4B5BEA.9040207@ucl.ac.uk> Message-ID: Hi, I am experiencing the same problem, and would appreciate any advice. I have 8 videos in my study, which is running in E-Prime 2. Each video is approximately 3 minutes long and in avi (MPEG4 [Xvid] and MPEG4 [FMP4]) format, with MPEG-1 Layer 3 (MP3) stereo sound. There is a gap ranging between 30 seconds to 2 minutes in between the different videos. The e-prime file executes just fine, and runs to the end. The videos play, but then randomly cut off somewhere through the video. The experiment then just goes on the next stimulus. They videos do not always stop at the same point, and it does not matter whether they are displayed early on or later into the experiment. The videos do lag, however, and the sound and image may go out of sync before the movie ends. All the videos play correctly on the computer outside of e-prime (on VLC and Windows Media Player). It is not just the case that the larger video file is the more likely it is to stop, but what I have noticed is that the videos that I resized beforehand using Avidemux never play to the end. The videos that were in the correct resolution (1024 x 1028) to start with do not give the same problems. However, I would like all of the videos in the experiment to be the same resolution (or at least same length, without needing to stretch them), so I have no option but to resize the videos. I have tried converting the videos to a different format (mpeg1) as suggested elsewhere ( https://groups.google.com/forum/#!msg/e-prime/ENSVeWNy6p0/RyME4_tKof4J), but that only made it worse. I have also tried to increase the pre-release time, set the MovieDisplay to show the movie for a fixed amount of time, and simplifying the script to the very basics; all to no effect. Even the simplest possible experiment with only one movie in it fails to display the movie to the end. I have installed the latest Combined Community Codec Pack (2013-08-01; http://www.cccp-project.net/wiki/index.php?title=Main_Page), but it has not made a difference. The experimental computer is an Intel i3 530 at 2.93 GHz machine with 1.86 GB Ram and an Intel H55 Express chipset, running a 1280 x 1024 16bit desktop display. I suspect that the computer is underpowered. I have run the experiment on my laptop and the videos ran smoothly (I can't use my laptop for the final presentation as I need to use the lab computer that is connected to the eye tracking equipment). Another possibility would be the interaction of the codecs with e-prime. I ran the e-prime codec config tool, and it renders all the files correctly. However, they still perform as described above when running the actual experiment. Everything in the e-prime codec config is currently set to the default values. Is there perhaps something within this tool that I could change to give a better result? I don't know whether the recoding with Avidemux caused the problem (has anyone else used it successfully/unsuccessfully with e-prime?), or whether just resizing the videos was problematic in general. Any suggestions on how to get the movies to display correctly? Your help would be greatly appreciated. Thank you, Michelle On Monday, 27 February 2012 12:33:14 UTC+2, Vinson, David: UCL wrote: > > Hi Lindsay, > > Unfortunately it can be a lot of work to get videos to display > correctly, and it looks like you've gone through a sensible process so > far. We experienced something similar, and suspected it could be > related to the time it takes to load the video files from the hard drive > and get them displayed in time. We might not be correct but we managed > to eliminate these problems (or at least sufficiently reduce them) by a > combination of a few factors: > > 1. pre-load the video (e.g. MovieDisplay1.Load in an inline object) well > before the movie is due to start playing > 2. include a fairly high % of breaks between trials if possible, which > may help resolve the buildup of lag > 3. if you are using an older/slower machine it may be useful to have > video files on a different hard drive than the one being used for > virtual memory > > And 4. a bit more "trial and error" with video formats. Keep in mind > that just converting from one video format to another may not be > sufficient - it may be necessary to re-compress with a different codec. > > In troubleshooting these matters it may also be helpful to set up the > simplest possible miniature version of your experiment (e.g. just one or > two videos) repeated many times in the simplest possible trial sequence, > and see if your problem reproduces under those conditions. > > OR.... am I missing something here - if one of your videos is 13 sec and > you only display it for 7 seconds, this would cut it off about halfway > through. But surely it's not as simple as this. > > good luck, and please report back to the list if you figure it out. > -dv > > On 25/02/2012 20:06, Lindsay wrote: > > I am setting up an experiment with videos and am playing around with > > displaying the videos to make sure it will work for our study. The > > videos will play, but they will not play for the whole length every > > time. I am using two practice videos, one 13 seconds and one 6 seconds > > long, and have the program set up to randomly pull them from a list > > and play them after a blank screen. I have tried pre-release, changing > > the run time of the videos, and various video formats, but have not > > had much success. When I increase the number of cycles, some of the > > presentations will run the whole time and some will cut off half-way > > through. The timing of the presentation of stimuli is not necessarily > > important, but we need each video to run for the set length of time > > (about 7 seconds). > > > > We are expanding upon a study that used still images, so we are not as > > familiar with the various video formats, compressions, etc. I would > > appreciate any help! > > > > Lindsay > > > > -- > David Vinson, Ph.D. > Senior Postdoctoral Researcher > Cognitive, Perceptual and Brain Sciences Research Department > University College London > 26 Bedford Way, London WC1H 0AP > Tel +44 (0)20 7679 5311 (UCL internal ext. 25311) > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/142a9d9b-5d52-4243-a42a-6e75559ed4cc%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Aug 12 18:26:45 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 12 Aug 2013 14:26:45 -0400 Subject: Task Event - WriteString? In-Reply-To: Message-ID: Try the following in the Task Events dialog box: - Set Source to "(custom)" - In Custom, put your string (e.g., "RUN", without the quotes). (You may also use attribute references here, e.g., "[StimCode]", these will be resolved just before the stimulus object runs.) - Set Data Type to "String". - Set Enabled to "Yes". Please write back with your results, as I am not set up to test that myself here. And if you have not already, look a the seciton 3.1 of the New Features Guide, and KB4803 (http://www.pstnet.com/support/kb.asp?TopicID=4803 ) for the documentation from PST. ----- 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 http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/12/2013 11:28 AM Monday, John wrote: >I'm running eprime pro and trying to use task events to trigger an >external device. > >When the stimulus comes on the screen, I need eprime to send the >string "RUN" to the serial port. > >In task events, I do the following: >-Add an event >-Select the serial device (COM3) >-Action: WriteString > >...but then how to I define what the string is? (i.e. "RUN") > > >(In a terminal window, i can type "echo RUN > COM3" and that >triggers the device...I'm just trying to figure out how eprime to do that.) > >Thanks! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52092908.6707320a.114d.ffff9e68SMTPIN_ADDED_MISSING%40gmr-mx.google.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out. From jpryan28 at gmail.com Mon Aug 12 21:03:44 2013 From: jpryan28 at gmail.com (John) Date: Mon, 12 Aug 2013 14:03:44 -0700 Subject: Task Event - WriteString? In-Reply-To: <52092908.6707320a.114d.ffff9e68SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thanks for your reply, David - No luck. Action: WriteString Parameter - Custom: RUN Data Type: String Enabled: Yes On Monday, August 12, 2013 2:26:45 PM UTC-4, McFarlane, David wrote: > > Try the following in the Task Events dialog box: > > - Set Source to "(custom)" > - In Custom, put your string (e.g., "RUN", without the quotes). (You > may also use attribute references here, e.g., "[StimCode]", these > will be resolved just before the stimulus object runs.) > - Set Data Type to "String". > - Set Enabled to "Yes". > > Please write back with your results, as I am not set up to test that > myself here. > > And if you have not already, look a the seciton 3.1 of the New > Features Guide, and KB4803 > (http://www.pstnet.com/support/kb.asp?TopicID=4803 ) for the > documentation from PST. > > ----- > 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 > http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/12/2013 11:28 AM Monday, John wrote: > >I'm running eprime pro and trying to use task events to trigger an > >external device. > > > >When the stimulus comes on the screen, I need eprime to send the > >string "RUN" to the serial port. > > > >In task events, I do the following: > >-Add an event > >-Select the serial device (COM3) > >-Action: WriteString > > > >...but then how to I define what the string is? (i.e. "RUN") > > > > > >(In a terminal window, i can type "echo RUN > COM3" and that > >triggers the device...I'm just trying to figure out how eprime to do > that.) > > > >Thanks! > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/39331893-408e-4884-b933-19a86184c068%40googlegroups.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Aug 12 21:13:18 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 12 Aug 2013 17:13:18 -0400 Subject: Task Event - WriteString? In-Reply-To: <39331893-408e-4884-b933-19a86184c068@googlegroups.com> Message-ID: Thanks for reporting back. Time now to contact PST Web Support and have them sort it out for you, then please report back here for the rest of us. Thanks! -- David McFarlane At 8/12/2013 05:03 PM Monday, John wrote: >Thanks for your reply, David - No luck. > >Action: WriteString >Parameter - Custom: RUN >Data Type: String >Enabled: Yes > >On Monday, August 12, 2013 2:26:45 PM UTC-4, McFarlane, David wrote: >Try the following in the Task Events dialog box: > >- Set Source to "(custom)" >- In Custom, put your string (e.g., "RUN", without the quotes). (You >may also use attribute references here, e.g., "[StimCode]", these >will be resolved just before the stimulus object runs.) >- Set Data Type to "String". >- Set Enabled to "Yes". > >Please write back with your results, as I am not set up to test that >myself here. > >And if you have not already, look a the seciton 3.1 of the New >Features Guide, and KB4803 >(http://www.pstnet.com/support/kb.asp?TopicID=4803 >) for the >documentation from PST. > >----- >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 >http://support.pstnet.com/e%2Dprime/support/login.asp >, 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 8/12/2013 11:28 AM Monday, John wrote: > >I'm running eprime pro and trying to use task events to trigger an > >external device. > > > >When the stimulus comes on the screen, I need eprime to send the > >string "RUN" to the serial port. > > > >In task events, I do the following: > >-Add an event > >-Select the serial device (COM3) > >-Action: WriteString > > > >...but then how to I define what the string is? (i.e. "RUN") > > > > > >(In a terminal window, i can type "echo RUN > COM3" and that > >triggers the device...I'm just trying to figure out how eprime to do that.) > > > >Thanks! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/52095011.0352320a.72ef.0196SMTPIN_ADDED_MISSING%40gmr-mx.google.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out. From alpnobre at gmail.com Wed Aug 14 03:32:38 2013 From: alpnobre at gmail.com (Alexandre Nobre) Date: Tue, 13 Aug 2013 20:32:38 -0700 Subject: Fragmented pictures with multiple inputs Message-ID: Hello. I'm new to E-prime and am currently trying to implement an experiment on identification of fragmented pictures, but can't figure out how. Each trial in the experiment should initiate with the presentation of a fragmented picture, to which the subject must respond verbally. If the subject identifies it correctly, the experimenter initiates the next trial, with a different fragmented picture. However, if the object is named incorrectly, the same picture appears on the screen, but in a less fragmented form. Also, I need to have six different levels of fragmentation, so that, if the subject can`t identify the picture correctly on any level, the next trial is initiated, with a new fragmented picture. Does anyone know how to do this? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/d891ce7e-6108-4aef-9b49-d2defd2f3579%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastian.poloczek at gmx.de Wed Aug 14 09:15:04 2013 From: sebastian.poloczek at gmx.de (Sebastian Poloczek) Date: Wed, 14 Aug 2013 02:15:04 -0700 Subject: ImageDisplay Internal Error only for display2 but not for display1 Message-ID: Hi, I'm designing an experiment in Eprime2 in which some slides should be displayed on display 1 (experimenter's screen) and some on display2 (participant's screen). The program stops running and gives the error message "image display internal error, marker:2000" for the first slide on display2. All filenames are double-checked and without typos, all pictures are in the respective folders. The program runs smoothly and displays the images if I change all slide settings to display1. The images can be displayed on display2 if the slides for display2 directly refers to the images. But as soon as a slide for display2 includes an image attribute and the image is specified either in a list item or in an inline command the program crashes and gives the error 11041. Do you have any suggestions what I could try to solve the problem and to display images defined by attributes on display2? Many thanks in advance, Sebastian -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/fe6be799-1be1-48d4-8593-030d48e96aed%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgannis at macalester.edu Wed Aug 14 19:46:34 2013 From: sgannis at macalester.edu (sgannis at macalester.edu) Date: Wed, 14 Aug 2013 12:46:34 -0700 Subject: Jumping/Gating Message-ID: Hello, Our research team is new to E-Prime, and we have run into a problem. Our experimental paradigms require what E-Prime seems to call jumping (i.e., leading the participant to encounter different stimuli depending on his/her response to initial stimuli). Prior to our travails with E-Prime, we knew this process as "gating." After reading up on Jumping on this forum and in various manuals. it seems that this procedure requires the use of a Label (and/or Jump Label) and some manipulation of the "End Action" component of a stimuli's properties. However, neither our Principal Investigator nor anyone else in the lab can determine how to make this happen. I am beginning to think it might be easiest with some InLine code writing, but I could be incorrect because none of us really know what we're doing. If anyone can explain how this works, it would be much appreciated. Scott G -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/92af2928-c6d1-46c8-a0b7-96f8f97e1be1%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmaayane at gmail.com Thu Aug 15 04:54:15 2013 From: kmaayane at gmail.com (Maayan Kedar) Date: Thu, 15 Aug 2013 07:54:15 +0300 Subject: Jumping/Gating In-Reply-To: <92af2928-c6d1-46c8-a0b7-96f8f97e1be1@googlegroups.com> Message-ID: Hi, This is not too complicated: Lets say you have 3 slides and you want to skip to the third slide if the answer on the first one was "3". You put a label flag before the third slide, and inline after the first one says: If slide1.resp=3 then goto/jump to label1 You can also use slide1.acc if you want to jump fot correct or incorrect answer. This is the basic idea. Good luck! Maayan ?????? 2013 8 14 22:46, ??? : > Hello, > > Our research team is new to E-Prime, and we have run into a problem. Our > experimental paradigms require what E-Prime seems to call jumping (i.e., > leading the participant to encounter different stimuli depending on his/her > response to initial stimuli). Prior to our travails with E-Prime, we knew > this process as "gating." After reading up on Jumping on this forum and in > various manuals. it seems that this procedure requires the use of a Label > (and/or Jump Label) and some manipulation of the "End Action" component of > a stimuli's properties. However, neither our Principal Investigator nor > anyone else in the lab can determine how to make this happen. I am > beginning to think it might be easiest with some InLine code writing, but I > could be incorrect because none of us really know what we're doing. If > anyone can explain how this works, it would be much appreciated. > > Scott G > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/92af2928-c6d1-46c8-a0b7-96f8f97e1be1%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CA%2B5t7Q6vYyxeQv63Lf3uAabM4iYmQnAT2T%3D7U1OHVWGaz4mV3A%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Aug 15 15:09:31 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 15 Aug 2013 11:09:31 -0400 Subject: Fragmented pictures with multiple inputs In-Reply-To: Message-ID: Unsure whether "this" refers to (1) how to run a sequence of stimuli until the subject reaches some criterion, or (2) how to have images with varying degrees of fragmentation. For (1), start by looking at the "Criterion Based Exit" example that you may download from the PST website. For (2), did you mean to have EP programmatically fragment the images for you? I think you would be hard preseed to get EP to do that. But if you can make a series of 6 fragmented image files for each base image then you could simply have EP present those using an ImageDisplay or Slide in the normal way. ----- 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 http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/13/2013 11:32 PM Tuesday, Alexandre Nobre wrote: >Hello. I'm new to E-prime and am currently trying to implement an >experiment on identification of fragmented pictures, but can't >figure out how. Each trial in the experiment should initiate with >the presentation of a fragmented picture, to which the subject must >respond verbally. If the subject identifies it correctly, the >experimenter initiates the next trial, with a different fragmented >picture. However, if the object is named incorrectly, the same >picture appears on the screen, but in a less fragmented form. Also, >I need to have six different levels of fragmentation, so that, if >the subject can`t identify the picture correctly on any level, the >next trial is initiated, with a new fragmented picture. Does anyone >know how to do this? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/520cef50.6707320a.3990.1f27SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From jpryan28 at gmail.com Thu Aug 15 17:14:55 2013 From: jpryan28 at gmail.com (John) Date: Thu, 15 Aug 2013 10:14:55 -0700 Subject: Task Event - WriteString? In-Reply-To: Message-ID: Update: We were able to get it running using inline script -- it needed a carriage return. Prior to each event, put in an inline script with: Serial.WriteString "RUN" & ebCrLf If using multiple pumps in a network, precede run with the address of the pump: "00 RUN" for the first pump, "01 RUN" for the second, etc. On Monday, August 12, 2013 11:28:34 AM UTC-4, John wrote: > > I'm running eprime pro and trying to use task events to trigger an > external device. > > When the stimulus comes on the screen, I need eprime to send the string > "RUN" to the serial port. > > In task events, I do the following: > -Add an event > -Select the serial device (COM3) > -Action: WriteString > > ...but then how to I define what the string is? (i.e. "RUN") > > > (In a terminal window, i can type "echo RUN > COM3" and that triggers the > device...I'm just trying to figure out how eprime to do that.) > > Thanks! > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/6de50f0f-a5ec-46f3-aae2-50178fb231e8%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cshalloran at gmail.com Thu Aug 15 17:35:34 2013 From: cshalloran at gmail.com (cshalloran at gmail.com) Date: Thu, 15 Aug 2013 10:35:34 -0700 Subject: Skipping Slides Message-ID: Hello, I have two experiments with the same problem. Both have a significant number of trials (68 and 96, respectively). I have programmed in a break slide after a certain n number of trials to ward off mental fatigue, which is an issue to consider with my subject population. After the final block of each, it again shows the break slide. Is it possible to skip these slides and head immediately to the goodbye slide? Or, am I stuck with the slides? Thank you, ~C.S. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/c0b787b8-ce42-4ba5-b815-1ee01969c007%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Aug 15 18:19:11 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 15 Aug 2013 14:19:11 -0400 Subject: Task Event - WriteString? In-Reply-To: <6de50f0f-a5ec-46f3-aae2-50178fb231e8@googlegroups.com> Message-ID: Great, and thanks for posting back! So the issue was not exactly with E-Prime Task Events, but with including control characters in the output string. Hmm, then you should still be able to get it to work with Task Events by defining your string plus carriage return/newline into an attribute, and then using the attribute reference in Task Events. E.g., with inline code (could do this once at the Sesson level), c.SetAttrib RunString, "RUN" & ebCrLf and then for "Custom" in Task Events use [RunString] Even better, just try either of the following strings for Custom in Task Events: RUN\n RUN\r\n The generated code shows that it properly includes the escaped control characters (\n, or \r\n), so this should work, but I need someone else to run this and confirm. So the lesson here seems to be that we have to know how to embed standard escaped control characters in our Custom strings for Task Events. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 8/15/2013 01:14 PM Thursday, John wrote: >Update: We were able to get it running using inline script -- it >needed a carriage return. > >Prior to each event, put in an inline script with: >Serial.WriteString "RUN" & ebCrLf > >If using multiple pumps in a network, precede run with the address >of the pump: "00 RUN" for the first pump, "01 RUN" for the second, etc. > > >On Monday, August 12, 2013 11:28:34 AM UTC-4, John wrote: >I'm running eprime pro and trying to use task events to trigger an >external device. > >When the stimulus comes on the screen, I need eprime to send the >string "RUN" to the serial port. > >In task events, I do the following: >-Add an event >-Select the serial device (COM3) >-Action: WriteString > >...but then how to I define what the string is? (i.e. "RUN") > > >(In a terminal window, i can type "echo RUN > COM3" and that >triggers the device...I'm just trying to figure out how eprime to do that.) > >Thanks! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/520d1bdf.6707320a.6500.0288SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From pfc.groot at gmail.com Fri Aug 16 10:36:05 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Fri, 16 Aug 2013 12:36:05 +0200 Subject: Skipping Slides In-Reply-To: Message-ID: Have a look at this topic, posted about a week ago... https://groups.google.com/forum/#!topic/e-prime/Fe2U1nXjICA Should look familiar and contains a working example script. paul On 15 August 2013 19:35, wrote: > Hello, > > I have two experiments with the same problem. Both have a significant > number of trials (68 and 96, respectively). I have programmed in a break > slide after a certain n number of trials to ward off mental fatigue, which > is an issue to consider with my subject population. After the final block > of each, it again shows the break slide. Is it possible to skip these > slides and head immediately to the goodbye slide? Or, am I stuck with the > slides? > > Thank you, > ~C.S. > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/c0b787b8-ce42-4ba5-b815-1ee01969c007%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-vbAQWckBLx5%2BvQgMN89pjzArHojy3cWDtGS%3DS%3DE%3DYkKQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpryan28 at gmail.com Fri Aug 16 15:55:29 2013 From: jpryan28 at gmail.com (John) Date: Fri, 16 Aug 2013 08:55:29 -0700 Subject: Task Event - WriteString? In-Reply-To: <520d1bdf.6707320a.6500.0288SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Correct - I was able to take out the inline and use task events by putting RUN/r/n into the custom string. 00 RUN/r/n triggers the first pump 01 RUN/r/n triggers the second pump Success! On Thursday, August 15, 2013 2:19:11 PM UTC-4, McFarlane, David wrote: > > Great, and thanks for posting back! So the issue was not exactly > with E-Prime Task Events, but with including control characters in > the output string. > > Hmm, then you should still be able to get it to work with Task Events > by defining your string plus carriage return/newline into an > attribute, and then using the attribute reference in Task > Events. E.g., with inline code (could do this once at the Sesson level), > > c.SetAttrib RunString, "RUN" & ebCrLf > > and then for "Custom" in Task Events use > > [RunString] > > Even better, just try either of the following strings for Custom in > Task Events: > RUN\n > RUN\r\n > > The generated code shows that it properly includes the escaped > control characters (\n, or \r\n), so this should work, but I need > someone else to run this and confirm. > > So the lesson here seems to be that we have to know how to embed > standard escaped control characters in our Custom strings for Task Events. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > At 8/15/2013 01:14 PM Thursday, John wrote: > >Update: We were able to get it running using inline script -- it > >needed a carriage return. > > > >Prior to each event, put in an inline script with: > >Serial.WriteString "RUN" & ebCrLf > > > >If using multiple pumps in a network, precede run with the address > >of the pump: "00 RUN" for the first pump, "01 RUN" for the second, etc. > > > > > >On Monday, August 12, 2013 11:28:34 AM UTC-4, John wrote: > >I'm running eprime pro and trying to use task events to trigger an > >external device. > > > >When the stimulus comes on the screen, I need eprime to send the > >string "RUN" to the serial port. > > > >In task events, I do the following: > >-Add an event > >-Select the serial device (COM3) > >-Action: WriteString > > > >...but then how to I define what the string is? (i.e. "RUN") > > > > > >(In a terminal window, i can type "echo RUN > COM3" and that > >triggers the device...I'm just trying to figure out how eprime to do > that.) > > > >Thanks! > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/64ff3f74-b687-4074-aeb9-9dd31662998a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpryan28 at gmail.com Fri Aug 16 15:56:34 2013 From: jpryan28 at gmail.com (John) Date: Fri, 16 Aug 2013 08:56:34 -0700 Subject: Task Event - WriteString? In-Reply-To: <64ff3f74-b687-4074-aeb9-9dd31662998a@googlegroups.com> Message-ID: (sorry, those should be backslashes 00 RUN\r\n) On Friday, August 16, 2013 11:55:29 AM UTC-4, John wrote: > > Correct - I was able to take out the inline and use task events by putting > RUN/r/n into the custom string. > > 00 RUN/r/n triggers the first pump > 01 RUN/r/n triggers the second pump > > Success! > > On Thursday, August 15, 2013 2:19:11 PM UTC-4, McFarlane, David wrote: >> >> Great, and thanks for posting back! So the issue was not exactly >> with E-Prime Task Events, but with including control characters in >> the output string. >> >> Hmm, then you should still be able to get it to work with Task Events >> by defining your string plus carriage return/newline into an >> attribute, and then using the attribute reference in Task >> Events. E.g., with inline code (could do this once at the Sesson level), >> >> c.SetAttrib RunString, "RUN" & ebCrLf >> >> and then for "Custom" in Task Events use >> >> [RunString] >> >> Even better, just try either of the following strings for Custom in >> Task Events: >> RUN\n >> RUN\r\n >> >> The generated code shows that it properly includes the escaped >> control characters (\n, or \r\n), so this should work, but I need >> someone else to run this and confirm. >> >> So the lesson here seems to be that we have to know how to embed >> standard escaped control characters in our Custom strings for Task >> Events. >> >> ----- >> David McFarlane >> E-Prime training >> online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) >> >> >> At 8/15/2013 01:14 PM Thursday, John wrote: >> >Update: We were able to get it running using inline script -- it >> >needed a carriage return. >> > >> >Prior to each event, put in an inline script with: >> >Serial.WriteString "RUN" & ebCrLf >> > >> >If using multiple pumps in a network, precede run with the address >> >of the pump: "00 RUN" for the first pump, "01 RUN" for the second, etc. >> > >> > >> >On Monday, August 12, 2013 11:28:34 AM UTC-4, John wrote: >> >I'm running eprime pro and trying to use task events to trigger an >> >external device. >> > >> >When the stimulus comes on the screen, I need eprime to send the >> >string "RUN" to the serial port. >> > >> >In task events, I do the following: >> >-Add an event >> >-Select the serial device (COM3) >> >-Action: WriteString >> > >> >...but then how to I define what the string is? (i.e. "RUN") >> > >> > >> >(In a terminal window, i can type "echo RUN > COM3" and that >> >triggers the device...I'm just trying to figure out how eprime to do >> that.) >> > >> >Thanks! >> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/0f9f914c-f66f-458d-ad03-6017fb199861%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alpnobre at gmail.com Fri Aug 16 23:25:50 2013 From: alpnobre at gmail.com (Alexandre Nobre) Date: Fri, 16 Aug 2013 16:25:50 -0700 Subject: Fragmented pictures with multiple inputs In-Reply-To: Message-ID: Hi, David, thank you for the reply. I'm sorry for not being clear about what I meant. I do have the fragmented pictures, actually. My main problem is how to repeat the response slide in a single trial until the participant identifies the picture correctly (which he does verbally - the key press for repeating the same picture, but in a less fragmented form, or for jumping to the next picture (trial) is done by the experimenter). I need to have the slide change the image it uses every time the participant emits a wrong response, until they get it right or the last fragmented form has been displayed. I've been able to insert several slides and masks in the trial procedure, so that, if the participant emits a wrong response, the trial continues on to the next slide, which presents the same picture in a less fragmented form. If they identify the picture correctly, then he trial ends using a label. The problem with this is that, because this task is done simultaneously with a dichotic listening task, the number of attributes specified in the trial list is becoming enormous (one sound for each slide, as well as one image). I imagine that this can be done with a Inline in a less sloppy way, but I'm not sure how to do this. I checked out the "criterion based exit" sample you recommended, but, from what I've understood, in the sample the trials are simply repeated, but not modified as the experiment goes on, so I've been unable to transfer it to my experiment. On Wednesday, August 14, 2013 12:32:38 AM UTC-3, Alexandre Nobre wrote: > > Hello. I'm new to E-prime and am currently trying to implement an > experiment on identification of fragmented pictures, but can't figure out > how. Each trial in the experiment should initiate with the presentation of > a fragmented picture, to which the subject must respond verbally. If the > subject identifies it correctly, the experimenter initiates the next trial, > with a different fragmented picture. However, if the object is named > incorrectly, the same picture appears on the screen, but in a less > fragmented form. Also, I need to have six different levels of > fragmentation, so that, if the subject can`t identify the picture correctly > on any level, the next trial is initiated, with a new fragmented picture. > Does anyone know how to do this? > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/3b04c2be-ee11-4462-afa4-739f3d0a3b83%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahuvayochevedsegal at gmail.com Sun Aug 18 14:30:35 2013 From: ahuvayochevedsegal at gmail.com (gugs) Date: Sun, 18 Aug 2013 07:30:35 -0700 Subject: Autoincrement subject number in startupinfo editor Message-ID: Hi All, I have to create a task that will be running on computers at essentially an expo, which will allows passersby to test out their chops on a shortened version of a cognitive task. Given that the people staffing the booth will not be able to enter subject numbers I was hoping I could make it as "independently" running as possible. I googled the topic of autoincrementing subject numbers and came across the "What's new" guide which talks about this. There is very little information on the knowledge base (the topic page related to the startupinfo editor is under construction). I tried to set it up but it keeps on kicking up errors. I am not sure what text to put under the values column of the "subject"property? Does anyone have any ideas? Regards, Ahuva -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/e83e2b86-93e4-47d4-a1ff-57423ed0aa9d%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Untitled.png Type: image/png Size: 40561 bytes Desc: not available URL: From ndlabmanager at gmail.com Thu Aug 22 17:10:18 2013 From: ndlabmanager at gmail.com (Stephen Mattingly) Date: Thu, 22 Aug 2013 10:10:18 -0700 Subject: underline certain characters/words within text display Message-ID: Hi All, This seems pretty simple, but i am just learning that Eprime has components to allow you to add code. So my question is: is it possible to add emphasis within a text slide to certain words. e.g. "it is *IMPORTANT* that you remember to press 0 or 1. " "there is a difference between *Remember* and *Know*." etc it seems that the property menus are global - either everything in the text slide is underlined (italicized, struck through ,etc), or nothing is. using ctrl+U while highlighting a subset gives the error noise. ultimately, I've got an idea for adding multiple text boxes within a slide, some with underline and some without, but I feel like this will be very difficult to properly line it up - especially with the auto-snap feature. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/0f80fe6c-30e4-47d8-9ade-b0a3788c3b3f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdwss at 163.com Sun Aug 25 20:55:32 2013 From: wdwss at 163.com (wdwss) Date: Sun, 25 Aug 2013 13:55:32 -0700 Subject: Partial execution of TrialList Message-ID: Good afternoon, Does anyone know the inline code to allow the procedure to go through a selection of the levels (exemplars) in a TrialList? Thank you! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/c389becb-2bf9-4c0f-9543-c765c2f09d07%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Aug 26 20:06:51 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 26 Aug 2013 16:06:51 -0400 Subject: underline certain characters/words within text display In-Reply-To: <0f80fe6c-30e4-47d8-9ade-b0a3788c3b3f@googlegroups.com> Message-ID: Yes, using multiple text boxes in a Slide is the regular way to get around this, although clumsy. Ultimately, you could do everything using Canvas.Text, etc. (see the Canvas topic in the E-Prime Help facility), although this is not simple (e.g., you will have to do your own word-wrapping). ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 8/22/2013 01:10 PM Thursday, Stephen Mattingly wrote: >Hi All, > > This seems pretty simple, but i am just learning that Eprime has > components to allow you to add code. So my question is: is it > possible to add emphasis within a text slide to certain words. e.g. > >"it is IMPORTANT that you remember to press 0 or 1. " > >"there is a difference between Remember and Know." > >etc > >it seems that the property menus are global - either everything in >the text slide is underlined (italicized, struck through ,etc), or >nothing is. using ctrl+U while highlighting a subset gives the error noise. > > > >ultimately, I've got an idea for adding multiple text boxes within a >slide, some with underline and some without, but I feel like this >will be very difficult to properly line it up - especially with the >auto-snap feature. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/521bb563.0286320a.4f5e.54d8SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Mon Aug 26 20:09:24 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 26 Aug 2013 16:09:24 -0400 Subject: Autoincrement subject number in startupinfo editor In-Reply-To: Message-ID: Ahuva, If PST has advertised this capacity, then you should contact their support to get it working for you (see below). Or, see if you can program this using AutoIt, http://www.autoitscript.com/site/autoit . ----- 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 http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/18/2013 10:30 AM Sunday, gugs wrote: >Hi All, > >I have to create a task that will be running on computers at >essentially an expo, which will allows passersby to test out their >chops on a shortened version of a cognitive task. Given that the >people staffing the booth will not be able to enter subject numbers >I was hoping I could make it as "independently" running as >possible. I googled the topic of autoincrementing subject numbers >and came across the "What's new" guide which talks about >this. There is very little information on the knowledge base (the >topic page related to the startupinfo editor is under >construction). I tried to set it up but it keeps on kicking up >errors. I am not sure what text to put under the values column of >the "subject"property? Does anyone have any ideas? > >Regards, > >Ahuva -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/521bb5fb.665d320a.3753.54f8SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Mon Aug 26 20:22:38 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 26 Aug 2013 16:22:38 -0400 Subject: Fragmented pictures with multiple inputs In-Reply-To: <3b04c2be-ee11-4462-afa4-739f3d0a3b83@googlegroups.com> Message-ID: First, another general point about online disussions -- when you post a reply, *please* also include the previous messages from *both* parties, so that your correspondent can readily recall the proper context (look at my reply as an example). Just a little courtesy to spare your correspondent and other readers some work. So, the "criterion based exit" example shows you how to create a simple loop, now you just need to modify the stimulus each time through the loop. You could do that just by using an attribute reference in your stimulus (e.g., "[FragFile].bmp", and then using c.SetAttrib to set the attribute each time through the loop (see the Context.SetAttrib in the E-Basic Help facility) according to whatever algorithm you devise. You should be able to take it from there. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/16/2013 07:25 PM Friday, Alexandre Nobre wrote: >Hi, David, thank you for the reply. I'm sorry for not being clear >about what I meant. I do have the fragmented pictures, actually. My >main problem is how to repeat the response slide in a single trial >until the participant identifies the picture correctly (which he >does verbally - the key press for repeating the same picture, but in >a less fragmented form, or for jumping to the next picture (trial) >is done by the experimenter). I need to have the slide change the >image it uses every time the participant emits a wrong response, >until they get it right or the last fragmented form has been displayed. > >I've been able to insert several slides and masks in the trial >procedure, so that, if the participant emits a wrong response, the >trial continues on to the next slide, which presents the same >picture in a less fragmented form. If they identify the picture >correctly, then he trial ends using a label. The problem with this >is that, because this task is done simultaneously with a dichotic >listening task, the number of attributes specified in the trial list >is becoming enormous (one sound for each slide, as well as one >image). I imagine that this can be done with a Inline in a less >sloppy way, but I'm not sure how to do this. I checked out the >"criterion based exit" sample you recommended, but, from what I've >understood, in the sample the trials are simply repeated, but not >modified as the experiment goes on, so I've been unable to transfer >it to my experiment. > >On Wednesday, August 14, 2013 12:32:38 AM UTC-3, Alexandre Nobre wrote: >Hello. I'm new to E-prime and am currently trying to implement an >experiment on identification of fragmented pictures, but can't >figure out how. Each trial in the experiment should initiate with >the presentation of a fragmented picture, to which the subject must >respond verbally. If the subject identifies it correctly, the >experimenter initiates the next trial, with a different fragmented >picture. However, if the object is named incorrectly, the same >picture appears on the screen, but in a less fragmented form. Also, >I need to have six different levels of fragmentation, so that, if >the subject can`t identify the picture correctly on any level, the >next trial is initiated, with a new fragmented picture. Does anyone >know how to do this? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/521bb939.0286320a.4f5e.5545SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/groups/opt_out. From robert.gutzwiller at gmail.com Fri Aug 30 20:29:10 2013 From: robert.gutzwiller at gmail.com (Robert Gutzwiller) Date: Fri, 30 Aug 2013 13:29:10 -0700 Subject: drawing lines using the mouse over experimenter-displayed images Message-ID: Hi all, New to the in-depth programming of Eprime, and all I want to do is allow participants to use the mouse to draw 3 lines visible on-screen over an image that is presented. The basic idea would be to have them click on the initiation point for the line, and then click where they want the line to end. I've tried to go through the help material and the forums, and cobbled together this little bit of inline code that currently sits immediately before my image. Can someone point me in the right direction for correcting this? Dim cnvs As Canvas Set cnvs = Display.Canvas Dim xPos, yPos, xPosTwo, yPosTwo As Integer Dim counter As Integer counter = 0 Mouse.ShowCursor True Dim rdMouse1 As MouseResponseData Dim mouseClicks As Integer If counter < 3 Then mouseClicks = Fixation.InputMasks.Item(1).Responses.Count If mouseClicks > 0 Then Set rdMouse1 = CMouseResponseData(Fixation.InputMasks.Responses(1)) xPos = rdMouse1.CursorX yPos = rdMouse1.CursorY sleep 50 set rdMouse1 = CMouseResponseData(Fixation.InputMasks.Responses(2)) xPosTwo = rdMouse1.CursorX yPosTwo = rdMouse1.CursorY END IF cnvs.PenWidth = 30 cnvs.PenColor = CColor ("red") cnvs.Line xPos, yPos, xPosTwo, yPosTwo counter = counter + 1 END IF Thanks! -Robert -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/4464893c-ff01-4661-b5f6-7f617b37cc5a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alpnobre at gmail.com Sat Aug 31 20:27:22 2013 From: alpnobre at gmail.com (Alexandre Nobre) Date: Sat, 31 Aug 2013 13:27:22 -0700 Subject: Fragmented pictures with multiple inputs In-Reply-To: <521bb939.0286320a.4f5e.5545SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: That worked well. Thank you David! On Monday, August 26, 2013 5:22:38 PM UTC-3, McFarlane, David wrote: > > First, another general point about online disussions -- when you post > a reply, *please* also include the previous messages from *both* > parties, so that your correspondent can readily recall the proper > context (look at my reply as an example). Just a little courtesy to > spare your correspondent and other readers some work. > > So, the "criterion based exit" example shows you how to create a > simple loop, now you just need to modify the stimulus each time > through the loop. You could do that just by using an attribute > reference in your stimulus (e.g., "[FragFile].bmp", and then using > c.SetAttrib to set the attribute each time through the loop (see the > Context.SetAttrib in the E-Basic Help facility) according to whatever > algorithm you devise. You should be able to take it from there. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) PST's trained staff > take any and all questions at > http://support.pstnet.com/e%2Dprime/support/login.asp , 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 8/16/2013 07:25 PM Friday, Alexandre Nobre wrote: > >Hi, David, thank you for the reply. I'm sorry for not being clear > >about what I meant. I do have the fragmented pictures, actually. My > >main problem is how to repeat the response slide in a single trial > >until the participant identifies the picture correctly (which he > >does verbally - the key press for repeating the same picture, but in > >a less fragmented form, or for jumping to the next picture (trial) > >is done by the experimenter). I need to have the slide change the > >image it uses every time the participant emits a wrong response, > >until they get it right or the last fragmented form has been displayed. > > > >I've been able to insert several slides and masks in the trial > >procedure, so that, if the participant emits a wrong response, the > >trial continues on to the next slide, which presents the same > >picture in a less fragmented form. If they identify the picture > >correctly, then he trial ends using a label. The problem with this > >is that, because this task is done simultaneously with a dichotic > >listening task, the number of attributes specified in the trial list > >is becoming enormous (one sound for each slide, as well as one > >image). I imagine that this can be done with a Inline in a less > >sloppy way, but I'm not sure how to do this. I checked out the > >"criterion based exit" sample you recommended, but, from what I've > >understood, in the sample the trials are simply repeated, but not > >modified as the experiment goes on, so I've been unable to transfer > >it to my experiment. > > > >On Wednesday, August 14, 2013 12:32:38 AM UTC-3, Alexandre Nobre wrote: > >Hello. I'm new to E-prime and am currently trying to implement an > >experiment on identification of fragmented pictures, but can't > >figure out how. Each trial in the experiment should initiate with > >the presentation of a fragmented picture, to which the subject must > >respond verbally. If the subject identifies it correctly, the > >experimenter initiates the next trial, with a different fragmented > >picture. However, if the object is named incorrectly, the same > >picture appears on the screen, but in a less fragmented form. Also, > >I need to have six different levels of fragmentation, so that, if > >the subject can`t identify the picture correctly on any level, the > >next trial is initiated, with a new fragmented picture. Does anyone > >know how to do this? > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/fb4e63d2-80fa-40fc-83a7-86d430767c2b%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: