From mgancsos at gmail.com Fri Feb 1 19:24:11 2013 From: mgancsos at gmail.com (Mark) Date: Fri, 1 Feb 2013 11:24:11 -0800 Subject: Delay of animation on Slide display Message-ID: Hi all! I inherited an experiment that draws a circle on the screen and then refreshes for a set duration to make it appear to move. The problem I am having with it is that there is a noticeable delay, like 2 seconds, from the time the circle appears on the screen and you start moving the joystick, until the time the circle starts to move. Essentially it appears, you start moving the joystick, nothing happens for about 2 seconds, then the circle "jumps" to wherever the joystick coords are at the moment and then moves perfectly in time with the joystick motion. If I could get rid of that lag/delay, there would be no problem. The inline code that governs the moving circle is below. The inline object follows a slide object in this procedure, which is blank except for a SlideImage called 'TheCircleL' which is 5k. The inline code sets TheCircleL's X and Y coords equal to the joystick coords, then redraws the slide. Any help would be greatly appreciated! **************************************************** startTime = Clock.Read ' Tracks the movement ' Uncomment the joystick line and comment the mouse line when using joystick 'While (not Mouse.Buttons and ebMouseButton1 and (Clock.Read-startTime < drawDuration)) 'While (Not Joystick.Buttons and ebJoystickButton1 and (Clock.Read-startTime < drawDuration)) While (Clock.Read-startTime < drawDuration) theCircleL.X = Mouse.CursorX theCircleL.Y = Mouse.CursorY blankL.draw Wend c.SetAttrib "xPos", Mouse.CursorX c.SetAttrib "yPos", Mouse.CursorY **************************************************** -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/lwr7HbvmBxcJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From claire.zedelius at gmail.com Fri Feb 1 23:38:32 2013 From: claire.zedelius at gmail.com (Tronix) Date: Fri, 1 Feb 2013 15:38:32 -0800 Subject: Switching between 2 lists and conditionally skipping trials Message-ID: Hi! I’m running into some problems programming an experiment switching randomly between 2 lists. I want to present a text, displayed sentence by sentence, that contains abnormalities in some, randomly selected sentences. For this, I created a program that switches randomly between two nested lists. One list contains regular sentences (e.g., “The tree grew.”), the other slightly modified versions of the same sentences (e.g., “The tree gfrwr.”). Now I don’t want to show any sentence in both the regular and abnormal version. To achieve this, I numbered the sentences and basically tried to tell e-prime to skip a sentence if a sentence with the same number from the other list has already been presented. When I run the program, however, it seems to skip all the sentences. I can’t seem to find the mistake. I’d be very happy if somebody here could help me with this. Here is what I did: 1. I created a variable (“Magicnumber “) that’s supposed to keep count of the presented trials. In the beginning of the script, I set the value to 1: c.SetAttrib "Magicnumber", 1 2. To update this value, immediately after the sentence display object I put an inline object saying: c.SetAttrib "Magicnumber" , "Magicnumber" + 1 3. In each of the nested lists containing the sentences, I created a variable (“Sentencenumber”) containing the numbers 1 to 30 (from first to last sentence). 4. I inserted a label object (“Skip”) a bit after the sentence display object. 5. In order to skip sentences with sentence numbers already selected from the other list, immediately before the sentence display object I inserted an inline object saying: If c.GetAttrib("Sentencenumber") < "Magicnumber" then Goto Skip End if Does anybody see what I did wrong here? Thanks in advance for your help! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/DPX85uELb2gJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From turquoised13 at gmail.com Sat Feb 2 01:00:27 2013 From: turquoised13 at gmail.com (Margot Elizabeth) Date: Fri, 1 Feb 2013 20:00:27 -0500 Subject: KeyLists In-Reply-To: <219c3390-d25c-4a47-8168-9433cfb53fa4@googlegroups.com> Message-ID: hi Alexis, Well... sort of. I never did figure out how to use Key Lists properly. Instead I made it more simple by pulling out a quasi-random subset of the unrelateds, and coding them as if they were another group of meaningful stimuli (conceptually) instead of being more unrelated pairs. The word pairs were only quasi-random because as athey subset matched the sets of meaningful pairs re: length, frequency, etc., but they were otherwise chosen unsystematically. Now I have 5 groups, which NetStation will show 4 at a time. That's all I really need, except to check on occasion that the subset of unrelateds and the full set look pretty much the same. So far so good. Margot On Wed, Jan 30, 2013 at 1:02 PM, Alexis wrote: > Hi Margot, > I am having the same problem now that you describe and am wondering if you > found a solution or a workaround to send more specific TRSP information to > netstation from Eprime. I expect that we could reconstruct all of our > information from the .edat file of each subject but I'd rather not. > > Thanks, > > Alexis Barton > Graduate Student > Developmental Cognitive Neuroscience > Indiana University - Bloomington > > > On Tuesday, July 17, 2012 5:21:56 PM UTC-4, Margot Elizabeth wrote: >> >> hello e-primers, >> >> I am brand new to e-prime, so apologies in advance if this is very >> basic. I have a word priming experiment with a balanced list of primes and >> targets; 50% are meaningful and 50% are unrelated pairs. There are 3 >> different types of meaningful pairs, so as a group the unrelated pairs >> outnumber the other types. Because I am running an EEG experiment along >> with the priming, I need to pick a smaller subset of my unrelated pairs for >> Net Station to recognize and call for analysis. The KeyList seems like an >> obvious solution to this, but when I follow the instructions from E-Prime >> (EBANs), it doesn't work... E-prme will generate the script, but running >> it produces a "no such attribute" error. EBANS instructions say to name >> KeyList as the attribute in the InLine Send Trial Events, but then each of >> the actual attributes in the KeyList are being picked up as unknown. When >> I tell Send Trial Events about the individual attributes I get more >> errors. >> >> I have searched KeyLists and can't find examples or discussions of how to >> use this feature. >> >> Any help would be greatly appreciated. >> >> Margot Stothers >> Ph.D. (Candidate) >> Western University >> London, ON, Canada >> > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/AVSoMtvYxr4J. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From asmahanif85 at gmail.com Fri Feb 1 22:44:37 2013 From: asmahanif85 at gmail.com (alp115) Date: Fri, 1 Feb 2013 14:44:37 -0800 Subject: EPrime and iViewX interface Message-ID: Hi, I am trying to run a sample EPrime program from iViewX SDK. EPrime and iViewX are installed on the same system. I have two questions: 1) The first time I tried to interface the two systems, I was able to connect and present the EPrime experiment on the eyetracker (which is NNL VisualSystem) but the cursor disappeared from the iViewX system. So I was unable to view the eye image. 2) Later, the connection to eyetracker was disconnected and I was unable to start the experiment. I also noticed that SMI's experiment presentation tool (Experiment Center) also got disabled and the IP address changed itself. In iViewX SDK manual it is mentioned that-"Since E-Prime does not allow other programs to display visualizations, no images may be created by the SDK when used in conjunction with E-Prime". Does that mean EPrime cannot be run on the same system as SMI? Please help! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/sAVst-eiByEJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From turquoised13 at gmail.com Sat Feb 2 01:51:29 2013 From: turquoised13 at gmail.com (Margot Elizabeth) Date: Fri, 1 Feb 2013 20:51:29 -0500 Subject: response unit for E-prime 2.0 Professional with ERP hardware In-Reply-To: Message-ID: We gave up on using E-Prime to present videos of 7000 ms in length; they just wouldn't run reliably. Instead we went to Matlab, then discovered that the PST SRBox is sending random bytes to Matlab which are being misinterpreted as button presses. The biggest consequence is that Matlab skips presenting videos unpredictably when there is extra information in the buffer. I'm using the same SRBox for an audio experiment that E-Prime is presenting, so of course I was concerned when I discovered the visual bug. E-Prime evidently "knows" about the problem because NetStation isn't recording more than one button press during the audio experiment. Has anyone else had this problem? It does *not* appear to be the cable. Moving the cable, even violently! :)), does nothing to the amount of noise we're recording; in contrast, button presses, particularly late in the video presentation just before a timeout, do. Do these boxes send random bytes of information that E-Prime deals with routinely, or is there some problem with the way we've set it up (e.g., grounding?). Or maybe it's a defective box. The 'wait' code for Matlab from this thread lessened the problem but didn't solve it. thanks, Margot On Tue, Jun 19, 2012 at 2:43 PM, Chris Jones wrote: > I'd also like to thank Ben very much for this information. I came to this > group looking for instructions on how to build a serial or parallel > response box. My department won't be able to approve a response box until > the fall and I want some data now... > > The game controller option makes sense for so many reasons, including the > psychological effect or context effect - perhaps pulling for more valid > data - particularly in a stop signal paradigm. Seems to fit with what > Mich (Psychology, Nottingham; sorry don't have thread handy) elsewhere > about psychological effects as being under-rated in comparison with timing > precision... > > Just to review: I can use a Logitech game pad - for example > http://www.logitech.com/en-ca/gaming/controllers/7360 > > and download a driver... I don't actually see a place to download drivers > of the type Ben describes, but there is this information: > > ____________________________________ > > DirectInput (D) > > DirectInput mode works with Windows drivers to enable basic input > functionality. This input mode also lets you use the Logitech Gaming > Software to customize the inputs for games that don't normally allow you to > do so, or don't have gamepad support at all. > > You can use the Logitech Gaming Software with DirectInput mode to assign a > specific key or key combination to any of the buttons or thumbsticks on the > gamepad. You can also assign each thumbstick to work like a joystick or > mouse. > > NOTE: Logitech doesn't provide configuration software for non-Windows > systems, but many games allow you to configure inputs in-game. DirectInput > mode lets the gamepad communicate with the drivers on many such systems. > __________________________________________ > > ...And so using a driver and/or the above information, I will be able to > assign an ASCII key or number to one or more gamepad buttons, right? > > And e-prime will be able to add this device - as an input device or > the type, "response box"? > > And then what about the timing errors? I'm not so concerned, but can > anyone estimate the timing errors for data logging? Is there a way to > minimize the error by changing the input refresh rate somewhere? > > Thanks so much, > Chris > > Chris Jones, Ph.D. > Department of Psychology > Kwantlen Polytechnic University > Surrey, BC, Canada > > > On Wednesday, April 22, 2009 6:17:25 AM UTC-7, ben wrote: > >> i've used a couple different USB controllers for this purpose over the >> years. they're so much cheaper than the cedrus boxes or the pst response >> boxes. >> both controllers i've used, and i would imagine all controllers of this >> type, have an accompanying driver which you download from the >> manufacturer's website and which allows you to assign a value to the >> various controller buttons. presses on the controller mimic keyboard >> button presses, so all you need to do in eprime is set the object >> collecting responses to look for a keyboard response (as opposed to a >> response from a mouse or a pst response box). for instance, set the object >> to accept '0' or '1', and then assign one button on the controller to be >> '0' and the other to be '1', turn off all the other buttons, and you're >> good to go. >> pretty straight forward. >> http://www.logitech.com/index.**cfm/gaming/pc_gaming/gamepads/** >> devices/301&cl=US,EN >> >> ben >> >> On Wed, Apr 22, 2009 at 7:56 AM, Jeffrey Bedwell wrote: >> >>> >>> Thanks for this info. Are you using this gamepad with E-Prime? If so, >>> do you write script to tell the software how to interact with the >>> gamepad? >>> >>> -Jeff >>> >>> On Apr 21, 9:20 am, baltimore.... at gmail.com wrote: >>> > we use the logitech precision usb gamepad. >>> > >>> > On Apr 10, 2009 2:09pm, Jeffrey Bedwell wrote: >>> > >>> > >>> > >>> > > Hi. I was wondering if anyone has suggestions for a button response >>> > > unit to use with E-Prime 2.0 Professional in the context of ERP/EEG >>> > > experiments? The PST response unit does not appear to be ideal for >>> > > this because it has an A/C power cable coming up to the unit that may >>> > > cause interference with the ERP signal. I'd like some type of video >>> > > game controller or wireless unit that the participant can hold in >>> > > their lap comfortably. Also, if it can plug into USB port, that may >>> be >>> > > ideal. Does anyone have any suggestions? Also, if anyone has >>> > > successfully used the PST response unit in the context of ERP/EEG >>> > > equipment, please let me know your thoughts on this. Thanks. I'd >>> > > appreciate any feedback! >>> > > Jeffrey S. Bedwell, Ph.D. >>> > > Assistant Professor >>> > > Department of Psychology >>> > > University of Central Florida- Hide quoted text - >>> > >>> > - Show quoted text - >>> >>> >> -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/cEXjWgmdWi0J. > To post to this group, send email to e-prime at googlegroups.com. > To unsubscribe from this group, send email to > e-prime+unsubscribe at googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/e-prime?hl=en. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.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 Sun Feb 3 21:36:13 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Sun, 3 Feb 2013 22:36:13 +0100 Subject: response unit for E-prime 2.0 Professional with ERP hardware In-Reply-To: Message-ID: Hi Margot, The SRBox devices sends a continuous stream of bytes representing the button status. If I remember correctly, there is a mode switich to select 9600 or 19200 bytes per second. I think the continuous stream makes it possible to make the response times more accurate. However, you will need a kind of device driver that deals with the continuous stream in a background process. I have created such driver as a so called Windows COM-object, several years ago, but I don't think that will be compatible with Matlab. Best, Paul On 2 February 2013 02:51, Margot Elizabeth wrote: > We gave up on using E-Prime to present videos of 7000 ms in length; they > just wouldn't run reliably. Instead we went to Matlab, then discovered that > the PST SRBox is sending random bytes to Matlab which are being > misinterpreted as button presses. The biggest consequence is that Matlab > skips presenting videos unpredictably when there is extra information in > the buffer. > I'm using the same SRBox for an audio experiment that E-Prime is > presenting, so of course I was concerned when I discovered the visual bug. > E-Prime evidently "knows" about the problem because NetStation isn't > recording more than one button press during the audio experiment. > Has anyone else had this problem? It does *not* appear to be the cable. > Moving the cable, even violently! :)), does nothing to the amount of noise > we're recording; in contrast, button presses, particularly late in the > video presentation just before a timeout, do. Do these boxes send random > bytes of information that E-Prime deals with routinely, or is there some > problem with the way we've set it up (e.g., grounding?). Or maybe it's a > defective box. The 'wait' code for Matlab from this thread lessened the > problem but didn't solve it. > thanks, > Margot > > On Tue, Jun 19, 2012 at 2:43 PM, Chris Jones wrote: > >> I'd also like to thank Ben very much for this information. I came to >> this group looking for instructions on how to build a serial or parallel >> response box. My department won't be able to approve a response box until >> the fall and I want some data now... >> >> The game controller option makes sense for so many reasons, including the >> psychological effect or context effect - perhaps pulling for more valid >> data - particularly in a stop signal paradigm. Seems to fit with what >> Mich (Psychology, Nottingham; sorry don't have thread handy) elsewhere >> about psychological effects as being under-rated in comparison with timing >> precision... >> >> Just to review: I can use a Logitech game pad - for example >> http://www.logitech.com/en-ca/gaming/controllers/7360 >> >> and download a driver... I don't actually see a place to download >> drivers of the type Ben describes, but there is this information: >> >> ____________________________________ >> >> DirectInput (D) >> >> DirectInput mode works with Windows drivers to enable basic input >> functionality. This input mode also lets you use the Logitech Gaming >> Software to customize the inputs for games that don't normally allow you to >> do so, or don't have gamepad support at all. >> >> You can use the Logitech Gaming Software with DirectInput mode to assign >> a specific key or key combination to any of the buttons or thumbsticks on >> the gamepad. You can also assign each thumbstick to work like a joystick or >> mouse. >> >> NOTE: Logitech doesn't provide configuration software for non-Windows >> systems, but many games allow you to configure inputs in-game. DirectInput >> mode lets the gamepad communicate with the drivers on many such systems. >> __________________________________________ >> >> ...And so using a driver and/or the above information, I will be able to >> assign an ASCII key or number to one or more gamepad buttons, right? >> >> And e-prime will be able to add this device - as an input device or >> the type, "response box"? >> >> And then what about the timing errors? I'm not so concerned, but can >> anyone estimate the timing errors for data logging? Is there a way to >> minimize the error by changing the input refresh rate somewhere? >> >> Thanks so much, >> Chris >> >> Chris Jones, Ph.D. >> Department of Psychology >> Kwantlen Polytechnic University >> Surrey, BC, Canada >> >> >> On Wednesday, April 22, 2009 6:17:25 AM UTC-7, ben wrote: >> >>> i've used a couple different USB controllers for this purpose over the >>> years. they're so much cheaper than the cedrus boxes or the pst response >>> boxes. >>> both controllers i've used, and i would imagine all controllers of this >>> type, have an accompanying driver which you download from the >>> manufacturer's website and which allows you to assign a value to the >>> various controller buttons. presses on the controller mimic keyboard >>> button presses, so all you need to do in eprime is set the object >>> collecting responses to look for a keyboard response (as opposed to a >>> response from a mouse or a pst response box). for instance, set the object >>> to accept '0' or '1', and then assign one button on the controller to be >>> '0' and the other to be '1', turn off all the other buttons, and you're >>> good to go. >>> pretty straight forward. >>> http://www.logitech.com/index.**cfm/gaming/pc_gaming/gamepads/** >>> devices/301&cl=US,EN >>> >>> ben >>> >>> On Wed, Apr 22, 2009 at 7:56 AM, Jeffrey Bedwell wrote: >>> >>>> >>>> Thanks for this info. Are you using this gamepad with E-Prime? If so, >>>> do you write script to tell the software how to interact with the >>>> gamepad? >>>> >>>> -Jeff >>>> >>>> On Apr 21, 9:20 am, baltimore.... at gmail.com wrote: >>>> > we use the logitech precision usb gamepad. >>>> > >>>> > On Apr 10, 2009 2:09pm, Jeffrey Bedwell >>>> wrote: >>>> > >>>> > >>>> > >>>> > > Hi. I was wondering if anyone has suggestions for a button response >>>> > > unit to use with E-Prime 2.0 Professional in the context of ERP/EEG >>>> > > experiments? The PST response unit does not appear to be ideal for >>>> > > this because it has an A/C power cable coming up to the unit that >>>> may >>>> > > cause interference with the ERP signal. I'd like some type of video >>>> > > game controller or wireless unit that the participant can hold in >>>> > > their lap comfortably. Also, if it can plug into USB port, that may >>>> be >>>> > > ideal. Does anyone have any suggestions? Also, if anyone has >>>> > > successfully used the PST response unit in the context of ERP/EEG >>>> > > equipment, please let me know your thoughts on this. Thanks. I'd >>>> > > appreciate any feedback! >>>> > > Jeffrey S. Bedwell, Ph.D. >>>> > > Assistant Professor >>>> > > Department of Psychology >>>> > > University of Central Florida- Hide quoted text - >>>> > >>>> > - Show quoted text - >>>> >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/e-prime/-/cEXjWgmdWi0J. >> To post to this group, send email to e-prime at googlegroups.com. >> To unsubscribe from this group, send email to >> e-prime+unsubscribe at googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/e-prime?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.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. 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 Sun Feb 3 21:46:11 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Sun, 3 Feb 2013 22:46:11 +0100 Subject: Switching between 2 lists and conditionally skipping trials In-Reply-To: <564f05d4-f902-44ab-8a06-fa4e19ad9e29@googlegroups.com> Message-ID: hi, To start with, the MagicNumber variable needs to be a regular global variable that is declared in the global User Script section: Dim MagicNumber as Integer You implement such a variable as a eprime attribute because its value depend on the running context. Eprime will automatically set the variable to 0 when it is declared, so you might have to initialise it at the start of the experiment (using an inline script object): MagicNumber = 1 Then, instead of trying to increment the attribute value (which was implemented incorrectly, BTW), you can increment the global variable like this: MagicNumber = MagicNumber + 1 And finally: If CInt(c.GetAttrib("Sentencenumber")) < Magicnumber then Goto Skip End if Without quotes around the variable! That's it. best Paul On 2 February 2013 00:38, Tronix wrote: > Hi! > > > > I’m running into some problems programming an experiment switching > randomly between 2 lists. I want to present a text, displayed sentence by > sentence, that contains abnormalities in some, randomly selected sentences. > For this, I created a program that switches randomly between two nested > lists. One list contains regular sentences (e.g., “The tree grew.”), the > other slightly modified versions of the same sentences (e.g., “The tree > gfrwr.”). Now I don’t want to show any sentence in both the regular and > abnormal version. To achieve this, I numbered the sentences and basically > tried to tell e-prime to skip a sentence if a sentence with the same number > from the other list has already been presented. When I run the program, > however, it seems to skip all the sentences. I can’t seem to find the > mistake. I’d be very happy if somebody here could help me with this. > > > > Here is what I did: > > > > 1. I created a variable (“Magicnumber “) that’s supposed to keep count of > the presented trials. In the beginning of the script, I set the value to 1: > > c.SetAttrib "Magicnumber", 1 > > > > 2. To update this value, immediately after the sentence display object I > put an inline object saying: > > c.SetAttrib "Magicnumber" , "Magicnumber" + 1 > > > > 3. In each of the nested lists containing the sentences, I created a > variable (“Sentencenumber”) containing the numbers 1 to 30 (from first to > last sentence). > > > > 4. I inserted a label object (“Skip”) a bit after the sentence display > object. > > > > 5. In order to skip sentences with sentence numbers already selected from > the other list, immediately before the sentence display object I inserted > an inline object saying: > > If c.GetAttrib("Sentencenumber") < "Magicnumber" then > > Goto Skip > > End if > > > > Does anybody see what I did wrong here? > > Thanks in advance for your help! > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/DPX85uELb2gJ. > 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. 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 Sun Feb 3 22:20:43 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Sun, 3 Feb 2013 23:20:43 +0100 Subject: Delay of animation on Slide display In-Reply-To: <7ea52f46-3317-466e-b0e1-2850993847cb@googlegroups.com> Message-ID: hi Mark, I'm not sure what exactly is going wrong here, but you could insert some debug.print lines in your inline script to see what is going on. I.e.: Debug.print "startTime: " & startTime ... Debug.print "redraw: " & Clock.Read etc. Also, you could try to redraw only the circle itself: Display.WaitForVericalBlank theCircleL.clear theCircleL.X = Mouse.CursorX theCircleL.Y = Mouse.CursorY theCircleL.draw And, offcourse, when you only draw a simple circle, you could do things more efficiently by drawing the circle using the canvas drawing functions, instead of using a slide with an image. best, paul On 1 February 2013 20:24, Mark wrote: > Hi all! > > I inherited an experiment that draws a circle on the screen and then > refreshes for a set duration to make it appear to move. The problem I am > having with it is that there is a noticeable delay, like 2 seconds, from > the time the circle appears on the screen and you start moving the > joystick, until the time the circle starts to move. Essentially it > appears, you start moving the joystick, nothing happens for about 2 > seconds, then the circle "jumps" to wherever the joystick coords are at the > moment and then moves perfectly in time with the joystick motion. > > If I could get rid of that lag/delay, there would be no problem. > > > The inline code that governs the moving circle is below. The inline > object follows a slide object in this procedure, which is blank except for > a SlideImage called 'TheCircleL' which is 5k. The inline code sets > TheCircleL's X and Y coords equal to the joystick coords, then redraws the > slide. > > Any help would be greatly appreciated! > > > > **************************************************** > startTime = Clock.Read > > ' Tracks the movement > ' Uncomment the joystick line and comment the mouse line when using > joystick > > 'While (not Mouse.Buttons and ebMouseButton1 and (Clock.Read-startTime < > drawDuration)) > 'While (Not Joystick.Buttons and ebJoystickButton1 and > (Clock.Read-startTime < drawDuration)) > While (Clock.Read-startTime < drawDuration) > theCircleL.X = Mouse.CursorX > theCircleL.Y = Mouse.CursorY > blankL.draw > > Wend > > c.SetAttrib "xPos", Mouse.CursorX > c.SetAttrib "yPos", Mouse.CursorY > **************************************************** > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/lwr7HbvmBxcJ. > 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. 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 Feb 4 17:00:24 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 4 Feb 2013 12:00:24 -0500 Subject: response unit for E-prime 2.0 Professional with ERP hardware In-Reply-To: Message-ID: Margot, What Paul said-- in particular, the SRBox does not send "random" bytes. It does have a jumper inside to switch between transmission rates of 9600 or 19.2K baud. It has other jumpers to switch between character rates of 800 or 1600 cps -- 800 cps means 1.25 ms between data, 1600 cps means a mere 0.625 ms between data. This is all explained in the manual that should accompany the SRBox. It really is a neat little device once you understand it. The easiest way to see this is by using any terminal emulator (note that you must transit a byte to the SRBox with bit 7 set high in order to enable data transmission from the SRBox; sending a byte with bit 7 set low will stop data transmission -- this is *not* documented!). -- David McFarlane At 2/3/2013 04:36 PM Sunday, Paul Groot wrote: >Hi Margot, > >The SRBox devices sends a continuous stream of bytes representing >the button status. If I remember correctly, there is a mode switich >to select 9600 or 19200 bytes per second. I think the continuous >stream makes it possible to make the response times more accurate. >However, you will need a kind of device driver that deals with the >continuous stream in a background process. I have created such >driver as a so called Windows COM-object, several years ago, but I >don't think that will be compatible with Matlab. > >Best, >Paul > >On 2 February 2013 02:51, Margot Elizabeth ><turquoised13 at gmail.com> wrote: >We gave up on using E-Prime to present videos of 7000 ms in length; >they just wouldn't run reliably. Instead we went to Matlab, then >discovered that the PST SRBox is sending random bytes to Matlab >which are being misinterpreted as button presses. The biggest >consequence is that Matlab skips presenting videos unpredictably >when there is extra information in the buffer. >I'm using the same SRBox for an audio experiment that E-Prime is >presenting, so of course I was concerned when I discovered the >visual bug. E-Prime evidently "knows" about the problem because >NetStation isn't recording more than one button press during the >audio experiment. >Has anyone else had this problem? It does not appear to be the >cable. Moving the cable, even violently! :)), does nothing to the >amount of noise we're recording; in contrast, button presses, >particularly late in the video presentation just before a timeout, >do. Do these boxes send random bytes of information that E-Prime >deals with routinely, or is there some problem with the way we've >set it up (e.g., grounding?). Or maybe it's a defective box. The >'wait' code for Matlab from this thread lessened the problem but >didn't solve it. >thanks, >Margot > >On Tue, Jun 19, 2012 at 2:43 PM, Chris Jones ><c.jones.phd at gmail.com> wrote: >I'd also like to thank Ben very much for this information. I came >to this group looking for instructions on how to build a serial or >parallel response box. My department won't be able to approve a >response box until the fall and I want some data now... > >The game controller option makes sense for so many reasons, >including the psychological effect or context effect - perhaps >pulling for more valid data - particularly in a stop signal >paradigm. Seems to fit with what Mich (Psychology, Nottingham; >sorry don't have thread handy) elsewhere about psychological effects >as being under-rated in comparison with timing precision... > >Just to review: I can use a Logitech game pad - for example >http://www.logitech.com/en-ca/gaming/controllers/7360 > >and download a driver... I don't actually see a place to download >drivers of the type Ben describes, but there is this information: > >____________________________________ > >DirectInput (D) > >DirectInput mode works with Windows drivers to enable basic input >functionality. This input mode also lets you use the Logitech Gaming >Software to customize the inputs for games that don't normally allow >you to do so, or don't have gamepad support at all. > >You can use the Logitech Gaming Software with DirectInput mode to >assign a specific key or key combination to any of the buttons or >thumbsticks on the gamepad. You can also assign each thumbstick to >work like a joystick or mouse. > >NOTE: Logitech doesn't provide configuration software for >non-Windows systems, but many games allow you to configure inputs >in-game. DirectInput mode lets the gamepad communicate with the >drivers on many such systems. >__________________________________________ > >...And so using a driver and/or the above information, I will be >able to assign an ASCII key or number to one or more gamepad buttons, right? > >And e-prime will be able to add this device - as an input device or >the type, "response box"? > >And then what about the timing errors? I'm not so concerned, but >can anyone estimate the timing errors for data logging? Is there a >way to minimize the error by changing the input refresh rate somewhere? > >Thanks so much, >Chris > >Chris Jones, Ph.D. >Department of Psychology >Kwantlen Polytechnic University >Surrey, BC, Canada > > >On Wednesday, April 22, 2009 6:17:25 AM UTC-7, ben wrote: >i've used a couple different USB controllers for this purpose over >the years. they're so much cheaper than the cedrus boxes or the pst >response boxes. >both controllers i've used, and i would imagine all controllers of >this type, have an accompanying driver which you download from the >manufacturer's website and which allows you to assign a value to the >various controller buttons. presses on the controller mimic >keyboard button presses, so all you need to do in eprime is set the >object collecting responses to look for a keyboard response (as >opposed to a response from a mouse or a pst response box). for >instance, set the object to accept '0' or '1', and then assign one >button on the controller to be '0' and the other to be '1', turn off >all the other buttons, and you're good to go. >pretty straight forward. >http://www.logitech.com/index.cfm/gaming/pc_gaming/gamepads/devices/301&cl=US,EN > >ben > >On Wed, Apr 22, 2009 at 7:56 AM, Jeffrey Bedwell ><jbedwell at mail.ucf.edu> wrote: > >Thanks for this info. Are you using this gamepad with E-Prime? If so, >do you write script to tell the software how to interact with the >gamepad? > >-Jeff > >On Apr 21, 9:20 am, baltimore.... at gmail.com wrote: > > we use the logitech precision usb gamepad. > > > > On Apr 10, 2009 2:09pm, Jeffrey Bedwell wrote: > > > > > > > > > Hi. I was wondering if anyone has suggestions for a button response > > > unit to use with E-Prime 2.0 Professional in the context of ERP/EEG > > > experiments? The PST response unit does not appear to be ideal for > > > this because it has an A/C power cable coming up to the unit that may > > > cause interference with the ERP signal. I'd like some type of video > > > game controller or wireless unit that the participant can hold in > > > their lap comfortably. Also, if it can plug into USB port, that may be > > > ideal. Does anyone have any suggestions? Also, if anyone has > > > successfully used the PST response unit in the context of ERP/EEG > > > equipment, please let me know your thoughts on this. Thanks. I'd > > > appreciate any feedback! > > > Jeffrey S. Bedwell, Ph.D. > > > Assistant Professor > > > Department of Psychology > > > University of Central Florida- Hide quoted text - > > > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From erikkwing at gmail.com Mon Feb 4 22:12:45 2013 From: erikkwing at gmail.com (ekwing) Date: Mon, 4 Feb 2013 14:12:45 -0800 Subject: Using a timed Slide Duration (e.g. 5000 ms) on a slide with multiple slide states In-Reply-To: <9754952c-c2a3-42b8-b1aa-9fcdc6240076@googlegroups.com> Message-ID: OP here. I figured I would update this post with my PST Support conversation so far. As of now, it remains unresolved: please see below. Best, ekwing _______________________________________ Dear ekwing, I would be happy to help. I have attached a modified version of your experiment(.es2) file that I believe solves this issue. I have created a variable in the experiment called “endtime”. This variable is in charge of the time limit for the selection of stimuli. If you open your Init InLine object, you can see where the “endtime” variable is created and set. Then, if you open the DoHitTest InLine object, you can see how the “endtime” variable is implemented. In this experiment, it is placed into a simple “If…Then” statement. This “If…Then” statement compares the current time (clock.read) to the “endtime” variable. If this portion of the experiment runs longer than the amount of time set by the “endtime” variable, then the experiment is set to go to the “EndStimulus” label. Please let me know if you have any other questions after taking a look at this sample experiment. Sincerely, ################ Technical Consultant *From ekwing on 2/4/2013 4:59:00 PM* Hi #######, Thank you for helping me with this issue, however, I believe my problem remains unresolved. Simply running and testing the sample experiment you attached shows that the slide still does not advance after 5 seconds regardless of the selections made; that is, it persists to advance 5 seconds after a selection is made on the screen, not after the slide initially comes on. I'll try to phrase my issue another way. The main problem lies in the "Highlight Selection" inline code, where there is a large "if" statement that concludes with "Goto RedoTrial". The if statement codes for the selection of a stimulus, and then goes to Redotrial, allowing for the if statement to be activated again (i.e. allowing for the selection of the next stimulus). This process, however, resets the slide, and therefore also resets the slide timer, making the endtime variable you created no better than the slide duration set in the slide properties of the stimulus slide. What I need is for the slide to advance after 5 seconds from initially coming on the screen, not 5 seconds after the participant has made their latest selection. This would involve a work around for the "Goto RedoTrial" part of the code; I need something that allows the participant to make all 3 ratings on the same screen without the slide resetting (i.e. going to RedoTrial). Additionally, in the version of the study you provided, you commented out the following code: 'If the subject did not click on a box or the SlideText used to exit the trial, 'then loop back to the Stimulus so the subject can make another selection. 'If strHit = "Question" OR strHit = "State1" OR strHit = "State2" OR strHit = "" Then ' Goto RedoTrial This code is necessary for the study as well; if it is not there, the study will crash if the slide is clicked on anywhere but the text boxes. As you can see, this code involves "Goto Retrial" as well, and so it would have to be modified. Please feel free to email me (###########) if any further clarification is necessary or if that would be a quicker form of communication. I sincerely appreciate your help and apologize if my descriptions of the issue have not been as clear as they could be. Thanks again, ekwing On Thursday, January 24, 2013 11:14:54 AM UTC-7, ekwing wrote: > > Hi everyone, > > I made a related post about this issue a couple weeks ago (which saw no > activity), however I have progressed since then and wanted to make a new > post with the updated information. > > The goal of my current project is to create a slide which contains 3 > rating scales and allows participants to use the mouse to select one rating > on each scale before advancing after 5 seconds (regardless of whether all > ratings were made or not). The project is currently set up so that each > scale point is represented by an individual text box which becomes > activated (i.e. turns and remains a different color and logs data) when > clicked. > > Currently, everything about the slide is functional, with the exception of > advancing after 5 seconds. Because, I believe, there is a change in slide > state when a text box becomes "activated" (the participant makes a > selection), the 5 second slide duration resets every time a participant > makes a rating scale selection. This, in turn, results in the slide > advancing 5 seconds after the participant makes their final selection, > rather than advancing 5 seconds after the slide comes on the screen as > desired. > > As a secondary question, I was wondering if anyone with experience with > slide states had any problems with data collection (E-Prime logging and > Physio) or if you can foresee any problems I may run into using this > technique. > > I've had problems attaching files in the past, but will post the relevant > inline code that follows the stimulus slide below. Also, the stimulus > slide properties currently have Duration set to 5000ms, Timing Mode > is Cumulative, and a Mouse as a registered device with the following > properties: > > Allowable: 1 > Time limit: (Same as duration) > End Action: Terminate > > Thanks for any help you can provide, > ekwing > > *DOHIT TEST* > 'Designate "theState" as the Default Slide State, which is the > 'current ActiveState on the Slide object "Stimulus". > Dim theState as SlideState > Set theState = Stimulus.States("Default") > > Dim strHit As String > Dim theMouseResponseData As MouseResponseData > > 'Was there a response? > If Stimulus.InputMasks.Responses.Count < 1 Then > > Set theMouseResponseData = Nothing > > End If > > 'Was there a response? > If Stimulus.InputMasks.Responses.Count = 1 Then > > 'Get the mouse response. > Set theMouseResponseData = > CMouseResponseData(Stimulus.InputMasks.Responses(1)) > > 'Determine name of SlideText object at mouse click coordinates. Assign > that value to > 'strHit. > strHit = theState.HitTest(theMouseResponseData.CursorX, > theMouseResponseData.CursorY) > > ' Else > ' Set theMouseResponseData = Nothing > > End If > > 'Was there a response? > If Stimulus.InputMasks.Responses.Count = 2 Then > > 'Get the mouse response. > Set theMouseResponseData = > CMouseResponseData(Stimulus.InputMasks.Responses(2)) > > 'Determine name of SlideText object at mouse click coordinates. Assign > that value to > 'strHit. > strHit = theState.HitTest(theMouseResponseData.CursorX, > theMouseResponseData.CursorY) > > ' Else > ' Set theMouseResponseData = Nothing > > End If > > 'Was there a response? > If Stimulus.InputMasks.Responses.Count = 3 Then > > 'Get the mouse response. > Set theMouseResponseData = > CMouseResponseData(Stimulus.InputMasks.Responses(3)) > > 'Determine name of SlideText object at mouse click coordinates. Assign > that value to > 'strHit. > strHit = theState.HitTest(theMouseResponseData.CursorX, > theMouseResponseData.CursorY) > > ' Else > ' Set theMouseResponseData = Nothing > > End If > > 'If the subject did not click on a box or the SlideText used to exit the > trial, > 'then loop back to the Stimulus so the subject can make another selection. > 'If strHit = "Question" OR strHit = "State1" OR strHit = "State2" OR > strHit = "" Then > ' Goto RedoTrial > 'End If > > 'Release references > 'Set theMouseResponseData = Nothing > > *HIGHLIGHT SELECTION* > 'Declare SlideText variable used for modifying box properties. > Dim xSlide As SlideText > > 'Declare string for holding the name of the Row the box clicked is in. > Dim strRow As String > > 'Declare variables for storing subject's final rating. > Dim intRating1 As Integer, intRating2 As Integer, intRating3 As Integer > > If Stimulus.InputMasks.Responses.Count > 0 Then > > 'Gain access to selected box. > Set xSlide = CSlideText(Stimulus.States.Item("Default").Objects(strHit)) > > 'Store the name of the row the box was clicked in. This Mid function > will return > 'the first 4 characters of strHit (the name of the box) and store them > in strRow > strRow = Mid(strHit, 1, 4) > Select Case strRow > Case "Row1" > > 'If a box in this row has not yet been selected... > If R1 = False Then > > 'Highlight this box and set R1 to true (a box in this row has now been > selected) > xSlide.BackColor = CColor("yellow") > R1 = True > > 'Return the final character in strHit (the digit) as subject's rating for > this > 'row. > intRating1 = CInt(Mid(strHit, 5, 1)) > > 'If a box in this row has been selected... > Else > > 'If this is the box that has already been selected, reset the color and > set R1 > 'to false (a box in this row has not been selected). Otherwise, do nothing. > If xSlide.BackColor = CColor("yellow") Then > xSlide.BackColor = CColor("green") > R1 = False > End If > > End If > > Case "Row2" > > 'If a box in this row has not yet been selected... > If R2 = False Then > > 'Highlight this box and set R2 to true (a box in this row has now been > selected) > xSlide.BackColor = CColor("yellow") > R2 = True > > 'Return the final character in strHit (the digit) as subject's rating for > this > 'row. > intRating2 = CInt(Mid(strHit, 5, 1)) > > 'If a box in this row has been selected... > Else > > 'If this is the box that has already been selected, reset the color and > set R2 > 'to false (a box in this row has not been selected). Otherwise, do nothing. > If xSlide.BackColor = CColor("yellow") Then > xSlide.BackColor = CColor("green") > R2 = False > End If > > End If > > > Case "Row3" > > 'If a box in this row has not yet been selected... > If R3 = False Then > > 'Highlight this box and set R3 to true (a box in this row has now been > selected) > xSlide.BackColor = CColor("yellow") > R3 = True > > 'Return the final character in strHit (the digit) as subject's rating for > this > 'row. > intRating3 = CInt(Mid(strHit, 5, 1)) > > 'If a box in this row has been selected... > Else > > 'If this is the box that has already been selected, reset the color and > set R3 > 'to false (a box in this row has not been selected). Otherwise, do nothing. > If xSlide.BackColor = CColor("yellow") Then > xSlide.BackColor = CColor("green") > R3 = False > End If > > End If > End Select > > Goto RedoTrial > > ' Else > 'If R1 = False Or R2 = False OR R3 = False Then > ' Goto EndStimulus > > ' End If > > End If > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/niZqw7lAFroJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From logan.mckinley at gmail.com Tue Feb 5 21:55:30 2013 From: logan.mckinley at gmail.com (Logan) Date: Tue, 5 Feb 2013 13:55:30 -0800 Subject: output stimuli and timing from an e-prime exeperiment Message-ID: I am brand new to E-Prime, so i apologize in advance for such a simple question. I think what i need to do is very simple. I simply want to be able to export a list of when each stimuli was shown when and for how long. Basically, i am collecting data with a system that cannot accept triggers and as far as i can tell doesn't have any other way to interface with EPrime directly. It is running on the same system though and does timestamp everything with UTC time, so i was hoping i could just run them both at the same time and then get the presentation times from from E-Prime and add that data to the output file. If possible i would like to export the experiment timing to a file so i can automate the process. Thanks, ~Logan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/oCAEsuiGl7QJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahuvayochevedsegal at gmail.com Wed Feb 6 02:43:41 2013 From: ahuvayochevedsegal at gmail.com (gugs) Date: Tue, 5 Feb 2013 18:43:41 -0800 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: <50cb436a.e696320a.1684.4900SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David I have been looking for training options regarding EPrime and realised that you have put together an online course. Since i am familiar with the basic structure/workings of Eprime, does the course cover critical timing, use of cumulative/event timing and so on? Ahuva On Saturday, December 15, 2012 2:19:03 AM UTC+11, McFarlane, David wrote: > > PreRelease? > > At 12/13/2012 10:22 PM Thursday, you wrote: > >Hi David > > > >The stimulus appears on the screen for 300 ms, followed by a blank > >screen for 1200 seconds (for a total of 1500 ms). > > > >Therefore the settings are as follows: > > > >1. stimulus screen has the correct properties timing mode > >(cumulative), data logging (standard), duration (300), Time Limit > >(1200), End Action (none) > >2.stimuluswait screen has the correct properties timing mode > >(cumulative), data logging (time audit only), duration (1200) > > > >I want the stimulus and blank screens to remain standard across the > >task regardless of whether the participant has responded or > >not. The next stimulus should begin after the 1200 ms blank screen > >without user intervention. > > > >Regards. > > > > > >On Friday, December 14, 2012 2:16:14 PM UTC+11, gugs wrote: > >Thanks. I lost my computer to repairs this week but as soon as I get > >it back I will try these suggestions. I'll let you know how it goes. > > > >Many 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/msg/e-prime/-/CZgPgVZ52zgJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.giofre at gmail.com Wed Feb 6 09:47:58 2013 From: david.giofre at gmail.com (=?UTF-8?Q?David_Giofr=C3=A8?=) Date: Wed, 6 Feb 2013 01:47:58 -0800 Subject: Windows 8 and E-prime 2 In-Reply-To: <50fec42a.9307320a.0af1.79b4SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Dear David, thank you so much for your kind reply! -- David Giofrè Ph.D student 8 Via Venezia 35131 Padova (Italy) tel +39 (049) 827-6617 Department of General Psychology University of Padova http://wmlabs.psy.unipd.it/people/giofre.html http://www.psy.unipd.it/~giofre/cms On Tuesday, January 22, 2013 5:53:56 PM UTC+1, McFarlane, David wrote: > > I have not tried EP under Win8 myself, but > according to > http://www.pstnet.com/support/kb.asp?TopicID=4026 > , this combination is "Not recommended as of this > writing." In addition, while responding to some > notes I made regarding the latest EP2, PST Web > Support staff told me just yesterday, "We have > had reports of E-Prime functioning on Windows 8 > machines. However, we haven't done any testing on > 8 so leaving it as 'doesn't work' is probably OK.". > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > At 1/21/2013 07:02 AM Monday, David Giofrè wrote: > >Hi guys, > >I need to run an experiment in a laptop with Windows 8. > >Is Windows 8 supported by e-prime 2? > > > >Has anybody tried it? > > > >Thank you all, > >David > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/Rm3xNUtdzi4J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cameron.t.ellis at hotmail.com Wed Feb 6 23:16:06 2013 From: cameron.t.ellis at hotmail.com (Cameron Ellis) Date: Wed, 6 Feb 2013 15:16:06 -0800 Subject: User changing attributes Message-ID: Hi there, I am currently making a programme in which I have set up a number of attributes that I want the participant to be able to change mid schedule. I have tried two strategies to achieve this but both have failed. I will detail both them below. The first is to use inline code: Dim t, v, d as integer t% = Answerbox ("Are you happy with the speed and size of stimuli?", "No", "Yes") If t<1 Then v% = Answerbox("Select your new speed", "Fast", "Medium", "Slow" ) MsgBox "Your new speed is" & v% d% = Answerbox("Select your new circle size", "Small", "Medium", "Large" ) MsgBox "Your new circle size is" & d% c.SetAttrib"speed1", 12.5*"d%" c.SetAttrib"Circle", 5*"d%" Sleep 2000 Else Sleep 2000 End So I want the program to ask a question initially to see whether the participant wants to change the setting using Answerbox. If they are happy the program should finish. If they are not fine with them then I would like to ask two questions that enable them to change the values of v and d. These variables are then used to set the attributes for speed1 and Circle. The error that I get is that the identifier is already a variable in the first line The second strategy I used was to create a Textdisplay asking for inputs. The display records the information correctly and I have set up an echo too. The problem I have is assigning the input to the attributes. So how do I make it that when the participant enters 15 into the text display this assigns [Circle] to that value? I have tried one solution using inline as follows. Dim a as integer CInt(TextDisplay3.Name & ".RESP")=a c.SetAttrib"Circle", a As I understand it, TextDisplay3.Name & ".RESP" is the string for the response in the previous slide. By making it an integer I can then use c.SetAttrib to change the value of a circle. However I get the error that I cannot assign to a constant in the second line. Help on either method would be greatly appreciated, Thank you, Cameron -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/HcX-oI12tIYJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pquain at une.edu.au Thu Feb 7 01:40:45 2013 From: pquain at une.edu.au (Peter Quain) Date: Thu, 7 Feb 2013 12:40:45 +1100 Subject: Labeling EEG Triggers In-Reply-To: Message-ID: An example using native parallel port (Decimal address = 88, therefore Hex address 378) to send bytes to a NeuroScan system using Hex notation (&H...), which would appear in NeuroScan .cnt file as trigger codes 1 to 10: ' assess item level and send appropriate trigger code to NuAmps If c.GetAttrib ("numobs") = 1 then WritePort &H378, &H1 elseif c.GetAttrib ("numobs") = 2 then WritePort &H378, &H2 elseif c.GetAttrib ("numobs") = 3 then WritePort &H378, &H3 elseif c.GetAttrib ("numobs") = 4 then WritePort &H378, &H4 elseif c.GetAttrib ("numobs") = 5 then WritePort &H378, &H5 elseif c.GetAttrib ("numobs") = 6 then WritePort &H378, &H6 elseif c.GetAttrib ("numobs") = 7 then WritePort &H378, &H7 elseif c.GetAttrib ("numobs") = 8 then WritePort &H378, &H8 elseif c.GetAttrib ("numobs") = 9 then WritePort &H378, &H9 elseif c.GetAttrib ("numobs") = 10 then WritePort &H378, &HA End If ... here is a conversion tool: http://easycalculation.com/hex-converter.php At 12:23 PM 7/02/2013, you wrote: >Hi All, > >I am using inline code (WritePort) in Eprime2 to send triggers from >the test computer to an EEG computer. > >I would like to add a label to each trigger that specifies what type >of trial that specific trigger is associated with (there are several >levels to several variables). Does anyone have any insight for how I >might go about doing this? > >Thank you in advance! >M > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To unsubscribe from this group and stop receiving emails from it, >send an email to e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msg/e-prime/-/BEjt5C5n6n8J. >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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mtvinski at gmail.com Thu Feb 7 01:23:03 2013 From: mtvinski at gmail.com (mvinski) Date: Wed, 6 Feb 2013 17:23:03 -0800 Subject: Labeling EEG Triggers Message-ID: Hi All, I am using inline code (WritePort) in Eprime2 to send triggers from the test computer to an EEG computer. I would like to add a label to each trigger that specifies what type of trial that specific trigger is associated with (there are several levels to several variables). Does anyone have any insight for how I might go about doing this? Thank you in advance! M -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/BEjt5C5n6n8J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From adeline.paignon at univ-savoie.fr Thu Feb 7 10:34:40 2013 From: adeline.paignon at univ-savoie.fr (Adeline) Date: Thu, 7 Feb 2013 02:34:40 -0800 Subject: nested procedure Message-ID: Hi, i'm trying to use unreferenced procedure to reduce my script, but I have a problem in put the two procedures in context. The experiment consist in presenting 20 stimuli associated with 40 number randomly presented. For each of my stimulus I have 2 procedure : the first consist to evaluate the stimulus = proc1 the second to choose between the 40 number, the best = proc2 to do this I create a designlist where I want to affect the procedure in procedure column by using [proc1] and [proc2]., so the procedure were put in unerefenced Eobjet. For each stimuli I call the 2 procedure sequentially. proc1 and proc2 It runs well if I have only 1 procedure in unreferenced , but not run if I have the 2 procedure . Eprime says : can't resolve [proc1] in this context Can someone help me ? 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/msg/e-prime/-/hBL4yY7MVtQJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mtvinski at gmail.com Thu Feb 7 14:11:43 2013 From: mtvinski at gmail.com (Melaina Vinski) Date: Thu, 7 Feb 2013 09:11:43 -0500 Subject: Labeling EEG Triggers In-Reply-To: <51130674.ea64320a.489a.71e7@mx.google.com> Message-ID: Thank you for your quick reply! We are using a serial port - do these instructions follow for serial ports as well? Also, if I want to include more than 1 condition to label the trigger (so not just "numbos", but also "type" for example), would I be okay with using: elseif c.GetAttrib ("numobs") = 10 and c.GetAttrib ("type") = 3 then ** **** **WritePort &H378, &HA Thank you kindly in advance - I appreciate the help! M On Wed, Feb 6, 2013 at 8:42 PM, Alphonse Stickle wrote: > > .. for clarity sake, sorry, typo - Decimal address = 888, not 88 > > > At 12:40 PM 7/02/2013, you wrote: > > > An example using native parallel port (Decimal address = 88, therefore Hex > address 378) to send bytes to a NeuroScan system using Hex notation > (&H...), which would appear in NeuroScan .cnt file as trigger codes 1 to 10: > > ' assess item level and** **send appropriate trigger code to NuAmps > If c.GetAttrib ("numobs") = 1 then > ** **** **WritePort &H378, &H1 > > ** **elseif c.GetAttrib ("numobs") = 2 then > ** **** **WritePort &H378, &H2 > > ** **elseif c.GetAttrib ("numobs") = 3 then > ** **** **WritePort &H378, &H3 > > ** **elseif c.GetAttrib ("numobs") = 4 then > ** **** **WritePort &H378, &H4 > > ** **elseif c.GetAttrib ("numobs") = 5 then > ** **** **WritePort &H378, &H5 > > ** **elseif c.GetAttrib ("numobs") = 6 then > ** **** **WritePort &H378, &H6 > > ** **elseif c.GetAttrib ("numobs") = 7 then > ** **** **WritePort &H378, &H7 > > ** **elseif c.GetAttrib ("numobs") = 8 then > ** **** **WritePort &H378, &H8 > > ** **elseif c.GetAttrib ("numobs") = 9 then > ** **** **WritePort &H378, &H9 > > ** **elseif c.GetAttrib ("numobs") = 10 then > ** **** **WritePort &H378, &HA > End If > > ... here is a conversion tool: > > http://easycalculation.com/hex-converter.php > > At 12:23 PM 7/02/2013, you wrote: > > Hi All, > > I am using inline code (WritePort) in Eprime2 to send triggers from the > test computer to an EEG computer. > > I would like to add a label to each trigger that specifies what type of > trial that specific trigger is associated with (there are several levels to > several variables). Does anyone have any insight for how I might go about > doing this? > > Thank you in advance! > M > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/BEjt5C5n6n8J. > 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. > 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. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Melaina T. Vinski MSc Candidate Psychology, Neuroscience & Behavior Cognitive Sciences Lab McMaster University 905-525-9140 ext. 22853 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alphonse.stickle at gmail.com Thu Feb 7 01:42:03 2013 From: alphonse.stickle at gmail.com (Alphonse Stickle) Date: Thu, 7 Feb 2013 12:42:03 +1100 Subject: Labeling EEG Triggers In-Reply-To: <201302070140.r171eml5003618@mail14.tpg.com.au> Message-ID: .. for clarity sake, sorry, typo - Decimal address = 888, not 88 At 12:40 PM 7/02/2013, you wrote: >An example using native parallel port (Decimal address = 88, >therefore Hex address 378) to send bytes to a NeuroScan system using >Hex notation (&H...), which would appear in NeuroScan .cnt file as >trigger codes 1 to 10: > >' assess item level and send appropriate trigger code to NuAmps >If c.GetAttrib ("numobs") = 1 then > WritePort &H378, &H1 > > elseif c.GetAttrib ("numobs") = 2 then > WritePort &H378, &H2 > > elseif c.GetAttrib ("numobs") = 3 then > WritePort &H378, &H3 > > elseif c.GetAttrib ("numobs") = 4 then > WritePort &H378, &H4 > > elseif c.GetAttrib ("numobs") = 5 then > WritePort &H378, &H5 > > elseif c.GetAttrib ("numobs") = 6 then > WritePort &H378, &H6 > > elseif c.GetAttrib ("numobs") = 7 then > WritePort &H378, &H7 > > elseif c.GetAttrib ("numobs") = 8 then > WritePort &H378, &H8 > > elseif c.GetAttrib ("numobs") = 9 then > WritePort &H378, &H9 > > elseif c.GetAttrib ("numobs") = 10 then > WritePort &H378, &HA >End If > >... here is a conversion tool: > >http://easycalculation.com/hex-converter.php > >At 12:23 PM 7/02/2013, you wrote: >>Hi All, >> >>I am using inline code (WritePort) in Eprime2 to send triggers from >>the test computer to an EEG computer. >> >>I would like to add a label to each trigger that specifies what >>type of trial that specific trigger is associated with (there are >>several levels to several variables). Does anyone have any insight >>for how I might go about doing this? >> >>Thank you in advance! >>M >> >>-- >>You received this message because you are subscribed to the Google >>Groups "E-Prime" group. >>To unsubscribe from this group and stop receiving emails from it, >>send an email to e-prime+unsubscribe at googlegroups.com. >>To post to this group, send email to e-prime at googlegroups.com. >>To view this discussion on the web visit >>https://groups.google.com/d/msg/e-prime/-/BEjt5C5n6n8J. >>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. >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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Wed Feb 6 22:25:09 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 6 Feb 2013 17:25:09 -0500 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: Message-ID: Gugs, Yes, the course does cover the essentials of critical timing, including use of cumulative/event timing, etc. Whether you take the course or not, you should also look at the "Critical Timing" chapter in the E-Prime User's Guide (chapter 3 in the first edition, ch. 4 (& severely abbreviated) in the new edition). Although you are already familiar with the basic structure/workings of E-Prime, you may also find that the course fills in some details, and "best practices". I will send you separately a .pdf of the course syllabus. If you have any more questions, please contact me privately, using the address you find for me on Google Groups, or the address you may find by following the course link below. Thank you. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 2/5/2013 09:43 PM Tuesday, you wrote: >Hi David > >I have been looking for training options regarding EPrime and >realised that you have put together an online course. Since i am >familiar with the basic structure/workings of Eprime, does the >course cover critical timing, use of cumulative/event timing and so on? > >Ahuva > >On Saturday, December 15, 2012 2:19:03 AM UTC+11, McFarlane, David wrote: >PreRelease? > >At 12/13/2012 10:22 PM Thursday, you wrote: > >Hi David > > > >The stimulus appears on the screen for 300 ms, followed by a blank > >screen for 1200 seconds (for a total of 1500 ms). > > > >Therefore the settings are as follows: > > > >1. stimulus screen has the correct properties timing mode > >(cumulative), data logging (standard), duration (300), Time Limit > >(1200), End Action (none) > >2.stimuluswait screen has the correct properties timing mode > >(cumulative), data logging (time audit only), duration (1200) > > > >I want the stimulus and blank screens to remain standard across the > >task regardless of whether the participant has responded or > >not. The next stimulus should begin after the 1200 ms blank screen > >without user intervention. > > > >Regards. > > > > > >On Friday, December 14, 2012 2:16:14 PM UTC+11, gugs wrote: > >Thanks. I lost my computer to repairs this week but as soon as I get > >it back I will try these suggestions. I'll let you know how it goes. > > > >Many 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. For more options, visit https://groups.google.com/groups/opt_out. From pquain at une.edu.au Thu Feb 7 21:50:43 2013 From: pquain at une.edu.au (Peter Quain) Date: Fri, 8 Feb 2013 08:50:43 +1100 Subject: Labeling EEG Triggers In-Reply-To: Message-ID: I've never used serial device. Sure, you can write to it, but I think what you write will depend on how your EEG system is designed to receive event information (detailed in its manual?). Others who know these things will have to help. Maybe look in e-basic help, for "SerialDevice Object (topic)" Or search this group for serial port ... here is a post by David McFarlane, for example, who obviously knows of these things: https://www.pstnet.com/forum/Topic4793-8-1.aspx#bm4801 A couple of examples from google search of e-prime code to interface with different external systems through serial port: http://www.mindmedia.nl/CMS/en/support/knowledge-base/item/272-how-to-run-an-e-prime-project-by-using-the-nti.html http://www.cedrus.com/support/stimtracker/tn1411_eprime.htm good luck At 01:11 AM 8/02/2013, you wrote: >Thank you for your quick reply! We are using a serial port - do >these instructions follow for serial ports as well? > >Also, if I want to include more than 1 condition to label the >trigger (so not just "numbos", but also "type" for example), would I >be okay with using: > >elseif c.GetAttrib ("numobs") = 10 > and c.GetAttrib ("type") = 3 then > WritePort &H378, &HA > >Thank you kindly in advance - I appreciate the help! > >M > > > > >On Wed, Feb 6, 2013 at 8:42 PM, Alphonse Stickle ><alphonse.stickle at gmail.com> wrote: > >.. for clarity sake, sorry, typo - Decimal address = 888, not 88 > > >At 12:40 PM 7/02/2013, you wrote: > > >>An example using native parallel port (Decimal address = 88, >>therefore Hex address 378) to send bytes to a NeuroScan system >>using Hex notation (&H...), which would appear in NeuroScan .cnt >>file as trigger codes 1 to 10: >> >>' assess item level and send appropriate trigger code to NuAmps >>If c.GetAttrib ("numobs") = 1 then >> WritePort &H378, &H1 >> >> elseif c.GetAttrib ("numobs") = 2 then >> WritePort &H378, &H2 >> >> elseif c.GetAttrib ("numobs") = 3 then >> WritePort &H378, &H3 >> >> elseif c.GetAttrib ("numobs") = 4 then >> WritePort &H378, &H4 >> >> elseif c.GetAttrib ("numobs") = 5 then >> WritePort &H378, &H5 >> >> elseif c.GetAttrib ("numobs") = 6 then >> WritePort &H378, &H6 >> >> elseif c.GetAttrib ("numobs") = 7 then >> WritePort &H378, &H7 >> >> elseif c.GetAttrib ("numobs") = 8 then >> WritePort &H378, &H8 >> >> elseif c.GetAttrib ("numobs") = 9 then >> WritePort &H378, &H9 >> >> elseif c.GetAttrib ("numobs") = 10 then >> WritePort &H378, &HA >>End If >> >>... here is a conversion tool: >> >>http://easycalculation.com/hex-converter.php >> >>At 12:23 PM 7/02/2013, you wrote: >>>Hi All, >>> >>>I am using inline code (WritePort) in Eprime2 to send triggers >>>from the test computer to an EEG computer. >>> >>>I would like to add a label to each trigger that specifies what >>>type of trial that specific trigger is associated with (there are >>>several levels to several variables). Does anyone have any insight >>>for how I might go about doing this? >>> >>>Thank you in advance! >>>M >>> >>>-- >>>You received this message because you are subscribed to the Google >>>Groups "E-Prime" group. >>>To unsubscribe from this group and stop receiving emails from it, >>>send an email to >>>e-prime+unsubscribe at googlegroups.com. >>>To post to this group, send email to >>>e-prime at googlegroups.com. >>>To view this discussion on the web visit >>>https://groups.google.com/d/msg/e-prime/-/BEjt5C5n6n8J. >>>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. >>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. >For more options, visit >https://groups.google.com/groups/opt_out. > > > > > > >-- >Melaina T. Vinski >MSc Candidate >Psychology, Neuroscience & Behavior >Cognitive Sciences Lab >McMaster University >905-525-9140 ext. 22853 > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To unsubscribe from this group and stop receiving emails from it, >send an email to e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to e-prime at googlegroups.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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mtvinski at gmail.com Fri Feb 8 03:40:58 2013 From: mtvinski at gmail.com (Melaina Vinski) Date: Thu, 7 Feb 2013 22:40:58 -0500 Subject: Labeling EEG Triggers In-Reply-To: <201302072150.r17LolkE010644@mail5.tpg.com.au> Message-ID: Thank you for your insights Peter! On Thu, Feb 7, 2013 at 4:50 PM, Peter Quain wrote: > > I've never used serial device. Sure, you can write to it, but I think * > what* you write will depend on how your EEG system is designed to receive > event information (detailed in its manual?). Others who know these things > will have to help. > > Maybe look in e-basic help, for "SerialDevice Object (topic)" > > Or search this group for serial port ... here is a post by David > McFarlane, for example, who obviously knows of these things: > > https://www.pstnet.com/forum/Topic4793-8-1.aspx#bm4801 > > A couple of examples from google search of e-prime code to interface with > different external systems through serial port: > > http://www.mindmedia.nl/CMS/en/support/knowledge-base/item/272-how-to-run-an-e-prime-project-by-using-the-nti.html > > http://www.cedrus.com/support/stimtracker/tn1411_eprime.htm > > good luck > > > > At 01:11 AM 8/02/2013, you wrote: > > Thank you for your quick reply! We are using a serial port - do these > instructions follow for serial ports as well? > > Also, if I want to include more than 1 condition to label the trigger (so > not just "numbos", but also "type" for example), would I be okay with using: > > elseif c.GetAttrib ("numobs") = 10 > and c.GetAttrib ("type") = 3 then > WritePort &H378, &HA > > Thank you kindly in advance - I appreciate the help! > > M > > > > > On Wed, Feb 6, 2013 at 8:42 PM, Alphonse Stickle > wrote: > > .. for clarity sake, sorry, typo - Decimal address = 888, not 88 > > > At 12:40 PM 7/02/2013, you wrote: > > > An example using native parallel port (Decimal address = 88, therefore > Hex address 378) to send bytes to a NeuroScan system using Hex notation > (&H...), which would appear in NeuroScan .cnt file as trigger codes 1 to 10: > > ' assess item level and send appropriate trigger code to NuAmps > If c.GetAttrib ("numobs") = 1 then > WritePort &H378, &H1 > > elseif c.GetAttrib ("numobs") = 2 then > WritePort &H378, &H2 > > elseif c.GetAttrib ("numobs") = 3 then > WritePort &H378, &H3 > > elseif c.GetAttrib ("numobs") = 4 then > WritePort &H378, &H4 > > elseif c.GetAttrib ("numobs") = 5 then > WritePort &H378, &H5 > > elseif c.GetAttrib ("numobs") = 6 then > WritePort &H378, &H6 > > elseif c.GetAttrib ("numobs") = 7 then > WritePort &H378, &H7 > > elseif c.GetAttrib ("numobs") = 8 then > WritePort &H378, &H8 > > elseif c.GetAttrib ("numobs") = 9 then > WritePort &H378, &H9 > > elseif c.GetAttrib ("numobs") = 10 then > WritePort &H378, &HA > End If > > ... here is a conversion tool: > > http://easycalculation.com/hex-converter.php > > At 12:23 PM 7/02/2013, you wrote: > > Hi All, > > I am using inline code (WritePort) in Eprime2 to send triggers from the > test computer to an EEG computer. > > I would like to add a label to each trigger that specifies what type of > trial that specific trigger is associated with (there are several levels to > several variables). Does anyone have any insight for how I might go about > doing this? > > Thank you in advance! > M > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com . > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/BEjt5C5n6n8J. > 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 . > 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 . > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > > -- > Melaina T. Vinski > MSc Candidate > Psychology, Neuroscience & Behavior > Cognitive Sciences Lab > McMaster University > 905-525-9140 ext. 22853 > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.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. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Melaina T. Vinski MSc Candidate Psychology, Neuroscience & Behavior Cognitive Sciences Lab McMaster University 905-525-9140 ext. 22853 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Feb 8 21:11:45 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 8 Feb 2013 16:11:45 -0500 Subject: Labeling EEG Triggers In-Reply-To: <201302072150.r17LolkE010644@mail5.tpg.com.au> Message-ID: If you use the latest version of EP2, then I highly recommend looking into the new Task Events feature, see http://www.pstnet.com/support/kb.asp?TopicID=4803 or the New Features Guide. ----- 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 2/7/2013 04:50 PM Thursday, Peter Quain wrote: >I've never used serial device. Sure, you can write to it, but I >think what you write will depend on how your EEG system is designed >to receive event information (detailed in its manual?). Others who >know these things will have to help. > >Maybe look in e-basic help, for "SerialDevice Object (topic)" > >Or search this group for serial port ... here is a post by David >McFarlane, for example, who obviously knows of these things: > >https://www.pstnet.com/forum/Topic4793-8-1.aspx#bm4801 > >A couple of examples from google search of e-prime code to interface >with different external systems through serial port: > >http://www.mindmedia.nl/CMS/en/support/knowledge-base/item/272-how-to-run-an-e-prime-project-by-using-the-nti.html > >http://www.cedrus.com/support/stimtracker/tn1411_eprime.htm > >good luck > > >At 01:11 AM 8/02/2013, you wrote: >>Thank you for your quick reply! We are using a serial port - do >>these instructions follow for serial ports as well? >> >>Also, if I want to include more than 1 condition to label the >>trigger (so not just "numbos", but also "type" for example), would >>I be okay with using: >> >>elseif c.GetAttrib ("numobs") = 10 >> and c.GetAttrib ("type") = 3 then >> WritePort &H378, &HA >> >>Thank you kindly in advance - I appreciate the help! >> >>M >> >> >> >> >>On Wed, Feb 6, 2013 at 8:42 PM, Alphonse Stickle >>< alphonse.stickle at gmail.com> wrote: >>.. for clarity sake, sorry, typo - Decimal address = 888, not 88 >> >>At 12:40 PM 7/02/2013, you wrote: >> >> >>>An example using native parallel port (Decimal address = 88, >>>therefore Hex address 378) to send bytes to a NeuroScan system >>>using Hex notation (&H...), which would appear in NeuroScan .cnt >>>file as trigger codes 1 to 10: >>>' assess item level and send appropriate trigger code to NuAmps >>>If c.GetAttrib ("numobs") = 1 then >>> WritePort &H378, &H1 >>> elseif c.GetAttrib ("numobs") = 2 then >>> WritePort &H378, &H2 >>> elseif c.GetAttrib ("numobs") = 3 then >>> WritePort &H378, &H3 >>> elseif c.GetAttrib ("numobs") = 4 then >>> WritePort &H378, &H4 >>> elseif c.GetAttrib ("numobs") = 5 then >>> WritePort &H378, &H5 >>> elseif c.GetAttrib ("numobs") = 6 then >>> WritePort &H378, &H6 >>> elseif c.GetAttrib ("numobs") = 7 then >>> WritePort &H378, &H7 >>> elseif c.GetAttrib ("numobs") = 8 then >>> WritePort &H378, &H8 >>> elseif c.GetAttrib ("numobs") = 9 then >>> WritePort &H378, &H9 >>> elseif c.GetAttrib ("numobs") = 10 then >>> WritePort &H378, &HA >>>End If >>>... here is a conversion tool: >>> >>>http://easycalculation.com/hex-converter.php >>>At 12:23 PM 7/02/2013, you wrote: >>>>Hi All, >>>>I am using inline code (WritePort) in Eprime2 to send triggers >>>>from the test computer to an EEG computer. >>>>I would like to add a label to each trigger that specifies what >>>>type of trial that specific trigger is associated with (there are >>>>several levels to several variables). Does anyone have any >>>>insight for how I might go about doing this? >>>> >>>>Thank you in advance! >>>>M -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From schizophrenicdan at gmail.com Fri Feb 8 23:49:09 2013 From: schizophrenicdan at gmail.com (Daniel) Date: Fri, 8 Feb 2013 15:49:09 -0800 Subject: Converting an Edat file into either a .xls or .txt file Message-ID: I have a large number of subject edat files (500+) and I like the column/row format that the Excel export option that E-DataAid uses so that I can easily convert the data into a format I like using spss syntax. Is there a faster way to convert all of these subject files into the excel format, some sort of way to iterate over all files in a folder, instead of having to open each one and export them separately? 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/msg/e-prime/-/zE-DSO5ONL8J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From schizophrenicdan at gmail.com Sat Feb 9 00:01:05 2013 From: schizophrenicdan at gmail.com (Daniel) Date: Fri, 8 Feb 2013 16:01:05 -0800 Subject: Converting an Edat file into either a .xls or .txt file In-Reply-To: Message-ID: Is there a way to do this that keeps each subject file separate? On Friday, February 8, 2013 6:50:52 PM UTC-5, Paul Groot wrote: > > try E-Merge... > > paul > > On 9 February 2013 00:49, Daniel >wrote: > >> I have a large number of subject edat files (500+) and I like the >> column/row format that the Excel export option that E-DataAid uses so that >> I can easily convert the data into a format I like using spss syntax. Is >> there a faster way to convert all of these subject files into the excel >> format, some sort of way to iterate over all files in a folder, instead of >> having to open each one and export them separately? >> >> 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+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/msg/e-prime/-/zE-DSO5ONL8J. >> 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/msg/e-prime/-/60ieSH50aEUJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From schizophrenicdan at gmail.com Sat Feb 9 00:00:06 2013 From: schizophrenicdan at gmail.com (Daniel) Date: Fri, 8 Feb 2013 16:00:06 -0800 Subject: Converting an Edat file into either a .xls or .txt file In-Reply-To: <470eabc1-02a8-46aa-8dc8-f42690d31675@googlegroups.com> Message-ID: Is there a way to do this that keeps each subject file separate but in an excel format? On Friday, February 8, 2013 6:49:09 PM UTC-5, Daniel wrote: > > I have a large number of subject edat files (500+) and I like the > column/row format that the Excel export option that E-DataAid uses so that > I can easily convert the data into a format I like using spss syntax. Is > there a faster way to convert all of these subject files into the excel > format, some sort of way to iterate over all files in a folder, instead of > having to open each one and export them separately? > > 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/msg/e-prime/-/dv3_THsJjm8J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Feb 8 21:07:09 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 8 Feb 2013 16:07:09 -0500 Subject: Labeling EEG Triggers In-Reply-To: <201302070140.r171eml5003618@mail14.tpg.com.au> Message-ID: PMJI, but for the record, I think you could replace that particular block of If-Then-ElseIf with just WritePort &h378, c.GetAttrib("numobs") Of course, that works because of the regularities in this particular example, for more arbitrary mappings you might still need the If-Then-ElseIf, or put the mapping into an array and do something like WritePort &h378, MapArray( CInt(c.GetAttrib("numobs")) ) -- David McFarlane At 2/6/2013 08:40 PM Wednesday, Peter Quain wrote: >An example using native parallel port (Decimal address = 88, >therefore Hex address 378) to send bytes to a NeuroScan system using >Hex notation (&H...), which would appear in NeuroScan .cnt file as >trigger codes 1 to 10: > >' assess item level and send appropriate trigger code to NuAmps >If c.GetAttrib ("numobs") = 1 then > WritePort &H378, &H1 > > elseif c.GetAttrib ("numobs") = 2 then > WritePort &H378, &H2 > > elseif c.GetAttrib ("numobs") = 3 then > WritePort &H378, &H3 > > elseif c.GetAttrib ("numobs") = 4 then > WritePort &H378, &H4 > > elseif c.GetAttrib ("numobs") = 5 then > WritePort &H378, &H5 > > elseif c.GetAttrib ("numobs") = 6 then > WritePort &H378, &H6 > > elseif c.GetAttrib ("numobs") = 7 then > WritePort &H378, &H7 > > elseif c.GetAttrib ("numobs") = 8 then > WritePort &H378, &H8 > > elseif c.GetAttrib ("numobs") = 9 then > WritePort &H378, &H9 > > elseif c.GetAttrib ("numobs") = 10 then > WritePort &H378, &HA >End If > >... here is a conversion tool: > >http://easycalculation.com/hex-converter.php > >At 12:23 PM 7/02/2013, you wrote: >>Hi All, >> >>I am using inline code (WritePort) in Eprime2 to send triggers from >>the test computer to an EEG computer. >> >>I would like to add a label to each trigger that specifies what >>type of trial that specific trigger is associated with (there are >>several levels to several variables). Does anyone have any insight >>for how I might go about doing this? >> >>Thank you in advance! >>M -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From ajdawson57 at gmail.com Mon Feb 11 03:37:39 2013 From: ajdawson57 at gmail.com (Abigail Dawson) Date: Sun, 10 Feb 2013 19:37:39 -0800 Subject: Problem drawing random images from nested lists In-Reply-To: <61d188be-cc1b-4558-904e-a4e1c8650782@googlegroups.com> Message-ID: I am also wondering whether there is a way to show what trial number the participant is on, if the trials have been randomized (so they can know when they are halfway through, etc). Thanks again, Abi On Monday, February 11, 2013 4:28:38 PM UTC+13, Abigail Dawson wrote: > Hello, > > I am running a paradigm where I want two images to show side by side on > the same slide, one neutral and one either positive or negative, and I want > to balance which side the images appear on (e.g. neutral is on the left > half the time). In order to do this I have created a slide with 2 slide > states, and a trial list with 36 trials, half of those with each slide > state, and half of each slide state with "positive" as the "other" image > and half with "negative". The images (positive, negative, and neutral) are > drawn from three nested lists (neutral has 36 images, positive 18, negative > 18). > > > My problem is that although every list is set to sample randomly (without > replacement), with the full number of samples per cycle (18 or 36), and I > have no repeats in my lists, some images are repeating. I have tried it > with "reset at the beginning of each run" both checked and unchecked. > > > I tried this originally using only one slide with "leftimage" and > "rightimage" as the images, which were specified in the trial list as > "posimage", "neutimage", etc, but the same problem occurred. > > > Thanks! > Abi > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/5W99jJZMFJ0J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ajdawson57 at gmail.com Mon Feb 11 03:28:38 2013 From: ajdawson57 at gmail.com (Abigail Dawson) Date: Sun, 10 Feb 2013 19:28:38 -0800 Subject: Problem drawing random images from nested lists Message-ID: Hello, I am running a paradigm where I want two images to show side by side on the same slide, one neutral and one either positive or negative, and I want to balance which side the images appear on (e.g. neutral is on the left half the time). In order to do this I have created a slide with 2 slide states, and a trial list with 36 trials, half of those with each slide state, and half of each slide state with "positive" as the "other" image and half with "negative". The images (positive, negative, and neutral) are drawn from three nested lists (neutral has 36 images, positive 18, negative 18). My problem is that although every list is set to sample randomly (without replacement), with the full number of samples per cycle (18 or 36), and I have no repeats in my lists, some images are repeating. I have tried it with "reset at the beginning of each run" both checked and unchecked. I tried this originally using only one slide with "leftimage" and "rightimage" as the images, which were specified in the trial list as "posimage", "neutimage", etc, but the same problem occurred. Thanks! Abi -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/kJRjqdeVRXgJ. 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 Feb 11 13:49:19 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 11 Feb 2013 08:49:19 -0500 Subject: Converting an Edat file into either a .xls or .txt file In-Reply-To: Message-ID: Or even an Excel macro (which I guess is just another way of saying VBA), after merging the data and exporting it to Excel. (I have written such macros myself, feasible but not trivial.) -- David McFarlane Paul Groot wrote: > I don't think e-prime provides such an option by itself, but personally > I would split the merged file using a small matlab script. Hoever, I'm > sure there are many other way's to do that (e.g. perl, awk, C++, Visual > Basic, ...) > > On 9 February 2013 01:01, Daniel > wrote: > > Is there a way to do this that keeps each subject file separate? > > > On Friday, February 8, 2013 6:50:52 PM UTC-5, Paul Groot wrote: > > try E-Merge... > > paul > > On 9 February 2013 00:49, Daniel wrote: > > I have a large number of subject edat files (500+) and I > like the column/row format that the Excel export option that > E-DataAid uses so that I can easily convert the data into a > format I like using spss syntax. Is there a faster way to > convert all of these subject files into the excel format, > some sort of way to iterate over all files in a folder, > instead of having to open each one and export them separately? > > 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. For more options, visit https://groups.google.com/groups/opt_out. From jacanterbury at gmail.com Mon Feb 11 14:24:57 2013 From: jacanterbury at gmail.com (JACanterbury) Date: Mon, 11 Feb 2013 06:24:57 -0800 Subject: Problem drawing random images from nested lists In-Reply-To: <61d188be-cc1b-4558-904e-a4e1c8650782@googlegroups.com> Message-ID: This E-prime video on youtube regarding slidestates may help http://www.youtube.com/watch?v=PRudCBhSCgE&list=UUQRRaQXRRNOKjQqy3vKDUOA&index=11 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/26eW1BmMWh8J. 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 Sun Feb 10 23:26:52 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 11 Feb 2013 00:26:52 +0100 Subject: Converting an Edat file into either a .xls or .txt file In-Reply-To: Message-ID: I don't think e-prime provides such an option by itself, but personally I would split the merged file using a small matlab script. Hoever, I'm sure there are many other way's to do that (e.g. perl, awk, C++, Visual Basic, ...) On 9 February 2013 01:01, Daniel wrote: > Is there a way to do this that keeps each subject file separate? > > > On Friday, February 8, 2013 6:50:52 PM UTC-5, Paul Groot wrote: > >> try E-Merge... >> >> paul >> >> On 9 February 2013 00:49, Daniel wrote: >> >>> I have a large number of subject edat files (500+) and I like the >>> column/row format that the Excel export option that E-DataAid uses so that >>> I can easily convert the data into a format I like using spss syntax. Is >>> there a faster way to convert all of these subject files into the excel >>> format, some sort of way to iterate over all files in a folder, instead of >>> having to open each one and export them separately? >>> >>> 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+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/** >>> msg/e-prime/-/zE-DSO5ONL8J >>> . >>> 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/msg/e-prime/-/60ieSH50aEUJ. > > 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. 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 Feb 11 18:47:34 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 11 Feb 2013 19:47:34 +0100 Subject: Converting an Edat file into either a .xls or .txt file In-Reply-To: <5118F6DF.1070805@msu.edu> Message-ID: or even en eprime-basic! Excel struggles with large merged files.... On 11 February 2013 14:49, David McFarlane wrote: > Or even an Excel macro (which I guess is just another way of saying VBA), > after merging the data and exporting it to Excel. (I have written such > macros myself, feasible but not trivial.) > > -- David McFarlane > > > Paul Groot wrote: > >> I don't think e-prime provides such an option by itself, but personally I >> would split the merged file using a small matlab script. Hoever, I'm sure >> there are many other way's to do that (e.g. perl, awk, C++, Visual Basic, >> ...) >> >> On 9 February 2013 01:01, Daniel > schizophrenicdan@**gmail.com >> wrote: >> >> Is there a way to do this that keeps each subject file separate? >> >> >> On Friday, February 8, 2013 6:50:52 PM UTC-5, Paul Groot wrote: >> >> try E-Merge... >> >> paul >> >> On 9 February 2013 00:49, Daniel wrote: >> >> I have a large number of subject edat files (500+) and I >> like the column/row format that the Excel export option that >> E-DataAid uses so that I can easily convert the data into a >> format I like using spss syntax. Is there a faster way to >> convert all of these subject files into the excel format, >> some sort of way to iterate over all files in a folder, >> instead of having to open each one and export them separately? >> >> 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@**googlegroups.com > . > To post to this group, send email to e-prime at googlegroups.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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From schizophrenicdan at gmail.com Mon Feb 11 21:02:12 2013 From: schizophrenicdan at gmail.com (Daniel) Date: Mon, 11 Feb 2013 13:02:12 -0800 Subject: Converting an Edat file into either a .xls or .txt file In-Reply-To: <470eabc1-02a8-46aa-8dc8-f42690d31675@googlegroups.com> Message-ID: Yeah, I will probably just end up splitting it using a SPSS syntax script (I am not very familiar with Matlab yet), it will be a little bit tedious but faster than doing it manually. Thanks for the input. On Friday, February 8, 2013 6:49:09 PM UTC-5, Daniel wrote: > > I have a large number of subject edat files (500+) and I like the > column/row format that the Excel export option that E-DataAid uses so that > I can easily convert the data into a format I like using spss syntax. Is > there a faster way to convert all of these subject files into the excel > format, some sort of way to iterate over all files in a folder, instead of > having to open each one and export them separately? > > 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/msg/e-prime/-/r4EG1vCaqgIJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ma.demartino at gmail.com Tue Feb 12 08:51:42 2013 From: ma.demartino at gmail.com (Maria De Martino) Date: Tue, 12 Feb 2013 00:51:42 -0800 Subject: how can i modify the moving window script? Message-ID: Hi, I need some help in order to modify the moving window experiment script (downloaded here: http://www.pstnet.com/support/samples.asp?Mode=View&SampleID=11). I have to build up a script for a self-paced reading experiment with the moving window paradigm. I have sentences composed of 8 words and more and I need sentences to be presented word by word. In my experiment, a mask of the whole sentence should be presented before the presentation of the first word of the sentence. For instance, for the sentence "Paul is tired", the first slide has to display the mask ---- -- -----. Can somebody help me please, thank you, Maria -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/mTZLvL6zAAcJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From justinemayavandyke at gmail.com Tue Feb 12 21:07:44 2013 From: justinemayavandyke at gmail.com (Justine VanDyke) Date: Tue, 12 Feb 2013 16:07:44 -0500 Subject: Quotation marks in stimulus .txt file In-Reply-To: <511aa0be.e5b8320a.257f.ffff8b2dSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi, Thanks for your reply. To clarify: -yes, I have text in an Excel file. -yes, randomly quotation marks occur around certain words (not present in the Excel file). -this occurs when I 'Save As' a .txt file. -yes, I am 'loading' a file using Load Method "File". -yes, certain words (meaning 'some') have quotations. Apologies that that wasn't clear. I solved the problem by copying and pasting from Excel into a .txt file; however, it's good to know that this is not necessary and that I can load directly from Excel. Many thanks. On Tue, Feb 12, 2013 at 3:06 PM, David McFarlane wrote: > Justine, > > I am having a bit of trouble following this. Do you mean that > - you have text in an Excel file > - the text in the Excel file does not contain any quotation marks > - you convert the Excel file to a .txt file (how do you do that?) > - the resulting .txt file now has quotation marks around some (all?) of > the text > - you use the .txt file as input to an EP List (using Load Method "File") > - and now (some? all?) the text stimuli are enclosed in quotation marks? > > Please clarify. > > BTW, if you use EP2.0.10.x or later, a List can load from an Excel file > directly, no need to convert it to .txt first. > > ----- > 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 2/12/2013 02:27 PM Tuesday, you wrote: > >> Hello, >> >> I have a .txt ffile that I am loading stimuli from in an E-Prime >> experiment. The stimuli consist of sentences (text). During experimental >> presentation, randomly, quotation marks appear around certain words that >> are not present on the Excel file from which I have created the .txt. I >> assume this is something to do with saving in the tab-delimited format, and >> I wondered whether anyone has a solution. >> >> If I simply delete the quotations from the .txt file, then I am concerned >> that I will mess up the tab-structure. >> >> Thanks, >> >> Justine VanDyke >> Postdoctoral Research Assistant >> Language Processing Lab >> Institute for Mind and Brain >> University of South Carolina >> > > -- > You received this message because you are subscribed to 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From justinemayavandyke at gmail.com Tue Feb 12 19:27:06 2013 From: justinemayavandyke at gmail.com (justine) Date: Tue, 12 Feb 2013 11:27:06 -0800 Subject: Quotation marks in stimulus .txt file Message-ID: Hello, I have a .txt ffile that I am loading stimuli from in an E-Prime experiment. The stimuli consist of sentences (text). During experimental presentation, randomly, quotation marks appear around certain words that are not present on the Excel file from which I have created the .txt. I assume this is something to do with saving in the tab-delimited format, and I wondered whether anyone has a solution. If I simply delete the quotations from the .txt file, then I am concerned that I will mess up the tab-structure. Thanks, Justine VanDyke Postdoctoral Research Assistant Language Processing Lab Institute for Mind and Brain University of South Carolina -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/lvwZXcsrAhsJ. 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 Feb 12 20:06:15 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 12 Feb 2013 15:06:15 -0500 Subject: Quotation marks in stimulus .txt file In-Reply-To: <9e681342-96a0-485d-9fc2-5cb9645c508d@googlegroups.com> Message-ID: Justine, I am having a bit of trouble following this. Do you mean that - you have text in an Excel file - the text in the Excel file does not contain any quotation marks - you convert the Excel file to a .txt file (how do you do that?) - the resulting .txt file now has quotation marks around some (all?) of the text - you use the .txt file as input to an EP List (using Load Method "File") - and now (some? all?) the text stimuli are enclosed in quotation marks? Please clarify. BTW, if you use EP2.0.10.x or later, a List can load from an Excel file directly, no need to convert it to .txt first. ----- 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 2/12/2013 02:27 PM Tuesday, you wrote: >Hello, > >I have a .txt ffile that I am loading stimuli from in an E-Prime >experiment. The stimuli consist of sentences (text). During >experimental presentation, randomly, quotation marks appear around >certain words that are not present on the Excel file from which I >have created the .txt. I assume this is something to do with saving >in the tab-delimited format, and I wondered whether anyone has a solution. > >If I simply delete the quotations from the .txt file, then I am >concerned that I will mess up the tab-structure. > >Thanks, > >Justine VanDyke >Postdoctoral Research Assistant >Language Processing Lab >Institute for Mind and Brain >University of South Carolina -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From ma.demartino at gmail.com Wed Feb 13 09:07:25 2013 From: ma.demartino at gmail.com (Maria De Martino) Date: Wed, 13 Feb 2013 10:07:25 +0100 Subject: how can i modify the moving window script? In-Reply-To: Message-ID: thank you, Paul. I will try to use it. Bye, m. 2013/2/12 Paul Groot : > Hi Maria, > > Would this be of any help:? > http://pfcgroot.nl/e-prime/84-full-scripts/82-masked-reading.html > > Cheers > Paul > > > > On 12 February 2013 09:51, Maria De Martino wrote: >> >> Hi, >> I need some help in order to modify the moving window experiment script >> (downloaded here: >> http://www.pstnet.com/support/samples.asp?Mode=View&SampleID=11). >> >> I have to build up a script for a self-paced reading experiment with the >> moving window paradigm. >> >> I have sentences composed of 8 words and more and I need sentences to be >> presented word by word. In my experiment, a mask of the whole sentence >> should be presented before the presentation of the first word of the >> sentence. >> >> For instance, for the sentence "Paul is tired", the first slide has to >> display the mask ---- -- -----. >> Can somebody help me please, >> thank you, >> Maria >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/e-prime/-/mTZLvL6zAAcJ. >> 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. From stuart.quirk at gmail.com Wed Feb 13 19:35:36 2013 From: stuart.quirk at gmail.com (Stuart Quirk) Date: Wed, 13 Feb 2013 11:35:36 -0800 Subject: pci parallel_serial port in windows 7 vs xp In-Reply-To: <50f864ba.a8b5320a.6251.1788SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Well as an update to anyone who may face similar issues, I ended up swapping out the mother board for one with a native parallel port (one of the few which are built for 3rd generation intel chips). It was an easy build as I could transfer all of my current components. The new board has a ps/2 serial port but I was still having issues with the SRbox failing to communicate through that port so I bought the usb--serial port adapter recommended by pstnet and finally am able to get back on track. I went with xp and so far have had success with the I/O communications (still finishing the program to make sure video displays work smoothly). the additional hardware I purchased: StarTech.com USB to RS232 DB9/DB25 Serial Adapter Cable ICUSB232DB25 (amazon.com) MB GIGABYTE|GA-B75M-D3V B75 LGA1155 (carried by newegg.com) Stuart On Thursday, January 17, 2013 3:52:47 PM UTC-5, McFarlane, David wrote: > > Stuart, > > Hmm -- I just wanted to make sure that you were not trying to use EP1 > drivers with Win7, that will not work. But if you installed EP2, > then you have the updated PST Port & SRBox drivers, so much for that. > > I also assume that in your EP program you match the SRBox port number > to that of your installed serial port (just to be sure -- what COM > port # does Windows report for your serial port, and what port # does > your EP program specify? For that matter, exactly what error message > do you get?). So I do not have much more to offer you, let's hope > that PST Support takes it the rest of the way. FWIW, I use the SRBox > using an add-on PCI (or PCI-X) serial port card under Windows Vista > (32 bit) and EP2.0.8.22 Pro. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > At 1/15/2013 11:06 PM Tuesday, Stuart Quirk wrote: > >The latest version. I'm not at my computer at this moment (and > >heading to a conference for the weekend) but it was a fresh install > >of windows 7 64 (because I swapped out the hard drive for a solid > state). > >So all up to date drivers and downloaded the latest eprime 2 > (professional). > >It runs the sample eprime programs fine but anything that attempts > >to access the serial or parallel ports crashes eprime. > > > >I'd read both that windows 7 is more restrictive in allowing access > >to that level of data I/O than xp so was wondering if swapping to xp > >would solve the problem or if it's a non-mother board pci card issue. > >Sadly, I don't have a handy xp computer without mother board ports > >that I can pop the pci card in and play with (they all seem to be > >either windows 7 or xp with mother board ports..but I thought that > >might help isolate the problem. Still waiting to hear back from > >pstnet support). I will post when I hear from them in case others > >face similar problems. > > > > > > > >On Monday, January 14, 2013 2:20:24 PM UTC-5, McFarlane, David wrote: > >Stuart, > > > >What version of E-Prime? > > > >----- > >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 takes questions at their Facebook page > >(< > http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683> > http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 > > > >), and offers several instructional videos there and on their YouTube > >channel > >(http://www.youtube.com/user/PSTNET > >) (no Twitter feed yet, > >though). 4) If you do get an answer from PST staff, please extend > >the courtesy of posting their reply back here for the sake of others. > >\---- > > > > > > > >At 1/12/2013 10:44 AM Saturday, Stuart Quirk wrote: > > >Hello all and thanks in advance for any feedback. > > > > > >I've recently upgraded my primary lab computer and installed a pcie > > >combo parallel port/serial port (I had used both motherboard serial > > >port for the SRBOX and parallel port send a ttl signal to trigger my > > >eye tracker). > > >I got a manufacturer indicated by pstnet as one people have had some > > >luck with: > > >< > 1s1p-pcie.html> > http://www.siig.com/it-products/serial-parallel/combo/pcie/cyber-1s1p-pcie.html > > > http://www.siig.com/it-products/serial-parallel/combo/pcie/cyber-1s1p-pcie.html > > > > > > > >It installed fine but eprime crashes when I attempt to run the > > >utilities program for the SRBOX and pstnet's tester program fails to > > >find the box. And my simple parallel port monitor program (parmon) > > >doesn't find the port either. > > >In xp (on my last computer) I was able to use inpout32.dll and then > > >just insert very simple inline scripts to set the address high/low > > >within my experiment. From what I could learn (and understand as a > > >nonprogrammer) inpout64x.dll is much less successful with pci cards > > >under windows 7 64 > > > > > >So I'm trying to figure out is my problem the OS (as in would I have > > >better luck moving the OS to xp?) or is my problem a PCI card? It > > >will take me a good chunk of more time to wipe everything and > > >install xp so I thought someone here might help me save some time if > > >that would be a pointless exercise. > > > > > >Thanks again > > >Stuart > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/8BciYNOYnPUJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From neuropsych76 at gmail.com Wed Feb 13 22:19:43 2013 From: neuropsych76 at gmail.com (cogneuro) Date: Wed, 13 Feb 2013 17:19:43 -0500 Subject: Sound filename empty?? In-Reply-To: Message-ID: Ah, thank you! That did sort of work and I was silly not to check there first. Now though the actually program crashes and I get a windows error when I run my experiment! I know e-prime crashes a lot, but it has done it 5 times in a row and I can't figure out how deleting unreferenced objects would do this. On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot wrote: > perhaps there is a soundout object (or slide with sound) in the 'unused > items' section that was not configured properly. Just remove it permanently > to get rid of the error, > > Paul > > > On 13 February 2013 21:50, cogneuroisfun wrote: > >> Can someone please tell me what this run time error means? I keep getting >> it when I try to run my program with sounds. I triple checked to make sure >> they were typed in right, I changed them from .wav to .mp3 and played >> around with the buffer rates. Still nothing works!! Has anyone come across >> this error and do you know how to fix it?? >> >> >> 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/msg/e-prime/-/K8mUyxQ9i50J. >> 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. > 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. 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 Feb 13 21:20:30 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 13 Feb 2013 22:20:30 +0100 Subject: Sound filename empty?? In-Reply-To: Message-ID: perhaps there is a soundout object (or slide with sound) in the 'unused items' section that was not configured properly. Just remove it permanently to get rid of the error, Paul On 13 February 2013 21:50, cogneuroisfun wrote: > Can someone please tell me what this run time error means? I keep getting > it when I try to run my program with sounds. I triple checked to make sure > they were typed in right, I changed them from .wav to .mp3 and played > around with the buffer rates. Still nothing works!! Has anyone come across > this error and do you know how to fix it?? > > > 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/msg/e-prime/-/K8mUyxQ9i50J. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From neuropsych76 at gmail.com Thu Feb 14 00:05:46 2013 From: neuropsych76 at gmail.com (cogneuro) Date: Wed, 13 Feb 2013 19:05:46 -0500 Subject: Sound filename empty?? In-Reply-To: Message-ID: While I run the script, e-studio crashes. No error messages pop up. The program starts to run, then a white screen appears, and then the entire program dies :/ On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot wrote: > Does e-studio crash while editing, or are you having troubles when running > the script? Any error messages? Is it reproducible? > > paul > > > On 13 February 2013 23:19, cogneuro wrote: > >> Ah, thank you! That did sort of work and I was silly not to check there >> first. >> >> Now though the actually program crashes and I get a windows error when I >> run my experiment! I know e-prime crashes a lot, but it has done it 5 times >> in a row and I can't figure out how deleting unreferenced objects would do >> this. >> >> >> On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot wrote: >> >>> perhaps there is a soundout object (or slide with sound) in the 'unused >>> items' section that was not configured properly. Just remove it permanently >>> to get rid of the error, >>> >>> Paul >>> >>> >>> On 13 February 2013 21:50, cogneuroisfun wrote: >>> >>>> Can someone please tell me what this run time error means? I keep >>>> getting it when I try to run my program with sounds. I triple checked to >>>> make sure they were typed in right, I changed them from .wav to .mp3 and >>>> played around with the buffer rates. Still nothing works!! Has anyone come >>>> across this error and do you know how to fix it?? >>>> >>>> >>>> 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/msg/e-prime/-/K8mUyxQ9i50J. >>>> 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. >>> 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. >> 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. > 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. 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 Feb 14 15:40:08 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Thu, 14 Feb 2013 16:40:08 +0100 Subject: Sound filename empty?? In-Reply-To: Message-ID: I would try to run the same script, but with all audio completely removed. Just to make check if it is related to the sound. You could also try to create a very simple test script that only has a start-up screen and a sound object to play the audio (using the same settings as the original script). The idea is to isolate the problem/crash to get an idea of what is going on. Because the crash immediately occurs when the script is started, it could be related to the initialisation of devices. paul On 14 February 2013 01:05, cogneuro wrote: > While I run the script, e-studio crashes. No error messages pop up. The > program starts to run, then a white screen appears, and then the entire > program dies :/ > > On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot wrote: > >> Does e-studio crash while editing, or are you having troubles when >> running the script? Any error messages? Is it reproducible? >> >> paul >> >> >> On 13 February 2013 23:19, cogneuro wrote: >> >>> Ah, thank you! That did sort of work and I was silly not to check there >>> first. >>> >>> Now though the actually program crashes and I get a windows error when I >>> run my experiment! I know e-prime crashes a lot, but it has done it 5 times >>> in a row and I can't figure out how deleting unreferenced objects would do >>> this. >>> >>> >>> On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot wrote: >>> >>>> perhaps there is a soundout object (or slide with sound) in the 'unused >>>> items' section that was not configured properly. Just remove it permanently >>>> to get rid of the error, >>>> >>>> Paul >>>> >>>> >>>> On 13 February 2013 21:50, cogneuroisfun wrote: >>>> >>>>> Can someone please tell me what this run time error means? I keep >>>>> getting it when I try to run my program with sounds. I triple checked to >>>>> make sure they were typed in right, I changed them from .wav to .mp3 and >>>>> played around with the buffer rates. Still nothing works!! Has anyone come >>>>> across this error and do you know how to fix it?? >>>>> >>>>> >>>>> 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/msg/e-prime/-/K8mUyxQ9i50J. >>>>> 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. >>>> 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. >>> 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. >> 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From neuropsych76 at gmail.com Thu Feb 14 20:08:44 2013 From: neuropsych76 at gmail.com (cogneuro) Date: Thu, 14 Feb 2013 15:08:44 -0500 Subject: Sound filename empty?? In-Reply-To: Message-ID: Thank you for the reply :) I did try what you said and while I'm still having issues, I think I'm making progress. The error message I get now after removing all of the unreferenced objects is, ' Run-time Error (Line 802) -999: Unable to find the sound file specified' But I know for sure I am using the same name as the file in my folder! Do you know what else could cause this error?? On Thu, Feb 14, 2013 at 10:40 AM, Paul Groot wrote: > I would try to run the same script, but with all audio completely removed. > Just to make check if it is related to the sound. You could also try to > create a very simple test script that only has a start-up screen and a > sound object to play the audio (using the same settings as the original > script). The idea is to isolate the problem/crash to get an idea of what is > going on. Because the crash immediately occurs when the script is started, > it could be related to the initialisation of devices. > > paul > > > On 14 February 2013 01:05, cogneuro wrote: > >> While I run the script, e-studio crashes. No error messages pop up. The >> program starts to run, then a white screen appears, and then the entire >> program dies :/ >> >> On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot wrote: >> >>> Does e-studio crash while editing, or are you having troubles when >>> running the script? Any error messages? Is it reproducible? >>> >>> paul >>> >>> >>> On 13 February 2013 23:19, cogneuro wrote: >>> >>>> Ah, thank you! That did sort of work and I was silly not to check there >>>> first. >>>> >>>> Now though the actually program crashes and I get a windows error when >>>> I run my experiment! I know e-prime crashes a lot, but it has done it 5 >>>> times in a row and I can't figure out how deleting unreferenced objects >>>> would do this. >>>> >>>> >>>> On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot wrote: >>>> >>>>> perhaps there is a soundout object (or slide with sound) in the >>>>> 'unused items' section that was not configured properly. Just remove it >>>>> permanently to get rid of the error, >>>>> >>>>> Paul >>>>> >>>>> >>>>> On 13 February 2013 21:50, cogneuroisfun wrote: >>>>> >>>>>> Can someone please tell me what this run time error means? I keep >>>>>> getting it when I try to run my program with sounds. I triple checked to >>>>>> make sure they were typed in right, I changed them from .wav to .mp3 and >>>>>> played around with the buffer rates. Still nothing works!! Has anyone come >>>>>> across this error and do you know how to fix it?? >>>>>> >>>>>> >>>>>> 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/msg/e-prime/-/K8mUyxQ9i50J. >>>>>> 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. >>>>> 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. >>>> 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. >>> 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. >> 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From justinemayavandyke at gmail.com Fri Feb 15 14:32:42 2013 From: justinemayavandyke at gmail.com (Justine VanDyke) Date: Fri, 15 Feb 2013 09:32:42 -0500 Subject: Quotation marks in stimulus .txt file In-Reply-To: <028101ce09e9$4058bb70$c10a3250$@eu> Message-ID: Nitpick away, Michiel. I appreciate the additional information and advice. Thanks! On Wed, Feb 13, 2013 at 7:54 AM, Cognitology wrote: > Hi,**** > > Just to nitpick and maybe future help: **** > > **· **Excel-files do not store ascii. I suspect you mean you > exported from Excel to tab-delimited text file (as you actually say a bit > later on). This is important because it probably means that something in > the conversion went awry. **** > > **· **The quotation marks are quite unlikely to appear random > unless you run Office for Quantum Computer. A quotation mark can appear if > a number in excel, stored in a “general format” cell, is to be treated as > text: I.e. 128 is a number, ‘128 are three letters. The trick is to > accurately set the cell format, or:**** > > **· **Open .txt (or whatever the file is) in notepad, hit > CONTROL+H, enter replace [‘] to [] (i.e. one quotation mark to nothing), > save. Sounds dumb, but I love doing it this way, same goes for converting > stuff to SPSS. This should not mess up the columns.**** > > ** ** > > Best,**** > > Michiel**** > > ** ** > > *From:* e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] *On > Behalf Of *Justine VanDyke > *Sent:* 12. February 2013 23:08 > *To:* e-prime at googlegroups.com > *Subject:* Re: Quotation marks in stimulus .txt file**** > > ** ** > > Hi, > > Thanks for your reply. To clarify: > > -yes, I have text in an Excel file. > > -yes, randomly quotation marks occur around certain words (not present in > the Excel file). > > -this occurs when I 'Save As' a .txt file. > > -yes, I am 'loading' a file using Load Method "File". > > -yes, certain words (meaning 'some') have quotations. > > Apologies that that wasn't clear. > > I solved the problem by copying and pasting from Excel into a .txt file; > however, it's good to know that this is not necessary and that I can load > directly from Excel. > > Many thanks. **** > > On Tue, Feb 12, 2013 at 3:06 PM, David McFarlane wrote: > **** > > Justine, > > I am having a bit of trouble following this. Do you mean that > - you have text in an Excel file > - the text in the Excel file does not contain any quotation marks > - you convert the Excel file to a .txt file (how do you do that?) > - the resulting .txt file now has quotation marks around some (all?) of > the text > - you use the .txt file as input to an EP List (using Load Method "File") > - and now (some? all?) the text stimuli are enclosed in quotation marks? > > Please clarify. > > BTW, if you use EP2.0.10.x or later, a List can load from an Excel file > directly, no need to convert it to .txt first. > > ----- > 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 2/12/2013 02:27 PM Tuesday, you wrote:**** > > Hello, > > I have a .txt ffile that I am loading stimuli from in an E-Prime > experiment. The stimuli consist of sentences (text). During experimental > presentation, randomly, quotation marks appear around certain words that > are not present on the Excel file from which I have created the .txt. I > assume this is something to do with saving in the tab-delimited format, and > I wondered whether anyone has a solution. > > If I simply delete the quotations from the .txt file, then I am concerned > that I will mess up the tab-structure. > > Thanks, > > Justine VanDyke > Postdoctoral Research Assistant > Language Processing Lab > Institute for Mind and Brain > University of South Carolina**** > > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.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. > 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Feb 15 15:58:27 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 15 Feb 2013 10:58:27 -0500 Subject: On using E-DataAid: WAS: Converting an Edat file into either a .xls or .txt file In-Reply-To: Message-ID: I too will beat the drum for E-Merge & E-DataAid. For some years now I have said that it is almost worth getting E-Prime for its superb data handling facilities alone! No other psychology programming platform compares in this regard, no matter what other shortcomings E-Prime may have. Sadly, it took me many years to discover this -- like many, I too initially treated E-DataAid as nothing more than a tool to export data to Excel or SPSS. I did not realize the full value myself until a lab asked me to give them a tutorial on E-Merge & E-DataAid, and when I finally went through the manuals I was surprised! So work through *all* of the E-Merge and E-DataAid tutorials in the User's Guide and Reference Guide that come with E-Prime, you will find it *well* worth your trouble. You might also look through Michiel et al.'s "The E-Primer". Finally (shameless self-promotion here), I devote an entire lesson of my online video course to just this topic, with a guided exercise to show much of what Michiel described. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 2/15/2013 10:03 AM Friday, Paul Groot wrote: >You're right. E-DataAid features are often overlooked. > >Perhaps I was not clear about Excel: I meant >that Excel has serious problems with many rows >or columns. Although I think newer versions of >Excel do a much better job now, so this might not be a problem for many users. > >paul > >On 13 February 2013 14:27, Cognitology ><mspape at cognitology.eu> wrote: > >Hi, > >If you’re not YET doing it, I urge you to have >another look at what is possible with e-DataAid. >The reason is that I know many students 1) know >SPSS fairly well, and a bit of Excel, and try to >avoid E-***. Not saying that counts for you as >well. Indeed, this is a bit of a shot in the >dark, but with such sentences as “I have a large >number of subject edat files (500+) and I like >the column/row format that the Excel export >option that E-DataAid uses so that I can easily >convert the data into a format I like using spss >syntax”, it’s difficult to avoid guessing! You >might want to say something about what you’re >planning to do, but in its absence, let’s have >an example from my own life, and maybe it helps? > >· What I like is having a good amount of >Repeated Measures ANOVA style formatted columns, >say, RTs of 2x4 conditions, one row per subject. >For SPSS. What I have is 500 .edats. Arggh, right? > >1. We merge all files to one big .emrg, which we then open in .edat > >2. We filter out those RTs we are not >interested in, say, the ones in which an error >occurs. Also, I don’t like trials 1:20. > >3. Now, we go to analyze, drag Subject to >the Row, and any type of between-subject variable (sex, age, etc). > >4. Then drag ConditionP1vs2 to columns, >drag ConditionQ1vs2vs3vs4 to columns. Drag the >critical RT thing to the Data bit. Press Run. > >5. So, we should see a nice table of at >least 500x8. Oops, it’s got two decimals.. why? >Make that 4. Select all of it, copy the bunch to excel. > >6. Inside excel, underneath the two rows >with variables (rows A and B), insert a new row >(say C). Enter the wonderful formula =A&”_”&B and drag it all across row C. > >7. Select row C, copy, go stand in an >empty bit, paste special: values only, and >transpose. Copy that, go to SPSS, paste in >variables: now, that’s descriptive indeed. > >8. Copy all the values over to SPSS (but >you’ll have to reassign string values from numeric for some columns). > > > >These 8 steps, lengthy as they may seem, take me >about 2 minutes, and I think it’s a great workflow. > >TLDR? Try E-DataAid, it’s ridiculously simple, >really rocks, and SPSS is best avoided as they >make it slower and buggier with every next release. > > > >PS: Paul, I find Excel not at all slow with >large data-files? Much faster than SPSS, at >least, or at least it has been between excel >2007 and 2010 (2013 beta was running very slow >here); it does not cope very well with large and >lengthy formulas that need repeated >recalculation and take up more than hundreds of MBs, though. > > > >Best, > >Michiel > > > > > >From: >e-prime at googlegroups.com >[mailto:e-prime at googlegroups.com] On Behalf Of Daniel >Sent: 11. February 2013 23:02 >To: e-prime at googlegroups.com >Subject: Re: Converting an Edat file into either a .xls or .txt file > > > >Yeah, I will probably just end up splitting it >using a SPSS syntax script (I am not very >familiar with Matlab yet), it will be a little >bit tedious but faster than doing it manually. > > > >Thanks for the input. > >On Friday, February 8, 2013 6:49:09 PM UTC-5, Daniel wrote: > >I have a large number of subject edat files >(500+) and I like the column/row format that the >Excel export option that E-DataAid uses so that >I can easily convert the data into a format I >like using spss syntax. Is there a faster way to >convert all of these subject files into the >excel format, some sort of way to iterate over >all files in a folder, instead of having to open >each one and export them separately? > > > >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. For more options, visit https://groups.google.com/groups/opt_out. From pfc.groot at gmail.com Fri Feb 15 00:12:56 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Fri, 15 Feb 2013 01:12:56 +0100 Subject: Sound filename empty?? In-Reply-To: Message-ID: no idea, except for trivial ones... Are there any exotic characters in the name of the file. Try renaming it to a short name. Also make sure to include the file extension properly. Windows explorer doesn't show the file extension by default, so you should change this setting to make sure you see the complete name. And be sure not to use double extensions in explorer. A see this very often because some people add a second extension when the first was not visible. I think this is not a problem when you just select an existing file with using the file selection dialog box. paul On 14 February 2013 21:08, cogneuro wrote: > Thank you for the reply :) > > I did try what you said and while I'm still having issues, I think I'm > making progress. The error message I get now after removing all of the > unreferenced objects is, ' Run-time Error (Line 802) -999: Unable to find > the sound file specified' But I know for sure I am using the same name as > the file in my folder! Do you know what else could cause this error?? > > > On Thu, Feb 14, 2013 at 10:40 AM, Paul Groot wrote: > >> I would try to run the same script, but with all audio completely >> removed. Just to make check if it is related to the sound. You could also >> try to create a very simple test script that only has a start-up screen and >> a sound object to play the audio (using the same settings as the original >> script). The idea is to isolate the problem/crash to get an idea of what is >> going on. Because the crash immediately occurs when the script is started, >> it could be related to the initialisation of devices. >> >> paul >> >> >> On 14 February 2013 01:05, cogneuro wrote: >> >>> While I run the script, e-studio crashes. No error messages pop up. The >>> program starts to run, then a white screen appears, and then the entire >>> program dies :/ >>> >>> On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot wrote: >>> >>>> Does e-studio crash while editing, or are you having troubles when >>>> running the script? Any error messages? Is it reproducible? >>>> >>>> paul >>>> >>>> >>>> On 13 February 2013 23:19, cogneuro wrote: >>>> >>>>> Ah, thank you! That did sort of work and I was silly not to check >>>>> there first. >>>>> >>>>> Now though the actually program crashes and I get a windows error when >>>>> I run my experiment! I know e-prime crashes a lot, but it has done it 5 >>>>> times in a row and I can't figure out how deleting unreferenced objects >>>>> would do this. >>>>> >>>>> >>>>> On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot wrote: >>>>> >>>>>> perhaps there is a soundout object (or slide with sound) in the >>>>>> 'unused items' section that was not configured properly. Just remove it >>>>>> permanently to get rid of the error, >>>>>> >>>>>> Paul >>>>>> >>>>>> >>>>>> On 13 February 2013 21:50, cogneuroisfun wrote: >>>>>> >>>>>>> Can someone please tell me what this run time error means? I keep >>>>>>> getting it when I try to run my program with sounds. I triple checked to >>>>>>> make sure they were typed in right, I changed them from .wav to .mp3 and >>>>>>> played around with the buffer rates. Still nothing works!! Has anyone come >>>>>>> across this error and do you know how to fix it?? >>>>>>> >>>>>>> >>>>>>> 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/msg/e-prime/-/K8mUyxQ9i50J. >>>>>>> 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. >>>>>> 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. >>>>> 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. >>>> 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. >>> 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. >> 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Wed Feb 13 12:54:24 2013 From: mspape at cognitology.eu (Cognitology) Date: Wed, 13 Feb 2013 14:54:24 +0200 Subject: Quotation marks in stimulus .txt file In-Reply-To: Message-ID: Hi, Just to nitpick and maybe future help: · Excel-files do not store ascii. I suspect you mean you exported from Excel to tab-delimited text file (as you actually say a bit later on). This is important because it probably means that something in the conversion went awry. · The quotation marks are quite unlikely to appear random unless you run Office for Quantum Computer. A quotation mark can appear if a number in excel, stored in a “general format” cell, is to be treated as text: I.e. 128 is a number, ‘128 are three letters. The trick is to accurately set the cell format, or: · Open .txt (or whatever the file is) in notepad, hit CONTROL+H, enter replace [‘] to [] (i.e. one quotation mark to nothing), save. Sounds dumb, but I love doing it this way, same goes for converting stuff to SPSS. This should not mess up the columns. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Justine VanDyke Sent: 12. February 2013 23:08 To: e-prime at googlegroups.com Subject: Re: Quotation marks in stimulus .txt file Hi, Thanks for your reply. To clarify: -yes, I have text in an Excel file. -yes, randomly quotation marks occur around certain words (not present in the Excel file). -this occurs when I 'Save As' a .txt file. -yes, I am 'loading' a file using Load Method "File". -yes, certain words (meaning 'some') have quotations. Apologies that that wasn't clear. I solved the problem by copying and pasting from Excel into a .txt file; however, it's good to know that this is not necessary and that I can load directly from Excel. Many thanks. On Tue, Feb 12, 2013 at 3:06 PM, David McFarlane wrote: Justine, I am having a bit of trouble following this. Do you mean that - you have text in an Excel file - the text in the Excel file does not contain any quotation marks - you convert the Excel file to a .txt file (how do you do that?) - the resulting .txt file now has quotation marks around some (all?) of the text - you use the .txt file as input to an EP List (using Load Method "File") - and now (some? all?) the text stimuli are enclosed in quotation marks? Please clarify. BTW, if you use EP2.0.10.x or later, a List can load from an Excel file directly, no need to convert it to .txt first. ----- 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 2/12/2013 02:27 PM Tuesday, you wrote: Hello, I have a .txt ffile that I am loading stimuli from in an E-Prime experiment. The stimuli consist of sentences (text). During experimental presentation, randomly, quotation marks appear around certain words that are not present on the Excel file from which I have created the .txt. I assume this is something to do with saving in the tab-delimited format, and I wondered whether anyone has a solution. If I simply delete the quotations from the .txt file, then I am concerned that I will mess up the tab-structure. Thanks, Justine VanDyke Postdoctoral Research Assistant Language Processing Lab Institute for Mind and Brain University of South Carolina -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com . To post to this group, send email to e-prime at googlegroups.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. 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From schizophrenicdan at gmail.com Fri Feb 15 19:24:20 2013 From: schizophrenicdan at gmail.com (Daniel) Date: Fri, 15 Feb 2013 11:24:20 -0800 Subject: On using E-DataAid: WAS: Converting an Edat file into either a .xls or .txt file In-Reply-To: <511e5b29.c70d320a.293c.1661SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: I will definitely look at those resources. On Friday, February 15, 2013 10:58:27 AM UTC-5, McFarlane, David wrote: > > I too will beat the drum for E-Merge & > E-DataAid. For some years now I have said that > it is almost worth getting E-Prime for its superb > data handling facilities alone! No other > psychology programming platform compares in this > regard, no matter what other shortcomings E-Prime may have. > > Sadly, it took me many years to discover this -- > like many, I too initially treated E-DataAid as > nothing more than a tool to export data to Excel > or SPSS. I did not realize the full value myself > until a lab asked me to give them a tutorial on > E-Merge & E-DataAid, and when I finally went > through the manuals I was surprised! > > So work through *all* of the E-Merge and > E-DataAid tutorials in the User's Guide and > Reference Guide that come with E-Prime, you will > find it *well* worth your trouble. You might > also look through Michiel et al.'s "The > E-Primer". Finally (shameless self-promotion > here), I devote an entire lesson of my online > video course to just this topic, with a guided > exercise to show much of what Michiel described. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > At 2/15/2013 10:03 AM Friday, Paul Groot wrote: > >You're right. E-DataAid features are often overlooked. > > > >Perhaps I was not clear about Excel: I meant > >that Excel has serious problems with many rows > >or columns. Although I think newer versions of > >Excel do a much better job now, so this might not be a problem for many > users. > > > >paul > > > >On 13 February 2013 14:27, Cognitology > ><>msp... at cognitology.eu> > wrote: > > > >Hi, > > > >If you’re not YET doing it, I urge you to have > >another look at what is possible with e-DataAid. > >The reason is that I know many students 1) know > >SPSS fairly well, and a bit of Excel, and try to > >avoid E-***. Not saying that counts for you as > >well. Indeed, this is a bit of a shot in the > >dark, but with such sentences as “I have a large > >number of subject edat files (500+) and I like > >the column/row format that the Excel export > >option that E-DataAid uses so that I can easily > >convert the data into a format I like using spss > >syntax”, it’s difficult to avoid guessing! You > >might want to say something about what you’re > >planning to do, but in its absence, let’s have > >an example from my own life, and maybe it helps? > > > >· What I like is having a good amount of > >Repeated Measures ANOVA style formatted columns, > >say, RTs of 2x4 conditions, one row per subject. > >For SPSS. What I have is 500 .edats. Arggh, right? > > > >1. We merge all files to one big .emrg, which we then open in .edat > > > >2. We filter out those RTs we are not > >interested in, say, the ones in which an error > >occurs. Also, I don’t like trials 1:20. > > > >3. Now, we go to analyze, drag Subject to > >the Row, and any type of between-subject variable (sex, age, etc). > > > >4. Then drag ConditionP1vs2 to columns, > >drag ConditionQ1vs2vs3vs4 to columns. Drag the > >critical RT thing to the Data bit. Press Run. > > > >5. So, we should see a nice table of at > >least 500x8. Oops, it’s got two decimals.. why? > >Make that 4. Select all of it, copy the bunch to excel. > > > >6. Inside excel, underneath the two rows > >with variables (rows A and B), insert a new row > >(say C). Enter the wonderful formula =A&”_”&B and drag it all across row > C. > > > >7. Select row C, copy, go stand in an > >empty bit, paste special: values only, and > >transpose. Copy that, go to SPSS, paste in > >variables: now, that’s descriptive indeed. > > > >8. Copy all the values over to SPSS (but > >you’ll have to reassign string values from numeric for some columns). > > > > > > > >These 8 steps, lengthy as they may seem, take me > >about 2 minutes, and I think it’s a great workflow. > > > >TLDR? Try E-DataAid, it’s ridiculously simple, > >really rocks, and SPSS is best avoided as they > >make it slower and buggier with every next release. > > > > > > > >PS: Paul, I find Excel not at all slow with > >large data-files? Much faster than SPSS, at > >least, or at least it has been between excel > >2007 and 2010 (2013 beta was running very slow > >here); it does not cope very well with large and > >lengthy formulas that need repeated > >recalculation and take up more than hundreds of MBs, though. > > > > > > > >Best, > > > >Michiel > > > > > > > > > > > >From: > >>e-p... at googlegroups.com > >[mailto:e-p... at googlegroups.com ] On Behalf Of Daniel > >Sent: 11. February 2013 23:02 > >To: >e-p... at googlegroups.com > >Subject: Re: Converting an Edat file into either a .xls or .txt file > > > > > > > >Yeah, I will probably just end up splitting it > >using a SPSS syntax script (I am not very > >familiar with Matlab yet), it will be a little > >bit tedious but faster than doing it manually. > > > > > > > >Thanks for the input. > > > >On Friday, February 8, 2013 6:49:09 PM UTC-5, Daniel wrote: > > > >I have a large number of subject edat files > >(500+) and I like the column/row format that the > >Excel export option that E-DataAid uses so that > >I can easily convert the data into a format I > >like using spss syntax. Is there a faster way to > >convert all of these subject files into the > >excel format, some sort of way to iterate over > >all files in a folder, instead of having to open > >each one and export them separately? > > > > > > > >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/msg/e-prime/-/3J4ameXmcCIJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Fri Feb 15 15:03:47 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Fri, 15 Feb 2013 16:03:47 +0100 Subject: On using E-DataAid: WAS: Converting an Edat file into either a .xls or .txt file In-Reply-To: <029401ce09ed$d191b750$74b525f0$@eu> Message-ID: You're right. E-DataAid features are often overlooked. Perhaps I was not clear about Excel: I meant that Excel has serious problems with many rows or columns. Although I think newer versions of Excel do a much better job now, so this might not be a problem for many users. paul On 13 February 2013 14:27, Cognitology wrote: > Hi,**** > > If you’re not YET doing it, I urge you to have another look at what is > possible with e-DataAid. The reason is that I know many students 1) know > SPSS fairly well, and a bit of Excel, and try to avoid E-***. Not saying > that counts for you as well. Indeed, this is a bit of a shot in the dark, > but with such sentences as “I have a large number of subject edat files > (500+) and I like the column/row format that the Excel export option that > E-DataAid uses so that I can easily convert the data into a format I like > using spss syntax”, it’s difficult to avoid guessing! You might want to > say something about what you’re planning to do, but in its absence, let’s > have an example from my own life, and maybe it helps?**** > > **· **What I like is having a good amount of Repeated Measures > ANOVA style formatted columns, say, RTs of 2x4 conditions, one row per > subject. For SPSS. What I have is 500 .edats. Arggh, right?**** > > **1. **We merge all files to one big .emrg, which we then open in > .edat**** > > **2. **We filter out those RTs we are not interested in, say, the > ones in which an error occurs. Also, I don’t like trials 1:20.**** > > **3. **Now, we go to analyze, drag Subject to the Row, and any type > of between-subject variable (sex, age, etc). **** > > **4. **Then drag ConditionP1vs2 to columns, drag > ConditionQ1vs2vs3vs4 to columns. Drag the critical RT thing to the Data > bit. Press Run.**** > > **5. **So, we should see a nice table of at least 500x8. Oops, it’s > got two decimals.. why? Make that 4. Select all of it, copy the bunch to > excel.**** > > **6. **Inside excel, underneath the two rows with variables (rows A > and B), insert a new row (say C). Enter the wonderful formula =A&”_”&B and > drag it all across row C.**** > > **7. **Select row C, copy, go stand in an empty bit, paste special: > values only, and transpose. Copy that, go to SPSS, paste in variables: now, > that’s descriptive indeed. **** > > **8. **Copy all the values over to SPSS (but you’ll have to > reassign string values from numeric for some columns).**** > > ** ** > > These 8 steps, lengthy as they may seem, take me about 2 minutes, and I > think it’s a great workflow. **** > > TLDR? Try E-DataAid, it’s ridiculously simple, really rocks, and SPSS is > best avoided as they make it slower and buggier with every next release. * > *** > > ** ** > > PS: Paul, I find Excel not at all slow with large data-files? Much faster > than SPSS, at least, or at least it has been between excel 2007 and 2010 > (2013 beta was running very slow here); it does not cope very well with > large and lengthy formulas that need repeated recalculation and take up > more than hundreds of MBs, though. **** > > ** ** > > Best,**** > > Michiel**** > > ** ** > > ** ** > > *From:* e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] *On > Behalf Of *Daniel > *Sent:* 11. February 2013 23:02 > *To:* e-prime at googlegroups.com > *Subject:* Re: Converting an Edat file into either a .xls or .txt file**** > > ** ** > > Yeah, I will probably just end up splitting it using a SPSS syntax script > (I am not very familiar with Matlab yet), it will be a little bit tedious > but faster than doing it manually.**** > > ** ** > > Thanks for the input. > > On Friday, February 8, 2013 6:49:09 PM UTC-5, Daniel wrote:**** > > I have a large number of subject edat files (500+) and I like the > column/row format that the Excel export option that E-DataAid uses so that > I can easily convert the data into a format I like using spss syntax. Is > there a faster way to convert all of these subject files into the excel > format, some sort of way to iterate over all files in a folder, instead of > having to open each one and export them separately?**** > > ** ** > > 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/msg/e-prime/-/r4EG1vCaqgIJ. > 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Feb 15 16:03:51 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 15 Feb 2013 11:03:51 -0500 Subject: Sound filename empty?? In-Reply-To: Message-ID: Among the exotic characters to look out for is whitespace (e.g., space, tab) at the end of file names. *You* will not see that white space, but the *computer* will, and will insist on matching the names using whitespace and all. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 2/14/2013 07:12 PM Thursday, Paul Groot wrote: >no idea, except for trivial ones... > >Are there any exotic characters in the name of the file. Try >renaming it to a short name. >Also make sure to include the file extension properly. Windows >explorer doesn't show the file extension by default, so you should >change this setting to make sure you see the complete name. And be >sure not to use double extensions in explorer. A see this very often >because some people add a second extension when the first was not >visible. I think this is not a problem when you just select an >existing file with using the file selection dialog box. > >paul > >On 14 February 2013 21:08, cogneuro ><neuropsych76 at gmail.com> wrote: >Thank you for the reply :) > >I did try what you said and while I'm still having issues, I think >I'm making progress. The error message I get now after removing all >of the unreferenced objects is, ' Run-time Error (Line 802) -999: >Unable to find the sound file specified' But I know for sure I am >using the same name as the file in my folder! Do you know what else >could cause this error?? > > >On Thu, Feb 14, 2013 at 10:40 AM, Paul Groot ><pfc.groot at gmail.com> wrote: >I would try to run the same script, but with all audio completely >removed. Just to make check if it is related to the sound. You could >also try to create a very simple test script that only has a >start-up screen and a sound object to play the audio (using the same >settings as the original script). The idea is to isolate the >problem/crash to get an idea of what is going on. Because the crash >immediately occurs when the script is started, it could be related >to the initialisation of devices. > >paul > > >On 14 February 2013 01:05, cogneuro ><neuropsych76 at gmail.com> wrote: >While I run the script, e-studio crashes. No error messages pop up. >The program starts to run, then a white screen appears, and then the >entire program dies :/ > >On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot ><pfc.groot at gmail.com> wrote: >Does e-studio crash while editing, or are you having troubles when >running the script? Any error messages? Is it reproducible? > >paul > > >On 13 February 2013 23:19, cogneuro ><neuropsych76 at gmail.com> wrote: >Ah, thank you! That did sort of work and I was silly not to check >there first. > >Now though the actually program crashes and I get a windows error >when I run my experiment! I know e-prime crashes a lot, but it has >done it 5 times in a row and I can't figure out how deleting >unreferenced objects would do this. > > >On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot ><pfc.groot at gmail.com> wrote: >perhaps there is a soundout object (or slide with sound) in the >'unused items' section that was not configured properly. Just remove >it permanently to get rid of the error, > >Paul > > >On 13 February 2013 21:50, cogneuroisfun ><neuropsych76 at gmail.com> wrote: >Can someone please tell me what this run time error means? I keep >getting it when I try to run my program with sounds. I triple >checked to make sure they were typed in right, I changed them from >.wav to .mp3 and played around with the buffer rates. Still nothing >works!! Has anyone come across this error and do you know how to fix it?? > > >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. For more options, visit https://groups.google.com/groups/opt_out. From mspape at cognitology.eu Wed Feb 13 13:27:06 2013 From: mspape at cognitology.eu (Cognitology) Date: Wed, 13 Feb 2013 15:27:06 +0200 Subject: On using E-DataAid: WAS: Converting an Edat file into either a .xls or .txt file In-Reply-To: Message-ID: Hi, If you’re not YET doing it, I urge you to have another look at what is possible with e-DataAid. The reason is that I know many students 1) know SPSS fairly well, and a bit of Excel, and try to avoid E-***. Not saying that counts for you as well. Indeed, this is a bit of a shot in the dark, but with such sentences as “I have a large number of subject edat files (500+) and I like the column/row format that the Excel export option that E-DataAid uses so that I can easily convert the data into a format I like using spss syntax”, it’s difficult to avoid guessing! You might want to say something about what you’re planning to do, but in its absence, let’s have an example from my own life, and maybe it helps? · What I like is having a good amount of Repeated Measures ANOVA style formatted columns, say, RTs of 2x4 conditions, one row per subject. For SPSS. What I have is 500 .edats. Arggh, right? 1. We merge all files to one big .emrg, which we then open in .edat 2. We filter out those RTs we are not interested in, say, the ones in which an error occurs. Also, I don’t like trials 1:20. 3. Now, we go to analyze, drag Subject to the Row, and any type of between-subject variable (sex, age, etc). 4. Then drag ConditionP1vs2 to columns, drag ConditionQ1vs2vs3vs4 to columns. Drag the critical RT thing to the Data bit. Press Run. 5. So, we should see a nice table of at least 500x8. Oops, it’s got two decimals.. why? Make that 4. Select all of it, copy the bunch to excel. 6. Inside excel, underneath the two rows with variables (rows A and B), insert a new row (say C). Enter the wonderful formula =A&”_”&B and drag it all across row C. 7. Select row C, copy, go stand in an empty bit, paste special: values only, and transpose. Copy that, go to SPSS, paste in variables: now, that’s descriptive indeed. 8. Copy all the values over to SPSS (but you’ll have to reassign string values from numeric for some columns). These 8 steps, lengthy as they may seem, take me about 2 minutes, and I think it’s a great workflow. TLDR? Try E-DataAid, it’s ridiculously simple, really rocks, and SPSS is best avoided as they make it slower and buggier with every next release. PS: Paul, I find Excel not at all slow with large data-files? Much faster than SPSS, at least, or at least it has been between excel 2007 and 2010 (2013 beta was running very slow here); it does not cope very well with large and lengthy formulas that need repeated recalculation and take up more than hundreds of MBs, though. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Daniel Sent: 11. February 2013 23:02 To: e-prime at googlegroups.com Subject: Re: Converting an Edat file into either a .xls or .txt file Yeah, I will probably just end up splitting it using a SPSS syntax script (I am not very familiar with Matlab yet), it will be a little bit tedious but faster than doing it manually. Thanks for the input. On Friday, February 8, 2013 6:49:09 PM UTC-5, Daniel wrote: I have a large number of subject edat files (500+) and I like the column/row format that the Excel export option that E-DataAid uses so that I can easily convert the data into a format I like using spss syntax. Is there a faster way to convert all of these subject files into the excel format, some sort of way to iterate over all files in a folder, instead of having to open each one and export them separately? 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/msg/e-prime/-/r4EG1vCaqgIJ. 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From justinemayavandyke at gmail.com Fri Feb 15 18:47:06 2013 From: justinemayavandyke at gmail.com (justine) Date: Fri, 15 Feb 2013 10:47:06 -0800 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <4c8a36a3.8b19e70a.5fdc.ffff90d0SMTPIN_ADDED@gmr-mx.google.com> Message-ID: I am in the process of conducting my own timing tests (for an Eprime/NetStation experiment), and this was invaluable in trying to understand the time audit measures. I gather from this that there is no way of knowing when the stimulus was *actually* presented on the screen (given the refresh rate). I assume this means that my triggers in the EEG record could be off by whatever that screen refresh delay was. Is that correct? Thanks, Justine VanDyke Postdoctoral Research Fellow University of South Carolina On Friday, 10 September 2010 09:46:03 UTC-4, David McFarlane wrote: > > When you look at the Logging tab on the properties page of any > stimulus object, you will find a host of items available for > logging. Most of these are time audit data. But what do all these > items mean, and what are they good for? Chapter 3 of the E-Prime > User's Guide discusses time auditing to some degree, and the timing > diagram at Appendix E provides one way to see the relationships > between these items. As an alternative, here I try to set out, in > order, a brief description of these items. > > First let us distinguish between timing control *settings* and time > audit *measures*. The following items do not reflect any results > formed during the course of a stimulus but simply log the settings > provided by the user (e.g., you). You may choose to have any of > these logged just to keep a record of settings active during the > experiment: > - Duration: To reiterate, this does *not* show the actual duration of > the stimulus, only the setting as provided by the user. > - PreRelease: Affects the TargetOffsetTime (see below). > - TimingMode: Event, Cumulative, or Custom, as set by the user (see > the online E-Basic Help). > - CustomOffsetTime: In Custom timing mode, overrides the > TargetOnsetTime (see the online E-Basic Help). > - CustomOnsetTime: In Custom timing mode, overrides the > TargetOffsetTime (see the online E-Basic Help). > > Now, the raw time audit measures, listed in the order in which events > occur during the execution of a stimulus object. These are all time > stamps in milliseconds from the start of the current program run: > - StartTime: Time at which E-Prime started executing the stimulus > object. > - TargetOnsetTime: Scheduled time at which presentation of stimulus was > to begin; set automatically from GetNextTargetOnsetTime (see online > E-Basic Help). > - OnsetTime: Time when E-Prime actually submitted the stimulus data for > presentation (e.g., proceeded to copy data to display memory or load > sound buffer). This may not coincide with when the stimulus actually > got presented, e.g., if data are submitted in the middle of a display > refresh cycle then they may not get presented until the next refresh. > - ActionTime: According to the online E-Basic Help, time at which > E-Prime completed the "critical action" of the stimulus. The > documentation remains somewhat vague about this -- perhaps "critical > action" means copying data to display memory, or loading a sound or > video buffer. In my tests, ActionTime never lags more than 1 ms > behind OnsetTime, so it serves practically the same purpose as > OnsetTime. > - TargetOffsetTime: Scheduled time at which offset actions (e.g., > clean-up, ClearAfter, StopAfter) of stimulus object were to begin, > e.g., OnsetTime + Duration - PreRelease (Event timing mode), or > TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). > - OffsetTime: Time when E-Prime actually began the offset actions of > the object. Actions may not take practical effect until next > vertical blank, or until presentation of next stimulus. > - FinishTime: Time when E-Prime exited from execution of the > stimulus object and proceeded to execute the next section of the > program (e.g., next stimulus object or inline code). Note that > *execution* of a stimulus *object* may end before *presentation* of > the *stimulus* ends; this is the point of PreRelease (as well as > happening as a matter of course with some stimuli such as some > sounds). > > Finally, a few composite time audit measures derived from the raw > measures above and provided for convenience: > - OnsetDelay = OnsetTime - TargetOnsetTime > - ActionDelay = ActionTime - OnsetTime > - OffsetDelay = OffsetTime - TargetOffsetTime > - DurationError = OffsetTime + PreRelease - OnsetTime - Duration > > Note: > - Time audit measures include the ActionTime that follows upon > OnsetTime, but no corresponding item to follow upon OffsetTime. > - No time audit item for time stamp of vertical blank, although many > stimuli do not take full effect until just after a vertical blank. > > -- David McFarlane, Professional Faultfinder > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/A39BowES1nAJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From schizophrenicdan at gmail.com Fri Feb 15 18:25:53 2013 From: schizophrenicdan at gmail.com (Daniel) Date: Fri, 15 Feb 2013 10:25:53 -0800 Subject: On using E-DataAid: WAS: Converting an Edat file into either a .xls or .txt file In-Reply-To: <029401ce09ed$d191b750$74b525f0$@eu> Message-ID: You're absolutely right and it does seem that there are more things I can do with E-DataAid than I realized. I should have been more specific about what I had in mind, but the data conversions I run with spss syntax tend to be extensive and I was too lazy to type them out. The methods that you suggested below will really help with some of my other data sets that need less conversions, thank you. The conversions I needed to do involved generating probabilities for a bunch of different numbers (and the format of the E-DataAid file was less user friendly, but that was because of how the task was put together in E-Prime) and then some of my other datasets I create distributional plots of accuracy (or other things) by reaction time and plot between 5-9 cells of 20+ RT scores or more. So, generally I think I need to use either SPSS syntax or Matlab to do this stuff (though I am sure Excel could do it too). I did find a fairly easy way to split after having used e-merge and then converting it to an excel document in E-Dataid. I then opened the data in excel and got rid of any columns I did not care about and then opened it in SPSS. I used the SPSS programmability extension and then installed a custom dialog called "SPSSINC_SPLIT_DATASET.spd" which you can get on the IBM spss DeveloperWorks website and it easily will split the file by whatever variables and spit out the data with any names you want. Then I just ran my script (that calculates probability, generates ACC, etc.) using "SPSSINC_PROCESS_FILES.spd" which allowed me to iterate over all subject files in a folder and spit out the data into a database. On Wednesday, February 13, 2013 8:27:06 AM UTC-5, Michiel Sovijärvi-Spapé wrote: > > Hi, > > If you’re not YET doing it, I urge you to have another look at what is > possible with e-DataAid. The reason is that I know many students 1) know > SPSS fairly well, and a bit of Excel, and try to avoid E-***. Not saying > that counts for you as well. Indeed, this is a bit of a shot in the dark, > but with such sentences as “I have a large number of subject edat files > (500+) and I like the column/row format that the Excel export option that > E-DataAid uses so that I can easily convert the data into a format I like > using spss syntax”, it’s difficult to avoid guessing! You might want to > say something about what you’re planning to do, but in its absence, let’s > have an example from my own life, and maybe it helps? > > · What I like is having a good amount of Repeated Measures ANOVA > style formatted columns, say, RTs of 2x4 conditions, one row per subject. > For SPSS. What I have is 500 .edats. Arggh, right? > > 1. We merge all files to one big .emrg, which we then open in .edat > > 2. We filter out those RTs we are not interested in, say, the ones > in which an error occurs. Also, I don’t like trials 1:20. > > 3. Now, we go to analyze, drag Subject to the Row, and any type of > between-subject variable (sex, age, etc). > > 4. Then drag ConditionP1vs2 to columns, drag ConditionQ1vs2vs3vs4 > to columns. Drag the critical RT thing to the Data bit. Press Run. > > 5. So, we should see a nice table of at least 500x8. Oops, it’s got > two decimals.. why? Make that 4. Select all of it, copy the bunch to excel. > > 6. Inside excel, underneath the two rows with variables (rows A and > B), insert a new row (say C). Enter the wonderful formula =A&”_”&B and drag > it all across row C. > > 7. Select row C, copy, go stand in an empty bit, paste special: > values only, and transpose. Copy that, go to SPSS, paste in variables: now, > that’s descriptive indeed. > > 8. Copy all the values over to SPSS (but you’ll have to reassign > string values from numeric for some columns). > > > > These 8 steps, lengthy as they may seem, take me about 2 minutes, and I > think it’s a great workflow. > > TLDR? Try E-DataAid, it’s ridiculously simple, really rocks, and SPSS is > best avoided as they make it slower and buggier with every next release. > > > > PS: Paul, I find Excel not at all slow with large data-files? Much faster > than SPSS, at least, or at least it has been between excel 2007 and 2010 > (2013 beta was running very slow here); it does not cope very well with > large and lengthy formulas that need repeated recalculation and take up > more than hundreds of MBs, though. > > > > Best, > > Michiel > > > > > > *From:* e-p... at googlegroups.com [mailto: > e-p... at googlegroups.com ] *On Behalf Of *Daniel > *Sent:* 11. February 2013 23:02 > *To:* e-p... at googlegroups.com > *Subject:* Re: Converting an Edat file into either a .xls or .txt file > > > > Yeah, I will probably just end up splitting it using a SPSS syntax script > (I am not very familiar with Matlab yet), it will be a little bit tedious > but faster than doing it manually. > > > > Thanks for the input. > > On Friday, February 8, 2013 6:49:09 PM UTC-5, Daniel wrote: > > I have a large number of subject edat files (500+) and I like the > column/row format that the Excel export option that E-DataAid uses so that > I can easily convert the data into a format I like using spss syntax. Is > there a faster way to convert all of these subject files into the excel > format, some sort of way to iterate over all files in a folder, instead of > having to open each one and export them separately? > > > > 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+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/msg/e-prime/-/r4EG1vCaqgIJ. > 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/msg/e-prime/-/0SWbc53V830J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From neuropsych76 at gmail.com Mon Feb 18 13:49:22 2013 From: neuropsych76 at gmail.com (cogneuro) Date: Mon, 18 Feb 2013 08:49:22 -0500 Subject: Sound filename empty?? In-Reply-To: <511e5c6c.e307320a.32dd.0f38SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thank you guys for the replies! I've looked for whitespace and could not find any. The names are very short and simple and I highlighted them to see if there was any spaces. Anything else it could be? Does changing the buffer size impact this? I am totally stumped as to why this won't work other than it being a weird window's 7 problem with e-prime 2.0 On Fri, Feb 15, 2013 at 11:03 AM, David McFarlane wrote: > Among the exotic characters to look out for is whitespace (e.g., space, > tab) at the end of file names. *You* will not see that white space, but > the *computer* will, and will insist on matching the names using whitespace > and all. > > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/** > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/**EPrimeMaster > ) > > > > At 2/14/2013 07:12 PM Thursday, Paul Groot wrote: > >> no idea, except for trivial ones... >> >> Are there any exotic characters in the name of the file. Try renaming it >> to a short name. >> Also make sure to include the file extension properly. Windows explorer >> doesn't show the file extension by default, so you should change this >> setting to make sure you see the complete name. And be sure not to use >> double extensions in explorer. A see this very often because some people >> add a second extension when the first was not visible. I think this is not >> a problem when you just select an existing file with using the file >> selection dialog box. >> >> paul >> >> On 14 February 2013 21:08, cogneuro < >> >neuropsych76 at gmail.com> wrote: >> Thank you for the reply :) >> >> I did try what you said and while I'm still having issues, I think I'm >> making progress. The error message I get now after removing all of the >> unreferenced objects is, ' Run-time Error (Line 802) -999: Unable to find >> the sound file specified' But I know for sure I am using the same name as >> the file in my folder! Do you know what else could cause this error?? >> >> >> On Thu, Feb 14, 2013 at 10:40 AM, Paul Groot <> >p**fc.groot at gmail.com > wrote: >> I would try to run the same script, but with all audio completely >> removed. Just to make check if it is related to the sound. You could also >> try to create a very simple test script that only has a start-up screen and >> a sound object to play the audio (using the same settings as the original >> script). The idea is to isolate the problem/crash to get an idea of what is >> going on. Because the crash immediately occurs when the script is started, >> it could be related to the initialisation of devices. >> >> paul >> >> >> On 14 February 2013 01:05, cogneuro < >> >neuropsych76 at gmail.com> wrote: >> While I run the script, e-studio crashes. No error messages pop up. The >> program starts to run, then a white screen appears, and then the entire >> program dies :/ >> >> On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot < >> p**fc.groot at gmail.com > wrote: >> Does e-studio crash while editing, or are you having troubles when >> running the script? Any error messages? Is it reproducible? >> >> paul >> >> >> On 13 February 2013 23:19, cogneuro < >> >neuropsych76 at gmail.com> wrote: >> Ah, thank you! That did sort of work and I was silly not to check there >> first. >> >> Now though the actually program crashes and I get a windows error when I >> run my experiment! I know e-prime crashes a lot, but it has done it 5 times >> in a row and I can't figure out how deleting unreferenced objects would do >> this. >> >> >> On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot < >> p**fc.groot at gmail.com > wrote: >> perhaps there is a soundout object (or slide with sound) in the 'unused >> items' section that was not configured properly. Just remove it permanently >> to get rid of the error, >> >> Paul >> >> >> On 13 February 2013 21:50, cogneuroisfun <> com >neuropsych76 at gmail.com> wrote: >> Can someone please tell me what this run time error means? I keep getting >> it when I try to run my program with sounds. I triple checked to make sure >> they were typed in right, I changed them from .wav to .mp3 and played >> around with the buffer rates. Still nothing works!! Has anyone come across >> this error and do you know how to fix it?? >> >> >> 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@**googlegroups.com > . > To post to this group, send email to e-prime at googlegroups.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. 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 Feb 18 19:37:33 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 18 Feb 2013 14:37:33 -0500 Subject: Sound filename empty?? In-Reply-To: Message-ID: What happens when you run the SoundRT example that comes with E-Prime? What happens if you substitute the sound files in SoundRT with your the sound files from your new experiment? What happens when you try to play your sound files with a simple .es2 program that does nothing but play sound files? -- David McFarlane At 2/18/2013 08:49 AM Monday, cogneuro wrote: >Thank you guys for the replies! I've looked for whitespace and could >not find any. The names are very short and simple and I highlighted >them to see if there was any spaces. Anything else it could be? Does >changing the buffer size impact this? I am totally stumped as to why >this won't work other than it being a weird window's 7 problem with e-prime 2.0 > >On Fri, Feb 15, 2013 at 11:03 AM, David McFarlane ><mcfarla9 at msu.edu> wrote: >Among the exotic characters to look out for is whitespace (e.g., >space, tab) at the end of file names. *You* will not see that white >space, but the *computer* will, and will insist on matching the >names using whitespace and all. > >----- >David McFarlane >E-Prime training >online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster >(https://twitter.com/EPrimeMaster) > > > >At 2/14/2013 07:12 PM Thursday, Paul Groot wrote: >no idea, except for trivial ones... > >Are there any exotic characters in the name of the file. Try >renaming it to a short name. >Also make sure to include the file extension properly. Windows >explorer doesn't show the file extension by default, so you should >change this setting to make sure you see the complete name. And be >sure not to use double extensions in explorer. A see this very often >because some people add a second extension when the first was not >visible. I think this is not a problem when you just select an >existing file with using the file selection dialog box. > >paul > >On 14 February 2013 21:08, cogneuro ><neuropsych76 at gmail.com> wrote: >Thank you for the reply :) > >I did try what you said and while I'm still having issues, I think >I'm making progress. The error message I get now after removing all >of the unreferenced objects is, ' Run-time Error (Line 802) -999: >Unable to find the sound file specified' But I know for sure I am >using the same name as the file in my folder! Do you know what else >could cause this error?? > > >On Thu, Feb 14, 2013 at 10:40 AM, Paul Groot ><pfc.groot at gmail.com> wrote: >I would try to run the same script, but with all audio completely >removed. Just to make check if it is related to the sound. You could >also try to create a very simple test script that only has a >start-up screen and a sound object to play the audio (using the same >settings as the original script). The idea is to isolate the >problem/crash to get an idea of what is going on. Because the crash >immediately occurs when the script is started, it could be related >to the initialisation of devices. > >paul > > >On 14 February 2013 01:05, cogneuro ><neuropsych76 at gmail.com> wrote: >While I run the script, e-studio crashes. No error messages pop up. >The program starts to run, then a white screen appears, and then the >entire program dies :/ > >On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot ><pfc.groot at gmail.com> wrote: >Does e-studio crash while editing, or are you having troubles when >running the script? Any error messages? Is it reproducible? > >paul > > >On 13 February 2013 23:19, cogneuro ><neuropsych76 at gmail.com> wrote: >Ah, thank you! That did sort of work and I was silly not to check there first. > >Now though the actually program crashes and I get a windows error >when I run my experiment! I know e-prime crashes a lot, but it has >done it 5 times in a row and I can't figure out how deleting >unreferenced objects would do this. > > >On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot ><pfc.groot at gmail.com> wrote: >perhaps there is a soundout object (or slide with sound) in the >'unused items' section that was not configured properly. Just remove >it permanently to get rid of the error, > >Paul -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From neuropsych76 at gmail.com Mon Feb 18 22:51:42 2013 From: neuropsych76 at gmail.com (cogneuro) Date: Mon, 18 Feb 2013 17:51:42 -0500 Subject: Sound filename empty?? In-Reply-To: <5122a42c.1fa4650a.3c97.2407SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: That worked!!! Thank you so much :D On Mon, Feb 18, 2013 at 4:59 PM, David McFarlane wrote: > If I were you I would rebuild the entire program from scratch, especially > since it is a simple one as you say. And this time I would do test runs > after each step along the way, so that I could detect the moment when it > breaks (which is pretty much the way I always work). > > Good luck, > > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/** > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/**EPrimeMaster > ) > > > > At 2/18/2013 04:27 PM Monday, cogneuro wrote: > >> Ah, I didn't even think to do that. The sounds work fine when they are in >> a new e-prime file! It must be something in this program other than the >> sound that it doesn't like. I don't understand though, it's a pretty simple >> experiment. It just plays some sounds, shows some pictures, and has a few >> text displays. There was some code because it is an fMRI study and needs to >> connect to the port, but I tried commenting out the code in case that was >> the problem and it still was messed up. I keep getting this error though. >> >> "Run-time Error (Line 802) -999: Unable to find the sound file specified" >> >> On Mon, Feb 18, 2013 at 2:37 PM, David McFarlane <> mcfarla9 at msu.edu>mcfa**rla9 at msu.edu > wrote: >> What happens when you run the SoundRT example that comes with E-Prime? >> What happens if you substitute the sound files in SoundRT with your the >> sound files from your new experiment? What happens when you try to play >> your sound files with a simple .es2 program that does nothing but play >> sound files? >> >> -- David McFarlane >> >> >> >> At 2/18/2013 08:49 AM Monday, cogneuro wrote: >> Thank you guys for the replies! I've looked for whitespace and could not >> find any. The names are very short and simple and I highlighted them to see >> if there was any spaces. Anything else it could be? Does changing the >> buffer size impact this? I am totally stumped as to why this won't work >> other than it being a weird window's 7 problem with e-prime 2.0 >> >> On Fri, Feb 15, 2013 at 11:03 AM, David McFarlane <> mcfarla9 at msu.edu><**mailto:mcfarla9 at msu.edu>mcfarl**a9 at msu.edu> >> wrote: >> Among the exotic characters to look out for is whitespace (e.g., space, >> tab) at the end of file names. *You* will not see that white space, but >> the *computer* will, and will insist on matching the names using whitespace >> and all. >> >> ----- >> David McFarlane >> E-Prime training online: <> Workshops_Courses/eprime.aspx >> >**http://psychology.msu.edu/**Workshops_Courses/eprime.aspx >> >**http://psychology.msu.edu/**Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster (< >> >https://twitter.**com/EPrimeMaster > >> https://**twitter.com/EPrimeMaster ) >> >> >> >> >> >> At 2/14/2013 07:12 PM Thursday, Paul Groot wrote: >> no idea, except for trivial ones... >> >> Are there any exotic characters in the name of the file. Try renaming it >> to a short name. >> Also make sure to include the file extension properly. Windows explorer >> doesn't show the file extension by default, so you should change this >> setting to make sure you see the complete name. And be sure not to use >> double extensions in explorer. A see this very often because some people >> add a second extension when the first was not visible. I think this is not >> a problem when you just select an existing file with using the file >> selection dialog box. >> >> paul >> >> On 14 February 2013 21:08, cogneuro < >> >> >> neuropsych76 at gmail.**com > wrote: >> Thank you for the reply :) >> >> I did try what you said and while I'm still having issues, I think I'm >> making progress. The error message I get now after removing all of the >> unreferenced objects is, ' Run-time Error (Line 802) -999: Unable to find >> the sound file specified' But I know for sure I am using the same name as >> the file in my folder! Do you know what else could cause this error?? >> >> >> On Thu, Feb 14, 2013 at 10:40 AM, Paul Groot <> ><**mailto:pfc.groot at gmail.com>pfc**.groot at gmail.com> >> wrote: >> I would try to run the same script, but with all audio completely >> removed. Just to make check if it is related to the sound. You could also >> try to create a very simple test script that only has a start-up screen and >> a sound object to play the audio (using the same settings as the original >> script). The idea is to isolate the problem/crash to get an idea of what is >> going on. Because the crash immediately occurs when the script is started, >> it could be related to the initialisation of devices. >> >> paul >> >> >> On 14 February 2013 01:05, cogneuro < >> >> >> neuropsych76 at gmail.**com > wrote: >> While I run the script, e-studio crashes. No error messages pop up. The >> program starts to run, then a white screen appears, and then the entire >> program dies :/ >> >> On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot <> ><**mailto:pfc.groot at gmail.com>pfc**.groot at gmail.com> >> wrote: >> Does e-studio crash while editing, or are you having troubles when >> running the script? Any error messages? Is it reproducible? >> >> paul >> >> >> On 13 February 2013 23:19, cogneuro < >> >> >> neuropsych76 at gmail.**com > wrote: >> Ah, thank you! That did sort of work and I was silly not to check there >> first. >> >> Now though the actually program crashes and I get a windows error when I >> run my experiment! I know e-prime crashes a lot, but it has done it 5 times >> in a row and I can't figure out how deleting unreferenced objects would do >> this. >> >> >> On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot <> ><**mailto:pfc.groot at gmail.com>pfc**.groot at gmail.com> >> wrote: >> perhaps there is a soundout object (or slide with sound) in the 'unused >> items' section that was not configured properly. Just remove it permanently >> to get rid of the error, >> >> Paul >> > > -- > You received this message because you are subscribed to 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From neuropsych76 at gmail.com Mon Feb 18 21:27:23 2013 From: neuropsych76 at gmail.com (cogneuro) Date: Mon, 18 Feb 2013 16:27:23 -0500 Subject: Sound filename empty?? In-Reply-To: <51228312.048b650a.3eab.7b21SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Ah, I didn't even think to do that. The sounds work fine when they are in a new e-prime file! It must be something in this program other than the sound that it doesn't like. I don't understand though, it's a pretty simple experiment. It just plays some sounds, shows some pictures, and has a few text displays. There was some code because it is an fMRI study and needs to connect to the port, but I tried commenting out the code in case that was the problem and it still was messed up. I keep getting this error though. "Run-time Error (Line 802) -999: Unable to find the sound file specified" On Mon, Feb 18, 2013 at 2:37 PM, David McFarlane wrote: > What happens when you run the SoundRT example that comes with E-Prime? > What happens if you substitute the sound files in SoundRT with your the > sound files from your new experiment? What happens when you try to play > your sound files with a simple .es2 program that does nothing but play > sound files? > > -- David McFarlane > > > > At 2/18/2013 08:49 AM Monday, cogneuro wrote: > >> Thank you guys for the replies! I've looked for whitespace and could not >> find any. The names are very short and simple and I highlighted them to see >> if there was any spaces. Anything else it could be? Does changing the >> buffer size impact this? I am totally stumped as to why this won't work >> other than it being a weird window's 7 problem with e-prime 2.0 >> >> On Fri, Feb 15, 2013 at 11:03 AM, David McFarlane <> mcfarla9 at msu.edu>mcfa**rla9 at msu.edu > wrote: >> Among the exotic characters to look out for is whitespace (e.g., space, >> tab) at the end of file names. *You* will not see that white space, but >> the *computer* will, and will insist on matching the names using whitespace >> and all. >> >> ----- >> David McFarlane >> E-Prime training online: > Workshops_Courses/eprime.aspx >> >**http://psychology.msu.edu/**Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster ( >> >https://twitter.**com/EPrimeMaster ) >> >> >> >> >> At 2/14/2013 07:12 PM Thursday, Paul Groot wrote: >> no idea, except for trivial ones... >> >> Are there any exotic characters in the name of the file. Try renaming it >> to a short name. >> Also make sure to include the file extension properly. Windows explorer >> doesn't show the file extension by default, so you should change this >> setting to make sure you see the complete name. And be sure not to use >> double extensions in explorer. A see this very often because some people >> add a second extension when the first was not visible. I think this is not >> a problem when you just select an existing file with using the file >> selection dialog box. >> >> paul >> >> On 14 February 2013 21:08, cogneuro < >> >neuropsych76 at gmail.com> wrote: >> Thank you for the reply :) >> >> I did try what you said and while I'm still having issues, I think I'm >> making progress. The error message I get now after removing all of the >> unreferenced objects is, ' Run-time Error (Line 802) -999: Unable to find >> the sound file specified' But I know for sure I am using the same name as >> the file in my folder! Do you know what else could cause this error?? >> >> >> On Thu, Feb 14, 2013 at 10:40 AM, Paul Groot <> >p**fc.groot at gmail.com > wrote: >> I would try to run the same script, but with all audio completely >> removed. Just to make check if it is related to the sound. You could also >> try to create a very simple test script that only has a start-up screen and >> a sound object to play the audio (using the same settings as the original >> script). The idea is to isolate the problem/crash to get an idea of what is >> going on. Because the crash immediately occurs when the script is started, >> it could be related to the initialisation of devices. >> >> paul >> >> >> On 14 February 2013 01:05, cogneuro < >> >neuropsych76 at gmail.com> wrote: >> While I run the script, e-studio crashes. No error messages pop up. The >> program starts to run, then a white screen appears, and then the entire >> program dies :/ >> >> On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot < >> p**fc.groot at gmail.com > wrote: >> Does e-studio crash while editing, or are you having troubles when >> running the script? Any error messages? Is it reproducible? >> >> paul >> >> >> On 13 February 2013 23:19, cogneuro < >> >neuropsych76 at gmail.com> wrote: >> Ah, thank you! That did sort of work and I was silly not to check there >> first. >> >> Now though the actually program crashes and I get a windows error when I >> run my experiment! I know e-prime crashes a lot, but it has done it 5 times >> in a row and I can't figure out how deleting unreferenced objects would do >> this. >> >> >> On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot < >> p**fc.groot at gmail.com > wrote: >> perhaps there is a soundout object (or slide with sound) in the 'unused >> items' section that was not configured properly. Just remove it permanently >> to get rid of the error, >> >> Paul >> > > -- > You received this message because you are subscribed to 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. > 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. 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 Feb 18 21:59:04 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 18 Feb 2013 16:59:04 -0500 Subject: Sound filename empty?? In-Reply-To: Message-ID: If I were you I would rebuild the entire program from scratch, especially since it is a simple one as you say. And this time I would do test runs after each step along the way, so that I could detect the moment when it breaks (which is pretty much the way I always work). Good luck, ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 2/18/2013 04:27 PM Monday, cogneuro wrote: >Ah, I didn't even think to do that. The sounds work fine when they >are in a new e-prime file! It must be something in this program >other than the sound that it doesn't like. I don't understand >though, it's a pretty simple experiment. It just plays some sounds, >shows some pictures, and has a few text displays. There was some >code because it is an fMRI study and needs to connect to the port, >but I tried commenting out the code in case that was the problem and >it still was messed up. I keep getting this error though. > >"Run-time Error (Line 802) -999: Unable to find the sound file specified" > >On Mon, Feb 18, 2013 at 2:37 PM, David McFarlane ><mcfarla9 at msu.edu> wrote: >What happens when you run the SoundRT example that comes with >E-Prime? What happens if you substitute the sound files in SoundRT >with your the sound files from your new experiment? What happens >when you try to play your sound files with a simple .es2 program >that does nothing but play sound files? > >-- David McFarlane > > > >At 2/18/2013 08:49 AM Monday, cogneuro wrote: >Thank you guys for the replies! I've looked for whitespace and could >not find any. The names are very short and simple and I highlighted >them to see if there was any spaces. Anything else it could be? Does >changing the buffer size impact this? I am totally stumped as to why >this won't work other than it being a weird window's 7 problem with e-prime 2.0 > >On Fri, Feb 15, 2013 at 11:03 AM, David McFarlane ><mcfarla9 at msu.edu> wrote: >Among the exotic characters to look out for is whitespace (e.g., >space, tab) at the end of file names. *You* will not see that white >space, but the *computer* will, and will insist on matching the >names using whitespace and all. > >----- >David McFarlane >E-Prime training online: ><http://psychology.msu.edu/Workshops_Courses/eprime.aspx>http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster >(<https://twitter.com/EPrimeMaster>https://twitter.com/EPrimeMaster) > > > > >At 2/14/2013 07:12 PM Thursday, Paul Groot wrote: >no idea, except for trivial ones... > >Are there any exotic characters in the name of the file. Try >renaming it to a short name. >Also make sure to include the file extension properly. Windows >explorer doesn't show the file extension by default, so you should >change this setting to make sure you see the complete name. And be >sure not to use double extensions in explorer. A see this very often >because some people add a second extension when the first was not >visible. I think this is not a problem when you just select an >existing file with using the file selection dialog box. > >paul > >On 14 February 2013 21:08, cogneuro ><neuropsych76 at gmail.com> >wrote: >Thank you for the reply :) > >I did try what you said and while I'm still having issues, I think >I'm making progress. The error message I get now after removing all >of the unreferenced objects is, ' Run-time Error (Line 802) -999: >Unable to find the sound file specified' But I know for sure I am >using the same name as the file in my folder! Do you know what else >could cause this error?? > > >On Thu, Feb 14, 2013 at 10:40 AM, Paul Groot ><pfc.groot at gmail.com> >wrote: >I would try to run the same script, but with all audio completely >removed. Just to make check if it is related to the sound. You could >also try to create a very simple test script that only has a >start-up screen and a sound object to play the audio (using the same >settings as the original script). The idea is to isolate the >problem/crash to get an idea of what is going on. Because the crash >immediately occurs when the script is started, it could be related >to the initialisation of devices. > >paul > > >On 14 February 2013 01:05, cogneuro ><neuropsych76 at gmail.com> >wrote: >While I run the script, e-studio crashes. No error messages pop up. >The program starts to run, then a white screen appears, and then the >entire program dies :/ > >On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot ><pfc.groot at gmail.com> >wrote: >Does e-studio crash while editing, or are you having troubles when >running the script? Any error messages? Is it reproducible? > >paul > > >On 13 February 2013 23:19, cogneuro ><neuropsych76 at gmail.com> >wrote: >Ah, thank you! That did sort of work and I was silly not to check there first. > >Now though the actually program crashes and I get a windows error >when I run my experiment! I know e-prime crashes a lot, but it has >done it 5 times in a row and I can't figure out how deleting >unreferenced objects would do this. > > >On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot ><pfc.groot at gmail.com> >wrote: >perhaps there is a soundout object (or slide with sound) in the >'unused items' section that was not configured properly. Just remove >it permanently to get rid of the error, > >Paul -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Thu Feb 21 23:05:34 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Feb 2013 18:05:34 -0500 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <5126a6c0.a8b9ec0a.2986.0184SMTPIN_ADDED_MISSING@gmr-mx.goo gle.com> Message-ID: Justine, I should mention that using OnsetSignal... still entails some "gotchas" (which I go over in the course). -- David McFarlane At 2/21/2013 05:56 PM Thursday, David McFarlane wrote: >Justine, > >No programming system can exactly control the actual onset time of >stimuli, due to the nature and limitations of stimulus >hardware. For visual stimuli in particular, the video frame rate >plays one limiting role -- please see the "Critical Timing" chapter >in the User's Guide that came with E-Prime (and/or take my online >video course, see link below). > >If one wished merely to *know* when a visual stimulus got presented >(as distinct from *controlling* its onset time), one might use the >output of a high-speed photodector aimed at a choice spot on the >display. Technically speaking, even then the time of stimulus >presentation to the subject depends on things such as the distance >from the display to the subject, the speed of light, photoreceptor >response rates, nerve conduction to visual cortex, etc. So the real >question becomes, just how accurately do you need to control or know >the onset time, and can we make it "good enough"? > >And here we have some hope. If you synchronize your visual stimuli >to start with the "vertical blank", then stimulus OnsetTime should >correspond very closely to when the system starts writing the >stimulus screen to the top of the display -- and starting with >EP2.0.10.182, you can even adjust this (see >http://www.pstnet.com/support/kb.asp?TopicID=3027 ). Now you just >need to synchronize your EEG signals with the OnsetTime of your >stimulus. As you have no doubt figured out, you will be hard >pressed to do that using WritePort. But OnsetSignalEnabled, etc., >do just what you need here (please see >"RteRunnableInputObject.OnsetSignalEnabled" and related topics in >the E-Basic Help facility). And with EP2.0.10.182 and later you may >accomplish the same end with the new Task Events feature, which >should supplant OnsetSignal..., etc. (I show how to use >OnsetSignal... to output EEG signals in my online video course, and >hope to include coverage of Task Events in the future.) > >Finally, if you want to verify that your EEG triggers really are >synchronized with your stimuli, then you should use an oscilloscope >to monitor both the stimulus onset and the EEG trigger (the Black >Box ToolKit may may this easier). > >I hope that helps. > >----- >David McFarlane >E-Prime training >online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > >At 2/15/2013 01:47 PM Friday, justine wrote: >>I am in the process of conducting my own timing tests (for an >>Eprime/NetStation experiment), and this was invaluable in trying to >>understand the time audit measures. I gather from this that there >>is no way of knowing when the stimulus was *actually* presented on >>the screen (given the refresh rate). I assume this means that my >>triggers in the EEG record could be off by whatever that screen >>refresh delay was. Is that correct? >> >>Thanks, >> >>Justine VanDyke >>Postdoctoral Research Fellow >>University of South Carolina >> >>On Friday, 10 September 2010 09:46:03 UTC-4, David McFarlane wrote: >>When you look at the Logging tab on the properties page of any >>stimulus object, you will find a host of items available for >>logging. Most of these are time audit data. But what do all these >>items mean, and what are they good for? Chapter 3 of the E-Prime >>User's Guide discusses time auditing to some degree, and the timing >>diagram at Appendix E provides one way to see the relationships >>between these items. As an alternative, here I try to set out, in >>order, a brief description of these items. >> >>First let us distinguish between timing control *settings* and time >>audit *measures*. The following items do not reflect any results >>formed during the course of a stimulus but simply log the settings >>provided by the user (e.g., you). You may choose to have any of >>these logged just to keep a record of settings active during the experiment: >>- Duration: To reiterate, this does *not* show the actual duration of >> the stimulus, only the setting as provided by the user. >>- PreRelease: Affects the TargetOffsetTime (see below). >>- TimingMode: Event, Cumulative, or Custom, as set by the user (see >> the online E-Basic Help). >>- CustomOffsetTime: In Custom timing mode, overrides the >> TargetOnsetTime (see the online E-Basic Help). >>- CustomOnsetTime: In Custom timing mode, overrides the >> TargetOffsetTime (see the online E-Basic Help). >> >>Now, the raw time audit measures, listed in the order in which events >>occur during the execution of a stimulus object. These are all time >>stamps in milliseconds from the start of the current program run: >>- StartTime: Time at which E-Prime started executing the stimulus >> object. >>- TargetOnsetTime: Scheduled time at which presentation of stimulus was >> to begin; set automatically from GetNextTargetOnsetTime (see online >> E-Basic Help). >>- OnsetTime: Time when E-Prime actually submitted the stimulus data for >> presentation (e.g., proceeded to copy data to display memory or load >> sound buffer). This may not coincide with when the stimulus actually >> got presented, e.g., if data are submitted in the middle of a display >> refresh cycle then they may not get presented until the next refresh. >>- ActionTime: According to the online E-Basic Help, time at which >> E-Prime completed the "critical action" of the stimulus. The >> documentation remains somewhat vague about this -- perhaps "critical >> action" means copying data to display memory, or loading a sound or >> video buffer. In my tests, ActionTime never lags more than 1 ms >> behind OnsetTime, so it serves practically the same purpose as >> OnsetTime. >>- TargetOffsetTime: Scheduled time at which offset actions (e.g., >> clean-up, ClearAfter, StopAfter) of stimulus object were to begin, >> e.g., OnsetTime + Duration - PreRelease (Event timing mode), or >> TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). >>- OffsetTime: Time when E-Prime actually began the offset actions of >> the object. Actions may not take practical effect until next >> vertical blank, or until presentation of next stimulus. >>- FinishTime: Time when E-Prime exited from execution of the >> stimulus object and proceeded to execute the next section of the >> program (e.g., next stimulus object or inline code). Note that >> *execution* of a stimulus *object* may end before *presentation* of >> the *stimulus* ends; this is the point of PreRelease (as well as >> happening as a matter of course with some stimuli such as some >> sounds). >> >>Finally, a few composite time audit measures derived from the raw >>measures above and provided for convenience: >>- OnsetDelay = OnsetTime - TargetOnsetTime >>- ActionDelay = ActionTime - OnsetTime >>- OffsetDelay = OffsetTime - TargetOffsetTime >>- DurationError = OffsetTime + PreRelease - OnsetTime - Duration >> >>Note: >>- Time audit measures include the ActionTime that follows upon >> OnsetTime, but no corresponding item to follow upon OffsetTime. >>- No time audit item for time stamp of vertical blank, although many >> stimuli do not take full effect until just after a vertical blank. >> >>-- David McFarlane, Professional Faultfinder > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To unsubscribe from this group and stop receiving emails from it, >send an email to e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to e-prime at googlegroups.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. For more options, visit https://groups.google.com/groups/opt_out. From symadec at gmail.com Fri Feb 22 00:26:40 2013 From: symadec at gmail.com (Sylvain) Date: Thu, 21 Feb 2013 16:26:40 -0800 Subject: Slide with soundin and image: audio size issues Message-ID: Hello all, I have a problem with the latest version of EP2(2.0.10.242). A typical trial procedure is as follow: - first a fixation cross appear for a duration of 200 ms (pre-realease set at the stim duration); - then a blank screen of a jittered duration appears (the jittered duration has been computed before, not online, the pre-realease is set also at the stim duration); - then a Slide appear with two sub-objet: an image and a SlideSoundIn. I want my participants to give the name of the image, taking advantage of the SRS box vocal responses, and have the Slide disappearing; but I also want to record, with the SlideSoundIn sub-object, the whole signal audio. I set the duration of the Slide to 1000 ms maximum, and for the SlideSoundIn I've chosen a buffer of 1000 ms, set "Stop after" to no, and "EndSoundCaptureAction" to none. However, I notice that when I do that, automatically I see the "Stop after mode" staying on "NextOnsetTime" (pre-realease for the slide set at the stim duration); - then an ITI of 1 sec appears (pre-realease for the slide set at the stim duration). Doing that, I noticed that my audio signal from the SlideSoundIn sub-object always ended before reaching 1000 ms. My question are: 1) Do you think that even though I set the "Stop after" of the SlideSoundIn to "no" (I'm 100% sure I did that, several times) the recording could stop during the ITI onset or pre-realease of it? If not, what could have I done wrong? 2) In order to get rid of this issue, I replaced the ITI screen by a sleep inline. Does the recording of the SlideSoundIn continue during a sleep? Maybe it could be a solution to this issue. Thank you for any advices and answers. Sylvain -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/HI5P_DDIPJ0J. 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 Feb 21 22:56:52 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Feb 2013 17:56:52 -0500 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <8c2fb4d4-8cf6-4a93-b89a-c70e0c48e324@googlegroups.com> Message-ID: Justine, No programming system can exactly control the actual onset time of stimuli, due to the nature and limitations of stimulus hardware. For visual stimuli in particular, the video frame rate plays one limiting role -- please see the "Critical Timing" chapter in the User's Guide that came with E-Prime (and/or take my online video course, see link below). If one wished merely to *know* when a visual stimulus got presented (as distinct from *controlling* its onset time), one might use the output of a high-speed photodector aimed at a choice spot on the display. Technically speaking, even then the time of stimulus presentation to the subject depends on things such as the distance from the display to the subject, the speed of light, photoreceptor response rates, nerve conduction to visual cortex, etc. So the real question becomes, just how accurately do you need to control or know the onset time, and can we make it "good enough"? And here we have some hope. If you synchronize your visual stimuli to start with the "vertical blank", then stimulus OnsetTime should correspond very closely to when the system starts writing the stimulus screen to the top of the display -- and starting with EP2.0.10.182, you can even adjust this (see http://www.pstnet.com/support/kb.asp?TopicID=3027 ). Now you just need to synchronize your EEG signals with the OnsetTime of your stimulus. As you have no doubt figured out, you will be hard pressed to do that using WritePort. But OnsetSignalEnabled, etc., do just what you need here (please see "RteRunnableInputObject.OnsetSignalEnabled" and related topics in the E-Basic Help facility). And with EP2.0.10.182 and later you may accomplish the same end with the new Task Events feature, which should supplant OnsetSignal..., etc. (I show how to use OnsetSignal... to output EEG signals in my online video course, and hope to include coverage of Task Events in the future.) Finally, if you want to verify that your EEG triggers really are synchronized with your stimuli, then you should use an oscilloscope to monitor both the stimulus onset and the EEG trigger (the Black Box ToolKit may may this easier). I hope that helps. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 2/15/2013 01:47 PM Friday, justine wrote: >I am in the process of conducting my own timing tests (for an >Eprime/NetStation experiment), and this was invaluable in trying to >understand the time audit measures. I gather from this that there is >no way of knowing when the stimulus was *actually* presented on the >screen (given the refresh rate). I assume this means that my >triggers in the EEG record could be off by whatever that screen >refresh delay was. Is that correct? > >Thanks, > >Justine VanDyke >Postdoctoral Research Fellow >University of South Carolina > >On Friday, 10 September 2010 09:46:03 UTC-4, David McFarlane wrote: >When you look at the Logging tab on the properties page of any >stimulus object, you will find a host of items available for >logging. Most of these are time audit data. But what do all these >items mean, and what are they good for? Chapter 3 of the E-Prime >User's Guide discusses time auditing to some degree, and the timing >diagram at Appendix E provides one way to see the relationships >between these items. As an alternative, here I try to set out, in >order, a brief description of these items. > >First let us distinguish between timing control *settings* and time >audit *measures*. The following items do not reflect any results >formed during the course of a stimulus but simply log the settings >provided by the user (e.g., you). You may choose to have any of >these logged just to keep a record of settings active during the experiment: >- Duration: To reiterate, this does *not* show the actual duration of > the stimulus, only the setting as provided by the user. >- PreRelease: Affects the TargetOffsetTime (see below). >- TimingMode: Event, Cumulative, or Custom, as set by the user (see > the online E-Basic Help). >- CustomOffsetTime: In Custom timing mode, overrides the > TargetOnsetTime (see the online E-Basic Help). >- CustomOnsetTime: In Custom timing mode, overrides the > TargetOffsetTime (see the online E-Basic Help). > >Now, the raw time audit measures, listed in the order in which events >occur during the execution of a stimulus object. These are all time >stamps in milliseconds from the start of the current program run: >- StartTime: Time at which E-Prime started executing the stimulus > object. >- TargetOnsetTime: Scheduled time at which presentation of stimulus was > to begin; set automatically from GetNextTargetOnsetTime (see online > E-Basic Help). >- OnsetTime: Time when E-Prime actually submitted the stimulus data for > presentation (e.g., proceeded to copy data to display memory or load > sound buffer). This may not coincide with when the stimulus actually > got presented, e.g., if data are submitted in the middle of a display > refresh cycle then they may not get presented until the next refresh. >- ActionTime: According to the online E-Basic Help, time at which > E-Prime completed the "critical action" of the stimulus. The > documentation remains somewhat vague about this -- perhaps "critical > action" means copying data to display memory, or loading a sound or > video buffer. In my tests, ActionTime never lags more than 1 ms > behind OnsetTime, so it serves practically the same purpose as > OnsetTime. >- TargetOffsetTime: Scheduled time at which offset actions (e.g., > clean-up, ClearAfter, StopAfter) of stimulus object were to begin, > e.g., OnsetTime + Duration - PreRelease (Event timing mode), or > TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). >- OffsetTime: Time when E-Prime actually began the offset actions of > the object. Actions may not take practical effect until next > vertical blank, or until presentation of next stimulus. >- FinishTime: Time when E-Prime exited from execution of the > stimulus object and proceeded to execute the next section of the > program (e.g., next stimulus object or inline code). Note that > *execution* of a stimulus *object* may end before *presentation* of > the *stimulus* ends; this is the point of PreRelease (as well as > happening as a matter of course with some stimuli such as some > sounds). > >Finally, a few composite time audit measures derived from the raw >measures above and provided for convenience: >- OnsetDelay = OnsetTime - TargetOnsetTime >- ActionDelay = ActionTime - OnsetTime >- OffsetDelay = OffsetTime - TargetOffsetTime >- DurationError = OffsetTime + PreRelease - OnsetTime - Duration > >Note: >- Time audit measures include the ActionTime that follows upon > OnsetTime, but no corresponding item to follow upon OffsetTime. >- No time audit item for time stamp of vertical blank, although many > stimuli do not take full effect until just after a vertical blank. > >-- David McFarlane, Professional Faultfinder -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From symadec at gmail.com Fri Feb 22 11:36:16 2013 From: symadec at gmail.com (Sylvain) Date: Fri, 22 Feb 2013 03:36:16 -0800 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <4c8a36a3.8b19e70a.5fdc.ffff90d0SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Hi David, I have a question regarding to pre-release and timing. I did a little experiment trying to get the timestamp of the onset of stim, and the offset or it. It's simple basically i have : - Inline1: I collect t1 = Clock.ReadMillisec - Then an ImageDiplay for 200 ms with a pre-realase equal to the duration of it. I log the onset of ImageDiplay and the offset of it; - Inline 2: I collect t2 = Clock.ReadMillisec Doing that, basically I get t2-t1 almost equal to 0 modulo some refresh rates. I also get ImageDiplay.OnsetTime = ImageDiplay.OffsetTime. 1) There's something there that I don't really understand, which timestamp should I really consider, ImageDiplay.OnsetTime or ImageDiplay.OffsetTime? 2) If I understood pre-realase affect offset time, so does that mean that: ImageDiplay.Duration = (ImageDiplay.OffsetTime - ImageDiplay.OnsetTime) + pre-realase 3) The fact that Inline2 is executed at the same time as Inline1 is particulary disturbing for me. Does that mean than Inline placed after an object could be executed while this object is still on screen? Thank you for any answer, I'm confused about this! Sylvain On Friday, September 10, 2010 3:46:03 PM UTC+2, David McFarlane wrote: > > When you look at the Logging tab on the properties page of any > stimulus object, you will find a host of items available for > logging. Most of these are time audit data. But what do all these > items mean, and what are they good for? Chapter 3 of the E-Prime > User's Guide discusses time auditing to some degree, and the timing > diagram at Appendix E provides one way to see the relationships > between these items. As an alternative, here I try to set out, in > order, a brief description of these items. > > First let us distinguish between timing control *settings* and time > audit *measures*. The following items do not reflect any results > formed during the course of a stimulus but simply log the settings > provided by the user (e.g., you). You may choose to have any of > these logged just to keep a record of settings active during the > experiment: > - Duration: To reiterate, this does *not* show the actual duration of > the stimulus, only the setting as provided by the user. > - PreRelease: Affects the TargetOffsetTime (see below). > - TimingMode: Event, Cumulative, or Custom, as set by the user (see > the online E-Basic Help). > - CustomOffsetTime: In Custom timing mode, overrides the > TargetOnsetTime (see the online E-Basic Help). > - CustomOnsetTime: In Custom timing mode, overrides the > TargetOffsetTime (see the online E-Basic Help). > > Now, the raw time audit measures, listed in the order in which events > occur during the execution of a stimulus object. These are all time > stamps in milliseconds from the start of the current program run: > - StartTime: Time at which E-Prime started executing the stimulus > object. > - TargetOnsetTime: Scheduled time at which presentation of stimulus was > to begin; set automatically from GetNextTargetOnsetTime (see online > E-Basic Help). > - OnsetTime: Time when E-Prime actually submitted the stimulus data for > presentation (e.g., proceeded to copy data to display memory or load > sound buffer). This may not coincide with when the stimulus actually > got presented, e.g., if data are submitted in the middle of a display > refresh cycle then they may not get presented until the next refresh. > - ActionTime: According to the online E-Basic Help, time at which > E-Prime completed the "critical action" of the stimulus. The > documentation remains somewhat vague about this -- perhaps "critical > action" means copying data to display memory, or loading a sound or > video buffer. In my tests, ActionTime never lags more than 1 ms > behind OnsetTime, so it serves practically the same purpose as > OnsetTime. > - TargetOffsetTime: Scheduled time at which offset actions (e.g., > clean-up, ClearAfter, StopAfter) of stimulus object were to begin, > e.g., OnsetTime + Duration - PreRelease (Event timing mode), or > TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). > - OffsetTime: Time when E-Prime actually began the offset actions of > the object. Actions may not take practical effect until next > vertical blank, or until presentation of next stimulus. > - FinishTime: Time when E-Prime exited from execution of the > stimulus object and proceeded to execute the next section of the > program (e.g., next stimulus object or inline code). Note that > *execution* of a stimulus *object* may end before *presentation* of > the *stimulus* ends; this is the point of PreRelease (as well as > happening as a matter of course with some stimuli such as some > sounds). > > Finally, a few composite time audit measures derived from the raw > measures above and provided for convenience: > - OnsetDelay = OnsetTime - TargetOnsetTime > - ActionDelay = ActionTime - OnsetTime > - OffsetDelay = OffsetTime - TargetOffsetTime > - DurationError = OffsetTime + PreRelease - OnsetTime - Duration > > Note: > - Time audit measures include the ActionTime that follows upon > OnsetTime, but no corresponding item to follow upon OffsetTime. > - No time audit item for time stamp of vertical blank, although many > stimuli do not take full effect until just after a vertical blank. > > -- David McFarlane, Professional Faultfinder > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/eFwpjTnxC2kJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Feb 22 16:44:13 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 22 Feb 2013 11:44:13 -0500 Subject: Slide with soundin and image: audio size issues In-Reply-To: <11f65f2e-6abc-4935-87e3-f4b3224ec42c@googlegroups.com> Message-ID: Sylvain, This all looks good to me, so I have no idea why it does not work for you -- in my experience, with SoundIn Buffer Size set to 1000 and other settings such as in your example, I get a full 1000 ms of sound recording. Using a Sleep inline for the ITI should make no difference, but by now you should have done that exercise for yourself (and reported back here with your results). So something else must be going on, or maybe someone else here has a clue. (Note BTW that End Capture Action did not work in EP2.0.8.90, see http://www.pstnet.com/forum/Topic5473-12-1.aspx .) So you should just submit this to PST Web Support, see stock reminder below. ----- 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 2/21/2013 07:26 PM Thursday, Sylvain wrote: >I have a problem with the latest version of EP2(2.0.10.242). >A typical trial procedure is as follow: > >- first a fixation cross appear for a duration of 200 ms >(pre-realease set at the stim duration); > >- then a blank screen of a jittered duration appears (the jittered >duration has been computed before, not online, the pre-realease is >set also at the stim duration); > >- then a Slide appear with two sub-objet: an image and a >SlideSoundIn. I want my participants to give the name of the image, >taking advantage of the SRS box vocal responses, and have the Slide >disappearing; but I also want to record, with the SlideSoundIn >sub-object, the whole signal audio. I set the duration of the Slide >to 1000 ms maximum, and for the SlideSoundIn I've chosen a buffer of >1000 ms, set "Stop after" to no, and "EndSoundCaptureAction" to >none. However, I notice that when I do that, automatically I see the >"Stop after mode" staying on "NextOnsetTime" (pre-realease for the >slide set at the stim duration); > >- then an ITI of 1 sec appears (pre-realease for the slide set at >the stim duration). > >Doing that, I noticed that my audio signal from the SlideSoundIn >sub-object always ended before reaching 1000 ms. > >My question are: > >1) Do you think that even though I set the "Stop after" of the >SlideSoundIn to "no" (I'm 100% sure I did that, several times) the >recording could stop during the ITI onset or pre-realease of it? If >not, what could have I done wrong? > >2) In order to get rid of this issue, I replaced the ITI screen by a >sleep inline. Does the recording of the SlideSoundIn continue during >a sleep? Maybe it could be a solution to this issue. > >Thank you for any advices and answers. > >Sylvain -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Fri Feb 22 17:51:02 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 22 Feb 2013 12:51:02 -0500 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <5127ae3f.648dec0a.488d.168aSMTPIN_ADDED_MISSING@gmr-mx.goo gle.com> Message-ID: Slight correction -- logging of OnsetToOnsetTimes works for both "Standard" (i.e., base) and Professional editions of EP2.0.10.x. -- David McFarlane At 2/22/2013 12:42 PM Friday, David McFarlane wrote: >Sylvain, > >At 2/22/2013 06:36 AM Friday, Sylvain wrote: >>Hi David, >> >>I have a question regarding to pre-release and timing. >> >>I did a little experiment trying to get the timestamp of the onset >>of stim, and the offset or it. > >Wonderful, everyone should do these sorts of explorations (that's >how I figured out all this stuff). > > >>It's simple basically i have : >> >>- Inline1: I collect t1 = Clock.ReadMillisec >>- Then an ImageDiplay for 200 ms with a pre-realase equal to the >>duration of it. I log the onset of ImageDiplay and the offset of it; >>- Inline 2: I collect t2 = Clock.ReadMillisec >> >>Doing that, basically I get t2-t1 almost equal to 0 modulo some >>refresh rates. >>I also get ImageDiplay.OnsetTime = ImageDiplay.OffsetTime. > >As you should. You might find OffsetTime slightly behind OnsetTime; >and under these conditions (PreRelease = Duration), you should find >that TargetOffsetTime = TargetOnsetTime without exception. > > >>1) There's something there that I don't really understand, which >>timestamp should I really consider, ImageDiplay.OnsetTime or >>ImageDiplay.OffsetTime? > >That depends entirely on what you wish to do with that timestamp. > > >>2) If I understood pre-realase affect offset time, so does that mean that: >>ImageDiplay.Duration = (ImageDiplay.OffsetTime >>- ImageDiplay.OnsetTime) + pre-realase > >Not quite -- E-Prime can control only *Target* offset (& onset) >times, not actual times. Actual offset (& onset) times are subject >to the limitations of the stimulus presentation hardware. Also, I >would not write the relationship that way -- that makes it sound >like Duration derives from the other quantities, which is wrong. As >I described earlier, Duration remains whatever you asked it to be, >so should appear only on the right side of the equals sign as it is >used to determine other quantities. Thus, repeating what I wrote in >my earlier description of TargetOffsetTime, in the case of Event timing mode, > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime + > ImageDisplay.Duration - ImageDisplay.PreRelease > >Note that, in the case PreRelease = Duration (the new default >setting since EP2.0.10.x), we get simply > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime > >which fits your observations. If instead we set PreRelease to 0, we find > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime + > ImageDisplay.Duration > >which perhaps is what you expected (and was the default for Event >timing mode prior to EP2.0.10.x). > >And just to drive the point further, OffsetTime does *not* indicate >the time at which *presentation* of a stimulus ends. Rather, (for >most practical purposes) it indicates when *execution* of the >stimulus Run method ends (strictly speaking, this describes >FinishTime, see my earlier description for the fine distinction >between OffsetTime and FinishTime). > >Furthermore, even with PreRelease set to 0, neither Duration nor >(OffsetTime - OnsetTime) necessarily indicate the actual duration of >the stimulus. In particular, a visual stimulus does not disappear >at its OffsetTime (ignoring Clear After, which has been deprecated), >but remains visible until replaced by another visual stimulus, so >actual presentation duration is > > Stim2.OnsetTime - Stim1.OnsetTime > >and EP2.0.10.x Pro can now log those values for you >(http://www.pstnet.com/support/kb.asp?TopicID=718 )! > > >>3) The fact that Inline2 is executed at the same time as Inline1 is >>particulary disturbing for me. Does that mean than Inline placed >>after an object could be executed while this object is still on screen? > >Yes, and that is exactly what we want it to do in many, many cases >(e.g., to handle multiple mouse actions while a visual stimulus >remains on the display, or to prepare the next stimulus during the >run of the current stimulus). If you really want your InLine to >wait until the previous object completes its Duration, then set >PreRelease of that object to 0. > >Hope that helps, >----- >David McFarlane >E-Prime training >online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > >>Thank you for any answer, I'm confused about this! >> >>Sylvain >> >>On Friday, September 10, 2010 3:46:03 PM UTC+2, David McFarlane wrote: >>When you look at the Logging tab on the properties page of any >>stimulus object, you will find a host of items available for >>logging. Most of these are time audit data. But what do all these >>items mean, and what are they good for? Chapter 3 of the E-Prime >>User's Guide discusses time auditing to some degree, and the timing >>diagram at Appendix E provides one way to see the relationships >>between these items. As an alternative, here I try to set out, in >>order, a brief description of these items. >> >>First let us distinguish between timing control *settings* and time >>audit *measures*. The following items do not reflect any results >>formed during the course of a stimulus but simply log the settings >>provided by the user (e.g., you). You may choose to have any of >>these logged just to keep a record of settings active during the experiment: >>- Duration: To reiterate, this does *not* show the actual duration of >> the stimulus, only the setting as provided by the user. >>- PreRelease: Affects the TargetOffsetTime (see below). >>- TimingMode: Event, Cumulative, or Custom, as set by the user (see >> the online E-Basic Help). >>- CustomOffsetTime: In Custom timing mode, overrides the >> TargetOnsetTime (see the online E-Basic Help). >>- CustomOnsetTime: In Custom timing mode, overrides the >> TargetOffsetTime (see the online E-Basic Help). >> >>Now, the raw time audit measures, listed in the order in which events >>occur during the execution of a stimulus object. These are all time >>stamps in milliseconds from the start of the current program run: >>- StartTime: Time at which E-Prime started executing the stimulus >> object. >>- TargetOnsetTime: Scheduled time at which presentation of stimulus was >> to begin; set automatically from GetNextTargetOnsetTime (see online >> E-Basic Help). >>- OnsetTime: Time when E-Prime actually submitted the stimulus data for >> presentation (e.g., proceeded to copy data to display memory or load >> sound buffer). This may not coincide with when the stimulus actually >> got presented, e.g., if data are submitted in the middle of a display >> refresh cycle then they may not get presented until the next refresh. >>- ActionTime: According to the online E-Basic Help, time at which >> E-Prime completed the "critical action" of the stimulus. The >> documentation remains somewhat vague about this -- perhaps "critical >> action" means copying data to display memory, or loading a sound or >> video buffer. In my tests, ActionTime never lags more than 1 ms >> behind OnsetTime, so it serves practically the same purpose as >> OnsetTime. >>- TargetOffsetTime: Scheduled time at which offset actions (e.g., >> clean-up, ClearAfter, StopAfter) of stimulus object were to begin, >> e.g., OnsetTime + Duration - PreRelease (Event timing mode), or >> TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). >>- OffsetTime: Time when E-Prime actually began the offset actions of >> the object. Actions may not take practical effect until next >> vertical blank, or until presentation of next stimulus. >>- FinishTime: Time when E-Prime exited from execution of the >> stimulus object and proceeded to execute the next section of the >> program (e.g., next stimulus object or inline code). Note that >> *execution* of a stimulus *object* may end before *presentation* of >> the *stimulus* ends; this is the point of PreRelease (as well as >> happening as a matter of course with some stimuli such as some >> sounds). >> >>Finally, a few composite time audit measures derived from the raw >>measures above and provided for convenience: >>- OnsetDelay = OnsetTime - TargetOnsetTime >>- ActionDelay = ActionTime - OnsetTime >>- OffsetDelay = OffsetTime - TargetOffsetTime >>- DurationError = OffsetTime + PreRelease - OnsetTime - Duration >> >>Note: >>- Time audit measures include the ActionTime that follows upon >> OnsetTime, but no corresponding item to follow upon OffsetTime. >>- No time audit item for time stamp of vertical blank, although many >> stimuli do not take full effect until just after a vertical blank. >> >>-- David McFarlane, Professional Faultfinder -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From symadec at gmail.com Fri Feb 22 18:10:11 2013 From: symadec at gmail.com (Sylvain) Date: Fri, 22 Feb 2013 10:10:11 -0800 Subject: Slide with soundin and image: audio size issues In-Reply-To: <1c3482bb-6a4d-44dd-8799-249f3b431e66@googlegroups.com> Message-ID: On Friday, February 22, 2013 7:02:57 PM UTC+1, Sylvain wrote: > > Hello David, > > Thank you for your answer! > > It worked with the sleep(ITI) once set as more than 1000 ms, however I did > several other tests: > > - I replaced my Sleep(ITI) with a TextDisplayITI of random duration > (between 500 and 1200 ms), with no pre-release; > - I launched an E-Test Run to hundred of trials. > > My result are as follow: > - if I add the Slide.RT (the slide with the two sub-objects) > to TextDisplayITI.duration, then if the total is inferior to almost 1000 > ms, the generated wav will be less than 1000 ms; > - if the sum is superior to 1000 ms, I will get a wav file of 1000 ms. > > Now something interesting: > > - if I set the TextDisplayITI pre-release to more than 0 ms (I tried with > same duration), my wav files are then less than 1000 ms! > So I thought that it might be due to the fact that adding a pre-release > changed the TextDisplayITI.offsettime, and that the wav could stop at the > point of this offset. The other hypothesis was that maybe, since > the TextDisplayITI was the last slide of the trial, looping to the > beginning another trial could stop the wav file. So to check that I added a > Sleep at the very end of the trial of 1000 ms, while keeping TextDisplayITI > with a pre-release of same duration. Doing that it gives me wav of 1000 ms. > > My guess is then that adding a pre-release to TextDisplayITI is changing > the TextDisplayITI.offsettime, and it induces a computation start of the > next loop earlier. And this cause a stop in the recording of the wav of the > previous trial. > > Sylvain > > On Friday, February 22, 2013 5:44:13 PM UTC+1, McFarlane, David wrote: >> >> Sylvain, >> >> This all looks good to me, so I have no idea why it does not work for >> you -- in my experience, with SoundIn Buffer Size set to 1000 and >> other settings such as in your example, I get a full 1000 ms of sound >> recording. Using a Sleep inline for the ITI should make no >> difference, but by now you should have done that exercise for >> yourself (and reported back here with your results). So something >> else must be going on, or maybe someone else here has a clue. (Note >> BTW that End Capture Action did not work in EP2.0.8.90, see >> http://www.pstnet.com/forum/Topic5473-12-1.aspx .) >> >> So you should just submit this to PST Web Support, see stock reminder >> below. >> >> ----- >> 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 2/21/2013 07:26 PM Thursday, Sylvain wrote: >> >I have a problem with the latest version of EP2(2.0.10.242). >> >A typical trial procedure is as follow: >> > >> >- first a fixation cross appear for a duration of 200 ms >> >(pre-realease set at the stim duration); >> > >> >- then a blank screen of a jittered duration appears (the jittered >> >duration has been computed before, not online, the pre-realease is >> >set also at the stim duration); >> > >> >- then a Slide appear with two sub-objet: an image and a >> >SlideSoundIn. I want my participants to give the name of the image, >> >taking advantage of the SRS box vocal responses, and have the Slide >> >disappearing; but I also want to record, with the SlideSoundIn >> >sub-object, the whole signal audio. I set the duration of the Slide >> >to 1000 ms maximum, and for the SlideSoundIn I've chosen a buffer of >> >1000 ms, set "Stop after" to no, and "EndSoundCaptureAction" to >> >none. However, I notice that when I do that, automatically I see the >> >"Stop after mode" staying on "NextOnsetTime" (pre-realease for the >> >slide set at the stim duration); >> > >> >- then an ITI of 1 sec appears (pre-realease for the slide set at >> >the stim duration). >> > >> >Doing that, I noticed that my audio signal from the SlideSoundIn >> >sub-object always ended before reaching 1000 ms. >> > >> >My question are: >> > >> >1) Do you think that even though I set the "Stop after" of the >> >SlideSoundIn to "no" (I'm 100% sure I did that, several times) the >> >recording could stop during the ITI onset or pre-realease of it? If >> >not, what could have I done wrong? >> > >> >2) In order to get rid of this issue, I replaced the ITI screen by a >> >sleep inline. Does the recording of the SlideSoundIn continue during >> >a sleep? Maybe it could be a solution to this issue. >> > >> >Thank you for any advices and answers. >> > >> >Sylvain >> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/towyt3LNHLwJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Feb 22 17:42:29 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 22 Feb 2013 12:42:29 -0500 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <82e671f4-49d8-43cd-8f99-dac143e36bcb@googlegroups.com> Message-ID: Sylvain, At 2/22/2013 06:36 AM Friday, Sylvain wrote: >Hi David, > >I have a question regarding to pre-release and timing. > >I did a little experiment trying to get the timestamp of the onset >of stim, and the offset or it. Wonderful, everyone should do these sorts of explorations (that's how I figured out all this stuff). >It's simple basically i have : > >- Inline1: I collect t1 = Clock.ReadMillisec >- Then an ImageDiplay for 200 ms with a pre-realase equal to the >duration of it. I log the onset of ImageDiplay and the offset of it; >- Inline 2: I collect t2 = Clock.ReadMillisec > >Doing that, basically I get t2-t1 almost equal to 0 modulo some refresh rates. >I also get ImageDiplay.OnsetTime = ImageDiplay.OffsetTime. As you should. You might find OffsetTime slightly behind OnsetTime; and under these conditions (PreRelease = Duration), you should find that TargetOffsetTime = TargetOnsetTime without exception. >1) There's something there that I don't really understand, which >timestamp should I really consider, ImageDiplay.OnsetTime or >ImageDiplay.OffsetTime? That depends entirely on what you wish to do with that timestamp. >2) If I understood pre-realase affect offset time, so does that mean that: >ImageDiplay.Duration = (ImageDiplay.OffsetTime >- ImageDiplay.OnsetTime) + pre-realase Not quite -- E-Prime can control only *Target* offset (& onset) times, not actual times. Actual offset (& onset) times are subject to the limitations of the stimulus presentation hardware. Also, I would not write the relationship that way -- that makes it sound like Duration derives from the other quantities, which is wrong. As I described earlier, Duration remains whatever you asked it to be, so should appear only on the right side of the equals sign as it is used to determine other quantities. Thus, repeating what I wrote in my earlier description of TargetOffsetTime, in the case of Event timing mode, ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime + ImageDisplay.Duration - ImageDisplay.PreRelease Note that, in the case PreRelease = Duration (the new default setting since EP2.0.10.x), we get simply ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime which fits your observations. If instead we set PreRelease to 0, we find ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime + ImageDisplay.Duration which perhaps is what you expected (and was the default for Event timing mode prior to EP2.0.10.x). And just to drive the point further, OffsetTime does *not* indicate the time at which *presentation* of a stimulus ends. Rather, (for most practical purposes) it indicates when *execution* of the stimulus Run method ends (strictly speaking, this describes FinishTime, see my earlier description for the fine distinction between OffsetTime and FinishTime). Furthermore, even with PreRelease set to 0, neither Duration nor (OffsetTime - OnsetTime) necessarily indicate the actual duration of the stimulus. In particular, a visual stimulus does not disappear at its OffsetTime (ignoring Clear After, which has been deprecated), but remains visible until replaced by another visual stimulus, so actual presentation duration is Stim2.OnsetTime - Stim1.OnsetTime and EP2.0.10.x Pro can now log those values for you (http://www.pstnet.com/support/kb.asp?TopicID=718 )! >3) The fact that Inline2 is executed at the same time as Inline1 is >particulary disturbing for me. Does that mean than Inline placed >after an object could be executed while this object is still on screen? Yes, and that is exactly what we want it to do in many, many cases (e.g., to handle multiple mouse actions while a visual stimulus remains on the display, or to prepare the next stimulus during the run of the current stimulus). If you really want your InLine to wait until the previous object completes its Duration, then set PreRelease of that object to 0. Hope that helps, ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) >Thank you for any answer, I'm confused about this! > >Sylvain > >On Friday, September 10, 2010 3:46:03 PM UTC+2, David McFarlane wrote: >When you look at the Logging tab on the properties page of any >stimulus object, you will find a host of items available for >logging. Most of these are time audit data. But what do all these >items mean, and what are they good for? Chapter 3 of the E-Prime >User's Guide discusses time auditing to some degree, and the timing >diagram at Appendix E provides one way to see the relationships >between these items. As an alternative, here I try to set out, in >order, a brief description of these items. > >First let us distinguish between timing control *settings* and time >audit *measures*. The following items do not reflect any results >formed during the course of a stimulus but simply log the settings >provided by the user (e.g., you). You may choose to have any of >these logged just to keep a record of settings active during the experiment: >- Duration: To reiterate, this does *not* show the actual duration of > the stimulus, only the setting as provided by the user. >- PreRelease: Affects the TargetOffsetTime (see below). >- TimingMode: Event, Cumulative, or Custom, as set by the user (see > the online E-Basic Help). >- CustomOffsetTime: In Custom timing mode, overrides the > TargetOnsetTime (see the online E-Basic Help). >- CustomOnsetTime: In Custom timing mode, overrides the > TargetOffsetTime (see the online E-Basic Help). > >Now, the raw time audit measures, listed in the order in which events >occur during the execution of a stimulus object. These are all time >stamps in milliseconds from the start of the current program run: >- StartTime: Time at which E-Prime started executing the stimulus > object. >- TargetOnsetTime: Scheduled time at which presentation of stimulus was > to begin; set automatically from GetNextTargetOnsetTime (see online > E-Basic Help). >- OnsetTime: Time when E-Prime actually submitted the stimulus data for > presentation (e.g., proceeded to copy data to display memory or load > sound buffer). This may not coincide with when the stimulus actually > got presented, e.g., if data are submitted in the middle of a display > refresh cycle then they may not get presented until the next refresh. >- ActionTime: According to the online E-Basic Help, time at which > E-Prime completed the "critical action" of the stimulus. The > documentation remains somewhat vague about this -- perhaps "critical > action" means copying data to display memory, or loading a sound or > video buffer. In my tests, ActionTime never lags more than 1 ms > behind OnsetTime, so it serves practically the same purpose as > OnsetTime. >- TargetOffsetTime: Scheduled time at which offset actions (e.g., > clean-up, ClearAfter, StopAfter) of stimulus object were to begin, > e.g., OnsetTime + Duration - PreRelease (Event timing mode), or > TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). >- OffsetTime: Time when E-Prime actually began the offset actions of > the object. Actions may not take practical effect until next > vertical blank, or until presentation of next stimulus. >- FinishTime: Time when E-Prime exited from execution of the > stimulus object and proceeded to execute the next section of the > program (e.g., next stimulus object or inline code). Note that > *execution* of a stimulus *object* may end before *presentation* of > the *stimulus* ends; this is the point of PreRelease (as well as > happening as a matter of course with some stimuli such as some > sounds). > >Finally, a few composite time audit measures derived from the raw >measures above and provided for convenience: >- OnsetDelay = OnsetTime - TargetOnsetTime >- ActionDelay = ActionTime - OnsetTime >- OffsetDelay = OffsetTime - TargetOffsetTime >- DurationError = OffsetTime + PreRelease - OnsetTime - Duration > >Note: >- Time audit measures include the ActionTime that follows upon > OnsetTime, but no corresponding item to follow upon OffsetTime. >- No time audit item for time stamp of vertical blank, although many > stimuli do not take full effect until just after a vertical blank. > >-- David McFarlane, Professional Faultfinder > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To unsubscribe from this group and stop receiving emails from it, >send an email to e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msg/e-prime/-/eFwpjTnxC2kJ. >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. For more options, visit https://groups.google.com/groups/opt_out. From evelina at illinois.edu Fri Feb 22 21:21:57 2013 From: evelina at illinois.edu (Evelina Tapia) Date: Fri, 22 Feb 2013 13:21:57 -0800 Subject: Real-time mouse cursor location display and logging Message-ID: Dear all, I want my participants to trace an area on the screen with the mouse while they see the path they are tracing. The E-prime support website has an example TrackMouseCoordinates which tracks mouse cursor locations while participant moves the mouse (but the participant only has a mental trajectory of that path), and then later plays back the traced path. I've not yet succeeded in changing the code to do what I desire -- does anyone have any advice? Thank you :) Evelina -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/sm_-Y_-GDXUJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Feb 22 18:23:09 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 22 Feb 2013 13:23:09 -0500 Subject: Slide with soundin and image: audio size issues In-Reply-To: <1c3482bb-6a4d-44dd-8799-249f3b431e66@googlegroups.com> Message-ID: Sylvain, Well done. A lot of detail there, and I think I see the clue in your final paragraph -- it looks like you have stumbled into the new Generate PreRun = TopOfProcedure "gotcha" that can hit the last object in a Procedure, see http://www.pstnet.com/support/kb.asp?TopicID=3299 and http://www.pstnet.com/support/kb.asp?TopicID=2627 . In short, you might fix this either by using PreRelease = 0, as you did, or setting Generate PreRun to BeforeObjectRun. One of us should add your observation as a comment to those KB articles. Thanks for presenting & pursuing this. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 2/22/2013 01:02 PM Friday, Sylvain wrote: >Hello David, > >Thank you for your answer! > >It worked with the sleep(ITI) once set as more than 1000 ms, however >I did several other tests: > >- I replaced my Sleep(ITI) with a TextDisplayITI of random duration >(between 500 and 1200 ms), with no pre-release; >- I launched an E-Test Run to hundred of trials. > >My result are as follow: >- if I add the Slide.RT (the slide with the two sub-objects) to >TextDisplayITI.duration, then if the total is inferior to almost >1000 ms, the generated wav will be less than 1000 ms; >- if the sum is superior to 1000 ms, I will get a wav file of 1000 ms. > >Now something interesting: > >- if I set the TextDisplayITI pre-release to more than 0 ms (I tried >with same duration), my wav files are then less than 1000 ms! >So I thought that it might be due to the fact that adding a >pre-release changed the TextDisplayITI.offsettime, and that the wav >could stop at the point of this offset. The other hypothesis was >that maybe, since the TextDisplayITI was the last slide of the >trial, looping to the beginning another trial could stop the wav >file. So to check that I added a Sleep at the very end of the trial >of 1000 ms, while keeping TextDisplayITI with a pre-release of same >duration. Doing that it gives me wav of 1000 ms. > >My guess is then that adding a pre-release to TextDisplayITI is >changing the TextDisplayITI.offsettime, and it induces a computation >start of the next loop earlier. And this cause a stop in the >recording of the wav of the previous trial. > >Sylvain > >On Friday, February 22, 2013 5:44:13 PM UTC+1, McFarlane, David wrote: >Sylvain, > >This all looks good to me, so I have no idea why it does not work for >you -- in my experience, with SoundIn Buffer Size set to 1000 and >other settings such as in your example, I get a full 1000 ms of sound >recording. Using a Sleep inline for the ITI should make no >difference, but by now you should have done that exercise for >yourself (and reported back here with your results). So something >else must be going on, or maybe someone else here has a clue. (Note >BTW that End Capture Action did not work in EP2.0.8.90, see >http://www.pstnet.com/forum/Topic5473-12-1.aspx >.) > >So you should just submit this to PST Web Support, see stock reminder below. > >----- >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 2/21/2013 07:26 PM Thursday, Sylvain wrote: > >I have a problem with the latest version of EP2(2.0.10.242). > >A typical trial procedure is as follow: > > > >- first a fixation cross appear for a duration of 200 ms > >(pre-realease set at the stim duration); > > > >- then a blank screen of a jittered duration appears (the jittered > >duration has been computed before, not online, the pre-realease is > >set also at the stim duration); > > > >- then a Slide appear with two sub-objet: an image and a > >SlideSoundIn. I want my participants to give the name of the image, > >taking advantage of the SRS box vocal responses, and have the Slide > >disappearing; but I also want to record, with the SlideSoundIn > >sub-object, the whole signal audio. I set the duration of the Slide > >to 1000 ms maximum, and for the SlideSoundIn I've chosen a buffer of > >1000 ms, set "Stop after" to no, and "EndSoundCaptureAction" to > >none. However, I notice that when I do that, automatically I see the > >"Stop after mode" staying on "NextOnsetTime" (pre-realease for the > >slide set at the stim duration); > > > >- then an ITI of 1 sec appears (pre-realease for the slide set at > >the stim duration). > > > >Doing that, I noticed that my audio signal from the SlideSoundIn > >sub-object always ended before reaching 1000 ms. > > > >My question are: > > > >1) Do you think that even though I set the "Stop after" of the > >SlideSoundIn to "no" (I'm 100% sure I did that, several times) the > >recording could stop during the ITI onset or pre-realease of it? If > >not, what could have I done wrong? > > > >2) In order to get rid of this issue, I replaced the ITI screen by a > >sleep inline. Does the recording of the SlideSoundIn continue during > >a sleep? Maybe it could be a solution to this issue. > > > >Thank you for any advices and answers. > > > >Sylvain -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From symadec at gmail.com Fri Feb 22 18:02:57 2013 From: symadec at gmail.com (Sylvain) Date: Fri, 22 Feb 2013 10:02:57 -0800 Subject: Slide with soundin and image: audio size issues In-Reply-To: <5127a05e.2a87ec0a.6733.1576SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hello David, Thank you for your answer! It worked with the sleep(ITI) once set as more than 1000 ms, however I did several other tests: - I replaced my Sleep(ITI) with a TextDisplayITI of random duration (between 500 and 1200 ms), with no pre-release; - I launched an E-Test Run to hundred of trials. My result are as follow: - if I add the Slide.RT (the slide with the two sub-objects) to TextDisplayITI.duration, then if the total is inferior to almost 1000 ms, the generated wav will be less than 1000 ms; - if the sum is superior to 1000 ms, I will get a wav file of 1000 ms. Now something interesting: - if I set the TextDisplayITI pre-release to more than 0 ms (I tried with same duration), my wav files are then less than 1000 ms! So I thought that it might be due to the fact that adding a pre-release changed the TextDisplayITI.offsettime, and that the wav could stop at the point of this offset. The other hypothesis was that maybe, since the TextDisplayITI was the last slide of the trial, looping to the beginning another trial could stop the wav file. So to check that I added a Sleep at the very end of the trial of 1000 ms, while keeping TextDisplayITI with a pre-release of same duration. Doing that it gives me wav of 1000 ms. My guess is then that adding a pre-release to TextDisplayITI is changing the TextDisplayITI.offsettime, and it induces a computation start of the next loop earlier. And this cause a stop in the recording of the wav of the previous trial. Sylvain On Friday, February 22, 2013 5:44:13 PM UTC+1, McFarlane, David wrote: > > Sylvain, > > This all looks good to me, so I have no idea why it does not work for > you -- in my experience, with SoundIn Buffer Size set to 1000 and > other settings such as in your example, I get a full 1000 ms of sound > recording. Using a Sleep inline for the ITI should make no > difference, but by now you should have done that exercise for > yourself (and reported back here with your results). So something > else must be going on, or maybe someone else here has a clue. (Note > BTW that End Capture Action did not work in EP2.0.8.90, see > http://www.pstnet.com/forum/Topic5473-12-1.aspx .) > > So you should just submit this to PST Web Support, see stock reminder > below. > > ----- > 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 2/21/2013 07:26 PM Thursday, Sylvain wrote: > >I have a problem with the latest version of EP2(2.0.10.242). > >A typical trial procedure is as follow: > > > >- first a fixation cross appear for a duration of 200 ms > >(pre-realease set at the stim duration); > > > >- then a blank screen of a jittered duration appears (the jittered > >duration has been computed before, not online, the pre-realease is > >set also at the stim duration); > > > >- then a Slide appear with two sub-objet: an image and a > >SlideSoundIn. I want my participants to give the name of the image, > >taking advantage of the SRS box vocal responses, and have the Slide > >disappearing; but I also want to record, with the SlideSoundIn > >sub-object, the whole signal audio. I set the duration of the Slide > >to 1000 ms maximum, and for the SlideSoundIn I've chosen a buffer of > >1000 ms, set "Stop after" to no, and "EndSoundCaptureAction" to > >none. However, I notice that when I do that, automatically I see the > >"Stop after mode" staying on "NextOnsetTime" (pre-realease for the > >slide set at the stim duration); > > > >- then an ITI of 1 sec appears (pre-realease for the slide set at > >the stim duration). > > > >Doing that, I noticed that my audio signal from the SlideSoundIn > >sub-object always ended before reaching 1000 ms. > > > >My question are: > > > >1) Do you think that even though I set the "Stop after" of the > >SlideSoundIn to "no" (I'm 100% sure I did that, several times) the > >recording could stop during the ITI onset or pre-realease of it? If > >not, what could have I done wrong? > > > >2) In order to get rid of this issue, I replaced the ITI screen by a > >sleep inline. Does the recording of the SlideSoundIn continue during > >a sleep? Maybe it could be a solution to this issue. > > > >Thank you for any advices and answers. > > > >Sylvain > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/gzQEZKFNf-0J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From saultsj at missouri.edu Sat Feb 23 04:06:36 2013 From: saultsj at missouri.edu (Scott) Date: Fri, 22 Feb 2013 20:06:36 -0800 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <5126a844.a65bec0a.044c.01aaSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thanks for warning us, David. I've used OnsetSignal for years, assuming it worked as advertised (after checking critical OTO intervals during test runs by comparing triggers in CNT files with corresponding onsets times in Edat files). I'm also surprised to hear that Task Events supplant using OnsetSignal. When I asked, Eprime support was not able to demonstrate how Task Events could replicate what I'm accustomed to doing with OnsetSignal, to code and distinguish stimuli in EEG recordings. If Task Events can really do the same things better, then I should reconsider my methods (of programming and Epoching) and adapt to using Task Events instead, now that I've finally adopted the Production Resease. I've been slow and cautious to change, and only recently started programming new experiments with E-Prime 2.0.10.262.. -- Scott On Thursday, February 21, 2013 5:05:34 PM UTC-6, McFarlane, David wrote: > > Justine, > > I should mention that using OnsetSignal... still entails some > "gotchas" (which I go over in the course). > > -- David McFarlane > > > At 2/21/2013 05:56 PM Thursday, David McFarlane wrote: > >Justine, > > > >No programming system can exactly control the actual onset time of > >stimuli, due to the nature and limitations of stimulus > >hardware. For visual stimuli in particular, the video frame rate > >plays one limiting role -- please see the "Critical Timing" chapter > >in the User's Guide that came with E-Prime (and/or take my online > >video course, see link below). > > > >If one wished merely to *know* when a visual stimulus got presented > >(as distinct from *controlling* its onset time), one might use the > >output of a high-speed photodector aimed at a choice spot on the > >display. Technically speaking, even then the time of stimulus > >presentation to the subject depends on things such as the distance > >from the display to the subject, the speed of light, photoreceptor > >response rates, nerve conduction to visual cortex, etc. So the real > >question becomes, just how accurately do you need to control or know > >the onset time, and can we make it "good enough"? > > > >And here we have some hope. If you synchronize your visual stimuli > >to start with the "vertical blank", then stimulus OnsetTime should > >correspond very closely to when the system starts writing the > >stimulus screen to the top of the display -- and starting with > >EP2.0.10.182, you can even adjust this (see > >http://www.pstnet.com/support/kb.asp?TopicID=3027 ). Now you just > >need to synchronize your EEG signals with the OnsetTime of your > >stimulus. As you have no doubt figured out, you will be hard > >pressed to do that using WritePort. But OnsetSignalEnabled, etc., > >do just what you need here (please see > >"RteRunnableInputObject.OnsetSignalEnabled" and related topics in > >the E-Basic Help facility). And with EP2.0.10.182 and later you may > >accomplish the same end with the new Task Events feature, which > >should supplant OnsetSignal..., etc. (I show how to use > >OnsetSignal... to output EEG signals in my online video course, and > >hope to include coverage of Task Events in the future.) > > > >Finally, if you want to verify that your EEG triggers really are > >synchronized with your stimuli, then you should use an oscilloscope > >to monitor both the stimulus onset and the EEG trigger (the Black > >Box ToolKit may may this easier). > > > >I hope that helps. > > > >----- > >David McFarlane > >E-Prime training > >online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > >Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > > > >At 2/15/2013 01:47 PM Friday, justine wrote: > >>I am in the process of conducting my own timing tests (for an > >>Eprime/NetStation experiment), and this was invaluable in trying to > >>understand the time audit measures. I gather from this that there > >>is no way of knowing when the stimulus was *actually* presented on > >>the screen (given the refresh rate). I assume this means that my > >>triggers in the EEG record could be off by whatever that screen > >>refresh delay was. Is that correct? > >> > >>Thanks, > >> > >>Justine VanDyke > >>Postdoctoral Research Fellow > >>University of South Carolina > >> > >>On Friday, 10 September 2010 09:46:03 UTC-4, David McFarlane wrote: > >>When you look at the Logging tab on the properties page of any > >>stimulus object, you will find a host of items available for > >>logging. Most of these are time audit data. But what do all these > >>items mean, and what are they good for? Chapter 3 of the E-Prime > >>User's Guide discusses time auditing to some degree, and the timing > >>diagram at Appendix E provides one way to see the relationships > >>between these items. As an alternative, here I try to set out, in > >>order, a brief description of these items. > >> > >>First let us distinguish between timing control *settings* and time > >>audit *measures*. The following items do not reflect any results > >>formed during the course of a stimulus but simply log the settings > >>provided by the user (e.g., you). You may choose to have any of > >>these logged just to keep a record of settings active during the > experiment: > >>- Duration: To reiterate, this does *not* show the actual duration of > >> the stimulus, only the setting as provided by the user. > >>- PreRelease: Affects the TargetOffsetTime (see below). > >>- TimingMode: Event, Cumulative, or Custom, as set by the user (see > >> the online E-Basic Help). > >>- CustomOffsetTime: In Custom timing mode, overrides the > >> TargetOnsetTime (see the online E-Basic Help). > >>- CustomOnsetTime: In Custom timing mode, overrides the > >> TargetOffsetTime (see the online E-Basic Help). > >> > >>Now, the raw time audit measures, listed in the order in which events > >>occur during the execution of a stimulus object. These are all time > >>stamps in milliseconds from the start of the current program run: > >>- StartTime: Time at which E-Prime started executing the stimulus > >> object. > >>- TargetOnsetTime: Scheduled time at which presentation of stimulus was > >> to begin; set automatically from GetNextTargetOnsetTime (see online > >> E-Basic Help). > >>- OnsetTime: Time when E-Prime actually submitted the stimulus data for > >> presentation (e.g., proceeded to copy data to display memory or load > >> sound buffer). This may not coincide with when the stimulus > actually > >> got presented, e.g., if data are submitted in the middle of a > display > >> refresh cycle then they may not get presented until the next > refresh. > >>- ActionTime: According to the online E-Basic Help, time at which > >> E-Prime completed the "critical action" of the stimulus. The > >> documentation remains somewhat vague about this -- perhaps "critical > >> action" means copying data to display memory, or loading a sound or > >> video buffer. In my tests, ActionTime never lags more than 1 ms > >> behind OnsetTime, so it serves practically the same purpose as > >> OnsetTime. > >>- TargetOffsetTime: Scheduled time at which offset actions (e.g., > >> clean-up, ClearAfter, StopAfter) of stimulus object were to begin, > >> e.g., OnsetTime + Duration - PreRelease (Event timing mode), or > >> TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). > >>- OffsetTime: Time when E-Prime actually began the offset actions of > >> the object. Actions may not take practical effect until next > >> vertical blank, or until presentation of next stimulus. > >>- FinishTime: Time when E-Prime exited from execution of the > >> stimulus object and proceeded to execute the next section of the > >> program (e.g., next stimulus object or inline code). Note that > >> *execution* of a stimulus *object* may end before *presentation* of > >> the *stimulus* ends; this is the point of PreRelease (as well as > >> happening as a matter of course with some stimuli such as some > >> sounds). > >> > >>Finally, a few composite time audit measures derived from the raw > >>measures above and provided for convenience: > >>- OnsetDelay = OnsetTime - TargetOnsetTime > >>- ActionDelay = ActionTime - OnsetTime > >>- OffsetDelay = OffsetTime - TargetOffsetTime > >>- DurationError = OffsetTime + PreRelease - OnsetTime - Duration > >> > >>Note: > >>- Time audit measures include the ActionTime that follows upon > >> OnsetTime, but no corresponding item to follow upon OffsetTime. > >>- No time audit item for time stamp of vertical blank, although many > >> stimuli do not take full effect until just after a vertical blank. > >> > >>-- David McFarlane, Professional Faultfinder > > > >-- > >You received this message because you are subscribed 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. > > >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/msg/e-prime/-/giRQuFUXVQEJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From saultsj at missouri.edu Sat Feb 23 05:16:16 2013 From: saultsj at missouri.edu (Scott) Date: Fri, 22 Feb 2013 21:16:16 -0800 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: Message-ID: Sorry -- After reviewing the revised task from support, I see Task Events CAN (apparently) send an onset code AND rest the port after 10 ms (or whatever). What this support example failed to do (and what I'd hoped Task Events could do) is replace inline code used to send conditional response codes. Otherwise, Task Events does seem able to send any specific code, that's available as an attribute. But even this ability seems less flexible than how I can select from several attributes specific ones as onsetSignalData for different objects at the beginning of each trial. However, this sample from support might not take advantage of all options for Task Events, so I should study the documentation more before dismissing it. I admit I haven't give Task Events a fair chance, after being disappointed about it's (apparent) limitations for sending conditional response codes. On Friday, February 22, 2013 10:06:36 PM UTC-6, Scott wrote: > > Thanks for warning us, David. I've used OnsetSignal for years, assuming it > worked as advertised (after checking critical OTO intervals during test > runs by comparing triggers in CNT files with corresponding onsets times in > Edat files). I'm also surprised to hear that Task Events supplant using > OnsetSignal. When I asked, Eprime support was not able to demonstrate how > Task Events could replicate what I'm accustomed to doing with OnsetSignal, > to code and distinguish stimuli in EEG recordings. If Task Events can > really do the same things better, then I should reconsider my methods (of > programming and Epoching) and adapt to using Task Events instead, now that > I've finally adopted the Production Resease. I've been slow and cautious > to change, and only recently started programming new experiments with > E-Prime 2.0.10.262.. -- Scott > > On Thursday, February 21, 2013 5:05:34 PM UTC-6, McFarlane, David wrote: >> >> Justine, >> >> I should mention that using OnsetSignal... still entails some >> "gotchas" (which I go over in the course). >> >> -- David McFarlane >> >> >> At 2/21/2013 05:56 PM Thursday, David McFarlane wrote: >> >Justine, >> > >> >No programming system can exactly control the actual onset time of >> >stimuli, due to the nature and limitations of stimulus >> >hardware. For visual stimuli in particular, the video frame rate >> >plays one limiting role -- please see the "Critical Timing" chapter >> >in the User's Guide that came with E-Prime (and/or take my online >> >video course, see link below). >> > >> >If one wished merely to *know* when a visual stimulus got presented >> >(as distinct from *controlling* its onset time), one might use the >> >output of a high-speed photodector aimed at a choice spot on the >> >display. Technically speaking, even then the time of stimulus >> >presentation to the subject depends on things such as the distance >> >from the display to the subject, the speed of light, photoreceptor >> >response rates, nerve conduction to visual cortex, etc. So the real >> >question becomes, just how accurately do you need to control or know >> >the onset time, and can we make it "good enough"? >> > >> >And here we have some hope. If you synchronize your visual stimuli >> >to start with the "vertical blank", then stimulus OnsetTime should >> >correspond very closely to when the system starts writing the >> >stimulus screen to the top of the display -- and starting with >> >EP2.0.10.182, you can even adjust this (see >> >http://www.pstnet.com/support/kb.asp?TopicID=3027 ). Now you just >> >need to synchronize your EEG signals with the OnsetTime of your >> >stimulus. As you have no doubt figured out, you will be hard >> >pressed to do that using WritePort. But OnsetSignalEnabled, etc., >> >do just what you need here (please see >> >"RteRunnableInputObject.OnsetSignalEnabled" and related topics in >> >the E-Basic Help facility). And with EP2.0.10.182 and later you may >> >accomplish the same end with the new Task Events feature, which >> >should supplant OnsetSignal..., etc. (I show how to use >> >OnsetSignal... to output EEG signals in my online video course, and >> >hope to include coverage of Task Events in the future.) >> > >> >Finally, if you want to verify that your EEG triggers really are >> >synchronized with your stimuli, then you should use an oscilloscope >> >to monitor both the stimulus onset and the EEG trigger (the Black >> >Box ToolKit may may this easier). >> > >> >I hope that helps. >> > >> >----- >> >David McFarlane >> >E-Prime training >> >online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx >> >Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) >> > >> > >> >At 2/15/2013 01:47 PM Friday, justine wrote: >> >>I am in the process of conducting my own timing tests (for an >> >>Eprime/NetStation experiment), and this was invaluable in trying to >> >>understand the time audit measures. I gather from this that there >> >>is no way of knowing when the stimulus was *actually* presented on >> >>the screen (given the refresh rate). I assume this means that my >> >>triggers in the EEG record could be off by whatever that screen >> >>refresh delay was. Is that correct? >> >> >> >>Thanks, >> >> >> >>Justine VanDyke >> >>Postdoctoral Research Fellow >> >>University of South Carolina >> >> >> >>On Friday, 10 September 2010 09:46:03 UTC-4, David McFarlane wrote: >> >>When you look at the Logging tab on the properties page of any >> >>stimulus object, you will find a host of items available for >> >>logging. Most of these are time audit data. But what do all these >> >>items mean, and what are they good for? Chapter 3 of the E-Prime >> >>User's Guide discusses time auditing to some degree, and the timing >> >>diagram at Appendix E provides one way to see the relationships >> >>between these items. As an alternative, here I try to set out, in >> >>order, a brief description of these items. >> >> >> >>First let us distinguish between timing control *settings* and time >> >>audit *measures*. The following items do not reflect any results >> >>formed during the course of a stimulus but simply log the settings >> >>provided by the user (e.g., you). You may choose to have any of >> >>these logged just to keep a record of settings active during the >> experiment: >> >>- Duration: To reiterate, this does *not* show the actual duration of >> >> the stimulus, only the setting as provided by the user. >> >>- PreRelease: Affects the TargetOffsetTime (see below). >> >>- TimingMode: Event, Cumulative, or Custom, as set by the user (see >> >> the online E-Basic Help). >> >>- CustomOffsetTime: In Custom timing mode, overrides the >> >> TargetOnsetTime (see the online E-Basic Help). >> >>- CustomOnsetTime: In Custom timing mode, overrides the >> >> TargetOffsetTime (see the online E-Basic Help). >> >> >> >>Now, the raw time audit measures, listed in the order in which events >> >>occur during the execution of a stimulus object. These are all time >> >>stamps in milliseconds from the start of the current program run: >> >>- StartTime: Time at which E-Prime started executing the stimulus >> >> object. >> >>- TargetOnsetTime: Scheduled time at which presentation of stimulus >> was >> >> to begin; set automatically from GetNextTargetOnsetTime (see online >> >> E-Basic Help). >> >>- OnsetTime: Time when E-Prime actually submitted the stimulus data >> for >> >> presentation (e.g., proceeded to copy data to display memory or >> load >> >> sound buffer). This may not coincide with when the stimulus >> actually >> >> got presented, e.g., if data are submitted in the middle of a >> display >> >> refresh cycle then they may not get presented until the next >> refresh. >> >>- ActionTime: According to the online E-Basic Help, time at which >> >> E-Prime completed the "critical action" of the stimulus. The >> >> documentation remains somewhat vague about this -- perhaps >> "critical >> >> action" means copying data to display memory, or loading a sound or >> >> video buffer. In my tests, ActionTime never lags more than 1 ms >> >> behind OnsetTime, so it serves practically the same purpose as >> >> OnsetTime. >> >>- TargetOffsetTime: Scheduled time at which offset actions (e.g., >> >> clean-up, ClearAfter, StopAfter) of stimulus object were to begin, >> >> e.g., OnsetTime + Duration - PreRelease (Event timing mode), or >> >> TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). >> >>- OffsetTime: Time when E-Prime actually began the offset actions of >> >> the object. Actions may not take practical effect until next >> >> vertical blank, or until presentation of next stimulus. >> >>- FinishTime: Time when E-Prime exited from execution of the >> >> stimulus object and proceeded to execute the next section of the >> >> program (e.g., next stimulus object or inline code). Note that >> >> *execution* of a stimulus *object* may end before *presentation* of >> >> the *stimulus* ends; this is the point of PreRelease (as well as >> >> happening as a matter of course with some stimuli such as some >> >> sounds). >> >> >> >>Finally, a few composite time audit measures derived from the raw >> >>measures above and provided for convenience: >> >>- OnsetDelay = OnsetTime - TargetOnsetTime >> >>- ActionDelay = ActionTime - OnsetTime >> >>- OffsetDelay = OffsetTime - TargetOffsetTime >> >>- DurationError = OffsetTime + PreRelease - OnsetTime - Duration >> >> >> >>Note: >> >>- Time audit measures include the ActionTime that follows upon >> >> OnsetTime, but no corresponding item to follow upon OffsetTime. >> >>- No time audit item for time stamp of vertical blank, although many >> >> stimuli do not take full effect until just after a vertical blank. >> >> >> >>-- David McFarlane, Professional Faultfinder >> > >> >-- >> >You received this message because you are subscribed 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. >> >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/msg/e-prime/-/fVeIqgS6-b4J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From symadec at gmail.com Sun Feb 24 14:27:53 2013 From: symadec at gmail.com (Sylvain) Date: Sun, 24 Feb 2013 06:27:53 -0800 Subject: Slide with soundin and image: audio size issues In-Reply-To: <5127b79e.e77eec0a.200a.178fSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hello David, Thank for your answer. I tried to set TextDisplayITI to Generate PreRun to BeforeObjectRun. I let the pre-release of TextDisplayITI to "same duration". However I still have wav file (from the previous object still recording Slide) of less than 1000 ms. The only thing that seem to work is: - having a pre-release of 0 ms on the TextDisplayITI; - having a duration of more than 1000 ms to TextDisplayITI. I could run my experiment this way, it works, but I'm confused about the script generation feature. All the object of my procedure are set to "Inherit' for Generate PreRun and Generate PostRun. Could you clarify a little but of this feature? Thank you again, Sylvain On Friday, February 22, 2013 7:23:09 PM UTC+1, McFarlane, David wrote: > > Sylvain, > > Well done. A lot of detail there, and I think I see the clue in your > final paragraph -- it looks like you have stumbled into the new > Generate PreRun = TopOfProcedure "gotcha" that can hit the last > object in a Procedure, see > http://www.pstnet.com/support/kb.asp?TopicID=3299 and > http://www.pstnet.com/support/kb.asp?TopicID=2627 . > > In short, you might fix this either by using PreRelease = 0, as you > did, or setting Generate PreRun to BeforeObjectRun. > > One of us should add your observation as a comment to those KB > articles. Thanks for presenting & pursuing this. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > At 2/22/2013 01:02 PM Friday, Sylvain wrote: > >Hello David, > > > >Thank you for your answer! > > > >It worked with the sleep(ITI) once set as more than 1000 ms, however > >I did several other tests: > > > >- I replaced my Sleep(ITI) with a TextDisplayITI of random duration > >(between 500 and 1200 ms), with no pre-release; > >- I launched an E-Test Run to hundred of trials. > > > >My result are as follow: > >- if I add the Slide.RT (the slide with the two sub-objects) to > >TextDisplayITI.duration, then if the total is inferior to almost > >1000 ms, the generated wav will be less than 1000 ms; > >- if the sum is superior to 1000 ms, I will get a wav file of 1000 ms. > > > >Now something interesting: > > > >- if I set the TextDisplayITI pre-release to more than 0 ms (I tried > >with same duration), my wav files are then less than 1000 ms! > >So I thought that it might be due to the fact that adding a > >pre-release changed the TextDisplayITI.offsettime, and that the wav > >could stop at the point of this offset. The other hypothesis was > >that maybe, since the TextDisplayITI was the last slide of the > >trial, looping to the beginning another trial could stop the wav > >file. So to check that I added a Sleep at the very end of the trial > >of 1000 ms, while keeping TextDisplayITI with a pre-release of same > >duration. Doing that it gives me wav of 1000 ms. > > > >My guess is then that adding a pre-release to TextDisplayITI is > >changing the TextDisplayITI.offsettime, and it induces a computation > >start of the next loop earlier. And this cause a stop in the > >recording of the wav of the previous trial. > > > >Sylvain > > > >On Friday, February 22, 2013 5:44:13 PM UTC+1, McFarlane, David wrote: > >Sylvain, > > > >This all looks good to me, so I have no idea why it does not work for > >you -- in my experience, with SoundIn Buffer Size set to 1000 and > >other settings such as in your example, I get a full 1000 ms of sound > >recording. Using a Sleep inline for the ITI should make no > >difference, but by now you should have done that exercise for > >yourself (and reported back here with your results). So something > >else must be going on, or maybe someone else here has a clue. (Note > >BTW that End Capture Action did not work in EP2.0.8.90, see > > > http://www.pstnet.com/forum/Topic5473-12-1.aspx > >.) > > > >So you should just submit this to PST Web Support, see stock reminder > below. > > > >----- > >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 2/21/2013 07:26 PM Thursday, Sylvain wrote: > > >I have a problem with the latest version of EP2(2.0.10.242). > > >A typical trial procedure is as follow: > > > > > >- first a fixation cross appear for a duration of 200 ms > > >(pre-realease set at the stim duration); > > > > > >- then a blank screen of a jittered duration appears (the jittered > > >duration has been computed before, not online, the pre-realease is > > >set also at the stim duration); > > > > > >- then a Slide appear with two sub-objet: an image and a > > >SlideSoundIn. I want my participants to give the name of the image, > > >taking advantage of the SRS box vocal responses, and have the Slide > > >disappearing; but I also want to record, with the SlideSoundIn > > >sub-object, the whole signal audio. I set the duration of the Slide > > >to 1000 ms maximum, and for the SlideSoundIn I've chosen a buffer of > > >1000 ms, set "Stop after" to no, and "EndSoundCaptureAction" to > > >none. However, I notice that when I do that, automatically I see the > > >"Stop after mode" staying on "NextOnsetTime" (pre-realease for the > > >slide set at the stim duration); > > > > > >- then an ITI of 1 sec appears (pre-realease for the slide set at > > >the stim duration). > > > > > >Doing that, I noticed that my audio signal from the SlideSoundIn > > >sub-object always ended before reaching 1000 ms. > > > > > >My question are: > > > > > >1) Do you think that even though I set the "Stop after" of the > > >SlideSoundIn to "no" (I'm 100% sure I did that, several times) the > > >recording could stop during the ITI onset or pre-realease of it? If > > >not, what could have I done wrong? > > > > > >2) In order to get rid of this issue, I replaced the ITI screen by a > > >sleep inline. Does the recording of the SlideSoundIn continue during > > >a sleep? Maybe it could be a solution to this issue. > > > > > >Thank you for any advices and answers. > > > > > >Sylvain > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/JQUmsA426Z0J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From symadec at gmail.com Sun Feb 24 14:49:10 2013 From: symadec at gmail.com (Sylvain) Date: Sun, 24 Feb 2013 06:49:10 -0800 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <5127ae3f.648dec0a.488d.168aSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: David and Scott, Thank you for your answers. I need to be reassured. When doing EEG experiment, I always run an inline before the object I want to trigger(maybe I could even do that at the top of the procedure I guess). Let's call this object StimEEGa,d the trigger 50. What I always did was an inline like: StimEEG.OnsetSignalEnabled = True StimEEG.OnsetSignalPort = &H378 StimEEG.OnsetSignalData = 50 StimEEG.OffsetSignalEnabled = True StimEEG.OffsetSignalPort = &H378 StimEEG.OffsetSignalData = 50 If I understand correctly This inline tell "wait for the object StimEEG to run and send the signal'. By running I mean waiting for StimEEG to be drawn on the screen right, independantly of any pre-release ? On the e-prime side, does this correspond to StimEEG.OnsetTime? Thank you, Sylvain On Friday, February 22, 2013 6:42:29 PM UTC+1, McFarlane, David wrote: > > Sylvain, > > At 2/22/2013 06:36 AM Friday, Sylvain wrote: > >Hi David, > > > >I have a question regarding to pre-release and timing. > > > >I did a little experiment trying to get the timestamp of the onset > >of stim, and the offset or it. > > Wonderful, everyone should do these sorts of explorations (that's how > I figured out all this stuff). > > > >It's simple basically i have : > > > >- Inline1: I collect t1 = Clock.ReadMillisec > >- Then an ImageDiplay for 200 ms with a pre-realase equal to the > >duration of it. I log the onset of ImageDiplay and the offset of it; > >- Inline 2: I collect t2 = Clock.ReadMillisec > > > >Doing that, basically I get t2-t1 almost equal to 0 modulo some refresh > rates. > >I also get ImageDiplay.OnsetTime = ImageDiplay.OffsetTime. > > As you should. You might find OffsetTime slightly behind OnsetTime; > and under these conditions (PreRelease = Duration), you should find > that TargetOffsetTime = TargetOnsetTime without exception. > > > >1) There's something there that I don't really understand, which > >timestamp should I really consider, ImageDiplay.OnsetTime or > >ImageDiplay.OffsetTime? > > That depends entirely on what you wish to do with that timestamp. > > > >2) If I understood pre-realase affect offset time, so does that mean > that: > >ImageDiplay.Duration = (ImageDiplay.OffsetTime > >- ImageDiplay.OnsetTime) + pre-realase > > Not quite -- E-Prime can control only *Target* offset (& onset) > times, not actual times. Actual offset (& onset) times are subject > to the limitations of the stimulus presentation hardware. Also, I > would not write the relationship that way -- that makes it sound like > Duration derives from the other quantities, which is wrong. As I > described earlier, Duration remains whatever you asked it to be, so > should appear only on the right side of the equals sign as it is used > to determine other quantities. Thus, repeating what I wrote in my > earlier description of TargetOffsetTime, in the case of Event timing mode, > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime + > ImageDisplay.Duration - ImageDisplay.PreRelease > > Note that, in the case PreRelease = Duration (the new default setting > since EP2.0.10.x), we get simply > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime > > which fits your observations. If instead we set PreRelease to 0, we find > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime + > ImageDisplay.Duration > > which perhaps is what you expected (and was the default for Event > timing mode prior to EP2.0.10.x). > > And just to drive the point further, OffsetTime does *not* indicate > the time at which *presentation* of a stimulus ends. Rather, (for > most practical purposes) it indicates when *execution* of the > stimulus Run method ends (strictly speaking, this describes > FinishTime, see my earlier description for the fine distinction > between OffsetTime and FinishTime). > > Furthermore, even with PreRelease set to 0, neither Duration nor > (OffsetTime - OnsetTime) necessarily indicate the actual duration of > the stimulus. In particular, a visual stimulus does not disappear at > its OffsetTime (ignoring Clear After, which has been deprecated), but > remains visible until replaced by another visual stimulus, so actual > presentation duration is > > Stim2.OnsetTime - Stim1.OnsetTime > > and EP2.0.10.x Pro can now log those values for you > (http://www.pstnet.com/support/kb.asp?TopicID=718 )! > > > >3) The fact that Inline2 is executed at the same time as Inline1 is > >particulary disturbing for me. Does that mean than Inline placed > >after an object could be executed while this object is still on screen? > > Yes, and that is exactly what we want it to do in many, many cases > (e.g., to handle multiple mouse actions while a visual stimulus > remains on the display, or to prepare the next stimulus during the > run of the current stimulus). If you really want your InLine to wait > until the previous object completes its Duration, then set PreRelease > of that object to 0. > > Hope that helps, > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > >Thank you for any answer, I'm confused about this! > > > >Sylvain > > > >On Friday, September 10, 2010 3:46:03 PM UTC+2, David McFarlane wrote: > >When you look at the Logging tab on the properties page of any > >stimulus object, you will find a host of items available for > >logging. Most of these are time audit data. But what do all these > >items mean, and what are they good for? Chapter 3 of the E-Prime > >User's Guide discusses time auditing to some degree, and the timing > >diagram at Appendix E provides one way to see the relationships > >between these items. As an alternative, here I try to set out, in > >order, a brief description of these items. > > > >First let us distinguish between timing control *settings* and time > >audit *measures*. The following items do not reflect any results > >formed during the course of a stimulus but simply log the settings > >provided by the user (e.g., you). You may choose to have any of > >these logged just to keep a record of settings active during the > experiment: > >- Duration: To reiterate, this does *not* show the actual duration of > > the stimulus, only the setting as provided by the user. > >- PreRelease: Affects the TargetOffsetTime (see below). > >- TimingMode: Event, Cumulative, or Custom, as set by the user (see > > the online E-Basic Help). > >- CustomOffsetTime: In Custom timing mode, overrides the > > TargetOnsetTime (see the online E-Basic Help). > >- CustomOnsetTime: In Custom timing mode, overrides the > > TargetOffsetTime (see the online E-Basic Help). > > > >Now, the raw time audit measures, listed in the order in which events > >occur during the execution of a stimulus object. These are all time > >stamps in milliseconds from the start of the current program run: > >- StartTime: Time at which E-Prime started executing the stimulus > > object. > >- TargetOnsetTime: Scheduled time at which presentation of stimulus was > > to begin; set automatically from GetNextTargetOnsetTime (see online > > E-Basic Help). > >- OnsetTime: Time when E-Prime actually submitted the stimulus data for > > presentation (e.g., proceeded to copy data to display memory or load > > sound buffer). This may not coincide with when the stimulus actually > > got presented, e.g., if data are submitted in the middle of a display > > refresh cycle then they may not get presented until the next refresh. > >- ActionTime: According to the online E-Basic Help, time at which > > E-Prime completed the "critical action" of the stimulus. The > > documentation remains somewhat vague about this -- perhaps "critical > > action" means copying data to display memory, or loading a sound or > > video buffer. In my tests, ActionTime never lags more than 1 ms > > behind OnsetTime, so it serves practically the same purpose as > > OnsetTime. > >- TargetOffsetTime: Scheduled time at which offset actions (e.g., > > clean-up, ClearAfter, StopAfter) of stimulus object were to begin, > > e.g., OnsetTime + Duration - PreRelease (Event timing mode), or > > TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). > >- OffsetTime: Time when E-Prime actually began the offset actions of > > the object. Actions may not take practical effect until next > > vertical blank, or until presentation of next stimulus. > >- FinishTime: Time when E-Prime exited from execution of the > > stimulus object and proceeded to execute the next section of the > > program (e.g., next stimulus object or inline code). Note that > > *execution* of a stimulus *object* may end before *presentation* of > > the *stimulus* ends; this is the point of PreRelease (as well as > > happening as a matter of course with some stimuli such as some > > sounds). > > > >Finally, a few composite time audit measures derived from the raw > >measures above and provided for convenience: > >- OnsetDelay = OnsetTime - TargetOnsetTime > >- ActionDelay = ActionTime - OnsetTime > >- OffsetDelay = OffsetTime - TargetOffsetTime > >- DurationError = OffsetTime + PreRelease - OnsetTime - Duration > > > >Note: > >- Time audit measures include the ActionTime that follows upon > > OnsetTime, but no corresponding item to follow upon OffsetTime. > >- No time audit item for time stamp of vertical blank, although many > > stimuli do not take full effect until just after a vertical blank. > > > >-- David McFarlane, Professional Faultfinder > > > >-- > >You received this message because you are subscribed 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/msg/e-prime/-/eFwpjTnxC2kJ. > >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/msg/e-prime/-/t_JN6la2f0MJ. 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 Feb 25 21:07:48 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 25 Feb 2013 16:07:48 -0500 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <8c2fb4d4-8cf6-4a93-b89a-c70e0c48e324@googlegroups.com> Message-ID: As long as this thread has been reopened, I might as well mention that EP2.0.10.x adds more time auditing measures (including, e.g., OnsetToOnsetTime!), so this report needs updating if it is to really include "all" time audit measures. Don't know when I will get around to that myself. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) >On Friday, 10 September 2010 09:46:03 UTC-4, David McFarlane wrote: >When you look at the Logging tab on the properties page of any >stimulus object, you will find a host of items available for >logging. Most of these are time audit data. But what do all these >items mean, and what are they good for? Chapter 3 of the E-Prime >User's Guide discusses time auditing to some degree, and the timing >diagram at Appendix E provides one way to see the relationships >between these items. As an alternative, here I try to set out, in >order, a brief description of these items. > >First let us distinguish between timing control *settings* and time >audit *measures*. The following items do not reflect any results >formed during the course of a stimulus but simply log the settings >provided by the user (e.g., you). You may choose to have any of >these logged just to keep a record of settings active during the experiment: >- Duration: To reiterate, this does *not* show the actual duration of > the stimulus, only the setting as provided by the user. >- PreRelease: Affects the TargetOffsetTime (see below). >- TimingMode: Event, Cumulative, or Custom, as set by the user (see > the online E-Basic Help). >- CustomOffsetTime: In Custom timing mode, overrides the > TargetOnsetTime (see the online E-Basic Help). >- CustomOnsetTime: In Custom timing mode, overrides the > TargetOffsetTime (see the online E-Basic Help). > >Now, the raw time audit measures, listed in the order in which events >occur during the execution of a stimulus object. These are all time >stamps in milliseconds from the start of the current program run: >- StartTime: Time at which E-Prime started executing the stimulus > object. >- TargetOnsetTime: Scheduled time at which presentation of stimulus was > to begin; set automatically from GetNextTargetOnsetTime (see online > E-Basic Help). >- OnsetTime: Time when E-Prime actually submitted the stimulus data for > presentation (e.g., proceeded to copy data to display memory or load > sound buffer). This may not coincide with when the stimulus actually > got presented, e.g., if data are submitted in the middle of a display > refresh cycle then they may not get presented until the next refresh. >- ActionTime: According to the online E-Basic Help, time at which > E-Prime completed the "critical action" of the stimulus. The > documentation remains somewhat vague about this -- perhaps "critical > action" means copying data to display memory, or loading a sound or > video buffer. In my tests, ActionTime never lags more than 1 ms > behind OnsetTime, so it serves practically the same purpose as > OnsetTime. >- TargetOffsetTime: Scheduled time at which offset actions (e.g., > clean-up, ClearAfter, StopAfter) of stimulus object were to begin, > e.g., OnsetTime + Duration - PreRelease (Event timing mode), or > TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). >- OffsetTime: Time when E-Prime actually began the offset actions of > the object. Actions may not take practical effect until next > vertical blank, or until presentation of next stimulus. >- FinishTime: Time when E-Prime exited from execution of the > stimulus object and proceeded to execute the next section of the > program (e.g., next stimulus object or inline code). Note that > *execution* of a stimulus *object* may end before *presentation* of > the *stimulus* ends; this is the point of PreRelease (as well as > happening as a matter of course with some stimuli such as some > sounds). > >Finally, a few composite time audit measures derived from the raw >measures above and provided for convenience: >- OnsetDelay = OnsetTime - TargetOnsetTime >- ActionDelay = ActionTime - OnsetTime >- OffsetDelay = OffsetTime - TargetOffsetTime >- DurationError = OffsetTime + PreRelease - OnsetTime - Duration > >Note: >- Time audit measures include the ActionTime that follows upon > OnsetTime, but no corresponding item to follow upon OffsetTime. >- No time audit item for time stamp of vertical blank, although many > stimuli do not take full effect until just after a vertical blank. > >-- David McFarlane, Professional Faultfinder -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Mon Feb 25 20:27:02 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 25 Feb 2013 15:27:02 -0500 Subject: Slide with soundin and image: audio size issues In-Reply-To: <4d83819e-b30a-4877-ab3b-8b12606efa3f@googlegroups.com> Message-ID: Sylvain, Well, you can read about Generate PreRun/PostRun in the New Features Guide, and at http://www.pstnet.com/support/kb.asp?TopicID=3299 . Many stimuli need some preparation before running (e.g., loading image, sound, or movie files). That prepartion takes time, and may delay stimulus onset if the preparation takes place just before running the stimulus. Generate PreRun places that preparation code instead at the top of the Procedure. As a result, the first object of the Procedure may start late, but everything else in the Procedure should start with less delay. But this works only for stimulus content known at the start of Procedure, otherwise stimulus preparation should still take place just before the stimulus. Also, resetting an object at the top of the Procedure may prematurely terminate some continuing streaming action, such as a sound, movie, or sound recording. So, for any stimulus object, "TopOfProcedure" means to place stimulus preparation code at, well, the top of the Procedure; "BeforeObjectRun" means to place stimulus preparation code just before running the stimulus; "Inherit" means to use the setting from the Procedure. In turn, each Procedure may have its Generate PreRun set to either "TopOfProcedure" or "BeforeObjectRun", which it then passes down to all the stimulus objects that it contains. At this time, Generate PostRun does nothing useful, so you may safely ignore it. That said, clearly there is more at work in your program. Perhaps SoundIn is a little trickier than I thought. It would be nice to understand this better, but for now you seem to have a workaround. Perhaps you can explore this with PST Web Support, and then post back. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 2/24/2013 09:27 AM Sunday, Sylvain wrote: >Hello David, > >Thank for your answer. I tried to set TextDisplayITI to Generate >PreRun to BeforeObjectRun. I let the pre-release of TextDisplayITI >to "same duration". However I still have wav file (from the previous >object still recording Slide) of less than 1000 ms. The only thing >that seem to work is: >- having a pre-release of 0 ms on the TextDisplayITI; >- having a duration of more than 1000 ms to TextDisplayITI. > >I could run my experiment this way, it works, but I'm confused about >the script generation feature. All the object of my procedure are >set to "Inherit' for Generate PreRun and Generate PostRun. Could you >clarify a little but of this feature? > >Thank you again, > >Sylvain > > >On Friday, February 22, 2013 7:23:09 PM UTC+1, McFarlane, David wrote: >Sylvain, > >Well done. A lot of detail there, and I think I see the clue in your >final paragraph -- it looks like you have stumbled into the new >Generate PreRun = TopOfProcedure "gotcha" that can hit the last >object in a Procedure, see >http://www.pstnet.com/support/kb.asp?TopicID=3299 >and >http://www.pstnet.com/support/kb.asp?TopicID=2627 >. > >In short, you might fix this either by using PreRelease = 0, as you >did, or setting Generate PreRun to BeforeObjectRun. > >One of us should add your observation as a comment to those KB >articles. Thanks for presenting & pursuing this. > >----- >David McFarlane >E-Prime training >online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx > >Twitter: @EPrimeMaster >(https://twitter.com/EPrimeMaster) > > >At 2/22/2013 01:02 PM Friday, Sylvain wrote: > >Hello David, > > > >Thank you for your answer! > > > >It worked with the sleep(ITI) once set as more than 1000 ms, however > >I did several other tests: > > > >- I replaced my Sleep(ITI) with a TextDisplayITI of random duration > >(between 500 and 1200 ms), with no pre-release; > >- I launched an E-Test Run to hundred of trials. > > > >My result are as follow: > >- if I add the Slide.RT (the slide with the two sub-objects) to > >TextDisplayITI.duration, then if the total is inferior to almost > >1000 ms, the generated wav will be less than 1000 ms; > >- if the sum is superior to 1000 ms, I will get a wav file of 1000 ms. > > > >Now something interesting: > > > >- if I set the TextDisplayITI pre-release to more than 0 ms (I tried > >with same duration), my wav files are then less than 1000 ms! > >So I thought that it might be due to the fact that adding a > >pre-release changed the TextDisplayITI.offsettime, and that the wav > >could stop at the point of this offset. The other hypothesis was > >that maybe, since the TextDisplayITI was the last slide of the > >trial, looping to the beginning another trial could stop the wav > >file. So to check that I added a Sleep at the very end of the trial > >of 1000 ms, while keeping TextDisplayITI with a pre-release of same > >duration. Doing that it gives me wav of 1000 ms. > > > >My guess is then that adding a pre-release to TextDisplayITI is > >changing the TextDisplayITI.offsettime, and it induces a computation > >start of the next loop earlier. And this cause a stop in the > >recording of the wav of the previous trial. > > > >Sylvain > > > >On Friday, February 22, 2013 5:44:13 PM UTC+1, McFarlane, David wrote: > >Sylvain, > > > >This all looks good to me, so I have no idea why it does not work for > >you -- in my experience, with SoundIn Buffer Size set to 1000 and > >other settings such as in your example, I get a full 1000 ms of sound > >recording. Using a Sleep inline for the ITI should make no > >difference, but by now you should have done that exercise for > >yourself (and reported back here with your results). So something > >else must be going on, or maybe someone else here has a clue. (Note > >BTW that End Capture Action did not work in EP2.0.8.90, see > ><http://www.pstnet > .com/forum/Topic5473-12-1.aspx>http://www.pstnet.com/forum/Topic5473-12-1.aspx > >.) > > > >So you should just submit this to PST Web Support, see stock > reminder below. > > > >----- > >David McFarlane > >E-Prime training > >online: > ><http://ps > ychology.msu.edu/Workshops_Courses/eprime.aspx>http://psychology.msu.edu/Workshops_Courses/eprime.aspx > > > > >Twitter: @EPrimeMaster > >(<https://twitter.com/EPrimeMaste > r>https://twitter.com/EPrimeMaster) > > > >/---- > >Stock reminder: 1) I do not work for PST. 2) PST's trained staff > >take any and all questions at > ><http://supp > ort.pstnet.com/e%2Dprime/support/login.asp>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/P > STNET>http://www.youtube.com/user/PSTNET > >). 4) If you do > >get an answer from PST staff, please extend the courtesy of posting > >their reply back here for the sake of others. > >\---- > > > > > >At 2/21/2013 07:26 PM Thursday, Sylvain wrote: > > >I have a problem with the latest version of EP2(2.0.10.242). > > >A typical trial procedure is as follow: > > > > > >- first a fixation cross appear for a duration of 200 ms > > >(pre-realease set at the stim duration); > > > > > >- then a blank screen of a jittered duration appears (the jittered > > >duration has been computed before, not online, the pre-realease is > > >set also at the stim duration); > > > > > >- then a Slide appear with two sub-objet: an image and a > > >SlideSoundIn. I want my participants to give the name of the image, > > >taking advantage of the SRS box vocal responses, and have the Slide > > >disappearing; but I also want to record, with the SlideSoundIn > > >sub-object, the whole signal audio. I set the duration of the Slide > > >to 1000 ms maximum, and for the SlideSoundIn I've chosen a buffer of > > >1000 ms, set "Stop after" to no, and "EndSoundCaptureAction" to > > >none. However, I notice that when I do that, automatically I see the > > >"Stop after mode" staying on "NextOnsetTime" (pre-realease for the > > >slide set at the stim duration); > > > > > >- then an ITI of 1 sec appears (pre-realease for the slide set at > > >the stim duration). > > > > > >Doing that, I noticed that my audio signal from the SlideSoundIn > > >sub-object always ended before reaching 1000 ms. > > > > > >My question are: > > > > > >1) Do you think that even though I set the "Stop after" of the > > >SlideSoundIn to "no" (I'm 100% sure I did that, several times) the > > >recording could stop during the ITI onset or pre-realease of it? If > > >not, what could have I done wrong? > > > > > >2) In order to get rid of this issue, I replaced the ITI screen by a > > >sleep inline. Does the recording of the SlideSoundIn continue during > > >a sleep? Maybe it could be a solution to this issue. > > > > > >Thank you for any advices and answers. > > > > > >Sylvain -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Mon Feb 25 21:01:52 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 25 Feb 2013 16:01:52 -0500 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: Message-ID: Sylvain, Yes, as far as I understand, OnsetSignal should coincide with OnsetTime -- in fact, a Knowledge Base article says just that (http://www.pstnet.com/support/kb.asp?TopicID=1318 ). But you should not take anyone's word for that, not even mine (and certainly not PST's). You should test that for yourself with an oscilloscope or a Black Box ToolKit. Or if you want to have E-Prime test itself, and you have a parallel port that will both output and input data, you may try the following hack: Set up a PortDevice at the parallel port, and use OnsetSignal with the same parallel port. Then get the timestamp of OnsetSignal from the History of the PortDevice (no, you do not need an input mask, and yes, this is advanced E-Prime hacking), and see if that matches OnsetTime. I have used this hack myself to explore E-Prime's input mechanisms, but have not used this to explore OnsetSignal, and I did that hack with E-Prime 1.2 and an older laptop so don't know if the hack still works on later systems. Finally, if you have EP2.0.10.x or later (Pro only), then you should explore using Task Events instead of OnsetSignal, etc. That said, two comments on your code example: 1) Because your SignalData never changes, yes, you could put that code at the top the Procedure, or better yet, at the top of SessionProc (that is what I would do) -- it only needs to run once for the entire session, no need re-running it each time before the stimulus. But I understand it may make the program easier to read by putting this action before the stimulus, and that has some value (so when I put OnsetSignal code up in SessionProc, down in the Procedure I still add an InLine just with comments to explain what I did). 2) Should your line StimEEG.OffsetSignalData = 50 read instead StimEEG.OffsetSignalData = 0 ? I.e., don't you want to use OffsetSignal to reset the signal so that the OnsetSignal will work the next time around? Regards, ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 2/24/2013 09:49 AM Sunday, Sylvain wrote: >David and Scott, > >Thank you for your answers. I need to be reassured. When doing EEG >experiment, I always run an inline before the object I want to >trigger(maybe I could even do that at the top of the procedure I >guess). Let's call this object StimEEGa,d the trigger 50. >What I always did was an inline like: > >StimEEG.OnsetSignalEnabled = True >StimEEG.OnsetSignalPort = &H378 >StimEEG.OnsetSignalData = 50 > >StimEEG.OffsetSignalEnabled = True >StimEEG.OffsetSignalPort = &H378 >StimEEG.OffsetSignalData = 50 > >If I understand correctly This inline tell "wait for the object >StimEEG to run and send the signal'. By running I mean waiting for >StimEEG to be drawn on the screen right, independantly of any >pre-release ? On the e-prime side, does this correspond to StimEEG.OnsetTime? > >Thank you, > >Sylvain > >On Friday, February 22, 2013 6:42:29 PM UTC+1, McFarlane, David wrote: >Sylvain, > >At 2/22/2013 06:36 AM Friday, Sylvain wrote: > >Hi David, > > > >I have a question regarding to pre-release and timing. > > > >I did a little experiment trying to get the timestamp of the onset > >of stim, and the offset or it. > >Wonderful, everyone should do these sorts of explorations (that's how >I figured out all this stuff). > > > >It's simple basically i have : > > > >- Inline1: I collect t1 = Clock.ReadMillisec > >- Then an ImageDiplay for 200 ms with a pre-realase equal to the > >duration of it. I log the onset of ImageDiplay and the offset of it; > >- Inline 2: I collect t2 = Clock.ReadMillisec > > > >Doing that, basically I get t2-t1 almost equal to 0 modulo some > refresh rates. > >I also get ImageDiplay.OnsetTime = ImageDiplay.OffsetTime. > >As you should. You might find OffsetTime slightly behind OnsetTime; >and under these conditions (PreRelease = Duration), you should find >that TargetOffsetTime = TargetOnsetTime without exception. > > > >1) There's something there that I don't really understand, which > >timestamp should I really consider, ImageDiplay.OnsetTime or > >ImageDiplay.OffsetTime? > >That depends entirely on what you wish to do with that timestamp. > > > >2) If I understood pre-realase affect offset time, so does that mean that: > >ImageDiplay.Duration = (ImageDiplay.OffsetTime > >- ImageDiplay.OnsetTime) + pre-realase > >Not quite -- E-Prime can control only *Target* offset (& onset) >times, not actual times. Actual offset (& onset) times are subject >to the limitations of the stimulus presentation hardware. Also, I >would not write the relationship that way -- that makes it sound like >Duration derives from the other quantities, which is wrong. As I >described earlier, Duration remains whatever you asked it to be, so >should appear only on the right side of the equals sign as it is used >to determine other quantities. Thus, repeating what I wrote in my >earlier description of TargetOffsetTime, in the case of Event timing mode, > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime + > ImageDisplay.Duration - ImageDisplay.PreRelease > >Note that, in the case PreRelease = Duration (the new default setting >since EP2.0.10.x), we get simply > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime > >which fits your observations. If instead we set PreRelease to 0, we find > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime + > ImageDisplay.Duration > >which perhaps is what you expected (and was the default for Event >timing mode prior to EP2.0.10.x). > >And just to drive the point further, OffsetTime does *not* indicate >the time at which *presentation* of a stimulus ends. Rather, (for >most practical purposes) it indicates when *execution* of the >stimulus Run method ends (strictly speaking, this describes >FinishTime, see my earlier description for the fine distinction >between OffsetTime and FinishTime). > >Furthermore, even with PreRelease set to 0, neither Duration nor >(OffsetTime - OnsetTime) necessarily indicate the actual duration of >the stimulus. In particular, a visual stimulus does not disappear at >its OffsetTime (ignoring Clear After, which has been deprecated), but >remains visible until replaced by another visual stimulus, so actual >presentation duration is > > Stim2.OnsetTime - Stim1.OnsetTime > >and EP2.0.10.x Pro can now log those values for you >(http://www.pstnet.com/support/kb.asp?TopicID=718 >)! > > > >3) The fact that Inline2 is executed at the same time as Inline1 is > >particulary disturbing for me. Does that mean than Inline placed > >after an object could be executed while this object is still on screen? > >Yes, and that is exactly what we want it to do in many, many cases >(e.g., to handle multiple mouse actions while a visual stimulus >remains on the display, or to prepare the next stimulus during the >run of the current stimulus). If you really want your InLine to wait >until the previous object completes its Duration, then set PreRelease >of that object to 0. > >Hope that helps, >----- >David McFarlane >E-Prime training >online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx > >Twitter: @EPrimeMaster >(https://twitter.com/EPrimeMaster) > > > >Thank you for any answer, I'm confused about this! > > > >Sylvain > > > >On Friday, September 10, 2010 3:46:03 PM UTC+2, David McFarlane wrote: > >When you look at the Logging tab on the properties page of any > >stimulus object, you will find a host of items available for > >logging. Most of these are time audit data. But what do all these > >items mean, and what are they good for? Chapter 3 of the E-Prime > >User's Guide discusses time auditing to some degree, and the timing > >diagram at Appendix E provides one way to see the relationships > >between these items. As an alternative, here I try to set out, in > >order, a brief description of these items. > > > >First let us distinguish between timing control *settings* and time > >audit *measures*. The following items do not reflect any results > >formed during the course of a stimulus but simply log the settings > >provided by the user (e.g., you). You may choose to have any of > >these logged just to keep a record of settings active during the > experiment: > >- Duration: To reiterate, this does *not* show the actual duration of > > the stimulus, only the setting as provided by the user. > >- PreRelease: Affects the TargetOffsetTime (see below). > >- TimingMode: Event, Cumulative, or Custom, as set by the user (see > > the online E-Basic Help). > >- CustomOffsetTime: In Custom timing mode, overrides the > > TargetOnsetTime (see the online E-Basic Help). > >- CustomOnsetTime: In Custom timing mode, overrides the > > TargetOffsetTime (see the online E-Basic Help). > > > >Now, the raw time audit measures, listed in the order in which events > >occur during the execution of a stimulus object. These are all time > >stamps in milliseconds from the start of the current program run: > >- StartTime: Time at which E-Prime started executing the stimulus > > object. > >- TargetOnsetTime: Scheduled time at which presentation of stimulus was > > to begin; set automatically from GetNextTargetOnsetTime (see online > > E-Basic Help). > >- OnsetTime: Time when E-Prime actually submitted the stimulus data for > > presentation (e.g., proceeded to copy data to display memory or load > > sound buffer). This may not coincide with when the stimulus actually > > got presented, e.g., if data are submitted in the middle of a display > > refresh cycle then they may not get presented until the next refresh. > >- ActionTime: According to the online E-Basic Help, time at which > > E-Prime completed the "critical action" of the stimulus. The > > documentation remains somewhat vague about this -- perhaps "critical > > action" means copying data to display memory, or loading a sound or > > video buffer. In my tests, ActionTime never lags more than 1 ms > > behind OnsetTime, so it serves practically the same purpose as > > OnsetTime. > >- TargetOffsetTime: Scheduled time at which offset actions (e.g., > > clean-up, ClearAfter, StopAfter) of stimulus object were to begin, > > e.g., OnsetTime + Duration - PreRelease (Event timing mode), or > > TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). > >- OffsetTime: Time when E-Prime actually began the offset actions of > > the object. Actions may not take practical effect until next > > vertical blank, or until presentation of next stimulus. > >- FinishTime: Time when E-Prime exited from execution of the > > stimulus object and proceeded to execute the next section of the > > program (e.g., next stimulus object or inline code). Note that > > *execution* of a stimulus *object* may end before *presentation* of > > the *stimulus* ends; this is the point of PreRelease (as well as > > happening as a matter of course with some stimuli such as some > > sounds). > > > >Finally, a few composite time audit measures derived from the raw > >measures above and provided for convenience: > >- OnsetDelay = OnsetTime - TargetOnsetTime > >- ActionDelay = ActionTime - OnsetTime > >- OffsetDelay = OffsetTime - TargetOffsetTime > >- DurationError = OffsetTime + PreRelease - OnsetTime - Duration > > > >Note: > >- Time audit measures include the ActionTime that follows upon > > OnsetTime, but no corresponding item to follow upon OffsetTime. > >- No time audit item for time stamp of vertical blank, although many > > stimuli do not take full effect until just after a vertical blank. > > > >-- David McFarlane, Professional Faultfinder -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From oscfer88 at gmail.com Tue Feb 26 11:18:56 2013 From: oscfer88 at gmail.com (Oscar Ferrante) Date: Tue, 26 Feb 2013 03:18:56 -0800 Subject: Vocal RT without SRBox Message-ID: Hi everyone! I'm an Italian student at Università "G. d'Annunzio" of Chieti-Pescara. For my thesis, a dual-task experiment, and I need to register the vocal reaction time through a microphone. There is the possibility to do this without the SRBox? If yes, how? Thanks to everybody will answer! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/x9_qTpcihRsJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Tue Feb 26 12:55:05 2013 From: mspape at cognitology.eu (Cognitology) Date: Tue, 26 Feb 2013 14:55:05 +0200 Subject: Vocal RT without SRBox In-Reply-To: Message-ID: Hi, Please correct me if I’m wrong, anyone, but although there *is* in E-Prime 2 a soundcapture device, with which you can record audio for your experiment, there is no way to use this as an alternative to the SRBox voicekey input. However, you can still do what you want by using the soundcapture, to save the wave file for each trial (try to save the sound as a trial number or some such so that you know what condition it was in), and then get the reaction time from that. The hard way to do that would be to use any audio editor (I like cool edit, but audacity works), and see when a reaction is given. This is possible but will take a number of hours to work. If you know a little matlab, an alternative would be to do some signal processing and just detect for a threshold, which shouldn’t be too hard (find RT as time(dB > threshold)). If you only have E-Prime 1, you could just record the whole experiment and have loud sounds as a synchrony marker. I’ve noticed before that any voicekey type of experiment requires roughly the same amount of extra time of processing as (duration of experiment) x (number of subjects), though! Cheers, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Oscar Ferrante Sent: 26. February 2013 13:19 To: e-prime at googlegroups.com Subject: Vocal RT without SRBox Hi everyone! I'm an Italian student at Università "G. d'Annunzio" of Chieti-Pescara. For my thesis, a dual-task experiment, and I need to register the vocal reaction time through a microphone. There is the possibility to do this without the SRBox? If yes, how? Thanks to everybody will answer! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/x9_qTpcihRsJ. 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From justinemayavandyke at gmail.com Mon Feb 25 22:28:12 2013 From: justinemayavandyke at gmail.com (Justine VanDyke) Date: Mon, 25 Feb 2013 17:28:12 -0500 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <512bd2a8.c70d320a.07c4.2d66SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hello, I really appreciate all the information. After conducting a timing test, we find a consistent ~16 ms lag on the EPRime/Screen presentation. It's possibly the result of the HDMI conversion in the display monitor. Because the lag is completely consistent across all trials, I assume that this is not particularly problematic with regard to my EEG signals (for my purposes at least). However, we may try a VGA cable to see if we can improve this delay in future. In the meantime, I appreciate the information about the Task Events feature and also the information about the EPrime programming course, which I am going to look into. Thanks! Justine On Mon, Feb 25, 2013 at 4:07 PM, David McFarlane wrote: > As long as this thread has been reopened, I might as well mention that > EP2.0.10.x adds more time auditing measures (including, e.g., > OnsetToOnsetTime!), so this report needs updating if it is to really > include "all" time audit measures. Don't know when I will get around to > that myself. > > > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/** > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/**EPrimeMaster > ) > > > On Friday, 10 September 2010 09:46:03 UTC-4, David McFarlane wrote: >> When you look at the Logging tab on the properties page of any >> stimulus object, you will find a host of items available for >> logging. Most of these are time audit data. But what do all these >> items mean, and what are they good for? Chapter 3 of the E-Prime >> User's Guide discusses time auditing to some degree, and the timing >> diagram at Appendix E provides one way to see the relationships >> between these items. As an alternative, here I try to set out, in >> order, a brief description of these items. >> >> First let us distinguish between timing control *settings* and time >> audit *measures*. The following items do not reflect any results >> formed during the course of a stimulus but simply log the settings >> provided by the user (e.g., you). You may choose to have any of >> these logged just to keep a record of settings active during the >> experiment: >> - Duration: To reiterate, this does *not* show the actual duration of >> the stimulus, only the setting as provided by the user. >> - PreRelease: Affects the TargetOffsetTime (see below). >> - TimingMode: Event, Cumulative, or Custom, as set by the user (see >> the online E-Basic Help). >> - CustomOffsetTime: In Custom timing mode, overrides the >> TargetOnsetTime (see the online E-Basic Help). >> - CustomOnsetTime: In Custom timing mode, overrides the >> TargetOffsetTime (see the online E-Basic Help). >> >> Now, the raw time audit measures, listed in the order in which events >> occur during the execution of a stimulus object. These are all time >> stamps in milliseconds from the start of the current program run: >> - StartTime: Time at which E-Prime started executing the stimulus >> object. >> - TargetOnsetTime: Scheduled time at which presentation of stimulus was >> to begin; set automatically from GetNextTargetOnsetTime (see online >> E-Basic Help). >> - OnsetTime: Time when E-Prime actually submitted the stimulus data for >> presentation (e.g., proceeded to copy data to display memory or load >> sound buffer). This may not coincide with when the stimulus actually >> got presented, e.g., if data are submitted in the middle of a display >> refresh cycle then they may not get presented until the next refresh. >> - ActionTime: According to the online E-Basic Help, time at which >> E-Prime completed the "critical action" of the stimulus. The >> documentation remains somewhat vague about this -- perhaps "critical >> action" means copying data to display memory, or loading a sound or >> video buffer. In my tests, ActionTime never lags more than 1 ms >> behind OnsetTime, so it serves practically the same purpose as >> OnsetTime. >> - TargetOffsetTime: Scheduled time at which offset actions (e.g., >> clean-up, ClearAfter, StopAfter) of stimulus object were to begin, >> e.g., OnsetTime + Duration - PreRelease (Event timing mode), or >> TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). >> - OffsetTime: Time when E-Prime actually began the offset actions of >> the object. Actions may not take practical effect until next >> vertical blank, or until presentation of next stimulus. >> - FinishTime: Time when E-Prime exited from execution of the >> stimulus object and proceeded to execute the next section of the >> program (e.g., next stimulus object or inline code). Note that >> *execution* of a stimulus *object* may end before *presentation* of >> the *stimulus* ends; this is the point of PreRelease (as well as >> happening as a matter of course with some stimuli such as some >> sounds). >> >> Finally, a few composite time audit measures derived from the raw >> measures above and provided for convenience: >> - OnsetDelay = OnsetTime - TargetOnsetTime >> - ActionDelay = ActionTime - OnsetTime >> - OffsetDelay = OffsetTime - TargetOffsetTime >> - DurationError = OffsetTime + PreRelease - OnsetTime - Duration >> >> Note: >> - Time audit measures include the ActionTime that follows upon >> OnsetTime, but no corresponding item to follow upon OffsetTime. >> - No time audit item for time stamp of vertical blank, although many >> stimuli do not take full effect until just after a vertical blank. >> >> -- David McFarlane, Professional Faultfinder >> > > -- > You received this message because you are subscribed to 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From oscfer88 at gmail.com Tue Feb 26 13:08:33 2013 From: oscfer88 at gmail.com (Oscar Ferrante) Date: Tue, 26 Feb 2013 14:08:33 +0100 Subject: Vocal RT without SRBox In-Reply-To: <009901ce1420$80103d60$8030b820$@eu> Message-ID: Thank you very much for your answer, Michiel! I use E-Prime 2 and the method that you mention it's the same that I thought. I don't know Mat-Lab and neither my professor. If someone else have other ideas I will glad to read it! Il giorno 26/feb/2013 13:55, "Cognitology" ha scritto: > Hi,**** > > Please correct me if I’m wrong, anyone, but although there **is** in > E-Prime 2 a soundcapture device, with which you can record audio for your > experiment, there is no way to use this as an alternative to the SRBox > voicekey input. **** > > However, you can still do what you want by using the soundcapture, to save > the wave file for each trial (try to save the sound as a trial number or > some such so that you know what condition it was in), and then get the > reaction time from that. The hard way to do that would be to use any audio > editor (I like cool edit, but audacity works), and see when a reaction is > given. This is possible but will take a number of hours to work. If you > know a little matlab, an alternative would be to do some signal processing > and just detect for a threshold, which shouldn’t be too hard (find RT as > time(dB > threshold)).**** > > If you only have E-Prime 1, you could just record the whole experiment and > have loud sounds as a synchrony marker.**** > > ** ** > > I’ve noticed before that any voicekey type of experiment requires roughly > the same amount of extra time of processing as (duration of experiment) x > (number of subjects), though!**** > > ** ** > > Cheers,**** > > Michiel**** > > ** ** > > ** ** > > *From:* e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] *On > Behalf Of *Oscar Ferrante > *Sent:* 26. February 2013 13:19 > *To:* e-prime at googlegroups.com > *Subject:* Vocal RT without SRBox**** > > ** ** > > Hi everyone! > I'm an Italian student at Università "G. d'Annunzio" of Chieti-Pescara. > For my thesis, a dual-task experiment, and I need to register the vocal > reaction time through a microphone. > There is the possibility to do this without the SRBox? If yes, how? > Thanks to everybody will answer! **** > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/x9_qTpcihRsJ. > 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bergeruri at gmail.com Tue Feb 26 12:23:01 2013 From: bergeruri at gmail.com (Uri Berger) Date: Tue, 26 Feb 2013 04:23:01 -0800 Subject: Changing a list upon a subject response, and doing so by stepping in and out of a list or several li Message-ID: Hi all I am stuck In my task the participant plays against a semi smart agent (the computer) in a game which requires the participant to make a binary decision (a yes/no response). After the participant gave the response the computer reacts to the participant’s response in a finite number of cycles (trials), and a finite number of options (two in the “yes” condition, one in the “no” condition). In addition the computer responses should be random within the finite number of cycles and options’ limits. For example Triel1; Player -> press “0”; Computer -> random press “0” Triel2; Player -> press “1”; Computer -> random press “0” Triel3; Player -> press “1”; Computer -> random press “1” Triel4; Player -> press “1”; Computer -> random press “0” Triel5; Player -> press “1”; Computer -> random press “1” Although this task can be fully designed with a series of inline codes and flags, I rather make it the old fashion way. As I understand, this will require an inline which will send the participant to list “A” for response “A” and list “B” for response “B”. In addition, within these lists only one trial will be carried and after this trial the task will go back to the participant response and so on. However the list object must remember which response was carried so it may not be repeated twice. Finally the task will be done when only one of the lists has been fully responded to. List A (player response "0") : has 10 lines in which the computer response is always "0". List B (player response "1") : has 3 lines in which the computer response is "0" one time and "1" two times. Triel1; Player -> press “0”; Computer -> goto list “A” random response from list (0) -> go participant’s selection phase. Triel2; Player -> press “1”; Computer -> goto list “B” random response from list (0) -> go participant’s selection phase. Triel3; Player -> press “0”; Computer -> goto list “A” random response from list (0) -> go participant’s selection phase. Triel4; Player -> press “1”; Computer -> goto list “B” random response from list (1)-> go participant’s selection phase. Triel5; Player -> press “1”; Computer -> goto list “B” random response from list (1) -> end of list B -> finish task My problems are: 1. How do you use the goto function with lists 2. How do you step in a list carry one trial step out and then go back again while the lists “remember” your last “visit”. 3. I guess there are more thing I have not thought of -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/srESEgKrpuUJ. 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 Feb 26 19:19:39 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 26 Feb 2013 14:19:39 -0500 Subject: Vocal RT without SRBox In-Reply-To: Message-ID: As Michiel said already, for E-Prime to get a voice RT you need an external voice key device, which the SRBox provides. But if you do not want to spend US$450 or more on an SRBox and are handy with some light electronics, then you could build your own voice key with readily available supplies for very little money -- I did this myself a couple decades ago using plans from a published paper, and I could look that up again for anyone interested. You would also have to hook this up through a digital I/O port (e.g., parallel port), and make the appropriate adjustments in E-Prime. FWIW, the folks building PsychoPy plan to add the capability to use normal sound input as a voice key, but I have no idea when they will get around to that. -- David McFarlane At 2/26/2013 08:08 AM Tuesday, Oscar Ferrante wrote: >Thank you very much for your answer, Michiel! > >I use E-Prime 2 and the method that you mention it's the same that I thought. >I don't know Mat-Lab and neither my professor. > >If someone else have other ideas I will glad to read it! >Il giorno 26/feb/2013 13:55, "Cognitology" ><mspape at cognitology.eu> ha scritto: > >Hi, > >Please correct me if I’m wrong, anyone, but >although there *is* in E-Prime 2 a soundcapture >device, with which you can record audio for your >experiment, there is no way to use this as an >alternative to the SRBox voicekey input. > >However, you can still do what you want by using >the soundcapture, to save the wave file for each >trial (try to save the sound as a trial number >or some such so that you know what condition it >was in), and then get the reaction time from >that. The hard way to do that would be to use >any audio editor (I like cool edit, but audacity >works), and see when a reaction is given. This >is possible but will take a number of hours to >work. If you know a little matlab, an >alternative would be to do some signal >processing and just detect for a threshold, >which shouldn’t be too hard (find RT as time(dB > threshold)). > >If you only have E-Prime 1, you could just >record the whole experiment and have loud sounds as a synchrony marker. > > > >I’ve noticed before that any voicekey type of >experiment requires roughly the same amount of >extra time of processing as (duration of >experiment) x (number of subjects), though! > > > >Cheers, > >Michiel > > > > > >From: >e-prime at googlegroups.com >[mailto:e-prime at googlegroups.com] On Behalf Of Oscar Ferrante >Sent: 26. February 2013 13:19 >To: e-prime at googlegroups.com >Subject: Vocal RT without SRBox > > > >Hi everyone! >I'm an Italian student at Università "G. d'Annunzio" of Chieti-Pescara. >For my thesis, a dual-task experiment, and I >need to register the vocal reaction time through a microphone. >There is the possibility to do this without the SRBox? If yes, how? >Thanks to everybody will answer! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From hackerchipvn at gmail.com Wed Feb 27 06:30:59 2013 From: hackerchipvn at gmail.com (An Tran) Date: Tue, 26 Feb 2013 22:30:59 -0800 Subject: Dragging an arrow within a circle and record the mouse coordinates Message-ID: Hi, I have a circle (a wheel) with an arrow inside and I want the subject to indicate their response by either (1) dragging the arrow on the wheel or (2) click on the wheel with possible adjustments Some of my ideas: 1. rotate the whole image containing the circle and the arrow to the new position after the mouse click based on the angle between the "old" arrow and the new arrow 2. draw an arrow (or maybe only a line is enough) and pivot it with the mouse in both situations, the mouse coordinates should be logged and I want to calculate the degree of angle I don't have any programming background. I know that Eprime is based on VB so I found some ways to solve the problem with VB, but I don't know to what extent Eprime and VB are similar. Can someone give me advice how to solve this? Thank you very much! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/GqfRBwnCQ80J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From saultsj at missouri.edu Wed Feb 27 21:54:01 2013 From: saultsj at missouri.edu (Scott) Date: Wed, 27 Feb 2013 13:54:01 -0800 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <512bd096.ec6c320a.0319.2ca6SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Perhaps I should start another thread about Task Events rather continue this topic here. However, I want to respond to David' post, to followup, clarify, and correct some information I posted earlier comparing the use of Task Events vs OnsetSignalData.. You're correct, David, "..Task Events can use attribute references for the output data, ..." and that is no different what you can do with OnsetSignalData. It just doesn't add much, if anything, at least for ERP paradigms that we tend to use, EXCEPT for a convenient way to reset the port after you've sent a signal. At the same time, PST missed a golden opportunity to add a significant MISSING feature, something that CANNOT be accomplished with OnsetSignals, by not implementing conditional response codes for Task Events. That said, I admit that I'm ready to try my first ERP experiment with Task Events instead of onsetSignal commands. In our lab, we already do post-processing of event codes, rearranging the codes into trials by paring each stimulus event code with a response code. With a (hopefully) minor teak to the program used for that step, I plan to switch each of the conditional response codes (sent via WritePort AFTER each trial), with the static response trigger sent via Task Events. That way, the conditional writePort code does not have to be sent in real time, but can be assigned to the generic, real time Task Event marker during this post-processing step. This doesn't help me much for paradigms we've already used, because I've already written a lot of "Do While xxxxxxxxxx.Mask.IsPending" scripts for sending real-time response codes in those situations. But it will be a LOT easier for me to explain this method, and its simpler writePort command, to graduate students just learning E-Prime, than those complicated "process pending" inline scripts that they borrow and use (and can potentially misuse) without ever understanding. Sorry if this is too much off-topic. After I've completed my first Task Event ERP study using this method, perhaps I'll start a new Task Event ERP thread with a more optimistic reevaluation. On Monday, February 25, 2013 2:54:16 PM UTC-6, McFarlane, David wrote: > > Scott, > > Ah yes, conditional *response* codes, that is an entirely different > matter from what Justine & I were discussing. I too hoped that Task > Events would handle conditional response codes, but alas, no. So for > that, yes, we still need to use WritePort or the like in inline code, > and it takes considerable coding finesse to get it to do just what we > want, more than we can go into here (see, e.g., discussions at > https://groups.google.com/d/topic/e-prime/z8PQMH1cf70 and > https://groups.google.com/d/topic/e-prime/7w5ajYuHqgw , as well as > several Knowledge Base articles about sending signals to external > equipment). > > But back to outputting signals coincident with *stimulus* onset. As > you mentioned, resetting signals at a delay after outputting them is > just one of the "gotchas" that I referred to, and Task Events handles > that very nicely. As for *conditional* stimulus codes, as you > mention, Task Events can use attribute references for the output > data, and that seems no different to me from what you can do with > OnsetSignalData (but without requiring inline code). Did I miss > something? > > BTW, when I said that Task Events should supplant OnsetSignal..., I > merely meant that we users should oursleves over time abandon > OnsetSignal... in favor of Task Events, which does everything that > OnsetSignal does now, only more and better. I did not mean that PST > has any evident plans to stop support for OnsetSignal, so my > apologies to anyone who felt alarm over the way I stated that. I > suppose that users who prefer OnsetSignal may continue to do so for > the foreseable future. (And note that Task Events works only with > EP2 Pro files.) > --------clip--------- > > >> > > >> > > >>-- David McFarlane, Professional Faultfinder > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/lYfhUv2QcfkJ. 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 Feb 28 16:38:21 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 28 Feb 2013 11:38:21 -0500 Subject: Unknown Function "ebSocketTypeTcp" error In-Reply-To: Message-ID: Christian, I don't know anything about NetStation, but I do know that PST specifically advises that we *not* use EP2.0.10 yet with NetStation, see http://www.pstnet.com/support/kb.asp?TopicID=5345 . ----- 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 2/27/2013 04:40 PM Wednesday, you wrote: >I'm syncing E-Prime 2 with Net Station and when I try to run my E >Prime task I receive the following error "Unknown function ebSocketTypeTcp" > >A few other pieces of information that might be helpful: > >1) I checked the output window and it said "warning: >"egiclockextension.ebn" failed to load and is not included in the >routine (load state/error= -1/127 version/expected=0/178) > >2) I also saw the following error when compiling "The error occurred >in the method named "Netstation_InitSocketCommunications(s" at line >729 of a Certified Package File. > >3) Parameters in the netstation package in e prime are: "c, "on", >Celllist, "socket", "10.0.0.42"" > >4) I recently updated E-Prime from 2.0.8 to 2.0.10. > > >Any help you can provide would be greatly appreciated. > >-Christian -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mgancsos at gmail.com Fri Feb 1 19:24:11 2013 From: mgancsos at gmail.com (Mark) Date: Fri, 1 Feb 2013 11:24:11 -0800 Subject: Delay of animation on Slide display Message-ID: Hi all! I inherited an experiment that draws a circle on the screen and then refreshes for a set duration to make it appear to move. The problem I am having with it is that there is a noticeable delay, like 2 seconds, from the time the circle appears on the screen and you start moving the joystick, until the time the circle starts to move. Essentially it appears, you start moving the joystick, nothing happens for about 2 seconds, then the circle "jumps" to wherever the joystick coords are at the moment and then moves perfectly in time with the joystick motion. If I could get rid of that lag/delay, there would be no problem. The inline code that governs the moving circle is below. The inline object follows a slide object in this procedure, which is blank except for a SlideImage called 'TheCircleL' which is 5k. The inline code sets TheCircleL's X and Y coords equal to the joystick coords, then redraws the slide. Any help would be greatly appreciated! **************************************************** startTime = Clock.Read ' Tracks the movement ' Uncomment the joystick line and comment the mouse line when using joystick 'While (not Mouse.Buttons and ebMouseButton1 and (Clock.Read-startTime < drawDuration)) 'While (Not Joystick.Buttons and ebJoystickButton1 and (Clock.Read-startTime < drawDuration)) While (Clock.Read-startTime < drawDuration) theCircleL.X = Mouse.CursorX theCircleL.Y = Mouse.CursorY blankL.draw Wend c.SetAttrib "xPos", Mouse.CursorX c.SetAttrib "yPos", Mouse.CursorY **************************************************** -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/lwr7HbvmBxcJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From claire.zedelius at gmail.com Fri Feb 1 23:38:32 2013 From: claire.zedelius at gmail.com (Tronix) Date: Fri, 1 Feb 2013 15:38:32 -0800 Subject: Switching between 2 lists and conditionally skipping trials Message-ID: Hi! I?m running into some problems programming an experiment switching randomly between 2 lists. I want to present a text, displayed sentence by sentence, that contains abnormalities in some, randomly selected sentences. For this, I created a program that switches randomly between two nested lists. One list contains regular sentences (e.g., ?The tree grew.?), the other slightly modified versions of the same sentences (e.g., ?The tree gfrwr.?). Now I don?t want to show any sentence in both the regular and abnormal version. To achieve this, I numbered the sentences and basically tried to tell e-prime to skip a sentence if a sentence with the same number from the other list has already been presented. When I run the program, however, it seems to skip all the sentences. I can?t seem to find the mistake. I?d be very happy if somebody here could help me with this. Here is what I did: 1. I created a variable (?Magicnumber ?) that?s supposed to keep count of the presented trials. In the beginning of the script, I set the value to 1: c.SetAttrib "Magicnumber", 1 2. To update this value, immediately after the sentence display object I put an inline object saying: c.SetAttrib "Magicnumber" , "Magicnumber" + 1 3. In each of the nested lists containing the sentences, I created a variable (?Sentencenumber?) containing the numbers 1 to 30 (from first to last sentence). 4. I inserted a label object (?Skip?) a bit after the sentence display object. 5. In order to skip sentences with sentence numbers already selected from the other list, immediately before the sentence display object I inserted an inline object saying: If c.GetAttrib("Sentencenumber") < "Magicnumber" then Goto Skip End if Does anybody see what I did wrong here? Thanks in advance for your help! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/DPX85uELb2gJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From turquoised13 at gmail.com Sat Feb 2 01:00:27 2013 From: turquoised13 at gmail.com (Margot Elizabeth) Date: Fri, 1 Feb 2013 20:00:27 -0500 Subject: KeyLists In-Reply-To: <219c3390-d25c-4a47-8168-9433cfb53fa4@googlegroups.com> Message-ID: hi Alexis, Well... sort of. I never did figure out how to use Key Lists properly. Instead I made it more simple by pulling out a quasi-random subset of the unrelateds, and coding them as if they were another group of meaningful stimuli (conceptually) instead of being more unrelated pairs. The word pairs were only quasi-random because as athey subset matched the sets of meaningful pairs re: length, frequency, etc., but they were otherwise chosen unsystematically. Now I have 5 groups, which NetStation will show 4 at a time. That's all I really need, except to check on occasion that the subset of unrelateds and the full set look pretty much the same. So far so good. Margot On Wed, Jan 30, 2013 at 1:02 PM, Alexis wrote: > Hi Margot, > I am having the same problem now that you describe and am wondering if you > found a solution or a workaround to send more specific TRSP information to > netstation from Eprime. I expect that we could reconstruct all of our > information from the .edat file of each subject but I'd rather not. > > Thanks, > > Alexis Barton > Graduate Student > Developmental Cognitive Neuroscience > Indiana University - Bloomington > > > On Tuesday, July 17, 2012 5:21:56 PM UTC-4, Margot Elizabeth wrote: >> >> hello e-primers, >> >> I am brand new to e-prime, so apologies in advance if this is very >> basic. I have a word priming experiment with a balanced list of primes and >> targets; 50% are meaningful and 50% are unrelated pairs. There are 3 >> different types of meaningful pairs, so as a group the unrelated pairs >> outnumber the other types. Because I am running an EEG experiment along >> with the priming, I need to pick a smaller subset of my unrelated pairs for >> Net Station to recognize and call for analysis. The KeyList seems like an >> obvious solution to this, but when I follow the instructions from E-Prime >> (EBANs), it doesn't work... E-prme will generate the script, but running >> it produces a "no such attribute" error. EBANS instructions say to name >> KeyList as the attribute in the InLine Send Trial Events, but then each of >> the actual attributes in the KeyList are being picked up as unknown. When >> I tell Send Trial Events about the individual attributes I get more >> errors. >> >> I have searched KeyLists and can't find examples or discussions of how to >> use this feature. >> >> Any help would be greatly appreciated. >> >> Margot Stothers >> Ph.D. (Candidate) >> Western University >> London, ON, Canada >> > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/AVSoMtvYxr4J. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From asmahanif85 at gmail.com Fri Feb 1 22:44:37 2013 From: asmahanif85 at gmail.com (alp115) Date: Fri, 1 Feb 2013 14:44:37 -0800 Subject: EPrime and iViewX interface Message-ID: Hi, I am trying to run a sample EPrime program from iViewX SDK. EPrime and iViewX are installed on the same system. I have two questions: 1) The first time I tried to interface the two systems, I was able to connect and present the EPrime experiment on the eyetracker (which is NNL VisualSystem) but the cursor disappeared from the iViewX system. So I was unable to view the eye image. 2) Later, the connection to eyetracker was disconnected and I was unable to start the experiment. I also noticed that SMI's experiment presentation tool (Experiment Center) also got disabled and the IP address changed itself. In iViewX SDK manual it is mentioned that-"Since E-Prime does not allow other programs to display visualizations, no images may be created by the SDK when used in conjunction with E-Prime". Does that mean EPrime cannot be run on the same system as SMI? Please help! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/sAVst-eiByEJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From turquoised13 at gmail.com Sat Feb 2 01:51:29 2013 From: turquoised13 at gmail.com (Margot Elizabeth) Date: Fri, 1 Feb 2013 20:51:29 -0500 Subject: response unit for E-prime 2.0 Professional with ERP hardware In-Reply-To: Message-ID: We gave up on using E-Prime to present videos of 7000 ms in length; they just wouldn't run reliably. Instead we went to Matlab, then discovered that the PST SRBox is sending random bytes to Matlab which are being misinterpreted as button presses. The biggest consequence is that Matlab skips presenting videos unpredictably when there is extra information in the buffer. I'm using the same SRBox for an audio experiment that E-Prime is presenting, so of course I was concerned when I discovered the visual bug. E-Prime evidently "knows" about the problem because NetStation isn't recording more than one button press during the audio experiment. Has anyone else had this problem? It does *not* appear to be the cable. Moving the cable, even violently! :)), does nothing to the amount of noise we're recording; in contrast, button presses, particularly late in the video presentation just before a timeout, do. Do these boxes send random bytes of information that E-Prime deals with routinely, or is there some problem with the way we've set it up (e.g., grounding?). Or maybe it's a defective box. The 'wait' code for Matlab from this thread lessened the problem but didn't solve it. thanks, Margot On Tue, Jun 19, 2012 at 2:43 PM, Chris Jones wrote: > I'd also like to thank Ben very much for this information. I came to this > group looking for instructions on how to build a serial or parallel > response box. My department won't be able to approve a response box until > the fall and I want some data now... > > The game controller option makes sense for so many reasons, including the > psychological effect or context effect - perhaps pulling for more valid > data - particularly in a stop signal paradigm. Seems to fit with what > Mich (Psychology, Nottingham; sorry don't have thread handy) elsewhere > about psychological effects as being under-rated in comparison with timing > precision... > > Just to review: I can use a Logitech game pad - for example > http://www.logitech.com/en-ca/gaming/controllers/7360 > > and download a driver... I don't actually see a place to download drivers > of the type Ben describes, but there is this information: > > ____________________________________ > > DirectInput (D) > > DirectInput mode works with Windows drivers to enable basic input > functionality. This input mode also lets you use the Logitech Gaming > Software to customize the inputs for games that don't normally allow you to > do so, or don't have gamepad support at all. > > You can use the Logitech Gaming Software with DirectInput mode to assign a > specific key or key combination to any of the buttons or thumbsticks on the > gamepad. You can also assign each thumbstick to work like a joystick or > mouse. > > NOTE: Logitech doesn't provide configuration software for non-Windows > systems, but many games allow you to configure inputs in-game. DirectInput > mode lets the gamepad communicate with the drivers on many such systems. > __________________________________________ > > ...And so using a driver and/or the above information, I will be able to > assign an ASCII key or number to one or more gamepad buttons, right? > > And e-prime will be able to add this device - as an input device or > the type, "response box"? > > And then what about the timing errors? I'm not so concerned, but can > anyone estimate the timing errors for data logging? Is there a way to > minimize the error by changing the input refresh rate somewhere? > > Thanks so much, > Chris > > Chris Jones, Ph.D. > Department of Psychology > Kwantlen Polytechnic University > Surrey, BC, Canada > > > On Wednesday, April 22, 2009 6:17:25 AM UTC-7, ben wrote: > >> i've used a couple different USB controllers for this purpose over the >> years. they're so much cheaper than the cedrus boxes or the pst response >> boxes. >> both controllers i've used, and i would imagine all controllers of this >> type, have an accompanying driver which you download from the >> manufacturer's website and which allows you to assign a value to the >> various controller buttons. presses on the controller mimic keyboard >> button presses, so all you need to do in eprime is set the object >> collecting responses to look for a keyboard response (as opposed to a >> response from a mouse or a pst response box). for instance, set the object >> to accept '0' or '1', and then assign one button on the controller to be >> '0' and the other to be '1', turn off all the other buttons, and you're >> good to go. >> pretty straight forward. >> http://www.logitech.com/index.**cfm/gaming/pc_gaming/gamepads/** >> devices/301&cl=US,EN >> >> ben >> >> On Wed, Apr 22, 2009 at 7:56 AM, Jeffrey Bedwell wrote: >> >>> >>> Thanks for this info. Are you using this gamepad with E-Prime? If so, >>> do you write script to tell the software how to interact with the >>> gamepad? >>> >>> -Jeff >>> >>> On Apr 21, 9:20 am, baltimore.... at gmail.com wrote: >>> > we use the logitech precision usb gamepad. >>> > >>> > On Apr 10, 2009 2:09pm, Jeffrey Bedwell wrote: >>> > >>> > >>> > >>> > > Hi. I was wondering if anyone has suggestions for a button response >>> > > unit to use with E-Prime 2.0 Professional in the context of ERP/EEG >>> > > experiments? The PST response unit does not appear to be ideal for >>> > > this because it has an A/C power cable coming up to the unit that may >>> > > cause interference with the ERP signal. I'd like some type of video >>> > > game controller or wireless unit that the participant can hold in >>> > > their lap comfortably. Also, if it can plug into USB port, that may >>> be >>> > > ideal. Does anyone have any suggestions? Also, if anyone has >>> > > successfully used the PST response unit in the context of ERP/EEG >>> > > equipment, please let me know your thoughts on this. Thanks. I'd >>> > > appreciate any feedback! >>> > > Jeffrey S. Bedwell, Ph.D. >>> > > Assistant Professor >>> > > Department of Psychology >>> > > University of Central Florida- Hide quoted text - >>> > >>> > - Show quoted text - >>> >>> >> -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/cEXjWgmdWi0J. > To post to this group, send email to e-prime at googlegroups.com. > To unsubscribe from this group, send email to > e-prime+unsubscribe at googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/e-prime?hl=en. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.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 Sun Feb 3 21:36:13 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Sun, 3 Feb 2013 22:36:13 +0100 Subject: response unit for E-prime 2.0 Professional with ERP hardware In-Reply-To: Message-ID: Hi Margot, The SRBox devices sends a continuous stream of bytes representing the button status. If I remember correctly, there is a mode switich to select 9600 or 19200 bytes per second. I think the continuous stream makes it possible to make the response times more accurate. However, you will need a kind of device driver that deals with the continuous stream in a background process. I have created such driver as a so called Windows COM-object, several years ago, but I don't think that will be compatible with Matlab. Best, Paul On 2 February 2013 02:51, Margot Elizabeth wrote: > We gave up on using E-Prime to present videos of 7000 ms in length; they > just wouldn't run reliably. Instead we went to Matlab, then discovered that > the PST SRBox is sending random bytes to Matlab which are being > misinterpreted as button presses. The biggest consequence is that Matlab > skips presenting videos unpredictably when there is extra information in > the buffer. > I'm using the same SRBox for an audio experiment that E-Prime is > presenting, so of course I was concerned when I discovered the visual bug. > E-Prime evidently "knows" about the problem because NetStation isn't > recording more than one button press during the audio experiment. > Has anyone else had this problem? It does *not* appear to be the cable. > Moving the cable, even violently! :)), does nothing to the amount of noise > we're recording; in contrast, button presses, particularly late in the > video presentation just before a timeout, do. Do these boxes send random > bytes of information that E-Prime deals with routinely, or is there some > problem with the way we've set it up (e.g., grounding?). Or maybe it's a > defective box. The 'wait' code for Matlab from this thread lessened the > problem but didn't solve it. > thanks, > Margot > > On Tue, Jun 19, 2012 at 2:43 PM, Chris Jones wrote: > >> I'd also like to thank Ben very much for this information. I came to >> this group looking for instructions on how to build a serial or parallel >> response box. My department won't be able to approve a response box until >> the fall and I want some data now... >> >> The game controller option makes sense for so many reasons, including the >> psychological effect or context effect - perhaps pulling for more valid >> data - particularly in a stop signal paradigm. Seems to fit with what >> Mich (Psychology, Nottingham; sorry don't have thread handy) elsewhere >> about psychological effects as being under-rated in comparison with timing >> precision... >> >> Just to review: I can use a Logitech game pad - for example >> http://www.logitech.com/en-ca/gaming/controllers/7360 >> >> and download a driver... I don't actually see a place to download >> drivers of the type Ben describes, but there is this information: >> >> ____________________________________ >> >> DirectInput (D) >> >> DirectInput mode works with Windows drivers to enable basic input >> functionality. This input mode also lets you use the Logitech Gaming >> Software to customize the inputs for games that don't normally allow you to >> do so, or don't have gamepad support at all. >> >> You can use the Logitech Gaming Software with DirectInput mode to assign >> a specific key or key combination to any of the buttons or thumbsticks on >> the gamepad. You can also assign each thumbstick to work like a joystick or >> mouse. >> >> NOTE: Logitech doesn't provide configuration software for non-Windows >> systems, but many games allow you to configure inputs in-game. DirectInput >> mode lets the gamepad communicate with the drivers on many such systems. >> __________________________________________ >> >> ...And so using a driver and/or the above information, I will be able to >> assign an ASCII key or number to one or more gamepad buttons, right? >> >> And e-prime will be able to add this device - as an input device or >> the type, "response box"? >> >> And then what about the timing errors? I'm not so concerned, but can >> anyone estimate the timing errors for data logging? Is there a way to >> minimize the error by changing the input refresh rate somewhere? >> >> Thanks so much, >> Chris >> >> Chris Jones, Ph.D. >> Department of Psychology >> Kwantlen Polytechnic University >> Surrey, BC, Canada >> >> >> On Wednesday, April 22, 2009 6:17:25 AM UTC-7, ben wrote: >> >>> i've used a couple different USB controllers for this purpose over the >>> years. they're so much cheaper than the cedrus boxes or the pst response >>> boxes. >>> both controllers i've used, and i would imagine all controllers of this >>> type, have an accompanying driver which you download from the >>> manufacturer's website and which allows you to assign a value to the >>> various controller buttons. presses on the controller mimic keyboard >>> button presses, so all you need to do in eprime is set the object >>> collecting responses to look for a keyboard response (as opposed to a >>> response from a mouse or a pst response box). for instance, set the object >>> to accept '0' or '1', and then assign one button on the controller to be >>> '0' and the other to be '1', turn off all the other buttons, and you're >>> good to go. >>> pretty straight forward. >>> http://www.logitech.com/index.**cfm/gaming/pc_gaming/gamepads/** >>> devices/301&cl=US,EN >>> >>> ben >>> >>> On Wed, Apr 22, 2009 at 7:56 AM, Jeffrey Bedwell wrote: >>> >>>> >>>> Thanks for this info. Are you using this gamepad with E-Prime? If so, >>>> do you write script to tell the software how to interact with the >>>> gamepad? >>>> >>>> -Jeff >>>> >>>> On Apr 21, 9:20 am, baltimore.... at gmail.com wrote: >>>> > we use the logitech precision usb gamepad. >>>> > >>>> > On Apr 10, 2009 2:09pm, Jeffrey Bedwell >>>> wrote: >>>> > >>>> > >>>> > >>>> > > Hi. I was wondering if anyone has suggestions for a button response >>>> > > unit to use with E-Prime 2.0 Professional in the context of ERP/EEG >>>> > > experiments? The PST response unit does not appear to be ideal for >>>> > > this because it has an A/C power cable coming up to the unit that >>>> may >>>> > > cause interference with the ERP signal. I'd like some type of video >>>> > > game controller or wireless unit that the participant can hold in >>>> > > their lap comfortably. Also, if it can plug into USB port, that may >>>> be >>>> > > ideal. Does anyone have any suggestions? Also, if anyone has >>>> > > successfully used the PST response unit in the context of ERP/EEG >>>> > > equipment, please let me know your thoughts on this. Thanks. I'd >>>> > > appreciate any feedback! >>>> > > Jeffrey S. Bedwell, Ph.D. >>>> > > Assistant Professor >>>> > > Department of Psychology >>>> > > University of Central Florida- Hide quoted text - >>>> > >>>> > - Show quoted text - >>>> >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/e-prime/-/cEXjWgmdWi0J. >> To post to this group, send email to e-prime at googlegroups.com. >> To unsubscribe from this group, send email to >> e-prime+unsubscribe at googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/e-prime?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.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. 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 Sun Feb 3 21:46:11 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Sun, 3 Feb 2013 22:46:11 +0100 Subject: Switching between 2 lists and conditionally skipping trials In-Reply-To: <564f05d4-f902-44ab-8a06-fa4e19ad9e29@googlegroups.com> Message-ID: hi, To start with, the MagicNumber variable needs to be a regular global variable that is declared in the global User Script section: Dim MagicNumber as Integer You implement such a variable as a eprime attribute because its value depend on the running context. Eprime will automatically set the variable to 0 when it is declared, so you might have to initialise it at the start of the experiment (using an inline script object): MagicNumber = 1 Then, instead of trying to increment the attribute value (which was implemented incorrectly, BTW), you can increment the global variable like this: MagicNumber = MagicNumber + 1 And finally: If CInt(c.GetAttrib("Sentencenumber")) < Magicnumber then Goto Skip End if Without quotes around the variable! That's it. best Paul On 2 February 2013 00:38, Tronix wrote: > Hi! > > > > I?m running into some problems programming an experiment switching > randomly between 2 lists. I want to present a text, displayed sentence by > sentence, that contains abnormalities in some, randomly selected sentences. > For this, I created a program that switches randomly between two nested > lists. One list contains regular sentences (e.g., ?The tree grew.?), the > other slightly modified versions of the same sentences (e.g., ?The tree > gfrwr.?). Now I don?t want to show any sentence in both the regular and > abnormal version. To achieve this, I numbered the sentences and basically > tried to tell e-prime to skip a sentence if a sentence with the same number > from the other list has already been presented. When I run the program, > however, it seems to skip all the sentences. I can?t seem to find the > mistake. I?d be very happy if somebody here could help me with this. > > > > Here is what I did: > > > > 1. I created a variable (?Magicnumber ?) that?s supposed to keep count of > the presented trials. In the beginning of the script, I set the value to 1: > > c.SetAttrib "Magicnumber", 1 > > > > 2. To update this value, immediately after the sentence display object I > put an inline object saying: > > c.SetAttrib "Magicnumber" , "Magicnumber" + 1 > > > > 3. In each of the nested lists containing the sentences, I created a > variable (?Sentencenumber?) containing the numbers 1 to 30 (from first to > last sentence). > > > > 4. I inserted a label object (?Skip?) a bit after the sentence display > object. > > > > 5. In order to skip sentences with sentence numbers already selected from > the other list, immediately before the sentence display object I inserted > an inline object saying: > > If c.GetAttrib("Sentencenumber") < "Magicnumber" then > > Goto Skip > > End if > > > > Does anybody see what I did wrong here? > > Thanks in advance for your help! > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/DPX85uELb2gJ. > 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. 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 Sun Feb 3 22:20:43 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Sun, 3 Feb 2013 23:20:43 +0100 Subject: Delay of animation on Slide display In-Reply-To: <7ea52f46-3317-466e-b0e1-2850993847cb@googlegroups.com> Message-ID: hi Mark, I'm not sure what exactly is going wrong here, but you could insert some debug.print lines in your inline script to see what is going on. I.e.: Debug.print "startTime: " & startTime ... Debug.print "redraw: " & Clock.Read etc. Also, you could try to redraw only the circle itself: Display.WaitForVericalBlank theCircleL.clear theCircleL.X = Mouse.CursorX theCircleL.Y = Mouse.CursorY theCircleL.draw And, offcourse, when you only draw a simple circle, you could do things more efficiently by drawing the circle using the canvas drawing functions, instead of using a slide with an image. best, paul On 1 February 2013 20:24, Mark wrote: > Hi all! > > I inherited an experiment that draws a circle on the screen and then > refreshes for a set duration to make it appear to move. The problem I am > having with it is that there is a noticeable delay, like 2 seconds, from > the time the circle appears on the screen and you start moving the > joystick, until the time the circle starts to move. Essentially it > appears, you start moving the joystick, nothing happens for about 2 > seconds, then the circle "jumps" to wherever the joystick coords are at the > moment and then moves perfectly in time with the joystick motion. > > If I could get rid of that lag/delay, there would be no problem. > > > The inline code that governs the moving circle is below. The inline > object follows a slide object in this procedure, which is blank except for > a SlideImage called 'TheCircleL' which is 5k. The inline code sets > TheCircleL's X and Y coords equal to the joystick coords, then redraws the > slide. > > Any help would be greatly appreciated! > > > > **************************************************** > startTime = Clock.Read > > ' Tracks the movement > ' Uncomment the joystick line and comment the mouse line when using > joystick > > 'While (not Mouse.Buttons and ebMouseButton1 and (Clock.Read-startTime < > drawDuration)) > 'While (Not Joystick.Buttons and ebJoystickButton1 and > (Clock.Read-startTime < drawDuration)) > While (Clock.Read-startTime < drawDuration) > theCircleL.X = Mouse.CursorX > theCircleL.Y = Mouse.CursorY > blankL.draw > > Wend > > c.SetAttrib "xPos", Mouse.CursorX > c.SetAttrib "yPos", Mouse.CursorY > **************************************************** > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/lwr7HbvmBxcJ. > 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. 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 Feb 4 17:00:24 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 4 Feb 2013 12:00:24 -0500 Subject: response unit for E-prime 2.0 Professional with ERP hardware In-Reply-To: Message-ID: Margot, What Paul said-- in particular, the SRBox does not send "random" bytes. It does have a jumper inside to switch between transmission rates of 9600 or 19.2K baud. It has other jumpers to switch between character rates of 800 or 1600 cps -- 800 cps means 1.25 ms between data, 1600 cps means a mere 0.625 ms between data. This is all explained in the manual that should accompany the SRBox. It really is a neat little device once you understand it. The easiest way to see this is by using any terminal emulator (note that you must transit a byte to the SRBox with bit 7 set high in order to enable data transmission from the SRBox; sending a byte with bit 7 set low will stop data transmission -- this is *not* documented!). -- David McFarlane At 2/3/2013 04:36 PM Sunday, Paul Groot wrote: >Hi Margot, > >The SRBox devices sends a continuous stream of bytes representing >the button status. If I remember correctly, there is a mode switich >to select 9600 or 19200 bytes per second. I think the continuous >stream makes it possible to make the response times more accurate. >However, you will need a kind of device driver that deals with the >continuous stream in a background process. I have created such >driver as a so called Windows COM-object, several years ago, but I >don't think that will be compatible with Matlab. > >Best, >Paul > >On 2 February 2013 02:51, Margot Elizabeth ><turquoised13 at gmail.com> wrote: >We gave up on using E-Prime to present videos of 7000 ms in length; >they just wouldn't run reliably. Instead we went to Matlab, then >discovered that the PST SRBox is sending random bytes to Matlab >which are being misinterpreted as button presses. The biggest >consequence is that Matlab skips presenting videos unpredictably >when there is extra information in the buffer. >I'm using the same SRBox for an audio experiment that E-Prime is >presenting, so of course I was concerned when I discovered the >visual bug. E-Prime evidently "knows" about the problem because >NetStation isn't recording more than one button press during the >audio experiment. >Has anyone else had this problem? It does not appear to be the >cable. Moving the cable, even violently! :)), does nothing to the >amount of noise we're recording; in contrast, button presses, >particularly late in the video presentation just before a timeout, >do. Do these boxes send random bytes of information that E-Prime >deals with routinely, or is there some problem with the way we've >set it up (e.g., grounding?). Or maybe it's a defective box. The >'wait' code for Matlab from this thread lessened the problem but >didn't solve it. >thanks, >Margot > >On Tue, Jun 19, 2012 at 2:43 PM, Chris Jones ><c.jones.phd at gmail.com> wrote: >I'd also like to thank Ben very much for this information. I came >to this group looking for instructions on how to build a serial or >parallel response box. My department won't be able to approve a >response box until the fall and I want some data now... > >The game controller option makes sense for so many reasons, >including the psychological effect or context effect - perhaps >pulling for more valid data - particularly in a stop signal >paradigm. Seems to fit with what Mich (Psychology, Nottingham; >sorry don't have thread handy) elsewhere about psychological effects >as being under-rated in comparison with timing precision... > >Just to review: I can use a Logitech game pad - for example >http://www.logitech.com/en-ca/gaming/controllers/7360 > >and download a driver... I don't actually see a place to download >drivers of the type Ben describes, but there is this information: > >____________________________________ > >DirectInput (D) > >DirectInput mode works with Windows drivers to enable basic input >functionality. This input mode also lets you use the Logitech Gaming >Software to customize the inputs for games that don't normally allow >you to do so, or don't have gamepad support at all. > >You can use the Logitech Gaming Software with DirectInput mode to >assign a specific key or key combination to any of the buttons or >thumbsticks on the gamepad. You can also assign each thumbstick to >work like a joystick or mouse. > >NOTE: Logitech doesn't provide configuration software for >non-Windows systems, but many games allow you to configure inputs >in-game. DirectInput mode lets the gamepad communicate with the >drivers on many such systems. >__________________________________________ > >...And so using a driver and/or the above information, I will be >able to assign an ASCII key or number to one or more gamepad buttons, right? > >And e-prime will be able to add this device - as an input device or >the type, "response box"? > >And then what about the timing errors? I'm not so concerned, but >can anyone estimate the timing errors for data logging? Is there a >way to minimize the error by changing the input refresh rate somewhere? > >Thanks so much, >Chris > >Chris Jones, Ph.D. >Department of Psychology >Kwantlen Polytechnic University >Surrey, BC, Canada > > >On Wednesday, April 22, 2009 6:17:25 AM UTC-7, ben wrote: >i've used a couple different USB controllers for this purpose over >the years. they're so much cheaper than the cedrus boxes or the pst >response boxes. >both controllers i've used, and i would imagine all controllers of >this type, have an accompanying driver which you download from the >manufacturer's website and which allows you to assign a value to the >various controller buttons. presses on the controller mimic >keyboard button presses, so all you need to do in eprime is set the >object collecting responses to look for a keyboard response (as >opposed to a response from a mouse or a pst response box). for >instance, set the object to accept '0' or '1', and then assign one >button on the controller to be '0' and the other to be '1', turn off >all the other buttons, and you're good to go. >pretty straight forward. >http://www.logitech.com/index.cfm/gaming/pc_gaming/gamepads/devices/301&cl=US,EN > >ben > >On Wed, Apr 22, 2009 at 7:56 AM, Jeffrey Bedwell ><jbedwell at mail.ucf.edu> wrote: > >Thanks for this info. Are you using this gamepad with E-Prime? If so, >do you write script to tell the software how to interact with the >gamepad? > >-Jeff > >On Apr 21, 9:20 am, baltimore.... at gmail.com wrote: > > we use the logitech precision usb gamepad. > > > > On Apr 10, 2009 2:09pm, Jeffrey Bedwell wrote: > > > > > > > > > Hi. I was wondering if anyone has suggestions for a button response > > > unit to use with E-Prime 2.0 Professional in the context of ERP/EEG > > > experiments? The PST response unit does not appear to be ideal for > > > this because it has an A/C power cable coming up to the unit that may > > > cause interference with the ERP signal. I'd like some type of video > > > game controller or wireless unit that the participant can hold in > > > their lap comfortably. Also, if it can plug into USB port, that may be > > > ideal. Does anyone have any suggestions? Also, if anyone has > > > successfully used the PST response unit in the context of ERP/EEG > > > equipment, please let me know your thoughts on this. Thanks. I'd > > > appreciate any feedback! > > > Jeffrey S. Bedwell, Ph.D. > > > Assistant Professor > > > Department of Psychology > > > University of Central Florida- Hide quoted text - > > > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From erikkwing at gmail.com Mon Feb 4 22:12:45 2013 From: erikkwing at gmail.com (ekwing) Date: Mon, 4 Feb 2013 14:12:45 -0800 Subject: Using a timed Slide Duration (e.g. 5000 ms) on a slide with multiple slide states In-Reply-To: <9754952c-c2a3-42b8-b1aa-9fcdc6240076@googlegroups.com> Message-ID: OP here. I figured I would update this post with my PST Support conversation so far. As of now, it remains unresolved: please see below. Best, ekwing _______________________________________ Dear ekwing, I would be happy to help. I have attached a modified version of your experiment(.es2) file that I believe solves this issue. I have created a variable in the experiment called ?endtime?. This variable is in charge of the time limit for the selection of stimuli. If you open your Init InLine object, you can see where the ?endtime? variable is created and set. Then, if you open the DoHitTest InLine object, you can see how the ?endtime? variable is implemented. In this experiment, it is placed into a simple ?If?Then? statement. This ?If?Then? statement compares the current time (clock.read) to the ?endtime? variable. If this portion of the experiment runs longer than the amount of time set by the ?endtime? variable, then the experiment is set to go to the ?EndStimulus? label. Please let me know if you have any other questions after taking a look at this sample experiment. Sincerely, ################ Technical Consultant *From ekwing on 2/4/2013 4:59:00 PM* Hi #######, Thank you for helping me with this issue, however, I believe my problem remains unresolved. Simply running and testing the sample experiment you attached shows that the slide still does not advance after 5 seconds regardless of the selections made; that is, it persists to advance 5 seconds after a selection is made on the screen, not after the slide initially comes on. I'll try to phrase my issue another way. The main problem lies in the "Highlight Selection" inline code, where there is a large "if" statement that concludes with "Goto RedoTrial". The if statement codes for the selection of a stimulus, and then goes to Redotrial, allowing for the if statement to be activated again (i.e. allowing for the selection of the next stimulus). This process, however, resets the slide, and therefore also resets the slide timer, making the endtime variable you created no better than the slide duration set in the slide properties of the stimulus slide. What I need is for the slide to advance after 5 seconds from initially coming on the screen, not 5 seconds after the participant has made their latest selection. This would involve a work around for the "Goto RedoTrial" part of the code; I need something that allows the participant to make all 3 ratings on the same screen without the slide resetting (i.e. going to RedoTrial). Additionally, in the version of the study you provided, you commented out the following code: 'If the subject did not click on a box or the SlideText used to exit the trial, 'then loop back to the Stimulus so the subject can make another selection. 'If strHit = "Question" OR strHit = "State1" OR strHit = "State2" OR strHit = "" Then ' Goto RedoTrial This code is necessary for the study as well; if it is not there, the study will crash if the slide is clicked on anywhere but the text boxes. As you can see, this code involves "Goto Retrial" as well, and so it would have to be modified. Please feel free to email me (###########) if any further clarification is necessary or if that would be a quicker form of communication. I sincerely appreciate your help and apologize if my descriptions of the issue have not been as clear as they could be. Thanks again, ekwing On Thursday, January 24, 2013 11:14:54 AM UTC-7, ekwing wrote: > > Hi everyone, > > I made a related post about this issue a couple weeks ago (which saw no > activity), however I have progressed since then and wanted to make a new > post with the updated information. > > The goal of my current project is to create a slide which contains 3 > rating scales and allows participants to use the mouse to select one rating > on each scale before advancing after 5 seconds (regardless of whether all > ratings were made or not). The project is currently set up so that each > scale point is represented by an individual text box which becomes > activated (i.e. turns and remains a different color and logs data) when > clicked. > > Currently, everything about the slide is functional, with the exception of > advancing after 5 seconds. Because, I believe, there is a change in slide > state when a text box becomes "activated" (the participant makes a > selection), the 5 second slide duration resets every time a participant > makes a rating scale selection. This, in turn, results in the slide > advancing 5 seconds after the participant makes their final selection, > rather than advancing 5 seconds after the slide comes on the screen as > desired. > > As a secondary question, I was wondering if anyone with experience with > slide states had any problems with data collection (E-Prime logging and > Physio) or if you can foresee any problems I may run into using this > technique. > > I've had problems attaching files in the past, but will post the relevant > inline code that follows the stimulus slide below. Also, the stimulus > slide properties currently have Duration set to 5000ms, Timing Mode > is Cumulative, and a Mouse as a registered device with the following > properties: > > Allowable: 1 > Time limit: (Same as duration) > End Action: Terminate > > Thanks for any help you can provide, > ekwing > > *DOHIT TEST* > 'Designate "theState" as the Default Slide State, which is the > 'current ActiveState on the Slide object "Stimulus". > Dim theState as SlideState > Set theState = Stimulus.States("Default") > > Dim strHit As String > Dim theMouseResponseData As MouseResponseData > > 'Was there a response? > If Stimulus.InputMasks.Responses.Count < 1 Then > > Set theMouseResponseData = Nothing > > End If > > 'Was there a response? > If Stimulus.InputMasks.Responses.Count = 1 Then > > 'Get the mouse response. > Set theMouseResponseData = > CMouseResponseData(Stimulus.InputMasks.Responses(1)) > > 'Determine name of SlideText object at mouse click coordinates. Assign > that value to > 'strHit. > strHit = theState.HitTest(theMouseResponseData.CursorX, > theMouseResponseData.CursorY) > > ' Else > ' Set theMouseResponseData = Nothing > > End If > > 'Was there a response? > If Stimulus.InputMasks.Responses.Count = 2 Then > > 'Get the mouse response. > Set theMouseResponseData = > CMouseResponseData(Stimulus.InputMasks.Responses(2)) > > 'Determine name of SlideText object at mouse click coordinates. Assign > that value to > 'strHit. > strHit = theState.HitTest(theMouseResponseData.CursorX, > theMouseResponseData.CursorY) > > ' Else > ' Set theMouseResponseData = Nothing > > End If > > 'Was there a response? > If Stimulus.InputMasks.Responses.Count = 3 Then > > 'Get the mouse response. > Set theMouseResponseData = > CMouseResponseData(Stimulus.InputMasks.Responses(3)) > > 'Determine name of SlideText object at mouse click coordinates. Assign > that value to > 'strHit. > strHit = theState.HitTest(theMouseResponseData.CursorX, > theMouseResponseData.CursorY) > > ' Else > ' Set theMouseResponseData = Nothing > > End If > > 'If the subject did not click on a box or the SlideText used to exit the > trial, > 'then loop back to the Stimulus so the subject can make another selection. > 'If strHit = "Question" OR strHit = "State1" OR strHit = "State2" OR > strHit = "" Then > ' Goto RedoTrial > 'End If > > 'Release references > 'Set theMouseResponseData = Nothing > > *HIGHLIGHT SELECTION* > 'Declare SlideText variable used for modifying box properties. > Dim xSlide As SlideText > > 'Declare string for holding the name of the Row the box clicked is in. > Dim strRow As String > > 'Declare variables for storing subject's final rating. > Dim intRating1 As Integer, intRating2 As Integer, intRating3 As Integer > > If Stimulus.InputMasks.Responses.Count > 0 Then > > 'Gain access to selected box. > Set xSlide = CSlideText(Stimulus.States.Item("Default").Objects(strHit)) > > 'Store the name of the row the box was clicked in. This Mid function > will return > 'the first 4 characters of strHit (the name of the box) and store them > in strRow > strRow = Mid(strHit, 1, 4) > Select Case strRow > Case "Row1" > > 'If a box in this row has not yet been selected... > If R1 = False Then > > 'Highlight this box and set R1 to true (a box in this row has now been > selected) > xSlide.BackColor = CColor("yellow") > R1 = True > > 'Return the final character in strHit (the digit) as subject's rating for > this > 'row. > intRating1 = CInt(Mid(strHit, 5, 1)) > > 'If a box in this row has been selected... > Else > > 'If this is the box that has already been selected, reset the color and > set R1 > 'to false (a box in this row has not been selected). Otherwise, do nothing. > If xSlide.BackColor = CColor("yellow") Then > xSlide.BackColor = CColor("green") > R1 = False > End If > > End If > > Case "Row2" > > 'If a box in this row has not yet been selected... > If R2 = False Then > > 'Highlight this box and set R2 to true (a box in this row has now been > selected) > xSlide.BackColor = CColor("yellow") > R2 = True > > 'Return the final character in strHit (the digit) as subject's rating for > this > 'row. > intRating2 = CInt(Mid(strHit, 5, 1)) > > 'If a box in this row has been selected... > Else > > 'If this is the box that has already been selected, reset the color and > set R2 > 'to false (a box in this row has not been selected). Otherwise, do nothing. > If xSlide.BackColor = CColor("yellow") Then > xSlide.BackColor = CColor("green") > R2 = False > End If > > End If > > > Case "Row3" > > 'If a box in this row has not yet been selected... > If R3 = False Then > > 'Highlight this box and set R3 to true (a box in this row has now been > selected) > xSlide.BackColor = CColor("yellow") > R3 = True > > 'Return the final character in strHit (the digit) as subject's rating for > this > 'row. > intRating3 = CInt(Mid(strHit, 5, 1)) > > 'If a box in this row has been selected... > Else > > 'If this is the box that has already been selected, reset the color and > set R3 > 'to false (a box in this row has not been selected). Otherwise, do nothing. > If xSlide.BackColor = CColor("yellow") Then > xSlide.BackColor = CColor("green") > R3 = False > End If > > End If > End Select > > Goto RedoTrial > > ' Else > 'If R1 = False Or R2 = False OR R3 = False Then > ' Goto EndStimulus > > ' End If > > End If > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/niZqw7lAFroJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From logan.mckinley at gmail.com Tue Feb 5 21:55:30 2013 From: logan.mckinley at gmail.com (Logan) Date: Tue, 5 Feb 2013 13:55:30 -0800 Subject: output stimuli and timing from an e-prime exeperiment Message-ID: I am brand new to E-Prime, so i apologize in advance for such a simple question. I think what i need to do is very simple. I simply want to be able to export a list of when each stimuli was shown when and for how long. Basically, i am collecting data with a system that cannot accept triggers and as far as i can tell doesn't have any other way to interface with EPrime directly. It is running on the same system though and does timestamp everything with UTC time, so i was hoping i could just run them both at the same time and then get the presentation times from from E-Prime and add that data to the output file. If possible i would like to export the experiment timing to a file so i can automate the process. Thanks, ~Logan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/oCAEsuiGl7QJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahuvayochevedsegal at gmail.com Wed Feb 6 02:43:41 2013 From: ahuvayochevedsegal at gmail.com (gugs) Date: Tue, 5 Feb 2013 18:43:41 -0800 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: <50cb436a.e696320a.1684.4900SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David I have been looking for training options regarding EPrime and realised that you have put together an online course. Since i am familiar with the basic structure/workings of Eprime, does the course cover critical timing, use of cumulative/event timing and so on? Ahuva On Saturday, December 15, 2012 2:19:03 AM UTC+11, McFarlane, David wrote: > > PreRelease? > > At 12/13/2012 10:22 PM Thursday, you wrote: > >Hi David > > > >The stimulus appears on the screen for 300 ms, followed by a blank > >screen for 1200 seconds (for a total of 1500 ms). > > > >Therefore the settings are as follows: > > > >1. stimulus screen has the correct properties timing mode > >(cumulative), data logging (standard), duration (300), Time Limit > >(1200), End Action (none) > >2.stimuluswait screen has the correct properties timing mode > >(cumulative), data logging (time audit only), duration (1200) > > > >I want the stimulus and blank screens to remain standard across the > >task regardless of whether the participant has responded or > >not. The next stimulus should begin after the 1200 ms blank screen > >without user intervention. > > > >Regards. > > > > > >On Friday, December 14, 2012 2:16:14 PM UTC+11, gugs wrote: > >Thanks. I lost my computer to repairs this week but as soon as I get > >it back I will try these suggestions. I'll let you know how it goes. > > > >Many 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/msg/e-prime/-/CZgPgVZ52zgJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.giofre at gmail.com Wed Feb 6 09:47:58 2013 From: david.giofre at gmail.com (=?UTF-8?Q?David_Giofr=C3=A8?=) Date: Wed, 6 Feb 2013 01:47:58 -0800 Subject: Windows 8 and E-prime 2 In-Reply-To: <50fec42a.9307320a.0af1.79b4SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Dear David, thank you so much for your kind reply! -- David Giofr? Ph.D student 8 Via Venezia 35131 Padova (Italy) tel +39 (049) 827-6617 Department of General Psychology University of Padova http://wmlabs.psy.unipd.it/people/giofre.html http://www.psy.unipd.it/~giofre/cms On Tuesday, January 22, 2013 5:53:56 PM UTC+1, McFarlane, David wrote: > > I have not tried EP under Win8 myself, but > according to > http://www.pstnet.com/support/kb.asp?TopicID=4026 > , this combination is "Not recommended as of this > writing." In addition, while responding to some > notes I made regarding the latest EP2, PST Web > Support staff told me just yesterday, "We have > had reports of E-Prime functioning on Windows 8 > machines. However, we haven't done any testing on > 8 so leaving it as 'doesn't work' is probably OK.". > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > At 1/21/2013 07:02 AM Monday, David Giofr?? wrote: > >Hi guys, > >I need to run an experiment in a laptop with Windows 8. > >Is Windows 8 supported by e-prime 2? > > > >Has anybody tried it? > > > >Thank you all, > >David > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/Rm3xNUtdzi4J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cameron.t.ellis at hotmail.com Wed Feb 6 23:16:06 2013 From: cameron.t.ellis at hotmail.com (Cameron Ellis) Date: Wed, 6 Feb 2013 15:16:06 -0800 Subject: User changing attributes Message-ID: Hi there, I am currently making a programme in which I have set up a number of attributes that I want the participant to be able to change mid schedule. I have tried two strategies to achieve this but both have failed. I will detail both them below. The first is to use inline code: Dim t, v, d as integer t% = Answerbox ("Are you happy with the speed and size of stimuli?", "No", "Yes") If t<1 Then v% = Answerbox("Select your new speed", "Fast", "Medium", "Slow" ) MsgBox "Your new speed is" & v% d% = Answerbox("Select your new circle size", "Small", "Medium", "Large" ) MsgBox "Your new circle size is" & d% c.SetAttrib"speed1", 12.5*"d%" c.SetAttrib"Circle", 5*"d%" Sleep 2000 Else Sleep 2000 End So I want the program to ask a question initially to see whether the participant wants to change the setting using Answerbox. If they are happy the program should finish. If they are not fine with them then I would like to ask two questions that enable them to change the values of v and d. These variables are then used to set the attributes for speed1 and Circle. The error that I get is that the identifier is already a variable in the first line The second strategy I used was to create a Textdisplay asking for inputs. The display records the information correctly and I have set up an echo too. The problem I have is assigning the input to the attributes. So how do I make it that when the participant enters 15 into the text display this assigns [Circle] to that value? I have tried one solution using inline as follows. Dim a as integer CInt(TextDisplay3.Name & ".RESP")=a c.SetAttrib"Circle", a As I understand it, TextDisplay3.Name & ".RESP" is the string for the response in the previous slide. By making it an integer I can then use c.SetAttrib to change the value of a circle. However I get the error that I cannot assign to a constant in the second line. Help on either method would be greatly appreciated, Thank you, Cameron -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/HcX-oI12tIYJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pquain at une.edu.au Thu Feb 7 01:40:45 2013 From: pquain at une.edu.au (Peter Quain) Date: Thu, 7 Feb 2013 12:40:45 +1100 Subject: Labeling EEG Triggers In-Reply-To: Message-ID: An example using native parallel port (Decimal address = 88, therefore Hex address 378) to send bytes to a NeuroScan system using Hex notation (&H...), which would appear in NeuroScan .cnt file as trigger codes 1 to 10: ' assess item level and send appropriate trigger code to NuAmps If c.GetAttrib ("numobs") = 1 then WritePort &H378, &H1 elseif c.GetAttrib ("numobs") = 2 then WritePort &H378, &H2 elseif c.GetAttrib ("numobs") = 3 then WritePort &H378, &H3 elseif c.GetAttrib ("numobs") = 4 then WritePort &H378, &H4 elseif c.GetAttrib ("numobs") = 5 then WritePort &H378, &H5 elseif c.GetAttrib ("numobs") = 6 then WritePort &H378, &H6 elseif c.GetAttrib ("numobs") = 7 then WritePort &H378, &H7 elseif c.GetAttrib ("numobs") = 8 then WritePort &H378, &H8 elseif c.GetAttrib ("numobs") = 9 then WritePort &H378, &H9 elseif c.GetAttrib ("numobs") = 10 then WritePort &H378, &HA End If ... here is a conversion tool: http://easycalculation.com/hex-converter.php At 12:23 PM 7/02/2013, you wrote: >Hi All, > >I am using inline code (WritePort) in Eprime2 to send triggers from >the test computer to an EEG computer. > >I would like to add a label to each trigger that specifies what type >of trial that specific trigger is associated with (there are several >levels to several variables). Does anyone have any insight for how I >might go about doing this? > >Thank you in advance! >M > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To unsubscribe from this group and stop receiving emails from it, >send an email to e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msg/e-prime/-/BEjt5C5n6n8J. >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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mtvinski at gmail.com Thu Feb 7 01:23:03 2013 From: mtvinski at gmail.com (mvinski) Date: Wed, 6 Feb 2013 17:23:03 -0800 Subject: Labeling EEG Triggers Message-ID: Hi All, I am using inline code (WritePort) in Eprime2 to send triggers from the test computer to an EEG computer. I would like to add a label to each trigger that specifies what type of trial that specific trigger is associated with (there are several levels to several variables). Does anyone have any insight for how I might go about doing this? Thank you in advance! M -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/BEjt5C5n6n8J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From adeline.paignon at univ-savoie.fr Thu Feb 7 10:34:40 2013 From: adeline.paignon at univ-savoie.fr (Adeline) Date: Thu, 7 Feb 2013 02:34:40 -0800 Subject: nested procedure Message-ID: Hi, i'm trying to use unreferenced procedure to reduce my script, but I have a problem in put the two procedures in context. The experiment consist in presenting 20 stimuli associated with 40 number randomly presented. For each of my stimulus I have 2 procedure : the first consist to evaluate the stimulus = proc1 the second to choose between the 40 number, the best = proc2 to do this I create a designlist where I want to affect the procedure in procedure column by using [proc1] and [proc2]., so the procedure were put in unerefenced Eobjet. For each stimuli I call the 2 procedure sequentially. proc1 and proc2 It runs well if I have only 1 procedure in unreferenced , but not run if I have the 2 procedure . Eprime says : can't resolve [proc1] in this context Can someone help me ? 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/msg/e-prime/-/hBL4yY7MVtQJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mtvinski at gmail.com Thu Feb 7 14:11:43 2013 From: mtvinski at gmail.com (Melaina Vinski) Date: Thu, 7 Feb 2013 09:11:43 -0500 Subject: Labeling EEG Triggers In-Reply-To: <51130674.ea64320a.489a.71e7@mx.google.com> Message-ID: Thank you for your quick reply! We are using a serial port - do these instructions follow for serial ports as well? Also, if I want to include more than 1 condition to label the trigger (so not just "numbos", but also "type" for example), would I be okay with using: elseif c.GetAttrib ("numobs") = 10 and c.GetAttrib ("type") = 3 then ** **** **WritePort &H378, &HA Thank you kindly in advance - I appreciate the help! M On Wed, Feb 6, 2013 at 8:42 PM, Alphonse Stickle wrote: > > .. for clarity sake, sorry, typo - Decimal address = 888, not 88 > > > At 12:40 PM 7/02/2013, you wrote: > > > An example using native parallel port (Decimal address = 88, therefore Hex > address 378) to send bytes to a NeuroScan system using Hex notation > (&H...), which would appear in NeuroScan .cnt file as trigger codes 1 to 10: > > ' assess item level and** **send appropriate trigger code to NuAmps > If c.GetAttrib ("numobs") = 1 then > ** **** **WritePort &H378, &H1 > > ** **elseif c.GetAttrib ("numobs") = 2 then > ** **** **WritePort &H378, &H2 > > ** **elseif c.GetAttrib ("numobs") = 3 then > ** **** **WritePort &H378, &H3 > > ** **elseif c.GetAttrib ("numobs") = 4 then > ** **** **WritePort &H378, &H4 > > ** **elseif c.GetAttrib ("numobs") = 5 then > ** **** **WritePort &H378, &H5 > > ** **elseif c.GetAttrib ("numobs") = 6 then > ** **** **WritePort &H378, &H6 > > ** **elseif c.GetAttrib ("numobs") = 7 then > ** **** **WritePort &H378, &H7 > > ** **elseif c.GetAttrib ("numobs") = 8 then > ** **** **WritePort &H378, &H8 > > ** **elseif c.GetAttrib ("numobs") = 9 then > ** **** **WritePort &H378, &H9 > > ** **elseif c.GetAttrib ("numobs") = 10 then > ** **** **WritePort &H378, &HA > End If > > ... here is a conversion tool: > > http://easycalculation.com/hex-converter.php > > At 12:23 PM 7/02/2013, you wrote: > > Hi All, > > I am using inline code (WritePort) in Eprime2 to send triggers from the > test computer to an EEG computer. > > I would like to add a label to each trigger that specifies what type of > trial that specific trigger is associated with (there are several levels to > several variables). Does anyone have any insight for how I might go about > doing this? > > Thank you in advance! > M > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/BEjt5C5n6n8J. > 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. > 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. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Melaina T. Vinski MSc Candidate Psychology, Neuroscience & Behavior Cognitive Sciences Lab McMaster University 905-525-9140 ext. 22853 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alphonse.stickle at gmail.com Thu Feb 7 01:42:03 2013 From: alphonse.stickle at gmail.com (Alphonse Stickle) Date: Thu, 7 Feb 2013 12:42:03 +1100 Subject: Labeling EEG Triggers In-Reply-To: <201302070140.r171eml5003618@mail14.tpg.com.au> Message-ID: .. for clarity sake, sorry, typo - Decimal address = 888, not 88 At 12:40 PM 7/02/2013, you wrote: >An example using native parallel port (Decimal address = 88, >therefore Hex address 378) to send bytes to a NeuroScan system using >Hex notation (&H...), which would appear in NeuroScan .cnt file as >trigger codes 1 to 10: > >' assess item level and send appropriate trigger code to NuAmps >If c.GetAttrib ("numobs") = 1 then > WritePort &H378, &H1 > > elseif c.GetAttrib ("numobs") = 2 then > WritePort &H378, &H2 > > elseif c.GetAttrib ("numobs") = 3 then > WritePort &H378, &H3 > > elseif c.GetAttrib ("numobs") = 4 then > WritePort &H378, &H4 > > elseif c.GetAttrib ("numobs") = 5 then > WritePort &H378, &H5 > > elseif c.GetAttrib ("numobs") = 6 then > WritePort &H378, &H6 > > elseif c.GetAttrib ("numobs") = 7 then > WritePort &H378, &H7 > > elseif c.GetAttrib ("numobs") = 8 then > WritePort &H378, &H8 > > elseif c.GetAttrib ("numobs") = 9 then > WritePort &H378, &H9 > > elseif c.GetAttrib ("numobs") = 10 then > WritePort &H378, &HA >End If > >... here is a conversion tool: > >http://easycalculation.com/hex-converter.php > >At 12:23 PM 7/02/2013, you wrote: >>Hi All, >> >>I am using inline code (WritePort) in Eprime2 to send triggers from >>the test computer to an EEG computer. >> >>I would like to add a label to each trigger that specifies what >>type of trial that specific trigger is associated with (there are >>several levels to several variables). Does anyone have any insight >>for how I might go about doing this? >> >>Thank you in advance! >>M >> >>-- >>You received this message because you are subscribed to the Google >>Groups "E-Prime" group. >>To unsubscribe from this group and stop receiving emails from it, >>send an email to e-prime+unsubscribe at googlegroups.com. >>To post to this group, send email to e-prime at googlegroups.com. >>To view this discussion on the web visit >>https://groups.google.com/d/msg/e-prime/-/BEjt5C5n6n8J. >>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. >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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Wed Feb 6 22:25:09 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 6 Feb 2013 17:25:09 -0500 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: Message-ID: Gugs, Yes, the course does cover the essentials of critical timing, including use of cumulative/event timing, etc. Whether you take the course or not, you should also look at the "Critical Timing" chapter in the E-Prime User's Guide (chapter 3 in the first edition, ch. 4 (& severely abbreviated) in the new edition). Although you are already familiar with the basic structure/workings of E-Prime, you may also find that the course fills in some details, and "best practices". I will send you separately a .pdf of the course syllabus. If you have any more questions, please contact me privately, using the address you find for me on Google Groups, or the address you may find by following the course link below. Thank you. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 2/5/2013 09:43 PM Tuesday, you wrote: >Hi David > >I have been looking for training options regarding EPrime and >realised that you have put together an online course. Since i am >familiar with the basic structure/workings of Eprime, does the >course cover critical timing, use of cumulative/event timing and so on? > >Ahuva > >On Saturday, December 15, 2012 2:19:03 AM UTC+11, McFarlane, David wrote: >PreRelease? > >At 12/13/2012 10:22 PM Thursday, you wrote: > >Hi David > > > >The stimulus appears on the screen for 300 ms, followed by a blank > >screen for 1200 seconds (for a total of 1500 ms). > > > >Therefore the settings are as follows: > > > >1. stimulus screen has the correct properties timing mode > >(cumulative), data logging (standard), duration (300), Time Limit > >(1200), End Action (none) > >2.stimuluswait screen has the correct properties timing mode > >(cumulative), data logging (time audit only), duration (1200) > > > >I want the stimulus and blank screens to remain standard across the > >task regardless of whether the participant has responded or > >not. The next stimulus should begin after the 1200 ms blank screen > >without user intervention. > > > >Regards. > > > > > >On Friday, December 14, 2012 2:16:14 PM UTC+11, gugs wrote: > >Thanks. I lost my computer to repairs this week but as soon as I get > >it back I will try these suggestions. I'll let you know how it goes. > > > >Many 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. For more options, visit https://groups.google.com/groups/opt_out. From pquain at une.edu.au Thu Feb 7 21:50:43 2013 From: pquain at une.edu.au (Peter Quain) Date: Fri, 8 Feb 2013 08:50:43 +1100 Subject: Labeling EEG Triggers In-Reply-To: Message-ID: I've never used serial device. Sure, you can write to it, but I think what you write will depend on how your EEG system is designed to receive event information (detailed in its manual?). Others who know these things will have to help. Maybe look in e-basic help, for "SerialDevice Object (topic)" Or search this group for serial port ... here is a post by David McFarlane, for example, who obviously knows of these things: https://www.pstnet.com/forum/Topic4793-8-1.aspx#bm4801 A couple of examples from google search of e-prime code to interface with different external systems through serial port: http://www.mindmedia.nl/CMS/en/support/knowledge-base/item/272-how-to-run-an-e-prime-project-by-using-the-nti.html http://www.cedrus.com/support/stimtracker/tn1411_eprime.htm good luck At 01:11 AM 8/02/2013, you wrote: >Thank you for your quick reply! We are using a serial port - do >these instructions follow for serial ports as well? > >Also, if I want to include more than 1 condition to label the >trigger (so not just "numbos", but also "type" for example), would I >be okay with using: > >elseif c.GetAttrib ("numobs") = 10 > and c.GetAttrib ("type") = 3 then > WritePort &H378, &HA > >Thank you kindly in advance - I appreciate the help! > >M > > > > >On Wed, Feb 6, 2013 at 8:42 PM, Alphonse Stickle ><alphonse.stickle at gmail.com> wrote: > >.. for clarity sake, sorry, typo - Decimal address = 888, not 88 > > >At 12:40 PM 7/02/2013, you wrote: > > >>An example using native parallel port (Decimal address = 88, >>therefore Hex address 378) to send bytes to a NeuroScan system >>using Hex notation (&H...), which would appear in NeuroScan .cnt >>file as trigger codes 1 to 10: >> >>' assess item level and send appropriate trigger code to NuAmps >>If c.GetAttrib ("numobs") = 1 then >> WritePort &H378, &H1 >> >> elseif c.GetAttrib ("numobs") = 2 then >> WritePort &H378, &H2 >> >> elseif c.GetAttrib ("numobs") = 3 then >> WritePort &H378, &H3 >> >> elseif c.GetAttrib ("numobs") = 4 then >> WritePort &H378, &H4 >> >> elseif c.GetAttrib ("numobs") = 5 then >> WritePort &H378, &H5 >> >> elseif c.GetAttrib ("numobs") = 6 then >> WritePort &H378, &H6 >> >> elseif c.GetAttrib ("numobs") = 7 then >> WritePort &H378, &H7 >> >> elseif c.GetAttrib ("numobs") = 8 then >> WritePort &H378, &H8 >> >> elseif c.GetAttrib ("numobs") = 9 then >> WritePort &H378, &H9 >> >> elseif c.GetAttrib ("numobs") = 10 then >> WritePort &H378, &HA >>End If >> >>... here is a conversion tool: >> >>http://easycalculation.com/hex-converter.php >> >>At 12:23 PM 7/02/2013, you wrote: >>>Hi All, >>> >>>I am using inline code (WritePort) in Eprime2 to send triggers >>>from the test computer to an EEG computer. >>> >>>I would like to add a label to each trigger that specifies what >>>type of trial that specific trigger is associated with (there are >>>several levels to several variables). Does anyone have any insight >>>for how I might go about doing this? >>> >>>Thank you in advance! >>>M >>> >>>-- >>>You received this message because you are subscribed to the Google >>>Groups "E-Prime" group. >>>To unsubscribe from this group and stop receiving emails from it, >>>send an email to >>>e-prime+unsubscribe at googlegroups.com. >>>To post to this group, send email to >>>e-prime at googlegroups.com. >>>To view this discussion on the web visit >>>https://groups.google.com/d/msg/e-prime/-/BEjt5C5n6n8J. >>>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. >>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. >For more options, visit >https://groups.google.com/groups/opt_out. > > > > > > >-- >Melaina T. Vinski >MSc Candidate >Psychology, Neuroscience & Behavior >Cognitive Sciences Lab >McMaster University >905-525-9140 ext. 22853 > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To unsubscribe from this group and stop receiving emails from it, >send an email to e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to e-prime at googlegroups.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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mtvinski at gmail.com Fri Feb 8 03:40:58 2013 From: mtvinski at gmail.com (Melaina Vinski) Date: Thu, 7 Feb 2013 22:40:58 -0500 Subject: Labeling EEG Triggers In-Reply-To: <201302072150.r17LolkE010644@mail5.tpg.com.au> Message-ID: Thank you for your insights Peter! On Thu, Feb 7, 2013 at 4:50 PM, Peter Quain wrote: > > I've never used serial device. Sure, you can write to it, but I think * > what* you write will depend on how your EEG system is designed to receive > event information (detailed in its manual?). Others who know these things > will have to help. > > Maybe look in e-basic help, for "SerialDevice Object (topic)" > > Or search this group for serial port ... here is a post by David > McFarlane, for example, who obviously knows of these things: > > https://www.pstnet.com/forum/Topic4793-8-1.aspx#bm4801 > > A couple of examples from google search of e-prime code to interface with > different external systems through serial port: > > http://www.mindmedia.nl/CMS/en/support/knowledge-base/item/272-how-to-run-an-e-prime-project-by-using-the-nti.html > > http://www.cedrus.com/support/stimtracker/tn1411_eprime.htm > > good luck > > > > At 01:11 AM 8/02/2013, you wrote: > > Thank you for your quick reply! We are using a serial port - do these > instructions follow for serial ports as well? > > Also, if I want to include more than 1 condition to label the trigger (so > not just "numbos", but also "type" for example), would I be okay with using: > > elseif c.GetAttrib ("numobs") = 10 > and c.GetAttrib ("type") = 3 then > WritePort &H378, &HA > > Thank you kindly in advance - I appreciate the help! > > M > > > > > On Wed, Feb 6, 2013 at 8:42 PM, Alphonse Stickle > wrote: > > .. for clarity sake, sorry, typo - Decimal address = 888, not 88 > > > At 12:40 PM 7/02/2013, you wrote: > > > An example using native parallel port (Decimal address = 88, therefore > Hex address 378) to send bytes to a NeuroScan system using Hex notation > (&H...), which would appear in NeuroScan .cnt file as trigger codes 1 to 10: > > ' assess item level and send appropriate trigger code to NuAmps > If c.GetAttrib ("numobs") = 1 then > WritePort &H378, &H1 > > elseif c.GetAttrib ("numobs") = 2 then > WritePort &H378, &H2 > > elseif c.GetAttrib ("numobs") = 3 then > WritePort &H378, &H3 > > elseif c.GetAttrib ("numobs") = 4 then > WritePort &H378, &H4 > > elseif c.GetAttrib ("numobs") = 5 then > WritePort &H378, &H5 > > elseif c.GetAttrib ("numobs") = 6 then > WritePort &H378, &H6 > > elseif c.GetAttrib ("numobs") = 7 then > WritePort &H378, &H7 > > elseif c.GetAttrib ("numobs") = 8 then > WritePort &H378, &H8 > > elseif c.GetAttrib ("numobs") = 9 then > WritePort &H378, &H9 > > elseif c.GetAttrib ("numobs") = 10 then > WritePort &H378, &HA > End If > > ... here is a conversion tool: > > http://easycalculation.com/hex-converter.php > > At 12:23 PM 7/02/2013, you wrote: > > Hi All, > > I am using inline code (WritePort) in Eprime2 to send triggers from the > test computer to an EEG computer. > > I would like to add a label to each trigger that specifies what type of > trial that specific trigger is associated with (there are several levels to > several variables). Does anyone have any insight for how I might go about > doing this? > > Thank you in advance! > M > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com . > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/BEjt5C5n6n8J. > 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 . > 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 . > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > > -- > Melaina T. Vinski > MSc Candidate > Psychology, Neuroscience & Behavior > Cognitive Sciences Lab > McMaster University > 905-525-9140 ext. 22853 > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.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. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Melaina T. Vinski MSc Candidate Psychology, Neuroscience & Behavior Cognitive Sciences Lab McMaster University 905-525-9140 ext. 22853 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Feb 8 21:11:45 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 8 Feb 2013 16:11:45 -0500 Subject: Labeling EEG Triggers In-Reply-To: <201302072150.r17LolkE010644@mail5.tpg.com.au> Message-ID: If you use the latest version of EP2, then I highly recommend looking into the new Task Events feature, see http://www.pstnet.com/support/kb.asp?TopicID=4803 or the New Features Guide. ----- 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 2/7/2013 04:50 PM Thursday, Peter Quain wrote: >I've never used serial device. Sure, you can write to it, but I >think what you write will depend on how your EEG system is designed >to receive event information (detailed in its manual?). Others who >know these things will have to help. > >Maybe look in e-basic help, for "SerialDevice Object (topic)" > >Or search this group for serial port ... here is a post by David >McFarlane, for example, who obviously knows of these things: > >https://www.pstnet.com/forum/Topic4793-8-1.aspx#bm4801 > >A couple of examples from google search of e-prime code to interface >with different external systems through serial port: > >http://www.mindmedia.nl/CMS/en/support/knowledge-base/item/272-how-to-run-an-e-prime-project-by-using-the-nti.html > >http://www.cedrus.com/support/stimtracker/tn1411_eprime.htm > >good luck > > >At 01:11 AM 8/02/2013, you wrote: >>Thank you for your quick reply! We are using a serial port - do >>these instructions follow for serial ports as well? >> >>Also, if I want to include more than 1 condition to label the >>trigger (so not just "numbos", but also "type" for example), would >>I be okay with using: >> >>elseif c.GetAttrib ("numobs") = 10 >> and c.GetAttrib ("type") = 3 then >> WritePort &H378, &HA >> >>Thank you kindly in advance - I appreciate the help! >> >>M >> >> >> >> >>On Wed, Feb 6, 2013 at 8:42 PM, Alphonse Stickle >>< alphonse.stickle at gmail.com> wrote: >>.. for clarity sake, sorry, typo - Decimal address = 888, not 88 >> >>At 12:40 PM 7/02/2013, you wrote: >> >> >>>An example using native parallel port (Decimal address = 88, >>>therefore Hex address 378) to send bytes to a NeuroScan system >>>using Hex notation (&H...), which would appear in NeuroScan .cnt >>>file as trigger codes 1 to 10: >>>' assess item level and send appropriate trigger code to NuAmps >>>If c.GetAttrib ("numobs") = 1 then >>> WritePort &H378, &H1 >>> elseif c.GetAttrib ("numobs") = 2 then >>> WritePort &H378, &H2 >>> elseif c.GetAttrib ("numobs") = 3 then >>> WritePort &H378, &H3 >>> elseif c.GetAttrib ("numobs") = 4 then >>> WritePort &H378, &H4 >>> elseif c.GetAttrib ("numobs") = 5 then >>> WritePort &H378, &H5 >>> elseif c.GetAttrib ("numobs") = 6 then >>> WritePort &H378, &H6 >>> elseif c.GetAttrib ("numobs") = 7 then >>> WritePort &H378, &H7 >>> elseif c.GetAttrib ("numobs") = 8 then >>> WritePort &H378, &H8 >>> elseif c.GetAttrib ("numobs") = 9 then >>> WritePort &H378, &H9 >>> elseif c.GetAttrib ("numobs") = 10 then >>> WritePort &H378, &HA >>>End If >>>... here is a conversion tool: >>> >>>http://easycalculation.com/hex-converter.php >>>At 12:23 PM 7/02/2013, you wrote: >>>>Hi All, >>>>I am using inline code (WritePort) in Eprime2 to send triggers >>>>from the test computer to an EEG computer. >>>>I would like to add a label to each trigger that specifies what >>>>type of trial that specific trigger is associated with (there are >>>>several levels to several variables). Does anyone have any >>>>insight for how I might go about doing this? >>>> >>>>Thank you in advance! >>>>M -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From schizophrenicdan at gmail.com Fri Feb 8 23:49:09 2013 From: schizophrenicdan at gmail.com (Daniel) Date: Fri, 8 Feb 2013 15:49:09 -0800 Subject: Converting an Edat file into either a .xls or .txt file Message-ID: I have a large number of subject edat files (500+) and I like the column/row format that the Excel export option that E-DataAid uses so that I can easily convert the data into a format I like using spss syntax. Is there a faster way to convert all of these subject files into the excel format, some sort of way to iterate over all files in a folder, instead of having to open each one and export them separately? 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/msg/e-prime/-/zE-DSO5ONL8J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From schizophrenicdan at gmail.com Sat Feb 9 00:01:05 2013 From: schizophrenicdan at gmail.com (Daniel) Date: Fri, 8 Feb 2013 16:01:05 -0800 Subject: Converting an Edat file into either a .xls or .txt file In-Reply-To: Message-ID: Is there a way to do this that keeps each subject file separate? On Friday, February 8, 2013 6:50:52 PM UTC-5, Paul Groot wrote: > > try E-Merge... > > paul > > On 9 February 2013 00:49, Daniel >wrote: > >> I have a large number of subject edat files (500+) and I like the >> column/row format that the Excel export option that E-DataAid uses so that >> I can easily convert the data into a format I like using spss syntax. Is >> there a faster way to convert all of these subject files into the excel >> format, some sort of way to iterate over all files in a folder, instead of >> having to open each one and export them separately? >> >> 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+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/msg/e-prime/-/zE-DSO5ONL8J. >> 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/msg/e-prime/-/60ieSH50aEUJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From schizophrenicdan at gmail.com Sat Feb 9 00:00:06 2013 From: schizophrenicdan at gmail.com (Daniel) Date: Fri, 8 Feb 2013 16:00:06 -0800 Subject: Converting an Edat file into either a .xls or .txt file In-Reply-To: <470eabc1-02a8-46aa-8dc8-f42690d31675@googlegroups.com> Message-ID: Is there a way to do this that keeps each subject file separate but in an excel format? On Friday, February 8, 2013 6:49:09 PM UTC-5, Daniel wrote: > > I have a large number of subject edat files (500+) and I like the > column/row format that the Excel export option that E-DataAid uses so that > I can easily convert the data into a format I like using spss syntax. Is > there a faster way to convert all of these subject files into the excel > format, some sort of way to iterate over all files in a folder, instead of > having to open each one and export them separately? > > 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/msg/e-prime/-/dv3_THsJjm8J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Feb 8 21:07:09 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 8 Feb 2013 16:07:09 -0500 Subject: Labeling EEG Triggers In-Reply-To: <201302070140.r171eml5003618@mail14.tpg.com.au> Message-ID: PMJI, but for the record, I think you could replace that particular block of If-Then-ElseIf with just WritePort &h378, c.GetAttrib("numobs") Of course, that works because of the regularities in this particular example, for more arbitrary mappings you might still need the If-Then-ElseIf, or put the mapping into an array and do something like WritePort &h378, MapArray( CInt(c.GetAttrib("numobs")) ) -- David McFarlane At 2/6/2013 08:40 PM Wednesday, Peter Quain wrote: >An example using native parallel port (Decimal address = 88, >therefore Hex address 378) to send bytes to a NeuroScan system using >Hex notation (&H...), which would appear in NeuroScan .cnt file as >trigger codes 1 to 10: > >' assess item level and send appropriate trigger code to NuAmps >If c.GetAttrib ("numobs") = 1 then > WritePort &H378, &H1 > > elseif c.GetAttrib ("numobs") = 2 then > WritePort &H378, &H2 > > elseif c.GetAttrib ("numobs") = 3 then > WritePort &H378, &H3 > > elseif c.GetAttrib ("numobs") = 4 then > WritePort &H378, &H4 > > elseif c.GetAttrib ("numobs") = 5 then > WritePort &H378, &H5 > > elseif c.GetAttrib ("numobs") = 6 then > WritePort &H378, &H6 > > elseif c.GetAttrib ("numobs") = 7 then > WritePort &H378, &H7 > > elseif c.GetAttrib ("numobs") = 8 then > WritePort &H378, &H8 > > elseif c.GetAttrib ("numobs") = 9 then > WritePort &H378, &H9 > > elseif c.GetAttrib ("numobs") = 10 then > WritePort &H378, &HA >End If > >... here is a conversion tool: > >http://easycalculation.com/hex-converter.php > >At 12:23 PM 7/02/2013, you wrote: >>Hi All, >> >>I am using inline code (WritePort) in Eprime2 to send triggers from >>the test computer to an EEG computer. >> >>I would like to add a label to each trigger that specifies what >>type of trial that specific trigger is associated with (there are >>several levels to several variables). Does anyone have any insight >>for how I might go about doing this? >> >>Thank you in advance! >>M -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From ajdawson57 at gmail.com Mon Feb 11 03:37:39 2013 From: ajdawson57 at gmail.com (Abigail Dawson) Date: Sun, 10 Feb 2013 19:37:39 -0800 Subject: Problem drawing random images from nested lists In-Reply-To: <61d188be-cc1b-4558-904e-a4e1c8650782@googlegroups.com> Message-ID: I am also wondering whether there is a way to show what trial number the participant is on, if the trials have been randomized (so they can know when they are halfway through, etc). Thanks again, Abi On Monday, February 11, 2013 4:28:38 PM UTC+13, Abigail Dawson wrote: > Hello, > > I am running a paradigm where I want two images to show side by side on > the same slide, one neutral and one either positive or negative, and I want > to balance which side the images appear on (e.g. neutral is on the left > half the time). In order to do this I have created a slide with 2 slide > states, and a trial list with 36 trials, half of those with each slide > state, and half of each slide state with "positive" as the "other" image > and half with "negative". The images (positive, negative, and neutral) are > drawn from three nested lists (neutral has 36 images, positive 18, negative > 18). > > > My problem is that although every list is set to sample randomly (without > replacement), with the full number of samples per cycle (18 or 36), and I > have no repeats in my lists, some images are repeating. I have tried it > with "reset at the beginning of each run" both checked and unchecked. > > > I tried this originally using only one slide with "leftimage" and > "rightimage" as the images, which were specified in the trial list as > "posimage", "neutimage", etc, but the same problem occurred. > > > Thanks! > Abi > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/5W99jJZMFJ0J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ajdawson57 at gmail.com Mon Feb 11 03:28:38 2013 From: ajdawson57 at gmail.com (Abigail Dawson) Date: Sun, 10 Feb 2013 19:28:38 -0800 Subject: Problem drawing random images from nested lists Message-ID: Hello, I am running a paradigm where I want two images to show side by side on the same slide, one neutral and one either positive or negative, and I want to balance which side the images appear on (e.g. neutral is on the left half the time). In order to do this I have created a slide with 2 slide states, and a trial list with 36 trials, half of those with each slide state, and half of each slide state with "positive" as the "other" image and half with "negative". The images (positive, negative, and neutral) are drawn from three nested lists (neutral has 36 images, positive 18, negative 18). My problem is that although every list is set to sample randomly (without replacement), with the full number of samples per cycle (18 or 36), and I have no repeats in my lists, some images are repeating. I have tried it with "reset at the beginning of each run" both checked and unchecked. I tried this originally using only one slide with "leftimage" and "rightimage" as the images, which were specified in the trial list as "posimage", "neutimage", etc, but the same problem occurred. Thanks! Abi -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/kJRjqdeVRXgJ. 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 Feb 11 13:49:19 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 11 Feb 2013 08:49:19 -0500 Subject: Converting an Edat file into either a .xls or .txt file In-Reply-To: Message-ID: Or even an Excel macro (which I guess is just another way of saying VBA), after merging the data and exporting it to Excel. (I have written such macros myself, feasible but not trivial.) -- David McFarlane Paul Groot wrote: > I don't think e-prime provides such an option by itself, but personally > I would split the merged file using a small matlab script. Hoever, I'm > sure there are many other way's to do that (e.g. perl, awk, C++, Visual > Basic, ...) > > On 9 February 2013 01:01, Daniel > wrote: > > Is there a way to do this that keeps each subject file separate? > > > On Friday, February 8, 2013 6:50:52 PM UTC-5, Paul Groot wrote: > > try E-Merge... > > paul > > On 9 February 2013 00:49, Daniel wrote: > > I have a large number of subject edat files (500+) and I > like the column/row format that the Excel export option that > E-DataAid uses so that I can easily convert the data into a > format I like using spss syntax. Is there a faster way to > convert all of these subject files into the excel format, > some sort of way to iterate over all files in a folder, > instead of having to open each one and export them separately? > > 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. For more options, visit https://groups.google.com/groups/opt_out. From jacanterbury at gmail.com Mon Feb 11 14:24:57 2013 From: jacanterbury at gmail.com (JACanterbury) Date: Mon, 11 Feb 2013 06:24:57 -0800 Subject: Problem drawing random images from nested lists In-Reply-To: <61d188be-cc1b-4558-904e-a4e1c8650782@googlegroups.com> Message-ID: This E-prime video on youtube regarding slidestates may help http://www.youtube.com/watch?v=PRudCBhSCgE&list=UUQRRaQXRRNOKjQqy3vKDUOA&index=11 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/26eW1BmMWh8J. 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 Sun Feb 10 23:26:52 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 11 Feb 2013 00:26:52 +0100 Subject: Converting an Edat file into either a .xls or .txt file In-Reply-To: Message-ID: I don't think e-prime provides such an option by itself, but personally I would split the merged file using a small matlab script. Hoever, I'm sure there are many other way's to do that (e.g. perl, awk, C++, Visual Basic, ...) On 9 February 2013 01:01, Daniel wrote: > Is there a way to do this that keeps each subject file separate? > > > On Friday, February 8, 2013 6:50:52 PM UTC-5, Paul Groot wrote: > >> try E-Merge... >> >> paul >> >> On 9 February 2013 00:49, Daniel wrote: >> >>> I have a large number of subject edat files (500+) and I like the >>> column/row format that the Excel export option that E-DataAid uses so that >>> I can easily convert the data into a format I like using spss syntax. Is >>> there a faster way to convert all of these subject files into the excel >>> format, some sort of way to iterate over all files in a folder, instead of >>> having to open each one and export them separately? >>> >>> 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+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/** >>> msg/e-prime/-/zE-DSO5ONL8J >>> . >>> 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/msg/e-prime/-/60ieSH50aEUJ. > > 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. 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 Feb 11 18:47:34 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 11 Feb 2013 19:47:34 +0100 Subject: Converting an Edat file into either a .xls or .txt file In-Reply-To: <5118F6DF.1070805@msu.edu> Message-ID: or even en eprime-basic! Excel struggles with large merged files.... On 11 February 2013 14:49, David McFarlane wrote: > Or even an Excel macro (which I guess is just another way of saying VBA), > after merging the data and exporting it to Excel. (I have written such > macros myself, feasible but not trivial.) > > -- David McFarlane > > > Paul Groot wrote: > >> I don't think e-prime provides such an option by itself, but personally I >> would split the merged file using a small matlab script. Hoever, I'm sure >> there are many other way's to do that (e.g. perl, awk, C++, Visual Basic, >> ...) >> >> On 9 February 2013 01:01, Daniel > schizophrenicdan@**gmail.com >> wrote: >> >> Is there a way to do this that keeps each subject file separate? >> >> >> On Friday, February 8, 2013 6:50:52 PM UTC-5, Paul Groot wrote: >> >> try E-Merge... >> >> paul >> >> On 9 February 2013 00:49, Daniel wrote: >> >> I have a large number of subject edat files (500+) and I >> like the column/row format that the Excel export option that >> E-DataAid uses so that I can easily convert the data into a >> format I like using spss syntax. Is there a faster way to >> convert all of these subject files into the excel format, >> some sort of way to iterate over all files in a folder, >> instead of having to open each one and export them separately? >> >> 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@**googlegroups.com > . > To post to this group, send email to e-prime at googlegroups.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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From schizophrenicdan at gmail.com Mon Feb 11 21:02:12 2013 From: schizophrenicdan at gmail.com (Daniel) Date: Mon, 11 Feb 2013 13:02:12 -0800 Subject: Converting an Edat file into either a .xls or .txt file In-Reply-To: <470eabc1-02a8-46aa-8dc8-f42690d31675@googlegroups.com> Message-ID: Yeah, I will probably just end up splitting it using a SPSS syntax script (I am not very familiar with Matlab yet), it will be a little bit tedious but faster than doing it manually. Thanks for the input. On Friday, February 8, 2013 6:49:09 PM UTC-5, Daniel wrote: > > I have a large number of subject edat files (500+) and I like the > column/row format that the Excel export option that E-DataAid uses so that > I can easily convert the data into a format I like using spss syntax. Is > there a faster way to convert all of these subject files into the excel > format, some sort of way to iterate over all files in a folder, instead of > having to open each one and export them separately? > > 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/msg/e-prime/-/r4EG1vCaqgIJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ma.demartino at gmail.com Tue Feb 12 08:51:42 2013 From: ma.demartino at gmail.com (Maria De Martino) Date: Tue, 12 Feb 2013 00:51:42 -0800 Subject: how can i modify the moving window script? Message-ID: Hi, I need some help in order to modify the moving window experiment script (downloaded here: http://www.pstnet.com/support/samples.asp?Mode=View&SampleID=11). I have to build up a script for a self-paced reading experiment with the moving window paradigm. I have sentences composed of 8 words and more and I need sentences to be presented word by word. In my experiment, a mask of the whole sentence should be presented before the presentation of the first word of the sentence. For instance, for the sentence "Paul is tired", the first slide has to display the mask ---- -- -----. Can somebody help me please, thank you, Maria -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/mTZLvL6zAAcJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From justinemayavandyke at gmail.com Tue Feb 12 21:07:44 2013 From: justinemayavandyke at gmail.com (Justine VanDyke) Date: Tue, 12 Feb 2013 16:07:44 -0500 Subject: Quotation marks in stimulus .txt file In-Reply-To: <511aa0be.e5b8320a.257f.ffff8b2dSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi, Thanks for your reply. To clarify: -yes, I have text in an Excel file. -yes, randomly quotation marks occur around certain words (not present in the Excel file). -this occurs when I 'Save As' a .txt file. -yes, I am 'loading' a file using Load Method "File". -yes, certain words (meaning 'some') have quotations. Apologies that that wasn't clear. I solved the problem by copying and pasting from Excel into a .txt file; however, it's good to know that this is not necessary and that I can load directly from Excel. Many thanks. On Tue, Feb 12, 2013 at 3:06 PM, David McFarlane wrote: > Justine, > > I am having a bit of trouble following this. Do you mean that > - you have text in an Excel file > - the text in the Excel file does not contain any quotation marks > - you convert the Excel file to a .txt file (how do you do that?) > - the resulting .txt file now has quotation marks around some (all?) of > the text > - you use the .txt file as input to an EP List (using Load Method "File") > - and now (some? all?) the text stimuli are enclosed in quotation marks? > > Please clarify. > > BTW, if you use EP2.0.10.x or later, a List can load from an Excel file > directly, no need to convert it to .txt first. > > ----- > 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 2/12/2013 02:27 PM Tuesday, you wrote: > >> Hello, >> >> I have a .txt ffile that I am loading stimuli from in an E-Prime >> experiment. The stimuli consist of sentences (text). During experimental >> presentation, randomly, quotation marks appear around certain words that >> are not present on the Excel file from which I have created the .txt. I >> assume this is something to do with saving in the tab-delimited format, and >> I wondered whether anyone has a solution. >> >> If I simply delete the quotations from the .txt file, then I am concerned >> that I will mess up the tab-structure. >> >> Thanks, >> >> Justine VanDyke >> Postdoctoral Research Assistant >> Language Processing Lab >> Institute for Mind and Brain >> University of South Carolina >> > > -- > You received this message because you are subscribed to 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From justinemayavandyke at gmail.com Tue Feb 12 19:27:06 2013 From: justinemayavandyke at gmail.com (justine) Date: Tue, 12 Feb 2013 11:27:06 -0800 Subject: Quotation marks in stimulus .txt file Message-ID: Hello, I have a .txt ffile that I am loading stimuli from in an E-Prime experiment. The stimuli consist of sentences (text). During experimental presentation, randomly, quotation marks appear around certain words that are not present on the Excel file from which I have created the .txt. I assume this is something to do with saving in the tab-delimited format, and I wondered whether anyone has a solution. If I simply delete the quotations from the .txt file, then I am concerned that I will mess up the tab-structure. Thanks, Justine VanDyke Postdoctoral Research Assistant Language Processing Lab Institute for Mind and Brain University of South Carolina -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/lvwZXcsrAhsJ. 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 Feb 12 20:06:15 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 12 Feb 2013 15:06:15 -0500 Subject: Quotation marks in stimulus .txt file In-Reply-To: <9e681342-96a0-485d-9fc2-5cb9645c508d@googlegroups.com> Message-ID: Justine, I am having a bit of trouble following this. Do you mean that - you have text in an Excel file - the text in the Excel file does not contain any quotation marks - you convert the Excel file to a .txt file (how do you do that?) - the resulting .txt file now has quotation marks around some (all?) of the text - you use the .txt file as input to an EP List (using Load Method "File") - and now (some? all?) the text stimuli are enclosed in quotation marks? Please clarify. BTW, if you use EP2.0.10.x or later, a List can load from an Excel file directly, no need to convert it to .txt first. ----- 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 2/12/2013 02:27 PM Tuesday, you wrote: >Hello, > >I have a .txt ffile that I am loading stimuli from in an E-Prime >experiment. The stimuli consist of sentences (text). During >experimental presentation, randomly, quotation marks appear around >certain words that are not present on the Excel file from which I >have created the .txt. I assume this is something to do with saving >in the tab-delimited format, and I wondered whether anyone has a solution. > >If I simply delete the quotations from the .txt file, then I am >concerned that I will mess up the tab-structure. > >Thanks, > >Justine VanDyke >Postdoctoral Research Assistant >Language Processing Lab >Institute for Mind and Brain >University of South Carolina -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From ma.demartino at gmail.com Wed Feb 13 09:07:25 2013 From: ma.demartino at gmail.com (Maria De Martino) Date: Wed, 13 Feb 2013 10:07:25 +0100 Subject: how can i modify the moving window script? In-Reply-To: Message-ID: thank you, Paul. I will try to use it. Bye, m. 2013/2/12 Paul Groot : > Hi Maria, > > Would this be of any help:? > http://pfcgroot.nl/e-prime/84-full-scripts/82-masked-reading.html > > Cheers > Paul > > > > On 12 February 2013 09:51, Maria De Martino wrote: >> >> Hi, >> I need some help in order to modify the moving window experiment script >> (downloaded here: >> http://www.pstnet.com/support/samples.asp?Mode=View&SampleID=11). >> >> I have to build up a script for a self-paced reading experiment with the >> moving window paradigm. >> >> I have sentences composed of 8 words and more and I need sentences to be >> presented word by word. In my experiment, a mask of the whole sentence >> should be presented before the presentation of the first word of the >> sentence. >> >> For instance, for the sentence "Paul is tired", the first slide has to >> display the mask ---- -- -----. >> Can somebody help me please, >> thank you, >> Maria >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/e-prime/-/mTZLvL6zAAcJ. >> 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. From stuart.quirk at gmail.com Wed Feb 13 19:35:36 2013 From: stuart.quirk at gmail.com (Stuart Quirk) Date: Wed, 13 Feb 2013 11:35:36 -0800 Subject: pci parallel_serial port in windows 7 vs xp In-Reply-To: <50f864ba.a8b5320a.6251.1788SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Well as an update to anyone who may face similar issues, I ended up swapping out the mother board for one with a native parallel port (one of the few which are built for 3rd generation intel chips). It was an easy build as I could transfer all of my current components. The new board has a ps/2 serial port but I was still having issues with the SRbox failing to communicate through that port so I bought the usb--serial port adapter recommended by pstnet and finally am able to get back on track. I went with xp and so far have had success with the I/O communications (still finishing the program to make sure video displays work smoothly). the additional hardware I purchased: StarTech.com USB to RS232 DB9/DB25 Serial Adapter Cable ICUSB232DB25 (amazon.com) MB GIGABYTE|GA-B75M-D3V B75 LGA1155 (carried by newegg.com) Stuart On Thursday, January 17, 2013 3:52:47 PM UTC-5, McFarlane, David wrote: > > Stuart, > > Hmm -- I just wanted to make sure that you were not trying to use EP1 > drivers with Win7, that will not work. But if you installed EP2, > then you have the updated PST Port & SRBox drivers, so much for that. > > I also assume that in your EP program you match the SRBox port number > to that of your installed serial port (just to be sure -- what COM > port # does Windows report for your serial port, and what port # does > your EP program specify? For that matter, exactly what error message > do you get?). So I do not have much more to offer you, let's hope > that PST Support takes it the rest of the way. FWIW, I use the SRBox > using an add-on PCI (or PCI-X) serial port card under Windows Vista > (32 bit) and EP2.0.8.22 Pro. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > At 1/15/2013 11:06 PM Tuesday, Stuart Quirk wrote: > >The latest version. I'm not at my computer at this moment (and > >heading to a conference for the weekend) but it was a fresh install > >of windows 7 64 (because I swapped out the hard drive for a solid > state). > >So all up to date drivers and downloaded the latest eprime 2 > (professional). > >It runs the sample eprime programs fine but anything that attempts > >to access the serial or parallel ports crashes eprime. > > > >I'd read both that windows 7 is more restrictive in allowing access > >to that level of data I/O than xp so was wondering if swapping to xp > >would solve the problem or if it's a non-mother board pci card issue. > >Sadly, I don't have a handy xp computer without mother board ports > >that I can pop the pci card in and play with (they all seem to be > >either windows 7 or xp with mother board ports..but I thought that > >might help isolate the problem. Still waiting to hear back from > >pstnet support). I will post when I hear from them in case others > >face similar problems. > > > > > > > >On Monday, January 14, 2013 2:20:24 PM UTC-5, McFarlane, David wrote: > >Stuart, > > > >What version of E-Prime? > > > >----- > >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 takes questions at their Facebook page > >(< > http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683> > http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 > > > >), and offers several instructional videos there and on their YouTube > >channel > >(http://www.youtube.com/user/PSTNET > >) (no Twitter feed yet, > >though). 4) If you do get an answer from PST staff, please extend > >the courtesy of posting their reply back here for the sake of others. > >\---- > > > > > > > >At 1/12/2013 10:44 AM Saturday, Stuart Quirk wrote: > > >Hello all and thanks in advance for any feedback. > > > > > >I've recently upgraded my primary lab computer and installed a pcie > > >combo parallel port/serial port (I had used both motherboard serial > > >port for the SRBOX and parallel port send a ttl signal to trigger my > > >eye tracker). > > >I got a manufacturer indicated by pstnet as one people have had some > > >luck with: > > >< > 1s1p-pcie.html> > http://www.siig.com/it-products/serial-parallel/combo/pcie/cyber-1s1p-pcie.html > > > http://www.siig.com/it-products/serial-parallel/combo/pcie/cyber-1s1p-pcie.html > > > > > > > >It installed fine but eprime crashes when I attempt to run the > > >utilities program for the SRBOX and pstnet's tester program fails to > > >find the box. And my simple parallel port monitor program (parmon) > > >doesn't find the port either. > > >In xp (on my last computer) I was able to use inpout32.dll and then > > >just insert very simple inline scripts to set the address high/low > > >within my experiment. From what I could learn (and understand as a > > >nonprogrammer) inpout64x.dll is much less successful with pci cards > > >under windows 7 64 > > > > > >So I'm trying to figure out is my problem the OS (as in would I have > > >better luck moving the OS to xp?) or is my problem a PCI card? It > > >will take me a good chunk of more time to wipe everything and > > >install xp so I thought someone here might help me save some time if > > >that would be a pointless exercise. > > > > > >Thanks again > > >Stuart > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/8BciYNOYnPUJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From neuropsych76 at gmail.com Wed Feb 13 22:19:43 2013 From: neuropsych76 at gmail.com (cogneuro) Date: Wed, 13 Feb 2013 17:19:43 -0500 Subject: Sound filename empty?? In-Reply-To: Message-ID: Ah, thank you! That did sort of work and I was silly not to check there first. Now though the actually program crashes and I get a windows error when I run my experiment! I know e-prime crashes a lot, but it has done it 5 times in a row and I can't figure out how deleting unreferenced objects would do this. On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot wrote: > perhaps there is a soundout object (or slide with sound) in the 'unused > items' section that was not configured properly. Just remove it permanently > to get rid of the error, > > Paul > > > On 13 February 2013 21:50, cogneuroisfun wrote: > >> Can someone please tell me what this run time error means? I keep getting >> it when I try to run my program with sounds. I triple checked to make sure >> they were typed in right, I changed them from .wav to .mp3 and played >> around with the buffer rates. Still nothing works!! Has anyone come across >> this error and do you know how to fix it?? >> >> >> 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/msg/e-prime/-/K8mUyxQ9i50J. >> 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. > 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. 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 Feb 13 21:20:30 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Wed, 13 Feb 2013 22:20:30 +0100 Subject: Sound filename empty?? In-Reply-To: Message-ID: perhaps there is a soundout object (or slide with sound) in the 'unused items' section that was not configured properly. Just remove it permanently to get rid of the error, Paul On 13 February 2013 21:50, cogneuroisfun wrote: > Can someone please tell me what this run time error means? I keep getting > it when I try to run my program with sounds. I triple checked to make sure > they were typed in right, I changed them from .wav to .mp3 and played > around with the buffer rates. Still nothing works!! Has anyone come across > this error and do you know how to fix it?? > > > 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/msg/e-prime/-/K8mUyxQ9i50J. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From neuropsych76 at gmail.com Thu Feb 14 00:05:46 2013 From: neuropsych76 at gmail.com (cogneuro) Date: Wed, 13 Feb 2013 19:05:46 -0500 Subject: Sound filename empty?? In-Reply-To: Message-ID: While I run the script, e-studio crashes. No error messages pop up. The program starts to run, then a white screen appears, and then the entire program dies :/ On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot wrote: > Does e-studio crash while editing, or are you having troubles when running > the script? Any error messages? Is it reproducible? > > paul > > > On 13 February 2013 23:19, cogneuro wrote: > >> Ah, thank you! That did sort of work and I was silly not to check there >> first. >> >> Now though the actually program crashes and I get a windows error when I >> run my experiment! I know e-prime crashes a lot, but it has done it 5 times >> in a row and I can't figure out how deleting unreferenced objects would do >> this. >> >> >> On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot wrote: >> >>> perhaps there is a soundout object (or slide with sound) in the 'unused >>> items' section that was not configured properly. Just remove it permanently >>> to get rid of the error, >>> >>> Paul >>> >>> >>> On 13 February 2013 21:50, cogneuroisfun wrote: >>> >>>> Can someone please tell me what this run time error means? I keep >>>> getting it when I try to run my program with sounds. I triple checked to >>>> make sure they were typed in right, I changed them from .wav to .mp3 and >>>> played around with the buffer rates. Still nothing works!! Has anyone come >>>> across this error and do you know how to fix it?? >>>> >>>> >>>> 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/msg/e-prime/-/K8mUyxQ9i50J. >>>> 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. >>> 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. >> 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. > 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. 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 Feb 14 15:40:08 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Thu, 14 Feb 2013 16:40:08 +0100 Subject: Sound filename empty?? In-Reply-To: Message-ID: I would try to run the same script, but with all audio completely removed. Just to make check if it is related to the sound. You could also try to create a very simple test script that only has a start-up screen and a sound object to play the audio (using the same settings as the original script). The idea is to isolate the problem/crash to get an idea of what is going on. Because the crash immediately occurs when the script is started, it could be related to the initialisation of devices. paul On 14 February 2013 01:05, cogneuro wrote: > While I run the script, e-studio crashes. No error messages pop up. The > program starts to run, then a white screen appears, and then the entire > program dies :/ > > On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot wrote: > >> Does e-studio crash while editing, or are you having troubles when >> running the script? Any error messages? Is it reproducible? >> >> paul >> >> >> On 13 February 2013 23:19, cogneuro wrote: >> >>> Ah, thank you! That did sort of work and I was silly not to check there >>> first. >>> >>> Now though the actually program crashes and I get a windows error when I >>> run my experiment! I know e-prime crashes a lot, but it has done it 5 times >>> in a row and I can't figure out how deleting unreferenced objects would do >>> this. >>> >>> >>> On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot wrote: >>> >>>> perhaps there is a soundout object (or slide with sound) in the 'unused >>>> items' section that was not configured properly. Just remove it permanently >>>> to get rid of the error, >>>> >>>> Paul >>>> >>>> >>>> On 13 February 2013 21:50, cogneuroisfun wrote: >>>> >>>>> Can someone please tell me what this run time error means? I keep >>>>> getting it when I try to run my program with sounds. I triple checked to >>>>> make sure they were typed in right, I changed them from .wav to .mp3 and >>>>> played around with the buffer rates. Still nothing works!! Has anyone come >>>>> across this error and do you know how to fix it?? >>>>> >>>>> >>>>> 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/msg/e-prime/-/K8mUyxQ9i50J. >>>>> 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. >>>> 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. >>> 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. >> 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From neuropsych76 at gmail.com Thu Feb 14 20:08:44 2013 From: neuropsych76 at gmail.com (cogneuro) Date: Thu, 14 Feb 2013 15:08:44 -0500 Subject: Sound filename empty?? In-Reply-To: Message-ID: Thank you for the reply :) I did try what you said and while I'm still having issues, I think I'm making progress. The error message I get now after removing all of the unreferenced objects is, ' Run-time Error (Line 802) -999: Unable to find the sound file specified' But I know for sure I am using the same name as the file in my folder! Do you know what else could cause this error?? On Thu, Feb 14, 2013 at 10:40 AM, Paul Groot wrote: > I would try to run the same script, but with all audio completely removed. > Just to make check if it is related to the sound. You could also try to > create a very simple test script that only has a start-up screen and a > sound object to play the audio (using the same settings as the original > script). The idea is to isolate the problem/crash to get an idea of what is > going on. Because the crash immediately occurs when the script is started, > it could be related to the initialisation of devices. > > paul > > > On 14 February 2013 01:05, cogneuro wrote: > >> While I run the script, e-studio crashes. No error messages pop up. The >> program starts to run, then a white screen appears, and then the entire >> program dies :/ >> >> On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot wrote: >> >>> Does e-studio crash while editing, or are you having troubles when >>> running the script? Any error messages? Is it reproducible? >>> >>> paul >>> >>> >>> On 13 February 2013 23:19, cogneuro wrote: >>> >>>> Ah, thank you! That did sort of work and I was silly not to check there >>>> first. >>>> >>>> Now though the actually program crashes and I get a windows error when >>>> I run my experiment! I know e-prime crashes a lot, but it has done it 5 >>>> times in a row and I can't figure out how deleting unreferenced objects >>>> would do this. >>>> >>>> >>>> On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot wrote: >>>> >>>>> perhaps there is a soundout object (or slide with sound) in the >>>>> 'unused items' section that was not configured properly. Just remove it >>>>> permanently to get rid of the error, >>>>> >>>>> Paul >>>>> >>>>> >>>>> On 13 February 2013 21:50, cogneuroisfun wrote: >>>>> >>>>>> Can someone please tell me what this run time error means? I keep >>>>>> getting it when I try to run my program with sounds. I triple checked to >>>>>> make sure they were typed in right, I changed them from .wav to .mp3 and >>>>>> played around with the buffer rates. Still nothing works!! Has anyone come >>>>>> across this error and do you know how to fix it?? >>>>>> >>>>>> >>>>>> 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/msg/e-prime/-/K8mUyxQ9i50J. >>>>>> 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. >>>>> 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. >>>> 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. >>> 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. >> 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From justinemayavandyke at gmail.com Fri Feb 15 14:32:42 2013 From: justinemayavandyke at gmail.com (Justine VanDyke) Date: Fri, 15 Feb 2013 09:32:42 -0500 Subject: Quotation marks in stimulus .txt file In-Reply-To: <028101ce09e9$4058bb70$c10a3250$@eu> Message-ID: Nitpick away, Michiel. I appreciate the additional information and advice. Thanks! On Wed, Feb 13, 2013 at 7:54 AM, Cognitology wrote: > Hi,**** > > Just to nitpick and maybe future help: **** > > **? **Excel-files do not store ascii. I suspect you mean you > exported from Excel to tab-delimited text file (as you actually say a bit > later on). This is important because it probably means that something in > the conversion went awry. **** > > **? **The quotation marks are quite unlikely to appear random > unless you run Office for Quantum Computer. A quotation mark can appear if > a number in excel, stored in a ?general format? cell, is to be treated as > text: I.e. 128 is a number, ?128 are three letters. The trick is to > accurately set the cell format, or:**** > > **? **Open .txt (or whatever the file is) in notepad, hit > CONTROL+H, enter replace [?] to [] (i.e. one quotation mark to nothing), > save. Sounds dumb, but I love doing it this way, same goes for converting > stuff to SPSS. This should not mess up the columns.**** > > ** ** > > Best,**** > > Michiel**** > > ** ** > > *From:* e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] *On > Behalf Of *Justine VanDyke > *Sent:* 12. February 2013 23:08 > *To:* e-prime at googlegroups.com > *Subject:* Re: Quotation marks in stimulus .txt file**** > > ** ** > > Hi, > > Thanks for your reply. To clarify: > > -yes, I have text in an Excel file. > > -yes, randomly quotation marks occur around certain words (not present in > the Excel file). > > -this occurs when I 'Save As' a .txt file. > > -yes, I am 'loading' a file using Load Method "File". > > -yes, certain words (meaning 'some') have quotations. > > Apologies that that wasn't clear. > > I solved the problem by copying and pasting from Excel into a .txt file; > however, it's good to know that this is not necessary and that I can load > directly from Excel. > > Many thanks. **** > > On Tue, Feb 12, 2013 at 3:06 PM, David McFarlane wrote: > **** > > Justine, > > I am having a bit of trouble following this. Do you mean that > - you have text in an Excel file > - the text in the Excel file does not contain any quotation marks > - you convert the Excel file to a .txt file (how do you do that?) > - the resulting .txt file now has quotation marks around some (all?) of > the text > - you use the .txt file as input to an EP List (using Load Method "File") > - and now (some? all?) the text stimuli are enclosed in quotation marks? > > Please clarify. > > BTW, if you use EP2.0.10.x or later, a List can load from an Excel file > directly, no need to convert it to .txt first. > > ----- > 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 2/12/2013 02:27 PM Tuesday, you wrote:**** > > Hello, > > I have a .txt ffile that I am loading stimuli from in an E-Prime > experiment. The stimuli consist of sentences (text). During experimental > presentation, randomly, quotation marks appear around certain words that > are not present on the Excel file from which I have created the .txt. I > assume this is something to do with saving in the tab-delimited format, and > I wondered whether anyone has a solution. > > If I simply delete the quotations from the .txt file, then I am concerned > that I will mess up the tab-structure. > > Thanks, > > Justine VanDyke > Postdoctoral Research Assistant > Language Processing Lab > Institute for Mind and Brain > University of South Carolina**** > > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.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. > 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Feb 15 15:58:27 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 15 Feb 2013 10:58:27 -0500 Subject: On using E-DataAid: WAS: Converting an Edat file into either a .xls or .txt file In-Reply-To: Message-ID: I too will beat the drum for E-Merge & E-DataAid. For some years now I have said that it is almost worth getting E-Prime for its superb data handling facilities alone! No other psychology programming platform compares in this regard, no matter what other shortcomings E-Prime may have. Sadly, it took me many years to discover this -- like many, I too initially treated E-DataAid as nothing more than a tool to export data to Excel or SPSS. I did not realize the full value myself until a lab asked me to give them a tutorial on E-Merge & E-DataAid, and when I finally went through the manuals I was surprised! So work through *all* of the E-Merge and E-DataAid tutorials in the User's Guide and Reference Guide that come with E-Prime, you will find it *well* worth your trouble. You might also look through Michiel et al.'s "The E-Primer". Finally (shameless self-promotion here), I devote an entire lesson of my online video course to just this topic, with a guided exercise to show much of what Michiel described. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 2/15/2013 10:03 AM Friday, Paul Groot wrote: >You're right. E-DataAid features are often overlooked. > >Perhaps I was not clear about Excel: I meant >that Excel has serious problems with many rows >or columns. Although I think newer versions of >Excel do a much better job now, so this might not be a problem for many users. > >paul > >On 13 February 2013 14:27, Cognitology ><mspape at cognitology.eu> wrote: > >Hi, > >If you?re not YET doing it, I urge you to have >another look at what is possible with e-DataAid. >The reason is that I know many students 1) know >SPSS fairly well, and a bit of Excel, and try to >avoid E-***. Not saying that counts for you as >well. Indeed, this is a bit of a shot in the >dark, but with such sentences as ?I have a large >number of subject edat files (500+) and I like >the column/row format that the Excel export >option that E-DataAid uses so that I can easily >convert the data into a format I like using spss >syntax?, it?s difficult to avoid guessing! You >might want to say something about what you?re >planning to do, but in its absence, let?s have >an example from my own life, and maybe it helps? > >? What I like is having a good amount of >Repeated Measures ANOVA style formatted columns, >say, RTs of 2x4 conditions, one row per subject. >For SPSS. What I have is 500 .edats. Arggh, right? > >1. We merge all files to one big .emrg, which we then open in .edat > >2. We filter out those RTs we are not >interested in, say, the ones in which an error >occurs. Also, I don?t like trials 1:20. > >3. Now, we go to analyze, drag Subject to >the Row, and any type of between-subject variable (sex, age, etc). > >4. Then drag ConditionP1vs2 to columns, >drag ConditionQ1vs2vs3vs4 to columns. Drag the >critical RT thing to the Data bit. Press Run. > >5. So, we should see a nice table of at >least 500x8. Oops, it?s got two decimals.. why? >Make that 4. Select all of it, copy the bunch to excel. > >6. Inside excel, underneath the two rows >with variables (rows A and B), insert a new row >(say C). Enter the wonderful formula =A&?_?&B and drag it all across row C. > >7. Select row C, copy, go stand in an >empty bit, paste special: values only, and >transpose. Copy that, go to SPSS, paste in >variables: now, that?s descriptive indeed. > >8. Copy all the values over to SPSS (but >you?ll have to reassign string values from numeric for some columns). > > > >These 8 steps, lengthy as they may seem, take me >about 2 minutes, and I think it?s a great workflow. > >TLDR? Try E-DataAid, it?s ridiculously simple, >really rocks, and SPSS is best avoided as they >make it slower and buggier with every next release. > > > >PS: Paul, I find Excel not at all slow with >large data-files? Much faster than SPSS, at >least, or at least it has been between excel >2007 and 2010 (2013 beta was running very slow >here); it does not cope very well with large and >lengthy formulas that need repeated >recalculation and take up more than hundreds of MBs, though. > > > >Best, > >Michiel > > > > > >From: >e-prime at googlegroups.com >[mailto:e-prime at googlegroups.com] On Behalf Of Daniel >Sent: 11. February 2013 23:02 >To: e-prime at googlegroups.com >Subject: Re: Converting an Edat file into either a .xls or .txt file > > > >Yeah, I will probably just end up splitting it >using a SPSS syntax script (I am not very >familiar with Matlab yet), it will be a little >bit tedious but faster than doing it manually. > > > >Thanks for the input. > >On Friday, February 8, 2013 6:49:09 PM UTC-5, Daniel wrote: > >I have a large number of subject edat files >(500+) and I like the column/row format that the >Excel export option that E-DataAid uses so that >I can easily convert the data into a format I >like using spss syntax. Is there a faster way to >convert all of these subject files into the >excel format, some sort of way to iterate over >all files in a folder, instead of having to open >each one and export them separately? > > > >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. For more options, visit https://groups.google.com/groups/opt_out. From pfc.groot at gmail.com Fri Feb 15 00:12:56 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Fri, 15 Feb 2013 01:12:56 +0100 Subject: Sound filename empty?? In-Reply-To: Message-ID: no idea, except for trivial ones... Are there any exotic characters in the name of the file. Try renaming it to a short name. Also make sure to include the file extension properly. Windows explorer doesn't show the file extension by default, so you should change this setting to make sure you see the complete name. And be sure not to use double extensions in explorer. A see this very often because some people add a second extension when the first was not visible. I think this is not a problem when you just select an existing file with using the file selection dialog box. paul On 14 February 2013 21:08, cogneuro wrote: > Thank you for the reply :) > > I did try what you said and while I'm still having issues, I think I'm > making progress. The error message I get now after removing all of the > unreferenced objects is, ' Run-time Error (Line 802) -999: Unable to find > the sound file specified' But I know for sure I am using the same name as > the file in my folder! Do you know what else could cause this error?? > > > On Thu, Feb 14, 2013 at 10:40 AM, Paul Groot wrote: > >> I would try to run the same script, but with all audio completely >> removed. Just to make check if it is related to the sound. You could also >> try to create a very simple test script that only has a start-up screen and >> a sound object to play the audio (using the same settings as the original >> script). The idea is to isolate the problem/crash to get an idea of what is >> going on. Because the crash immediately occurs when the script is started, >> it could be related to the initialisation of devices. >> >> paul >> >> >> On 14 February 2013 01:05, cogneuro wrote: >> >>> While I run the script, e-studio crashes. No error messages pop up. The >>> program starts to run, then a white screen appears, and then the entire >>> program dies :/ >>> >>> On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot wrote: >>> >>>> Does e-studio crash while editing, or are you having troubles when >>>> running the script? Any error messages? Is it reproducible? >>>> >>>> paul >>>> >>>> >>>> On 13 February 2013 23:19, cogneuro wrote: >>>> >>>>> Ah, thank you! That did sort of work and I was silly not to check >>>>> there first. >>>>> >>>>> Now though the actually program crashes and I get a windows error when >>>>> I run my experiment! I know e-prime crashes a lot, but it has done it 5 >>>>> times in a row and I can't figure out how deleting unreferenced objects >>>>> would do this. >>>>> >>>>> >>>>> On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot wrote: >>>>> >>>>>> perhaps there is a soundout object (or slide with sound) in the >>>>>> 'unused items' section that was not configured properly. Just remove it >>>>>> permanently to get rid of the error, >>>>>> >>>>>> Paul >>>>>> >>>>>> >>>>>> On 13 February 2013 21:50, cogneuroisfun wrote: >>>>>> >>>>>>> Can someone please tell me what this run time error means? I keep >>>>>>> getting it when I try to run my program with sounds. I triple checked to >>>>>>> make sure they were typed in right, I changed them from .wav to .mp3 and >>>>>>> played around with the buffer rates. Still nothing works!! Has anyone come >>>>>>> across this error and do you know how to fix it?? >>>>>>> >>>>>>> >>>>>>> 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/msg/e-prime/-/K8mUyxQ9i50J. >>>>>>> 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. >>>>>> 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. >>>>> 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. >>>> 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. >>> 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. >> 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Wed Feb 13 12:54:24 2013 From: mspape at cognitology.eu (Cognitology) Date: Wed, 13 Feb 2013 14:54:24 +0200 Subject: Quotation marks in stimulus .txt file In-Reply-To: Message-ID: Hi, Just to nitpick and maybe future help: ? Excel-files do not store ascii. I suspect you mean you exported from Excel to tab-delimited text file (as you actually say a bit later on). This is important because it probably means that something in the conversion went awry. ? The quotation marks are quite unlikely to appear random unless you run Office for Quantum Computer. A quotation mark can appear if a number in excel, stored in a ?general format? cell, is to be treated as text: I.e. 128 is a number, ?128 are three letters. The trick is to accurately set the cell format, or: ? Open .txt (or whatever the file is) in notepad, hit CONTROL+H, enter replace [?] to [] (i.e. one quotation mark to nothing), save. Sounds dumb, but I love doing it this way, same goes for converting stuff to SPSS. This should not mess up the columns. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Justine VanDyke Sent: 12. February 2013 23:08 To: e-prime at googlegroups.com Subject: Re: Quotation marks in stimulus .txt file Hi, Thanks for your reply. To clarify: -yes, I have text in an Excel file. -yes, randomly quotation marks occur around certain words (not present in the Excel file). -this occurs when I 'Save As' a .txt file. -yes, I am 'loading' a file using Load Method "File". -yes, certain words (meaning 'some') have quotations. Apologies that that wasn't clear. I solved the problem by copying and pasting from Excel into a .txt file; however, it's good to know that this is not necessary and that I can load directly from Excel. Many thanks. On Tue, Feb 12, 2013 at 3:06 PM, David McFarlane wrote: Justine, I am having a bit of trouble following this. Do you mean that - you have text in an Excel file - the text in the Excel file does not contain any quotation marks - you convert the Excel file to a .txt file (how do you do that?) - the resulting .txt file now has quotation marks around some (all?) of the text - you use the .txt file as input to an EP List (using Load Method "File") - and now (some? all?) the text stimuli are enclosed in quotation marks? Please clarify. BTW, if you use EP2.0.10.x or later, a List can load from an Excel file directly, no need to convert it to .txt first. ----- 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 2/12/2013 02:27 PM Tuesday, you wrote: Hello, I have a .txt ffile that I am loading stimuli from in an E-Prime experiment. The stimuli consist of sentences (text). During experimental presentation, randomly, quotation marks appear around certain words that are not present on the Excel file from which I have created the .txt. I assume this is something to do with saving in the tab-delimited format, and I wondered whether anyone has a solution. If I simply delete the quotations from the .txt file, then I am concerned that I will mess up the tab-structure. Thanks, Justine VanDyke Postdoctoral Research Assistant Language Processing Lab Institute for Mind and Brain University of South Carolina -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com . To post to this group, send email to e-prime at googlegroups.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. 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From schizophrenicdan at gmail.com Fri Feb 15 19:24:20 2013 From: schizophrenicdan at gmail.com (Daniel) Date: Fri, 15 Feb 2013 11:24:20 -0800 Subject: On using E-DataAid: WAS: Converting an Edat file into either a .xls or .txt file In-Reply-To: <511e5b29.c70d320a.293c.1661SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: I will definitely look at those resources. On Friday, February 15, 2013 10:58:27 AM UTC-5, McFarlane, David wrote: > > I too will beat the drum for E-Merge & > E-DataAid. For some years now I have said that > it is almost worth getting E-Prime for its superb > data handling facilities alone! No other > psychology programming platform compares in this > regard, no matter what other shortcomings E-Prime may have. > > Sadly, it took me many years to discover this -- > like many, I too initially treated E-DataAid as > nothing more than a tool to export data to Excel > or SPSS. I did not realize the full value myself > until a lab asked me to give them a tutorial on > E-Merge & E-DataAid, and when I finally went > through the manuals I was surprised! > > So work through *all* of the E-Merge and > E-DataAid tutorials in the User's Guide and > Reference Guide that come with E-Prime, you will > find it *well* worth your trouble. You might > also look through Michiel et al.'s "The > E-Primer". Finally (shameless self-promotion > here), I devote an entire lesson of my online > video course to just this topic, with a guided > exercise to show much of what Michiel described. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > At 2/15/2013 10:03 AM Friday, Paul Groot wrote: > >You're right. E-DataAid features are often overlooked. > > > >Perhaps I was not clear about Excel: I meant > >that Excel has serious problems with many rows > >or columns. Although I think newer versions of > >Excel do a much better job now, so this might not be a problem for many > users. > > > >paul > > > >On 13 February 2013 14:27, Cognitology > ><>msp... at cognitology.eu> > wrote: > > > >Hi, > > > >If you?re not YET doing it, I urge you to have > >another look at what is possible with e-DataAid. > >The reason is that I know many students 1) know > >SPSS fairly well, and a bit of Excel, and try to > >avoid E-***. Not saying that counts for you as > >well. Indeed, this is a bit of a shot in the > >dark, but with such sentences as ?I have a large > >number of subject edat files (500+) and I like > >the column/row format that the Excel export > >option that E-DataAid uses so that I can easily > >convert the data into a format I like using spss > >syntax?, it?s difficult to avoid guessing! You > >might want to say something about what you?re > >planning to do, but in its absence, let?s have > >an example from my own life, and maybe it helps? > > > >? What I like is having a good amount of > >Repeated Measures ANOVA style formatted columns, > >say, RTs of 2x4 conditions, one row per subject. > >For SPSS. What I have is 500 .edats. Arggh, right? > > > >1. We merge all files to one big .emrg, which we then open in .edat > > > >2. We filter out those RTs we are not > >interested in, say, the ones in which an error > >occurs. Also, I don?t like trials 1:20. > > > >3. Now, we go to analyze, drag Subject to > >the Row, and any type of between-subject variable (sex, age, etc). > > > >4. Then drag ConditionP1vs2 to columns, > >drag ConditionQ1vs2vs3vs4 to columns. Drag the > >critical RT thing to the Data bit. Press Run. > > > >5. So, we should see a nice table of at > >least 500x8. Oops, it?s got two decimals.. why? > >Make that 4. Select all of it, copy the bunch to excel. > > > >6. Inside excel, underneath the two rows > >with variables (rows A and B), insert a new row > >(say C). Enter the wonderful formula =A&?_?&B and drag it all across row > C. > > > >7. Select row C, copy, go stand in an > >empty bit, paste special: values only, and > >transpose. Copy that, go to SPSS, paste in > >variables: now, that?s descriptive indeed. > > > >8. Copy all the values over to SPSS (but > >you?ll have to reassign string values from numeric for some columns). > > > > > > > >These 8 steps, lengthy as they may seem, take me > >about 2 minutes, and I think it?s a great workflow. > > > >TLDR? Try E-DataAid, it?s ridiculously simple, > >really rocks, and SPSS is best avoided as they > >make it slower and buggier with every next release. > > > > > > > >PS: Paul, I find Excel not at all slow with > >large data-files? Much faster than SPSS, at > >least, or at least it has been between excel > >2007 and 2010 (2013 beta was running very slow > >here); it does not cope very well with large and > >lengthy formulas that need repeated > >recalculation and take up more than hundreds of MBs, though. > > > > > > > >Best, > > > >Michiel > > > > > > > > > > > >From: > >>e-p... at googlegroups.com > >[mailto:e-p... at googlegroups.com ] On Behalf Of Daniel > >Sent: 11. February 2013 23:02 > >To: >e-p... at googlegroups.com > >Subject: Re: Converting an Edat file into either a .xls or .txt file > > > > > > > >Yeah, I will probably just end up splitting it > >using a SPSS syntax script (I am not very > >familiar with Matlab yet), it will be a little > >bit tedious but faster than doing it manually. > > > > > > > >Thanks for the input. > > > >On Friday, February 8, 2013 6:49:09 PM UTC-5, Daniel wrote: > > > >I have a large number of subject edat files > >(500+) and I like the column/row format that the > >Excel export option that E-DataAid uses so that > >I can easily convert the data into a format I > >like using spss syntax. Is there a faster way to > >convert all of these subject files into the > >excel format, some sort of way to iterate over > >all files in a folder, instead of having to open > >each one and export them separately? > > > > > > > >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/msg/e-prime/-/3J4ameXmcCIJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Fri Feb 15 15:03:47 2013 From: pfc.groot at gmail.com (Paul Groot) Date: Fri, 15 Feb 2013 16:03:47 +0100 Subject: On using E-DataAid: WAS: Converting an Edat file into either a .xls or .txt file In-Reply-To: <029401ce09ed$d191b750$74b525f0$@eu> Message-ID: You're right. E-DataAid features are often overlooked. Perhaps I was not clear about Excel: I meant that Excel has serious problems with many rows or columns. Although I think newer versions of Excel do a much better job now, so this might not be a problem for many users. paul On 13 February 2013 14:27, Cognitology wrote: > Hi,**** > > If you?re not YET doing it, I urge you to have another look at what is > possible with e-DataAid. The reason is that I know many students 1) know > SPSS fairly well, and a bit of Excel, and try to avoid E-***. Not saying > that counts for you as well. Indeed, this is a bit of a shot in the dark, > but with such sentences as ?I have a large number of subject edat files > (500+) and I like the column/row format that the Excel export option that > E-DataAid uses so that I can easily convert the data into a format I like > using spss syntax?, it?s difficult to avoid guessing! You might want to > say something about what you?re planning to do, but in its absence, let?s > have an example from my own life, and maybe it helps?**** > > **? **What I like is having a good amount of Repeated Measures > ANOVA style formatted columns, say, RTs of 2x4 conditions, one row per > subject. For SPSS. What I have is 500 .edats. Arggh, right?**** > > **1. **We merge all files to one big .emrg, which we then open in > .edat**** > > **2. **We filter out those RTs we are not interested in, say, the > ones in which an error occurs. Also, I don?t like trials 1:20.**** > > **3. **Now, we go to analyze, drag Subject to the Row, and any type > of between-subject variable (sex, age, etc). **** > > **4. **Then drag ConditionP1vs2 to columns, drag > ConditionQ1vs2vs3vs4 to columns. Drag the critical RT thing to the Data > bit. Press Run.**** > > **5. **So, we should see a nice table of at least 500x8. Oops, it?s > got two decimals.. why? Make that 4. Select all of it, copy the bunch to > excel.**** > > **6. **Inside excel, underneath the two rows with variables (rows A > and B), insert a new row (say C). Enter the wonderful formula =A&?_?&B and > drag it all across row C.**** > > **7. **Select row C, copy, go stand in an empty bit, paste special: > values only, and transpose. Copy that, go to SPSS, paste in variables: now, > that?s descriptive indeed. **** > > **8. **Copy all the values over to SPSS (but you?ll have to > reassign string values from numeric for some columns).**** > > ** ** > > These 8 steps, lengthy as they may seem, take me about 2 minutes, and I > think it?s a great workflow. **** > > TLDR? Try E-DataAid, it?s ridiculously simple, really rocks, and SPSS is > best avoided as they make it slower and buggier with every next release. * > *** > > ** ** > > PS: Paul, I find Excel not at all slow with large data-files? Much faster > than SPSS, at least, or at least it has been between excel 2007 and 2010 > (2013 beta was running very slow here); it does not cope very well with > large and lengthy formulas that need repeated recalculation and take up > more than hundreds of MBs, though. **** > > ** ** > > Best,**** > > Michiel**** > > ** ** > > ** ** > > *From:* e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] *On > Behalf Of *Daniel > *Sent:* 11. February 2013 23:02 > *To:* e-prime at googlegroups.com > *Subject:* Re: Converting an Edat file into either a .xls or .txt file**** > > ** ** > > Yeah, I will probably just end up splitting it using a SPSS syntax script > (I am not very familiar with Matlab yet), it will be a little bit tedious > but faster than doing it manually.**** > > ** ** > > Thanks for the input. > > On Friday, February 8, 2013 6:49:09 PM UTC-5, Daniel wrote:**** > > I have a large number of subject edat files (500+) and I like the > column/row format that the Excel export option that E-DataAid uses so that > I can easily convert the data into a format I like using spss syntax. Is > there a faster way to convert all of these subject files into the excel > format, some sort of way to iterate over all files in a folder, instead of > having to open each one and export them separately?**** > > ** ** > > 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/msg/e-prime/-/r4EG1vCaqgIJ. > 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Feb 15 16:03:51 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 15 Feb 2013 11:03:51 -0500 Subject: Sound filename empty?? In-Reply-To: Message-ID: Among the exotic characters to look out for is whitespace (e.g., space, tab) at the end of file names. *You* will not see that white space, but the *computer* will, and will insist on matching the names using whitespace and all. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 2/14/2013 07:12 PM Thursday, Paul Groot wrote: >no idea, except for trivial ones... > >Are there any exotic characters in the name of the file. Try >renaming it to a short name. >Also make sure to include the file extension properly. Windows >explorer doesn't show the file extension by default, so you should >change this setting to make sure you see the complete name. And be >sure not to use double extensions in explorer. A see this very often >because some people add a second extension when the first was not >visible. I think this is not a problem when you just select an >existing file with using the file selection dialog box. > >paul > >On 14 February 2013 21:08, cogneuro ><neuropsych76 at gmail.com> wrote: >Thank you for the reply :) > >I did try what you said and while I'm still having issues, I think >I'm making progress. The error message I get now after removing all >of the unreferenced objects is, ' Run-time Error (Line 802) -999: >Unable to find the sound file specified' But I know for sure I am >using the same name as the file in my folder! Do you know what else >could cause this error?? > > >On Thu, Feb 14, 2013 at 10:40 AM, Paul Groot ><pfc.groot at gmail.com> wrote: >I would try to run the same script, but with all audio completely >removed. Just to make check if it is related to the sound. You could >also try to create a very simple test script that only has a >start-up screen and a sound object to play the audio (using the same >settings as the original script). The idea is to isolate the >problem/crash to get an idea of what is going on. Because the crash >immediately occurs when the script is started, it could be related >to the initialisation of devices. > >paul > > >On 14 February 2013 01:05, cogneuro ><neuropsych76 at gmail.com> wrote: >While I run the script, e-studio crashes. No error messages pop up. >The program starts to run, then a white screen appears, and then the >entire program dies :/ > >On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot ><pfc.groot at gmail.com> wrote: >Does e-studio crash while editing, or are you having troubles when >running the script? Any error messages? Is it reproducible? > >paul > > >On 13 February 2013 23:19, cogneuro ><neuropsych76 at gmail.com> wrote: >Ah, thank you! That did sort of work and I was silly not to check >there first. > >Now though the actually program crashes and I get a windows error >when I run my experiment! I know e-prime crashes a lot, but it has >done it 5 times in a row and I can't figure out how deleting >unreferenced objects would do this. > > >On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot ><pfc.groot at gmail.com> wrote: >perhaps there is a soundout object (or slide with sound) in the >'unused items' section that was not configured properly. Just remove >it permanently to get rid of the error, > >Paul > > >On 13 February 2013 21:50, cogneuroisfun ><neuropsych76 at gmail.com> wrote: >Can someone please tell me what this run time error means? I keep >getting it when I try to run my program with sounds. I triple >checked to make sure they were typed in right, I changed them from >.wav to .mp3 and played around with the buffer rates. Still nothing >works!! Has anyone come across this error and do you know how to fix it?? > > >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. For more options, visit https://groups.google.com/groups/opt_out. From mspape at cognitology.eu Wed Feb 13 13:27:06 2013 From: mspape at cognitology.eu (Cognitology) Date: Wed, 13 Feb 2013 15:27:06 +0200 Subject: On using E-DataAid: WAS: Converting an Edat file into either a .xls or .txt file In-Reply-To: Message-ID: Hi, If you?re not YET doing it, I urge you to have another look at what is possible with e-DataAid. The reason is that I know many students 1) know SPSS fairly well, and a bit of Excel, and try to avoid E-***. Not saying that counts for you as well. Indeed, this is a bit of a shot in the dark, but with such sentences as ?I have a large number of subject edat files (500+) and I like the column/row format that the Excel export option that E-DataAid uses so that I can easily convert the data into a format I like using spss syntax?, it?s difficult to avoid guessing! You might want to say something about what you?re planning to do, but in its absence, let?s have an example from my own life, and maybe it helps? ? What I like is having a good amount of Repeated Measures ANOVA style formatted columns, say, RTs of 2x4 conditions, one row per subject. For SPSS. What I have is 500 .edats. Arggh, right? 1. We merge all files to one big .emrg, which we then open in .edat 2. We filter out those RTs we are not interested in, say, the ones in which an error occurs. Also, I don?t like trials 1:20. 3. Now, we go to analyze, drag Subject to the Row, and any type of between-subject variable (sex, age, etc). 4. Then drag ConditionP1vs2 to columns, drag ConditionQ1vs2vs3vs4 to columns. Drag the critical RT thing to the Data bit. Press Run. 5. So, we should see a nice table of at least 500x8. Oops, it?s got two decimals.. why? Make that 4. Select all of it, copy the bunch to excel. 6. Inside excel, underneath the two rows with variables (rows A and B), insert a new row (say C). Enter the wonderful formula =A&?_?&B and drag it all across row C. 7. Select row C, copy, go stand in an empty bit, paste special: values only, and transpose. Copy that, go to SPSS, paste in variables: now, that?s descriptive indeed. 8. Copy all the values over to SPSS (but you?ll have to reassign string values from numeric for some columns). These 8 steps, lengthy as they may seem, take me about 2 minutes, and I think it?s a great workflow. TLDR? Try E-DataAid, it?s ridiculously simple, really rocks, and SPSS is best avoided as they make it slower and buggier with every next release. PS: Paul, I find Excel not at all slow with large data-files? Much faster than SPSS, at least, or at least it has been between excel 2007 and 2010 (2013 beta was running very slow here); it does not cope very well with large and lengthy formulas that need repeated recalculation and take up more than hundreds of MBs, though. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Daniel Sent: 11. February 2013 23:02 To: e-prime at googlegroups.com Subject: Re: Converting an Edat file into either a .xls or .txt file Yeah, I will probably just end up splitting it using a SPSS syntax script (I am not very familiar with Matlab yet), it will be a little bit tedious but faster than doing it manually. Thanks for the input. On Friday, February 8, 2013 6:49:09 PM UTC-5, Daniel wrote: I have a large number of subject edat files (500+) and I like the column/row format that the Excel export option that E-DataAid uses so that I can easily convert the data into a format I like using spss syntax. Is there a faster way to convert all of these subject files into the excel format, some sort of way to iterate over all files in a folder, instead of having to open each one and export them separately? 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/msg/e-prime/-/r4EG1vCaqgIJ. 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From justinemayavandyke at gmail.com Fri Feb 15 18:47:06 2013 From: justinemayavandyke at gmail.com (justine) Date: Fri, 15 Feb 2013 10:47:06 -0800 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <4c8a36a3.8b19e70a.5fdc.ffff90d0SMTPIN_ADDED@gmr-mx.google.com> Message-ID: I am in the process of conducting my own timing tests (for an Eprime/NetStation experiment), and this was invaluable in trying to understand the time audit measures. I gather from this that there is no way of knowing when the stimulus was *actually* presented on the screen (given the refresh rate). I assume this means that my triggers in the EEG record could be off by whatever that screen refresh delay was. Is that correct? Thanks, Justine VanDyke Postdoctoral Research Fellow University of South Carolina On Friday, 10 September 2010 09:46:03 UTC-4, David McFarlane wrote: > > When you look at the Logging tab on the properties page of any > stimulus object, you will find a host of items available for > logging. Most of these are time audit data. But what do all these > items mean, and what are they good for? Chapter 3 of the E-Prime > User's Guide discusses time auditing to some degree, and the timing > diagram at Appendix E provides one way to see the relationships > between these items. As an alternative, here I try to set out, in > order, a brief description of these items. > > First let us distinguish between timing control *settings* and time > audit *measures*. The following items do not reflect any results > formed during the course of a stimulus but simply log the settings > provided by the user (e.g., you). You may choose to have any of > these logged just to keep a record of settings active during the > experiment: > - Duration: To reiterate, this does *not* show the actual duration of > the stimulus, only the setting as provided by the user. > - PreRelease: Affects the TargetOffsetTime (see below). > - TimingMode: Event, Cumulative, or Custom, as set by the user (see > the online E-Basic Help). > - CustomOffsetTime: In Custom timing mode, overrides the > TargetOnsetTime (see the online E-Basic Help). > - CustomOnsetTime: In Custom timing mode, overrides the > TargetOffsetTime (see the online E-Basic Help). > > Now, the raw time audit measures, listed in the order in which events > occur during the execution of a stimulus object. These are all time > stamps in milliseconds from the start of the current program run: > - StartTime: Time at which E-Prime started executing the stimulus > object. > - TargetOnsetTime: Scheduled time at which presentation of stimulus was > to begin; set automatically from GetNextTargetOnsetTime (see online > E-Basic Help). > - OnsetTime: Time when E-Prime actually submitted the stimulus data for > presentation (e.g., proceeded to copy data to display memory or load > sound buffer). This may not coincide with when the stimulus actually > got presented, e.g., if data are submitted in the middle of a display > refresh cycle then they may not get presented until the next refresh. > - ActionTime: According to the online E-Basic Help, time at which > E-Prime completed the "critical action" of the stimulus. The > documentation remains somewhat vague about this -- perhaps "critical > action" means copying data to display memory, or loading a sound or > video buffer. In my tests, ActionTime never lags more than 1 ms > behind OnsetTime, so it serves practically the same purpose as > OnsetTime. > - TargetOffsetTime: Scheduled time at which offset actions (e.g., > clean-up, ClearAfter, StopAfter) of stimulus object were to begin, > e.g., OnsetTime + Duration - PreRelease (Event timing mode), or > TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). > - OffsetTime: Time when E-Prime actually began the offset actions of > the object. Actions may not take practical effect until next > vertical blank, or until presentation of next stimulus. > - FinishTime: Time when E-Prime exited from execution of the > stimulus object and proceeded to execute the next section of the > program (e.g., next stimulus object or inline code). Note that > *execution* of a stimulus *object* may end before *presentation* of > the *stimulus* ends; this is the point of PreRelease (as well as > happening as a matter of course with some stimuli such as some > sounds). > > Finally, a few composite time audit measures derived from the raw > measures above and provided for convenience: > - OnsetDelay = OnsetTime - TargetOnsetTime > - ActionDelay = ActionTime - OnsetTime > - OffsetDelay = OffsetTime - TargetOffsetTime > - DurationError = OffsetTime + PreRelease - OnsetTime - Duration > > Note: > - Time audit measures include the ActionTime that follows upon > OnsetTime, but no corresponding item to follow upon OffsetTime. > - No time audit item for time stamp of vertical blank, although many > stimuli do not take full effect until just after a vertical blank. > > -- David McFarlane, Professional Faultfinder > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/A39BowES1nAJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From schizophrenicdan at gmail.com Fri Feb 15 18:25:53 2013 From: schizophrenicdan at gmail.com (Daniel) Date: Fri, 15 Feb 2013 10:25:53 -0800 Subject: On using E-DataAid: WAS: Converting an Edat file into either a .xls or .txt file In-Reply-To: <029401ce09ed$d191b750$74b525f0$@eu> Message-ID: You're absolutely right and it does seem that there are more things I can do with E-DataAid than I realized. I should have been more specific about what I had in mind, but the data conversions I run with spss syntax tend to be extensive and I was too lazy to type them out. The methods that you suggested below will really help with some of my other data sets that need less conversions, thank you. The conversions I needed to do involved generating probabilities for a bunch of different numbers (and the format of the E-DataAid file was less user friendly, but that was because of how the task was put together in E-Prime) and then some of my other datasets I create distributional plots of accuracy (or other things) by reaction time and plot between 5-9 cells of 20+ RT scores or more. So, generally I think I need to use either SPSS syntax or Matlab to do this stuff (though I am sure Excel could do it too). I did find a fairly easy way to split after having used e-merge and then converting it to an excel document in E-Dataid. I then opened the data in excel and got rid of any columns I did not care about and then opened it in SPSS. I used the SPSS programmability extension and then installed a custom dialog called "SPSSINC_SPLIT_DATASET.spd" which you can get on the IBM spss DeveloperWorks website and it easily will split the file by whatever variables and spit out the data with any names you want. Then I just ran my script (that calculates probability, generates ACC, etc.) using "SPSSINC_PROCESS_FILES.spd" which allowed me to iterate over all subject files in a folder and spit out the data into a database. On Wednesday, February 13, 2013 8:27:06 AM UTC-5, Michiel Sovij?rvi-Spap? wrote: > > Hi, > > If you?re not YET doing it, I urge you to have another look at what is > possible with e-DataAid. The reason is that I know many students 1) know > SPSS fairly well, and a bit of Excel, and try to avoid E-***. Not saying > that counts for you as well. Indeed, this is a bit of a shot in the dark, > but with such sentences as ?I have a large number of subject edat files > (500+) and I like the column/row format that the Excel export option that > E-DataAid uses so that I can easily convert the data into a format I like > using spss syntax?, it?s difficult to avoid guessing! You might want to > say something about what you?re planning to do, but in its absence, let?s > have an example from my own life, and maybe it helps? > > ? What I like is having a good amount of Repeated Measures ANOVA > style formatted columns, say, RTs of 2x4 conditions, one row per subject. > For SPSS. What I have is 500 .edats. Arggh, right? > > 1. We merge all files to one big .emrg, which we then open in .edat > > 2. We filter out those RTs we are not interested in, say, the ones > in which an error occurs. Also, I don?t like trials 1:20. > > 3. Now, we go to analyze, drag Subject to the Row, and any type of > between-subject variable (sex, age, etc). > > 4. Then drag ConditionP1vs2 to columns, drag ConditionQ1vs2vs3vs4 > to columns. Drag the critical RT thing to the Data bit. Press Run. > > 5. So, we should see a nice table of at least 500x8. Oops, it?s got > two decimals.. why? Make that 4. Select all of it, copy the bunch to excel. > > 6. Inside excel, underneath the two rows with variables (rows A and > B), insert a new row (say C). Enter the wonderful formula =A&?_?&B and drag > it all across row C. > > 7. Select row C, copy, go stand in an empty bit, paste special: > values only, and transpose. Copy that, go to SPSS, paste in variables: now, > that?s descriptive indeed. > > 8. Copy all the values over to SPSS (but you?ll have to reassign > string values from numeric for some columns). > > > > These 8 steps, lengthy as they may seem, take me about 2 minutes, and I > think it?s a great workflow. > > TLDR? Try E-DataAid, it?s ridiculously simple, really rocks, and SPSS is > best avoided as they make it slower and buggier with every next release. > > > > PS: Paul, I find Excel not at all slow with large data-files? Much faster > than SPSS, at least, or at least it has been between excel 2007 and 2010 > (2013 beta was running very slow here); it does not cope very well with > large and lengthy formulas that need repeated recalculation and take up > more than hundreds of MBs, though. > > > > Best, > > Michiel > > > > > > *From:* e-p... at googlegroups.com [mailto: > e-p... at googlegroups.com ] *On Behalf Of *Daniel > *Sent:* 11. February 2013 23:02 > *To:* e-p... at googlegroups.com > *Subject:* Re: Converting an Edat file into either a .xls or .txt file > > > > Yeah, I will probably just end up splitting it using a SPSS syntax script > (I am not very familiar with Matlab yet), it will be a little bit tedious > but faster than doing it manually. > > > > Thanks for the input. > > On Friday, February 8, 2013 6:49:09 PM UTC-5, Daniel wrote: > > I have a large number of subject edat files (500+) and I like the > column/row format that the Excel export option that E-DataAid uses so that > I can easily convert the data into a format I like using spss syntax. Is > there a faster way to convert all of these subject files into the excel > format, some sort of way to iterate over all files in a folder, instead of > having to open each one and export them separately? > > > > 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+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/msg/e-prime/-/r4EG1vCaqgIJ. > 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/msg/e-prime/-/0SWbc53V830J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From neuropsych76 at gmail.com Mon Feb 18 13:49:22 2013 From: neuropsych76 at gmail.com (cogneuro) Date: Mon, 18 Feb 2013 08:49:22 -0500 Subject: Sound filename empty?? In-Reply-To: <511e5c6c.e307320a.32dd.0f38SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thank you guys for the replies! I've looked for whitespace and could not find any. The names are very short and simple and I highlighted them to see if there was any spaces. Anything else it could be? Does changing the buffer size impact this? I am totally stumped as to why this won't work other than it being a weird window's 7 problem with e-prime 2.0 On Fri, Feb 15, 2013 at 11:03 AM, David McFarlane wrote: > Among the exotic characters to look out for is whitespace (e.g., space, > tab) at the end of file names. *You* will not see that white space, but > the *computer* will, and will insist on matching the names using whitespace > and all. > > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/** > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/**EPrimeMaster > ) > > > > At 2/14/2013 07:12 PM Thursday, Paul Groot wrote: > >> no idea, except for trivial ones... >> >> Are there any exotic characters in the name of the file. Try renaming it >> to a short name. >> Also make sure to include the file extension properly. Windows explorer >> doesn't show the file extension by default, so you should change this >> setting to make sure you see the complete name. And be sure not to use >> double extensions in explorer. A see this very often because some people >> add a second extension when the first was not visible. I think this is not >> a problem when you just select an existing file with using the file >> selection dialog box. >> >> paul >> >> On 14 February 2013 21:08, cogneuro < >> >neuropsych76 at gmail.com> wrote: >> Thank you for the reply :) >> >> I did try what you said and while I'm still having issues, I think I'm >> making progress. The error message I get now after removing all of the >> unreferenced objects is, ' Run-time Error (Line 802) -999: Unable to find >> the sound file specified' But I know for sure I am using the same name as >> the file in my folder! Do you know what else could cause this error?? >> >> >> On Thu, Feb 14, 2013 at 10:40 AM, Paul Groot <> >p**fc.groot at gmail.com > wrote: >> I would try to run the same script, but with all audio completely >> removed. Just to make check if it is related to the sound. You could also >> try to create a very simple test script that only has a start-up screen and >> a sound object to play the audio (using the same settings as the original >> script). The idea is to isolate the problem/crash to get an idea of what is >> going on. Because the crash immediately occurs when the script is started, >> it could be related to the initialisation of devices. >> >> paul >> >> >> On 14 February 2013 01:05, cogneuro < >> >neuropsych76 at gmail.com> wrote: >> While I run the script, e-studio crashes. No error messages pop up. The >> program starts to run, then a white screen appears, and then the entire >> program dies :/ >> >> On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot < >> p**fc.groot at gmail.com > wrote: >> Does e-studio crash while editing, or are you having troubles when >> running the script? Any error messages? Is it reproducible? >> >> paul >> >> >> On 13 February 2013 23:19, cogneuro < >> >neuropsych76 at gmail.com> wrote: >> Ah, thank you! That did sort of work and I was silly not to check there >> first. >> >> Now though the actually program crashes and I get a windows error when I >> run my experiment! I know e-prime crashes a lot, but it has done it 5 times >> in a row and I can't figure out how deleting unreferenced objects would do >> this. >> >> >> On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot < >> p**fc.groot at gmail.com > wrote: >> perhaps there is a soundout object (or slide with sound) in the 'unused >> items' section that was not configured properly. Just remove it permanently >> to get rid of the error, >> >> Paul >> >> >> On 13 February 2013 21:50, cogneuroisfun <> com >neuropsych76 at gmail.com> wrote: >> Can someone please tell me what this run time error means? I keep getting >> it when I try to run my program with sounds. I triple checked to make sure >> they were typed in right, I changed them from .wav to .mp3 and played >> around with the buffer rates. Still nothing works!! Has anyone come across >> this error and do you know how to fix it?? >> >> >> 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@**googlegroups.com > . > To post to this group, send email to e-prime at googlegroups.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. 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 Feb 18 19:37:33 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 18 Feb 2013 14:37:33 -0500 Subject: Sound filename empty?? In-Reply-To: Message-ID: What happens when you run the SoundRT example that comes with E-Prime? What happens if you substitute the sound files in SoundRT with your the sound files from your new experiment? What happens when you try to play your sound files with a simple .es2 program that does nothing but play sound files? -- David McFarlane At 2/18/2013 08:49 AM Monday, cogneuro wrote: >Thank you guys for the replies! I've looked for whitespace and could >not find any. The names are very short and simple and I highlighted >them to see if there was any spaces. Anything else it could be? Does >changing the buffer size impact this? I am totally stumped as to why >this won't work other than it being a weird window's 7 problem with e-prime 2.0 > >On Fri, Feb 15, 2013 at 11:03 AM, David McFarlane ><mcfarla9 at msu.edu> wrote: >Among the exotic characters to look out for is whitespace (e.g., >space, tab) at the end of file names. *You* will not see that white >space, but the *computer* will, and will insist on matching the >names using whitespace and all. > >----- >David McFarlane >E-Prime training >online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster >(https://twitter.com/EPrimeMaster) > > > >At 2/14/2013 07:12 PM Thursday, Paul Groot wrote: >no idea, except for trivial ones... > >Are there any exotic characters in the name of the file. Try >renaming it to a short name. >Also make sure to include the file extension properly. Windows >explorer doesn't show the file extension by default, so you should >change this setting to make sure you see the complete name. And be >sure not to use double extensions in explorer. A see this very often >because some people add a second extension when the first was not >visible. I think this is not a problem when you just select an >existing file with using the file selection dialog box. > >paul > >On 14 February 2013 21:08, cogneuro ><neuropsych76 at gmail.com> wrote: >Thank you for the reply :) > >I did try what you said and while I'm still having issues, I think >I'm making progress. The error message I get now after removing all >of the unreferenced objects is, ' Run-time Error (Line 802) -999: >Unable to find the sound file specified' But I know for sure I am >using the same name as the file in my folder! Do you know what else >could cause this error?? > > >On Thu, Feb 14, 2013 at 10:40 AM, Paul Groot ><pfc.groot at gmail.com> wrote: >I would try to run the same script, but with all audio completely >removed. Just to make check if it is related to the sound. You could >also try to create a very simple test script that only has a >start-up screen and a sound object to play the audio (using the same >settings as the original script). The idea is to isolate the >problem/crash to get an idea of what is going on. Because the crash >immediately occurs when the script is started, it could be related >to the initialisation of devices. > >paul > > >On 14 February 2013 01:05, cogneuro ><neuropsych76 at gmail.com> wrote: >While I run the script, e-studio crashes. No error messages pop up. >The program starts to run, then a white screen appears, and then the >entire program dies :/ > >On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot ><pfc.groot at gmail.com> wrote: >Does e-studio crash while editing, or are you having troubles when >running the script? Any error messages? Is it reproducible? > >paul > > >On 13 February 2013 23:19, cogneuro ><neuropsych76 at gmail.com> wrote: >Ah, thank you! That did sort of work and I was silly not to check there first. > >Now though the actually program crashes and I get a windows error >when I run my experiment! I know e-prime crashes a lot, but it has >done it 5 times in a row and I can't figure out how deleting >unreferenced objects would do this. > > >On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot ><pfc.groot at gmail.com> wrote: >perhaps there is a soundout object (or slide with sound) in the >'unused items' section that was not configured properly. Just remove >it permanently to get rid of the error, > >Paul -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From neuropsych76 at gmail.com Mon Feb 18 22:51:42 2013 From: neuropsych76 at gmail.com (cogneuro) Date: Mon, 18 Feb 2013 17:51:42 -0500 Subject: Sound filename empty?? In-Reply-To: <5122a42c.1fa4650a.3c97.2407SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: That worked!!! Thank you so much :D On Mon, Feb 18, 2013 at 4:59 PM, David McFarlane wrote: > If I were you I would rebuild the entire program from scratch, especially > since it is a simple one as you say. And this time I would do test runs > after each step along the way, so that I could detect the moment when it > breaks (which is pretty much the way I always work). > > Good luck, > > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/** > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/**EPrimeMaster > ) > > > > At 2/18/2013 04:27 PM Monday, cogneuro wrote: > >> Ah, I didn't even think to do that. The sounds work fine when they are in >> a new e-prime file! It must be something in this program other than the >> sound that it doesn't like. I don't understand though, it's a pretty simple >> experiment. It just plays some sounds, shows some pictures, and has a few >> text displays. There was some code because it is an fMRI study and needs to >> connect to the port, but I tried commenting out the code in case that was >> the problem and it still was messed up. I keep getting this error though. >> >> "Run-time Error (Line 802) -999: Unable to find the sound file specified" >> >> On Mon, Feb 18, 2013 at 2:37 PM, David McFarlane <> mcfarla9 at msu.edu>mcfa**rla9 at msu.edu > wrote: >> What happens when you run the SoundRT example that comes with E-Prime? >> What happens if you substitute the sound files in SoundRT with your the >> sound files from your new experiment? What happens when you try to play >> your sound files with a simple .es2 program that does nothing but play >> sound files? >> >> -- David McFarlane >> >> >> >> At 2/18/2013 08:49 AM Monday, cogneuro wrote: >> Thank you guys for the replies! I've looked for whitespace and could not >> find any. The names are very short and simple and I highlighted them to see >> if there was any spaces. Anything else it could be? Does changing the >> buffer size impact this? I am totally stumped as to why this won't work >> other than it being a weird window's 7 problem with e-prime 2.0 >> >> On Fri, Feb 15, 2013 at 11:03 AM, David McFarlane <> mcfarla9 at msu.edu><**mailto:mcfarla9 at msu.edu>mcfarl**a9 at msu.edu> >> wrote: >> Among the exotic characters to look out for is whitespace (e.g., space, >> tab) at the end of file names. *You* will not see that white space, but >> the *computer* will, and will insist on matching the names using whitespace >> and all. >> >> ----- >> David McFarlane >> E-Prime training online: <> Workshops_Courses/eprime.aspx >> >**http://psychology.msu.edu/**Workshops_Courses/eprime.aspx >> >**http://psychology.msu.edu/**Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster (< >> >https://twitter.**com/EPrimeMaster > >> https://**twitter.com/EPrimeMaster ) >> >> >> >> >> >> At 2/14/2013 07:12 PM Thursday, Paul Groot wrote: >> no idea, except for trivial ones... >> >> Are there any exotic characters in the name of the file. Try renaming it >> to a short name. >> Also make sure to include the file extension properly. Windows explorer >> doesn't show the file extension by default, so you should change this >> setting to make sure you see the complete name. And be sure not to use >> double extensions in explorer. A see this very often because some people >> add a second extension when the first was not visible. I think this is not >> a problem when you just select an existing file with using the file >> selection dialog box. >> >> paul >> >> On 14 February 2013 21:08, cogneuro < >> >> >> neuropsych76 at gmail.**com > wrote: >> Thank you for the reply :) >> >> I did try what you said and while I'm still having issues, I think I'm >> making progress. The error message I get now after removing all of the >> unreferenced objects is, ' Run-time Error (Line 802) -999: Unable to find >> the sound file specified' But I know for sure I am using the same name as >> the file in my folder! Do you know what else could cause this error?? >> >> >> On Thu, Feb 14, 2013 at 10:40 AM, Paul Groot <> ><**mailto:pfc.groot at gmail.com>pfc**.groot at gmail.com> >> wrote: >> I would try to run the same script, but with all audio completely >> removed. Just to make check if it is related to the sound. You could also >> try to create a very simple test script that only has a start-up screen and >> a sound object to play the audio (using the same settings as the original >> script). The idea is to isolate the problem/crash to get an idea of what is >> going on. Because the crash immediately occurs when the script is started, >> it could be related to the initialisation of devices. >> >> paul >> >> >> On 14 February 2013 01:05, cogneuro < >> >> >> neuropsych76 at gmail.**com > wrote: >> While I run the script, e-studio crashes. No error messages pop up. The >> program starts to run, then a white screen appears, and then the entire >> program dies :/ >> >> On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot <> ><**mailto:pfc.groot at gmail.com>pfc**.groot at gmail.com> >> wrote: >> Does e-studio crash while editing, or are you having troubles when >> running the script? Any error messages? Is it reproducible? >> >> paul >> >> >> On 13 February 2013 23:19, cogneuro < >> >> >> neuropsych76 at gmail.**com > wrote: >> Ah, thank you! That did sort of work and I was silly not to check there >> first. >> >> Now though the actually program crashes and I get a windows error when I >> run my experiment! I know e-prime crashes a lot, but it has done it 5 times >> in a row and I can't figure out how deleting unreferenced objects would do >> this. >> >> >> On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot <> ><**mailto:pfc.groot at gmail.com>pfc**.groot at gmail.com> >> wrote: >> perhaps there is a soundout object (or slide with sound) in the 'unused >> items' section that was not configured properly. Just remove it permanently >> to get rid of the error, >> >> Paul >> > > -- > You received this message because you are subscribed to 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From neuropsych76 at gmail.com Mon Feb 18 21:27:23 2013 From: neuropsych76 at gmail.com (cogneuro) Date: Mon, 18 Feb 2013 16:27:23 -0500 Subject: Sound filename empty?? In-Reply-To: <51228312.048b650a.3eab.7b21SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Ah, I didn't even think to do that. The sounds work fine when they are in a new e-prime file! It must be something in this program other than the sound that it doesn't like. I don't understand though, it's a pretty simple experiment. It just plays some sounds, shows some pictures, and has a few text displays. There was some code because it is an fMRI study and needs to connect to the port, but I tried commenting out the code in case that was the problem and it still was messed up. I keep getting this error though. "Run-time Error (Line 802) -999: Unable to find the sound file specified" On Mon, Feb 18, 2013 at 2:37 PM, David McFarlane wrote: > What happens when you run the SoundRT example that comes with E-Prime? > What happens if you substitute the sound files in SoundRT with your the > sound files from your new experiment? What happens when you try to play > your sound files with a simple .es2 program that does nothing but play > sound files? > > -- David McFarlane > > > > At 2/18/2013 08:49 AM Monday, cogneuro wrote: > >> Thank you guys for the replies! I've looked for whitespace and could not >> find any. The names are very short and simple and I highlighted them to see >> if there was any spaces. Anything else it could be? Does changing the >> buffer size impact this? I am totally stumped as to why this won't work >> other than it being a weird window's 7 problem with e-prime 2.0 >> >> On Fri, Feb 15, 2013 at 11:03 AM, David McFarlane <> mcfarla9 at msu.edu>mcfa**rla9 at msu.edu > wrote: >> Among the exotic characters to look out for is whitespace (e.g., space, >> tab) at the end of file names. *You* will not see that white space, but >> the *computer* will, and will insist on matching the names using whitespace >> and all. >> >> ----- >> David McFarlane >> E-Prime training online: > Workshops_Courses/eprime.aspx >> >**http://psychology.msu.edu/**Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster ( >> >https://twitter.**com/EPrimeMaster ) >> >> >> >> >> At 2/14/2013 07:12 PM Thursday, Paul Groot wrote: >> no idea, except for trivial ones... >> >> Are there any exotic characters in the name of the file. Try renaming it >> to a short name. >> Also make sure to include the file extension properly. Windows explorer >> doesn't show the file extension by default, so you should change this >> setting to make sure you see the complete name. And be sure not to use >> double extensions in explorer. A see this very often because some people >> add a second extension when the first was not visible. I think this is not >> a problem when you just select an existing file with using the file >> selection dialog box. >> >> paul >> >> On 14 February 2013 21:08, cogneuro < >> >neuropsych76 at gmail.com> wrote: >> Thank you for the reply :) >> >> I did try what you said and while I'm still having issues, I think I'm >> making progress. The error message I get now after removing all of the >> unreferenced objects is, ' Run-time Error (Line 802) -999: Unable to find >> the sound file specified' But I know for sure I am using the same name as >> the file in my folder! Do you know what else could cause this error?? >> >> >> On Thu, Feb 14, 2013 at 10:40 AM, Paul Groot <> >p**fc.groot at gmail.com > wrote: >> I would try to run the same script, but with all audio completely >> removed. Just to make check if it is related to the sound. You could also >> try to create a very simple test script that only has a start-up screen and >> a sound object to play the audio (using the same settings as the original >> script). The idea is to isolate the problem/crash to get an idea of what is >> going on. Because the crash immediately occurs when the script is started, >> it could be related to the initialisation of devices. >> >> paul >> >> >> On 14 February 2013 01:05, cogneuro < >> >neuropsych76 at gmail.com> wrote: >> While I run the script, e-studio crashes. No error messages pop up. The >> program starts to run, then a white screen appears, and then the entire >> program dies :/ >> >> On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot < >> p**fc.groot at gmail.com > wrote: >> Does e-studio crash while editing, or are you having troubles when >> running the script? Any error messages? Is it reproducible? >> >> paul >> >> >> On 13 February 2013 23:19, cogneuro < >> >neuropsych76 at gmail.com> wrote: >> Ah, thank you! That did sort of work and I was silly not to check there >> first. >> >> Now though the actually program crashes and I get a windows error when I >> run my experiment! I know e-prime crashes a lot, but it has done it 5 times >> in a row and I can't figure out how deleting unreferenced objects would do >> this. >> >> >> On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot < >> p**fc.groot at gmail.com > wrote: >> perhaps there is a soundout object (or slide with sound) in the 'unused >> items' section that was not configured properly. Just remove it permanently >> to get rid of the error, >> >> Paul >> > > -- > You received this message because you are subscribed to 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. > 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. 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 Feb 18 21:59:04 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 18 Feb 2013 16:59:04 -0500 Subject: Sound filename empty?? In-Reply-To: Message-ID: If I were you I would rebuild the entire program from scratch, especially since it is a simple one as you say. And this time I would do test runs after each step along the way, so that I could detect the moment when it breaks (which is pretty much the way I always work). Good luck, ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 2/18/2013 04:27 PM Monday, cogneuro wrote: >Ah, I didn't even think to do that. The sounds work fine when they >are in a new e-prime file! It must be something in this program >other than the sound that it doesn't like. I don't understand >though, it's a pretty simple experiment. It just plays some sounds, >shows some pictures, and has a few text displays. There was some >code because it is an fMRI study and needs to connect to the port, >but I tried commenting out the code in case that was the problem and >it still was messed up. I keep getting this error though. > >"Run-time Error (Line 802) -999: Unable to find the sound file specified" > >On Mon, Feb 18, 2013 at 2:37 PM, David McFarlane ><mcfarla9 at msu.edu> wrote: >What happens when you run the SoundRT example that comes with >E-Prime? What happens if you substitute the sound files in SoundRT >with your the sound files from your new experiment? What happens >when you try to play your sound files with a simple .es2 program >that does nothing but play sound files? > >-- David McFarlane > > > >At 2/18/2013 08:49 AM Monday, cogneuro wrote: >Thank you guys for the replies! I've looked for whitespace and could >not find any. The names are very short and simple and I highlighted >them to see if there was any spaces. Anything else it could be? Does >changing the buffer size impact this? I am totally stumped as to why >this won't work other than it being a weird window's 7 problem with e-prime 2.0 > >On Fri, Feb 15, 2013 at 11:03 AM, David McFarlane ><mcfarla9 at msu.edu> wrote: >Among the exotic characters to look out for is whitespace (e.g., >space, tab) at the end of file names. *You* will not see that white >space, but the *computer* will, and will insist on matching the >names using whitespace and all. > >----- >David McFarlane >E-Prime training online: ><http://psychology.msu.edu/Workshops_Courses/eprime.aspx>http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster >(<https://twitter.com/EPrimeMaster>https://twitter.com/EPrimeMaster) > > > > >At 2/14/2013 07:12 PM Thursday, Paul Groot wrote: >no idea, except for trivial ones... > >Are there any exotic characters in the name of the file. Try >renaming it to a short name. >Also make sure to include the file extension properly. Windows >explorer doesn't show the file extension by default, so you should >change this setting to make sure you see the complete name. And be >sure not to use double extensions in explorer. A see this very often >because some people add a second extension when the first was not >visible. I think this is not a problem when you just select an >existing file with using the file selection dialog box. > >paul > >On 14 February 2013 21:08, cogneuro ><neuropsych76 at gmail.com> >wrote: >Thank you for the reply :) > >I did try what you said and while I'm still having issues, I think >I'm making progress. The error message I get now after removing all >of the unreferenced objects is, ' Run-time Error (Line 802) -999: >Unable to find the sound file specified' But I know for sure I am >using the same name as the file in my folder! Do you know what else >could cause this error?? > > >On Thu, Feb 14, 2013 at 10:40 AM, Paul Groot ><pfc.groot at gmail.com> >wrote: >I would try to run the same script, but with all audio completely >removed. Just to make check if it is related to the sound. You could >also try to create a very simple test script that only has a >start-up screen and a sound object to play the audio (using the same >settings as the original script). The idea is to isolate the >problem/crash to get an idea of what is going on. Because the crash >immediately occurs when the script is started, it could be related >to the initialisation of devices. > >paul > > >On 14 February 2013 01:05, cogneuro ><neuropsych76 at gmail.com> >wrote: >While I run the script, e-studio crashes. No error messages pop up. >The program starts to run, then a white screen appears, and then the >entire program dies :/ > >On Wed, Feb 13, 2013 at 6:18 PM, Paul Groot ><pfc.groot at gmail.com> >wrote: >Does e-studio crash while editing, or are you having troubles when >running the script? Any error messages? Is it reproducible? > >paul > > >On 13 February 2013 23:19, cogneuro ><neuropsych76 at gmail.com> >wrote: >Ah, thank you! That did sort of work and I was silly not to check there first. > >Now though the actually program crashes and I get a windows error >when I run my experiment! I know e-prime crashes a lot, but it has >done it 5 times in a row and I can't figure out how deleting >unreferenced objects would do this. > > >On Wed, Feb 13, 2013 at 4:20 PM, Paul Groot ><pfc.groot at gmail.com> >wrote: >perhaps there is a soundout object (or slide with sound) in the >'unused items' section that was not configured properly. Just remove >it permanently to get rid of the error, > >Paul -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Thu Feb 21 23:05:34 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Feb 2013 18:05:34 -0500 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <5126a6c0.a8b9ec0a.2986.0184SMTPIN_ADDED_MISSING@gmr-mx.goo gle.com> Message-ID: Justine, I should mention that using OnsetSignal... still entails some "gotchas" (which I go over in the course). -- David McFarlane At 2/21/2013 05:56 PM Thursday, David McFarlane wrote: >Justine, > >No programming system can exactly control the actual onset time of >stimuli, due to the nature and limitations of stimulus >hardware. For visual stimuli in particular, the video frame rate >plays one limiting role -- please see the "Critical Timing" chapter >in the User's Guide that came with E-Prime (and/or take my online >video course, see link below). > >If one wished merely to *know* when a visual stimulus got presented >(as distinct from *controlling* its onset time), one might use the >output of a high-speed photodector aimed at a choice spot on the >display. Technically speaking, even then the time of stimulus >presentation to the subject depends on things such as the distance >from the display to the subject, the speed of light, photoreceptor >response rates, nerve conduction to visual cortex, etc. So the real >question becomes, just how accurately do you need to control or know >the onset time, and can we make it "good enough"? > >And here we have some hope. If you synchronize your visual stimuli >to start with the "vertical blank", then stimulus OnsetTime should >correspond very closely to when the system starts writing the >stimulus screen to the top of the display -- and starting with >EP2.0.10.182, you can even adjust this (see >http://www.pstnet.com/support/kb.asp?TopicID=3027 ). Now you just >need to synchronize your EEG signals with the OnsetTime of your >stimulus. As you have no doubt figured out, you will be hard >pressed to do that using WritePort. But OnsetSignalEnabled, etc., >do just what you need here (please see >"RteRunnableInputObject.OnsetSignalEnabled" and related topics in >the E-Basic Help facility). And with EP2.0.10.182 and later you may >accomplish the same end with the new Task Events feature, which >should supplant OnsetSignal..., etc. (I show how to use >OnsetSignal... to output EEG signals in my online video course, and >hope to include coverage of Task Events in the future.) > >Finally, if you want to verify that your EEG triggers really are >synchronized with your stimuli, then you should use an oscilloscope >to monitor both the stimulus onset and the EEG trigger (the Black >Box ToolKit may may this easier). > >I hope that helps. > >----- >David McFarlane >E-Prime training >online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > >At 2/15/2013 01:47 PM Friday, justine wrote: >>I am in the process of conducting my own timing tests (for an >>Eprime/NetStation experiment), and this was invaluable in trying to >>understand the time audit measures. I gather from this that there >>is no way of knowing when the stimulus was *actually* presented on >>the screen (given the refresh rate). I assume this means that my >>triggers in the EEG record could be off by whatever that screen >>refresh delay was. Is that correct? >> >>Thanks, >> >>Justine VanDyke >>Postdoctoral Research Fellow >>University of South Carolina >> >>On Friday, 10 September 2010 09:46:03 UTC-4, David McFarlane wrote: >>When you look at the Logging tab on the properties page of any >>stimulus object, you will find a host of items available for >>logging. Most of these are time audit data. But what do all these >>items mean, and what are they good for? Chapter 3 of the E-Prime >>User's Guide discusses time auditing to some degree, and the timing >>diagram at Appendix E provides one way to see the relationships >>between these items. As an alternative, here I try to set out, in >>order, a brief description of these items. >> >>First let us distinguish between timing control *settings* and time >>audit *measures*. The following items do not reflect any results >>formed during the course of a stimulus but simply log the settings >>provided by the user (e.g., you). You may choose to have any of >>these logged just to keep a record of settings active during the experiment: >>- Duration: To reiterate, this does *not* show the actual duration of >> the stimulus, only the setting as provided by the user. >>- PreRelease: Affects the TargetOffsetTime (see below). >>- TimingMode: Event, Cumulative, or Custom, as set by the user (see >> the online E-Basic Help). >>- CustomOffsetTime: In Custom timing mode, overrides the >> TargetOnsetTime (see the online E-Basic Help). >>- CustomOnsetTime: In Custom timing mode, overrides the >> TargetOffsetTime (see the online E-Basic Help). >> >>Now, the raw time audit measures, listed in the order in which events >>occur during the execution of a stimulus object. These are all time >>stamps in milliseconds from the start of the current program run: >>- StartTime: Time at which E-Prime started executing the stimulus >> object. >>- TargetOnsetTime: Scheduled time at which presentation of stimulus was >> to begin; set automatically from GetNextTargetOnsetTime (see online >> E-Basic Help). >>- OnsetTime: Time when E-Prime actually submitted the stimulus data for >> presentation (e.g., proceeded to copy data to display memory or load >> sound buffer). This may not coincide with when the stimulus actually >> got presented, e.g., if data are submitted in the middle of a display >> refresh cycle then they may not get presented until the next refresh. >>- ActionTime: According to the online E-Basic Help, time at which >> E-Prime completed the "critical action" of the stimulus. The >> documentation remains somewhat vague about this -- perhaps "critical >> action" means copying data to display memory, or loading a sound or >> video buffer. In my tests, ActionTime never lags more than 1 ms >> behind OnsetTime, so it serves practically the same purpose as >> OnsetTime. >>- TargetOffsetTime: Scheduled time at which offset actions (e.g., >> clean-up, ClearAfter, StopAfter) of stimulus object were to begin, >> e.g., OnsetTime + Duration - PreRelease (Event timing mode), or >> TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). >>- OffsetTime: Time when E-Prime actually began the offset actions of >> the object. Actions may not take practical effect until next >> vertical blank, or until presentation of next stimulus. >>- FinishTime: Time when E-Prime exited from execution of the >> stimulus object and proceeded to execute the next section of the >> program (e.g., next stimulus object or inline code). Note that >> *execution* of a stimulus *object* may end before *presentation* of >> the *stimulus* ends; this is the point of PreRelease (as well as >> happening as a matter of course with some stimuli such as some >> sounds). >> >>Finally, a few composite time audit measures derived from the raw >>measures above and provided for convenience: >>- OnsetDelay = OnsetTime - TargetOnsetTime >>- ActionDelay = ActionTime - OnsetTime >>- OffsetDelay = OffsetTime - TargetOffsetTime >>- DurationError = OffsetTime + PreRelease - OnsetTime - Duration >> >>Note: >>- Time audit measures include the ActionTime that follows upon >> OnsetTime, but no corresponding item to follow upon OffsetTime. >>- No time audit item for time stamp of vertical blank, although many >> stimuli do not take full effect until just after a vertical blank. >> >>-- David McFarlane, Professional Faultfinder > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To unsubscribe from this group and stop receiving emails from it, >send an email to e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to e-prime at googlegroups.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. For more options, visit https://groups.google.com/groups/opt_out. From symadec at gmail.com Fri Feb 22 00:26:40 2013 From: symadec at gmail.com (Sylvain) Date: Thu, 21 Feb 2013 16:26:40 -0800 Subject: Slide with soundin and image: audio size issues Message-ID: Hello all, I have a problem with the latest version of EP2(2.0.10.242). A typical trial procedure is as follow: - first a fixation cross appear for a duration of 200 ms (pre-realease set at the stim duration); - then a blank screen of a jittered duration appears (the jittered duration has been computed before, not online, the pre-realease is set also at the stim duration); - then a Slide appear with two sub-objet: an image and a SlideSoundIn. I want my participants to give the name of the image, taking advantage of the SRS box vocal responses, and have the Slide disappearing; but I also want to record, with the SlideSoundIn sub-object, the whole signal audio. I set the duration of the Slide to 1000 ms maximum, and for the SlideSoundIn I've chosen a buffer of 1000 ms, set "Stop after" to no, and "EndSoundCaptureAction" to none. However, I notice that when I do that, automatically I see the "Stop after mode" staying on "NextOnsetTime" (pre-realease for the slide set at the stim duration); - then an ITI of 1 sec appears (pre-realease for the slide set at the stim duration). Doing that, I noticed that my audio signal from the SlideSoundIn sub-object always ended before reaching 1000 ms. My question are: 1) Do you think that even though I set the "Stop after" of the SlideSoundIn to "no" (I'm 100% sure I did that, several times) the recording could stop during the ITI onset or pre-realease of it? If not, what could have I done wrong? 2) In order to get rid of this issue, I replaced the ITI screen by a sleep inline. Does the recording of the SlideSoundIn continue during a sleep? Maybe it could be a solution to this issue. Thank you for any advices and answers. Sylvain -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/HI5P_DDIPJ0J. 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 Feb 21 22:56:52 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 21 Feb 2013 17:56:52 -0500 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <8c2fb4d4-8cf6-4a93-b89a-c70e0c48e324@googlegroups.com> Message-ID: Justine, No programming system can exactly control the actual onset time of stimuli, due to the nature and limitations of stimulus hardware. For visual stimuli in particular, the video frame rate plays one limiting role -- please see the "Critical Timing" chapter in the User's Guide that came with E-Prime (and/or take my online video course, see link below). If one wished merely to *know* when a visual stimulus got presented (as distinct from *controlling* its onset time), one might use the output of a high-speed photodector aimed at a choice spot on the display. Technically speaking, even then the time of stimulus presentation to the subject depends on things such as the distance from the display to the subject, the speed of light, photoreceptor response rates, nerve conduction to visual cortex, etc. So the real question becomes, just how accurately do you need to control or know the onset time, and can we make it "good enough"? And here we have some hope. If you synchronize your visual stimuli to start with the "vertical blank", then stimulus OnsetTime should correspond very closely to when the system starts writing the stimulus screen to the top of the display -- and starting with EP2.0.10.182, you can even adjust this (see http://www.pstnet.com/support/kb.asp?TopicID=3027 ). Now you just need to synchronize your EEG signals with the OnsetTime of your stimulus. As you have no doubt figured out, you will be hard pressed to do that using WritePort. But OnsetSignalEnabled, etc., do just what you need here (please see "RteRunnableInputObject.OnsetSignalEnabled" and related topics in the E-Basic Help facility). And with EP2.0.10.182 and later you may accomplish the same end with the new Task Events feature, which should supplant OnsetSignal..., etc. (I show how to use OnsetSignal... to output EEG signals in my online video course, and hope to include coverage of Task Events in the future.) Finally, if you want to verify that your EEG triggers really are synchronized with your stimuli, then you should use an oscilloscope to monitor both the stimulus onset and the EEG trigger (the Black Box ToolKit may may this easier). I hope that helps. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 2/15/2013 01:47 PM Friday, justine wrote: >I am in the process of conducting my own timing tests (for an >Eprime/NetStation experiment), and this was invaluable in trying to >understand the time audit measures. I gather from this that there is >no way of knowing when the stimulus was *actually* presented on the >screen (given the refresh rate). I assume this means that my >triggers in the EEG record could be off by whatever that screen >refresh delay was. Is that correct? > >Thanks, > >Justine VanDyke >Postdoctoral Research Fellow >University of South Carolina > >On Friday, 10 September 2010 09:46:03 UTC-4, David McFarlane wrote: >When you look at the Logging tab on the properties page of any >stimulus object, you will find a host of items available for >logging. Most of these are time audit data. But what do all these >items mean, and what are they good for? Chapter 3 of the E-Prime >User's Guide discusses time auditing to some degree, and the timing >diagram at Appendix E provides one way to see the relationships >between these items. As an alternative, here I try to set out, in >order, a brief description of these items. > >First let us distinguish between timing control *settings* and time >audit *measures*. The following items do not reflect any results >formed during the course of a stimulus but simply log the settings >provided by the user (e.g., you). You may choose to have any of >these logged just to keep a record of settings active during the experiment: >- Duration: To reiterate, this does *not* show the actual duration of > the stimulus, only the setting as provided by the user. >- PreRelease: Affects the TargetOffsetTime (see below). >- TimingMode: Event, Cumulative, or Custom, as set by the user (see > the online E-Basic Help). >- CustomOffsetTime: In Custom timing mode, overrides the > TargetOnsetTime (see the online E-Basic Help). >- CustomOnsetTime: In Custom timing mode, overrides the > TargetOffsetTime (see the online E-Basic Help). > >Now, the raw time audit measures, listed in the order in which events >occur during the execution of a stimulus object. These are all time >stamps in milliseconds from the start of the current program run: >- StartTime: Time at which E-Prime started executing the stimulus > object. >- TargetOnsetTime: Scheduled time at which presentation of stimulus was > to begin; set automatically from GetNextTargetOnsetTime (see online > E-Basic Help). >- OnsetTime: Time when E-Prime actually submitted the stimulus data for > presentation (e.g., proceeded to copy data to display memory or load > sound buffer). This may not coincide with when the stimulus actually > got presented, e.g., if data are submitted in the middle of a display > refresh cycle then they may not get presented until the next refresh. >- ActionTime: According to the online E-Basic Help, time at which > E-Prime completed the "critical action" of the stimulus. The > documentation remains somewhat vague about this -- perhaps "critical > action" means copying data to display memory, or loading a sound or > video buffer. In my tests, ActionTime never lags more than 1 ms > behind OnsetTime, so it serves practically the same purpose as > OnsetTime. >- TargetOffsetTime: Scheduled time at which offset actions (e.g., > clean-up, ClearAfter, StopAfter) of stimulus object were to begin, > e.g., OnsetTime + Duration - PreRelease (Event timing mode), or > TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). >- OffsetTime: Time when E-Prime actually began the offset actions of > the object. Actions may not take practical effect until next > vertical blank, or until presentation of next stimulus. >- FinishTime: Time when E-Prime exited from execution of the > stimulus object and proceeded to execute the next section of the > program (e.g., next stimulus object or inline code). Note that > *execution* of a stimulus *object* may end before *presentation* of > the *stimulus* ends; this is the point of PreRelease (as well as > happening as a matter of course with some stimuli such as some > sounds). > >Finally, a few composite time audit measures derived from the raw >measures above and provided for convenience: >- OnsetDelay = OnsetTime - TargetOnsetTime >- ActionDelay = ActionTime - OnsetTime >- OffsetDelay = OffsetTime - TargetOffsetTime >- DurationError = OffsetTime + PreRelease - OnsetTime - Duration > >Note: >- Time audit measures include the ActionTime that follows upon > OnsetTime, but no corresponding item to follow upon OffsetTime. >- No time audit item for time stamp of vertical blank, although many > stimuli do not take full effect until just after a vertical blank. > >-- David McFarlane, Professional Faultfinder -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From symadec at gmail.com Fri Feb 22 11:36:16 2013 From: symadec at gmail.com (Sylvain) Date: Fri, 22 Feb 2013 03:36:16 -0800 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <4c8a36a3.8b19e70a.5fdc.ffff90d0SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Hi David, I have a question regarding to pre-release and timing. I did a little experiment trying to get the timestamp of the onset of stim, and the offset or it. It's simple basically i have : - Inline1: I collect t1 = Clock.ReadMillisec - Then an ImageDiplay for 200 ms with a pre-realase equal to the duration of it. I log the onset of ImageDiplay and the offset of it; - Inline 2: I collect t2 = Clock.ReadMillisec Doing that, basically I get t2-t1 almost equal to 0 modulo some refresh rates. I also get ImageDiplay.OnsetTime = ImageDiplay.OffsetTime. 1) There's something there that I don't really understand, which timestamp should I really consider, ImageDiplay.OnsetTime or ImageDiplay.OffsetTime? 2) If I understood pre-realase affect offset time, so does that mean that: ImageDiplay.Duration = (ImageDiplay.OffsetTime - ImageDiplay.OnsetTime) + pre-realase 3) The fact that Inline2 is executed at the same time as Inline1 is particulary disturbing for me. Does that mean than Inline placed after an object could be executed while this object is still on screen? Thank you for any answer, I'm confused about this! Sylvain On Friday, September 10, 2010 3:46:03 PM UTC+2, David McFarlane wrote: > > When you look at the Logging tab on the properties page of any > stimulus object, you will find a host of items available for > logging. Most of these are time audit data. But what do all these > items mean, and what are they good for? Chapter 3 of the E-Prime > User's Guide discusses time auditing to some degree, and the timing > diagram at Appendix E provides one way to see the relationships > between these items. As an alternative, here I try to set out, in > order, a brief description of these items. > > First let us distinguish between timing control *settings* and time > audit *measures*. The following items do not reflect any results > formed during the course of a stimulus but simply log the settings > provided by the user (e.g., you). You may choose to have any of > these logged just to keep a record of settings active during the > experiment: > - Duration: To reiterate, this does *not* show the actual duration of > the stimulus, only the setting as provided by the user. > - PreRelease: Affects the TargetOffsetTime (see below). > - TimingMode: Event, Cumulative, or Custom, as set by the user (see > the online E-Basic Help). > - CustomOffsetTime: In Custom timing mode, overrides the > TargetOnsetTime (see the online E-Basic Help). > - CustomOnsetTime: In Custom timing mode, overrides the > TargetOffsetTime (see the online E-Basic Help). > > Now, the raw time audit measures, listed in the order in which events > occur during the execution of a stimulus object. These are all time > stamps in milliseconds from the start of the current program run: > - StartTime: Time at which E-Prime started executing the stimulus > object. > - TargetOnsetTime: Scheduled time at which presentation of stimulus was > to begin; set automatically from GetNextTargetOnsetTime (see online > E-Basic Help). > - OnsetTime: Time when E-Prime actually submitted the stimulus data for > presentation (e.g., proceeded to copy data to display memory or load > sound buffer). This may not coincide with when the stimulus actually > got presented, e.g., if data are submitted in the middle of a display > refresh cycle then they may not get presented until the next refresh. > - ActionTime: According to the online E-Basic Help, time at which > E-Prime completed the "critical action" of the stimulus. The > documentation remains somewhat vague about this -- perhaps "critical > action" means copying data to display memory, or loading a sound or > video buffer. In my tests, ActionTime never lags more than 1 ms > behind OnsetTime, so it serves practically the same purpose as > OnsetTime. > - TargetOffsetTime: Scheduled time at which offset actions (e.g., > clean-up, ClearAfter, StopAfter) of stimulus object were to begin, > e.g., OnsetTime + Duration - PreRelease (Event timing mode), or > TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). > - OffsetTime: Time when E-Prime actually began the offset actions of > the object. Actions may not take practical effect until next > vertical blank, or until presentation of next stimulus. > - FinishTime: Time when E-Prime exited from execution of the > stimulus object and proceeded to execute the next section of the > program (e.g., next stimulus object or inline code). Note that > *execution* of a stimulus *object* may end before *presentation* of > the *stimulus* ends; this is the point of PreRelease (as well as > happening as a matter of course with some stimuli such as some > sounds). > > Finally, a few composite time audit measures derived from the raw > measures above and provided for convenience: > - OnsetDelay = OnsetTime - TargetOnsetTime > - ActionDelay = ActionTime - OnsetTime > - OffsetDelay = OffsetTime - TargetOffsetTime > - DurationError = OffsetTime + PreRelease - OnsetTime - Duration > > Note: > - Time audit measures include the ActionTime that follows upon > OnsetTime, but no corresponding item to follow upon OffsetTime. > - No time audit item for time stamp of vertical blank, although many > stimuli do not take full effect until just after a vertical blank. > > -- David McFarlane, Professional Faultfinder > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/eFwpjTnxC2kJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Feb 22 16:44:13 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 22 Feb 2013 11:44:13 -0500 Subject: Slide with soundin and image: audio size issues In-Reply-To: <11f65f2e-6abc-4935-87e3-f4b3224ec42c@googlegroups.com> Message-ID: Sylvain, This all looks good to me, so I have no idea why it does not work for you -- in my experience, with SoundIn Buffer Size set to 1000 and other settings such as in your example, I get a full 1000 ms of sound recording. Using a Sleep inline for the ITI should make no difference, but by now you should have done that exercise for yourself (and reported back here with your results). So something else must be going on, or maybe someone else here has a clue. (Note BTW that End Capture Action did not work in EP2.0.8.90, see http://www.pstnet.com/forum/Topic5473-12-1.aspx .) So you should just submit this to PST Web Support, see stock reminder below. ----- 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 2/21/2013 07:26 PM Thursday, Sylvain wrote: >I have a problem with the latest version of EP2(2.0.10.242). >A typical trial procedure is as follow: > >- first a fixation cross appear for a duration of 200 ms >(pre-realease set at the stim duration); > >- then a blank screen of a jittered duration appears (the jittered >duration has been computed before, not online, the pre-realease is >set also at the stim duration); > >- then a Slide appear with two sub-objet: an image and a >SlideSoundIn. I want my participants to give the name of the image, >taking advantage of the SRS box vocal responses, and have the Slide >disappearing; but I also want to record, with the SlideSoundIn >sub-object, the whole signal audio. I set the duration of the Slide >to 1000 ms maximum, and for the SlideSoundIn I've chosen a buffer of >1000 ms, set "Stop after" to no, and "EndSoundCaptureAction" to >none. However, I notice that when I do that, automatically I see the >"Stop after mode" staying on "NextOnsetTime" (pre-realease for the >slide set at the stim duration); > >- then an ITI of 1 sec appears (pre-realease for the slide set at >the stim duration). > >Doing that, I noticed that my audio signal from the SlideSoundIn >sub-object always ended before reaching 1000 ms. > >My question are: > >1) Do you think that even though I set the "Stop after" of the >SlideSoundIn to "no" (I'm 100% sure I did that, several times) the >recording could stop during the ITI onset or pre-realease of it? If >not, what could have I done wrong? > >2) In order to get rid of this issue, I replaced the ITI screen by a >sleep inline. Does the recording of the SlideSoundIn continue during >a sleep? Maybe it could be a solution to this issue. > >Thank you for any advices and answers. > >Sylvain -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Fri Feb 22 17:51:02 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 22 Feb 2013 12:51:02 -0500 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <5127ae3f.648dec0a.488d.168aSMTPIN_ADDED_MISSING@gmr-mx.goo gle.com> Message-ID: Slight correction -- logging of OnsetToOnsetTimes works for both "Standard" (i.e., base) and Professional editions of EP2.0.10.x. -- David McFarlane At 2/22/2013 12:42 PM Friday, David McFarlane wrote: >Sylvain, > >At 2/22/2013 06:36 AM Friday, Sylvain wrote: >>Hi David, >> >>I have a question regarding to pre-release and timing. >> >>I did a little experiment trying to get the timestamp of the onset >>of stim, and the offset or it. > >Wonderful, everyone should do these sorts of explorations (that's >how I figured out all this stuff). > > >>It's simple basically i have : >> >>- Inline1: I collect t1 = Clock.ReadMillisec >>- Then an ImageDiplay for 200 ms with a pre-realase equal to the >>duration of it. I log the onset of ImageDiplay and the offset of it; >>- Inline 2: I collect t2 = Clock.ReadMillisec >> >>Doing that, basically I get t2-t1 almost equal to 0 modulo some >>refresh rates. >>I also get ImageDiplay.OnsetTime = ImageDiplay.OffsetTime. > >As you should. You might find OffsetTime slightly behind OnsetTime; >and under these conditions (PreRelease = Duration), you should find >that TargetOffsetTime = TargetOnsetTime without exception. > > >>1) There's something there that I don't really understand, which >>timestamp should I really consider, ImageDiplay.OnsetTime or >>ImageDiplay.OffsetTime? > >That depends entirely on what you wish to do with that timestamp. > > >>2) If I understood pre-realase affect offset time, so does that mean that: >>ImageDiplay.Duration = (ImageDiplay.OffsetTime >>- ImageDiplay.OnsetTime) + pre-realase > >Not quite -- E-Prime can control only *Target* offset (& onset) >times, not actual times. Actual offset (& onset) times are subject >to the limitations of the stimulus presentation hardware. Also, I >would not write the relationship that way -- that makes it sound >like Duration derives from the other quantities, which is wrong. As >I described earlier, Duration remains whatever you asked it to be, >so should appear only on the right side of the equals sign as it is >used to determine other quantities. Thus, repeating what I wrote in >my earlier description of TargetOffsetTime, in the case of Event timing mode, > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime + > ImageDisplay.Duration - ImageDisplay.PreRelease > >Note that, in the case PreRelease = Duration (the new default >setting since EP2.0.10.x), we get simply > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime > >which fits your observations. If instead we set PreRelease to 0, we find > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime + > ImageDisplay.Duration > >which perhaps is what you expected (and was the default for Event >timing mode prior to EP2.0.10.x). > >And just to drive the point further, OffsetTime does *not* indicate >the time at which *presentation* of a stimulus ends. Rather, (for >most practical purposes) it indicates when *execution* of the >stimulus Run method ends (strictly speaking, this describes >FinishTime, see my earlier description for the fine distinction >between OffsetTime and FinishTime). > >Furthermore, even with PreRelease set to 0, neither Duration nor >(OffsetTime - OnsetTime) necessarily indicate the actual duration of >the stimulus. In particular, a visual stimulus does not disappear >at its OffsetTime (ignoring Clear After, which has been deprecated), >but remains visible until replaced by another visual stimulus, so >actual presentation duration is > > Stim2.OnsetTime - Stim1.OnsetTime > >and EP2.0.10.x Pro can now log those values for you >(http://www.pstnet.com/support/kb.asp?TopicID=718 )! > > >>3) The fact that Inline2 is executed at the same time as Inline1 is >>particulary disturbing for me. Does that mean than Inline placed >>after an object could be executed while this object is still on screen? > >Yes, and that is exactly what we want it to do in many, many cases >(e.g., to handle multiple mouse actions while a visual stimulus >remains on the display, or to prepare the next stimulus during the >run of the current stimulus). If you really want your InLine to >wait until the previous object completes its Duration, then set >PreRelease of that object to 0. > >Hope that helps, >----- >David McFarlane >E-Prime training >online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > >>Thank you for any answer, I'm confused about this! >> >>Sylvain >> >>On Friday, September 10, 2010 3:46:03 PM UTC+2, David McFarlane wrote: >>When you look at the Logging tab on the properties page of any >>stimulus object, you will find a host of items available for >>logging. Most of these are time audit data. But what do all these >>items mean, and what are they good for? Chapter 3 of the E-Prime >>User's Guide discusses time auditing to some degree, and the timing >>diagram at Appendix E provides one way to see the relationships >>between these items. As an alternative, here I try to set out, in >>order, a brief description of these items. >> >>First let us distinguish between timing control *settings* and time >>audit *measures*. The following items do not reflect any results >>formed during the course of a stimulus but simply log the settings >>provided by the user (e.g., you). You may choose to have any of >>these logged just to keep a record of settings active during the experiment: >>- Duration: To reiterate, this does *not* show the actual duration of >> the stimulus, only the setting as provided by the user. >>- PreRelease: Affects the TargetOffsetTime (see below). >>- TimingMode: Event, Cumulative, or Custom, as set by the user (see >> the online E-Basic Help). >>- CustomOffsetTime: In Custom timing mode, overrides the >> TargetOnsetTime (see the online E-Basic Help). >>- CustomOnsetTime: In Custom timing mode, overrides the >> TargetOffsetTime (see the online E-Basic Help). >> >>Now, the raw time audit measures, listed in the order in which events >>occur during the execution of a stimulus object. These are all time >>stamps in milliseconds from the start of the current program run: >>- StartTime: Time at which E-Prime started executing the stimulus >> object. >>- TargetOnsetTime: Scheduled time at which presentation of stimulus was >> to begin; set automatically from GetNextTargetOnsetTime (see online >> E-Basic Help). >>- OnsetTime: Time when E-Prime actually submitted the stimulus data for >> presentation (e.g., proceeded to copy data to display memory or load >> sound buffer). This may not coincide with when the stimulus actually >> got presented, e.g., if data are submitted in the middle of a display >> refresh cycle then they may not get presented until the next refresh. >>- ActionTime: According to the online E-Basic Help, time at which >> E-Prime completed the "critical action" of the stimulus. The >> documentation remains somewhat vague about this -- perhaps "critical >> action" means copying data to display memory, or loading a sound or >> video buffer. In my tests, ActionTime never lags more than 1 ms >> behind OnsetTime, so it serves practically the same purpose as >> OnsetTime. >>- TargetOffsetTime: Scheduled time at which offset actions (e.g., >> clean-up, ClearAfter, StopAfter) of stimulus object were to begin, >> e.g., OnsetTime + Duration - PreRelease (Event timing mode), or >> TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). >>- OffsetTime: Time when E-Prime actually began the offset actions of >> the object. Actions may not take practical effect until next >> vertical blank, or until presentation of next stimulus. >>- FinishTime: Time when E-Prime exited from execution of the >> stimulus object and proceeded to execute the next section of the >> program (e.g., next stimulus object or inline code). Note that >> *execution* of a stimulus *object* may end before *presentation* of >> the *stimulus* ends; this is the point of PreRelease (as well as >> happening as a matter of course with some stimuli such as some >> sounds). >> >>Finally, a few composite time audit measures derived from the raw >>measures above and provided for convenience: >>- OnsetDelay = OnsetTime - TargetOnsetTime >>- ActionDelay = ActionTime - OnsetTime >>- OffsetDelay = OffsetTime - TargetOffsetTime >>- DurationError = OffsetTime + PreRelease - OnsetTime - Duration >> >>Note: >>- Time audit measures include the ActionTime that follows upon >> OnsetTime, but no corresponding item to follow upon OffsetTime. >>- No time audit item for time stamp of vertical blank, although many >> stimuli do not take full effect until just after a vertical blank. >> >>-- David McFarlane, Professional Faultfinder -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From symadec at gmail.com Fri Feb 22 18:10:11 2013 From: symadec at gmail.com (Sylvain) Date: Fri, 22 Feb 2013 10:10:11 -0800 Subject: Slide with soundin and image: audio size issues In-Reply-To: <1c3482bb-6a4d-44dd-8799-249f3b431e66@googlegroups.com> Message-ID: On Friday, February 22, 2013 7:02:57 PM UTC+1, Sylvain wrote: > > Hello David, > > Thank you for your answer! > > It worked with the sleep(ITI) once set as more than 1000 ms, however I did > several other tests: > > - I replaced my Sleep(ITI) with a TextDisplayITI of random duration > (between 500 and 1200 ms), with no pre-release; > - I launched an E-Test Run to hundred of trials. > > My result are as follow: > - if I add the Slide.RT (the slide with the two sub-objects) > to TextDisplayITI.duration, then if the total is inferior to almost 1000 > ms, the generated wav will be less than 1000 ms; > - if the sum is superior to 1000 ms, I will get a wav file of 1000 ms. > > Now something interesting: > > - if I set the TextDisplayITI pre-release to more than 0 ms (I tried with > same duration), my wav files are then less than 1000 ms! > So I thought that it might be due to the fact that adding a pre-release > changed the TextDisplayITI.offsettime, and that the wav could stop at the > point of this offset. The other hypothesis was that maybe, since > the TextDisplayITI was the last slide of the trial, looping to the > beginning another trial could stop the wav file. So to check that I added a > Sleep at the very end of the trial of 1000 ms, while keeping TextDisplayITI > with a pre-release of same duration. Doing that it gives me wav of 1000 ms. > > My guess is then that adding a pre-release to TextDisplayITI is changing > the TextDisplayITI.offsettime, and it induces a computation start of the > next loop earlier. And this cause a stop in the recording of the wav of the > previous trial. > > Sylvain > > On Friday, February 22, 2013 5:44:13 PM UTC+1, McFarlane, David wrote: >> >> Sylvain, >> >> This all looks good to me, so I have no idea why it does not work for >> you -- in my experience, with SoundIn Buffer Size set to 1000 and >> other settings such as in your example, I get a full 1000 ms of sound >> recording. Using a Sleep inline for the ITI should make no >> difference, but by now you should have done that exercise for >> yourself (and reported back here with your results). So something >> else must be going on, or maybe someone else here has a clue. (Note >> BTW that End Capture Action did not work in EP2.0.8.90, see >> http://www.pstnet.com/forum/Topic5473-12-1.aspx .) >> >> So you should just submit this to PST Web Support, see stock reminder >> below. >> >> ----- >> 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 2/21/2013 07:26 PM Thursday, Sylvain wrote: >> >I have a problem with the latest version of EP2(2.0.10.242). >> >A typical trial procedure is as follow: >> > >> >- first a fixation cross appear for a duration of 200 ms >> >(pre-realease set at the stim duration); >> > >> >- then a blank screen of a jittered duration appears (the jittered >> >duration has been computed before, not online, the pre-realease is >> >set also at the stim duration); >> > >> >- then a Slide appear with two sub-objet: an image and a >> >SlideSoundIn. I want my participants to give the name of the image, >> >taking advantage of the SRS box vocal responses, and have the Slide >> >disappearing; but I also want to record, with the SlideSoundIn >> >sub-object, the whole signal audio. I set the duration of the Slide >> >to 1000 ms maximum, and for the SlideSoundIn I've chosen a buffer of >> >1000 ms, set "Stop after" to no, and "EndSoundCaptureAction" to >> >none. However, I notice that when I do that, automatically I see the >> >"Stop after mode" staying on "NextOnsetTime" (pre-realease for the >> >slide set at the stim duration); >> > >> >- then an ITI of 1 sec appears (pre-realease for the slide set at >> >the stim duration). >> > >> >Doing that, I noticed that my audio signal from the SlideSoundIn >> >sub-object always ended before reaching 1000 ms. >> > >> >My question are: >> > >> >1) Do you think that even though I set the "Stop after" of the >> >SlideSoundIn to "no" (I'm 100% sure I did that, several times) the >> >recording could stop during the ITI onset or pre-realease of it? If >> >not, what could have I done wrong? >> > >> >2) In order to get rid of this issue, I replaced the ITI screen by a >> >sleep inline. Does the recording of the SlideSoundIn continue during >> >a sleep? Maybe it could be a solution to this issue. >> > >> >Thank you for any advices and answers. >> > >> >Sylvain >> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/towyt3LNHLwJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Feb 22 17:42:29 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 22 Feb 2013 12:42:29 -0500 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <82e671f4-49d8-43cd-8f99-dac143e36bcb@googlegroups.com> Message-ID: Sylvain, At 2/22/2013 06:36 AM Friday, Sylvain wrote: >Hi David, > >I have a question regarding to pre-release and timing. > >I did a little experiment trying to get the timestamp of the onset >of stim, and the offset or it. Wonderful, everyone should do these sorts of explorations (that's how I figured out all this stuff). >It's simple basically i have : > >- Inline1: I collect t1 = Clock.ReadMillisec >- Then an ImageDiplay for 200 ms with a pre-realase equal to the >duration of it. I log the onset of ImageDiplay and the offset of it; >- Inline 2: I collect t2 = Clock.ReadMillisec > >Doing that, basically I get t2-t1 almost equal to 0 modulo some refresh rates. >I also get ImageDiplay.OnsetTime = ImageDiplay.OffsetTime. As you should. You might find OffsetTime slightly behind OnsetTime; and under these conditions (PreRelease = Duration), you should find that TargetOffsetTime = TargetOnsetTime without exception. >1) There's something there that I don't really understand, which >timestamp should I really consider, ImageDiplay.OnsetTime or >ImageDiplay.OffsetTime? That depends entirely on what you wish to do with that timestamp. >2) If I understood pre-realase affect offset time, so does that mean that: >ImageDiplay.Duration = (ImageDiplay.OffsetTime >- ImageDiplay.OnsetTime) + pre-realase Not quite -- E-Prime can control only *Target* offset (& onset) times, not actual times. Actual offset (& onset) times are subject to the limitations of the stimulus presentation hardware. Also, I would not write the relationship that way -- that makes it sound like Duration derives from the other quantities, which is wrong. As I described earlier, Duration remains whatever you asked it to be, so should appear only on the right side of the equals sign as it is used to determine other quantities. Thus, repeating what I wrote in my earlier description of TargetOffsetTime, in the case of Event timing mode, ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime + ImageDisplay.Duration - ImageDisplay.PreRelease Note that, in the case PreRelease = Duration (the new default setting since EP2.0.10.x), we get simply ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime which fits your observations. If instead we set PreRelease to 0, we find ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime + ImageDisplay.Duration which perhaps is what you expected (and was the default for Event timing mode prior to EP2.0.10.x). And just to drive the point further, OffsetTime does *not* indicate the time at which *presentation* of a stimulus ends. Rather, (for most practical purposes) it indicates when *execution* of the stimulus Run method ends (strictly speaking, this describes FinishTime, see my earlier description for the fine distinction between OffsetTime and FinishTime). Furthermore, even with PreRelease set to 0, neither Duration nor (OffsetTime - OnsetTime) necessarily indicate the actual duration of the stimulus. In particular, a visual stimulus does not disappear at its OffsetTime (ignoring Clear After, which has been deprecated), but remains visible until replaced by another visual stimulus, so actual presentation duration is Stim2.OnsetTime - Stim1.OnsetTime and EP2.0.10.x Pro can now log those values for you (http://www.pstnet.com/support/kb.asp?TopicID=718 )! >3) The fact that Inline2 is executed at the same time as Inline1 is >particulary disturbing for me. Does that mean than Inline placed >after an object could be executed while this object is still on screen? Yes, and that is exactly what we want it to do in many, many cases (e.g., to handle multiple mouse actions while a visual stimulus remains on the display, or to prepare the next stimulus during the run of the current stimulus). If you really want your InLine to wait until the previous object completes its Duration, then set PreRelease of that object to 0. Hope that helps, ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) >Thank you for any answer, I'm confused about this! > >Sylvain > >On Friday, September 10, 2010 3:46:03 PM UTC+2, David McFarlane wrote: >When you look at the Logging tab on the properties page of any >stimulus object, you will find a host of items available for >logging. Most of these are time audit data. But what do all these >items mean, and what are they good for? Chapter 3 of the E-Prime >User's Guide discusses time auditing to some degree, and the timing >diagram at Appendix E provides one way to see the relationships >between these items. As an alternative, here I try to set out, in >order, a brief description of these items. > >First let us distinguish between timing control *settings* and time >audit *measures*. The following items do not reflect any results >formed during the course of a stimulus but simply log the settings >provided by the user (e.g., you). You may choose to have any of >these logged just to keep a record of settings active during the experiment: >- Duration: To reiterate, this does *not* show the actual duration of > the stimulus, only the setting as provided by the user. >- PreRelease: Affects the TargetOffsetTime (see below). >- TimingMode: Event, Cumulative, or Custom, as set by the user (see > the online E-Basic Help). >- CustomOffsetTime: In Custom timing mode, overrides the > TargetOnsetTime (see the online E-Basic Help). >- CustomOnsetTime: In Custom timing mode, overrides the > TargetOffsetTime (see the online E-Basic Help). > >Now, the raw time audit measures, listed in the order in which events >occur during the execution of a stimulus object. These are all time >stamps in milliseconds from the start of the current program run: >- StartTime: Time at which E-Prime started executing the stimulus > object. >- TargetOnsetTime: Scheduled time at which presentation of stimulus was > to begin; set automatically from GetNextTargetOnsetTime (see online > E-Basic Help). >- OnsetTime: Time when E-Prime actually submitted the stimulus data for > presentation (e.g., proceeded to copy data to display memory or load > sound buffer). This may not coincide with when the stimulus actually > got presented, e.g., if data are submitted in the middle of a display > refresh cycle then they may not get presented until the next refresh. >- ActionTime: According to the online E-Basic Help, time at which > E-Prime completed the "critical action" of the stimulus. The > documentation remains somewhat vague about this -- perhaps "critical > action" means copying data to display memory, or loading a sound or > video buffer. In my tests, ActionTime never lags more than 1 ms > behind OnsetTime, so it serves practically the same purpose as > OnsetTime. >- TargetOffsetTime: Scheduled time at which offset actions (e.g., > clean-up, ClearAfter, StopAfter) of stimulus object were to begin, > e.g., OnsetTime + Duration - PreRelease (Event timing mode), or > TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). >- OffsetTime: Time when E-Prime actually began the offset actions of > the object. Actions may not take practical effect until next > vertical blank, or until presentation of next stimulus. >- FinishTime: Time when E-Prime exited from execution of the > stimulus object and proceeded to execute the next section of the > program (e.g., next stimulus object or inline code). Note that > *execution* of a stimulus *object* may end before *presentation* of > the *stimulus* ends; this is the point of PreRelease (as well as > happening as a matter of course with some stimuli such as some > sounds). > >Finally, a few composite time audit measures derived from the raw >measures above and provided for convenience: >- OnsetDelay = OnsetTime - TargetOnsetTime >- ActionDelay = ActionTime - OnsetTime >- OffsetDelay = OffsetTime - TargetOffsetTime >- DurationError = OffsetTime + PreRelease - OnsetTime - Duration > >Note: >- Time audit measures include the ActionTime that follows upon > OnsetTime, but no corresponding item to follow upon OffsetTime. >- No time audit item for time stamp of vertical blank, although many > stimuli do not take full effect until just after a vertical blank. > >-- David McFarlane, Professional Faultfinder > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To unsubscribe from this group and stop receiving emails from it, >send an email to e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msg/e-prime/-/eFwpjTnxC2kJ. >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. For more options, visit https://groups.google.com/groups/opt_out. From evelina at illinois.edu Fri Feb 22 21:21:57 2013 From: evelina at illinois.edu (Evelina Tapia) Date: Fri, 22 Feb 2013 13:21:57 -0800 Subject: Real-time mouse cursor location display and logging Message-ID: Dear all, I want my participants to trace an area on the screen with the mouse while they see the path they are tracing. The E-prime support website has an example TrackMouseCoordinates which tracks mouse cursor locations while participant moves the mouse (but the participant only has a mental trajectory of that path), and then later plays back the traced path. I've not yet succeeded in changing the code to do what I desire -- does anyone have any advice? Thank you :) Evelina -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/sm_-Y_-GDXUJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Feb 22 18:23:09 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 22 Feb 2013 13:23:09 -0500 Subject: Slide with soundin and image: audio size issues In-Reply-To: <1c3482bb-6a4d-44dd-8799-249f3b431e66@googlegroups.com> Message-ID: Sylvain, Well done. A lot of detail there, and I think I see the clue in your final paragraph -- it looks like you have stumbled into the new Generate PreRun = TopOfProcedure "gotcha" that can hit the last object in a Procedure, see http://www.pstnet.com/support/kb.asp?TopicID=3299 and http://www.pstnet.com/support/kb.asp?TopicID=2627 . In short, you might fix this either by using PreRelease = 0, as you did, or setting Generate PreRun to BeforeObjectRun. One of us should add your observation as a comment to those KB articles. Thanks for presenting & pursuing this. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 2/22/2013 01:02 PM Friday, Sylvain wrote: >Hello David, > >Thank you for your answer! > >It worked with the sleep(ITI) once set as more than 1000 ms, however >I did several other tests: > >- I replaced my Sleep(ITI) with a TextDisplayITI of random duration >(between 500 and 1200 ms), with no pre-release; >- I launched an E-Test Run to hundred of trials. > >My result are as follow: >- if I add the Slide.RT (the slide with the two sub-objects) to >TextDisplayITI.duration, then if the total is inferior to almost >1000 ms, the generated wav will be less than 1000 ms; >- if the sum is superior to 1000 ms, I will get a wav file of 1000 ms. > >Now something interesting: > >- if I set the TextDisplayITI pre-release to more than 0 ms (I tried >with same duration), my wav files are then less than 1000 ms! >So I thought that it might be due to the fact that adding a >pre-release changed the TextDisplayITI.offsettime, and that the wav >could stop at the point of this offset. The other hypothesis was >that maybe, since the TextDisplayITI was the last slide of the >trial, looping to the beginning another trial could stop the wav >file. So to check that I added a Sleep at the very end of the trial >of 1000 ms, while keeping TextDisplayITI with a pre-release of same >duration. Doing that it gives me wav of 1000 ms. > >My guess is then that adding a pre-release to TextDisplayITI is >changing the TextDisplayITI.offsettime, and it induces a computation >start of the next loop earlier. And this cause a stop in the >recording of the wav of the previous trial. > >Sylvain > >On Friday, February 22, 2013 5:44:13 PM UTC+1, McFarlane, David wrote: >Sylvain, > >This all looks good to me, so I have no idea why it does not work for >you -- in my experience, with SoundIn Buffer Size set to 1000 and >other settings such as in your example, I get a full 1000 ms of sound >recording. Using a Sleep inline for the ITI should make no >difference, but by now you should have done that exercise for >yourself (and reported back here with your results). So something >else must be going on, or maybe someone else here has a clue. (Note >BTW that End Capture Action did not work in EP2.0.8.90, see >http://www.pstnet.com/forum/Topic5473-12-1.aspx >.) > >So you should just submit this to PST Web Support, see stock reminder below. > >----- >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 2/21/2013 07:26 PM Thursday, Sylvain wrote: > >I have a problem with the latest version of EP2(2.0.10.242). > >A typical trial procedure is as follow: > > > >- first a fixation cross appear for a duration of 200 ms > >(pre-realease set at the stim duration); > > > >- then a blank screen of a jittered duration appears (the jittered > >duration has been computed before, not online, the pre-realease is > >set also at the stim duration); > > > >- then a Slide appear with two sub-objet: an image and a > >SlideSoundIn. I want my participants to give the name of the image, > >taking advantage of the SRS box vocal responses, and have the Slide > >disappearing; but I also want to record, with the SlideSoundIn > >sub-object, the whole signal audio. I set the duration of the Slide > >to 1000 ms maximum, and for the SlideSoundIn I've chosen a buffer of > >1000 ms, set "Stop after" to no, and "EndSoundCaptureAction" to > >none. However, I notice that when I do that, automatically I see the > >"Stop after mode" staying on "NextOnsetTime" (pre-realease for the > >slide set at the stim duration); > > > >- then an ITI of 1 sec appears (pre-realease for the slide set at > >the stim duration). > > > >Doing that, I noticed that my audio signal from the SlideSoundIn > >sub-object always ended before reaching 1000 ms. > > > >My question are: > > > >1) Do you think that even though I set the "Stop after" of the > >SlideSoundIn to "no" (I'm 100% sure I did that, several times) the > >recording could stop during the ITI onset or pre-realease of it? If > >not, what could have I done wrong? > > > >2) In order to get rid of this issue, I replaced the ITI screen by a > >sleep inline. Does the recording of the SlideSoundIn continue during > >a sleep? Maybe it could be a solution to this issue. > > > >Thank you for any advices and answers. > > > >Sylvain -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From symadec at gmail.com Fri Feb 22 18:02:57 2013 From: symadec at gmail.com (Sylvain) Date: Fri, 22 Feb 2013 10:02:57 -0800 Subject: Slide with soundin and image: audio size issues In-Reply-To: <5127a05e.2a87ec0a.6733.1576SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hello David, Thank you for your answer! It worked with the sleep(ITI) once set as more than 1000 ms, however I did several other tests: - I replaced my Sleep(ITI) with a TextDisplayITI of random duration (between 500 and 1200 ms), with no pre-release; - I launched an E-Test Run to hundred of trials. My result are as follow: - if I add the Slide.RT (the slide with the two sub-objects) to TextDisplayITI.duration, then if the total is inferior to almost 1000 ms, the generated wav will be less than 1000 ms; - if the sum is superior to 1000 ms, I will get a wav file of 1000 ms. Now something interesting: - if I set the TextDisplayITI pre-release to more than 0 ms (I tried with same duration), my wav files are then less than 1000 ms! So I thought that it might be due to the fact that adding a pre-release changed the TextDisplayITI.offsettime, and that the wav could stop at the point of this offset. The other hypothesis was that maybe, since the TextDisplayITI was the last slide of the trial, looping to the beginning another trial could stop the wav file. So to check that I added a Sleep at the very end of the trial of 1000 ms, while keeping TextDisplayITI with a pre-release of same duration. Doing that it gives me wav of 1000 ms. My guess is then that adding a pre-release to TextDisplayITI is changing the TextDisplayITI.offsettime, and it induces a computation start of the next loop earlier. And this cause a stop in the recording of the wav of the previous trial. Sylvain On Friday, February 22, 2013 5:44:13 PM UTC+1, McFarlane, David wrote: > > Sylvain, > > This all looks good to me, so I have no idea why it does not work for > you -- in my experience, with SoundIn Buffer Size set to 1000 and > other settings such as in your example, I get a full 1000 ms of sound > recording. Using a Sleep inline for the ITI should make no > difference, but by now you should have done that exercise for > yourself (and reported back here with your results). So something > else must be going on, or maybe someone else here has a clue. (Note > BTW that End Capture Action did not work in EP2.0.8.90, see > http://www.pstnet.com/forum/Topic5473-12-1.aspx .) > > So you should just submit this to PST Web Support, see stock reminder > below. > > ----- > 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 2/21/2013 07:26 PM Thursday, Sylvain wrote: > >I have a problem with the latest version of EP2(2.0.10.242). > >A typical trial procedure is as follow: > > > >- first a fixation cross appear for a duration of 200 ms > >(pre-realease set at the stim duration); > > > >- then a blank screen of a jittered duration appears (the jittered > >duration has been computed before, not online, the pre-realease is > >set also at the stim duration); > > > >- then a Slide appear with two sub-objet: an image and a > >SlideSoundIn. I want my participants to give the name of the image, > >taking advantage of the SRS box vocal responses, and have the Slide > >disappearing; but I also want to record, with the SlideSoundIn > >sub-object, the whole signal audio. I set the duration of the Slide > >to 1000 ms maximum, and for the SlideSoundIn I've chosen a buffer of > >1000 ms, set "Stop after" to no, and "EndSoundCaptureAction" to > >none. However, I notice that when I do that, automatically I see the > >"Stop after mode" staying on "NextOnsetTime" (pre-realease for the > >slide set at the stim duration); > > > >- then an ITI of 1 sec appears (pre-realease for the slide set at > >the stim duration). > > > >Doing that, I noticed that my audio signal from the SlideSoundIn > >sub-object always ended before reaching 1000 ms. > > > >My question are: > > > >1) Do you think that even though I set the "Stop after" of the > >SlideSoundIn to "no" (I'm 100% sure I did that, several times) the > >recording could stop during the ITI onset or pre-realease of it? If > >not, what could have I done wrong? > > > >2) In order to get rid of this issue, I replaced the ITI screen by a > >sleep inline. Does the recording of the SlideSoundIn continue during > >a sleep? Maybe it could be a solution to this issue. > > > >Thank you for any advices and answers. > > > >Sylvain > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/gzQEZKFNf-0J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From saultsj at missouri.edu Sat Feb 23 04:06:36 2013 From: saultsj at missouri.edu (Scott) Date: Fri, 22 Feb 2013 20:06:36 -0800 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <5126a844.a65bec0a.044c.01aaSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thanks for warning us, David. I've used OnsetSignal for years, assuming it worked as advertised (after checking critical OTO intervals during test runs by comparing triggers in CNT files with corresponding onsets times in Edat files). I'm also surprised to hear that Task Events supplant using OnsetSignal. When I asked, Eprime support was not able to demonstrate how Task Events could replicate what I'm accustomed to doing with OnsetSignal, to code and distinguish stimuli in EEG recordings. If Task Events can really do the same things better, then I should reconsider my methods (of programming and Epoching) and adapt to using Task Events instead, now that I've finally adopted the Production Resease. I've been slow and cautious to change, and only recently started programming new experiments with E-Prime 2.0.10.262.. -- Scott On Thursday, February 21, 2013 5:05:34 PM UTC-6, McFarlane, David wrote: > > Justine, > > I should mention that using OnsetSignal... still entails some > "gotchas" (which I go over in the course). > > -- David McFarlane > > > At 2/21/2013 05:56 PM Thursday, David McFarlane wrote: > >Justine, > > > >No programming system can exactly control the actual onset time of > >stimuli, due to the nature and limitations of stimulus > >hardware. For visual stimuli in particular, the video frame rate > >plays one limiting role -- please see the "Critical Timing" chapter > >in the User's Guide that came with E-Prime (and/or take my online > >video course, see link below). > > > >If one wished merely to *know* when a visual stimulus got presented > >(as distinct from *controlling* its onset time), one might use the > >output of a high-speed photodector aimed at a choice spot on the > >display. Technically speaking, even then the time of stimulus > >presentation to the subject depends on things such as the distance > >from the display to the subject, the speed of light, photoreceptor > >response rates, nerve conduction to visual cortex, etc. So the real > >question becomes, just how accurately do you need to control or know > >the onset time, and can we make it "good enough"? > > > >And here we have some hope. If you synchronize your visual stimuli > >to start with the "vertical blank", then stimulus OnsetTime should > >correspond very closely to when the system starts writing the > >stimulus screen to the top of the display -- and starting with > >EP2.0.10.182, you can even adjust this (see > >http://www.pstnet.com/support/kb.asp?TopicID=3027 ). Now you just > >need to synchronize your EEG signals with the OnsetTime of your > >stimulus. As you have no doubt figured out, you will be hard > >pressed to do that using WritePort. But OnsetSignalEnabled, etc., > >do just what you need here (please see > >"RteRunnableInputObject.OnsetSignalEnabled" and related topics in > >the E-Basic Help facility). And with EP2.0.10.182 and later you may > >accomplish the same end with the new Task Events feature, which > >should supplant OnsetSignal..., etc. (I show how to use > >OnsetSignal... to output EEG signals in my online video course, and > >hope to include coverage of Task Events in the future.) > > > >Finally, if you want to verify that your EEG triggers really are > >synchronized with your stimuli, then you should use an oscilloscope > >to monitor both the stimulus onset and the EEG trigger (the Black > >Box ToolKit may may this easier). > > > >I hope that helps. > > > >----- > >David McFarlane > >E-Prime training > >online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > >Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > > > >At 2/15/2013 01:47 PM Friday, justine wrote: > >>I am in the process of conducting my own timing tests (for an > >>Eprime/NetStation experiment), and this was invaluable in trying to > >>understand the time audit measures. I gather from this that there > >>is no way of knowing when the stimulus was *actually* presented on > >>the screen (given the refresh rate). I assume this means that my > >>triggers in the EEG record could be off by whatever that screen > >>refresh delay was. Is that correct? > >> > >>Thanks, > >> > >>Justine VanDyke > >>Postdoctoral Research Fellow > >>University of South Carolina > >> > >>On Friday, 10 September 2010 09:46:03 UTC-4, David McFarlane wrote: > >>When you look at the Logging tab on the properties page of any > >>stimulus object, you will find a host of items available for > >>logging. Most of these are time audit data. But what do all these > >>items mean, and what are they good for? Chapter 3 of the E-Prime > >>User's Guide discusses time auditing to some degree, and the timing > >>diagram at Appendix E provides one way to see the relationships > >>between these items. As an alternative, here I try to set out, in > >>order, a brief description of these items. > >> > >>First let us distinguish between timing control *settings* and time > >>audit *measures*. The following items do not reflect any results > >>formed during the course of a stimulus but simply log the settings > >>provided by the user (e.g., you). You may choose to have any of > >>these logged just to keep a record of settings active during the > experiment: > >>- Duration: To reiterate, this does *not* show the actual duration of > >> the stimulus, only the setting as provided by the user. > >>- PreRelease: Affects the TargetOffsetTime (see below). > >>- TimingMode: Event, Cumulative, or Custom, as set by the user (see > >> the online E-Basic Help). > >>- CustomOffsetTime: In Custom timing mode, overrides the > >> TargetOnsetTime (see the online E-Basic Help). > >>- CustomOnsetTime: In Custom timing mode, overrides the > >> TargetOffsetTime (see the online E-Basic Help). > >> > >>Now, the raw time audit measures, listed in the order in which events > >>occur during the execution of a stimulus object. These are all time > >>stamps in milliseconds from the start of the current program run: > >>- StartTime: Time at which E-Prime started executing the stimulus > >> object. > >>- TargetOnsetTime: Scheduled time at which presentation of stimulus was > >> to begin; set automatically from GetNextTargetOnsetTime (see online > >> E-Basic Help). > >>- OnsetTime: Time when E-Prime actually submitted the stimulus data for > >> presentation (e.g., proceeded to copy data to display memory or load > >> sound buffer). This may not coincide with when the stimulus > actually > >> got presented, e.g., if data are submitted in the middle of a > display > >> refresh cycle then they may not get presented until the next > refresh. > >>- ActionTime: According to the online E-Basic Help, time at which > >> E-Prime completed the "critical action" of the stimulus. The > >> documentation remains somewhat vague about this -- perhaps "critical > >> action" means copying data to display memory, or loading a sound or > >> video buffer. In my tests, ActionTime never lags more than 1 ms > >> behind OnsetTime, so it serves practically the same purpose as > >> OnsetTime. > >>- TargetOffsetTime: Scheduled time at which offset actions (e.g., > >> clean-up, ClearAfter, StopAfter) of stimulus object were to begin, > >> e.g., OnsetTime + Duration - PreRelease (Event timing mode), or > >> TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). > >>- OffsetTime: Time when E-Prime actually began the offset actions of > >> the object. Actions may not take practical effect until next > >> vertical blank, or until presentation of next stimulus. > >>- FinishTime: Time when E-Prime exited from execution of the > >> stimulus object and proceeded to execute the next section of the > >> program (e.g., next stimulus object or inline code). Note that > >> *execution* of a stimulus *object* may end before *presentation* of > >> the *stimulus* ends; this is the point of PreRelease (as well as > >> happening as a matter of course with some stimuli such as some > >> sounds). > >> > >>Finally, a few composite time audit measures derived from the raw > >>measures above and provided for convenience: > >>- OnsetDelay = OnsetTime - TargetOnsetTime > >>- ActionDelay = ActionTime - OnsetTime > >>- OffsetDelay = OffsetTime - TargetOffsetTime > >>- DurationError = OffsetTime + PreRelease - OnsetTime - Duration > >> > >>Note: > >>- Time audit measures include the ActionTime that follows upon > >> OnsetTime, but no corresponding item to follow upon OffsetTime. > >>- No time audit item for time stamp of vertical blank, although many > >> stimuli do not take full effect until just after a vertical blank. > >> > >>-- David McFarlane, Professional Faultfinder > > > >-- > >You received this message because you are subscribed 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. > > >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/msg/e-prime/-/giRQuFUXVQEJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From saultsj at missouri.edu Sat Feb 23 05:16:16 2013 From: saultsj at missouri.edu (Scott) Date: Fri, 22 Feb 2013 21:16:16 -0800 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: Message-ID: Sorry -- After reviewing the revised task from support, I see Task Events CAN (apparently) send an onset code AND rest the port after 10 ms (or whatever). What this support example failed to do (and what I'd hoped Task Events could do) is replace inline code used to send conditional response codes. Otherwise, Task Events does seem able to send any specific code, that's available as an attribute. But even this ability seems less flexible than how I can select from several attributes specific ones as onsetSignalData for different objects at the beginning of each trial. However, this sample from support might not take advantage of all options for Task Events, so I should study the documentation more before dismissing it. I admit I haven't give Task Events a fair chance, after being disappointed about it's (apparent) limitations for sending conditional response codes. On Friday, February 22, 2013 10:06:36 PM UTC-6, Scott wrote: > > Thanks for warning us, David. I've used OnsetSignal for years, assuming it > worked as advertised (after checking critical OTO intervals during test > runs by comparing triggers in CNT files with corresponding onsets times in > Edat files). I'm also surprised to hear that Task Events supplant using > OnsetSignal. When I asked, Eprime support was not able to demonstrate how > Task Events could replicate what I'm accustomed to doing with OnsetSignal, > to code and distinguish stimuli in EEG recordings. If Task Events can > really do the same things better, then I should reconsider my methods (of > programming and Epoching) and adapt to using Task Events instead, now that > I've finally adopted the Production Resease. I've been slow and cautious > to change, and only recently started programming new experiments with > E-Prime 2.0.10.262.. -- Scott > > On Thursday, February 21, 2013 5:05:34 PM UTC-6, McFarlane, David wrote: >> >> Justine, >> >> I should mention that using OnsetSignal... still entails some >> "gotchas" (which I go over in the course). >> >> -- David McFarlane >> >> >> At 2/21/2013 05:56 PM Thursday, David McFarlane wrote: >> >Justine, >> > >> >No programming system can exactly control the actual onset time of >> >stimuli, due to the nature and limitations of stimulus >> >hardware. For visual stimuli in particular, the video frame rate >> >plays one limiting role -- please see the "Critical Timing" chapter >> >in the User's Guide that came with E-Prime (and/or take my online >> >video course, see link below). >> > >> >If one wished merely to *know* when a visual stimulus got presented >> >(as distinct from *controlling* its onset time), one might use the >> >output of a high-speed photodector aimed at a choice spot on the >> >display. Technically speaking, even then the time of stimulus >> >presentation to the subject depends on things such as the distance >> >from the display to the subject, the speed of light, photoreceptor >> >response rates, nerve conduction to visual cortex, etc. So the real >> >question becomes, just how accurately do you need to control or know >> >the onset time, and can we make it "good enough"? >> > >> >And here we have some hope. If you synchronize your visual stimuli >> >to start with the "vertical blank", then stimulus OnsetTime should >> >correspond very closely to when the system starts writing the >> >stimulus screen to the top of the display -- and starting with >> >EP2.0.10.182, you can even adjust this (see >> >http://www.pstnet.com/support/kb.asp?TopicID=3027 ). Now you just >> >need to synchronize your EEG signals with the OnsetTime of your >> >stimulus. As you have no doubt figured out, you will be hard >> >pressed to do that using WritePort. But OnsetSignalEnabled, etc., >> >do just what you need here (please see >> >"RteRunnableInputObject.OnsetSignalEnabled" and related topics in >> >the E-Basic Help facility). And with EP2.0.10.182 and later you may >> >accomplish the same end with the new Task Events feature, which >> >should supplant OnsetSignal..., etc. (I show how to use >> >OnsetSignal... to output EEG signals in my online video course, and >> >hope to include coverage of Task Events in the future.) >> > >> >Finally, if you want to verify that your EEG triggers really are >> >synchronized with your stimuli, then you should use an oscilloscope >> >to monitor both the stimulus onset and the EEG trigger (the Black >> >Box ToolKit may may this easier). >> > >> >I hope that helps. >> > >> >----- >> >David McFarlane >> >E-Prime training >> >online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx >> >Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) >> > >> > >> >At 2/15/2013 01:47 PM Friday, justine wrote: >> >>I am in the process of conducting my own timing tests (for an >> >>Eprime/NetStation experiment), and this was invaluable in trying to >> >>understand the time audit measures. I gather from this that there >> >>is no way of knowing when the stimulus was *actually* presented on >> >>the screen (given the refresh rate). I assume this means that my >> >>triggers in the EEG record could be off by whatever that screen >> >>refresh delay was. Is that correct? >> >> >> >>Thanks, >> >> >> >>Justine VanDyke >> >>Postdoctoral Research Fellow >> >>University of South Carolina >> >> >> >>On Friday, 10 September 2010 09:46:03 UTC-4, David McFarlane wrote: >> >>When you look at the Logging tab on the properties page of any >> >>stimulus object, you will find a host of items available for >> >>logging. Most of these are time audit data. But what do all these >> >>items mean, and what are they good for? Chapter 3 of the E-Prime >> >>User's Guide discusses time auditing to some degree, and the timing >> >>diagram at Appendix E provides one way to see the relationships >> >>between these items. As an alternative, here I try to set out, in >> >>order, a brief description of these items. >> >> >> >>First let us distinguish between timing control *settings* and time >> >>audit *measures*. The following items do not reflect any results >> >>formed during the course of a stimulus but simply log the settings >> >>provided by the user (e.g., you). You may choose to have any of >> >>these logged just to keep a record of settings active during the >> experiment: >> >>- Duration: To reiterate, this does *not* show the actual duration of >> >> the stimulus, only the setting as provided by the user. >> >>- PreRelease: Affects the TargetOffsetTime (see below). >> >>- TimingMode: Event, Cumulative, or Custom, as set by the user (see >> >> the online E-Basic Help). >> >>- CustomOffsetTime: In Custom timing mode, overrides the >> >> TargetOnsetTime (see the online E-Basic Help). >> >>- CustomOnsetTime: In Custom timing mode, overrides the >> >> TargetOffsetTime (see the online E-Basic Help). >> >> >> >>Now, the raw time audit measures, listed in the order in which events >> >>occur during the execution of a stimulus object. These are all time >> >>stamps in milliseconds from the start of the current program run: >> >>- StartTime: Time at which E-Prime started executing the stimulus >> >> object. >> >>- TargetOnsetTime: Scheduled time at which presentation of stimulus >> was >> >> to begin; set automatically from GetNextTargetOnsetTime (see online >> >> E-Basic Help). >> >>- OnsetTime: Time when E-Prime actually submitted the stimulus data >> for >> >> presentation (e.g., proceeded to copy data to display memory or >> load >> >> sound buffer). This may not coincide with when the stimulus >> actually >> >> got presented, e.g., if data are submitted in the middle of a >> display >> >> refresh cycle then they may not get presented until the next >> refresh. >> >>- ActionTime: According to the online E-Basic Help, time at which >> >> E-Prime completed the "critical action" of the stimulus. The >> >> documentation remains somewhat vague about this -- perhaps >> "critical >> >> action" means copying data to display memory, or loading a sound or >> >> video buffer. In my tests, ActionTime never lags more than 1 ms >> >> behind OnsetTime, so it serves practically the same purpose as >> >> OnsetTime. >> >>- TargetOffsetTime: Scheduled time at which offset actions (e.g., >> >> clean-up, ClearAfter, StopAfter) of stimulus object were to begin, >> >> e.g., OnsetTime + Duration - PreRelease (Event timing mode), or >> >> TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). >> >>- OffsetTime: Time when E-Prime actually began the offset actions of >> >> the object. Actions may not take practical effect until next >> >> vertical blank, or until presentation of next stimulus. >> >>- FinishTime: Time when E-Prime exited from execution of the >> >> stimulus object and proceeded to execute the next section of the >> >> program (e.g., next stimulus object or inline code). Note that >> >> *execution* of a stimulus *object* may end before *presentation* of >> >> the *stimulus* ends; this is the point of PreRelease (as well as >> >> happening as a matter of course with some stimuli such as some >> >> sounds). >> >> >> >>Finally, a few composite time audit measures derived from the raw >> >>measures above and provided for convenience: >> >>- OnsetDelay = OnsetTime - TargetOnsetTime >> >>- ActionDelay = ActionTime - OnsetTime >> >>- OffsetDelay = OffsetTime - TargetOffsetTime >> >>- DurationError = OffsetTime + PreRelease - OnsetTime - Duration >> >> >> >>Note: >> >>- Time audit measures include the ActionTime that follows upon >> >> OnsetTime, but no corresponding item to follow upon OffsetTime. >> >>- No time audit item for time stamp of vertical blank, although many >> >> stimuli do not take full effect until just after a vertical blank. >> >> >> >>-- David McFarlane, Professional Faultfinder >> > >> >-- >> >You received this message because you are subscribed 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. >> >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/msg/e-prime/-/fVeIqgS6-b4J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From symadec at gmail.com Sun Feb 24 14:27:53 2013 From: symadec at gmail.com (Sylvain) Date: Sun, 24 Feb 2013 06:27:53 -0800 Subject: Slide with soundin and image: audio size issues In-Reply-To: <5127b79e.e77eec0a.200a.178fSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hello David, Thank for your answer. I tried to set TextDisplayITI to Generate PreRun to BeforeObjectRun. I let the pre-release of TextDisplayITI to "same duration". However I still have wav file (from the previous object still recording Slide) of less than 1000 ms. The only thing that seem to work is: - having a pre-release of 0 ms on the TextDisplayITI; - having a duration of more than 1000 ms to TextDisplayITI. I could run my experiment this way, it works, but I'm confused about the script generation feature. All the object of my procedure are set to "Inherit' for Generate PreRun and Generate PostRun. Could you clarify a little but of this feature? Thank you again, Sylvain On Friday, February 22, 2013 7:23:09 PM UTC+1, McFarlane, David wrote: > > Sylvain, > > Well done. A lot of detail there, and I think I see the clue in your > final paragraph -- it looks like you have stumbled into the new > Generate PreRun = TopOfProcedure "gotcha" that can hit the last > object in a Procedure, see > http://www.pstnet.com/support/kb.asp?TopicID=3299 and > http://www.pstnet.com/support/kb.asp?TopicID=2627 . > > In short, you might fix this either by using PreRelease = 0, as you > did, or setting Generate PreRun to BeforeObjectRun. > > One of us should add your observation as a comment to those KB > articles. Thanks for presenting & pursuing this. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > At 2/22/2013 01:02 PM Friday, Sylvain wrote: > >Hello David, > > > >Thank you for your answer! > > > >It worked with the sleep(ITI) once set as more than 1000 ms, however > >I did several other tests: > > > >- I replaced my Sleep(ITI) with a TextDisplayITI of random duration > >(between 500 and 1200 ms), with no pre-release; > >- I launched an E-Test Run to hundred of trials. > > > >My result are as follow: > >- if I add the Slide.RT (the slide with the two sub-objects) to > >TextDisplayITI.duration, then if the total is inferior to almost > >1000 ms, the generated wav will be less than 1000 ms; > >- if the sum is superior to 1000 ms, I will get a wav file of 1000 ms. > > > >Now something interesting: > > > >- if I set the TextDisplayITI pre-release to more than 0 ms (I tried > >with same duration), my wav files are then less than 1000 ms! > >So I thought that it might be due to the fact that adding a > >pre-release changed the TextDisplayITI.offsettime, and that the wav > >could stop at the point of this offset. The other hypothesis was > >that maybe, since the TextDisplayITI was the last slide of the > >trial, looping to the beginning another trial could stop the wav > >file. So to check that I added a Sleep at the very end of the trial > >of 1000 ms, while keeping TextDisplayITI with a pre-release of same > >duration. Doing that it gives me wav of 1000 ms. > > > >My guess is then that adding a pre-release to TextDisplayITI is > >changing the TextDisplayITI.offsettime, and it induces a computation > >start of the next loop earlier. And this cause a stop in the > >recording of the wav of the previous trial. > > > >Sylvain > > > >On Friday, February 22, 2013 5:44:13 PM UTC+1, McFarlane, David wrote: > >Sylvain, > > > >This all looks good to me, so I have no idea why it does not work for > >you -- in my experience, with SoundIn Buffer Size set to 1000 and > >other settings such as in your example, I get a full 1000 ms of sound > >recording. Using a Sleep inline for the ITI should make no > >difference, but by now you should have done that exercise for > >yourself (and reported back here with your results). So something > >else must be going on, or maybe someone else here has a clue. (Note > >BTW that End Capture Action did not work in EP2.0.8.90, see > > > http://www.pstnet.com/forum/Topic5473-12-1.aspx > >.) > > > >So you should just submit this to PST Web Support, see stock reminder > below. > > > >----- > >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 2/21/2013 07:26 PM Thursday, Sylvain wrote: > > >I have a problem with the latest version of EP2(2.0.10.242). > > >A typical trial procedure is as follow: > > > > > >- first a fixation cross appear for a duration of 200 ms > > >(pre-realease set at the stim duration); > > > > > >- then a blank screen of a jittered duration appears (the jittered > > >duration has been computed before, not online, the pre-realease is > > >set also at the stim duration); > > > > > >- then a Slide appear with two sub-objet: an image and a > > >SlideSoundIn. I want my participants to give the name of the image, > > >taking advantage of the SRS box vocal responses, and have the Slide > > >disappearing; but I also want to record, with the SlideSoundIn > > >sub-object, the whole signal audio. I set the duration of the Slide > > >to 1000 ms maximum, and for the SlideSoundIn I've chosen a buffer of > > >1000 ms, set "Stop after" to no, and "EndSoundCaptureAction" to > > >none. However, I notice that when I do that, automatically I see the > > >"Stop after mode" staying on "NextOnsetTime" (pre-realease for the > > >slide set at the stim duration); > > > > > >- then an ITI of 1 sec appears (pre-realease for the slide set at > > >the stim duration). > > > > > >Doing that, I noticed that my audio signal from the SlideSoundIn > > >sub-object always ended before reaching 1000 ms. > > > > > >My question are: > > > > > >1) Do you think that even though I set the "Stop after" of the > > >SlideSoundIn to "no" (I'm 100% sure I did that, several times) the > > >recording could stop during the ITI onset or pre-realease of it? If > > >not, what could have I done wrong? > > > > > >2) In order to get rid of this issue, I replaced the ITI screen by a > > >sleep inline. Does the recording of the SlideSoundIn continue during > > >a sleep? Maybe it could be a solution to this issue. > > > > > >Thank you for any advices and answers. > > > > > >Sylvain > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/JQUmsA426Z0J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From symadec at gmail.com Sun Feb 24 14:49:10 2013 From: symadec at gmail.com (Sylvain) Date: Sun, 24 Feb 2013 06:49:10 -0800 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <5127ae3f.648dec0a.488d.168aSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: David and Scott, Thank you for your answers. I need to be reassured. When doing EEG experiment, I always run an inline before the object I want to trigger(maybe I could even do that at the top of the procedure I guess). Let's call this object StimEEGa,d the trigger 50. What I always did was an inline like: StimEEG.OnsetSignalEnabled = True StimEEG.OnsetSignalPort = &H378 StimEEG.OnsetSignalData = 50 StimEEG.OffsetSignalEnabled = True StimEEG.OffsetSignalPort = &H378 StimEEG.OffsetSignalData = 50 If I understand correctly This inline tell "wait for the object StimEEG to run and send the signal'. By running I mean waiting for StimEEG to be drawn on the screen right, independantly of any pre-release ? On the e-prime side, does this correspond to StimEEG.OnsetTime? Thank you, Sylvain On Friday, February 22, 2013 6:42:29 PM UTC+1, McFarlane, David wrote: > > Sylvain, > > At 2/22/2013 06:36 AM Friday, Sylvain wrote: > >Hi David, > > > >I have a question regarding to pre-release and timing. > > > >I did a little experiment trying to get the timestamp of the onset > >of stim, and the offset or it. > > Wonderful, everyone should do these sorts of explorations (that's how > I figured out all this stuff). > > > >It's simple basically i have : > > > >- Inline1: I collect t1 = Clock.ReadMillisec > >- Then an ImageDiplay for 200 ms with a pre-realase equal to the > >duration of it. I log the onset of ImageDiplay and the offset of it; > >- Inline 2: I collect t2 = Clock.ReadMillisec > > > >Doing that, basically I get t2-t1 almost equal to 0 modulo some refresh > rates. > >I also get ImageDiplay.OnsetTime = ImageDiplay.OffsetTime. > > As you should. You might find OffsetTime slightly behind OnsetTime; > and under these conditions (PreRelease = Duration), you should find > that TargetOffsetTime = TargetOnsetTime without exception. > > > >1) There's something there that I don't really understand, which > >timestamp should I really consider, ImageDiplay.OnsetTime or > >ImageDiplay.OffsetTime? > > That depends entirely on what you wish to do with that timestamp. > > > >2) If I understood pre-realase affect offset time, so does that mean > that: > >ImageDiplay.Duration = (ImageDiplay.OffsetTime > >- ImageDiplay.OnsetTime) + pre-realase > > Not quite -- E-Prime can control only *Target* offset (& onset) > times, not actual times. Actual offset (& onset) times are subject > to the limitations of the stimulus presentation hardware. Also, I > would not write the relationship that way -- that makes it sound like > Duration derives from the other quantities, which is wrong. As I > described earlier, Duration remains whatever you asked it to be, so > should appear only on the right side of the equals sign as it is used > to determine other quantities. Thus, repeating what I wrote in my > earlier description of TargetOffsetTime, in the case of Event timing mode, > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime + > ImageDisplay.Duration - ImageDisplay.PreRelease > > Note that, in the case PreRelease = Duration (the new default setting > since EP2.0.10.x), we get simply > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime > > which fits your observations. If instead we set PreRelease to 0, we find > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime + > ImageDisplay.Duration > > which perhaps is what you expected (and was the default for Event > timing mode prior to EP2.0.10.x). > > And just to drive the point further, OffsetTime does *not* indicate > the time at which *presentation* of a stimulus ends. Rather, (for > most practical purposes) it indicates when *execution* of the > stimulus Run method ends (strictly speaking, this describes > FinishTime, see my earlier description for the fine distinction > between OffsetTime and FinishTime). > > Furthermore, even with PreRelease set to 0, neither Duration nor > (OffsetTime - OnsetTime) necessarily indicate the actual duration of > the stimulus. In particular, a visual stimulus does not disappear at > its OffsetTime (ignoring Clear After, which has been deprecated), but > remains visible until replaced by another visual stimulus, so actual > presentation duration is > > Stim2.OnsetTime - Stim1.OnsetTime > > and EP2.0.10.x Pro can now log those values for you > (http://www.pstnet.com/support/kb.asp?TopicID=718 )! > > > >3) The fact that Inline2 is executed at the same time as Inline1 is > >particulary disturbing for me. Does that mean than Inline placed > >after an object could be executed while this object is still on screen? > > Yes, and that is exactly what we want it to do in many, many cases > (e.g., to handle multiple mouse actions while a visual stimulus > remains on the display, or to prepare the next stimulus during the > run of the current stimulus). If you really want your InLine to wait > until the previous object completes its Duration, then set PreRelease > of that object to 0. > > Hope that helps, > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > >Thank you for any answer, I'm confused about this! > > > >Sylvain > > > >On Friday, September 10, 2010 3:46:03 PM UTC+2, David McFarlane wrote: > >When you look at the Logging tab on the properties page of any > >stimulus object, you will find a host of items available for > >logging. Most of these are time audit data. But what do all these > >items mean, and what are they good for? Chapter 3 of the E-Prime > >User's Guide discusses time auditing to some degree, and the timing > >diagram at Appendix E provides one way to see the relationships > >between these items. As an alternative, here I try to set out, in > >order, a brief description of these items. > > > >First let us distinguish between timing control *settings* and time > >audit *measures*. The following items do not reflect any results > >formed during the course of a stimulus but simply log the settings > >provided by the user (e.g., you). You may choose to have any of > >these logged just to keep a record of settings active during the > experiment: > >- Duration: To reiterate, this does *not* show the actual duration of > > the stimulus, only the setting as provided by the user. > >- PreRelease: Affects the TargetOffsetTime (see below). > >- TimingMode: Event, Cumulative, or Custom, as set by the user (see > > the online E-Basic Help). > >- CustomOffsetTime: In Custom timing mode, overrides the > > TargetOnsetTime (see the online E-Basic Help). > >- CustomOnsetTime: In Custom timing mode, overrides the > > TargetOffsetTime (see the online E-Basic Help). > > > >Now, the raw time audit measures, listed in the order in which events > >occur during the execution of a stimulus object. These are all time > >stamps in milliseconds from the start of the current program run: > >- StartTime: Time at which E-Prime started executing the stimulus > > object. > >- TargetOnsetTime: Scheduled time at which presentation of stimulus was > > to begin; set automatically from GetNextTargetOnsetTime (see online > > E-Basic Help). > >- OnsetTime: Time when E-Prime actually submitted the stimulus data for > > presentation (e.g., proceeded to copy data to display memory or load > > sound buffer). This may not coincide with when the stimulus actually > > got presented, e.g., if data are submitted in the middle of a display > > refresh cycle then they may not get presented until the next refresh. > >- ActionTime: According to the online E-Basic Help, time at which > > E-Prime completed the "critical action" of the stimulus. The > > documentation remains somewhat vague about this -- perhaps "critical > > action" means copying data to display memory, or loading a sound or > > video buffer. In my tests, ActionTime never lags more than 1 ms > > behind OnsetTime, so it serves practically the same purpose as > > OnsetTime. > >- TargetOffsetTime: Scheduled time at which offset actions (e.g., > > clean-up, ClearAfter, StopAfter) of stimulus object were to begin, > > e.g., OnsetTime + Duration - PreRelease (Event timing mode), or > > TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). > >- OffsetTime: Time when E-Prime actually began the offset actions of > > the object. Actions may not take practical effect until next > > vertical blank, or until presentation of next stimulus. > >- FinishTime: Time when E-Prime exited from execution of the > > stimulus object and proceeded to execute the next section of the > > program (e.g., next stimulus object or inline code). Note that > > *execution* of a stimulus *object* may end before *presentation* of > > the *stimulus* ends; this is the point of PreRelease (as well as > > happening as a matter of course with some stimuli such as some > > sounds). > > > >Finally, a few composite time audit measures derived from the raw > >measures above and provided for convenience: > >- OnsetDelay = OnsetTime - TargetOnsetTime > >- ActionDelay = ActionTime - OnsetTime > >- OffsetDelay = OffsetTime - TargetOffsetTime > >- DurationError = OffsetTime + PreRelease - OnsetTime - Duration > > > >Note: > >- Time audit measures include the ActionTime that follows upon > > OnsetTime, but no corresponding item to follow upon OffsetTime. > >- No time audit item for time stamp of vertical blank, although many > > stimuli do not take full effect until just after a vertical blank. > > > >-- David McFarlane, Professional Faultfinder > > > >-- > >You received this message because you are subscribed 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/msg/e-prime/-/eFwpjTnxC2kJ. > >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/msg/e-prime/-/t_JN6la2f0MJ. 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 Feb 25 21:07:48 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 25 Feb 2013 16:07:48 -0500 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <8c2fb4d4-8cf6-4a93-b89a-c70e0c48e324@googlegroups.com> Message-ID: As long as this thread has been reopened, I might as well mention that EP2.0.10.x adds more time auditing measures (including, e.g., OnsetToOnsetTime!), so this report needs updating if it is to really include "all" time audit measures. Don't know when I will get around to that myself. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) >On Friday, 10 September 2010 09:46:03 UTC-4, David McFarlane wrote: >When you look at the Logging tab on the properties page of any >stimulus object, you will find a host of items available for >logging. Most of these are time audit data. But what do all these >items mean, and what are they good for? Chapter 3 of the E-Prime >User's Guide discusses time auditing to some degree, and the timing >diagram at Appendix E provides one way to see the relationships >between these items. As an alternative, here I try to set out, in >order, a brief description of these items. > >First let us distinguish between timing control *settings* and time >audit *measures*. The following items do not reflect any results >formed during the course of a stimulus but simply log the settings >provided by the user (e.g., you). You may choose to have any of >these logged just to keep a record of settings active during the experiment: >- Duration: To reiterate, this does *not* show the actual duration of > the stimulus, only the setting as provided by the user. >- PreRelease: Affects the TargetOffsetTime (see below). >- TimingMode: Event, Cumulative, or Custom, as set by the user (see > the online E-Basic Help). >- CustomOffsetTime: In Custom timing mode, overrides the > TargetOnsetTime (see the online E-Basic Help). >- CustomOnsetTime: In Custom timing mode, overrides the > TargetOffsetTime (see the online E-Basic Help). > >Now, the raw time audit measures, listed in the order in which events >occur during the execution of a stimulus object. These are all time >stamps in milliseconds from the start of the current program run: >- StartTime: Time at which E-Prime started executing the stimulus > object. >- TargetOnsetTime: Scheduled time at which presentation of stimulus was > to begin; set automatically from GetNextTargetOnsetTime (see online > E-Basic Help). >- OnsetTime: Time when E-Prime actually submitted the stimulus data for > presentation (e.g., proceeded to copy data to display memory or load > sound buffer). This may not coincide with when the stimulus actually > got presented, e.g., if data are submitted in the middle of a display > refresh cycle then they may not get presented until the next refresh. >- ActionTime: According to the online E-Basic Help, time at which > E-Prime completed the "critical action" of the stimulus. The > documentation remains somewhat vague about this -- perhaps "critical > action" means copying data to display memory, or loading a sound or > video buffer. In my tests, ActionTime never lags more than 1 ms > behind OnsetTime, so it serves practically the same purpose as > OnsetTime. >- TargetOffsetTime: Scheduled time at which offset actions (e.g., > clean-up, ClearAfter, StopAfter) of stimulus object were to begin, > e.g., OnsetTime + Duration - PreRelease (Event timing mode), or > TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). >- OffsetTime: Time when E-Prime actually began the offset actions of > the object. Actions may not take practical effect until next > vertical blank, or until presentation of next stimulus. >- FinishTime: Time when E-Prime exited from execution of the > stimulus object and proceeded to execute the next section of the > program (e.g., next stimulus object or inline code). Note that > *execution* of a stimulus *object* may end before *presentation* of > the *stimulus* ends; this is the point of PreRelease (as well as > happening as a matter of course with some stimuli such as some > sounds). > >Finally, a few composite time audit measures derived from the raw >measures above and provided for convenience: >- OnsetDelay = OnsetTime - TargetOnsetTime >- ActionDelay = ActionTime - OnsetTime >- OffsetDelay = OffsetTime - TargetOffsetTime >- DurationError = OffsetTime + PreRelease - OnsetTime - Duration > >Note: >- Time audit measures include the ActionTime that follows upon > OnsetTime, but no corresponding item to follow upon OffsetTime. >- No time audit item for time stamp of vertical blank, although many > stimuli do not take full effect until just after a vertical blank. > >-- David McFarlane, Professional Faultfinder -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Mon Feb 25 20:27:02 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 25 Feb 2013 15:27:02 -0500 Subject: Slide with soundin and image: audio size issues In-Reply-To: <4d83819e-b30a-4877-ab3b-8b12606efa3f@googlegroups.com> Message-ID: Sylvain, Well, you can read about Generate PreRun/PostRun in the New Features Guide, and at http://www.pstnet.com/support/kb.asp?TopicID=3299 . Many stimuli need some preparation before running (e.g., loading image, sound, or movie files). That prepartion takes time, and may delay stimulus onset if the preparation takes place just before running the stimulus. Generate PreRun places that preparation code instead at the top of the Procedure. As a result, the first object of the Procedure may start late, but everything else in the Procedure should start with less delay. But this works only for stimulus content known at the start of Procedure, otherwise stimulus preparation should still take place just before the stimulus. Also, resetting an object at the top of the Procedure may prematurely terminate some continuing streaming action, such as a sound, movie, or sound recording. So, for any stimulus object, "TopOfProcedure" means to place stimulus preparation code at, well, the top of the Procedure; "BeforeObjectRun" means to place stimulus preparation code just before running the stimulus; "Inherit" means to use the setting from the Procedure. In turn, each Procedure may have its Generate PreRun set to either "TopOfProcedure" or "BeforeObjectRun", which it then passes down to all the stimulus objects that it contains. At this time, Generate PostRun does nothing useful, so you may safely ignore it. That said, clearly there is more at work in your program. Perhaps SoundIn is a little trickier than I thought. It would be nice to understand this better, but for now you seem to have a workaround. Perhaps you can explore this with PST Web Support, and then post back. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 2/24/2013 09:27 AM Sunday, Sylvain wrote: >Hello David, > >Thank for your answer. I tried to set TextDisplayITI to Generate >PreRun to BeforeObjectRun. I let the pre-release of TextDisplayITI >to "same duration". However I still have wav file (from the previous >object still recording Slide) of less than 1000 ms. The only thing >that seem to work is: >- having a pre-release of 0 ms on the TextDisplayITI; >- having a duration of more than 1000 ms to TextDisplayITI. > >I could run my experiment this way, it works, but I'm confused about >the script generation feature. All the object of my procedure are >set to "Inherit' for Generate PreRun and Generate PostRun. Could you >clarify a little but of this feature? > >Thank you again, > >Sylvain > > >On Friday, February 22, 2013 7:23:09 PM UTC+1, McFarlane, David wrote: >Sylvain, > >Well done. A lot of detail there, and I think I see the clue in your >final paragraph -- it looks like you have stumbled into the new >Generate PreRun = TopOfProcedure "gotcha" that can hit the last >object in a Procedure, see >http://www.pstnet.com/support/kb.asp?TopicID=3299 >and >http://www.pstnet.com/support/kb.asp?TopicID=2627 >. > >In short, you might fix this either by using PreRelease = 0, as you >did, or setting Generate PreRun to BeforeObjectRun. > >One of us should add your observation as a comment to those KB >articles. Thanks for presenting & pursuing this. > >----- >David McFarlane >E-Prime training >online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx > >Twitter: @EPrimeMaster >(https://twitter.com/EPrimeMaster) > > >At 2/22/2013 01:02 PM Friday, Sylvain wrote: > >Hello David, > > > >Thank you for your answer! > > > >It worked with the sleep(ITI) once set as more than 1000 ms, however > >I did several other tests: > > > >- I replaced my Sleep(ITI) with a TextDisplayITI of random duration > >(between 500 and 1200 ms), with no pre-release; > >- I launched an E-Test Run to hundred of trials. > > > >My result are as follow: > >- if I add the Slide.RT (the slide with the two sub-objects) to > >TextDisplayITI.duration, then if the total is inferior to almost > >1000 ms, the generated wav will be less than 1000 ms; > >- if the sum is superior to 1000 ms, I will get a wav file of 1000 ms. > > > >Now something interesting: > > > >- if I set the TextDisplayITI pre-release to more than 0 ms (I tried > >with same duration), my wav files are then less than 1000 ms! > >So I thought that it might be due to the fact that adding a > >pre-release changed the TextDisplayITI.offsettime, and that the wav > >could stop at the point of this offset. The other hypothesis was > >that maybe, since the TextDisplayITI was the last slide of the > >trial, looping to the beginning another trial could stop the wav > >file. So to check that I added a Sleep at the very end of the trial > >of 1000 ms, while keeping TextDisplayITI with a pre-release of same > >duration. Doing that it gives me wav of 1000 ms. > > > >My guess is then that adding a pre-release to TextDisplayITI is > >changing the TextDisplayITI.offsettime, and it induces a computation > >start of the next loop earlier. And this cause a stop in the > >recording of the wav of the previous trial. > > > >Sylvain > > > >On Friday, February 22, 2013 5:44:13 PM UTC+1, McFarlane, David wrote: > >Sylvain, > > > >This all looks good to me, so I have no idea why it does not work for > >you -- in my experience, with SoundIn Buffer Size set to 1000 and > >other settings such as in your example, I get a full 1000 ms of sound > >recording. Using a Sleep inline for the ITI should make no > >difference, but by now you should have done that exercise for > >yourself (and reported back here with your results). So something > >else must be going on, or maybe someone else here has a clue. (Note > >BTW that End Capture Action did not work in EP2.0.8.90, see > ><http://www.pstnet > .com/forum/Topic5473-12-1.aspx>http://www.pstnet.com/forum/Topic5473-12-1.aspx > >.) > > > >So you should just submit this to PST Web Support, see stock > reminder below. > > > >----- > >David McFarlane > >E-Prime training > >online: > ><http://ps > ychology.msu.edu/Workshops_Courses/eprime.aspx>http://psychology.msu.edu/Workshops_Courses/eprime.aspx > > > > >Twitter: @EPrimeMaster > >(<https://twitter.com/EPrimeMaste > r>https://twitter.com/EPrimeMaster) > > > >/---- > >Stock reminder: 1) I do not work for PST. 2) PST's trained staff > >take any and all questions at > ><http://supp > ort.pstnet.com/e%2Dprime/support/login.asp>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/P > STNET>http://www.youtube.com/user/PSTNET > >). 4) If you do > >get an answer from PST staff, please extend the courtesy of posting > >their reply back here for the sake of others. > >\---- > > > > > >At 2/21/2013 07:26 PM Thursday, Sylvain wrote: > > >I have a problem with the latest version of EP2(2.0.10.242). > > >A typical trial procedure is as follow: > > > > > >- first a fixation cross appear for a duration of 200 ms > > >(pre-realease set at the stim duration); > > > > > >- then a blank screen of a jittered duration appears (the jittered > > >duration has been computed before, not online, the pre-realease is > > >set also at the stim duration); > > > > > >- then a Slide appear with two sub-objet: an image and a > > >SlideSoundIn. I want my participants to give the name of the image, > > >taking advantage of the SRS box vocal responses, and have the Slide > > >disappearing; but I also want to record, with the SlideSoundIn > > >sub-object, the whole signal audio. I set the duration of the Slide > > >to 1000 ms maximum, and for the SlideSoundIn I've chosen a buffer of > > >1000 ms, set "Stop after" to no, and "EndSoundCaptureAction" to > > >none. However, I notice that when I do that, automatically I see the > > >"Stop after mode" staying on "NextOnsetTime" (pre-realease for the > > >slide set at the stim duration); > > > > > >- then an ITI of 1 sec appears (pre-realease for the slide set at > > >the stim duration). > > > > > >Doing that, I noticed that my audio signal from the SlideSoundIn > > >sub-object always ended before reaching 1000 ms. > > > > > >My question are: > > > > > >1) Do you think that even though I set the "Stop after" of the > > >SlideSoundIn to "no" (I'm 100% sure I did that, several times) the > > >recording could stop during the ITI onset or pre-realease of it? If > > >not, what could have I done wrong? > > > > > >2) In order to get rid of this issue, I replaced the ITI screen by a > > >sleep inline. Does the recording of the SlideSoundIn continue during > > >a sleep? Maybe it could be a solution to this issue. > > > > > >Thank you for any advices and answers. > > > > > >Sylvain -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Mon Feb 25 21:01:52 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 25 Feb 2013 16:01:52 -0500 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: Message-ID: Sylvain, Yes, as far as I understand, OnsetSignal should coincide with OnsetTime -- in fact, a Knowledge Base article says just that (http://www.pstnet.com/support/kb.asp?TopicID=1318 ). But you should not take anyone's word for that, not even mine (and certainly not PST's). You should test that for yourself with an oscilloscope or a Black Box ToolKit. Or if you want to have E-Prime test itself, and you have a parallel port that will both output and input data, you may try the following hack: Set up a PortDevice at the parallel port, and use OnsetSignal with the same parallel port. Then get the timestamp of OnsetSignal from the History of the PortDevice (no, you do not need an input mask, and yes, this is advanced E-Prime hacking), and see if that matches OnsetTime. I have used this hack myself to explore E-Prime's input mechanisms, but have not used this to explore OnsetSignal, and I did that hack with E-Prime 1.2 and an older laptop so don't know if the hack still works on later systems. Finally, if you have EP2.0.10.x or later (Pro only), then you should explore using Task Events instead of OnsetSignal, etc. That said, two comments on your code example: 1) Because your SignalData never changes, yes, you could put that code at the top the Procedure, or better yet, at the top of SessionProc (that is what I would do) -- it only needs to run once for the entire session, no need re-running it each time before the stimulus. But I understand it may make the program easier to read by putting this action before the stimulus, and that has some value (so when I put OnsetSignal code up in SessionProc, down in the Procedure I still add an InLine just with comments to explain what I did). 2) Should your line StimEEG.OffsetSignalData = 50 read instead StimEEG.OffsetSignalData = 0 ? I.e., don't you want to use OffsetSignal to reset the signal so that the OnsetSignal will work the next time around? Regards, ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 2/24/2013 09:49 AM Sunday, Sylvain wrote: >David and Scott, > >Thank you for your answers. I need to be reassured. When doing EEG >experiment, I always run an inline before the object I want to >trigger(maybe I could even do that at the top of the procedure I >guess). Let's call this object StimEEGa,d the trigger 50. >What I always did was an inline like: > >StimEEG.OnsetSignalEnabled = True >StimEEG.OnsetSignalPort = &H378 >StimEEG.OnsetSignalData = 50 > >StimEEG.OffsetSignalEnabled = True >StimEEG.OffsetSignalPort = &H378 >StimEEG.OffsetSignalData = 50 > >If I understand correctly This inline tell "wait for the object >StimEEG to run and send the signal'. By running I mean waiting for >StimEEG to be drawn on the screen right, independantly of any >pre-release ? On the e-prime side, does this correspond to StimEEG.OnsetTime? > >Thank you, > >Sylvain > >On Friday, February 22, 2013 6:42:29 PM UTC+1, McFarlane, David wrote: >Sylvain, > >At 2/22/2013 06:36 AM Friday, Sylvain wrote: > >Hi David, > > > >I have a question regarding to pre-release and timing. > > > >I did a little experiment trying to get the timestamp of the onset > >of stim, and the offset or it. > >Wonderful, everyone should do these sorts of explorations (that's how >I figured out all this stuff). > > > >It's simple basically i have : > > > >- Inline1: I collect t1 = Clock.ReadMillisec > >- Then an ImageDiplay for 200 ms with a pre-realase equal to the > >duration of it. I log the onset of ImageDiplay and the offset of it; > >- Inline 2: I collect t2 = Clock.ReadMillisec > > > >Doing that, basically I get t2-t1 almost equal to 0 modulo some > refresh rates. > >I also get ImageDiplay.OnsetTime = ImageDiplay.OffsetTime. > >As you should. You might find OffsetTime slightly behind OnsetTime; >and under these conditions (PreRelease = Duration), you should find >that TargetOffsetTime = TargetOnsetTime without exception. > > > >1) There's something there that I don't really understand, which > >timestamp should I really consider, ImageDiplay.OnsetTime or > >ImageDiplay.OffsetTime? > >That depends entirely on what you wish to do with that timestamp. > > > >2) If I understood pre-realase affect offset time, so does that mean that: > >ImageDiplay.Duration = (ImageDiplay.OffsetTime > >- ImageDiplay.OnsetTime) + pre-realase > >Not quite -- E-Prime can control only *Target* offset (& onset) >times, not actual times. Actual offset (& onset) times are subject >to the limitations of the stimulus presentation hardware. Also, I >would not write the relationship that way -- that makes it sound like >Duration derives from the other quantities, which is wrong. As I >described earlier, Duration remains whatever you asked it to be, so >should appear only on the right side of the equals sign as it is used >to determine other quantities. Thus, repeating what I wrote in my >earlier description of TargetOffsetTime, in the case of Event timing mode, > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime + > ImageDisplay.Duration - ImageDisplay.PreRelease > >Note that, in the case PreRelease = Duration (the new default setting >since EP2.0.10.x), we get simply > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime > >which fits your observations. If instead we set PreRelease to 0, we find > > ImageDisplay.TargetOffsetTime = ImageDisplay.OnsetTime + > ImageDisplay.Duration > >which perhaps is what you expected (and was the default for Event >timing mode prior to EP2.0.10.x). > >And just to drive the point further, OffsetTime does *not* indicate >the time at which *presentation* of a stimulus ends. Rather, (for >most practical purposes) it indicates when *execution* of the >stimulus Run method ends (strictly speaking, this describes >FinishTime, see my earlier description for the fine distinction >between OffsetTime and FinishTime). > >Furthermore, even with PreRelease set to 0, neither Duration nor >(OffsetTime - OnsetTime) necessarily indicate the actual duration of >the stimulus. In particular, a visual stimulus does not disappear at >its OffsetTime (ignoring Clear After, which has been deprecated), but >remains visible until replaced by another visual stimulus, so actual >presentation duration is > > Stim2.OnsetTime - Stim1.OnsetTime > >and EP2.0.10.x Pro can now log those values for you >(http://www.pstnet.com/support/kb.asp?TopicID=718 >)! > > > >3) The fact that Inline2 is executed at the same time as Inline1 is > >particulary disturbing for me. Does that mean than Inline placed > >after an object could be executed while this object is still on screen? > >Yes, and that is exactly what we want it to do in many, many cases >(e.g., to handle multiple mouse actions while a visual stimulus >remains on the display, or to prepare the next stimulus during the >run of the current stimulus). If you really want your InLine to wait >until the previous object completes its Duration, then set PreRelease >of that object to 0. > >Hope that helps, >----- >David McFarlane >E-Prime training >online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx > >Twitter: @EPrimeMaster >(https://twitter.com/EPrimeMaster) > > > >Thank you for any answer, I'm confused about this! > > > >Sylvain > > > >On Friday, September 10, 2010 3:46:03 PM UTC+2, David McFarlane wrote: > >When you look at the Logging tab on the properties page of any > >stimulus object, you will find a host of items available for > >logging. Most of these are time audit data. But what do all these > >items mean, and what are they good for? Chapter 3 of the E-Prime > >User's Guide discusses time auditing to some degree, and the timing > >diagram at Appendix E provides one way to see the relationships > >between these items. As an alternative, here I try to set out, in > >order, a brief description of these items. > > > >First let us distinguish between timing control *settings* and time > >audit *measures*. The following items do not reflect any results > >formed during the course of a stimulus but simply log the settings > >provided by the user (e.g., you). You may choose to have any of > >these logged just to keep a record of settings active during the > experiment: > >- Duration: To reiterate, this does *not* show the actual duration of > > the stimulus, only the setting as provided by the user. > >- PreRelease: Affects the TargetOffsetTime (see below). > >- TimingMode: Event, Cumulative, or Custom, as set by the user (see > > the online E-Basic Help). > >- CustomOffsetTime: In Custom timing mode, overrides the > > TargetOnsetTime (see the online E-Basic Help). > >- CustomOnsetTime: In Custom timing mode, overrides the > > TargetOffsetTime (see the online E-Basic Help). > > > >Now, the raw time audit measures, listed in the order in which events > >occur during the execution of a stimulus object. These are all time > >stamps in milliseconds from the start of the current program run: > >- StartTime: Time at which E-Prime started executing the stimulus > > object. > >- TargetOnsetTime: Scheduled time at which presentation of stimulus was > > to begin; set automatically from GetNextTargetOnsetTime (see online > > E-Basic Help). > >- OnsetTime: Time when E-Prime actually submitted the stimulus data for > > presentation (e.g., proceeded to copy data to display memory or load > > sound buffer). This may not coincide with when the stimulus actually > > got presented, e.g., if data are submitted in the middle of a display > > refresh cycle then they may not get presented until the next refresh. > >- ActionTime: According to the online E-Basic Help, time at which > > E-Prime completed the "critical action" of the stimulus. The > > documentation remains somewhat vague about this -- perhaps "critical > > action" means copying data to display memory, or loading a sound or > > video buffer. In my tests, ActionTime never lags more than 1 ms > > behind OnsetTime, so it serves practically the same purpose as > > OnsetTime. > >- TargetOffsetTime: Scheduled time at which offset actions (e.g., > > clean-up, ClearAfter, StopAfter) of stimulus object were to begin, > > e.g., OnsetTime + Duration - PreRelease (Event timing mode), or > > TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). > >- OffsetTime: Time when E-Prime actually began the offset actions of > > the object. Actions may not take practical effect until next > > vertical blank, or until presentation of next stimulus. > >- FinishTime: Time when E-Prime exited from execution of the > > stimulus object and proceeded to execute the next section of the > > program (e.g., next stimulus object or inline code). Note that > > *execution* of a stimulus *object* may end before *presentation* of > > the *stimulus* ends; this is the point of PreRelease (as well as > > happening as a matter of course with some stimuli such as some > > sounds). > > > >Finally, a few composite time audit measures derived from the raw > >measures above and provided for convenience: > >- OnsetDelay = OnsetTime - TargetOnsetTime > >- ActionDelay = ActionTime - OnsetTime > >- OffsetDelay = OffsetTime - TargetOffsetTime > >- DurationError = OffsetTime + PreRelease - OnsetTime - Duration > > > >Note: > >- Time audit measures include the ActionTime that follows upon > > OnsetTime, but no corresponding item to follow upon OffsetTime. > >- No time audit item for time stamp of vertical blank, although many > > stimuli do not take full effect until just after a vertical blank. > > > >-- David McFarlane, Professional Faultfinder -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From oscfer88 at gmail.com Tue Feb 26 11:18:56 2013 From: oscfer88 at gmail.com (Oscar Ferrante) Date: Tue, 26 Feb 2013 03:18:56 -0800 Subject: Vocal RT without SRBox Message-ID: Hi everyone! I'm an Italian student at Universit? "G. d'Annunzio" of Chieti-Pescara. For my thesis, a dual-task experiment, and I need to register the vocal reaction time through a microphone. There is the possibility to do this without the SRBox? If yes, how? Thanks to everybody will answer! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/x9_qTpcihRsJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Tue Feb 26 12:55:05 2013 From: mspape at cognitology.eu (Cognitology) Date: Tue, 26 Feb 2013 14:55:05 +0200 Subject: Vocal RT without SRBox In-Reply-To: Message-ID: Hi, Please correct me if I?m wrong, anyone, but although there *is* in E-Prime 2 a soundcapture device, with which you can record audio for your experiment, there is no way to use this as an alternative to the SRBox voicekey input. However, you can still do what you want by using the soundcapture, to save the wave file for each trial (try to save the sound as a trial number or some such so that you know what condition it was in), and then get the reaction time from that. The hard way to do that would be to use any audio editor (I like cool edit, but audacity works), and see when a reaction is given. This is possible but will take a number of hours to work. If you know a little matlab, an alternative would be to do some signal processing and just detect for a threshold, which shouldn?t be too hard (find RT as time(dB > threshold)). If you only have E-Prime 1, you could just record the whole experiment and have loud sounds as a synchrony marker. I?ve noticed before that any voicekey type of experiment requires roughly the same amount of extra time of processing as (duration of experiment) x (number of subjects), though! Cheers, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Oscar Ferrante Sent: 26. February 2013 13:19 To: e-prime at googlegroups.com Subject: Vocal RT without SRBox Hi everyone! I'm an Italian student at Universit? "G. d'Annunzio" of Chieti-Pescara. For my thesis, a dual-task experiment, and I need to register the vocal reaction time through a microphone. There is the possibility to do this without the SRBox? If yes, how? Thanks to everybody will answer! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/x9_qTpcihRsJ. 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From justinemayavandyke at gmail.com Mon Feb 25 22:28:12 2013 From: justinemayavandyke at gmail.com (Justine VanDyke) Date: Mon, 25 Feb 2013 17:28:12 -0500 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <512bd2a8.c70d320a.07c4.2d66SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hello, I really appreciate all the information. After conducting a timing test, we find a consistent ~16 ms lag on the EPRime/Screen presentation. It's possibly the result of the HDMI conversion in the display monitor. Because the lag is completely consistent across all trials, I assume that this is not particularly problematic with regard to my EEG signals (for my purposes at least). However, we may try a VGA cable to see if we can improve this delay in future. In the meantime, I appreciate the information about the Task Events feature and also the information about the EPrime programming course, which I am going to look into. Thanks! Justine On Mon, Feb 25, 2013 at 4:07 PM, David McFarlane wrote: > As long as this thread has been reopened, I might as well mention that > EP2.0.10.x adds more time auditing measures (including, e.g., > OnsetToOnsetTime!), so this report needs updating if it is to really > include "all" time audit measures. Don't know when I will get around to > that myself. > > > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/** > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/**EPrimeMaster > ) > > > On Friday, 10 September 2010 09:46:03 UTC-4, David McFarlane wrote: >> When you look at the Logging tab on the properties page of any >> stimulus object, you will find a host of items available for >> logging. Most of these are time audit data. But what do all these >> items mean, and what are they good for? Chapter 3 of the E-Prime >> User's Guide discusses time auditing to some degree, and the timing >> diagram at Appendix E provides one way to see the relationships >> between these items. As an alternative, here I try to set out, in >> order, a brief description of these items. >> >> First let us distinguish between timing control *settings* and time >> audit *measures*. The following items do not reflect any results >> formed during the course of a stimulus but simply log the settings >> provided by the user (e.g., you). You may choose to have any of >> these logged just to keep a record of settings active during the >> experiment: >> - Duration: To reiterate, this does *not* show the actual duration of >> the stimulus, only the setting as provided by the user. >> - PreRelease: Affects the TargetOffsetTime (see below). >> - TimingMode: Event, Cumulative, or Custom, as set by the user (see >> the online E-Basic Help). >> - CustomOffsetTime: In Custom timing mode, overrides the >> TargetOnsetTime (see the online E-Basic Help). >> - CustomOnsetTime: In Custom timing mode, overrides the >> TargetOffsetTime (see the online E-Basic Help). >> >> Now, the raw time audit measures, listed in the order in which events >> occur during the execution of a stimulus object. These are all time >> stamps in milliseconds from the start of the current program run: >> - StartTime: Time at which E-Prime started executing the stimulus >> object. >> - TargetOnsetTime: Scheduled time at which presentation of stimulus was >> to begin; set automatically from GetNextTargetOnsetTime (see online >> E-Basic Help). >> - OnsetTime: Time when E-Prime actually submitted the stimulus data for >> presentation (e.g., proceeded to copy data to display memory or load >> sound buffer). This may not coincide with when the stimulus actually >> got presented, e.g., if data are submitted in the middle of a display >> refresh cycle then they may not get presented until the next refresh. >> - ActionTime: According to the online E-Basic Help, time at which >> E-Prime completed the "critical action" of the stimulus. The >> documentation remains somewhat vague about this -- perhaps "critical >> action" means copying data to display memory, or loading a sound or >> video buffer. In my tests, ActionTime never lags more than 1 ms >> behind OnsetTime, so it serves practically the same purpose as >> OnsetTime. >> - TargetOffsetTime: Scheduled time at which offset actions (e.g., >> clean-up, ClearAfter, StopAfter) of stimulus object were to begin, >> e.g., OnsetTime + Duration - PreRelease (Event timing mode), or >> TargetOnsetTime + Duration - PreRelease (Cumulative timing mode). >> - OffsetTime: Time when E-Prime actually began the offset actions of >> the object. Actions may not take practical effect until next >> vertical blank, or until presentation of next stimulus. >> - FinishTime: Time when E-Prime exited from execution of the >> stimulus object and proceeded to execute the next section of the >> program (e.g., next stimulus object or inline code). Note that >> *execution* of a stimulus *object* may end before *presentation* of >> the *stimulus* ends; this is the point of PreRelease (as well as >> happening as a matter of course with some stimuli such as some >> sounds). >> >> Finally, a few composite time audit measures derived from the raw >> measures above and provided for convenience: >> - OnsetDelay = OnsetTime - TargetOnsetTime >> - ActionDelay = ActionTime - OnsetTime >> - OffsetDelay = OffsetTime - TargetOffsetTime >> - DurationError = OffsetTime + PreRelease - OnsetTime - Duration >> >> Note: >> - Time audit measures include the ActionTime that follows upon >> OnsetTime, but no corresponding item to follow upon OffsetTime. >> - No time audit item for time stamp of vertical blank, although many >> stimuli do not take full effect until just after a vertical blank. >> >> -- David McFarlane, Professional Faultfinder >> > > -- > You received this message because you are subscribed to 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From oscfer88 at gmail.com Tue Feb 26 13:08:33 2013 From: oscfer88 at gmail.com (Oscar Ferrante) Date: Tue, 26 Feb 2013 14:08:33 +0100 Subject: Vocal RT without SRBox In-Reply-To: <009901ce1420$80103d60$8030b820$@eu> Message-ID: Thank you very much for your answer, Michiel! I use E-Prime 2 and the method that you mention it's the same that I thought. I don't know Mat-Lab and neither my professor. If someone else have other ideas I will glad to read it! Il giorno 26/feb/2013 13:55, "Cognitology" ha scritto: > Hi,**** > > Please correct me if I?m wrong, anyone, but although there **is** in > E-Prime 2 a soundcapture device, with which you can record audio for your > experiment, there is no way to use this as an alternative to the SRBox > voicekey input. **** > > However, you can still do what you want by using the soundcapture, to save > the wave file for each trial (try to save the sound as a trial number or > some such so that you know what condition it was in), and then get the > reaction time from that. The hard way to do that would be to use any audio > editor (I like cool edit, but audacity works), and see when a reaction is > given. This is possible but will take a number of hours to work. If you > know a little matlab, an alternative would be to do some signal processing > and just detect for a threshold, which shouldn?t be too hard (find RT as > time(dB > threshold)).**** > > If you only have E-Prime 1, you could just record the whole experiment and > have loud sounds as a synchrony marker.**** > > ** ** > > I?ve noticed before that any voicekey type of experiment requires roughly > the same amount of extra time of processing as (duration of experiment) x > (number of subjects), though!**** > > ** ** > > Cheers,**** > > Michiel**** > > ** ** > > ** ** > > *From:* e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] *On > Behalf Of *Oscar Ferrante > *Sent:* 26. February 2013 13:19 > *To:* e-prime at googlegroups.com > *Subject:* Vocal RT without SRBox**** > > ** ** > > Hi everyone! > I'm an Italian student at Universit? "G. d'Annunzio" of Chieti-Pescara. > For my thesis, a dual-task experiment, and I need to register the vocal > reaction time through a microphone. > There is the possibility to do this without the SRBox? If yes, how? > Thanks to everybody will answer! **** > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/x9_qTpcihRsJ. > 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. > 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. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bergeruri at gmail.com Tue Feb 26 12:23:01 2013 From: bergeruri at gmail.com (Uri Berger) Date: Tue, 26 Feb 2013 04:23:01 -0800 Subject: Changing a list upon a subject response, and doing so by stepping in and out of a list or several li Message-ID: Hi all I am stuck In my task the participant plays against a semi smart agent (the computer) in a game which requires the participant to make a binary decision (a yes/no response). After the participant gave the response the computer reacts to the participant?s response in a finite number of cycles (trials), and a finite number of options (two in the ?yes? condition, one in the ?no? condition). In addition the computer responses should be random within the finite number of cycles and options? limits. For example Triel1; Player -> press ?0?; Computer -> random press ?0? Triel2; Player -> press ?1?; Computer -> random press ?0? Triel3; Player -> press ?1?; Computer -> random press ?1? Triel4; Player -> press ?1?; Computer -> random press ?0? Triel5; Player -> press ?1?; Computer -> random press ?1? Although this task can be fully designed with a series of inline codes and flags, I rather make it the old fashion way. As I understand, this will require an inline which will send the participant to list ?A? for response ?A? and list ?B? for response ?B?. In addition, within these lists only one trial will be carried and after this trial the task will go back to the participant response and so on. However the list object must remember which response was carried so it may not be repeated twice. Finally the task will be done when only one of the lists has been fully responded to. List A (player response "0") : has 10 lines in which the computer response is always "0". List B (player response "1") : has 3 lines in which the computer response is "0" one time and "1" two times. Triel1; Player -> press ?0?; Computer -> goto list ?A? random response from list (0) -> go participant?s selection phase. Triel2; Player -> press ?1?; Computer -> goto list ?B? random response from list (0) -> go participant?s selection phase. Triel3; Player -> press ?0?; Computer -> goto list ?A? random response from list (0) -> go participant?s selection phase. Triel4; Player -> press ?1?; Computer -> goto list ?B? random response from list (1)-> go participant?s selection phase. Triel5; Player -> press ?1?; Computer -> goto list ?B? random response from list (1) -> end of list B -> finish task My problems are: 1. How do you use the goto function with lists 2. How do you step in a list carry one trial step out and then go back again while the lists ?remember? your last ?visit?. 3. I guess there are more thing I have not thought of -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/srESEgKrpuUJ. 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 Feb 26 19:19:39 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 26 Feb 2013 14:19:39 -0500 Subject: Vocal RT without SRBox In-Reply-To: Message-ID: As Michiel said already, for E-Prime to get a voice RT you need an external voice key device, which the SRBox provides. But if you do not want to spend US$450 or more on an SRBox and are handy with some light electronics, then you could build your own voice key with readily available supplies for very little money -- I did this myself a couple decades ago using plans from a published paper, and I could look that up again for anyone interested. You would also have to hook this up through a digital I/O port (e.g., parallel port), and make the appropriate adjustments in E-Prime. FWIW, the folks building PsychoPy plan to add the capability to use normal sound input as a voice key, but I have no idea when they will get around to that. -- David McFarlane At 2/26/2013 08:08 AM Tuesday, Oscar Ferrante wrote: >Thank you very much for your answer, Michiel! > >I use E-Prime 2 and the method that you mention it's the same that I thought. >I don't know Mat-Lab and neither my professor. > >If someone else have other ideas I will glad to read it! >Il giorno 26/feb/2013 13:55, "Cognitology" ><mspape at cognitology.eu> ha scritto: > >Hi, > >Please correct me if I?m wrong, anyone, but >although there *is* in E-Prime 2 a soundcapture >device, with which you can record audio for your >experiment, there is no way to use this as an >alternative to the SRBox voicekey input. > >However, you can still do what you want by using >the soundcapture, to save the wave file for each >trial (try to save the sound as a trial number >or some such so that you know what condition it >was in), and then get the reaction time from >that. The hard way to do that would be to use >any audio editor (I like cool edit, but audacity >works), and see when a reaction is given. This >is possible but will take a number of hours to >work. If you know a little matlab, an >alternative would be to do some signal >processing and just detect for a threshold, >which shouldn?t be too hard (find RT as time(dB > threshold)). > >If you only have E-Prime 1, you could just >record the whole experiment and have loud sounds as a synchrony marker. > > > >I?ve noticed before that any voicekey type of >experiment requires roughly the same amount of >extra time of processing as (duration of >experiment) x (number of subjects), though! > > > >Cheers, > >Michiel > > > > > >From: >e-prime at googlegroups.com >[mailto:e-prime at googlegroups.com] On Behalf Of Oscar Ferrante >Sent: 26. February 2013 13:19 >To: e-prime at googlegroups.com >Subject: Vocal RT without SRBox > > > >Hi everyone! >I'm an Italian student at Universit? "G. d'Annunzio" of Chieti-Pescara. >For my thesis, a dual-task experiment, and I >need to register the vocal reaction time through a microphone. >There is the possibility to do this without the SRBox? If yes, how? >Thanks to everybody will answer! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From hackerchipvn at gmail.com Wed Feb 27 06:30:59 2013 From: hackerchipvn at gmail.com (An Tran) Date: Tue, 26 Feb 2013 22:30:59 -0800 Subject: Dragging an arrow within a circle and record the mouse coordinates Message-ID: Hi, I have a circle (a wheel) with an arrow inside and I want the subject to indicate their response by either (1) dragging the arrow on the wheel or (2) click on the wheel with possible adjustments Some of my ideas: 1. rotate the whole image containing the circle and the arrow to the new position after the mouse click based on the angle between the "old" arrow and the new arrow 2. draw an arrow (or maybe only a line is enough) and pivot it with the mouse in both situations, the mouse coordinates should be logged and I want to calculate the degree of angle I don't have any programming background. I know that Eprime is based on VB so I found some ways to solve the problem with VB, but I don't know to what extent Eprime and VB are similar. Can someone give me advice how to solve this? Thank you very much! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/GqfRBwnCQ80J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From saultsj at missouri.edu Wed Feb 27 21:54:01 2013 From: saultsj at missouri.edu (Scott) Date: Wed, 27 Feb 2013 13:54:01 -0800 Subject: Mastering E-Prime: Meaning of all time audit measures. In-Reply-To: <512bd096.ec6c320a.0319.2ca6SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Perhaps I should start another thread about Task Events rather continue this topic here. However, I want to respond to David' post, to followup, clarify, and correct some information I posted earlier comparing the use of Task Events vs OnsetSignalData.. You're correct, David, "..Task Events can use attribute references for the output data, ..." and that is no different what you can do with OnsetSignalData. It just doesn't add much, if anything, at least for ERP paradigms that we tend to use, EXCEPT for a convenient way to reset the port after you've sent a signal. At the same time, PST missed a golden opportunity to add a significant MISSING feature, something that CANNOT be accomplished with OnsetSignals, by not implementing conditional response codes for Task Events. That said, I admit that I'm ready to try my first ERP experiment with Task Events instead of onsetSignal commands. In our lab, we already do post-processing of event codes, rearranging the codes into trials by paring each stimulus event code with a response code. With a (hopefully) minor teak to the program used for that step, I plan to switch each of the conditional response codes (sent via WritePort AFTER each trial), with the static response trigger sent via Task Events. That way, the conditional writePort code does not have to be sent in real time, but can be assigned to the generic, real time Task Event marker during this post-processing step. This doesn't help me much for paradigms we've already used, because I've already written a lot of "Do While xxxxxxxxxx.Mask.IsPending" scripts for sending real-time response codes in those situations. But it will be a LOT easier for me to explain this method, and its simpler writePort command, to graduate students just learning E-Prime, than those complicated "process pending" inline scripts that they borrow and use (and can potentially misuse) without ever understanding. Sorry if this is too much off-topic. After I've completed my first Task Event ERP study using this method, perhaps I'll start a new Task Event ERP thread with a more optimistic reevaluation. On Monday, February 25, 2013 2:54:16 PM UTC-6, McFarlane, David wrote: > > Scott, > > Ah yes, conditional *response* codes, that is an entirely different > matter from what Justine & I were discussing. I too hoped that Task > Events would handle conditional response codes, but alas, no. So for > that, yes, we still need to use WritePort or the like in inline code, > and it takes considerable coding finesse to get it to do just what we > want, more than we can go into here (see, e.g., discussions at > https://groups.google.com/d/topic/e-prime/z8PQMH1cf70 and > https://groups.google.com/d/topic/e-prime/7w5ajYuHqgw , as well as > several Knowledge Base articles about sending signals to external > equipment). > > But back to outputting signals coincident with *stimulus* onset. As > you mentioned, resetting signals at a delay after outputting them is > just one of the "gotchas" that I referred to, and Task Events handles > that very nicely. As for *conditional* stimulus codes, as you > mention, Task Events can use attribute references for the output > data, and that seems no different to me from what you can do with > OnsetSignalData (but without requiring inline code). Did I miss > something? > > BTW, when I said that Task Events should supplant OnsetSignal..., I > merely meant that we users should oursleves over time abandon > OnsetSignal... in favor of Task Events, which does everything that > OnsetSignal does now, only more and better. I did not mean that PST > has any evident plans to stop support for OnsetSignal, so my > apologies to anyone who felt alarm over the way I stated that. I > suppose that users who prefer OnsetSignal may continue to do so for > the foreseable future. (And note that Task Events works only with > EP2 Pro files.) > --------clip--------- > > >> > > >> > > >>-- David McFarlane, Professional Faultfinder > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/lYfhUv2QcfkJ. 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 Feb 28 16:38:21 2013 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 28 Feb 2013 11:38:21 -0500 Subject: Unknown Function "ebSocketTypeTcp" error In-Reply-To: Message-ID: Christian, I don't know anything about NetStation, but I do know that PST specifically advises that we *not* use EP2.0.10 yet with NetStation, see http://www.pstnet.com/support/kb.asp?TopicID=5345 . ----- 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 2/27/2013 04:40 PM Wednesday, you wrote: >I'm syncing E-Prime 2 with Net Station and when I try to run my E >Prime task I receive the following error "Unknown function ebSocketTypeTcp" > >A few other pieces of information that might be helpful: > >1) I checked the output window and it said "warning: >"egiclockextension.ebn" failed to load and is not included in the >routine (load state/error= -1/127 version/expected=0/178) > >2) I also saw the following error when compiling "The error occurred >in the method named "Netstation_InitSocketCommunications(s" at line >729 of a Certified Package File. > >3) Parameters in the netstation package in e prime are: "c, "on", >Celllist, "socket", "10.0.0.42"" > >4) I recently updated E-Prime from 2.0.8 to 2.0.10. > > >Any help you can provide would be greatly appreciated. > >-Christian -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.