From salaco at gmail.com Mon Sep 1 12:33:28 2014 From: salaco at gmail.com (salaco at gmail.com) Date: Mon, 1 Sep 2014 05:33:28 -0700 Subject: Modifying an existing E-Prime programme - any freelance programmers out there? Message-ID: Hi, Am working with a specific cognitive task, programmed in e-prime. The existing response modality is keyboard-based, where keys are used to move the objects on the screen left, right, up, down. I want to switch it to joystick, which would permit same operations. Is there anyone who might be able and available to make the necessary changes to the programme for a fee? If so, could you contact me at salaco at gmail.com Thanks. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/55a016ef-de75-4b78-a1e6-fc71564be666%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From raaron47 at gmail.com Mon Sep 1 13:50:11 2014 From: raaron47 at gmail.com (Rachel Aaron) Date: Mon, 1 Sep 2014 06:50:11 -0700 Subject: Error 11093: "Unable to buffer movie" In-Reply-To: <5dd3bb75-de69-44a5-b6bb-befd558726e5@googlegroups.com> Message-ID: Hi Davids, Thank you both for the valuable feedback. Since it seems the nature of this problem is unclear, and because of impending deadlines (i.e., dissertation research!) I decided to divide the experiment into four parts. It's not the most elegant experiment, but when I divide it up, I don't get the errors. I'm going to see if I can batch them all together so they run seamlessly, and hope that that solves the problem for good. Thanks again! Rachel On Friday, August 29, 2014 9:04:07 AM UTC-5, Rachel Aaron wrote: > > Hi there, > > I'm working on a program that displays clips from 14 different videos, > followed by a series of questions. The videos range from 8s - 4 minutes 7 > seconds, in sizes 298 KB - 43786 KB. The videos are all located within one > List Object. When I run the experiment, I always get Error 11093: "Unable > to buffer movie." The odd thing is that every time I run the experiment, > the error occurs at a different time (after 5 movies, after 8 movies, > etc.), even when they order is the same. I've ensured that all clips play > by switching the order of the video in the List Object. I can't figure out > a consistent reason why this error is occurring, the length, number, and > size of videos that play is different every time. > > I've gone back and forth with eprime support many times trying to figure > this error out, but haven't solved anything yet? Any thoughts from the > eprime community? > > Many thanks, > Rachel > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/6fa855a6-e38f-4e30-9d2e-6ae09738a7e3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From natalia.alur at gmail.com Tue Sep 2 03:38:01 2014 From: natalia.alur at gmail.com (natalia.alur at gmail.com) Date: Mon, 1 Sep 2014 20:38:01 -0700 Subject: How to record the response in one slide with two figures Message-ID: Hi all, I am not sure how to organise my columns and rows in my main trial list in terms of correct and incorrect responses. I've got one slide with two images figure1=[stim1] and figure2=[stim2]. These images have to be presented also randomised and ideally the participant has to select one or the other one clicking with the mouse, but if that is difficult they also can use the keyboard (1 2). I put stim1 and stim 2 as an attribute but how can I establish which one is the correct one if they are randomised?. Thank you very much. Nat -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/9c5c7f32-fd96-4679-a54b-e9619be098dc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Sep 2 15:37:00 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 2 Sep 2014 11:37:00 -0400 Subject: Eprime triggers to EEG out of sync In-Reply-To: <30ec6632-8759-4931-ba0a-5857cf50c506@googlegroups.com> Message-ID: Ryan, Just a few remarks ... "Apparently e-prime is limited to sending out 250 labels ..." -- Not clear if you think that E-Prime may only do signal output events 250 times during a session, or if you think that it may use only 250 different signal values, so to clarify: (1) E-Prime may do any number of signal output events during a session. (2) Typically, you output an 8-bit value. Unsigned 8-bit values may range from decimal 0 to 255. You would reserve 0 for an "off" or null value, thus, ordinarily, E-Prime is "limited" to using 255 unique signal values (unless you can coax E-Prime into outputting 16-bit signals, in which case it will use 65,535 unique signal values). Not sure why you would need a unique signal value for each event during a session anyway, typically you reuse signal values on different trials just to signify general categorical information (stimulus onset, etc.). Post-hoc labelling -- If you can output one signal at a known time relative to stimulus onset, and if all your later markers come at known offsets from that, then it should be straightforward to send the first marker at run time (which you already know how to do in E-Prime), and add the remaining markers later during analysis. Sure, it might be slick to have E-Prime do all this at run time, but I don't think it is worth the trouble. As far as getting E-Prime 1 to do this at run time anyway, these threads may be of some interest (even though they refer to outputting signals relative to the time of response instead): https://groups.google.com/d/topic/e-prime/z8PQMH1cf70 https://groups.google.com/d/topic/e-prime/7w5ajYuHqgw ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/30/2014 05:05 PM Saturday, Ryan Blything wrote: >I came across this post because I am going to be trying a similar >thing in my experiment such that we will be using e-prime v.1 to >present audio stimuli and we are interested in setting markers so >that they are not just at the onset of stimuli - but also at a >number of specific points in each sentence (e.g. onset of the verb, >noun, preposition). This would require having several markers for >each trial and Im wondering about the best way to go about this? One >way is through code but no one seems to have managed to do this >successfully that Im aware of. How did it go for any of you? Im >quite new to e-prime and SPM (which we will use to analyse data) so >I would appreciate any advice before I continue. > >An alternative option Ive heard about is post-hoc labelling, which >would be done in SPM, post-hoc working from the onset triggers >provided by e-prime (and psuedo-marking points later in the >sentence). Im not very familiar with SPM but am I right in thinking >that as long as the onset of the sentence is marked accurately, then >we can - post hoc - set markers anywhere we want in the data >thereafter? This may be the most ideal solution because I have 200 >sentences, each of which must be labelled separately (so that I can >recognise each one). Apparently e-prime is limited to sending out >250 labels so perhaps post-hoc multiple labelling is the answer. I >would appreciate any thoughts any of you may have. > >Many Thanks, >Ryan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5405e431.252e320a.2523.37e7SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From noam.schneck at gmail.com Wed Sep 3 13:33:27 2014 From: noam.schneck at gmail.com (Noam Schneck) Date: Wed, 3 Sep 2014 06:33:27 -0700 Subject: Continuous Data Logging Message-ID: Hello, Is there a way to have one eprime object log multiple button responses. If I want to record button responses over the course of five minutes. I don't want to keep reloading an object because I might miss a response in the load time between two objects. IS there a way to have one object on screen for the five minutes that continuously logs the subjects inputs? Thank you, Noam -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/b3c0f2a6-0667-4bd5-a097-1a7fe7b14242%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From yhattaque at gmail.com Thu Sep 4 10:43:28 2014 From: yhattaque at gmail.com (Chen) Date: Thu, 4 Sep 2014 03:43:28 -0700 Subject: How to display a selected response (selected by press a key in the keyboard) Message-ID: Hi dear all, I would like to highlight an object based on the subject's response. I learned from some codes when an object was selected by the subject with a mouse ...unfortunately I am not smart enough to apply it in when I ask my subject to give a response by pressing the key "2", "3", or "4". Basically my subject has 3 seconds to make a choice. I would like the box surrounding the selected option to change color (to green for example) while the slide is still displayed, or the words (in the text of the slide) change color. My code is like this: Dim theState As SlideState ' Dim hitObject As SlideText Set theState = ResponseSlide.States(ResponseSlide.ActiveState) 'ResponseSlide is the name of the slide' Select Case ResponseSlide.RESP Case "2" hitObject = theState.Objects("Text1") Case "3" hitObject = ResponseSlide.Name("Text2") Case "4" hitObject = ResponseSlide.Name("Text3") End Select hitObject.BackColor = CColor("green") hitObject.Draw ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ the error message is like this: The object does not have an assignable default property. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hope someone can help me...I have been stuck for an entire day...;-; Thanks a lot in advance! OLI:) -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/663fdc48-8a2b-449e-b7a8-3a9d759bc58d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart.quirk at gmail.com Thu Sep 4 14:31:11 2014 From: stuart.quirk at gmail.com (Stuart Quirk) Date: Thu, 4 Sep 2014 07:31:11 -0700 Subject: Auditory Recording and Onset timing In-Reply-To: <513512d8.9107320a.62fb.4156SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thanks David for the many helpful posts I have read from you and others on this group. Very kind of you and others to lend your expertise! I have a question related to this topic-- I have separate mics for SRBOX (for RT data collection) and for line in recording of actual answers (for offline accuracy coding). My question is: Is there a way to set up my trials so that the RT trigger ends the trial *after* a delay (long enough to capture the vocal answers)? That is, ending the trial after the vocal trigger would obviously stop the inline recording as well. I have currently fixed the duration of each trial and simply log the RT. This works fine but if I could link trial length to RT (plus 300msec or so) I could shave a lot of time off my overall study. thanks! Stuart Quirk On Monday, March 4, 2013 4:32:04 PM UTC-5, McFarlane, David wrote: > > Relevant to this issue: http://docs.psychtoolbox.org/InitializePsychSound > . > > -- David McFarlane > > > At 3/4/2013 02:31 PM Monday, David McFarlane wrote: > >Sylvain, > > > >I don't know that anyone has explored sound recording latency > >before, so thanks for doing that and posting your observation. I > >wonder if this is a limitation of E-Prime in particular, or a > >limitation of computer sound recording in general? If the latter, > >it will dash the hopes of people who want to measure RT directly by > >sound recording (e.g., > https://groups.google.com/d/topic/e-prime/1kiOTrj3huk ). > > > >Please ask PST Web Support about this at > >http://support.pstnet.com/e%2Dprime/support/login.asp , and post > >back here with their response. And I will bring this up with the > >PsychoPy folks (in fact, I have been asked to explore this very > >issue with one of their top developers this week). > > > >-- David McFarlane > > > > > >At 3/2/2013 03:54 AM Saturday, Sylvain wrote: > >>Hello, > >> > >>I'm trying to do the same thing with EP2 and a Slide with: > >>- a Slidetext sub-object disappearing at the vocal answer of the > >>participant. The microphone for this one is plugged to the SRSBox. > >>- a SlideSoundIn sub-object recording 1000 of the answer from the > >>onset of the slide. The microphone for this one is plugged to the > computer. > >> > >> > >>I tried that on two different computers: on the first one I had > >>almost the same RT recorded by the SRSBox and after processing of > >>the wav file to check for onset. On the second on the RT recorded > >>by the SRSBox is 50-100 ms too early compared to the signal I know > >>that it's better to check every wav file (that's what I'm going to > >>do), but such a delay make me wonder if both objects of the slide > >>are starting at the same time on the second computer. Or if there > >>wouldn't be a kind a "wake up" time for the SlideSoundIn? > >> > >>Sylvain > >> > >> > >>On Thursday, April 30, 2009 11:17:38 PM UTC+2, David McFarlane wrote: > >>First, you will need EP2 to record audio at all. Next, what if you > >>used any ordinary stim/response object to wait for and capture the > >>onset of vocalization via, e.g., a SRBox, and follow that with a > >>SoundIn object that will then record the remainder of the > >>response? You might even split a single microphone between the SRBox > >>(for vocalization onset) and the mic input of the computer sound card > >>(for recording SoundIn). I will be interested to learn how this works > out. > >> > >>-- David McFarlane, Professional Faultfinder > >> > >> >If I want to record the timing of the onset of a vocalization but I > >> >also want an auditory recording of the verbal response is there any > >> >combination of e-prime software/hardware that can do this? In looking > >> >over the response box features, I found that it will time the onset of > >> >a vocalization but seems like you need a seperate recording system to > >> >capture the actual verbatim response. Can you pair the e-prime > >> >software and the response box in anyway to capture both at the same > >> >time? > >> > > >> >I hope this makes sense :) > >> > > >> >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 > . > >For more options, visit https://groups.google.com/groups/opt_out. > > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/f90b8d8d-42ff-4554-8afb-80d4dd36a79a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From noam.schneck at gmail.com Thu Sep 4 15:55:49 2014 From: noam.schneck at gmail.com (Noam Schneck) Date: Thu, 4 Sep 2014 08:55:49 -0700 Subject: Continuous Data Logging In-Reply-To: Message-ID: Never Mind. I found a download on the PST website which includes continuous data logging inline script. I have attached it here if anyone finds themselves in need of a similar function. Thank you Brandon Cernicky & Matt Lenhart for this great script!! On Wednesday, September 3, 2014 9:33:27 AM UTC-4, Noam Schneck wrote: > > Hello, > > Is there a way to have one eprime object log multiple button responses. > If I want to record button responses over the course of five minutes. I > don't want to keep reloading an object because I might miss a response in > the load time between two objects. IS there a way to have one object on > screen for the five minutes that continuously logs the subjects inputs? > > Thank you, > Noam > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/c0d5db89-1543-4317-851c-234dc0389074%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ProcessResponsesTemplate (2).es Type: application/octet-stream Size: 22755 bytes Desc: not available URL: From mcfarla9 at msu.edu Thu Sep 4 19:41:54 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 4 Sep 2014 15:41:54 -0400 Subject: How to display a selected response (selected by press a key in the keyboard) In-Reply-To: <663fdc48-8a2b-449e-b7a8-3a9d759bc58d@googlegroups.com> Message-ID: You did not say what line caused the error message, but I suspect it came up for one of the "hitObject = ..." lines. That error message, "object does not have an assignable default property", typically comes up when you forget to put "Set" in front of the assignment statement for an object variable (obviously -- NOT!). In E-Basic/VBA, you must use Set at the start of any assigment statement for an object variable, and you must *not* use Set at the start of any assignment statement for ordinary varibles (you may in this case preface the assigment with the arcane "Let" keyword, otherwise that is implied). (Yes, this is an absurd rule, peculiar to VBA, and provides many headaches with no compensating advantages.) So your hitObject assigment statements should read like Set hitObject = theState.Objects("Text1") Also note that for cases "3" & "4" you switch to using ResponseSlide.Name, which I think will not work. That said ... What happens if RESP is not 2, 3, or 4? Of course, your input mask Allowable may guarantee valid RESP values, but safe programming practice dictates that your code not fail in the event of unexpected inputs. As it stands, this code would throw a runtime error because hitObject would not be assigned before it reaches the hitObject.BackColor statement. With that in mind, your code might work out to something like Dim theState As SlideState Dim hitObject As SlideText Set theState = ResponseSlide.States(ResponseSlide.ActiveState) Select Case ResponseSlide.RESP Case "2" Set hitObject = theState.Objects("Text1") Case "3" Set hitObject = theState.Objects("Text2") Case "4" Set hitObject = theState.Objects("Text3") End Select If Not(hitObject Is Nothing) Then hitObject.BackColor = CColor("green") hitObject.Draw Else ' sanity check ' code for invalid response here End If If you could judiciously rename your objects so that they directly reflected the response value, you could compact this even further, e.g., Dim theState As SlideState Dim hitObject As SlideText Set theState = ResponseSlide.States(ResponseSlide.ActiveState) Select Case ResponseSlide.RESP Case "2", "3", "4" Set hitObject = theState.Objects("Text" & ResponseSlide.RESP) hitObject.BackColor = CColor("green") hitObject.Draw Case Else ' sanity check ' code for invalid response here End Select Just some ideas, you can take it from there. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/4/2014 06:43 AM Thursday, Chen wrote: >I would like to highlight an object based on the subject's response. > >I learned from some codes when an object was selected by the subject >with a mouse > >...unfortunately I am not smart enough to apply it in when I ask my >subject to give a response by pressing the key "2", "3", or "4". > > Basically my subject has 3 seconds to make a choice. > >I would like the box surrounding the selected option to change color >(to green for example) while the slide is still displayed, or the >words (in the text of the slide) change color. > >My code is like this: > >Dim theState As SlideState ' > >Dim hitObject As SlideText > >Set theState = >ResponseSlide.States(ResponseSlide.ActiveState) 'ResponseSlide is >the name of the slide' > >Select Case ResponseSlide.RESP > >Case "2" > > hitObject = theState.Objects("Text1") > >Case "3" > > hitObject = ResponseSlide.Name("Text2") > >Case "4" > > hitObject = ResponseSlide.Name("Text3") > >End Select > >hitObject.BackColor = CColor("green") > >hitObject.Draw > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >the error message is like this: > >The object does not have an assignable default property. > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Hope someone can help me...I have been stuck for an entire day...;-; > >Thanks a lot in advance! > >OLI:) -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5408c098.1243320a.687a.0b18SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Thu Sep 4 20:02:43 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 4 Sep 2014 16:02:43 -0400 Subject: Auditory Recording and Onset timing In-Reply-To: Message-ID: Stuart, First, to update this thread a little, various sites (including PST) have tried to split one microphone for use for both RT and recording, and have not gotten this to work adequately. So as you have done, it is still best to use two separate microphones, one for RT voice key, and another for voice recording. Now, just a couple of thoughts offhand, I have not tested this (I will leave that to you :) ) ... First, are you sure that ending the trial after the vocal trigger also stops the sound recording? Back when I tested sound recording (using EP2.0.8.90), I found that sound recordings always went on for the full duration of Buffer Size, regardless of anything else that happened. Did I miss something? If you find different behavior, perhaps you could make a minimal example program and send that to me (off the list). Even so, I imagine that you still want E-Prime to hold up for a set time after each vocal RT and then move on. In that case, and assuming that recording does continue after termination of the Slide or SoundIn object, what about just using a Wait object after your stimulus object. E.g., - TrialProc - FixText - StimSlide ' includes SlideSoundIn for recording, and terminates ' upon vocal RT - RecordingWait ' extra time to wait after StimSlide terminates - TrialEndText ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/4/2014 10:31 AM Thursday, Stuart Quirk wrote: >Thanks David for the many helpful posts I have read from you and >others on this group. Very kind of you and others to lend your expertise! > >I have a question related to this topic-- >I have separate mics for SRBOX (for RT data collection) and for line >in recording of actual answers (for offline accuracy coding). > >My question is: Is there a way to set up my trials so that the RT >trigger ends the trial *after* a delay (long enough to capture the >vocal answers)? >That is, ending the trial after the vocal trigger would obviously >stop the inline recording as well. >I have currently fixed the duration of each trial and simply log the RT. >This works fine but if I could link trial length to RT (plus 300msec >or so) I could shave a lot of time off my overall study. > >thanks! >Stuart Quirk > >On Monday, March 4, 2013 4:32:04 PM UTC-5, McFarlane, David wrote: >Relevant to this >issue: >http://docs.psychtoolbox.org/InitializePsychSound >. > >-- David McFarlane > > >At 3/4/2013 02:31 PM Monday, David McFarlane wrote: > >Sylvain, > > > >I don't know that anyone has explored sound recording latency > >before, so thanks for doing that and posting your observation. I > >wonder if this is a limitation of E-Prime in particular, or a > >limitation of computer sound recording in general? If the latter, > >it will dash the hopes of people who want to measure RT directly by > >sound recording (e.g., > https://groups.google.com/d/topic/e-prime/1kiOTrj3huk > ). > > > >Please ask PST Web Support about this at > >http://suppo > rt.pstnet.com/e%2Dprime/support/login.asp , and post > >back here with their response. And I will bring this up with the > >PsychoPy folks (in fact, I have been asked to explore this very > >issue with one of their top developers this week). > > > >-- David McFarlane > > > > > >At 3/2/2013 03:54 AM Saturday, Sylvain wrote: > >>Hello, > >> > >>I'm trying to do the same thing with EP2 and a Slide with: > >>- a Slidetext sub-object disappearing at the vocal answer of the > >>participant. The microphone for this one is plugged to the SRSBox. > >>- a SlideSoundIn sub-object recording 1000 of the answer from the > >>onset of the slide. The microphone for this one is plugged to the > computer. > >> > >> > >>I tried that on two different computers: on the first one I had > >>almost the same RT recorded by the SRSBox and after processing of > >>the wav file to check for onset. On the second on the RT recorded > >>by the SRSBox is 50-100 ms too early compared to the signal I know > >>that it's better to check every wav file (that's what I'm going to > >>do), but such a delay make me wonder if both objects of the slide > >>are starting at the same time on the second computer. Or if there > >>wouldn't be a kind a "wake up" time for the SlideSoundIn? > >> > >>Sylvain > >> > >> > >>On Thursday, April 30, 2009 11:17:38 PM UTC+2, David McFarlane wrote: > >>First, you will need EP2 to record audio at all. Next, what if you > >>used any ordinary stim/response object to wait for and capture the > >>onset of vocalization via, e.g., a SRBox, and follow that with a > >>SoundIn object that will then record the remainder of the > >>response? You might even split a single microphone between the SRBox > >>(for vocalization onset) and the mic input of the computer sound card > >>(for recording SoundIn). I will be interested to learn how this > works out. > >> > >>-- David McFarlane, Professional Faultfinder > >> > >> >If I want to record the timing of the onset of a vocalization but I > >> >also want an auditory recording of the verbal response is there any > >> >combination of e-prime software/hardware that can do this? In looking > >> >over the response box features, I found that it will time the onset of > >> >a vocalization but seems like you need a seperate recording system to > >> >capture the actual verbatim response. Can you pair the e-prime > >> >software and the response box in anyway to capture both at the same > >> >time? > >> > > >> >I hope this makes sense :) > >> > > >> >Thanks! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5408c57f.a2ea320a.2f91.02b0SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From yhattaque at gmail.com Fri Sep 5 02:40:19 2014 From: yhattaque at gmail.com (Oli Chen) Date: Fri, 5 Sep 2014 10:40:19 +0800 Subject: How to display a selected response (selected by press a key in the keyboard) In-Reply-To: <5408c098.1243320a.687a.0b18SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thank you very much, David! :) It is very nice of you to give such a quick reply! I understood what you mentioned, and tried to edit the code as you suggested. However, there is still the error :( and it came from the same line: Set hitObject = theState.Objects("Text1") the error message is "assignment variables and expression are different types"... I then wandered whether it is because I made some mistake in editing my slide. I had a slide with three slideTexts. I added "keyboard" as the device for response, and the allowance is "2", "3", and "4". the end action is set as "terminate", but i also tried with "none". I have no idea which part can be wrong... do you have any other suggestion or solution? thanks a lot again!!! have a good day!!^______^ oli:) On Fri, Sep 5, 2014 at 3:41 AM, David McFarlane wrote: > You did not say what line caused the error message, but I suspect it came > up for one of the "hitObject = ..." lines. That error message, "object > does not have an assignable default property", typically comes up when you > forget to put "Set" in front of the assignment statement for an object > variable (obviously -- NOT!). In E-Basic/VBA, you must use Set at the > start of any assigment statement for an object variable, and you must *not* > use Set at the start of any assignment statement for ordinary varibles (you > may in this case preface the assigment with the arcane "Let" keyword, > otherwise that is implied). (Yes, this is an absurd rule, peculiar to VBA, > and provides many headaches with no compensating advantages.) > > So your hitObject assigment statements should read like > > Set hitObject = theState.Objects("Text1") > > Also note that for cases "3" & "4" you switch to using ResponseSlide.Name, > which I think will not work. > > That said ... What happens if RESP is not 2, 3, or 4? Of course, your > input mask Allowable may guarantee valid RESP values, but safe programming > practice dictates that your code not fail in the event of unexpected > inputs. As it stands, this code would throw a runtime error because > hitObject would not be assigned before it reaches the hitObject.BackColor > statement. With that in mind, your code might work out to something like > > Dim theState As SlideState > Dim hitObject As SlideText > > Set theState = ResponseSlide.States(ResponseSlide.ActiveState) > Select Case ResponseSlide.RESP > Case "2" > Set hitObject = theState.Objects("Text1") > Case "3" > Set hitObject = theState.Objects("Text2") > Case "4" > Set hitObject = theState.Objects("Text3") > End Select > If Not(hitObject Is Nothing) Then > hitObject.BackColor = CColor("green") > hitObject.Draw > Else ' sanity check > ' code for invalid response here > End If > > If you could judiciously rename your objects so that they directly > reflected the response value, you could compact this even further, e.g., > > Dim theState As SlideState > Dim hitObject As SlideText > > Set theState = ResponseSlide.States(ResponseSlide.ActiveState) > Select Case ResponseSlide.RESP > Case "2", "3", "4" > Set hitObject = theState.Objects("Text" & ResponseSlide.RESP) > hitObject.BackColor = CColor("green") > hitObject.Draw > Case Else ' sanity check > ' code for invalid response here > End Select > > Just some ideas, you can take it from there. > > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/ > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained > staff (and other support facilities) at https://support.pstnet.com . 3) > 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 9/4/2014 06:43 AM Thursday, Chen wrote: > >> I would like to highlight an object based on the subject's response. >> >> I learned from some codes when an object was selected by the subject with >> a mouse >> >> ...unfortunately I am not smart enough to apply it in when I ask my >> subject to give a response by pressing the key "2", "3", or "4". >> >> Basically my subject has 3 seconds to make a choice. >> >> I would like the box surrounding the selected option to change color (to >> green for example) while the slide is still displayed, or the words (in the >> text of the slide) change color. >> >> My code is like this: >> >> Dim theState As SlideState ' >> >> Dim hitObject As SlideText >> >> Set theState = ResponseSlide.States(ResponseSlide.ActiveState) >> 'ResponseSlide is the name of the slide' >> >> Select Case ResponseSlide.RESP >> >> Case "2" >> >> hitObject = theState.Objects("Text1") >> >> Case "3" >> >> hitObject = ResponseSlide.Name("Text2") >> >> Case "4" >> >> hitObject = ResponseSlide.Name("Text3") >> >> End Select >> >> hitObject.BackColor = CColor("green") >> >> hitObject.Draw >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> ~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> the error message is like this: >> >> The object does not have an assignable default property. >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> Hope someone can help me...I have been stuck for an entire day...;-; >> >> Thanks a lot in advance! >> >> OLI:) >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/e-prime/5408c098.1243320a.687a.0b18SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/d/optout. > -- Yin-Hua, Chen Research Center for Mind, Brain and Learning National Chengchi University No. 64, Sec. 2, Zhi-Nan Rd., Wen-shan District, Taipei City 11605, Taiwan Tel: +886 2 2234 4967 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CANgqGTPA%2B0yVTMaDXcepv4%2BtekTHM_4nPeTZFGWdYJUdMctJ3g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Sep 5 13:59:02 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 5 Sep 2014 09:59:02 -0400 Subject: How to display a selected response (selected by press a key in the keyboard) In-Reply-To: Message-ID: Oli, Ah, of course, you still have to cast the result of SlideState.Objects() to tell E-Prime what *type* of object it is. You can see an example of this in the SlideState.Objects topic of the E-Prime Help facility (good to get familiar with that facility for lots of reasons!). So your line should look more like Set hitObject = CSlideText(theState.Objects("Text1")) Hmm, now I find the name of the hit variable misleading, as it is not a generic Object but rather a SlideText object, and I get very fussy about names in programs. I urge you to rename that to something like hitSlideText to better reflect its nature. Typically, I would make a variable named "slText" if I wanted a generic SlideText variable for general purposes. Just my personal style. Best, -- David McFarlane At 9/4/2014 10:40 PM Thursday, Oli Chen wrote: >Thank you very much, David! :) >It is very nice of you to give such a quick reply! > >I understood what you mentioned, and tried to edit the code as you suggested. >However, there is still the error :(  and it >came from the same line:  Set hitObject = theState.Objects("Text1") >the error message is "assignment variables and >expression are different types"... > >I then wandered whether it is because I made some mistake in editing my slide. >I had a slide with three slideTexts. I added >"keyboard" as the device for response, and the >allowance is "2", "3", and "4". >the end action is set as "terminate", but i also tried with "none". > >I have no idea which part can be wrong... >do you have any other suggestion or solution? > >thanks a lot again!!! >have a good day!!^______^ >oli:) > > >On Fri, Sep 5, 2014 at 3:41 AM, David McFarlane ><mcfarla9 at msu.edu> wrote: >You did not say what line caused the error >message, but I suspect it came up for one of the >"hitObject = ..." lines. That error message, >"object does not have an assignable default >property", typically comes up when you forget to >put "Set" in front of the assignment statement >for an object variable (obviously -- NOT!). In >E-Basic/VBA, you must use Set at the start of >any assigment statement for an object variable, >and you must *not* use Set at the start of any >assignment statement for ordinary varibles (you >may in this case preface the assigment with the >arcane "Let" keyword, otherwise that is >implied). (Yes, this is an absurd rule, >peculiar to VBA, and provides many headaches with no compensating advantages.) > >So your hitObject assigment statements should read like > >  Set hitObject = theState.Objects("Text1") > >Also note that for cases "3" & "4" you switch to >using ResponseSlide.Name, which I think will not work. > >That said ... What happens if RESP is not 2, >3, or 4? Of course, your input mask Allowable >may guarantee valid RESP values, but safe >programming practice dictates that your code not >fail in the event of unexpected inputs. As it >stands, this code would throw a runtime error >because hitObject would not be assigned before >it reaches the hitObject.BackColor >statement. With that in mind, your code might work out to something like > >  Dim theState As SlideState >  Dim hitObject As SlideText > >  Set theState = ResponseSlide.States(ResponseSlide.ActiveState) >  Select Case ResponseSlide.RESP >  Case "2" >    Set hitObject = theState.Objects("Text1") >  Case "3" >    Set hitObject = theState.Objects("Text2") >  Case "4" >    Set hitObject = theState.Objects("Text3") >  End Select >  If Not(hitObject Is Nothing) Then >    hitObject.BackColor = CColor("green") >    hitObject.Draw >  Else ' sanity check >    ' code for invalid response here >  End If > >If you could judiciously rename your objects so >that they directly reflected the response value, >you could compact this even further, e.g., > >  Dim theState As SlideState >  Dim hitObject As SlideText > >  Set theState = ResponseSlide.States(ResponseSlide.ActiveState) >  Select Case ResponseSlide.RESP >  Case "2", "3", "4" >    Set hitObject = theState.Objects("Text" & ResponseSlide.RESP) >    hitObject.BackColor = CColor("green") >    hitObject.Draw >  Case Else ' sanity check >    ' code for invalid response here >  End Select > >Just some ideas, you can take it from there. > >----- >David McFarlane >E-Prime training >online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster >(https://twitter.com/EPrimeMaster) > >/---- >Stock reminder: 1) I do not work for PST. 2) >You may reach PST's trained staff (and other >support facilities) at >https://support.pstnet.com >. 3) 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 9/4/2014 06:43 AM Thursday, Chen wrote: >I would like to highlight an object based on the subject's response. > >I learned from some codes when an object was >selected by the subject with a mouse > >...unfortunately I am not smart enough to apply >it in when I ask my subject to give a response >by pressing the key "2", "3", or "4". > > Basically my subject has 3 seconds to make a choice. > >I would like the box surrounding the selected >option to change color (to green for example) >while the slide is still displayed, or the words >(in the text of the slide) change color. > >My code is like this: > >Dim theState As SlideState  ' > >Dim hitObject As SlideText > >Set theState = >ResponseSlide.States(ResponseSlide.ActiveState) >  'ResponseSlide is the name of the slide' > >Select Case ResponseSlide.RESP > >Case "2" > >  hitObject = theState.Objects("Text1") > >Case "3" > >  hitObject = ResponseSlide.Name("Text2") > >Case "4" > >  hitObject = ResponseSlide.Name("Text3") > >End Select > >hitObject.BackColor = CColor("green") > >hitObject.Draw > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >the error message is like this: > >The object does not have an assignable default property. > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Hope someone can help me...I have been stuck for an entire day...;-; > >Thanks a lot in advance! > >OLI:) > > >-- >You received this message because you are >subscribed to the Google Groups "E-Prime" group. >To unsubscribe from this group and stop >receiving emails from it, send an email to >e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to >e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/e-prime/5408c098.1243320a.687a.0b18SMTPIN_ADDED_MISSING%40gmr-mx.google.com. > >For more options, visit >https://groups.google.com/d/optout. > > > > >-- >Yin-Hua, Chen > >Research Center for Mind, Brain and Learning >National Chengchi University >No. 64, Sec. 2, Zhi-Nan Rd., Wen-shan District, Taipei City 11605, Taiwan >Tel: +886 2 2234 4967 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5409c1bc.4946320a.155b.0890SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From xianghonghmri at gmail.com Fri Sep 5 17:17:30 2014 From: xianghonghmri at gmail.com (Hong91101) Date: Fri, 5 Sep 2014 10:17:30 -0700 Subject: How to send triggers timing to EEG through parallel port? Message-ID: I just started using E-Prime 2, and hope to do computer-based neuropsych test and collect ERP data. We installed parallel port, and add the port in the Eprime2 through the structure-experiment-device. Now I want to send the probe trigger timing to the parallel port. Could you please help? Thanks, Hong -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/e58cb8dd-492c-4fc7-a42e-b5b5a99cc07f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Sep 5 18:32:27 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 5 Sep 2014 14:32:27 -0400 Subject: How to send triggers timing to EEG through parallel port? In-Reply-To: Message-ID: You might use the Task Events feature to do this. You should find some informaiton about that in the "New Features Guide" that came with E-Prime, as well as in the E-Prime Knowledge Base at the PST website. You might also search this Group for "task events", as well as "trigger", "eeg", etc. Best, ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/5/2014 01:17 PM Friday, Hong91101 wrote: >I just started using E-Prime 2, and hope to do computer-based >neuropsych test and collect ERP data. We installed parallel port, >and add the port in the Eprime2 through the >structure-experiment-device. Now I want to send the probe trigger >timing to the parallel port. Could you please help? >Thanks, > >Hong -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/540a01d2.866d320a.388f.1bf9SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From xianghonghmri at gmail.com Fri Sep 5 21:35:53 2014 From: xianghonghmri at gmail.com (Hong91101) Date: Fri, 5 Sep 2014 14:35:53 -0700 Subject: How to send triggers timing to EEG through parallel port? In-Reply-To: <540a01d2.866d320a.388f.1bf9SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thanks. I tried your suggestions, but seems the parallel port is still not talking with eprime. Please see the attached image. What should I do? (Our IT guy confirmed that the parallel port was installed properly. ) Thanks, Xianghong On Friday, September 5, 2014 11:32:53 AM UTC-7, McFarlane, David wrote: > You might use the Task Events feature to do this. You should find > some informaiton about that in the "New Features Guide" that came > with E-Prime, as well as in the E-Prime Knowledge Base at the PST > website. You might also search this Group for "task events", as well > as "trigger", "eeg", etc. > > Best, > ----- > 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) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) 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 9/5/2014 01:17 PM Friday, Hong91101 wrote: > >I just started using E-Prime 2, and hope to do computer-based > >neuropsych test and collect ERP data. We installed parallel port, > >and add the port in the Eprime2 through the > >structure-experiment-device. Now I want to send the probe trigger > >timing to the parallel port. Could you please help? > >Thanks, > > > >Hong > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5fdff473-885c-4091-8751-67a22a4a3a77%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TriggerParallelTest2.pdf Type: application/pdf Size: 76306 bytes Desc: not available URL: From xianghonghmri at gmail.com Fri Sep 5 23:52:53 2014 From: xianghonghmri at gmail.com (Hong91101) Date: Fri, 5 Sep 2014 16:52:53 -0700 Subject: How to send triggers timing to EEG through parallel port? In-Reply-To: <5fdff473-885c-4091-8751-67a22a4a3a77@googlegroups.com> Message-ID: Here is the error in script, attached Thanks for helping... -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/ba865015-6ea0-42b9-8227-f25199aadff2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TriggerParallelTest2.pdf Type: application/pdf Size: 198021 bytes Desc: not available URL: From mcfarla9 at msu.edu Sat Sep 6 13:31:36 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Sat, 6 Sep 2014 09:31:36 -0400 Subject: How to send triggers timing to EEG through parallel port? In-Reply-To: Message-ID: Well, first of all make sure that you installed the Port I/O device driver when you installed E-Prime. Beyond that, please contact PST Support. -- David McFarlane Hong91101 wrote: > Here is the error in script, attached > Thanks for helping... > > -- > You received this message because you are subscribed to the Google > Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to e-prime+unsubscribe at googlegroups.com > . > To post to this group, send email to e-prime at googlegroups.com > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/ba865015-6ea0-42b9-8227-f25199aadff2%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/540B0CB8.8060009%40msu.edu. For more options, visit https://groups.google.com/d/optout. From dannyho1988 at gmail.com Mon Sep 8 07:13:02 2014 From: dannyho1988 at gmail.com (danho) Date: Mon, 8 Sep 2014 00:13:02 -0700 Subject: Eprime experiment design Message-ID: Hi all, I am currently designing an eprime programme that involves the participants being exposed to a series of audio-image pairs that consist either valid English words ("cat") or non-valid English words ("blung") and either Image A or Image B. To ensure that the participants paid attention to the visual primes during the experiment, they would be quizzed on random intervals regarding the image they seen after the presentation of the audio-image pair. How do I design the programme in the way that 1) visual quiz segment occurs a random frequency with a ratio of 1 visual quiz segment to 4 audio-image pair presentions 2) the visual quiz segment occurs after the presentation of the audio-image pair? 3) if possible, the programme indicates whether the participants scored correctly for the visual quiz segment. Regards, Dan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/46b39656-18c4-4c09-800a-a5a88cb4bbca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Sep 8 18:42:31 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 8 Sep 2014 14:42:31 -0400 Subject: On-line E-Prime=?iso-8859-1?Q?=AE_?=course from MSU Psychology Message-ID: Dear Colleagues, I wanted to let you know once again that the MSU Psychology Department has developed an on-line course in E-Prime®, the software for programming computerized behavioral tasks. The target audience is anyone interested in learning E-Prime®, but the course is ideal for beginning graduate students who will need to develop their own psychological experiments. The instructor is David McFarlane (that's me), who is familiar to many here on the E-Prime® Google group (twitter feed here). There are video lectures with guided exercises, quizzes and graded assignments, live office hours, and continuing education credits if those are useful. The target time frame is roughly 4 weeks for 14-15 hours of course work. Please see the course webpage (http://psychology.msu.edu/Workshops_Courses/eprime.aspx) for more information, including pricing, registration instructions, and a syllabus. Please address questions to ep101 at msu.edu or to me. Happy programming, --------------- David McFarlane, Systems Designer Dept. Psychology, Michigan State University E-Prime training online: psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/540df8af.866d320a.388f.4633SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From kbrown6 at wellesley.edu Mon Sep 8 21:27:08 2014 From: kbrown6 at wellesley.edu (Kelsey A Brown) Date: Mon, 8 Sep 2014 14:27:08 -0700 Subject: setting two different conditions for the experiment as a part of the initial script Message-ID: Hello Everyone, I am trying to use E-prime to build a stop signal frustration task, but I have encountered a few complications in building the task. At the moment, I am trying to create an initial script that would allow E-prime to automatically run a participant in a condition (high frustration or low frustration) depending on the participant number that I input before running the experiment. So for example, if I wanted to run 80 participants, half would be placed in the high frustration condition and the other half would be placed in the low frustration condition. I have some ideas about how this could theoretically be carried out, but I'm not sure if/how this can actually be implemented in the script. For example, I would want the initial script to begin by telling the program to pull 40 random numbers 1-80 (I would need to somehow make the same 40 numbers be pulled each time). The 40 numbers pulled would be placed in the low frustration condition where pctcorrect (percent correct)=.80. If else, (so if one of the other 40 numbers were pulled), place the participant in a high frustration condition where pctcorrect (percent correct)=.30. e.g. If I were running the program and I typed in my participant number as 3 and 3 was one of the random numbers pulled between 1 and 80 then the program would automatically run the stop signal task placing the participant in the low frustration condition where pctcorrect=.80 (where participants could accurately inhibit on 80% of stop signal trials). However, if the participant ID number was 8 and 8 was not one of the 40 random numbers initially pulled between 1 and 80 then the program would place the participant in the high frustration condition where pctcorrect=.30. Is this something that is possible in E-prime? I hope this makes sense. Thanks in advance for your input! -Kelsey -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/80664503-df91-43df-a65c-efa7fc166e8e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart.quirk at gmail.com Mon Sep 8 21:41:23 2014 From: stuart.quirk at gmail.com (Stuart Quirk) Date: Mon, 8 Sep 2014 14:41:23 -0700 Subject: Auditory Recording and Onset timing In-Reply-To: <5408c57f.a2ea320a.2f91.02b0SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thanks David, After playing around some more I think I have to stick with a fixed time for trial display and buffer. One problem is that people vary a fair bit in how long they take to answer each trial so setting the soundin for x amount of fixed buffer time gets problematic when a trial finishes and the next one starts before the buffer time is completed. It seems that, in this case, the 'extra' time is a problem for starting the next trial-- e.g., I set the buffer to 3500msec, the vocal answer at 1500msec works to trigger the end of the trial, a 1000msec 'get ready' object follows but there is still a second left in the buffer as the next trial begins. So to set the buffer time at any specified value seems to set the required duration of the trial so I'll probably just stick with being consistent. I hoped I could have the soundin continue via some 'infinite' duration until the termination trigger setting plus 300msec or something similar so the vocal trigger gives me logged reaction time and the verbal answer is also captured but I don't think I can have a flexible recording buffer time + a set time window post termination of the object. I played a bit before giving up and it seemed that soundin recording terminated at the end of a trial even if the buffer was set to have extra time (an effect I found with just adding the soundin to the standard/provided RTime sample experiment). thanks again! Stuart On Thursday, September 4, 2014 4:03:16 PM UTC-4, McFarlane, David wrote: > > Stuart, > > First, to update this thread a little, various sites (including PST) > have tried to split one microphone for use for both RT and recording, > and have not gotten this to work adequately. So as you have done, it > is still best to use two separate microphones, one for RT voice key, > and another for voice recording. > > Now, just a couple of thoughts offhand, I have not tested this (I > will leave that to you :) ) ... > > First, are you sure that ending the trial after the vocal trigger > also stops the sound recording? Back when I tested sound recording > (using EP2.0.8.90), I found that sound recordings always went on for > the full duration of Buffer Size, regardless of anything else that > happened. Did I miss something? If you find different behavior, > perhaps you could make a minimal example program and send that to me > (off the list). > > Even so, I imagine that you still want E-Prime to hold up for a set > time after each vocal RT and then move on. In that case, and > assuming that recording does continue after termination of the Slide > or SoundIn object, what about just using a Wait object after your > stimulus object. E.g., > > - TrialProc > - FixText > - StimSlide ' includes SlideSoundIn for recording, and > terminates > ' upon vocal RT > - RecordingWait ' extra time to wait after StimSlide terminates > - TrialEndText > > ----- > 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) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) 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 9/4/2014 10:31 AM Thursday, Stuart Quirk wrote: > >Thanks David for the many helpful posts I have read from you and > >others on this group. Very kind of you and others to lend your expertise! > > > >I have a question related to this topic-- > >I have separate mics for SRBOX (for RT data collection) and for line > >in recording of actual answers (for offline accuracy coding). > > > >My question is: Is there a way to set up my trials so that the RT > >trigger ends the trial *after* a delay (long enough to capture the > >vocal answers)? > >That is, ending the trial after the vocal trigger would obviously > >stop the inline recording as well. > >I have currently fixed the duration of each trial and simply log the RT. > >This works fine but if I could link trial length to RT (plus 300msec > >or so) I could shave a lot of time off my overall study. > > > >thanks! > >Stuart Quirk > > > >On Monday, March 4, 2013 4:32:04 PM UTC-5, McFarlane, David wrote: > >Relevant to this > >issue: > > > http://docs.psychtoolbox.org/InitializePsychSound > >. > > > >-- David McFarlane > > > > > >At 3/4/2013 02:31 PM Monday, David McFarlane wrote: > > >Sylvain, > > > > > >I don't know that anyone has explored sound recording latency > > >before, so thanks for doing that and posting your observation. I > > >wonder if this is a limitation of E-Prime in particular, or a > > >limitation of computer sound recording in general? If the latter, > > >it will dash the hopes of people who want to measure RT directly by > > >sound recording (e.g., > > > https://groups.google.com/d/topic/e-prime/1kiOTrj3huk > > ). > > > > > >Please ask PST Web Support about this at > > >http://suppo > > rt.pstnet.com/e%2Dprime/support/login.asp , and post > > >back here with their response. And I will bring this up with the > > >PsychoPy folks (in fact, I have been asked to explore this very > > >issue with one of their top developers this week). > > > > > >-- David McFarlane > > > > > > > > >At 3/2/2013 03:54 AM Saturday, Sylvain wrote: > > >>Hello, > > >> > > >>I'm trying to do the same thing with EP2 and a Slide with: > > >>- a Slidetext sub-object disappearing at the vocal answer of the > > >>participant. The microphone for this one is plugged to the SRSBox. > > >>- a SlideSoundIn sub-object recording 1000 of the answer from the > > >>onset of the slide. The microphone for this one is plugged to the > > computer. > > >> > > >> > > >>I tried that on two different computers: on the first one I had > > >>almost the same RT recorded by the SRSBox and after processing of > > >>the wav file to check for onset. On the second on the RT recorded > > >>by the SRSBox is 50-100 ms too early compared to the signal I know > > >>that it's better to check every wav file (that's what I'm going to > > >>do), but such a delay make me wonder if both objects of the slide > > >>are starting at the same time on the second computer. Or if there > > >>wouldn't be a kind a "wake up" time for the SlideSoundIn? > > >> > > >>Sylvain > > >> > > >> > > >>On Thursday, April 30, 2009 11:17:38 PM UTC+2, David McFarlane wrote: > > >>First, you will need EP2 to record audio at all. Next, what if you > > >>used any ordinary stim/response object to wait for and capture the > > >>onset of vocalization via, e.g., a SRBox, and follow that with a > > >>SoundIn object that will then record the remainder of the > > >>response? You might even split a single microphone between the SRBox > > >>(for vocalization onset) and the mic input of the computer sound card > > >>(for recording SoundIn). I will be interested to learn how this > > works out. > > >> > > >>-- David McFarlane, Professional Faultfinder > > >> > > >> >If I want to record the timing of the onset of a vocalization but I > > >> >also want an auditory recording of the verbal response is there any > > >> >combination of e-prime software/hardware that can do this? In > looking > > >> >over the response box features, I found that it will time the onset > of > > >> >a vocalization but seems like you need a seperate recording system > to > > >> >capture the actual verbatim response. Can you pair the e-prime > > >> >software and the response box in anyway to capture both at the same > > >> >time? > > >> > > > >> >I hope this makes sense :) > > >> > > > >> >Thanks! > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/bbf8aece-dba2-4981-a7d5-ece0070b630a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From yhattaque at gmail.com Tue Sep 9 02:36:40 2014 From: yhattaque at gmail.com (Oli Chen) Date: Tue, 9 Sep 2014 10:36:40 +0800 Subject: How to display a selected response (selected by press a key in the keyboard) In-Reply-To: <5409c1bc.4946320a.155b.0890SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: thanks a lot to you, David! I have tried your suggestion! :) And I will absolutely use more Eprime help browser in the future:) it definitely helps a lot! Have a good day!!!! oli:) On Fri, Sep 5, 2014 at 9:59 PM, David McFarlane wrote: > Oli, > > Ah, of course, you still have to cast the result of SlideState.Objects() > to tell E-Prime what *type* of object it is. You can see an example of > this in the SlideState.Objects topic of the E-Prime Help facility (good to > get familiar with that facility for lots of reasons!). So your line should > look more like > > Set hitObject = CSlideText(theState.Objects("Text1")) > > Hmm, now I find the name of the hit variable misleading, as it is not a > generic Object but rather a SlideText object, and I get very fussy about > names in programs. I urge you to rename that to something like > hitSlideText to better reflect its nature. Typically, I would make a > variable named "slText" if I wanted a generic SlideText variable for > general purposes. Just my personal style. > > Best, > -- David McFarlane > > > At 9/4/2014 10:40 PM Thursday, Oli Chen wrote: > >> Thank you very much, David! :) >> It is very nice of you to give such a quick reply! >> >> I understood what you mentioned, and tried to edit the code as you >> suggested. >> However, there is still the error :(  and it came from the same line:  >> Set hitObject = theState.Objects("Text1") >> the error message is "assignment variables and expression are different >> types"... >> >> I then wandered whether it is because I made some mistake in editing my >> slide. >> I had a slide with three slideTexts. I added "keyboard" as the device for >> response, and the allowance is "2", "3", and "4". >> the end action is set as "terminate", but i also tried with "none". >> >> I have no idea which part can be wrong... >> do you have any other suggestion or solution? >> >> thanks a lot again!!! >> have a good day!!^______^ >> oli:) >> >> >> On Fri, Sep 5, 2014 at 3:41 AM, David McFarlane <> >mcfarla9 at msu.edu> wrote: >> You did not say what line caused the error message, but I suspect it came >> up for one of the "hitObject = ..." lines. That error message, "object >> does not have an assignable default property", typically comes up when you >> forget to put "Set" in front of the assignment statement for an object >> variable (obviously -- NOT!). In E-Basic/VBA, you must use Set at the >> start of any assigment statement for an object variable, and you must *not* >> use Set at the start of any assignment statement for ordinary varibles (you >> may in this case preface the assigment with the arcane "Let" keyword, >> otherwise that is implied). (Yes, this is an absurd rule, peculiar to >> VBA, and provides many headaches with no compensating advantages.) >> >> So your hitObject assigment statements should read like >> >>   Set hitObject = theState.Objects("Text1") >> >> Also note that for cases "3" & "4" you switch to using >> ResponseSlide.Name, which I think will not work. >> >> That said ... What happens if RESP is not 2, 3, or 4? Of course, your >> input mask Allowable may guarantee valid RESP values, but safe programming >> practice dictates that your code not fail in the event of unexpected >> inputs. As it stands, this code would throw a runtime error because >> hitObject would not be assigned before it reaches the hitObject.BackColor >> statement. With that in mind, your code might work out to something like >> >>   Dim theState As SlideState >>   Dim hitObject As SlideText >> >>   Set theState = ResponseSlide.States(ResponseSlide.ActiveState) >>   Select Case ResponseSlide.RESP >>   Case "2" >>     Set hitObject = theState.Objects("Text1") >>   Case "3" >>     Set hitObject = theState.Objects("Text2") >>   Case "4" >>     Set hitObject = theState.Objects("Text3") >>   End Select >>   If Not(hitObject Is Nothing) Then >>     hitObject.BackColor = CColor("green") >>     hitObject.Draw >>   Else ' sanity check >>     ' code for invalid response here >>   End If >> >> If you could judiciously rename your objects so that they directly >> reflected the response value, you could compact this even further, e.g., >> >>   Dim theState As SlideState >>   Dim hitObject As SlideText >> >>   Set theState = ResponseSlide.States(ResponseSlide.ActiveState) >>   Select Case ResponseSlide.RESP >>   Case "2", "3", "4" >>     Set hitObject = theState.Objects("Text" & ResponseSlide.RESP) >>     hitObject.BackColor = CColor("green") >>     hitObject.Draw >>   Case Else ' sanity check >>     ' code for invalid response here >>   End Select >> >> Just some ideas, you can take it from there. >> >> ----- >> David McFarlane >> E-Prime training online: > Workshops_Courses/eprime.aspx>http://psychology.msu.edu/ >> Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster ( >> https://twitter.com/EPrimeMaster) >> >> /---- >> Stock reminder: 1) I do not work for PST. 2) You may reach PST's >> trained staff (and other support facilities) at < >> https://support.pstnet.com>https://support.pstnet.com . 3) 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 9/4/2014 06:43 AM Thursday, Chen wrote: >> I would like to highlight an object based on the subject's response. >> >> I learned from some codes when an object was selected by the subject with >> a mouse >> >> ...unfortunately I am not smart enough to apply it in when I ask my >> subject to give a response by pressing the key "2", "3", or "4". >> >>  Basically my subject has 3 seconds to make a choice. >> >> I would like the box surrounding the selected option to change color (to >> green for example) while the slide is still displayed, or the words (in the >> text of the slide) change color. >> >> My code is like this: >> >> Dim theState As SlideState  ' >> >> Dim hitObject As SlideText >> >> Set theState = ResponseSlide.States(ResponseSlide.ActiveState)  >> 'ResponseSlide is the name of the slide' >> >> Select Case ResponseSlide.RESP >> >> Case "2" >> >>   hitObject = theState.Objects("Text1") >> >> Case "3" >> >>   hitObject = ResponseSlide.Name("Text2") >> >> Case "4" >> >>   hitObject = ResponseSlide.Name("Text3") >> >> End Select >> >> hitObject.BackColor = CColor("green") >> >> hitObject.Draw >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> ~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> the error message is like this: >> >> The object does not have an assignable default property. >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> Hope someone can help me...I have been stuck for an entire day...;-; >> >> Thanks a lot in advance! >> >> OLI:) >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+ >> unsubscribe at googlegroups.com. >> To post to this group, send email to >> e-prime at googlegroups.com. >> To view this discussion on the web visit > msgid/e-prime/5408c098.1243320a.687a.0b18SMTPIN_ >> ADDED_MISSING%40gmr-mx.google.com>https://groups.google.com/ >> d/msgid/e-prime/5408c098.1243320a.687a.0b18SMTPIN_ >> ADDED_MISSING%40gmr-mx.google.com. >> >> For more options, visit >> https://groups.google.com/d/optout. >> >> >> >> >> -- >> Yin-Hua, Chen >> >> Research Center for Mind, Brain and Learning >> National Chengchi University >> No. 64, Sec. 2, Zhi-Nan Rd., Wen-shan District, Taipei City 11605, Taiwan >> Tel: +886 2 2234 4967 >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/e-prime/5409c1bc.4946320a.155b.0890SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/d/optout. > -- Yin-Hua, Chen Research Center for Mind, Brain and Learning National Chengchi University No. 64, Sec. 2, Zhi-Nan Rd., Wen-shan District, Taipei City 11605, Taiwan Tel: +886 2 2234 4967 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CANgqGTO2oes6YZepiLah-h-1PCDxL2Sbe5su9E1Uo0sL%2BYOqyQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.vinson at ucl.ac.uk Tue Sep 9 09:19:45 2014 From: d.vinson at ucl.ac.uk (Vinson, David) Date: Tue, 9 Sep 2014 09:19:45 +0000 Subject: setting two different conditions for the experiment as a part of the initial script In-Reply-To: <80664503-df91-43df-a65c-efa7fc166e8e@googlegroups.com> Message-ID: Dear Kelsey, There's a really easy way to set this up using E-Prime: using Offset by Subject selection to determine at the start of a run which condition a Subject is in, selecting it from a higher level List. Create a List with two rows, one with procedure HighFrustProc and the other LowFrustProc, weight = 1. This List can have the attribute pctcorrect (.80 for low frustration, .30 for high frustration). Then set Selection properties of this List to Order: Offset, Order by: Subject. And Reset/Exit to Exit List: After 1 Sample. This way odd numbered subjects would run the HighFrust (or whatever is in the first line of the List) and even numbered, the LowFrust. Then each of these two Procedures would contain the other various elements of your experiment (e.g. the item Lists and trial Procedures), using the same objects and sub-procedures wherever possible to ensure that the two conditions are otherwise the same. If you don't like the strict alternation of odd/even Subject numbers, could take the same kind of approach by creating a random sequence in advance and using this to populate this List object (ie, 80 rows, again offset by subject number). Not elegant but very easy and transparent to implement. best, DavidV ________________________________________ From: e-prime at googlegroups.com [e-prime at googlegroups.com] on behalf of Kelsey A Brown [kbrown6 at wellesley.edu] Sent: 08 September 2014 22:27 To: e-prime at googlegroups.com Subject: setting two different conditions for the experiment as a part of the initial script Hello Everyone, I am trying to use E-prime to build a stop signal frustration task, but I have encountered a few complications in building the task. At the moment, I am trying to create an initial script that would allow E-prime to automatically run a participant in a condition (high frustration or low frustration) depending on the participant number that I input before running the experiment. So for example, if I wanted to run 80 participants, half would be placed in the high frustration condition and the other half would be placed in the low frustration condition. I have some ideas about how this could theoretically be carried out, but I'm not sure if/how this can actually be implemented in the script. For example, I would want the initial script to begin by telling the program to pull 40 random numbers 1-80 (I would need to somehow make the same 40 numbers be pulled each time). The 40 numbers pulled would be placed in the low frustration condition where pctcorrect (percent correct)=.80. If else, (so if one of the other 40 numbers were pulled), place the participant in a high frustration condition where pctcorrect (percent correct)=.30. e.g. If I were running the program and I typed in my participant number as 3 and 3 was one of the random numbers pulled between 1 and 80 then the program would automatically run the stop signal task placing the participant in the low frustration condition where pctcorrect=.80 (where participants could accurately inhibit on 80% of stop signal trials). However, if the participant ID number was 8 and 8 was not one of the 40 random numbers initially pulled between 1 and 80 then the program would place the participant in the high frustration condition where pctcorrect=.30. Is this something that is possible in E-prime? I hope this makes sense. Thanks in advance for your input! -Kelsey -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/80664503-df91-43df-a65c-efa7fc166e8e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/23423bb1207e47feaead5ce27ced7cde%40DB3PR01MB0458.eurprd01.prod.exchangelabs.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Tue Sep 9 14:18:47 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 9 Sep 2014 10:18:47 -0400 Subject: setting two different conditions for the experiment as a part of the initial script In-Reply-To: <23423bb1207e47feaead5ce27ced7cde@DB3PR01MB0458.eurprd01.pr od.exchangelabs.com> Message-ID: Kelsey, What David V said, except that I would use Counterbalance by Subject selection instead of Offset by Subject. Counterbalance does pretty much the same as Offset plus Reset/Exit After 1 Sample, but may be a bit more convenient. Please see discussions at https://groups.google.com/d/topic/e-prime/JtLh6DxqCbs and https://groups.google.com/d/topic/e-prime/CHntiIUbUmc . ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/9/2014 05:19 AM Tuesday, Vinson, David wrote: >Dear Kelsey, > >There's a really easy way to set this up using E-Prime: using Offset >by Subject selection to determine at the start of a run which >condition a Subject is in, selecting it from a higher level List. > >Create a List with two rows, one with procedure HighFrustProc and >the other LowFrustProc, weight = 1. This List can have the attribute >pctcorrect (.80 for low frustration, .30 for high >frustration). Then set Selection properties of this List to Order: >Offset, Order by: Subject. And Reset/Exit to Exit List: After 1 Sample. > >This way odd numbered subjects would run the HighFrust (or whatever >is in the first line of the List) and even numbered, the LowFrust. > >Then each of these two Procedures would contain the other various >elements of your experiment (e.g. the item Lists and trial >Procedures), using the same objects and sub-procedures wherever >possible to ensure that the two conditions are otherwise the same. > >If you don't like the strict alternation of odd/even Subject >numbers, could take the same kind of approach by creating a random >sequence in advance and using this to populate this List object (ie, >80 rows, again offset by subject number). Not elegant but very easy >and transparent to implement. > >best, >DavidV > > >________________________________________ >From: e-prime at googlegroups.com [e-prime at googlegroups.com] on behalf >of Kelsey A Brown [kbrown6 at wellesley.edu] >Sent: 08 September 2014 22:27 >To: e-prime at googlegroups.com >Subject: setting two different conditions for the experiment as a >part of the initial script > >Hello Everyone, > >I am trying to use E-prime to build a stop signal frustration task, >but I have encountered a few complications in building the task. >At the moment, I am trying to create an initial script that would >allow E-prime to automatically run a participant in a condition >(high frustration or low frustration) depending on the participant >number that I input before running the experiment. >So for example, if I wanted to run 80 participants, half would be >placed in the high frustration condition and the other half would be >placed in the low frustration condition. > >I have some ideas about how this could theoretically be carried out, >but I'm not sure if/how this can actually be implemented in the >script. For example, I would want the initial script to begin by >telling the program to pull 40 random numbers 1-80 (I would need to >somehow make the same 40 numbers be pulled each time). The 40 >numbers pulled would be placed in the low frustration condition >where pctcorrect (percent correct)=.80. >If else, (so if one of the other 40 numbers were pulled), place the >participant in a high frustration condition where pctcorrect >(percent correct)=.30. > >e.g. If I were running the program and I typed in my participant >number as 3 and 3 was one of the random numbers pulled between 1 and >80 then the program would automatically run the stop signal task >placing the participant in the low frustration condition where >pctcorrect=.80 (where participants could accurately inhibit on 80% >of stop signal trials). > >However, if the participant ID number was 8 and 8 was not one of the >40 random numbers initially pulled between 1 and 80 then the program >would place the participant in the high frustration condition where >pctcorrect=.30. > > >Is this something that is possible in E-prime? > >I hope this makes sense. Thanks in advance for your input! >-Kelsey -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/540f0c48.a94f320a.59e0.2cbeSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From lgulley511 at gmail.com Tue Sep 9 18:02:52 2014 From: lgulley511 at gmail.com (Lauren Gulley) Date: Tue, 9 Sep 2014 11:02:52 -0700 Subject: NTP and TET servers -- Linking EEG and eyetracking In-Reply-To: <2862bdab-b335-477a-a20d-54cd6b921c12@googlegroups.com> Message-ID: Hi Caitlin, I'm running into a similar problem. I know this occurred a long time ago, but do you remember how you fixed it? Thanks! Take care, Lauren On Wednesday, May 8, 2013 3:57:24 PM UTC-6, Caitlin wrote: > > Hi there, > I've also posted this to the PST forum -- trying to cast a wide net! > Appreciate your ideas: > > I am installing our new eye tracking system (Tobii TX300). I'd like to use > a one-computer system (i.e., 1 computer to both run EPrime and Tobii). This > would be ideal for us, because we plan on also sending events from EPrime 2 > -> NetStation 4.4 (EEG acquisition software). I've run into an interesting > conundrum: When I try to run the Tobii Eprime samples, it immediate throws > an error, asking for the NTP server. Now, this is without the NetStation > package being added to the EPrime experiment. If I open the Mac and start a > NetStation session, this permits the EPrime to start the experiment (no NTP > error). However, the TET server throws an error: > > Routine: TET_Connect() > Error Script: 2 > Error Text: Failed to communicate with server. Disconnected. > TET support will now be disabled. > The eye tracking connection will be closed and further errors will be > suppressed. > > I'm a baffled. I've entered the correct server information > (serverID.local.) is entered into the IP Address/Name box for the TobiiEye > Tracker Device Properties. The other options I left to the default (Port = > 4455, Sync mode=Local, Max count =4096). I've pinged the server from the > command prompt, and it the PC and Tobii are connected just fine. So this > all comes down to a few questions: > > 1. Why is EPrime requiring the NTP server when running an experiment > without the NTP package or devices? Is there a clock setting that needs to > be changed after adding the Tobii EPrime Extensions pack? > 2. What is going on with the TET server? I'm out of ideas for > troubleshooting. I've tried restarting the systems in different orders; > I've double checked the serverID values, successfully ping the Tobii before > running experiment, etc. > > I really appreciate your help! cheers, > -Caitlin > UNL, Graduate student > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/40b068e3-62ef-445a-93bd-2e9c9c822a4e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From xianghonghmri at gmail.com Tue Sep 9 20:11:24 2014 From: xianghonghmri at gmail.com (Hong91101) Date: Tue, 9 Sep 2014 13:11:24 -0700 Subject: How to send triggers timing to EEG through parallel port? In-Reply-To: <540B0CB8.8060009@msu.edu> Message-ID: Hi, David: Yes, I got the tech support from Eprime, and updated the windows, seems that helps with the setup. Thank you for telling me about the task event, it is very helpful. Best regards, Xianghong On Saturday, September 6, 2014 6:31:44 AM UTC-7, McFarlane, David wrote: > Well, first of all make sure that you installed the Port I/O device > driver when you installed E-Prime. Beyond that, please contact PST > Support. > > -- David McFarlane > > > Hong91101 wrote: > > Here is the error in script, attached > > Thanks for helping... > > > > -- > > You received this message because you are subscribed to the Google > > Groups "E-Prime" group. > > To unsubscribe from this group and stop receiving emails from it, send > > an email to e-prime+u... at googlegroups.com > > >. > > To post to this group, send email to e-p... at googlegroups.com > > > >. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/e-prime/ba865015-6ea0-42b9-8227-f25199aadff2%40googlegroups.com > > < > https://groups.google.com/d/msgid/e-prime/ba865015-6ea0-42b9-8227-f25199aadff2%40googlegroups.com?utm_medium=email&utm_source=footer>. > > > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/0ece8e39-f8ce-4859-b445-4a460ce6ffe1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kbrown6 at wellesley.edu Tue Sep 9 22:37:48 2014 From: kbrown6 at wellesley.edu (Kelsey A Brown) Date: Tue, 9 Sep 2014 15:37:48 -0700 Subject: Variable interstimulus interval (ISI) for stop trials in a stop signal task Message-ID: Hello Everyone, I received incredibly helpful answers for my previous question that I posted here, so I thought I would seek your valuable input on a second part of a stop signal task I have encountered some difficultly building. One of the defining parts of a stop signal task is having a variable ISI before the presentation of a stop signal. I would like to write a script that tells E-prime to make the ISI=250 ms for all go trials. For stop trials, the ISI for the first stop signal would be 250 ms, but the ISI for all future stop signals would be dependent on previous performance on stop trials. If the participant was successful at inhibiting pressing the button on the previous stop trial and their percent correct (accuracy on stop trials) is greater that 30% then the program would increase the previous trials stop signal delay (the ISI) for the next stop signal by 50 ms. If the participant was successful in inhibiting in pressing the button on the previous stop trial and their percent correct is less than 30% then the program would keep the stop signal delay for the next trial the same as it was in the previous trial. If the participant was not successful in inhibiting their button pressing on the previous stop trial and their percent correct is greater then 30% the program will keep the stop signal delay (ISI) equal to the ISI in the previous stop trial. If the participant was not successful in inhibiting their button pressing on the previous stop trial and their percent correct is less than 30% then the program would subtract 50 ms from the ISI of the previous stop signal trial. stop signal delay and ISI are used interchangeably, but they mean the same thing. To begin, in the experiment object properties, I made initDelay(initial delay)= 250. I also set DurationChange=50. In the script I wrote: Dim nDelay As Double 'actual delay for each trial Dim min, max, nerr, ncor, ff, ncc As Integer Dim pctcor, pcterr, pct, fpct, cpct As Single Dim ferr As String Dim pp As Single 'set guidelines for what to present when the person was correct too often and you want to increase the delay Sub SetSlowState(c As nDelay) nDelay = nDelay + CDbl(c.GetAttrib("DurationChange")) c.SetAttrib "ISIduration", c.GetAttrib("nDelay") End Sub Sub SetFastState (c As nDelay) nDelay = nDelay - CDbl(c.GetAttrib("DurationChange")) c.SetAttrib "ISIduration", c.GetAttrib("nDelay") Dim Delay As Integer If fileexists(c.GetAttrib("Subject") & "-ISI.txt") Then Open c.GetAttrib("Subject") & "-ISI.txt" For Input As #1 Input #1, Delay Close #1 nDelay = CDbl(Delay) Else nDelay = CDbl(c.GetAttrib(initDelay)) End If 'I'm still confused how to set variable ISI in a text file that changes nerr=0 'num forced errors ncor=0 ' num correct pcterr=0.0 ' percent error ncc=0 ' num correct?? 'ISI.duration= nDelay If c.GetAtrib("TrialType")="go" If c.GetAttrib ("TrialType")="stop" Then If (pctcor>.30) Then SetSlowState c,nDelay 'this routine should increase the ITI making it harder If (pctcor<.30) Then SetFastState c,nDelay 'this routine should decrease the ITI making it easier If c.GetAttrib ("TrialType")="stop" And If (pctcor<.30) Then ISI.duration= x - 50 ISI.duration = 250 If c.GetAtrib("TrialType")="go" Then If c.GetAttrib ("TrialType")="stop" Then ISI.duration = If c.GetAttrib("CorrectAnswer")= "" And If (pctcor>.30) debug.Print "Forced Error" nerr = nerr + 1' Forced Errors Then ISI.duration= 'previous stoptrial ISI + 50 If c.GetAttrib("CorrectAnswer")="" And If (pctcor<.30) Then ISI.duration= 'previous stop trial ISI - 50. 'i'm trying to set it up so that the isi for the first stop trial is equal to 250ms but increases by 50ms if pctcor>.30 but decreases by 50 ms if pctcor<.30. I'm assuming it is some sort of if then statement structured something like what I wrote below. Then ISI.duration = 250 Else ISI.duration = 250+50 The script above is what I came up with my professor, but I'm not sure the script is accomplishing exactly what it is meant to by tracking the stop signal ISI on all trials and either adding to that ISI or subtracting 50 ms from that ISI for the following trial depending on the participants stop trial accuracy percentage. I know that some of the above script is writing the same thing in multiple ways, but I figured it would be helpful to post everything that I have come up with so far. The script is basically a jumble of things we think might potentially work to write the program in the way we want it to run, but I would certainly appreciate any input. Hopefully this all makes sense. Perhaps there is an easier way to keep track of the ISI on all stop trials and program the variable ISI that I have not previously considered? Thanks for any help in advance. -Kelsey -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/bd478347-111a-4ddd-94e6-ab3b648637d7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kbrown6 at wellesley.edu Tue Sep 9 22:40:55 2014 From: kbrown6 at wellesley.edu (Kelsey A Brown) Date: Tue, 9 Sep 2014 15:40:55 -0700 Subject: setting two different conditions for the experiment as a part of the initial script In-Reply-To: <23423bb1207e47feaead5ce27ced7cde@DB3PR01MB0458.eurprd01.prod.exchangelabs.com> Message-ID: Dear David V, Thank you for the incredibly detailed and easy to understand instructions. I figured it was something that could be accomplished in E-prime, but I was unsure of the exact steps to follow to make it happen. I appreciate the invaluable assistance! Best, Kelsey On Tuesday, September 9, 2014 5:19:49 AM UTC-4, Vinson, David: UCL wrote: > > Dear Kelsey, > > There's a really easy way to set this up using E-Prime: using Offset by > Subject selection to determine at the start of a run which condition a > Subject is in, selecting it from a higher level List. > > Create a List with two rows, one with procedure HighFrustProc and the > other LowFrustProc, weight = 1. This List can have the attribute pctcorrect > (.80 for low frustration, .30 for high frustration). Then set Selection > properties of this List to Order: Offset, Order by: Subject. And > Reset/Exit to Exit List: After 1 Sample. > > This way odd numbered subjects would run the HighFrust (or whatever is in > the first line of the List) and even numbered, the LowFrust. > > Then each of these two Procedures would contain the other various elements > of your experiment (e.g. the item Lists and trial Procedures), using the > same objects and sub-procedures wherever possible to ensure that the two > conditions are otherwise the same. > > If you don't like the strict alternation of odd/even Subject numbers, > could take the same kind of approach by creating a random sequence in > advance and using this to populate this List object (ie, 80 rows, again > offset by subject number). Not elegant but very easy and transparent to > implement. > > best, > DavidV > > > ________________________________________ > From: e-p... at googlegroups.com [e-p... at googlegroups.com > ] on behalf of Kelsey A Brown [kbr... at wellesley.edu > ] > Sent: 08 September 2014 22:27 > To: e-p... at googlegroups.com > Subject: setting two different conditions for the experiment as a part of > the initial script > > Hello Everyone, > > I am trying to use E-prime to build a stop signal frustration task, but I > have encountered a few complications in building the task. > At the moment, I am trying to create an initial script that would allow > E-prime to automatically run a participant in a condition (high frustration > or low frustration) depending on the participant number that I input before > running the experiment. > So for example, if I wanted to run 80 participants, half would be placed > in the high frustration condition and the other half would be placed in the > low frustration condition. > > I have some ideas about how this could theoretically be carried out, but > I'm not sure if/how this can actually be implemented in the script. For > example, I would want the initial script to begin by telling the program to > pull 40 random numbers 1-80 (I would need to somehow make the same 40 > numbers be pulled each time). The 40 numbers pulled would be placed in the > low frustration condition where pctcorrect (percent correct)=.80. > If else, (so if one of the other 40 numbers were pulled), place the > participant in a high frustration condition where pctcorrect (percent > correct)=.30. > > e.g. If I were running the program and I typed in my participant number as > 3 and 3 was one of the random numbers pulled between 1 and 80 then the > program would automatically run the stop signal task placing the > participant in the low frustration condition where pctcorrect=.80 (where > participants could accurately inhibit on 80% of stop signal trials). > > However, if the participant ID number was 8 and 8 was not one of the 40 > random numbers initially pulled between 1 and 80 then the program would > place the participant in the high frustration condition where > pctcorrect=.30. > > > Is this something that is possible in E-prime? > > I hope this makes sense. Thanks in advance for your input! > -Kelsey > > > -- > You received this message because you are subscribed 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 e-prime+unsubscribe at googlegroups.com >. > To post to this group, send email to e-p... at googlegroups.com > >. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/80664503-df91-43df-a65c-efa7fc166e8e%40googlegroups.com > < > https://groups.google.com/d/msgid/e-prime/80664503-df91-43df-a65c-efa7fc166e8e%40googlegroups.com?utm_medium=email&utm_source=footer>. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/38f95c61-f8d5-4346-94f9-e9ae5ec76094%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kbrown6 at wellesley.edu Tue Sep 9 22:47:53 2014 From: kbrown6 at wellesley.edu (Kelsey A Brown) Date: Tue, 9 Sep 2014 15:47:53 -0700 Subject: setting two different conditions for the experiment as a part of the initial script In-Reply-To: <540f0c48.a94f320a.59e0.2cbeSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Dear David McFarlane, I also want to thank you for taking the time to answer my question and for providing links to similar discussions. I like the idea of using the counterbalance by subject option. I will certainly implement both your suggestion and David V's instructions when I return to building my task tomorrow. Thank you, Kelsey On Tuesday, September 9, 2014 10:18:50 AM UTC-4, McFarlane, David wrote: > > Kelsey, > > What David V said, except that I would use Counterbalance by Subject > selection instead of Offset by Subject. Counterbalance does pretty > much the same as Offset plus Reset/Exit After 1 Sample, but may be a > bit more convenient. Please see discussions at > https://groups.google.com/d/topic/e-prime/JtLh6DxqCbs and > https://groups.google.com/d/topic/e-prime/CHntiIUbUmc . > > > ----- > 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) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) 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 9/9/2014 05:19 AM Tuesday, Vinson, David wrote: > >Dear Kelsey, > > > >There's a really easy way to set this up using E-Prime: using Offset > >by Subject selection to determine at the start of a run which > >condition a Subject is in, selecting it from a higher level List. > > > >Create a List with two rows, one with procedure HighFrustProc and > >the other LowFrustProc, weight = 1. This List can have the attribute > >pctcorrect (.80 for low frustration, .30 for high > >frustration). Then set Selection properties of this List to Order: > >Offset, Order by: Subject. And Reset/Exit to Exit List: After 1 Sample. > > > >This way odd numbered subjects would run the HighFrust (or whatever > >is in the first line of the List) and even numbered, the LowFrust. > > > >Then each of these two Procedures would contain the other various > >elements of your experiment (e.g. the item Lists and trial > >Procedures), using the same objects and sub-procedures wherever > >possible to ensure that the two conditions are otherwise the same. > > > >If you don't like the strict alternation of odd/even Subject > >numbers, could take the same kind of approach by creating a random > >sequence in advance and using this to populate this List object (ie, > >80 rows, again offset by subject number). Not elegant but very easy > >and transparent to implement. > > > >best, > >DavidV > > > > > >________________________________________ > >From: e-p... at googlegroups.com [e-p... at googlegroups.com > ] on behalf > >of Kelsey A Brown [kbr... at wellesley.edu ] > >Sent: 08 September 2014 22:27 > >To: e-p... at googlegroups.com > >Subject: setting two different conditions for the experiment as a > >part of the initial script > > > >Hello Everyone, > > > >I am trying to use E-prime to build a stop signal frustration task, > >but I have encountered a few complications in building the task. > >At the moment, I am trying to create an initial script that would > >allow E-prime to automatically run a participant in a condition > >(high frustration or low frustration) depending on the participant > >number that I input before running the experiment. > >So for example, if I wanted to run 80 participants, half would be > >placed in the high frustration condition and the other half would be > >placed in the low frustration condition. > > > >I have some ideas about how this could theoretically be carried out, > >but I'm not sure if/how this can actually be implemented in the > >script. For example, I would want the initial script to begin by > >telling the program to pull 40 random numbers 1-80 (I would need to > >somehow make the same 40 numbers be pulled each time). The 40 > >numbers pulled would be placed in the low frustration condition > >where pctcorrect (percent correct)=.80. > >If else, (so if one of the other 40 numbers were pulled), place the > >participant in a high frustration condition where pctcorrect > >(percent correct)=.30. > > > >e.g. If I were running the program and I typed in my participant > >number as 3 and 3 was one of the random numbers pulled between 1 and > >80 then the program would automatically run the stop signal task > >placing the participant in the low frustration condition where > >pctcorrect=.80 (where participants could accurately inhibit on 80% > >of stop signal trials). > > > >However, if the participant ID number was 8 and 8 was not one of the > >40 random numbers initially pulled between 1 and 80 then the program > >would place the participant in the high frustration condition where > >pctcorrect=.30. > > > > > >Is this something that is possible in E-prime? > > > >I hope this makes sense. Thanks in advance for your input! > >-Kelsey > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/0894746b-cc72-4f6b-b012-1cab95f6fd82%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dannyho1988 at gmail.com Wed Sep 10 04:10:29 2014 From: dannyho1988 at gmail.com (danho) Date: Tue, 9 Sep 2014 21:10:29 -0700 Subject: Eprime experiment design In-Reply-To: <46b39656-18c4-4c09-800a-a5a88cb4bbca@googlegroups.com> Message-ID: Anyone here to help me? On Monday, 8 September 2014 15:13:03 UTC+8, danho wrote: > > Hi all, > > I am currently designing an eprime programme that involves the > participants being exposed to a series of audio-image pairs that > consist either valid English words ("cat") or non-valid English words > ("blung") and either Image A or Image B. To ensure that the participants > paid attention to the visual primes during the experiment, they would be > quizzed on random intervals regarding the image they seen after the > presentation of the audio-image pair. > > How do I design the programme in the way that 1) visual quiz segment > occurs a random frequency with a ratio of 1 visual quiz segment to 4 > audio-image pair presentions 2) the visual quiz segment occurs after the > presentation of the audio-image pair? 3) if possible, the programme > indicates whether the participants scored correctly for the visual quiz > segment. > > Regards, > > Dan > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/037676fd-32f4-425c-9106-55ae46b137b4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From huckjona at gmail.com Wed Sep 10 18:07:22 2014 From: huckjona at gmail.com (Jon) Date: Wed, 10 Sep 2014 11:07:22 -0700 Subject: Repeat Trial In-Reply-To: Message-ID: The 2 input masks solution is great, but is there a way to do it so that the trial is repeated only if there is no response? In my experiment, it doesn't matter whether a trial is correct/incorrect, but there needs to be a response for each trial within a fixed time constraint after the stimulus. On Wednesday, March 30, 2011 5:41:00 PM UTC-4, Cherise Chin Fatt wrote: > > Hello: > > Can someone please help me out with a part of my task? I need to repeat a > trial until a correct response is given. I haven't been able to figure this > out. I think it should be an inline, but I am not sure how to program this. > Can someone help with this if possible? > > Thank you, > Cherise. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a373b490-6c84-4b36-a566-eac9de6c85da%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny.liebold at googlemail.com Wed Sep 10 20:50:04 2014 From: benny.liebold at googlemail.com (Benny Liebold) Date: Wed, 10 Sep 2014 13:50:04 -0700 Subject: Array-Voodoo Message-ID: Hi, I've by now reached a point at which I have no clue what's going on. Basically, I wrote some script for an E-Prime Experiment to select the stimuli to display. I used arrays to represent the stimuli, because the have categories from which they have be dran randomly and then checked, if the violate the mode of stimulus selection. So first, I declared my array at the beginning of the Experiment: Dim EndArray(14,5,2) As String The Array contains 14 Items that each have 5 attributes and are going to be 2 times, so these are the array dimensions. I decided to just ignore array space "0" not to get lost in the script later on. Now, in a later script E-Prime is told to randomly select on of 14 items and repeat this process until 'determine destination RandomObject = random(1,14) 'Destination already covered 2 times? While EndArray(RandomObject,4,1) = "1" And EndArray(RandomObject,4,2) = "1" 'both are completed RandomObject = random(1,14) 'draw again Wend This very easy condition check produces the following error - but I have no clue why. Why is it regarding the array as a function instead of a variable? I used this type of addressing arrays in other experiments and it worked ... "Unknown function EndArray" I am aware that my code ist not beautiful at all, but it works most of the time ;) I would be glad, if you could help! Regards Benny -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/abc8d4fa-4d48-4c9d-91cb-a58700b73e95%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny.liebold at googlemail.com Wed Sep 10 20:55:05 2014 From: benny.liebold at googlemail.com (Benny Liebold) Date: Wed, 10 Sep 2014 13:55:05 -0700 Subject: Array-Voodoo In-Reply-To: Message-ID: I am sorry, I wanted to correct some typos of my hastily created posting, but editing is not allowed. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/ce4f7f39-22f1-4ca3-8081-5f318e3c3d8f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at wermes.de Thu Sep 11 14:02:25 2014 From: richard at wermes.de (richard at wermes.de) Date: Thu, 11 Sep 2014 07:02:25 -0700 Subject: Continuous Performance Task Message-ID: I would like to implement a Continuous Performance Task (CTP). With this task, single letters are presented and subjects are asked to react whenever they detect an X, appearing after an O appeared. I need about 500 trials for that and lets say 50 target-combinations. The only idea that come to my mind was creating a list including the variables stimulus1 and stimulus2, including a procedure showing two textdisplays in a row (stimulus1 and stimulus2). My problem with that: I would need 250 rows in that list. If I had less rows and random cycles, i might get additional unwanted target-combinations.. Any ideas for different, more ellegant approches? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/f322e89c-369b-42d2-8923-ddaed694572e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Sep 11 16:18:41 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 11 Sep 2014 12:18:41 -0400 Subject: Continuous Performance Task In-Reply-To: Message-ID: Years ago we programmed a Continuous Performance Task - Identical Pairs (CPT-IP), and had a devil of a time getting E-Prime to randomize the trials without generating spurious target trials. We finally resorted to just constructing one good random order outside E-Prime and then running that in a List set to Sequential order (which in fact duplicates just what the original researcher did in the 1980s using a slide projector). So if I were to program this, I might well do just what you already suggested. Using a spreadsheet program (e.g., MS Excel) I could probably easily generate the 250 rows, then copy & paste that over to E-Prime. I guess your problem comes when you inlcude "_ O" and "X _" as stimulus pairs (using "_" to indicate a placeholder). In that case you could randomly get those two pairs one after the other, which would indeed cause a spurious target. But if you just never used one or the other of those two stimulus pairs, I think that you could safely let E-Prime do the randomization without fear of generating spurious targets. Or am I missing something? To be sure, you would want to do several test runs to check for this, perhaps combined with code in E-Prime to at least detect and log any spurious targets (something we did while troubleshooting that CPT-IP several years ago). BTW, I checked -- oddly, we have not discussed CPT much on this Group, and I can find no example programs at STEP, Paul Groot's site, or the PST Samples area. Best, ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 9/11/2014 10:02 AM Thursday, richard at wermes.de wrote: >I would like to implement a Continuous Performance Task (CTP). With >this task, single letters are presented and subjects are asked to >react whenever they detect an X, appearing after an O appeared. I >need about 500 trials for that and lets say 50 target-combinations. > >The only idea that come to my mind was creating a list including the >variables stimulus1 and stimulus2, including a procedure showing two >textdisplays in a row (stimulus1 and stimulus2). My problem with >that: I would need 250 rows in that list. If I had less rows and >random cycles, i might get additional unwanted target-combinations.. > >Any ideas for different, more ellegant approches? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5411cb66.1412320a.643e.3388SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Thu Sep 11 16:43:29 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 11 Sep 2014 12:43:29 -0400 Subject: Array-Voodoo In-Reply-To: Message-ID: Benny, You did not say what version of E-Prime you used, or whether you got this error at compile-time or run-time. But just for fun, I pasted your code into an inline and could not get any error using either EP 1.2 or 2.0.10.353 (although I did have to add a Dim statement for the RandomObject variable in order to avoid a "Variable not defined" error at compile time). That said, I have a couple of bones to pick with you... First and foremost (and Michiel Spape is waiting to see me weigh in on this :) ), please, please, never ever use While...Wend!! Instead, use the much superior Do...Loop. You may see my statement on that at https://groups.google.com/d/topic/e-prime/JXcYIfRPWVE . Next, although your While statement is technically correct, adding extra parentheses to your conditional expression could greatly clarify matters for the reader and remove any ambiguity about how the program should interpret it. Thus (and substituting the superior Do for that awful While, and using the "_" line continuaton character to break the logical line into two physical lines), Do While ( (EndArray(RandomObject,4,1) = "1") And _ (EndArray(RandomObject,4,2) = "1") ) ' both are completed ... Regards, ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/10/2014 04:50 PM Wednesday, Benny Liebold wrote: >Hi, >I've by now reached a point at which I have no clue what's going on. >Basically, I wrote some script for an E-Prime Experiment to select >the stimuli to display. I used arrays to represent the stimuli, >because the have categories from which they have be dran randomly >and then checked, if the violate the mode of stimulus selection. So >first, I declared my array at the beginning of the Experiment: > >Dim EndArray(14,5,2) As String > >The Array contains 14 Items that each have 5 attributes and are >going to be 2 times, so these are the array dimensions. I decided to >just ignore array space "0" not to get lost in the script later on. >Now, in a later script E-Prime is told to randomly select on of 14 >items and repeat this process until > >'determine destination > >RandomObject = random(1,14) > > >'Destination already covered 2 times? > >While EndArray(RandomObject,4,1) = "1" And >EndArray(RandomObject,4,2) = "1" 'both are completed > >RandomObject = random(1,14) 'draw again > >Wend > >This very easy condition check produces the following error - but I >have no clue why. Why is it regarding the array as a function >instead of a variable? I used this type of addressing arrays in >other experiments and it worked ... > >"Unknown function EndArray" > >I am aware that my code ist not beautiful at all, but it works most >of the time ;) > >I would be glad, if you could help! > >Regards >Benny -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5411d136.6594320a.4398.2393SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From eternal19 at gmail.com Thu Sep 11 20:17:25 2014 From: eternal19 at gmail.com (Bradly Marin Picado) Date: Thu, 11 Sep 2014 13:17:25 -0700 Subject: corsi-block tapping script In-Reply-To: <1a267ab5-9215-42a8-bdd6-88218a640939@e23g2000prf.googlegroups.com> Message-ID: Hi, I don't know if you are still working into this... I'm a Master Degree student at the University of Costa Rica... Currently, we are proposing a project involving working memory, cognitive load and motor implicit learning. We are interested about using a Corsi-block task, but we don't know if we have the programming skills to do it from zero... Do you have a script smaple that you can lend us? We will use it only with academic purposes and in our report we will acknowledge your work. Greetings, Bradly Marín On Friday, January 25, 2008 8:30:20 AM UTC-6, Andrews, A.S. wrote: > > Hi > > I have done extensive work on this and written many variations on the > theme. Please email me directly if you would like to discuss it > further. > > Regards, > > Tony Andrews > Principal Computer Officer > School of Psychology > University of Leicester. > > On Jan 25, 1:46 pm, "l.l.emanuel" wrote: > > Hi, I am wondering if anyone has a script sample for the corsi-block > > tapping task? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1e87baad-1e0f-41e8-9ce7-dc71436a1f84%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonkwok at umich.edu Fri Sep 12 04:16:09 2014 From: jonkwok at umich.edu (Jonathan Kwok) Date: Thu, 11 Sep 2014 21:16:09 -0700 Subject: Confidentiality/protection of data Message-ID: Hi, I am a research assistant who wants to use E-Prime to use the attention network test ( https://www.sacklerinstitute.org/cornell/assays_and_tools/ant/jin.fan/) in a study. Does the data have to travel through any servers or is the program is completely localized to the computer it is run from? Thank you, Jonathan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/ecbe43d6-ff2a-4be8-abe2-b2f1c18b138f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From valerio.salvati at uniroma1.it Fri Sep 12 09:01:21 2014 From: valerio.salvati at uniroma1.it (Valerio) Date: Fri, 12 Sep 2014 02:01:21 -0700 Subject: No such attribute Researcher ID Line 2556 Error Number -990 Message-ID: Hi everybody, First I'm really glad to have found this group on internet and I hope to be useful to the community. I had been start using E-prime recently and even I've red all the possible manuals about it, my experience is still limited to the task I'm trying to run. I'm building a passive visual task with 3 different group of stimuli that I'll show to the participant while recording with EEG (Net Station Package, Geodesic EGI 256 channels). Ive settled all the features needed to put the softwares (E-Prime and Net Station) in communication but when I run the experiment this is the out come: No such attribute Researcher ID Line 2556 Error Number -990 - Both the systems are connected by hardwere and turned on - Before adding Net Station Package in E-prime the experiment was running - I added the CellList under unreferenced object with the columns "CellNumber" e "CellLabel" - I suppose can be something related to the values in the TrialList It seems is a small thing because when I run the experiment it starts until it asks "if I want to overwrite on the other session ecc..." Then it crashes down out coming that sentence. I guess there should be a point of the menu in which I can also set other attributes like gender, age, favorite hand or other staff like that. Thank you!! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/bf741e0e-a59b-4680-818b-5c7b0faaa438%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From thesportdr at gmail.com Fri Sep 12 14:11:41 2014 From: thesportdr at gmail.com (Sean Mullen) Date: Fri, 12 Sep 2014 09:11:41 -0500 Subject: Confidentiality/protection of data In-Reply-To: Message-ID: It lives on your local machine if you are running via EPrime. On Thu, Sep 11, 2014 at 11:16 PM, Jonathan Kwok wrote: > Hi, > > I am a research assistant who wants to use E-Prime to use the attention > network test ( > https://www.sacklerinstitute.org/cornell/assays_and_tools/ant/jin.fan/) > in a study. Does the data have to travel through any servers or is the > program is completely localized to the computer it is run from? > > Thank you, > > Jonathan > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/ecbe43d6-ff2a-4be8-abe2-b2f1c18b138f%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- Sean Mullen, PhD Assistant Professor Director of the Exercise, Technology, & Cognition Laboratory Department of Kinesiology & Community Health University of Illinois at Urbana-Champaign Urbana, IL 61822 spmullen at illinois.edu 217-244-4502 http://exercisetechlab.com http://seanmullen.com @drseanmullen.com I have agreed to abide by the email charter. Read here: http://emailcharter.org -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKXPzZRQE3t4FJ-7QPkxd43xj-Z%3DRWiRFUparWfTCBbenCX8Sw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Sep 12 14:28:40 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 12 Sep 2014 10:28:40 -0400 Subject: Confidentiality/protection of data In-Reply-To: Message-ID: Jonathan, Hmm, is this what other people call a Flanker Task? But on to your question... Whether or not your data travel through any servers all depends on you. By default, E-Prime saves data to the same folder as your experiment program (.ebs/.ebs2 file). So if you run the program from a local drive, then by default your data get stored to that local drive, and if you run your program from a networked drive on a server (a bad idea for many reasons), then by default your data get stored to that networked drive. Then E-Prime also has mechanisms that allow you to store data to a location that you specify. Using that, you could run your experiment program from any local or networked drive, and have the data stored to any other local or networked drive. So again, whether or not your data travel through any servers is up to you. But as Sean already said, under any ordinary circumstances everything just stays on your local machine. But don't take our word for that, please ask PST Support yourself, and let us know what they say. Regards, ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/12/2014 10:11 AM Friday, Sean Mullen wrote: >It lives on your local machine if you are running via EPrime. > >On Thu, Sep 11, 2014 at 11:16 PM, Jonathan Kwok ><jonkwok at umich.edu> wrote: >Hi, > >I am a research assistant who wants to use E-Prime to use the >attention network test >(https://www.sacklerinstitute.org/cornell/assays_and_tools/ant/jin.fan/) >in a study. Does the data have to travel through any servers or is >the program is completely localized to the computer it is run from? > >Thank you, > >Jonathan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5413031d.4331320a.7df9.0abfSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Fri Sep 12 14:36:04 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 12 Sep 2014 10:36:04 -0400 Subject: Confidentiality/protection of data In-Reply-To: <5413031d.4331320a.7df9.0abfSMTPIN_ADDED_MISSING@gmr-mx.goo gle.com> Message-ID: Jonathan, Ah, perhaps you did not mean your question generally, but instead specifically about the E-Prime "ANT" downloadable from that site. In that case, it all depends on how they programmed their ANT. I very highly doubt that they programmed that to send data through a server, but to really know you would have to contact them directly, and/or download the program and look at it and test it yourself. Best, -- David McFarlane At 9/12/2014 10:28 AM Friday, David McFarlane wrote: >Jonathan, > >Hmm, is this what other people call a Flanker Task? But on to your >question... > >Whether or not your data travel through any servers all depends on >you. By default, E-Prime saves data to the same folder as your >experiment program (.ebs/.ebs2 file). So if you run the program >from a local drive, then by default your data get stored to that >local drive, and if you run your program from a networked drive on a >server (a bad idea for many reasons), then by default your data get >stored to that networked drive. > >Then E-Prime also has mechanisms that allow you to store data to a >location that you specify. Using that, you could run your >experiment program from any local or networked drive, and have the >data stored to any other local or networked drive. > >So again, whether or not your data travel through any servers is up >to you. But as Sean already said, under any ordinary circumstances >everything just stays on your local machine. But don't take our >word for that, please ask PST Support yourself, and let us know what they say. > >Regards, >----- >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) You may reach PST's >trained staff (and other support facilities) at >https://support.pstnet.com . 3) 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 9/12/2014 10:11 AM Friday, Sean Mullen wrote: >>It lives on your local machine if you are running via EPrime. >> >>On Thu, Sep 11, 2014 at 11:16 PM, Jonathan Kwok >><jonkwok at umich.edu> wrote: >>Hi, >> >>I am a research assistant who wants to use E-Prime to use the >>attention network test >>(https://www.sacklerinstitute.org/cornell/assays_and_tools/ant/jin.fan/) >>in a study. Does the data have to travel through any servers or is >>the program is completely localized to the computer it is run from? >> >>Thank you, >> >>Jonathan > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To unsubscribe from this group and stop receiving emails from it, >send an email to e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/e-prime/5413031d.4331320a.7df9.0abfSMTPIN_ADDED_MISSING%40gmr-mx.google.com. >For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/541304d9.4331320a.7df9.0af7SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From kbrown6 at wellesley.edu Fri Sep 12 19:45:21 2014 From: kbrown6 at wellesley.edu (Kelsey A Brown) Date: Fri, 12 Sep 2014 12:45:21 -0700 Subject: setting two different conditions for the experiment as a part of the initial script In-Reply-To: <80664503-df91-43df-a65c-efa7fc166e8e@googlegroups.com> Message-ID: Hello Everyone, I just have a follow up question to my question above. I was able to create the list for the two groups with pctcorrect as an attribute following all of the steps David V and David McFarlane provided; however, I have a brief question about running the experiment with this setup. Will I be able to determine which trialproc a subject was placed in (highfrustrationproc or lowfrustrationproc) or is this something I would have to designate beforehand? I figure with the counterbalancing I wouldn't have to designate this, but I would need to know which procedure each participant completed. Also, in the experiment object properties startup information, I have group checked where I can input either 1 or 2 to state which condition the participant is assigned.Is this beginning group step necessary if I have E-prime counterbalance subjects into the two conditions using the list I created? I guess the main question I am asking is if I can simple uncheck group in the experiment object properties start-up information given that I have counterbalanced the list of procedures? Thanks, Kelsey On Monday, September 8, 2014 5:27:08 PM UTC-4, Kelsey A Brown wrote: > > Hello Everyone, > > I am trying to use E-prime to build a stop signal frustration task, but I > have encountered a few complications in building the task. > At the moment, I am trying to create an initial script that would allow > E-prime to automatically run a participant in a condition (high frustration > or low frustration) depending on the participant number that I input before > running the experiment. > So for example, if I wanted to run 80 participants, half would be placed > in the high frustration condition and the other half would be placed in the > low frustration condition. > > I have some ideas about how this could theoretically be carried out, but > I'm not sure if/how this can actually be implemented in the script. For > example, I would want the initial script to begin by telling the program to > pull 40 random numbers 1-80 (I would need to somehow make the same 40 > numbers be pulled each time). The 40 numbers pulled would be placed in the > low frustration condition where pctcorrect (percent correct)=.80. > If else, (so if one of the other 40 numbers were pulled), place the > participant in a high frustration condition where pctcorrect (percent > correct)=.30. > > e.g. If I were running the program and I typed in my participant number as > 3 and 3 was one of the random numbers pulled between 1 and 80 then the > program would automatically run the stop signal task placing the > participant in the low frustration condition where pctcorrect=.80 (where > participants could accurately inhibit on 80% of stop signal trials). > > However, if the participant ID number was 8 and 8 was not one of the 40 > random numbers initially pulled between 1 and 80 then the program would > place the participant in the high frustration condition where > pctcorrect=.30. > > > Is this something that is possible in E-prime? > > I hope this makes sense. Thanks in advance for your input! > -Kelsey > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7819ea58-0208-464e-87b5-7d41d900cc8c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at wermes.de Mon Sep 15 07:27:14 2014 From: richard at wermes.de (richard at wermes.de) Date: Mon, 15 Sep 2014 00:27:14 -0700 Subject: Continuous Performance Task In-Reply-To: Message-ID: Thanks for the advice. I'll stay with generating a list outside E-Prime then, seems to be the easiest way. Am Donnerstag, 11. September 2014 16:02:25 UTC+2 schrieb ric... at wermes.de: > > I would like to implement a Continuous Performance Task (CTP). With this > task, single letters are presented and subjects are asked to react whenever > they detect an X, appearing after an O appeared. I need about 500 trials > for that and lets say 50 target-combinations. > > The only idea that come to my mind was creating a list including the > variables stimulus1 and stimulus2, including a procedure showing two > textdisplays in a row (stimulus1 and stimulus2). My problem with that: I > would need 250 rows in that list. If I had less rows and random cycles, i > might get additional unwanted target-combinations.. > > Any ideas for different, more ellegant approches? > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/54b3fa1f-0deb-4dd6-87a4-c61b4a68dc54%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.vinson at ucl.ac.uk Mon Sep 15 09:37:09 2014 From: d.vinson at ucl.ac.uk (David Vinson) Date: Mon, 15 Sep 2014 10:37:09 +0100 Subject: setting two different conditions for the experiment as a part of the initial script In-Reply-To: <7819ea58-0208-464e-87b5-7d41d900cc8c@googlegroups.com> Message-ID: Hi Kelsey, You should be able to tell which trialproc a subject was in: if you designate this in a top-level List it will appear as Procedure[Block] in the .edat2 file. As you describe it, Group is redundant, possibly subject to user error (if you mis-key Group it has no effect on the condition run) and less informative than Procedure[Block] which has a descriptive name rather than just values of 1/2. An alternative is to keep Group in your startup and use it rather than Subject for counterbalancing. best, DavidV On 12/09/2014 20:45, Kelsey A Brown wrote: > Hello Everyone, > > I just have a follow up question to my question above. I was able to > create the list for the two groups with pctcorrect as an attribute > following all of the steps David V and David McFarlane provided; > however, I have a brief question about running the experiment with > this setup. Will I be able to determine which trialproc a subject was > placed in (highfrustrationproc or lowfrustrationproc) or is this > something I would have to designate beforehand? I figure with the > counterbalancing I wouldn't have to designate this, but I would need > to know which procedure each participant completed. Also, in the > experiment object properties startup information, I have group checked > where I can input either 1 or 2 to state which condition the > participant is assigned.Is this beginning group step necessary if I > have E-prime counterbalance subjects into the two conditions using the > list I created? I guess the main question I am asking is if I can > simple uncheck group in the experiment object properties start-up > information given that I have counterbalanced the list of procedures? > Thanks, > Kelsey > > On Monday, September 8, 2014 5:27:08 PM UTC-4, Kelsey A Brown wrote: > > Hello Everyone, > > I am trying to use E-prime to build a stop signal frustration > task, but I have encountered a few complications in building the > task. > At the moment, I am trying to create an initial script that would > allow E-prime to automatically run a participant in a condition > (high frustration or low frustration) depending on the participant > number that I input before running the experiment. > So for example, if I wanted to run 80 participants, half would be > placed in the high frustration condition and the other half would > be placed in the low frustration condition. > > I have some ideas about how this could theoretically be carried > out, but I'm not sure if/how this can actually be implemented in > the script. For example, I would want the initial script to begin > by telling the program to pull 40 random numbers 1-80 (I would > need to somehow make the same 40 numbers be pulled each time). The > 40 numbers pulled would be placed in the low frustration condition > where pctcorrect (percent correct)=.80. > If else, (so if one of the other 40 numbers were pulled), place > the participant in a high frustration condition where pctcorrect > (percent correct)=.30. > > e.g. If I were running the program and I typed in my participant > number as 3 and 3 was one of the random numbers pulled between 1 > and 80 then the program would automatically run the stop signal > task placing the participant in the low frustration condition > where pctcorrect=.80 (where participants could accurately inhibit > on 80% of stop signal trials). > > However, if the participant ID number was 8 and 8 was not one of > the 40 random numbers initially pulled between 1 and 80 then the > program would place the participant in the high frustration > condition where pctcorrect=.30. > > > Is this something that is possible in E-prime? > > I hope this makes sense. Thanks in advance for your input! > -Kelsey > > -- > You received this message because you are subscribed to the Google > Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to e-prime+unsubscribe at googlegroups.com > . > To post to this group, send email to e-prime at googlegroups.com > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/7819ea58-0208-464e-87b5-7d41d900cc8c%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. -- David Vinson, Ph.D. ESRC Research Fellow Experimental Psychology University College London 26 Bedford Way, London WC1H 0AP Tel +44 (0)20 7679 5311 (UCL internal ext. 25311) -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5416B345.6070009%40ucl.ac.uk. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmaxwel8 at asu.edu Tue Sep 16 19:01:14 2014 From: jmaxwel8 at asu.edu (jmaxwel8 at asu.edu) Date: Tue, 16 Sep 2014 12:01:14 -0700 Subject: Object Buffer Time, can you record audio files longer than 1 Min.? Message-ID: I'm attempting to record audio for a trial that lasts 8 Minuets. The limit to audio recording time, due to the buffer, is 1 Min (60000 ms). Is there a way to extend this past 1 min? Thanks everyone! Josh Maxwell -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/d8f89a1d-a1a8-4004-a986-ec6b612cdc59%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kllewis89 at gmail.com Wed Sep 17 20:19:28 2014 From: kllewis89 at gmail.com (Kim Lewis) Date: Wed, 17 Sep 2014 15:19:28 -0500 Subject: Using Tobii extension for eprime with a mouse device Message-ID: Hi everyone, I'm attempting to incorporate the Tobii eyetracker extension into an eprime experiment and we want to allow participants to click with the mouse rather than use a keyboard for a response. The issue we're running into is that it appears the way the Tobii extension works is it treats the eye gaze fixation point as a cursor, so if we attempt to show the actual mouse cursor on the screen the cursor moves with the eye gaze as well. Before I go in depth into my design setup and inline I just want to know if anyone else has tried to do something similar, or if this is even possible? Any help would be very much appreciated. Thank you! -Kim -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAM%2B3Mrx7OphhLf2CCanZd3xMnatsSPrEh3r2ZSjWY8FnjGFK-g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gott623 at hotmail.com Thu Sep 18 13:39:49 2014 From: gott623 at hotmail.com (Nobuyuki Jincho) Date: Thu, 18 Sep 2014 06:39:49 -0700 Subject: Using Tobii extension for eprime with a mouse device In-Reply-To: Message-ID: Hi Kim,. As to your question, I think it's possible to use the eye gaze point (each sample point, not fixation) as the point (i.e., x-y coordinates). We have made the moving window paradigm (reading) experiment demo (not for a real experiment) with EET. Best wishes, Nobuyuki 2014年9月18日木曜日 5時19分57秒 UTC+9 Kim Lewis: > > Hi everyone, > I'm attempting to incorporate the Tobii eyetracker extension into an > eprime experiment and we want to allow participants to click with the mouse > rather than use a keyboard for a response. The issue we're running into is > that it appears the way the Tobii extension works is it treats the eye gaze > fixation point as a cursor, so if we attempt to show the actual mouse > cursor on the screen the cursor moves with the eye gaze as well. > > Before I go in depth into my design setup and inline I just want to know > if anyone else has tried to do something similar, or if this is even > possible? > > Any help would be very much appreciated. Thank you! > -Kim > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/cbe78eca-f822-4a52-8eee-22c688e6bd99%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Sep 22 18:38:54 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 22 Sep 2014 14:38:54 -0400 Subject: Object Buffer Time, can you record audio files longer than 1 Min.? In-Reply-To: Message-ID: Josh, You might do better by asking PST Support directly at https://support.pstnet.com . Then please post their response back here for the rest of us. Thanks, -- David McFarlane At 9/16/2014 03:01 PM Tuesday, jmaxwel8 at asu.edu wrote: >I'm attempting to record audio for a trial that lasts 8 >Minuets. The limit to audio recording time, due to the buffer, is 1 >Min (60000 ms). Is there a way to extend this past 1 min? >Thanks everyone! >Josh Maxwell -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/54206cc5.252e320a.01fd.41dcSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From elmoro5185 at gmail.com Tue Sep 23 14:34:36 2014 From: elmoro5185 at gmail.com (juan concepcion) Date: Tue, 23 Sep 2014 10:34:36 -0400 Subject: Stimulus marker Message-ID: Hello I need help with sending an alphanumeric marker when presenting a stimulus. I have set the port for communication and already have successfully sent markers to another program. My wish now is to send markers if stimuli are correct or incorrect. So for example if stimulus is correct send marker "1" and if stimulus is incorrect send marker "0". I need to understand how in-line script does this and what to write in the in-line script for it to perform the function specified. Thank you in advance!!! Juan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CALsz0u5CNuStP8SM-0QBSyWsRhgGMvQzYuf2V-3%3Df_W8ASD7Mw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From elmoro5185 at gmail.com Tue Sep 23 15:11:41 2014 From: elmoro5185 at gmail.com (juan concepcion) Date: Tue, 23 Sep 2014 11:11:41 -0400 Subject: How to send triggers timing to EEG through parallel port? In-Reply-To: <0ece8e39-f8ce-4859-b445-4a460ce6ffe1@googlegroups.com> Message-ID: Parallel.WriteString "1" ' for marker 1?? This worked for me connecting two programs. But I did not use a parallel. I used a serial, so for my experiment I wrote Serial.WriteString "1" for marker 1. Info can be accesed through this example: http://truebra.in/?p=244 Good luck!!! Juan On Tue, Sep 9, 2014 at 4:11 PM, Hong91101 wrote: > Hi, David: > > Yes, I got the tech support from Eprime, and updated the windows, seems > that helps with the setup. > Thank you for telling me about the task event, it is very helpful. > Best regards, > > Xianghong > > > > On Saturday, September 6, 2014 6:31:44 AM UTC-7, McFarlane, David wrote: > >> Well, first of all make sure that you installed the Port I/O device >> driver when you installed E-Prime. Beyond that, please contact PST >> Support. >> >> -- David McFarlane >> >> >> Hong91101 wrote: >> > Here is the error in script, attached >> > Thanks for helping... >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "E-Prime" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an email to e-prime+u... at googlegroups.com >> > . >> > To post to this group, send email to e-p... at googlegroups.com >> > . >> > To view this discussion on the web visit >> > https://groups.google.com/d/msgid/e-prime/ba865015-6ea0- >> 42b9-8227-f25199aadff2%40googlegroups.com >> > > 42b9-8227-f25199aadff2%40googlegroups.com?utm_medium= >> email&utm_source=footer>. >> > For more options, visit https://groups.google.com/d/optout. >> >> -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/0ece8e39-f8ce-4859-b445-4a460ce6ffe1%40googlegroups.com > > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CALsz0u4nEp_WzctV2m9PSgCoZVqE49vTkahc929GvD4gE3MJpw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Sep 23 15:53:43 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 23 Sep 2014 11:53:43 -0400 Subject: Stimulus marker In-Reply-To: Message-ID: Juan, Once again, if you use EP2.0.10 or later, I think you can do this better with Task Events than with inline code. How about the following: Suppose you use the object StimSlide to get your subject response. Make sure that it logs StimSlide.ACC; you might also have to set its PreRelease to 0 to make sure that E-Prime sets the StimSlide.ACC attribute before executing the next object. Set up your trial Procedure something like ... StimSlide MarkerWait ... MarkerWait is a Wait object with a Duration of 0. Add a Task Event at StartTime, ActionTime, or OnsetTime (in this case it hardly matters which, if you want to know the difference please see https://groups.google.com/d/topic/e-prime/OeiZ00V9SRc ). Set it to use your communications device (ParallelPort, Serial, etc.). Use WriteString as the Action, "(custom)" as the Source, "[StimSlide.ACC]" for Custom, String for Data Type; leave Delay at 0, and Enabled at Yes. The key is the Custom value for the Task Event. If StimSlide is set to log .ACC, then E-Prime will automatically create the StimSlide.ACC attribute (though you might have to set PreRelease to 0 to make sure that MarkerWait does not try to use that attribute before its value is set!). Then MarkerWait can use that as an attribute reference in the Custom value. I have not tested this out myself, so I will be very interested to learn what you get to work. Please write back. ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/23/2014 10:34 AM Tuesday, juan concepcion wrote: >Hello I need help with sending an alphanumeric >marker when presenting a stimulus. I have set >the port for communication and already have >successfully sent markers to another program. > >My wish now is to send markers if stimuli are >correct or incorrect. So for example if stimulus >is correct send marker "1" and if stimulus is >incorrect send marker "0". I need to understand >how  in-line script does this and what to write >in the in-line script for it to perform the function specified. > >Thank you in advance!!! > >Juan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/54219788.066b320a.21ca.0f18SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From elmoro5185 at gmail.com Tue Sep 23 16:15:20 2014 From: elmoro5185 at gmail.com (juan concepcion) Date: Tue, 23 Sep 2014 12:15:20 -0400 Subject: Stimulus marker In-Reply-To: <54219788.066b320a.21ca.0f18SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thank you for the fast response. I will carefully look at the advice. Thanks alot!! Juan On Tue, Sep 23, 2014 at 11:53 AM, David McFarlane wrote: > Juan, > > Once again, if you use EP2.0.10 or later, I think you can do this better > with Task Events than with inline code. How about the following: > > Suppose you use the object StimSlide to get your subject response. Make > sure that it logs StimSlide.ACC; you might also have to set its PreRelease > to 0 to make sure that E-Prime sets the StimSlide.ACC attribute before > executing the next object. Set up your trial Procedure something like > > ... > StimSlide > MarkerWait > ... > > MarkerWait is a Wait object with a Duration of 0. Add a Task Event at > StartTime, ActionTime, or OnsetTime (in this case it hardly matters which, > if you want to know the difference please see https://groups.google.com/d/ > topic/e-prime/OeiZ00V9SRc ). Set it to use your communications device > (ParallelPort, Serial, etc.). Use WriteString as the Action, "(custom)" as > the Source, "[StimSlide.ACC]" for Custom, String for Data Type; leave Delay > at 0, and Enabled at Yes. > > The key is the Custom value for the Task Event. If StimSlide is set to > log .ACC, then E-Prime will automatically create the StimSlide.ACC > attribute (though you might have to set PreRelease to 0 to make sure that > MarkerWait does not try to use that attribute before its value is set!). > Then MarkerWait can use that as an attribute reference in the Custom value. > > I have not tested this out myself, so I will be very interested to learn > what you get to work. Please write back. > > ----- > 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) You may reach PST's trained > staff (and other support facilities) at https://support.pstnet.com . 3) > 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 9/23/2014 10:34 AM Tuesday, juan concepcion wrote: > >> Hello I need help with sending an alphanumeric marker when presenting a >> stimulus. I have set the port for communication and already have >> successfully sent markers to another program. >> >> My wish now is to send markers if stimuli are correct or incorrect. So >> for example if stimulus is correct send marker "1" and if stimulus is >> incorrect send marker "0". I need to understand how  in-line script does >> this and what to write in the in-line script for it to perform the function >> specified. >> >> Thank you in advance!!! >> >> Juan >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/e-prime/54219788.066b320a.21ca.0f18SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CALsz0u5A41hGjb10oRwh65busBr54J_1f7Z7Wf68-uVtUMEBFw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From elmoro5185 at gmail.com Tue Sep 23 20:58:30 2014 From: elmoro5185 at gmail.com (juan concepcion) Date: Tue, 23 Sep 2014 16:58:30 -0400 Subject: Stimulus marker In-Reply-To: Message-ID: Well I've tried it but no success. I get this report (adjunct to this e-mail). It says that it could not find the attribute StimSlide.ACC. I've tried changing the name of instead of StimSlide.ACC to Target.ACC because the slide in my experiment is called Target. Also, I've checked the ACC dependent measure logging. One question: (is this for the purpose to create an attribute so that when the task event calls for that attribute, it exists?). Also I've tried it for a Cue slide. To the cue slide I've added: Onset and Offset. It did not yielded results since I can not get pass the aboved mentioned error. Best reguards, Juan On Tue, Sep 23, 2014 at 12:15 PM, juan concepcion wrote: > Thank you for the fast response. I will carefully look at the advice. > > Thanks alot!! > > Juan > > On Tue, Sep 23, 2014 at 11:53 AM, David McFarlane > wrote: > >> Juan, >> >> Once again, if you use EP2.0.10 or later, I think you can do this better >> with Task Events than with inline code. How about the following: >> >> Suppose you use the object StimSlide to get your subject response. Make >> sure that it logs StimSlide.ACC; you might also have to set its PreRelease >> to 0 to make sure that E-Prime sets the StimSlide.ACC attribute before >> executing the next object. Set up your trial Procedure something like >> >> ... >> StimSlide >> MarkerWait >> ... >> >> MarkerWait is a Wait object with a Duration of 0. Add a Task Event at >> StartTime, ActionTime, or OnsetTime (in this case it hardly matters which, >> if you want to know the difference please see >> https://groups.google.com/d/topic/e-prime/OeiZ00V9SRc ). Set it to use >> your communications device (ParallelPort, Serial, etc.). Use WriteString >> as the Action, "(custom)" as the Source, "[StimSlide.ACC]" for Custom, >> String for Data Type; leave Delay at 0, and Enabled at Yes. >> >> The key is the Custom value for the Task Event. If StimSlide is set to >> log .ACC, then E-Prime will automatically create the StimSlide.ACC >> attribute (though you might have to set PreRelease to 0 to make sure that >> MarkerWait does not try to use that attribute before its value is set!). >> Then MarkerWait can use that as an attribute reference in the Custom value. >> >> I have not tested this out myself, so I will be very interested to learn >> what you get to work. Please write back. >> >> ----- >> 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) You may reach PST's >> trained staff (and other support facilities) at >> https://support.pstnet.com . 3) 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 9/23/2014 10:34 AM Tuesday, juan concepcion wrote: >> >>> Hello I need help with sending an alphanumeric marker when presenting a >>> stimulus. I have set the port for communication and already have >>> successfully sent markers to another program. >>> >>> My wish now is to send markers if stimuli are correct or incorrect. So >>> for example if stimulus is correct send marker "1" and if stimulus is >>> incorrect send marker "0". I need to understand how  in-line script does >>> this and what to write in the in-line script for it to perform the function >>> specified. >>> >>> Thank you in advance!!! >>> >>> Juan >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/ >> msgid/e-prime/54219788.066b320a.21ca.0f18SMTPIN_ >> ADDED_MISSING%40gmr-mx.google.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CALsz0u4H-6wBtuUgeRnL5W93YfYTqicy0Kq0BnxJ4KH6PcUfEQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Target.Tasks.Reset If Serial.GetState() = ebStateOpen Then Target.Tasks.Add Serial.CreateTask(ebUCase_T & ebLCase_a & ebLCase_r & ebLCase_g & ebLCase_e & ebLCase_t & ebDot & ebUCase_A & ebLCase_c & ebLCase_t & ebLCase_i & ebLCase_o & ebLCase_n & ebUCase_T & ebLCase_i & ebLCase_m & ebLCase_e, CLng(ebDigit_0), ebUCase_W & ebLCase_r & ebLCase_i & ebLCase_t & ebLCase_e & ebUCase_S & ebLCase_t & ebLCase_r & ebLCase_i & ebLCase_n & ebLCase_g, ebParenOpen & ebLCase_c & ebLCase_u & ebLCase_s & ebLCase_t & ebLCase_o & ebLCase_m & ebParenClose, c.GetAttrib(ebUCase_T & ebLCase_a & ebLCase_r & ebLCase_g & ebLCase_e & ebLCase_t & ebDot & ebUCase_A & ebUCase_C & ebUCase_C), ebUCase_S & ebLCase_t & ebLCase_r & ebLCase_i & ebLCase_n & ebLCase_g, CLogical(ebUCase_Y & ebLCase_e & ebLCase_s)) End If If Serial.GetState() = ebStateOpen Then Target.Tasks.Add Serial.CreateTask(ebUCase_T & ebLCase_a & ebLCase_r & ebLCase_g & ebLCase_e & ebLCase_t & ebDot & ebUCase_O & ebLCase_f & ebLCase_f & ebLCase_s & ebLCase_e & ebLCase_t & ebUCase_T & ebLCase_i & ebLCase_m & ebLCase_e, CLng(ebDigit_0), ebUCase_W & ebLCase_r & ebLCase_i & ebLCase_t & ebLCase_e & ebUCase_S & ebLCase_t & ebLCase_r & ebLCase_i & ebLCase_n & ebLCase_g, ebParenOpen & ebLCase_c & ebLCase_u & ebLCase_s & ebLCase_t & ebLCase_o & ebLCase_m & ebParenClose, c.GetAttrib(ebUCase_T & ebLCase_a & ebLCase_r & ebLCase_g & ebLCase_e & ebLCase_t & ebDot & ebUCase_O & ebLCase_f & ebLCase_f & ebLCase_s & ebLCase_e & ebLCase_t & ebUCase_T & ebLCase_i & ebLCase_m & ebLCase_e), ebUCase_S & ebLCase_t & ebLCase_r & ebLCase_i & ebLCase_n & ebLCase_g, CLogical(ebUCase_Y & ebLCase_e & ebLCase_s)) End If If Serial.GetState() = ebStateOpen Then Target.Tasks.Add Serial.CreateTask(ebUCase_T & ebLCase_a & ebLCase_r & ebLCase_g & ebLCase_e & ebLCase_t & ebDot & ebUCase_O & ebLCase_n & ebLCase_s & ebLCase_e & ebLCase_t & ebUCase_T & ebLCase_i & ebLCase_m & ebLCase_e, CLng(ebDigit_0), ebUCase_W & ebLCase_r & ebLCase_i & ebLCase_t & ebLCase_e & ebUCase_S & ebLCase_t & ebLCase_r & ebLCase_i & ebLCase_n & ebLCase_g, ebParenOpen & ebLCase_c & ebLCase_u & ebLCase_s & ebLCase_t & ebLCase_o & ebLCase_m & ebParenClose, c.GetAttrib(ebUCase_T & ebLCase_a & ebLCase_r & ebLCase_g & ebLCase_e & ebLCase_t & ebDot & ebUCase_O & ebLCase_n & ebLCase_s & ebLCase_e & ebLCase_t & ebUCase_T & ebLCase_i & ebLCase_m & ebLCase_e), ebUCase_S & ebLCase_t & ebLCase_r & ebLCase_i & ebLCase_n & ebLCase_g, CLogical(ebUCase_Y & ebLCase_e & ebLCase_s)) End If Target.Run c.SetAttrib Target.Name & ebDot & ebLogNameOnsetDelay, Target.OnsetDelay c.SetAttrib Target.Name & ebDot & ebLogNameOnsetTime, Target.OnsetTime c.SetAttrib Target.Name & ebDot & ebLogNameDurationError, Target.DurationError c.SetAttrib Target.Name & ebDot & ebLogNameOffsetTime, Target.OffsetTime c.SetAttrib Target.Name & ebDot & ebLogNameRTTime, Target.RTTime c.SetAttrib Target.Name & ebDot & ebLogNameACC, Target.ACC c.SetAttrib Target.Name & ebDot & ebLogNameRT, Target.RT c.SetAttrib Target.Name & ebDot & ebLogNameRESP, Target.RESP c.SetAttrib Target.Name & ebDot & ebLogNameCRESP, Target.CRESP c.SetAttrib Target.Name & ebDot & ebLogNameTag, Target.Tag c.SetAttrib Target.Name & ebDot & ebLogNameOnsetToOnsetTime, Target.OnsetToOnsetTime From mcfarla9 at msu.edu Tue Sep 23 21:19:37 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 23 Sep 2014 17:19:37 -0400 Subject: Stimulus marker In-Reply-To: Message-ID: Juan, 1) The name of the object referenced in the Custom field of the Task Event must match the name of the stimulus object that gets the response. "StimSlide" was just an example. If your stimulus object is named "Target", then you must use "[Target.ACC]" (and BTW, capitalization does not matter). 2) Yes, the dependent measure logging is just for the purpose of creating an attribute so that when the Task Event calls for that attribute, it exists (although you probably want to log it anyway). 3) Did you set PreRelease of Target to 0? That alone might cause your error. 4) In a pinch, you might add an inline object between Target and MarkerWait just to explicitly set the attribute: c.SetAttrib "Target.ACC", Target.ACC but this may also fail if you do not set the PreRelease of Target to 0 (think about it). To be sure, I threw together a little demo of my own, and it ran without any problem as long as I enabled the proper logging. If I turned off logging, then I got the "attribute does not exist" runtime error. Just set Data Logging of Target to "Standard" to be sure. For the record, my test program still ran even with PreRelease set to "(same as duration)", but I expect that it did not produce the correct output. I did not hook up anything to look at the output signals, so this was not a complete test, but as I said at least the program did not crash. Regards, -- David McFarlane At 9/23/2014 04:58 PM Tuesday, juan concepcion wrote: >Well I've tried it but no success. > >I get this report (adjunct to this e-mail). > >It says that it could not find the attribute >StimSlide.ACC. I've tried changing the name of >instead of StimSlide.ACC to Target.ACC because >the slide in my experiment is called Target. >Also, I've checked the ACC dependent measure logging. > >One question: (is this for the purpose to create >an attribute so that when the task event calls for that attribute, it exists?). > >Also I've tried it for a Cue slide. To the cue >slide I've added: Onset and Offset. It did not >yielded results since I can not get pass the aboved mentioned error. > >Best reguards, > >Juan > > > >On Tue, Sep 23, 2014 at 12:15 PM, juan >concepcion <elmoro5185 at gmail.com> wrote: >Thank you for the fast response. I will carefully look at the advice. > >Thanks alot!! > >Juan > >On Tue, Sep 23, 2014 at 11:53 AM, David >McFarlane <mcfarla9 at msu.edu> wrote: >Juan, > >Once again, if you use EP2.0.10 or later, I >think you can do this better with Task Events >than with inline code. How about the following: > >Suppose you use the object StimSlide to get your >subject response. Make sure that it logs >StimSlide.ACC; you might also have to set its >PreRelease to 0 to make sure that E-Prime sets >the StimSlide.ACC attribute before executing the >next object. Set up your trial Procedure something like > >  ... >  StimSlide >  MarkerWait >  ... > >MarkerWait is a Wait object with a Duration of >0. Add a Task Event at StartTime, ActionTime, >or OnsetTime (in this case it hardly matters >which, if you want to know the difference please >see >https://groups.google.com/d/topic/e-prime/OeiZ00V9SRc >).  Set it to use your communications device >(ParallelPort, Serial, etc.). Use WriteString >as the Action, "(custom)" as the Source, >"[StimSlide.ACC]" for Custom, String for Data >Type; leave Delay at 0, and Enabled at Yes. > >The key is the Custom value for the Task >Event. If StimSlide is set to log .ACC, then >E-Prime will automatically create the >StimSlide.ACC attribute (though you might have >to set PreRelease to 0 to make sure that >MarkerWait does not try to use that attribute >before its value is set!). Then MarkerWait can >use that as an attribute reference in the Custom value. > >I have not tested this out myself, so I will be >very interested to learn what you get to work. Please write back. > >----- >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) >You may reach PST's trained staff (and other >support facilities) at >https://support.pstnet.com >. 3) 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 9/23/2014 10:34 AM Tuesday, juan concepcion wrote: >Hello I need help with sending an alphanumeric >marker when presenting a stimulus. I have set >the port for communication and already have >successfully sent markers to another program.Ã' > >My wish now is to send markers if stimuli are >correct or incorrect. So for example if stimulus >is correct send marker "1" and if stimulus is >incorrect send marker "0". I need to understand >how Ã' in-line script does this and what to >write in the in-line script for it to perform the function specified. > >Thank you in advance!!! > >Juan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5421e3ec.4331320a.416a.13d3SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From lrjkeeta at gmail.com Wed Sep 24 00:22:22 2014 From: lrjkeeta at gmail.com (Keeta Jones) Date: Tue, 23 Sep 2014 17:22:22 -0700 Subject: VAS and mouse state Message-ID: I'm working with Groot's VAS script and need to modify it such that the slider won't move until the left mouse button is pressed and the task ends when the button is released. As is, the simply moving the mouse moves the slider and a single click ends the task. I've already set mouse collection mode to presses and releases, but I don't know what (or where) to change in the code. All help is GREATLY appreciated, Keeta -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/d435c999-03c2-45bd-be74-c07248f310ca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From valerio.salvati at uniroma1.it Wed Sep 24 10:35:06 2014 From: valerio.salvati at uniroma1.it (Valerio) Date: Wed, 24 Sep 2014 03:35:06 -0700 Subject: How to set the initialization prompts Message-ID: Hello Everybody, I'm finding difficulties to understand where in E-Prime setting is possible to set the INITIALIZATION PROMPTS. Specifically I would like to set the Researcher ID, number,gender, handleness of the participant. I have been looking in many tutorials but I can't find nothing about it. Someone can suggest me a source or anythng useful? Thank you very much and good research to everybody! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a513aaa6-6608-4c51-8b71-e38202897397%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From zhenguangcai at gmail.com Wed Sep 24 16:48:38 2014 From: zhenguangcai at gmail.com (Zhenguang Cai) Date: Wed, 24 Sep 2014 09:48:38 -0700 Subject: Cannot play sounds! Message-ID: Hi, I have previously play sound files a lot, but today I tried to used SoundOut but cannot load my sound files. EPrime gave me the following error message: Run-time Error (Line 505) 1234: Unable to load sound 205 In the "Advisor", it also said: The "WordS" object uses an [attribute] reference for its Filename property and the resolved value cannot be found on disk. This is puzzling because I used [WordS].wav as the filename in SoundOut and all the sound files are at the same directory as the script and are wav 16 bit 44.1 kz stereo (see attached). More interestingly, I tried my previous EPrime scripts (which worked before) and they did not work with the current version of EPrime (2.0.10 ...). I read the following post but could not figure out what it means! http://www.pstnet.com/support/kb.asp?TopicID=3299 Thanks for any advice. Zhenguang Cai -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5c980b2c-0160-4ba7-b99c-93e10239f967%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: A_bangs.wav Type: audio/x-wav Size: 63974 bytes Desc: not available URL: From zhenguangcai at gmail.com Thu Sep 25 10:57:57 2014 From: zhenguangcai at gmail.com (Zhenguang Cai) Date: Thu, 25 Sep 2014 03:57:57 -0700 Subject: Cannot play sounds! In-Reply-To: <5c980b2c-0160-4ba7-b99c-93e10239f967@googlegroups.com> Message-ID: I tried the script with a different computer and it worked. So the problem seems to be due to my laptop (Win 7). -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8d7ecbd3-530d-48af-8334-02bacd7d6d48%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.vinson at ucl.ac.uk Thu Sep 25 11:09:43 2014 From: d.vinson at ucl.ac.uk (David Vinson) Date: Thu, 25 Sep 2014 12:09:43 +0100 Subject: Cannot play sounds! In-Reply-To: <8d7ecbd3-530d-48af-8334-02bacd7d6d48@googlegroups.com> Message-ID: Weird - do you have some atypical sound devices installed, or any custom audio/video software (any additional codecs can be "absorbed" by E-Prime and influence behaviour). Sometimes I found these problems solved themselves if I uninstalled E-Prime completely, set up a different user account and then reinstalled E-Prime, running it only in that stripped down account. You could get our departmental IT support to check it out, they do have some experience helping with E-Prime installs.. -d On 25/09/2014 11:57, Zhenguang Cai wrote: > I tried the script with a different computer and it worked. So the > problem seems to be due to my laptop (Win 7). > -- > You received this message because you are subscribed to the Google > Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to e-prime+unsubscribe at googlegroups.com > . > To post to this group, send email to e-prime at googlegroups.com > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/8d7ecbd3-530d-48af-8334-02bacd7d6d48%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. -- David Vinson, Ph.D. Institute for Multimodal Communication http://institute-for-multimodal-communication.org Department of Experimental Psychology University College London 26 Bedford Way, London WC1H 0AP Tel +44 (0)20 7679 5311 (UCL internal ext. 25311) Out now: Royal Society Theme issue "Language as a multimodal phenomenon" http://rstb.royalsocietypublishing.org/site/2014/multimodal.xhtml -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5423F7F7.5050005%40ucl.ac.uk. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at wermes.de Thu Sep 25 14:25:35 2014 From: richard at wermes.de (Richard Wermes) Date: Thu, 25 Sep 2014 07:25:35 -0700 Subject: Block randomized task order Message-ID: I created two tasks in one file that shall be executed in my experiment one after another. The order of tasks shall be set at random, so that there are two different orders. However, I need the number of participants doing the whole task in one order to be equal to the number of participants doing it the other way around. Any ideas how i can do that without creating two seperate files and randomize outside E-prime? Richard -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/580d0a1a-0289-468d-9f37-df2b2c8b32ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Sep 25 20:47:28 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 25 Sep 2014 16:47:28 -0400 Subject: How to set the initialization prompts In-Reply-To: Message-ID: You will find documentation for this in section 1.3.2.3 of the Reference Guide that came with E-Prime. (We also go over this in a lesson in my online E-Prime course.) I will take this opportunity to tell everyone that it is well worth your trouble to first go through all the manuals that come with E-Prime. The supplied documentation falls far short of what we need, but it is pretty good on the parts that it covers, so we might as well make full use of what we do get. ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/24/2014 06:35 AM Wednesday, Valerio wrote: >I'm finding difficulties to understand where in E-Prime setting is >possible to set the INITIALIZATION PROMPTS. Specifically I would >like to set the Researcher ID, number,gender, handleness of the participant. >I have been looking in many tutorials but I can't find nothing about it. > >Someone can suggest me a source or anythng useful? > >Thank you very much and good research to everybody! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/54247f65.6a02320a.3971.1dedSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From semeon.risom at gmail.com Fri Sep 26 02:51:15 2014 From: semeon.risom at gmail.com (semeon.risom at gmail.com) Date: Thu, 25 Sep 2014 19:51:15 -0700 Subject: Sending Keyboard responses to OnsetSignalPort Message-ID: Hello, I'm attempting to have participant keyboard responses sent as an OffsetSignalPort per trial, but I need some help developing the inline statement to run to generate this. This is an example of the inline I'm working with so far. Stimulus.OnsetSignalEnabled = True Stimulus.OnsetSignalPort = SPort Stimulus.OnsetSignalData = c.GetAttrib("Trigger") Stimulus.OffsetSignalEnabled = True Stimulus.OffsetSignalPort = SPort Stimulus.OffsetSignalData = 0 - Semeon -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/f882753f-ec01-484c-adb5-b7b53068e40c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kllewis89 at gmail.com Fri Sep 26 13:45:10 2014 From: kllewis89 at gmail.com (Kim Lewis) Date: Fri, 26 Sep 2014 06:45:10 -0700 Subject: Using Tobii extension for eprime with a mouse device In-Reply-To: Message-ID: Hi Nobuyuki, Thank you for your response! Would you be willing to share the portion of your inline where you call the eye gaze sample point? I'm not sure what syntax you would use. Thank you so very much again. -Kim On Thursday, September 18, 2014 8:39:49 AM UTC-5, Nobuyuki Jincho wrote: > > Hi Kim,. > > As to your question, I think it's possible to use the eye gaze point (each > sample point, not fixation) as the point (i.e., x-y coordinates). > We have made the moving window paradigm (reading) experiment demo (not for > a real experiment) with EET. > > Best wishes, > > Nobuyuki > > > 2014年9月18日木曜日 5時19分57秒 UTC+9 Kim Lewis: >> >> Hi everyone, >> I'm attempting to incorporate the Tobii eyetracker extension into an >> eprime experiment and we want to allow participants to click with the mouse >> rather than use a keyboard for a response. The issue we're running into is >> that it appears the way the Tobii extension works is it treats the eye gaze >> fixation point as a cursor, so if we attempt to show the actual mouse >> cursor on the screen the cursor moves with the eye gaze as well. >> >> Before I go in depth into my design setup and inline I just want to know >> if anyone else has tried to do something similar, or if this is even >> possible? >> >> Any help would be very much appreciated. Thank you! >> -Kim >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/014d299e-efa2-425a-ba4a-984c272f1ba8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kllewis89 at gmail.com Fri Sep 26 13:46:32 2014 From: kllewis89 at gmail.com (Kim Lewis) Date: Fri, 26 Sep 2014 06:46:32 -0700 Subject: Using Tobii extension for eprime with a mouse device In-Reply-To: Message-ID: Hi Nobuyuki, Thank you for your response! Would you be willing to share the portion of your inline where you call the eye gaze sample point? I'm not sure what syntax you would use. Thank you so very much again. -Kim -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/fd9cd4b0-5104-429d-b7f5-ce29f30b50ee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Sep 26 14:02:39 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 26 Sep 2014 10:02:39 -0400 Subject: Sending Keyboard responses to OnsetSignalPort In-Reply-To: Message-ID: Semeon, That would be nice wouldn't it? But I do not see any way to use the stimulus OffsetSignal to output a response measure. OffsetSignal values are set statically before the stimulus object runs, so it does not have any mechanism for outputting a value determined dynamically during the stimulus. But for other ideas on this, see the threads at https://groups.google.com/d/topic/e-prime/z8PQMH1cf70 , https://groups.google.com/d/topic/e-prime/7w5ajYuHqgw , and https://groups.google.com/d/topic/e-prime/OeiZ00V9SRc . A few more comments: - These threads boil down to using WritePort at the time of response. - Alternatively, you could follow the stimulus with inline code to set the OnsetSignalData of the next object, and let the next object (e.g., a Wait object with Duration 0) output the signal. - With Task Events, you could skip all the inline code and use an object after your stimulus to output the response measure (see, e.g., https://groups.google.com/d/topic/e-prime/fAHqIoYiW1A ). Hope that helps, ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/25/2014 10:51 PM Thursday, semeon.risom at gmail.com wrote: >I'm attempting to have participant keyboard responses sent as an >OffsetSignalPort per trial, but I need some help developing the >inline statement to run to generate this. > >This is an example of the inline I'm working with so far. > >Stimulus.OnsetSignalEnabled = True >Stimulus.OnsetSignalPort = SPort >Stimulus.OnsetSignalData = c.GetAttrib("Trigger") > >Stimulus.OffsetSignalEnabled = True >Stimulus.OffsetSignalPort = SPort >Stimulus.OffsetSignalData = 0 > >- Semeon -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/54257203.036b320a.19fa.0c4aSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From seapsy at gmail.com Sat Sep 27 17:46:44 2014 From: seapsy at gmail.com (Haiobo Zhou) Date: Sun, 28 Sep 2014 01:46:44 +0800 Subject: Edit the *.ebs2 file Message-ID: Dear all I have a ebs2 file from others.How can I edit the ebs2 file such as modify the duration of anTextDisplay object. The *.ebs file can be open and edited easily, but how to do with ebs2 file? Thanks. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CACVvh%2BTtbFO%2BnbL_%2BXYuHim%2BVb374p4KO8HCuV6gptu9L_EWpw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From semeon.risom at gmail.com Sun Sep 28 15:00:11 2014 From: semeon.risom at gmail.com (semeon.risom at gmail.com) Date: Sun, 28 Sep 2014 08:00:11 -0700 Subject: RGB triggers Message-ID: I'm struggling sending RGB triggers from E-Prime to PyCoder. Our system is set up to send RGB triggers directly to a VIEWPixx monitor, which then sends it out to an amplifier. From the amplifier, the triggers are supposed received to another computer and recorded on PyCorder. Depending on the RGB value, 24 unique triggers can be created. Triggers are being sent at their correct time-point, but regardless of what color pixel (R,G,B) is being included into Eprime, the same trigger output (below) is still showing up on PyCorder. I've created triggers using the canvas inLine and loading .png files. I've attached the output to this post. Any experience or advice with this issue? Or perhaps an example e-prime file would help immensely. Thanks! - Semeon -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/d4d129f6-97a2-4ba0-bba0-b91ff3d4fffe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: triggers.png Type: image/png Size: 60967 bytes Desc: not available URL: From semeon.risom at gmail.com Sun Sep 28 15:00:41 2014 From: semeon.risom at gmail.com (semeon.risom at gmail.com) Date: Sun, 28 Sep 2014 08:00:41 -0700 Subject: Sending Keyboard responses to OnsetSignalPort In-Reply-To: <54257203.036b320a.19fa.0c4aSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: The links did help actually. Thanks! - Semeon On Friday, 26 September 2014 09:02:45 UTC-5, McFarlane, David wrote: > > Semeon, > > That would be nice wouldn't it? But I do not see any way to use the > stimulus OffsetSignal to output a response measure. OffsetSignal > values are set statically before the stimulus object runs, so it does > not have any mechanism for outputting a value determined dynamically > during the stimulus. > > But for other ideas on this, see the threads at > https://groups.google.com/d/topic/e-prime/z8PQMH1cf70 , > https://groups.google.com/d/topic/e-prime/7w5ajYuHqgw , and > https://groups.google.com/d/topic/e-prime/OeiZ00V9SRc . A few more > comments: > > - These threads boil down to using WritePort at the time of response. > - Alternatively, you could follow the stimulus with inline code to > set the OnsetSignalData of the next object, and let the next object > (e.g., a Wait object with Duration 0) output the signal. > - With Task Events, you could skip all the inline code and use an > object after your stimulus to output the response measure (see, e.g., > https://groups.google.com/d/topic/e-prime/fAHqIoYiW1A ). > > Hope that helps, > ----- > 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) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) 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 9/25/2014 10:51 PM Thursday, semeon... at gmail.com wrote: > >I'm attempting to have participant keyboard responses sent as an > >OffsetSignalPort per trial, but I need some help developing the > >inline statement to run to generate this. > > > >This is an example of the inline I'm working with so far. > > > >Stimulus.OnsetSignalEnabled = True > >Stimulus.OnsetSignalPort = SPort > >Stimulus.OnsetSignalData = c.GetAttrib("Trigger") > > > >Stimulus.OffsetSignalEnabled = True > >Stimulus.OffsetSignalPort = SPort > >Stimulus.OffsetSignalData = 0 > > > >- Semeon > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7e671171-363d-4f07-bdf9-4bfe3a171b40%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From robmanc2014 at gmail.com Sun Sep 28 16:54:59 2014 From: robmanc2014 at gmail.com (Rob Manchester) Date: Sun, 28 Sep 2014 09:54:59 -0700 Subject: Select one of x text displays to show Message-ID: Hi Question about coding 'best practice' here. I need to insert something into an E-Prime program whereby depending on a variable value (iBlockCount) the screen should display one particular ‘text display’ from a set of text displays. The particular text display I want to show varies depending on the value of the variable (the displays relate to the message shown at the start of a 'block' of trials in an experimental paradigm'. To achieve this I've created a List item with procedures listed within in it,and then put each ‘text displays’ in its own individual procedure within the list item. I thought I could then get the code to dynamically select which level of the list item (and therefore which procedure and text display) to run, based on the variable value. I first tried to do this by setting the 'weight' of the list levels dynamically, so that only the one I want to show has a weight>0. With the list item set to run one repetition sequentially I thought this would just show the required text display and no others. However this failed to not show the text displays in levels with weight=0 (the code used is commented-out of the code below). What I've done instead is to alter the duration of the text displays so that the ones I don't want to show are set to duration=0 (code below). However this seems pretty clunky, and I get flickers where presumably the duration=0 text displays are showing for 1 refresh. Is there a better way of selecting 1 of x text displays to show? On a separate point, is there a way of setting the duration to ‘(infinite)’ using the code. I couldn't get E-prime basic to recognise either '(infinite)' of just 'infinite' as valid values, so I've had to use duration=1000000 as a proxy. Thanks Rob If iBlockCount = 1 Then 'set weights doesn't seem to work, so set duration instead 'StartScreen.SetWeight 1, 1 'StartScreen.SetWeight 2, 0 pressToStart.duration=1000000 pressToContinue.duration=0 Else 'StartScreen.SetWeight 1, 0 'StartScreen.SetWeight 2, 1 pressToStart.duration=0 pressToContinue.duration=1000000 debug.print pressToContinue.duration End If -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/ecf84a87-48fd-43e3-afd7-7e9fd0ab4abf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Sep 29 18:04:24 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 29 Sep 2014 14:04:24 -0400 Subject: Edit the *.ebs2 file In-Reply-To: Message-ID: PST removed practically all ability to edit .ebs2 files with E-Prime 2. If you like, you may open an .ebs2 file into any text editor. You will find that it is an xml file, with all the generated code enclosed in a tag. So if you are enterprising enough you might try decoding the bin.base64-endoded program code (try Googling "bin.base64"), edit that, and then re-encode it, but I do not know anyone who has tried that. And it hardly seems worth the effort, except in the most dire circumstances. ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/27/2014 01:46 PM Saturday, Haiobo Zhou wrote: >I have a ebs2 file from others.How can I edit >the ebs2 file such as modify the duration of anTextDisplay object. >The *.ebs file can be open and edited easily, but how to do with ebs2 file? >Thanks. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/54299f2e.6594320a.6748.425aSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Mon Sep 29 18:44:41 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 29 Sep 2014 14:44:41 -0400 Subject: Select one of x text displays to show In-Reply-To: Message-ID: Rob, Not sure I fully understand what you are up to here. But here are couple of ways to pick one level from a List. 1) Set the Order of the List to Counterbalance -- see https://groups.google.com/d/topic/e-prime/JtLh6DxqCbs for discussion. Note that the E-Studio GUI allows Counterbalancing only by Subject, Session, or Group, but see https://groups.google.com/d/topic/e-prime/CHntiIUbUmc for how to use inline code to counterbalance by other attributes. 2) Use List.GetAttrib directly -- see the "Factor.GetAttrib" topic in the E-Basic Help facility. BTW, for anyone who does find a need to manipulate List Weights at runtime, please see discussion at https://groups.google.com/d/topic/e-prime/FZ8FkYs3o2U . Also, if you really do need to "run" a stimulus without it doing anything (as opposed to simply bypassing it with a Goto and Label), then you might accomplish that by setting Duration to 0 *and* setting OnsetSync to "(none)". See the "RteRunnableInputObject.OnsetSync" topic in the E-Basic Help facility, and review the Critical Timing chapter in the User's Guide that came with E-Prime. As for setting an "infinite" Duration in code -- you could figure that out yourself just by setting some Duration to "(infinite)" and then looking at the generated code (that's how I figure out a lot of this stuff). If you do that, you should find that "(infinite)" translates simply to a Long value of -1 (negative one) in code, e.g., StimText.Duration = -1 means an infinite Duration. (To be fair, I know this factoid because EP1.0 explicitly used -1 for infinite in the GUI, we did not get an "(infinite)" option way back then. Sometimes making things more convenient also makes things harder.) ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/28/2014 12:54 PM Sunday, Rob Manchester wrote: >Question about coding 'best practice' here. I >need to insert something into an E-Prime program >whereby depending on a variable value >(iBlockCount) the screen should display one >particular â EURO ~text displayâ EURO (tm) from a set of text >displays. The particular text display I want to >show varies depending on the value of the >variable (the displays relate to the message >shown at the start of a 'block' of trials in an experimental paradigm'. > >To achieve this I've created a List item with >procedures listed within in it,and then put each >â EURO ~text displaysâ EURO (tm) in its own individual >procedure within the list item. I thought I >could then get the code to dynamically select >which level of the list item (and therefore >which procedure and text display) to run, based >on the variable value. I first tried to do this >by setting the 'weight' of the list levels >dynamically, so that only the one I want to show >has a weight>0. With the list item set to run >one repetition sequentially I thought this would >just show the required text display and no >others. However this failed to not show the text >displays in levels with weight=0 (the code used >is commented-out of the code below). > >What I've done instead is to alter the duration >of the text displays so that the ones I don't >want to show are set to duration=0 (code below). >However this seems pretty clunky, and I get >flickers where presumably the duration=0 text >displays are showing for 1 refresh. Is there a >better way of selecting 1 of x text displays to show? > >On a separate point, is there a way of setting >the duration to â EURO ~(infinite)â EURO (tm) using the code. >I couldn't get E-prime basic to recognise either >'(infinite)' of just 'infinite' as valid values, >so I've had to use duration=1000000 as a proxy. > >Thanks >Rob > >If iBlockCount = 1 Then >'set weights doesn't seem to work, so set duration instead > 'StartScreen.SetWeight 1, 1 > 'StartScreen.SetWeight 2, 0 > pressToStart.duration=1000000 > pressToContinue.duration=0 >Else > 'StartScreen.SetWeight 1, 0 > 'StartScreen.SetWeight 2, 1 > pressToStart.duration=0 > pressToContinue.duration=1000000 > debug.print pressToContinue.duration >End If -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5429a8a0.3431320a.3aa6.42a0SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From seapsy at gmail.com Tue Sep 30 01:00:19 2014 From: seapsy at gmail.com (Haiobo Zhou) Date: Tue, 30 Sep 2014 09:00:19 +0800 Subject: Edit the *.ebs2 file In-Reply-To: <54299f2e.6594320a.6748.425aSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: I will try it Thanks so much, 2014-09-30 2:04 GMT+08:00 David McFarlane : > PST removed practically all ability to edit .ebs2 files with E-Prime 2. > > If you like, you may open an .ebs2 file into any text editor. You will > find that it is an xml file, with all the generated code enclosed in a > tag. So if you are enterprising enough > you might try decoding the bin.base64-endoded program code (try Googling > "bin.base64"), edit that, and then re-encode it, but I do not know anyone > who has tried that. And it hardly seems worth the effort, except in the > most dire circumstances. > > ----- > 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) You may reach PST's trained > staff (and other support facilities) at https://support.pstnet.com . 3) > 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 9/27/2014 01:46 PM Saturday, Haiobo Zhou wrote: > >> I have a ebs2 file from others.How can I edit the ebs2 file such as >> modify the duration of anTextDisplay object. >> The *.ebs file can be open and edited easily, but how to do with ebs2 >> file? >> Thanks. >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/e-prime/54299f2e.6594320a.6748.425aSMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CACVvh%2BQz15Nm%2BUJAbWHUhNg8gowbhKeNX1TZ9fesNevvc8txvg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From arienelouanacaloia at googlemail.com Tue Sep 30 16:36:01 2014 From: arienelouanacaloia at googlemail.com (Ariene Caloia) Date: Tue, 30 Sep 2014 17:36:01 +0100 Subject: Data Logging Problem Message-ID: I'm very new to E-Prime so please forgive my ignorance, but I'm having some problems with the data logging and would be very grateful for any suggestions. I'm putting together a video based experiment which seems to all run fine, however the occasional response is not logging correctly and appears as 0. Having run the experiment again a few times, I've found that there is a lack of consistency with regard to which stimulus clip response is not logged, so I don't think the problem can be attributed to the video files themselves (which are in .wmv format - I converted some of the files which were .avi, as I was originally concerned that the different file types may have contributed to the problem, or that the .avi files might've been too large to process smoothly) I've also tried configuring the TextDisplay1 slide to log responses, in addition to the VideoSlide and ResponseSlide, but nor has this solved the problem. All ideas would be warmly welcomed, and I will do my best to answer any further questions (but speaking in layman's terms will help me!) Many thanks, Ariene -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/0E254C17-1808-462A-AEC5-5385838808AF%40googlemail.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Tue Sep 30 17:59:50 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 30 Sep 2014 13:59:50 -0400 Subject: Data Logging Problem In-Reply-To: <0E254C17-1808-462A-AEC5-5385838808AF@googlemail.com> Message-ID: Ariene, On the stimulus object that gets the response, what setting do you use for PreRelease? On the Procedure with that object, what setting do you use for Process Pending Input Masks? Is your stimulus object the last object in your Procedure? *If* your stimulus object is the last object in your Procedure, *and* its PreRelease is greater than 0, *and* you have Process Pending Input Masks set to "None", *and* a subject responds during the PreRelease period, *then* E-Prime would fail to log the response. Beyond that I am out of ideas. ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/30/2014 12:36 PM Tuesday, Ariene Caloia wrote: >I'm very new to E-Prime so please forgive my ignorance, but I'm >having some problems with the data logging and would be very >grateful for any suggestions. > >I'm putting together a video based experiment which seems to all run >fine, however the occasional response is not logging correctly and >appears as 0. Having run the experiment again a few times, I've >found that there is a lack of consistency with regard to which >stimulus clip response is not logged, so I don't think the problem >can be attributed to the video files themselves (which are in .wmv >format - I converted some of the files which were .avi, as I was >originally concerned that the different file types may have >contributed to the problem, or that the .avi files might've been too >large to process smoothly) > >I've also tried configuring the TextDisplay1 slide to log responses, >in addition to the VideoSlide and ResponseSlide, but nor has this >solved the problem. > >All ideas would be warmly welcomed, and I will do my best to answer >any further questions (but speaking in layman's terms will help me!) > >Many thanks, > >Ariene -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/542aef9e.036b320a.19fa.6630SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From jsilkes at uw.edu Tue Sep 30 18:16:43 2014 From: jsilkes at uw.edu (JoAnn Silkes) Date: Tue, 30 Sep 2014 11:16:43 -0700 Subject: Data Logging Problem In-Reply-To: <0E254C17-1808-462A-AEC5-5385838808AF@googlemail.com> Message-ID: Ariene - In my experience, a data value of 0 can mean that there was no response provided during the designated response period. Is there a chance these responses were made even a few milliseconds late? JoAnn. On Tuesday, September 30, 2014 9:36:04 AM UTC-7, Ariene Caloia wrote: > > I'm very new to E-Prime so please forgive my ignorance, but I'm having > some problems with the data logging and would be very grateful for any > suggestions. > > I'm putting together a video based experiment which seems to all run fine, > however the occasional response is not logging correctly and appears as 0. > Having run the experiment again a few times, I've found that there is a > lack of consistency with regard to which stimulus clip response is not > logged, so I don't think the problem can be attributed to the video files > themselves (which are in .wmv format - I converted some of the files which > were .avi, as I was originally concerned that the different file types may > have contributed to the problem, or that the .avi files might've been too > large to process smoothly) > > I've also tried configuring the TextDisplay1 slide to log responses, in > addition to the VideoSlide and ResponseSlide, but nor has this solved the > problem. > > All ideas would be warmly welcomed, and I will do my best to answer any > further questions (but speaking in layman's terms will help me!) > > Many thanks, > > Ariene -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/15dab471-a91d-4269-b02e-b07e3fa1a432%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From salaco at gmail.com Mon Sep 1 12:33:28 2014 From: salaco at gmail.com (salaco at gmail.com) Date: Mon, 1 Sep 2014 05:33:28 -0700 Subject: Modifying an existing E-Prime programme - any freelance programmers out there? Message-ID: Hi, Am working with a specific cognitive task, programmed in e-prime. The existing response modality is keyboard-based, where keys are used to move the objects on the screen left, right, up, down. I want to switch it to joystick, which would permit same operations. Is there anyone who might be able and available to make the necessary changes to the programme for a fee? If so, could you contact me at salaco at gmail.com Thanks. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/55a016ef-de75-4b78-a1e6-fc71564be666%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From raaron47 at gmail.com Mon Sep 1 13:50:11 2014 From: raaron47 at gmail.com (Rachel Aaron) Date: Mon, 1 Sep 2014 06:50:11 -0700 Subject: Error 11093: "Unable to buffer movie" In-Reply-To: <5dd3bb75-de69-44a5-b6bb-befd558726e5@googlegroups.com> Message-ID: Hi Davids, Thank you both for the valuable feedback. Since it seems the nature of this problem is unclear, and because of impending deadlines (i.e., dissertation research!) I decided to divide the experiment into four parts. It's not the most elegant experiment, but when I divide it up, I don't get the errors. I'm going to see if I can batch them all together so they run seamlessly, and hope that that solves the problem for good. Thanks again! Rachel On Friday, August 29, 2014 9:04:07 AM UTC-5, Rachel Aaron wrote: > > Hi there, > > I'm working on a program that displays clips from 14 different videos, > followed by a series of questions. The videos range from 8s - 4 minutes 7 > seconds, in sizes 298 KB - 43786 KB. The videos are all located within one > List Object. When I run the experiment, I always get Error 11093: "Unable > to buffer movie." The odd thing is that every time I run the experiment, > the error occurs at a different time (after 5 movies, after 8 movies, > etc.), even when they order is the same. I've ensured that all clips play > by switching the order of the video in the List Object. I can't figure out > a consistent reason why this error is occurring, the length, number, and > size of videos that play is different every time. > > I've gone back and forth with eprime support many times trying to figure > this error out, but haven't solved anything yet? Any thoughts from the > eprime community? > > Many thanks, > Rachel > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/6fa855a6-e38f-4e30-9d2e-6ae09738a7e3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From natalia.alur at gmail.com Tue Sep 2 03:38:01 2014 From: natalia.alur at gmail.com (natalia.alur at gmail.com) Date: Mon, 1 Sep 2014 20:38:01 -0700 Subject: How to record the response in one slide with two figures Message-ID: Hi all, I am not sure how to organise my columns and rows in my main trial list in terms of correct and incorrect responses. I've got one slide with two images figure1=[stim1] and figure2=[stim2]. These images have to be presented also randomised and ideally the participant has to select one or the other one clicking with the mouse, but if that is difficult they also can use the keyboard (1 2). I put stim1 and stim 2 as an attribute but how can I establish which one is the correct one if they are randomised?. Thank you very much. Nat -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/9c5c7f32-fd96-4679-a54b-e9619be098dc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Sep 2 15:37:00 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 2 Sep 2014 11:37:00 -0400 Subject: Eprime triggers to EEG out of sync In-Reply-To: <30ec6632-8759-4931-ba0a-5857cf50c506@googlegroups.com> Message-ID: Ryan, Just a few remarks ... "Apparently e-prime is limited to sending out 250 labels ..." -- Not clear if you think that E-Prime may only do signal output events 250 times during a session, or if you think that it may use only 250 different signal values, so to clarify: (1) E-Prime may do any number of signal output events during a session. (2) Typically, you output an 8-bit value. Unsigned 8-bit values may range from decimal 0 to 255. You would reserve 0 for an "off" or null value, thus, ordinarily, E-Prime is "limited" to using 255 unique signal values (unless you can coax E-Prime into outputting 16-bit signals, in which case it will use 65,535 unique signal values). Not sure why you would need a unique signal value for each event during a session anyway, typically you reuse signal values on different trials just to signify general categorical information (stimulus onset, etc.). Post-hoc labelling -- If you can output one signal at a known time relative to stimulus onset, and if all your later markers come at known offsets from that, then it should be straightforward to send the first marker at run time (which you already know how to do in E-Prime), and add the remaining markers later during analysis. Sure, it might be slick to have E-Prime do all this at run time, but I don't think it is worth the trouble. As far as getting E-Prime 1 to do this at run time anyway, these threads may be of some interest (even though they refer to outputting signals relative to the time of response instead): https://groups.google.com/d/topic/e-prime/z8PQMH1cf70 https://groups.google.com/d/topic/e-prime/7w5ajYuHqgw ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 8/30/2014 05:05 PM Saturday, Ryan Blything wrote: >I came across this post because I am going to be trying a similar >thing in my experiment such that we will be using e-prime v.1 to >present audio stimuli and we are interested in setting markers so >that they are not just at the onset of stimuli - but also at a >number of specific points in each sentence (e.g. onset of the verb, >noun, preposition). This would require having several markers for >each trial and Im wondering about the best way to go about this? One >way is through code but no one seems to have managed to do this >successfully that Im aware of. How did it go for any of you? Im >quite new to e-prime and SPM (which we will use to analyse data) so >I would appreciate any advice before I continue. > >An alternative option Ive heard about is post-hoc labelling, which >would be done in SPM, post-hoc working from the onset triggers >provided by e-prime (and psuedo-marking points later in the >sentence). Im not very familiar with SPM but am I right in thinking >that as long as the onset of the sentence is marked accurately, then >we can - post hoc - set markers anywhere we want in the data >thereafter? This may be the most ideal solution because I have 200 >sentences, each of which must be labelled separately (so that I can >recognise each one). Apparently e-prime is limited to sending out >250 labels so perhaps post-hoc multiple labelling is the answer. I >would appreciate any thoughts any of you may have. > >Many Thanks, >Ryan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5405e431.252e320a.2523.37e7SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From noam.schneck at gmail.com Wed Sep 3 13:33:27 2014 From: noam.schneck at gmail.com (Noam Schneck) Date: Wed, 3 Sep 2014 06:33:27 -0700 Subject: Continuous Data Logging Message-ID: Hello, Is there a way to have one eprime object log multiple button responses. If I want to record button responses over the course of five minutes. I don't want to keep reloading an object because I might miss a response in the load time between two objects. IS there a way to have one object on screen for the five minutes that continuously logs the subjects inputs? Thank you, Noam -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/b3c0f2a6-0667-4bd5-a097-1a7fe7b14242%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From yhattaque at gmail.com Thu Sep 4 10:43:28 2014 From: yhattaque at gmail.com (Chen) Date: Thu, 4 Sep 2014 03:43:28 -0700 Subject: How to display a selected response (selected by press a key in the keyboard) Message-ID: Hi dear all, I would like to highlight an object based on the subject's response. I learned from some codes when an object was selected by the subject with a mouse ...unfortunately I am not smart enough to apply it in when I ask my subject to give a response by pressing the key "2", "3", or "4". Basically my subject has 3 seconds to make a choice. I would like the box surrounding the selected option to change color (to green for example) while the slide is still displayed, or the words (in the text of the slide) change color. My code is like this: Dim theState As SlideState ' Dim hitObject As SlideText Set theState = ResponseSlide.States(ResponseSlide.ActiveState) 'ResponseSlide is the name of the slide' Select Case ResponseSlide.RESP Case "2" hitObject = theState.Objects("Text1") Case "3" hitObject = ResponseSlide.Name("Text2") Case "4" hitObject = ResponseSlide.Name("Text3") End Select hitObject.BackColor = CColor("green") hitObject.Draw ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ the error message is like this: The object does not have an assignable default property. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hope someone can help me...I have been stuck for an entire day...;-; Thanks a lot in advance! OLI:) -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/663fdc48-8a2b-449e-b7a8-3a9d759bc58d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart.quirk at gmail.com Thu Sep 4 14:31:11 2014 From: stuart.quirk at gmail.com (Stuart Quirk) Date: Thu, 4 Sep 2014 07:31:11 -0700 Subject: Auditory Recording and Onset timing In-Reply-To: <513512d8.9107320a.62fb.4156SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thanks David for the many helpful posts I have read from you and others on this group. Very kind of you and others to lend your expertise! I have a question related to this topic-- I have separate mics for SRBOX (for RT data collection) and for line in recording of actual answers (for offline accuracy coding). My question is: Is there a way to set up my trials so that the RT trigger ends the trial *after* a delay (long enough to capture the vocal answers)? That is, ending the trial after the vocal trigger would obviously stop the inline recording as well. I have currently fixed the duration of each trial and simply log the RT. This works fine but if I could link trial length to RT (plus 300msec or so) I could shave a lot of time off my overall study. thanks! Stuart Quirk On Monday, March 4, 2013 4:32:04 PM UTC-5, McFarlane, David wrote: > > Relevant to this issue: http://docs.psychtoolbox.org/InitializePsychSound > . > > -- David McFarlane > > > At 3/4/2013 02:31 PM Monday, David McFarlane wrote: > >Sylvain, > > > >I don't know that anyone has explored sound recording latency > >before, so thanks for doing that and posting your observation. I > >wonder if this is a limitation of E-Prime in particular, or a > >limitation of computer sound recording in general? If the latter, > >it will dash the hopes of people who want to measure RT directly by > >sound recording (e.g., > https://groups.google.com/d/topic/e-prime/1kiOTrj3huk ). > > > >Please ask PST Web Support about this at > >http://support.pstnet.com/e%2Dprime/support/login.asp , and post > >back here with their response. And I will bring this up with the > >PsychoPy folks (in fact, I have been asked to explore this very > >issue with one of their top developers this week). > > > >-- David McFarlane > > > > > >At 3/2/2013 03:54 AM Saturday, Sylvain wrote: > >>Hello, > >> > >>I'm trying to do the same thing with EP2 and a Slide with: > >>- a Slidetext sub-object disappearing at the vocal answer of the > >>participant. The microphone for this one is plugged to the SRSBox. > >>- a SlideSoundIn sub-object recording 1000 of the answer from the > >>onset of the slide. The microphone for this one is plugged to the > computer. > >> > >> > >>I tried that on two different computers: on the first one I had > >>almost the same RT recorded by the SRSBox and after processing of > >>the wav file to check for onset. On the second on the RT recorded > >>by the SRSBox is 50-100 ms too early compared to the signal I know > >>that it's better to check every wav file (that's what I'm going to > >>do), but such a delay make me wonder if both objects of the slide > >>are starting at the same time on the second computer. Or if there > >>wouldn't be a kind a "wake up" time for the SlideSoundIn? > >> > >>Sylvain > >> > >> > >>On Thursday, April 30, 2009 11:17:38 PM UTC+2, David McFarlane wrote: > >>First, you will need EP2 to record audio at all. Next, what if you > >>used any ordinary stim/response object to wait for and capture the > >>onset of vocalization via, e.g., a SRBox, and follow that with a > >>SoundIn object that will then record the remainder of the > >>response? You might even split a single microphone between the SRBox > >>(for vocalization onset) and the mic input of the computer sound card > >>(for recording SoundIn). I will be interested to learn how this works > out. > >> > >>-- David McFarlane, Professional Faultfinder > >> > >> >If I want to record the timing of the onset of a vocalization but I > >> >also want an auditory recording of the verbal response is there any > >> >combination of e-prime software/hardware that can do this? In looking > >> >over the response box features, I found that it will time the onset of > >> >a vocalization but seems like you need a seperate recording system to > >> >capture the actual verbatim response. Can you pair the e-prime > >> >software and the response box in anyway to capture both at the same > >> >time? > >> > > >> >I hope this makes sense :) > >> > > >> >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 > . > >For more options, visit https://groups.google.com/groups/opt_out. > > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/f90b8d8d-42ff-4554-8afb-80d4dd36a79a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From noam.schneck at gmail.com Thu Sep 4 15:55:49 2014 From: noam.schneck at gmail.com (Noam Schneck) Date: Thu, 4 Sep 2014 08:55:49 -0700 Subject: Continuous Data Logging In-Reply-To: Message-ID: Never Mind. I found a download on the PST website which includes continuous data logging inline script. I have attached it here if anyone finds themselves in need of a similar function. Thank you Brandon Cernicky & Matt Lenhart for this great script!! On Wednesday, September 3, 2014 9:33:27 AM UTC-4, Noam Schneck wrote: > > Hello, > > Is there a way to have one eprime object log multiple button responses. > If I want to record button responses over the course of five minutes. I > don't want to keep reloading an object because I might miss a response in > the load time between two objects. IS there a way to have one object on > screen for the five minutes that continuously logs the subjects inputs? > > Thank you, > Noam > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/c0d5db89-1543-4317-851c-234dc0389074%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ProcessResponsesTemplate (2).es Type: application/octet-stream Size: 22755 bytes Desc: not available URL: From mcfarla9 at msu.edu Thu Sep 4 19:41:54 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 4 Sep 2014 15:41:54 -0400 Subject: How to display a selected response (selected by press a key in the keyboard) In-Reply-To: <663fdc48-8a2b-449e-b7a8-3a9d759bc58d@googlegroups.com> Message-ID: You did not say what line caused the error message, but I suspect it came up for one of the "hitObject = ..." lines. That error message, "object does not have an assignable default property", typically comes up when you forget to put "Set" in front of the assignment statement for an object variable (obviously -- NOT!). In E-Basic/VBA, you must use Set at the start of any assigment statement for an object variable, and you must *not* use Set at the start of any assignment statement for ordinary varibles (you may in this case preface the assigment with the arcane "Let" keyword, otherwise that is implied). (Yes, this is an absurd rule, peculiar to VBA, and provides many headaches with no compensating advantages.) So your hitObject assigment statements should read like Set hitObject = theState.Objects("Text1") Also note that for cases "3" & "4" you switch to using ResponseSlide.Name, which I think will not work. That said ... What happens if RESP is not 2, 3, or 4? Of course, your input mask Allowable may guarantee valid RESP values, but safe programming practice dictates that your code not fail in the event of unexpected inputs. As it stands, this code would throw a runtime error because hitObject would not be assigned before it reaches the hitObject.BackColor statement. With that in mind, your code might work out to something like Dim theState As SlideState Dim hitObject As SlideText Set theState = ResponseSlide.States(ResponseSlide.ActiveState) Select Case ResponseSlide.RESP Case "2" Set hitObject = theState.Objects("Text1") Case "3" Set hitObject = theState.Objects("Text2") Case "4" Set hitObject = theState.Objects("Text3") End Select If Not(hitObject Is Nothing) Then hitObject.BackColor = CColor("green") hitObject.Draw Else ' sanity check ' code for invalid response here End If If you could judiciously rename your objects so that they directly reflected the response value, you could compact this even further, e.g., Dim theState As SlideState Dim hitObject As SlideText Set theState = ResponseSlide.States(ResponseSlide.ActiveState) Select Case ResponseSlide.RESP Case "2", "3", "4" Set hitObject = theState.Objects("Text" & ResponseSlide.RESP) hitObject.BackColor = CColor("green") hitObject.Draw Case Else ' sanity check ' code for invalid response here End Select Just some ideas, you can take it from there. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/4/2014 06:43 AM Thursday, Chen wrote: >I would like to highlight an object based on the subject's response. > >I learned from some codes when an object was selected by the subject >with a mouse > >...unfortunately I am not smart enough to apply it in when I ask my >subject to give a response by pressing the key "2", "3", or "4". > > Basically my subject has 3 seconds to make a choice. > >I would like the box surrounding the selected option to change color >(to green for example) while the slide is still displayed, or the >words (in the text of the slide) change color. > >My code is like this: > >Dim theState As SlideState ' > >Dim hitObject As SlideText > >Set theState = >ResponseSlide.States(ResponseSlide.ActiveState) 'ResponseSlide is >the name of the slide' > >Select Case ResponseSlide.RESP > >Case "2" > > hitObject = theState.Objects("Text1") > >Case "3" > > hitObject = ResponseSlide.Name("Text2") > >Case "4" > > hitObject = ResponseSlide.Name("Text3") > >End Select > >hitObject.BackColor = CColor("green") > >hitObject.Draw > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >the error message is like this: > >The object does not have an assignable default property. > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Hope someone can help me...I have been stuck for an entire day...;-; > >Thanks a lot in advance! > >OLI:) -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5408c098.1243320a.687a.0b18SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Thu Sep 4 20:02:43 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 4 Sep 2014 16:02:43 -0400 Subject: Auditory Recording and Onset timing In-Reply-To: Message-ID: Stuart, First, to update this thread a little, various sites (including PST) have tried to split one microphone for use for both RT and recording, and have not gotten this to work adequately. So as you have done, it is still best to use two separate microphones, one for RT voice key, and another for voice recording. Now, just a couple of thoughts offhand, I have not tested this (I will leave that to you :) ) ... First, are you sure that ending the trial after the vocal trigger also stops the sound recording? Back when I tested sound recording (using EP2.0.8.90), I found that sound recordings always went on for the full duration of Buffer Size, regardless of anything else that happened. Did I miss something? If you find different behavior, perhaps you could make a minimal example program and send that to me (off the list). Even so, I imagine that you still want E-Prime to hold up for a set time after each vocal RT and then move on. In that case, and assuming that recording does continue after termination of the Slide or SoundIn object, what about just using a Wait object after your stimulus object. E.g., - TrialProc - FixText - StimSlide ' includes SlideSoundIn for recording, and terminates ' upon vocal RT - RecordingWait ' extra time to wait after StimSlide terminates - TrialEndText ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/4/2014 10:31 AM Thursday, Stuart Quirk wrote: >Thanks David for the many helpful posts I have read from you and >others on this group. Very kind of you and others to lend your expertise! > >I have a question related to this topic-- >I have separate mics for SRBOX (for RT data collection) and for line >in recording of actual answers (for offline accuracy coding). > >My question is: Is there a way to set up my trials so that the RT >trigger ends the trial *after* a delay (long enough to capture the >vocal answers)? >That is, ending the trial after the vocal trigger would obviously >stop the inline recording as well. >I have currently fixed the duration of each trial and simply log the RT. >This works fine but if I could link trial length to RT (plus 300msec >or so) I could shave a lot of time off my overall study. > >thanks! >Stuart Quirk > >On Monday, March 4, 2013 4:32:04 PM UTC-5, McFarlane, David wrote: >Relevant to this >issue: >http://docs.psychtoolbox.org/InitializePsychSound >. > >-- David McFarlane > > >At 3/4/2013 02:31 PM Monday, David McFarlane wrote: > >Sylvain, > > > >I don't know that anyone has explored sound recording latency > >before, so thanks for doing that and posting your observation. I > >wonder if this is a limitation of E-Prime in particular, or a > >limitation of computer sound recording in general? If the latter, > >it will dash the hopes of people who want to measure RT directly by > >sound recording (e.g., > https://groups.google.com/d/topic/e-prime/1kiOTrj3huk > ). > > > >Please ask PST Web Support about this at > >http://suppo > rt.pstnet.com/e%2Dprime/support/login.asp , and post > >back here with their response. And I will bring this up with the > >PsychoPy folks (in fact, I have been asked to explore this very > >issue with one of their top developers this week). > > > >-- David McFarlane > > > > > >At 3/2/2013 03:54 AM Saturday, Sylvain wrote: > >>Hello, > >> > >>I'm trying to do the same thing with EP2 and a Slide with: > >>- a Slidetext sub-object disappearing at the vocal answer of the > >>participant. The microphone for this one is plugged to the SRSBox. > >>- a SlideSoundIn sub-object recording 1000 of the answer from the > >>onset of the slide. The microphone for this one is plugged to the > computer. > >> > >> > >>I tried that on two different computers: on the first one I had > >>almost the same RT recorded by the SRSBox and after processing of > >>the wav file to check for onset. On the second on the RT recorded > >>by the SRSBox is 50-100 ms too early compared to the signal I know > >>that it's better to check every wav file (that's what I'm going to > >>do), but such a delay make me wonder if both objects of the slide > >>are starting at the same time on the second computer. Or if there > >>wouldn't be a kind a "wake up" time for the SlideSoundIn? > >> > >>Sylvain > >> > >> > >>On Thursday, April 30, 2009 11:17:38 PM UTC+2, David McFarlane wrote: > >>First, you will need EP2 to record audio at all. Next, what if you > >>used any ordinary stim/response object to wait for and capture the > >>onset of vocalization via, e.g., a SRBox, and follow that with a > >>SoundIn object that will then record the remainder of the > >>response? You might even split a single microphone between the SRBox > >>(for vocalization onset) and the mic input of the computer sound card > >>(for recording SoundIn). I will be interested to learn how this > works out. > >> > >>-- David McFarlane, Professional Faultfinder > >> > >> >If I want to record the timing of the onset of a vocalization but I > >> >also want an auditory recording of the verbal response is there any > >> >combination of e-prime software/hardware that can do this? In looking > >> >over the response box features, I found that it will time the onset of > >> >a vocalization but seems like you need a seperate recording system to > >> >capture the actual verbatim response. Can you pair the e-prime > >> >software and the response box in anyway to capture both at the same > >> >time? > >> > > >> >I hope this makes sense :) > >> > > >> >Thanks! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5408c57f.a2ea320a.2f91.02b0SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From yhattaque at gmail.com Fri Sep 5 02:40:19 2014 From: yhattaque at gmail.com (Oli Chen) Date: Fri, 5 Sep 2014 10:40:19 +0800 Subject: How to display a selected response (selected by press a key in the keyboard) In-Reply-To: <5408c098.1243320a.687a.0b18SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thank you very much, David! :) It is very nice of you to give such a quick reply! I understood what you mentioned, and tried to edit the code as you suggested. However, there is still the error :( and it came from the same line: Set hitObject = theState.Objects("Text1") the error message is "assignment variables and expression are different types"... I then wandered whether it is because I made some mistake in editing my slide. I had a slide with three slideTexts. I added "keyboard" as the device for response, and the allowance is "2", "3", and "4". the end action is set as "terminate", but i also tried with "none". I have no idea which part can be wrong... do you have any other suggestion or solution? thanks a lot again!!! have a good day!!^______^ oli:) On Fri, Sep 5, 2014 at 3:41 AM, David McFarlane wrote: > You did not say what line caused the error message, but I suspect it came > up for one of the "hitObject = ..." lines. That error message, "object > does not have an assignable default property", typically comes up when you > forget to put "Set" in front of the assignment statement for an object > variable (obviously -- NOT!). In E-Basic/VBA, you must use Set at the > start of any assigment statement for an object variable, and you must *not* > use Set at the start of any assignment statement for ordinary varibles (you > may in this case preface the assigment with the arcane "Let" keyword, > otherwise that is implied). (Yes, this is an absurd rule, peculiar to VBA, > and provides many headaches with no compensating advantages.) > > So your hitObject assigment statements should read like > > Set hitObject = theState.Objects("Text1") > > Also note that for cases "3" & "4" you switch to using ResponseSlide.Name, > which I think will not work. > > That said ... What happens if RESP is not 2, 3, or 4? Of course, your > input mask Allowable may guarantee valid RESP values, but safe programming > practice dictates that your code not fail in the event of unexpected > inputs. As it stands, this code would throw a runtime error because > hitObject would not be assigned before it reaches the hitObject.BackColor > statement. With that in mind, your code might work out to something like > > Dim theState As SlideState > Dim hitObject As SlideText > > Set theState = ResponseSlide.States(ResponseSlide.ActiveState) > Select Case ResponseSlide.RESP > Case "2" > Set hitObject = theState.Objects("Text1") > Case "3" > Set hitObject = theState.Objects("Text2") > Case "4" > Set hitObject = theState.Objects("Text3") > End Select > If Not(hitObject Is Nothing) Then > hitObject.BackColor = CColor("green") > hitObject.Draw > Else ' sanity check > ' code for invalid response here > End If > > If you could judiciously rename your objects so that they directly > reflected the response value, you could compact this even further, e.g., > > Dim theState As SlideState > Dim hitObject As SlideText > > Set theState = ResponseSlide.States(ResponseSlide.ActiveState) > Select Case ResponseSlide.RESP > Case "2", "3", "4" > Set hitObject = theState.Objects("Text" & ResponseSlide.RESP) > hitObject.BackColor = CColor("green") > hitObject.Draw > Case Else ' sanity check > ' code for invalid response here > End Select > > Just some ideas, you can take it from there. > > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/ > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) You may reach PST's trained > staff (and other support facilities) at https://support.pstnet.com . 3) > 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 9/4/2014 06:43 AM Thursday, Chen wrote: > >> I would like to highlight an object based on the subject's response. >> >> I learned from some codes when an object was selected by the subject with >> a mouse >> >> ...unfortunately I am not smart enough to apply it in when I ask my >> subject to give a response by pressing the key "2", "3", or "4". >> >> Basically my subject has 3 seconds to make a choice. >> >> I would like the box surrounding the selected option to change color (to >> green for example) while the slide is still displayed, or the words (in the >> text of the slide) change color. >> >> My code is like this: >> >> Dim theState As SlideState ' >> >> Dim hitObject As SlideText >> >> Set theState = ResponseSlide.States(ResponseSlide.ActiveState) >> 'ResponseSlide is the name of the slide' >> >> Select Case ResponseSlide.RESP >> >> Case "2" >> >> hitObject = theState.Objects("Text1") >> >> Case "3" >> >> hitObject = ResponseSlide.Name("Text2") >> >> Case "4" >> >> hitObject = ResponseSlide.Name("Text3") >> >> End Select >> >> hitObject.BackColor = CColor("green") >> >> hitObject.Draw >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> ~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> the error message is like this: >> >> The object does not have an assignable default property. >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> Hope someone can help me...I have been stuck for an entire day...;-; >> >> Thanks a lot in advance! >> >> OLI:) >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/e-prime/5408c098.1243320a.687a.0b18SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/d/optout. > -- Yin-Hua, Chen Research Center for Mind, Brain and Learning National Chengchi University No. 64, Sec. 2, Zhi-Nan Rd., Wen-shan District, Taipei City 11605, Taiwan Tel: +886 2 2234 4967 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CANgqGTPA%2B0yVTMaDXcepv4%2BtekTHM_4nPeTZFGWdYJUdMctJ3g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Sep 5 13:59:02 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 5 Sep 2014 09:59:02 -0400 Subject: How to display a selected response (selected by press a key in the keyboard) In-Reply-To: Message-ID: Oli, Ah, of course, you still have to cast the result of SlideState.Objects() to tell E-Prime what *type* of object it is. You can see an example of this in the SlideState.Objects topic of the E-Prime Help facility (good to get familiar with that facility for lots of reasons!). So your line should look more like Set hitObject = CSlideText(theState.Objects("Text1")) Hmm, now I find the name of the hit variable misleading, as it is not a generic Object but rather a SlideText object, and I get very fussy about names in programs. I urge you to rename that to something like hitSlideText to better reflect its nature. Typically, I would make a variable named "slText" if I wanted a generic SlideText variable for general purposes. Just my personal style. Best, -- David McFarlane At 9/4/2014 10:40 PM Thursday, Oli Chen wrote: >Thank you very much, David! :) >It is very nice of you to give such a quick reply! > >I understood what you mentioned, and tried to edit the code as you suggested. >However, there is still the error :( ? and it >came from the same line:? ? Set hitObject = theState.Objects("Text1") >the error message is "assignment variables and >expression are different types"... > >I then wandered whether it is because I made some mistake in editing my slide. >I had a slide with three slideTexts. I added >"keyboard" as the device for response, and the >allowance is "2", "3", and "4".? >the end action is set as "terminate", but i also tried with "none". > >I have no idea which part can be wrong... >do you have any other suggestion or solution? > >thanks a lot again!!! >have a good day!!^______^ >oli:) > > >On Fri, Sep 5, 2014 at 3:41 AM, David McFarlane ><mcfarla9 at msu.edu> wrote: >You did not say what line caused the error >message, but I suspect it came up for one of the >"hitObject = ..." lines.? That error message, >"object does not have an assignable default >property", typically comes up when you forget to >put "Set" in front of the assignment statement >for an object variable (obviously -- NOT!).? In >E-Basic/VBA, you must use Set at the start of >any assigment statement for an object variable, >and you must *not* use Set at the start of any >assignment statement for ordinary varibles (you >may in this case preface the assigment with the >arcane "Let" keyword, otherwise that is >implied).? (Yes, this is an absurd rule, >peculiar to VBA, and provides many headaches with no compensating advantages.) > >So your hitObject assigment statements should read like > >? ? Set hitObject = theState.Objects("Text1") > >Also note that for cases "3" & "4" you switch to >using ResponseSlide.Name, which I think will not work. > >That said ...? What happens if RESP is not 2, >3, or 4?? Of course, your input mask Allowable >may guarantee valid RESP values, but safe >programming practice dictates that your code not >fail in the event of unexpected inputs.? As it >stands, this code would throw a runtime error >because hitObject would not be assigned before >it reaches the hitObject.BackColor >statement.? With that in mind, your code might work out to something like > >? ? Dim theState As SlideState >? ? Dim hitObject As SlideText > >? ? Set theState = ResponseSlide.States(ResponseSlide.ActiveState) >? ? Select Case ResponseSlide.RESP >? ? Case "2" >? ? ? ? Set hitObject = theState.Objects("Text1") >? ? Case "3" >? ? ? ? Set hitObject = theState.Objects("Text2") >? ? Case "4" >? ? ? ? Set hitObject = theState.Objects("Text3") >? ? End Select >? ? If Not(hitObject Is Nothing) Then >? ? ? ? hitObject.BackColor = CColor("green") >? ? ? ? hitObject.Draw >? ? Else? ' sanity check >? ? ? ? ' code for invalid response here >? ? End If > >If you could judiciously rename your objects so >that they directly reflected the response value, >you could compact this even further, e.g., > >? ? Dim theState As SlideState >? ? Dim hitObject As SlideText > >? ? Set theState = ResponseSlide.States(ResponseSlide.ActiveState) >? ? Select Case ResponseSlide.RESP >? ? Case "2", "3", "4" >? ? ? ? Set hitObject = theState.Objects("Text" & ResponseSlide.RESP) >? ? ? ? hitObject.BackColor = CColor("green") >? ? ? ? hitObject.Draw >? ? Case Else? ' sanity check >? ? ? ? ' code for invalid response here >? ? End Select > >Just some ideas, you can take it from there. > >----- >David McFarlane >E-Prime training >online:? >http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter:? @EPrimeMaster >(https://twitter.com/EPrimeMaster) > >/---- >Stock reminder:? 1) I do not work for PST.? 2) >You may reach PST's trained staff (and other >support facilities) at >https://support.pstnet.com >.? 3) 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 9/4/2014 06:43 AM Thursday, Chen wrote: >I would like to highlight an object based on the subject's response. > >I learned from some codes when an object was >selected by the subject with a mouse > >...unfortunately I am not smart enough to apply >it in when I ask my subject to give a response >by pressing the key "2", "3", or "4". > >? Basically my subject has 3 seconds to make a choice. > >I would like the box surrounding the selected >option to change color (to green for example) >while the slide is still displayed, or the words >(in the text of the slide) change color. > >My code is like this: > >Dim theState As SlideState? ? ' > >Dim hitObject As SlideText > >Set theState = >ResponseSlide.States(ResponseSlide.ActiveState)? > ? 'ResponseSlide is the name of the slide' > >Select Case ResponseSlide.RESP > >Case "2" > >? ? hitObject = theState.Objects("Text1") > >Case "3" > >? ? hitObject = ResponseSlide.Name("Text2") > >Case "4" > >? ? hitObject = ResponseSlide.Name("Text3") > >End Select > >hitObject.BackColor = CColor("green") > >hitObject.Draw > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >the error message is like this: > >The object does not have an assignable default property. > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Hope someone can help me...I have been stuck for an entire day...;-; > >Thanks a lot in advance! > >OLI:) > > >-- >You received this message because you are >subscribed to the Google Groups "E-Prime" group. >To unsubscribe from this group and stop >receiving emails from it, send an email to >e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to >e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/e-prime/5408c098.1243320a.687a.0b18SMTPIN_ADDED_MISSING%40gmr-mx.google.com. > >For more options, visit >https://groups.google.com/d/optout. > > > > >-- >Yin-Hua,? Chen? > >Research Center for Mind, Brain and Learning >National Chengchi University? >No. 64, Sec. 2, Zhi-Nan Rd., Wen-shan District, Taipei City 11605, Taiwan >Tel: +886 2 2234 4967 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5409c1bc.4946320a.155b.0890SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From xianghonghmri at gmail.com Fri Sep 5 17:17:30 2014 From: xianghonghmri at gmail.com (Hong91101) Date: Fri, 5 Sep 2014 10:17:30 -0700 Subject: How to send triggers timing to EEG through parallel port? Message-ID: I just started using E-Prime 2, and hope to do computer-based neuropsych test and collect ERP data. We installed parallel port, and add the port in the Eprime2 through the structure-experiment-device. Now I want to send the probe trigger timing to the parallel port. Could you please help? Thanks, Hong -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/e58cb8dd-492c-4fc7-a42e-b5b5a99cc07f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Sep 5 18:32:27 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 5 Sep 2014 14:32:27 -0400 Subject: How to send triggers timing to EEG through parallel port? In-Reply-To: Message-ID: You might use the Task Events feature to do this. You should find some informaiton about that in the "New Features Guide" that came with E-Prime, as well as in the E-Prime Knowledge Base at the PST website. You might also search this Group for "task events", as well as "trigger", "eeg", etc. Best, ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/5/2014 01:17 PM Friday, Hong91101 wrote: >I just started using E-Prime 2, and hope to do computer-based >neuropsych test and collect ERP data. We installed parallel port, >and add the port in the Eprime2 through the >structure-experiment-device. Now I want to send the probe trigger >timing to the parallel port. Could you please help? >Thanks, > >Hong -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/540a01d2.866d320a.388f.1bf9SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From xianghonghmri at gmail.com Fri Sep 5 21:35:53 2014 From: xianghonghmri at gmail.com (Hong91101) Date: Fri, 5 Sep 2014 14:35:53 -0700 Subject: How to send triggers timing to EEG through parallel port? In-Reply-To: <540a01d2.866d320a.388f.1bf9SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thanks. I tried your suggestions, but seems the parallel port is still not talking with eprime. Please see the attached image. What should I do? (Our IT guy confirmed that the parallel port was installed properly. ) Thanks, Xianghong On Friday, September 5, 2014 11:32:53 AM UTC-7, McFarlane, David wrote: > You might use the Task Events feature to do this. You should find > some informaiton about that in the "New Features Guide" that came > with E-Prime, as well as in the E-Prime Knowledge Base at the PST > website. You might also search this Group for "task events", as well > as "trigger", "eeg", etc. > > Best, > ----- > 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) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) 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 9/5/2014 01:17 PM Friday, Hong91101 wrote: > >I just started using E-Prime 2, and hope to do computer-based > >neuropsych test and collect ERP data. We installed parallel port, > >and add the port in the Eprime2 through the > >structure-experiment-device. Now I want to send the probe trigger > >timing to the parallel port. Could you please help? > >Thanks, > > > >Hong > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5fdff473-885c-4091-8751-67a22a4a3a77%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TriggerParallelTest2.pdf Type: application/pdf Size: 76306 bytes Desc: not available URL: From xianghonghmri at gmail.com Fri Sep 5 23:52:53 2014 From: xianghonghmri at gmail.com (Hong91101) Date: Fri, 5 Sep 2014 16:52:53 -0700 Subject: How to send triggers timing to EEG through parallel port? In-Reply-To: <5fdff473-885c-4091-8751-67a22a4a3a77@googlegroups.com> Message-ID: Here is the error in script, attached Thanks for helping... -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/ba865015-6ea0-42b9-8227-f25199aadff2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TriggerParallelTest2.pdf Type: application/pdf Size: 198021 bytes Desc: not available URL: From mcfarla9 at msu.edu Sat Sep 6 13:31:36 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Sat, 6 Sep 2014 09:31:36 -0400 Subject: How to send triggers timing to EEG through parallel port? In-Reply-To: Message-ID: Well, first of all make sure that you installed the Port I/O device driver when you installed E-Prime. Beyond that, please contact PST Support. -- David McFarlane Hong91101 wrote: > Here is the error in script, attached > Thanks for helping... > > -- > You received this message because you are subscribed to the Google > Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to e-prime+unsubscribe at googlegroups.com > . > To post to this group, send email to e-prime at googlegroups.com > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/ba865015-6ea0-42b9-8227-f25199aadff2%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/540B0CB8.8060009%40msu.edu. For more options, visit https://groups.google.com/d/optout. From dannyho1988 at gmail.com Mon Sep 8 07:13:02 2014 From: dannyho1988 at gmail.com (danho) Date: Mon, 8 Sep 2014 00:13:02 -0700 Subject: Eprime experiment design Message-ID: Hi all, I am currently designing an eprime programme that involves the participants being exposed to a series of audio-image pairs that consist either valid English words ("cat") or non-valid English words ("blung") and either Image A or Image B. To ensure that the participants paid attention to the visual primes during the experiment, they would be quizzed on random intervals regarding the image they seen after the presentation of the audio-image pair. How do I design the programme in the way that 1) visual quiz segment occurs a random frequency with a ratio of 1 visual quiz segment to 4 audio-image pair presentions 2) the visual quiz segment occurs after the presentation of the audio-image pair? 3) if possible, the programme indicates whether the participants scored correctly for the visual quiz segment. Regards, Dan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/46b39656-18c4-4c09-800a-a5a88cb4bbca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Sep 8 18:42:31 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 8 Sep 2014 14:42:31 -0400 Subject: On-line E-Prime=?iso-8859-1?Q?=AE_?=course from MSU Psychology Message-ID: Dear Colleagues, I wanted to let you know once again that the MSU Psychology Department has developed an on-line course in E-Prime?, the software for programming computerized behavioral tasks. The target audience is anyone interested in learning E-Prime?, but the course is ideal for beginning graduate students who will need to develop their own psychological experiments. The instructor is David McFarlane (that's me), who is familiar to many here on the E-Prime? Google group (twitter feed here). There are video lectures with guided exercises, quizzes and graded assignments, live office hours, and continuing education credits if those are useful. The target time frame is roughly 4 weeks for 14-15 hours of course work. Please see the course webpage (http://psychology.msu.edu/Workshops_Courses/eprime.aspx) for more information, including pricing, registration instructions, and a syllabus. Please address questions to ep101 at msu.edu or to me. Happy programming, --------------- David McFarlane, Systems Designer Dept. Psychology, Michigan State University E-Prime training online: psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/540df8af.866d320a.388f.4633SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From kbrown6 at wellesley.edu Mon Sep 8 21:27:08 2014 From: kbrown6 at wellesley.edu (Kelsey A Brown) Date: Mon, 8 Sep 2014 14:27:08 -0700 Subject: setting two different conditions for the experiment as a part of the initial script Message-ID: Hello Everyone, I am trying to use E-prime to build a stop signal frustration task, but I have encountered a few complications in building the task. At the moment, I am trying to create an initial script that would allow E-prime to automatically run a participant in a condition (high frustration or low frustration) depending on the participant number that I input before running the experiment. So for example, if I wanted to run 80 participants, half would be placed in the high frustration condition and the other half would be placed in the low frustration condition. I have some ideas about how this could theoretically be carried out, but I'm not sure if/how this can actually be implemented in the script. For example, I would want the initial script to begin by telling the program to pull 40 random numbers 1-80 (I would need to somehow make the same 40 numbers be pulled each time). The 40 numbers pulled would be placed in the low frustration condition where pctcorrect (percent correct)=.80. If else, (so if one of the other 40 numbers were pulled), place the participant in a high frustration condition where pctcorrect (percent correct)=.30. e.g. If I were running the program and I typed in my participant number as 3 and 3 was one of the random numbers pulled between 1 and 80 then the program would automatically run the stop signal task placing the participant in the low frustration condition where pctcorrect=.80 (where participants could accurately inhibit on 80% of stop signal trials). However, if the participant ID number was 8 and 8 was not one of the 40 random numbers initially pulled between 1 and 80 then the program would place the participant in the high frustration condition where pctcorrect=.30. Is this something that is possible in E-prime? I hope this makes sense. Thanks in advance for your input! -Kelsey -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/80664503-df91-43df-a65c-efa7fc166e8e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart.quirk at gmail.com Mon Sep 8 21:41:23 2014 From: stuart.quirk at gmail.com (Stuart Quirk) Date: Mon, 8 Sep 2014 14:41:23 -0700 Subject: Auditory Recording and Onset timing In-Reply-To: <5408c57f.a2ea320a.2f91.02b0SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thanks David, After playing around some more I think I have to stick with a fixed time for trial display and buffer. One problem is that people vary a fair bit in how long they take to answer each trial so setting the soundin for x amount of fixed buffer time gets problematic when a trial finishes and the next one starts before the buffer time is completed. It seems that, in this case, the 'extra' time is a problem for starting the next trial-- e.g., I set the buffer to 3500msec, the vocal answer at 1500msec works to trigger the end of the trial, a 1000msec 'get ready' object follows but there is still a second left in the buffer as the next trial begins. So to set the buffer time at any specified value seems to set the required duration of the trial so I'll probably just stick with being consistent. I hoped I could have the soundin continue via some 'infinite' duration until the termination trigger setting plus 300msec or something similar so the vocal trigger gives me logged reaction time and the verbal answer is also captured but I don't think I can have a flexible recording buffer time + a set time window post termination of the object. I played a bit before giving up and it seemed that soundin recording terminated at the end of a trial even if the buffer was set to have extra time (an effect I found with just adding the soundin to the standard/provided RTime sample experiment). thanks again! Stuart On Thursday, September 4, 2014 4:03:16 PM UTC-4, McFarlane, David wrote: > > Stuart, > > First, to update this thread a little, various sites (including PST) > have tried to split one microphone for use for both RT and recording, > and have not gotten this to work adequately. So as you have done, it > is still best to use two separate microphones, one for RT voice key, > and another for voice recording. > > Now, just a couple of thoughts offhand, I have not tested this (I > will leave that to you :) ) ... > > First, are you sure that ending the trial after the vocal trigger > also stops the sound recording? Back when I tested sound recording > (using EP2.0.8.90), I found that sound recordings always went on for > the full duration of Buffer Size, regardless of anything else that > happened. Did I miss something? If you find different behavior, > perhaps you could make a minimal example program and send that to me > (off the list). > > Even so, I imagine that you still want E-Prime to hold up for a set > time after each vocal RT and then move on. In that case, and > assuming that recording does continue after termination of the Slide > or SoundIn object, what about just using a Wait object after your > stimulus object. E.g., > > - TrialProc > - FixText > - StimSlide ' includes SlideSoundIn for recording, and > terminates > ' upon vocal RT > - RecordingWait ' extra time to wait after StimSlide terminates > - TrialEndText > > ----- > 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) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) 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 9/4/2014 10:31 AM Thursday, Stuart Quirk wrote: > >Thanks David for the many helpful posts I have read from you and > >others on this group. Very kind of you and others to lend your expertise! > > > >I have a question related to this topic-- > >I have separate mics for SRBOX (for RT data collection) and for line > >in recording of actual answers (for offline accuracy coding). > > > >My question is: Is there a way to set up my trials so that the RT > >trigger ends the trial *after* a delay (long enough to capture the > >vocal answers)? > >That is, ending the trial after the vocal trigger would obviously > >stop the inline recording as well. > >I have currently fixed the duration of each trial and simply log the RT. > >This works fine but if I could link trial length to RT (plus 300msec > >or so) I could shave a lot of time off my overall study. > > > >thanks! > >Stuart Quirk > > > >On Monday, March 4, 2013 4:32:04 PM UTC-5, McFarlane, David wrote: > >Relevant to this > >issue: > > > http://docs.psychtoolbox.org/InitializePsychSound > >. > > > >-- David McFarlane > > > > > >At 3/4/2013 02:31 PM Monday, David McFarlane wrote: > > >Sylvain, > > > > > >I don't know that anyone has explored sound recording latency > > >before, so thanks for doing that and posting your observation. I > > >wonder if this is a limitation of E-Prime in particular, or a > > >limitation of computer sound recording in general? If the latter, > > >it will dash the hopes of people who want to measure RT directly by > > >sound recording (e.g., > > > https://groups.google.com/d/topic/e-prime/1kiOTrj3huk > > ). > > > > > >Please ask PST Web Support about this at > > >http://suppo > > rt.pstnet.com/e%2Dprime/support/login.asp , and post > > >back here with their response. And I will bring this up with the > > >PsychoPy folks (in fact, I have been asked to explore this very > > >issue with one of their top developers this week). > > > > > >-- David McFarlane > > > > > > > > >At 3/2/2013 03:54 AM Saturday, Sylvain wrote: > > >>Hello, > > >> > > >>I'm trying to do the same thing with EP2 and a Slide with: > > >>- a Slidetext sub-object disappearing at the vocal answer of the > > >>participant. The microphone for this one is plugged to the SRSBox. > > >>- a SlideSoundIn sub-object recording 1000 of the answer from the > > >>onset of the slide. The microphone for this one is plugged to the > > computer. > > >> > > >> > > >>I tried that on two different computers: on the first one I had > > >>almost the same RT recorded by the SRSBox and after processing of > > >>the wav file to check for onset. On the second on the RT recorded > > >>by the SRSBox is 50-100 ms too early compared to the signal I know > > >>that it's better to check every wav file (that's what I'm going to > > >>do), but such a delay make me wonder if both objects of the slide > > >>are starting at the same time on the second computer. Or if there > > >>wouldn't be a kind a "wake up" time for the SlideSoundIn? > > >> > > >>Sylvain > > >> > > >> > > >>On Thursday, April 30, 2009 11:17:38 PM UTC+2, David McFarlane wrote: > > >>First, you will need EP2 to record audio at all. Next, what if you > > >>used any ordinary stim/response object to wait for and capture the > > >>onset of vocalization via, e.g., a SRBox, and follow that with a > > >>SoundIn object that will then record the remainder of the > > >>response? You might even split a single microphone between the SRBox > > >>(for vocalization onset) and the mic input of the computer sound card > > >>(for recording SoundIn). I will be interested to learn how this > > works out. > > >> > > >>-- David McFarlane, Professional Faultfinder > > >> > > >> >If I want to record the timing of the onset of a vocalization but I > > >> >also want an auditory recording of the verbal response is there any > > >> >combination of e-prime software/hardware that can do this? In > looking > > >> >over the response box features, I found that it will time the onset > of > > >> >a vocalization but seems like you need a seperate recording system > to > > >> >capture the actual verbatim response. Can you pair the e-prime > > >> >software and the response box in anyway to capture both at the same > > >> >time? > > >> > > > >> >I hope this makes sense :) > > >> > > > >> >Thanks! > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/bbf8aece-dba2-4981-a7d5-ece0070b630a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From yhattaque at gmail.com Tue Sep 9 02:36:40 2014 From: yhattaque at gmail.com (Oli Chen) Date: Tue, 9 Sep 2014 10:36:40 +0800 Subject: How to display a selected response (selected by press a key in the keyboard) In-Reply-To: <5409c1bc.4946320a.155b.0890SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: thanks a lot to you, David! I have tried your suggestion! :) And I will absolutely use more Eprime help browser in the future:) it definitely helps a lot! Have a good day!!!! oli:) On Fri, Sep 5, 2014 at 9:59 PM, David McFarlane wrote: > Oli, > > Ah, of course, you still have to cast the result of SlideState.Objects() > to tell E-Prime what *type* of object it is. You can see an example of > this in the SlideState.Objects topic of the E-Prime Help facility (good to > get familiar with that facility for lots of reasons!). So your line should > look more like > > Set hitObject = CSlideText(theState.Objects("Text1")) > > Hmm, now I find the name of the hit variable misleading, as it is not a > generic Object but rather a SlideText object, and I get very fussy about > names in programs. I urge you to rename that to something like > hitSlideText to better reflect its nature. Typically, I would make a > variable named "slText" if I wanted a generic SlideText variable for > general purposes. Just my personal style. > > Best, > -- David McFarlane > > > At 9/4/2014 10:40 PM Thursday, Oli Chen wrote: > >> Thank you very much, David! :) >> It is very nice of you to give such a quick reply! >> >> I understood what you mentioned, and tried to edit the code as you >> suggested. >> However, there is still the error :( ? and it came from the same line:? ? >> Set hitObject = theState.Objects("Text1") >> the error message is "assignment variables and expression are different >> types"... >> >> I then wandered whether it is because I made some mistake in editing my >> slide. >> I had a slide with three slideTexts. I added "keyboard" as the device for >> response, and the allowance is "2", "3", and "4".? >> the end action is set as "terminate", but i also tried with "none". >> >> I have no idea which part can be wrong... >> do you have any other suggestion or solution? >> >> thanks a lot again!!! >> have a good day!!^______^ >> oli:) >> >> >> On Fri, Sep 5, 2014 at 3:41 AM, David McFarlane <> >mcfarla9 at msu.edu> wrote: >> You did not say what line caused the error message, but I suspect it came >> up for one of the "hitObject = ..." lines.? That error message, "object >> does not have an assignable default property", typically comes up when you >> forget to put "Set" in front of the assignment statement for an object >> variable (obviously -- NOT!).? In E-Basic/VBA, you must use Set at the >> start of any assigment statement for an object variable, and you must *not* >> use Set at the start of any assignment statement for ordinary varibles (you >> may in this case preface the assigment with the arcane "Let" keyword, >> otherwise that is implied).? (Yes, this is an absurd rule, peculiar to >> VBA, and provides many headaches with no compensating advantages.) >> >> So your hitObject assigment statements should read like >> >> ? ? Set hitObject = theState.Objects("Text1") >> >> Also note that for cases "3" & "4" you switch to using >> ResponseSlide.Name, which I think will not work. >> >> That said ...? What happens if RESP is not 2, 3, or 4?? Of course, your >> input mask Allowable may guarantee valid RESP values, but safe programming >> practice dictates that your code not fail in the event of unexpected >> inputs.? As it stands, this code would throw a runtime error because >> hitObject would not be assigned before it reaches the hitObject.BackColor >> statement.? With that in mind, your code might work out to something like >> >> ? ? Dim theState As SlideState >> ? ? Dim hitObject As SlideText >> >> ? ? Set theState = ResponseSlide.States(ResponseSlide.ActiveState) >> ? ? Select Case ResponseSlide.RESP >> ? ? Case "2" >> ? ? ? ? Set hitObject = theState.Objects("Text1") >> ? ? Case "3" >> ? ? ? ? Set hitObject = theState.Objects("Text2") >> ? ? Case "4" >> ? ? ? ? Set hitObject = theState.Objects("Text3") >> ? ? End Select >> ? ? If Not(hitObject Is Nothing) Then >> ? ? ? ? hitObject.BackColor = CColor("green") >> ? ? ? ? hitObject.Draw >> ? ? Else? ' sanity check >> ? ? ? ? ' code for invalid response here >> ? ? End If >> >> If you could judiciously rename your objects so that they directly >> reflected the response value, you could compact this even further, e.g., >> >> ? ? Dim theState As SlideState >> ? ? Dim hitObject As SlideText >> >> ? ? Set theState = ResponseSlide.States(ResponseSlide.ActiveState) >> ? ? Select Case ResponseSlide.RESP >> ? ? Case "2", "3", "4" >> ? ? ? ? Set hitObject = theState.Objects("Text" & ResponseSlide.RESP) >> ? ? ? ? hitObject.BackColor = CColor("green") >> ? ? ? ? hitObject.Draw >> ? ? Case Else? ' sanity check >> ? ? ? ? ' code for invalid response here >> ? ? End Select >> >> Just some ideas, you can take it from there. >> >> ----- >> David McFarlane >> E-Prime training online:? > Workshops_Courses/eprime.aspx>http://psychology.msu.edu/ >> Workshops_Courses/eprime.aspx >> Twitter:? @EPrimeMaster ( >> https://twitter.com/EPrimeMaster) >> >> /---- >> Stock reminder:? 1) I do not work for PST.? 2) You may reach PST's >> trained staff (and other support facilities) at < >> https://support.pstnet.com>https://support.pstnet.com .? 3) 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 9/4/2014 06:43 AM Thursday, Chen wrote: >> I would like to highlight an object based on the subject's response. >> >> I learned from some codes when an object was selected by the subject with >> a mouse >> >> ...unfortunately I am not smart enough to apply it in when I ask my >> subject to give a response by pressing the key "2", "3", or "4". >> >> ? Basically my subject has 3 seconds to make a choice. >> >> I would like the box surrounding the selected option to change color (to >> green for example) while the slide is still displayed, or the words (in the >> text of the slide) change color. >> >> My code is like this: >> >> Dim theState As SlideState? ? ' >> >> Dim hitObject As SlideText >> >> Set theState = ResponseSlide.States(ResponseSlide.ActiveState)? ? >> 'ResponseSlide is the name of the slide' >> >> Select Case ResponseSlide.RESP >> >> Case "2" >> >> ? ? hitObject = theState.Objects("Text1") >> >> Case "3" >> >> ? ? hitObject = ResponseSlide.Name("Text2") >> >> Case "4" >> >> ? ? hitObject = ResponseSlide.Name("Text3") >> >> End Select >> >> hitObject.BackColor = CColor("green") >> >> hitObject.Draw >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> ~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> the error message is like this: >> >> The object does not have an assignable default property. >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> Hope someone can help me...I have been stuck for an entire day...;-; >> >> Thanks a lot in advance! >> >> OLI:) >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+ >> unsubscribe at googlegroups.com. >> To post to this group, send email to >> e-prime at googlegroups.com. >> To view this discussion on the web visit > msgid/e-prime/5408c098.1243320a.687a.0b18SMTPIN_ >> ADDED_MISSING%40gmr-mx.google.com>https://groups.google.com/ >> d/msgid/e-prime/5408c098.1243320a.687a.0b18SMTPIN_ >> ADDED_MISSING%40gmr-mx.google.com. >> >> For more options, visit >> https://groups.google.com/d/optout. >> >> >> >> >> -- >> Yin-Hua,? Chen? >> >> Research Center for Mind, Brain and Learning >> National Chengchi University? >> No. 64, Sec. 2, Zhi-Nan Rd., Wen-shan District, Taipei City 11605, Taiwan >> Tel: +886 2 2234 4967 >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/e-prime/5409c1bc.4946320a.155b.0890SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > > For more options, visit https://groups.google.com/d/optout. > -- Yin-Hua, Chen Research Center for Mind, Brain and Learning National Chengchi University No. 64, Sec. 2, Zhi-Nan Rd., Wen-shan District, Taipei City 11605, Taiwan Tel: +886 2 2234 4967 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CANgqGTO2oes6YZepiLah-h-1PCDxL2Sbe5su9E1Uo0sL%2BYOqyQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.vinson at ucl.ac.uk Tue Sep 9 09:19:45 2014 From: d.vinson at ucl.ac.uk (Vinson, David) Date: Tue, 9 Sep 2014 09:19:45 +0000 Subject: setting two different conditions for the experiment as a part of the initial script In-Reply-To: <80664503-df91-43df-a65c-efa7fc166e8e@googlegroups.com> Message-ID: Dear Kelsey, There's a really easy way to set this up using E-Prime: using Offset by Subject selection to determine at the start of a run which condition a Subject is in, selecting it from a higher level List. Create a List with two rows, one with procedure HighFrustProc and the other LowFrustProc, weight = 1. This List can have the attribute pctcorrect (.80 for low frustration, .30 for high frustration). Then set Selection properties of this List to Order: Offset, Order by: Subject. And Reset/Exit to Exit List: After 1 Sample. This way odd numbered subjects would run the HighFrust (or whatever is in the first line of the List) and even numbered, the LowFrust. Then each of these two Procedures would contain the other various elements of your experiment (e.g. the item Lists and trial Procedures), using the same objects and sub-procedures wherever possible to ensure that the two conditions are otherwise the same. If you don't like the strict alternation of odd/even Subject numbers, could take the same kind of approach by creating a random sequence in advance and using this to populate this List object (ie, 80 rows, again offset by subject number). Not elegant but very easy and transparent to implement. best, DavidV ________________________________________ From: e-prime at googlegroups.com [e-prime at googlegroups.com] on behalf of Kelsey A Brown [kbrown6 at wellesley.edu] Sent: 08 September 2014 22:27 To: e-prime at googlegroups.com Subject: setting two different conditions for the experiment as a part of the initial script Hello Everyone, I am trying to use E-prime to build a stop signal frustration task, but I have encountered a few complications in building the task. At the moment, I am trying to create an initial script that would allow E-prime to automatically run a participant in a condition (high frustration or low frustration) depending on the participant number that I input before running the experiment. So for example, if I wanted to run 80 participants, half would be placed in the high frustration condition and the other half would be placed in the low frustration condition. I have some ideas about how this could theoretically be carried out, but I'm not sure if/how this can actually be implemented in the script. For example, I would want the initial script to begin by telling the program to pull 40 random numbers 1-80 (I would need to somehow make the same 40 numbers be pulled each time). The 40 numbers pulled would be placed in the low frustration condition where pctcorrect (percent correct)=.80. If else, (so if one of the other 40 numbers were pulled), place the participant in a high frustration condition where pctcorrect (percent correct)=.30. e.g. If I were running the program and I typed in my participant number as 3 and 3 was one of the random numbers pulled between 1 and 80 then the program would automatically run the stop signal task placing the participant in the low frustration condition where pctcorrect=.80 (where participants could accurately inhibit on 80% of stop signal trials). However, if the participant ID number was 8 and 8 was not one of the 40 random numbers initially pulled between 1 and 80 then the program would place the participant in the high frustration condition where pctcorrect=.30. Is this something that is possible in E-prime? I hope this makes sense. Thanks in advance for your input! -Kelsey -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/80664503-df91-43df-a65c-efa7fc166e8e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/23423bb1207e47feaead5ce27ced7cde%40DB3PR01MB0458.eurprd01.prod.exchangelabs.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Tue Sep 9 14:18:47 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 9 Sep 2014 10:18:47 -0400 Subject: setting two different conditions for the experiment as a part of the initial script In-Reply-To: <23423bb1207e47feaead5ce27ced7cde@DB3PR01MB0458.eurprd01.pr od.exchangelabs.com> Message-ID: Kelsey, What David V said, except that I would use Counterbalance by Subject selection instead of Offset by Subject. Counterbalance does pretty much the same as Offset plus Reset/Exit After 1 Sample, but may be a bit more convenient. Please see discussions at https://groups.google.com/d/topic/e-prime/JtLh6DxqCbs and https://groups.google.com/d/topic/e-prime/CHntiIUbUmc . ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/9/2014 05:19 AM Tuesday, Vinson, David wrote: >Dear Kelsey, > >There's a really easy way to set this up using E-Prime: using Offset >by Subject selection to determine at the start of a run which >condition a Subject is in, selecting it from a higher level List. > >Create a List with two rows, one with procedure HighFrustProc and >the other LowFrustProc, weight = 1. This List can have the attribute >pctcorrect (.80 for low frustration, .30 for high >frustration). Then set Selection properties of this List to Order: >Offset, Order by: Subject. And Reset/Exit to Exit List: After 1 Sample. > >This way odd numbered subjects would run the HighFrust (or whatever >is in the first line of the List) and even numbered, the LowFrust. > >Then each of these two Procedures would contain the other various >elements of your experiment (e.g. the item Lists and trial >Procedures), using the same objects and sub-procedures wherever >possible to ensure that the two conditions are otherwise the same. > >If you don't like the strict alternation of odd/even Subject >numbers, could take the same kind of approach by creating a random >sequence in advance and using this to populate this List object (ie, >80 rows, again offset by subject number). Not elegant but very easy >and transparent to implement. > >best, >DavidV > > >________________________________________ >From: e-prime at googlegroups.com [e-prime at googlegroups.com] on behalf >of Kelsey A Brown [kbrown6 at wellesley.edu] >Sent: 08 September 2014 22:27 >To: e-prime at googlegroups.com >Subject: setting two different conditions for the experiment as a >part of the initial script > >Hello Everyone, > >I am trying to use E-prime to build a stop signal frustration task, >but I have encountered a few complications in building the task. >At the moment, I am trying to create an initial script that would >allow E-prime to automatically run a participant in a condition >(high frustration or low frustration) depending on the participant >number that I input before running the experiment. >So for example, if I wanted to run 80 participants, half would be >placed in the high frustration condition and the other half would be >placed in the low frustration condition. > >I have some ideas about how this could theoretically be carried out, >but I'm not sure if/how this can actually be implemented in the >script. For example, I would want the initial script to begin by >telling the program to pull 40 random numbers 1-80 (I would need to >somehow make the same 40 numbers be pulled each time). The 40 >numbers pulled would be placed in the low frustration condition >where pctcorrect (percent correct)=.80. >If else, (so if one of the other 40 numbers were pulled), place the >participant in a high frustration condition where pctcorrect >(percent correct)=.30. > >e.g. If I were running the program and I typed in my participant >number as 3 and 3 was one of the random numbers pulled between 1 and >80 then the program would automatically run the stop signal task >placing the participant in the low frustration condition where >pctcorrect=.80 (where participants could accurately inhibit on 80% >of stop signal trials). > >However, if the participant ID number was 8 and 8 was not one of the >40 random numbers initially pulled between 1 and 80 then the program >would place the participant in the high frustration condition where >pctcorrect=.30. > > >Is this something that is possible in E-prime? > >I hope this makes sense. Thanks in advance for your input! >-Kelsey -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/540f0c48.a94f320a.59e0.2cbeSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From lgulley511 at gmail.com Tue Sep 9 18:02:52 2014 From: lgulley511 at gmail.com (Lauren Gulley) Date: Tue, 9 Sep 2014 11:02:52 -0700 Subject: NTP and TET servers -- Linking EEG and eyetracking In-Reply-To: <2862bdab-b335-477a-a20d-54cd6b921c12@googlegroups.com> Message-ID: Hi Caitlin, I'm running into a similar problem. I know this occurred a long time ago, but do you remember how you fixed it? Thanks! Take care, Lauren On Wednesday, May 8, 2013 3:57:24 PM UTC-6, Caitlin wrote: > > Hi there, > I've also posted this to the PST forum -- trying to cast a wide net! > Appreciate your ideas: > > I am installing our new eye tracking system (Tobii TX300). I'd like to use > a one-computer system (i.e., 1 computer to both run EPrime and Tobii). This > would be ideal for us, because we plan on also sending events from EPrime 2 > -> NetStation 4.4 (EEG acquisition software). I've run into an interesting > conundrum: When I try to run the Tobii Eprime samples, it immediate throws > an error, asking for the NTP server. Now, this is without the NetStation > package being added to the EPrime experiment. If I open the Mac and start a > NetStation session, this permits the EPrime to start the experiment (no NTP > error). However, the TET server throws an error: > > Routine: TET_Connect() > Error Script: 2 > Error Text: Failed to communicate with server. Disconnected. > TET support will now be disabled. > The eye tracking connection will be closed and further errors will be > suppressed. > > I'm a baffled. I've entered the correct server information > (serverID.local.) is entered into the IP Address/Name box for the TobiiEye > Tracker Device Properties. The other options I left to the default (Port = > 4455, Sync mode=Local, Max count =4096). I've pinged the server from the > command prompt, and it the PC and Tobii are connected just fine. So this > all comes down to a few questions: > > 1. Why is EPrime requiring the NTP server when running an experiment > without the NTP package or devices? Is there a clock setting that needs to > be changed after adding the Tobii EPrime Extensions pack? > 2. What is going on with the TET server? I'm out of ideas for > troubleshooting. I've tried restarting the systems in different orders; > I've double checked the serverID values, successfully ping the Tobii before > running experiment, etc. > > I really appreciate your help! cheers, > -Caitlin > UNL, Graduate student > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/40b068e3-62ef-445a-93bd-2e9c9c822a4e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From xianghonghmri at gmail.com Tue Sep 9 20:11:24 2014 From: xianghonghmri at gmail.com (Hong91101) Date: Tue, 9 Sep 2014 13:11:24 -0700 Subject: How to send triggers timing to EEG through parallel port? In-Reply-To: <540B0CB8.8060009@msu.edu> Message-ID: Hi, David: Yes, I got the tech support from Eprime, and updated the windows, seems that helps with the setup. Thank you for telling me about the task event, it is very helpful. Best regards, Xianghong On Saturday, September 6, 2014 6:31:44 AM UTC-7, McFarlane, David wrote: > Well, first of all make sure that you installed the Port I/O device > driver when you installed E-Prime. Beyond that, please contact PST > Support. > > -- David McFarlane > > > Hong91101 wrote: > > Here is the error in script, attached > > Thanks for helping... > > > > -- > > You received this message because you are subscribed to the Google > > Groups "E-Prime" group. > > To unsubscribe from this group and stop receiving emails from it, send > > an email to e-prime+u... at googlegroups.com > > >. > > To post to this group, send email to e-p... at googlegroups.com > > > >. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/e-prime/ba865015-6ea0-42b9-8227-f25199aadff2%40googlegroups.com > > < > https://groups.google.com/d/msgid/e-prime/ba865015-6ea0-42b9-8227-f25199aadff2%40googlegroups.com?utm_medium=email&utm_source=footer>. > > > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/0ece8e39-f8ce-4859-b445-4a460ce6ffe1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kbrown6 at wellesley.edu Tue Sep 9 22:37:48 2014 From: kbrown6 at wellesley.edu (Kelsey A Brown) Date: Tue, 9 Sep 2014 15:37:48 -0700 Subject: Variable interstimulus interval (ISI) for stop trials in a stop signal task Message-ID: Hello Everyone, I received incredibly helpful answers for my previous question that I posted here, so I thought I would seek your valuable input on a second part of a stop signal task I have encountered some difficultly building. One of the defining parts of a stop signal task is having a variable ISI before the presentation of a stop signal. I would like to write a script that tells E-prime to make the ISI=250 ms for all go trials. For stop trials, the ISI for the first stop signal would be 250 ms, but the ISI for all future stop signals would be dependent on previous performance on stop trials. If the participant was successful at inhibiting pressing the button on the previous stop trial and their percent correct (accuracy on stop trials) is greater that 30% then the program would increase the previous trials stop signal delay (the ISI) for the next stop signal by 50 ms. If the participant was successful in inhibiting in pressing the button on the previous stop trial and their percent correct is less than 30% then the program would keep the stop signal delay for the next trial the same as it was in the previous trial. If the participant was not successful in inhibiting their button pressing on the previous stop trial and their percent correct is greater then 30% the program will keep the stop signal delay (ISI) equal to the ISI in the previous stop trial. If the participant was not successful in inhibiting their button pressing on the previous stop trial and their percent correct is less than 30% then the program would subtract 50 ms from the ISI of the previous stop signal trial. stop signal delay and ISI are used interchangeably, but they mean the same thing. To begin, in the experiment object properties, I made initDelay(initial delay)= 250. I also set DurationChange=50. In the script I wrote: Dim nDelay As Double 'actual delay for each trial Dim min, max, nerr, ncor, ff, ncc As Integer Dim pctcor, pcterr, pct, fpct, cpct As Single Dim ferr As String Dim pp As Single 'set guidelines for what to present when the person was correct too often and you want to increase the delay Sub SetSlowState(c As nDelay) nDelay = nDelay + CDbl(c.GetAttrib("DurationChange")) c.SetAttrib "ISIduration", c.GetAttrib("nDelay") End Sub Sub SetFastState (c As nDelay) nDelay = nDelay - CDbl(c.GetAttrib("DurationChange")) c.SetAttrib "ISIduration", c.GetAttrib("nDelay") Dim Delay As Integer If fileexists(c.GetAttrib("Subject") & "-ISI.txt") Then Open c.GetAttrib("Subject") & "-ISI.txt" For Input As #1 Input #1, Delay Close #1 nDelay = CDbl(Delay) Else nDelay = CDbl(c.GetAttrib(initDelay)) End If 'I'm still confused how to set variable ISI in a text file that changes nerr=0 'num forced errors ncor=0 ' num correct pcterr=0.0 ' percent error ncc=0 ' num correct?? 'ISI.duration= nDelay If c.GetAtrib("TrialType")="go" If c.GetAttrib ("TrialType")="stop" Then If (pctcor>.30) Then SetSlowState c,nDelay 'this routine should increase the ITI making it harder If (pctcor<.30) Then SetFastState c,nDelay 'this routine should decrease the ITI making it easier If c.GetAttrib ("TrialType")="stop" And If (pctcor<.30) Then ISI.duration= x - 50 ISI.duration = 250 If c.GetAtrib("TrialType")="go" Then If c.GetAttrib ("TrialType")="stop" Then ISI.duration = If c.GetAttrib("CorrectAnswer")= "" And If (pctcor>.30) debug.Print "Forced Error" nerr = nerr + 1' Forced Errors Then ISI.duration= 'previous stoptrial ISI + 50 If c.GetAttrib("CorrectAnswer")="" And If (pctcor<.30) Then ISI.duration= 'previous stop trial ISI - 50. 'i'm trying to set it up so that the isi for the first stop trial is equal to 250ms but increases by 50ms if pctcor>.30 but decreases by 50 ms if pctcor<.30. I'm assuming it is some sort of if then statement structured something like what I wrote below. Then ISI.duration = 250 Else ISI.duration = 250+50 The script above is what I came up with my professor, but I'm not sure the script is accomplishing exactly what it is meant to by tracking the stop signal ISI on all trials and either adding to that ISI or subtracting 50 ms from that ISI for the following trial depending on the participants stop trial accuracy percentage. I know that some of the above script is writing the same thing in multiple ways, but I figured it would be helpful to post everything that I have come up with so far. The script is basically a jumble of things we think might potentially work to write the program in the way we want it to run, but I would certainly appreciate any input. Hopefully this all makes sense. Perhaps there is an easier way to keep track of the ISI on all stop trials and program the variable ISI that I have not previously considered? Thanks for any help in advance. -Kelsey -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/bd478347-111a-4ddd-94e6-ab3b648637d7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kbrown6 at wellesley.edu Tue Sep 9 22:40:55 2014 From: kbrown6 at wellesley.edu (Kelsey A Brown) Date: Tue, 9 Sep 2014 15:40:55 -0700 Subject: setting two different conditions for the experiment as a part of the initial script In-Reply-To: <23423bb1207e47feaead5ce27ced7cde@DB3PR01MB0458.eurprd01.prod.exchangelabs.com> Message-ID: Dear David V, Thank you for the incredibly detailed and easy to understand instructions. I figured it was something that could be accomplished in E-prime, but I was unsure of the exact steps to follow to make it happen. I appreciate the invaluable assistance! Best, Kelsey On Tuesday, September 9, 2014 5:19:49 AM UTC-4, Vinson, David: UCL wrote: > > Dear Kelsey, > > There's a really easy way to set this up using E-Prime: using Offset by > Subject selection to determine at the start of a run which condition a > Subject is in, selecting it from a higher level List. > > Create a List with two rows, one with procedure HighFrustProc and the > other LowFrustProc, weight = 1. This List can have the attribute pctcorrect > (.80 for low frustration, .30 for high frustration). Then set Selection > properties of this List to Order: Offset, Order by: Subject. And > Reset/Exit to Exit List: After 1 Sample. > > This way odd numbered subjects would run the HighFrust (or whatever is in > the first line of the List) and even numbered, the LowFrust. > > Then each of these two Procedures would contain the other various elements > of your experiment (e.g. the item Lists and trial Procedures), using the > same objects and sub-procedures wherever possible to ensure that the two > conditions are otherwise the same. > > If you don't like the strict alternation of odd/even Subject numbers, > could take the same kind of approach by creating a random sequence in > advance and using this to populate this List object (ie, 80 rows, again > offset by subject number). Not elegant but very easy and transparent to > implement. > > best, > DavidV > > > ________________________________________ > From: e-p... at googlegroups.com [e-p... at googlegroups.com > ] on behalf of Kelsey A Brown [kbr... at wellesley.edu > ] > Sent: 08 September 2014 22:27 > To: e-p... at googlegroups.com > Subject: setting two different conditions for the experiment as a part of > the initial script > > Hello Everyone, > > I am trying to use E-prime to build a stop signal frustration task, but I > have encountered a few complications in building the task. > At the moment, I am trying to create an initial script that would allow > E-prime to automatically run a participant in a condition (high frustration > or low frustration) depending on the participant number that I input before > running the experiment. > So for example, if I wanted to run 80 participants, half would be placed > in the high frustration condition and the other half would be placed in the > low frustration condition. > > I have some ideas about how this could theoretically be carried out, but > I'm not sure if/how this can actually be implemented in the script. For > example, I would want the initial script to begin by telling the program to > pull 40 random numbers 1-80 (I would need to somehow make the same 40 > numbers be pulled each time). The 40 numbers pulled would be placed in the > low frustration condition where pctcorrect (percent correct)=.80. > If else, (so if one of the other 40 numbers were pulled), place the > participant in a high frustration condition where pctcorrect (percent > correct)=.30. > > e.g. If I were running the program and I typed in my participant number as > 3 and 3 was one of the random numbers pulled between 1 and 80 then the > program would automatically run the stop signal task placing the > participant in the low frustration condition where pctcorrect=.80 (where > participants could accurately inhibit on 80% of stop signal trials). > > However, if the participant ID number was 8 and 8 was not one of the 40 > random numbers initially pulled between 1 and 80 then the program would > place the participant in the high frustration condition where > pctcorrect=.30. > > > Is this something that is possible in E-prime? > > I hope this makes sense. Thanks in advance for your input! > -Kelsey > > > -- > You received this message because you are subscribed 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 e-prime+unsubscribe at googlegroups.com >. > To post to this group, send email to e-p... at googlegroups.com > >. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/80664503-df91-43df-a65c-efa7fc166e8e%40googlegroups.com > < > https://groups.google.com/d/msgid/e-prime/80664503-df91-43df-a65c-efa7fc166e8e%40googlegroups.com?utm_medium=email&utm_source=footer>. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/38f95c61-f8d5-4346-94f9-e9ae5ec76094%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kbrown6 at wellesley.edu Tue Sep 9 22:47:53 2014 From: kbrown6 at wellesley.edu (Kelsey A Brown) Date: Tue, 9 Sep 2014 15:47:53 -0700 Subject: setting two different conditions for the experiment as a part of the initial script In-Reply-To: <540f0c48.a94f320a.59e0.2cbeSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Dear David McFarlane, I also want to thank you for taking the time to answer my question and for providing links to similar discussions. I like the idea of using the counterbalance by subject option. I will certainly implement both your suggestion and David V's instructions when I return to building my task tomorrow. Thank you, Kelsey On Tuesday, September 9, 2014 10:18:50 AM UTC-4, McFarlane, David wrote: > > Kelsey, > > What David V said, except that I would use Counterbalance by Subject > selection instead of Offset by Subject. Counterbalance does pretty > much the same as Offset plus Reset/Exit After 1 Sample, but may be a > bit more convenient. Please see discussions at > https://groups.google.com/d/topic/e-prime/JtLh6DxqCbs and > https://groups.google.com/d/topic/e-prime/CHntiIUbUmc . > > > ----- > 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) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) 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 9/9/2014 05:19 AM Tuesday, Vinson, David wrote: > >Dear Kelsey, > > > >There's a really easy way to set this up using E-Prime: using Offset > >by Subject selection to determine at the start of a run which > >condition a Subject is in, selecting it from a higher level List. > > > >Create a List with two rows, one with procedure HighFrustProc and > >the other LowFrustProc, weight = 1. This List can have the attribute > >pctcorrect (.80 for low frustration, .30 for high > >frustration). Then set Selection properties of this List to Order: > >Offset, Order by: Subject. And Reset/Exit to Exit List: After 1 Sample. > > > >This way odd numbered subjects would run the HighFrust (or whatever > >is in the first line of the List) and even numbered, the LowFrust. > > > >Then each of these two Procedures would contain the other various > >elements of your experiment (e.g. the item Lists and trial > >Procedures), using the same objects and sub-procedures wherever > >possible to ensure that the two conditions are otherwise the same. > > > >If you don't like the strict alternation of odd/even Subject > >numbers, could take the same kind of approach by creating a random > >sequence in advance and using this to populate this List object (ie, > >80 rows, again offset by subject number). Not elegant but very easy > >and transparent to implement. > > > >best, > >DavidV > > > > > >________________________________________ > >From: e-p... at googlegroups.com [e-p... at googlegroups.com > ] on behalf > >of Kelsey A Brown [kbr... at wellesley.edu ] > >Sent: 08 September 2014 22:27 > >To: e-p... at googlegroups.com > >Subject: setting two different conditions for the experiment as a > >part of the initial script > > > >Hello Everyone, > > > >I am trying to use E-prime to build a stop signal frustration task, > >but I have encountered a few complications in building the task. > >At the moment, I am trying to create an initial script that would > >allow E-prime to automatically run a participant in a condition > >(high frustration or low frustration) depending on the participant > >number that I input before running the experiment. > >So for example, if I wanted to run 80 participants, half would be > >placed in the high frustration condition and the other half would be > >placed in the low frustration condition. > > > >I have some ideas about how this could theoretically be carried out, > >but I'm not sure if/how this can actually be implemented in the > >script. For example, I would want the initial script to begin by > >telling the program to pull 40 random numbers 1-80 (I would need to > >somehow make the same 40 numbers be pulled each time). The 40 > >numbers pulled would be placed in the low frustration condition > >where pctcorrect (percent correct)=.80. > >If else, (so if one of the other 40 numbers were pulled), place the > >participant in a high frustration condition where pctcorrect > >(percent correct)=.30. > > > >e.g. If I were running the program and I typed in my participant > >number as 3 and 3 was one of the random numbers pulled between 1 and > >80 then the program would automatically run the stop signal task > >placing the participant in the low frustration condition where > >pctcorrect=.80 (where participants could accurately inhibit on 80% > >of stop signal trials). > > > >However, if the participant ID number was 8 and 8 was not one of the > >40 random numbers initially pulled between 1 and 80 then the program > >would place the participant in the high frustration condition where > >pctcorrect=.30. > > > > > >Is this something that is possible in E-prime? > > > >I hope this makes sense. Thanks in advance for your input! > >-Kelsey > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/0894746b-cc72-4f6b-b012-1cab95f6fd82%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dannyho1988 at gmail.com Wed Sep 10 04:10:29 2014 From: dannyho1988 at gmail.com (danho) Date: Tue, 9 Sep 2014 21:10:29 -0700 Subject: Eprime experiment design In-Reply-To: <46b39656-18c4-4c09-800a-a5a88cb4bbca@googlegroups.com> Message-ID: Anyone here to help me? On Monday, 8 September 2014 15:13:03 UTC+8, danho wrote: > > Hi all, > > I am currently designing an eprime programme that involves the > participants being exposed to a series of audio-image pairs that > consist either valid English words ("cat") or non-valid English words > ("blung") and either Image A or Image B. To ensure that the participants > paid attention to the visual primes during the experiment, they would be > quizzed on random intervals regarding the image they seen after the > presentation of the audio-image pair. > > How do I design the programme in the way that 1) visual quiz segment > occurs a random frequency with a ratio of 1 visual quiz segment to 4 > audio-image pair presentions 2) the visual quiz segment occurs after the > presentation of the audio-image pair? 3) if possible, the programme > indicates whether the participants scored correctly for the visual quiz > segment. > > Regards, > > Dan > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/037676fd-32f4-425c-9106-55ae46b137b4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From huckjona at gmail.com Wed Sep 10 18:07:22 2014 From: huckjona at gmail.com (Jon) Date: Wed, 10 Sep 2014 11:07:22 -0700 Subject: Repeat Trial In-Reply-To: Message-ID: The 2 input masks solution is great, but is there a way to do it so that the trial is repeated only if there is no response? In my experiment, it doesn't matter whether a trial is correct/incorrect, but there needs to be a response for each trial within a fixed time constraint after the stimulus. On Wednesday, March 30, 2011 5:41:00 PM UTC-4, Cherise Chin Fatt wrote: > > Hello: > > Can someone please help me out with a part of my task? I need to repeat a > trial until a correct response is given. I haven't been able to figure this > out. I think it should be an inline, but I am not sure how to program this. > Can someone help with this if possible? > > Thank you, > Cherise. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a373b490-6c84-4b36-a566-eac9de6c85da%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny.liebold at googlemail.com Wed Sep 10 20:50:04 2014 From: benny.liebold at googlemail.com (Benny Liebold) Date: Wed, 10 Sep 2014 13:50:04 -0700 Subject: Array-Voodoo Message-ID: Hi, I've by now reached a point at which I have no clue what's going on. Basically, I wrote some script for an E-Prime Experiment to select the stimuli to display. I used arrays to represent the stimuli, because the have categories from which they have be dran randomly and then checked, if the violate the mode of stimulus selection. So first, I declared my array at the beginning of the Experiment: Dim EndArray(14,5,2) As String The Array contains 14 Items that each have 5 attributes and are going to be 2 times, so these are the array dimensions. I decided to just ignore array space "0" not to get lost in the script later on. Now, in a later script E-Prime is told to randomly select on of 14 items and repeat this process until 'determine destination RandomObject = random(1,14) 'Destination already covered 2 times? While EndArray(RandomObject,4,1) = "1" And EndArray(RandomObject,4,2) = "1" 'both are completed RandomObject = random(1,14) 'draw again Wend This very easy condition check produces the following error - but I have no clue why. Why is it regarding the array as a function instead of a variable? I used this type of addressing arrays in other experiments and it worked ... "Unknown function EndArray" I am aware that my code ist not beautiful at all, but it works most of the time ;) I would be glad, if you could help! Regards Benny -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/abc8d4fa-4d48-4c9d-91cb-a58700b73e95%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny.liebold at googlemail.com Wed Sep 10 20:55:05 2014 From: benny.liebold at googlemail.com (Benny Liebold) Date: Wed, 10 Sep 2014 13:55:05 -0700 Subject: Array-Voodoo In-Reply-To: Message-ID: I am sorry, I wanted to correct some typos of my hastily created posting, but editing is not allowed. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/ce4f7f39-22f1-4ca3-8081-5f318e3c3d8f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at wermes.de Thu Sep 11 14:02:25 2014 From: richard at wermes.de (richard at wermes.de) Date: Thu, 11 Sep 2014 07:02:25 -0700 Subject: Continuous Performance Task Message-ID: I would like to implement a Continuous Performance Task (CTP). With this task, single letters are presented and subjects are asked to react whenever they detect an X, appearing after an O appeared. I need about 500 trials for that and lets say 50 target-combinations. The only idea that come to my mind was creating a list including the variables stimulus1 and stimulus2, including a procedure showing two textdisplays in a row (stimulus1 and stimulus2). My problem with that: I would need 250 rows in that list. If I had less rows and random cycles, i might get additional unwanted target-combinations.. Any ideas for different, more ellegant approches? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/f322e89c-369b-42d2-8923-ddaed694572e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Sep 11 16:18:41 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 11 Sep 2014 12:18:41 -0400 Subject: Continuous Performance Task In-Reply-To: Message-ID: Years ago we programmed a Continuous Performance Task - Identical Pairs (CPT-IP), and had a devil of a time getting E-Prime to randomize the trials without generating spurious target trials. We finally resorted to just constructing one good random order outside E-Prime and then running that in a List set to Sequential order (which in fact duplicates just what the original researcher did in the 1980s using a slide projector). So if I were to program this, I might well do just what you already suggested. Using a spreadsheet program (e.g., MS Excel) I could probably easily generate the 250 rows, then copy & paste that over to E-Prime. I guess your problem comes when you inlcude "_ O" and "X _" as stimulus pairs (using "_" to indicate a placeholder). In that case you could randomly get those two pairs one after the other, which would indeed cause a spurious target. But if you just never used one or the other of those two stimulus pairs, I think that you could safely let E-Prime do the randomization without fear of generating spurious targets. Or am I missing something? To be sure, you would want to do several test runs to check for this, perhaps combined with code in E-Prime to at least detect and log any spurious targets (something we did while troubleshooting that CPT-IP several years ago). BTW, I checked -- oddly, we have not discussed CPT much on this Group, and I can find no example programs at STEP, Paul Groot's site, or the PST Samples area. Best, ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 9/11/2014 10:02 AM Thursday, richard at wermes.de wrote: >I would like to implement a Continuous Performance Task (CTP). With >this task, single letters are presented and subjects are asked to >react whenever they detect an X, appearing after an O appeared. I >need about 500 trials for that and lets say 50 target-combinations. > >The only idea that come to my mind was creating a list including the >variables stimulus1 and stimulus2, including a procedure showing two >textdisplays in a row (stimulus1 and stimulus2). My problem with >that: I would need 250 rows in that list. If I had less rows and >random cycles, i might get additional unwanted target-combinations.. > >Any ideas for different, more ellegant approches? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5411cb66.1412320a.643e.3388SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Thu Sep 11 16:43:29 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 11 Sep 2014 12:43:29 -0400 Subject: Array-Voodoo In-Reply-To: Message-ID: Benny, You did not say what version of E-Prime you used, or whether you got this error at compile-time or run-time. But just for fun, I pasted your code into an inline and could not get any error using either EP 1.2 or 2.0.10.353 (although I did have to add a Dim statement for the RandomObject variable in order to avoid a "Variable not defined" error at compile time). That said, I have a couple of bones to pick with you... First and foremost (and Michiel Spape is waiting to see me weigh in on this :) ), please, please, never ever use While...Wend!! Instead, use the much superior Do...Loop. You may see my statement on that at https://groups.google.com/d/topic/e-prime/JXcYIfRPWVE . Next, although your While statement is technically correct, adding extra parentheses to your conditional expression could greatly clarify matters for the reader and remove any ambiguity about how the program should interpret it. Thus (and substituting the superior Do for that awful While, and using the "_" line continuaton character to break the logical line into two physical lines), Do While ( (EndArray(RandomObject,4,1) = "1") And _ (EndArray(RandomObject,4,2) = "1") ) ' both are completed ... Regards, ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/10/2014 04:50 PM Wednesday, Benny Liebold wrote: >Hi, >I've by now reached a point at which I have no clue what's going on. >Basically, I wrote some script for an E-Prime Experiment to select >the stimuli to display. I used arrays to represent the stimuli, >because the have categories from which they have be dran randomly >and then checked, if the violate the mode of stimulus selection. So >first, I declared my array at the beginning of the Experiment: > >Dim EndArray(14,5,2) As String > >The Array contains 14 Items that each have 5 attributes and are >going to be 2 times, so these are the array dimensions. I decided to >just ignore array space "0" not to get lost in the script later on. >Now, in a later script E-Prime is told to randomly select on of 14 >items and repeat this process until > >'determine destination > >RandomObject = random(1,14) > > >'Destination already covered 2 times? > >While EndArray(RandomObject,4,1) = "1" And >EndArray(RandomObject,4,2) = "1" 'both are completed > >RandomObject = random(1,14) 'draw again > >Wend > >This very easy condition check produces the following error - but I >have no clue why. Why is it regarding the array as a function >instead of a variable? I used this type of addressing arrays in >other experiments and it worked ... > >"Unknown function EndArray" > >I am aware that my code ist not beautiful at all, but it works most >of the time ;) > >I would be glad, if you could help! > >Regards >Benny -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5411d136.6594320a.4398.2393SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From eternal19 at gmail.com Thu Sep 11 20:17:25 2014 From: eternal19 at gmail.com (Bradly Marin Picado) Date: Thu, 11 Sep 2014 13:17:25 -0700 Subject: corsi-block tapping script In-Reply-To: <1a267ab5-9215-42a8-bdd6-88218a640939@e23g2000prf.googlegroups.com> Message-ID: Hi, I don't know if you are still working into this... I'm a Master Degree student at the University of Costa Rica... Currently, we are proposing a project involving working memory, cognitive load and motor implicit learning. We are interested about using a Corsi-block task, but we don't know if we have the programming skills to do it from zero... Do you have a script smaple that you can lend us? We will use it only with academic purposes and in our report we will acknowledge your work. Greetings, Bradly Mar?n On Friday, January 25, 2008 8:30:20 AM UTC-6, Andrews, A.S. wrote: > > Hi > > I have done extensive work on this and written many variations on the > theme. Please email me directly if you would like to discuss it > further. > > Regards, > > Tony Andrews > Principal Computer Officer > School of Psychology > University of Leicester. > > On Jan 25, 1:46 pm, "l.l.emanuel" wrote: > > Hi, I am wondering if anyone has a script sample for the corsi-block > > tapping task? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/1e87baad-1e0f-41e8-9ce7-dc71436a1f84%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonkwok at umich.edu Fri Sep 12 04:16:09 2014 From: jonkwok at umich.edu (Jonathan Kwok) Date: Thu, 11 Sep 2014 21:16:09 -0700 Subject: Confidentiality/protection of data Message-ID: Hi, I am a research assistant who wants to use E-Prime to use the attention network test ( https://www.sacklerinstitute.org/cornell/assays_and_tools/ant/jin.fan/) in a study. Does the data have to travel through any servers or is the program is completely localized to the computer it is run from? Thank you, Jonathan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/ecbe43d6-ff2a-4be8-abe2-b2f1c18b138f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From valerio.salvati at uniroma1.it Fri Sep 12 09:01:21 2014 From: valerio.salvati at uniroma1.it (Valerio) Date: Fri, 12 Sep 2014 02:01:21 -0700 Subject: No such attribute Researcher ID Line 2556 Error Number -990 Message-ID: Hi everybody, First I'm really glad to have found this group on internet and I hope to be useful to the community. I had been start using E-prime recently and even I've red all the possible manuals about it, my experience is still limited to the task I'm trying to run. I'm building a passive visual task with 3 different group of stimuli that I'll show to the participant while recording with EEG (Net Station Package, Geodesic EGI 256 channels). Ive settled all the features needed to put the softwares (E-Prime and Net Station) in communication but when I run the experiment this is the out come: No such attribute Researcher ID Line 2556 Error Number -990 - Both the systems are connected by hardwere and turned on - Before adding Net Station Package in E-prime the experiment was running - I added the CellList under unreferenced object with the columns "CellNumber" e "CellLabel" - I suppose can be something related to the values in the TrialList It seems is a small thing because when I run the experiment it starts until it asks "if I want to overwrite on the other session ecc..." Then it crashes down out coming that sentence. I guess there should be a point of the menu in which I can also set other attributes like gender, age, favorite hand or other staff like that. Thank you!! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/bf741e0e-a59b-4680-818b-5c7b0faaa438%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From thesportdr at gmail.com Fri Sep 12 14:11:41 2014 From: thesportdr at gmail.com (Sean Mullen) Date: Fri, 12 Sep 2014 09:11:41 -0500 Subject: Confidentiality/protection of data In-Reply-To: Message-ID: It lives on your local machine if you are running via EPrime. On Thu, Sep 11, 2014 at 11:16 PM, Jonathan Kwok wrote: > Hi, > > I am a research assistant who wants to use E-Prime to use the attention > network test ( > https://www.sacklerinstitute.org/cornell/assays_and_tools/ant/jin.fan/) > in a study. Does the data have to travel through any servers or is the > program is completely localized to the computer it is run from? > > Thank you, > > Jonathan > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/ecbe43d6-ff2a-4be8-abe2-b2f1c18b138f%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- Sean Mullen, PhD Assistant Professor Director of the Exercise, Technology, & Cognition Laboratory Department of Kinesiology & Community Health University of Illinois at Urbana-Champaign Urbana, IL 61822 spmullen at illinois.edu 217-244-4502 http://exercisetechlab.com http://seanmullen.com @drseanmullen.com I have agreed to abide by the email charter. Read here: http://emailcharter.org -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKXPzZRQE3t4FJ-7QPkxd43xj-Z%3DRWiRFUparWfTCBbenCX8Sw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Sep 12 14:28:40 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 12 Sep 2014 10:28:40 -0400 Subject: Confidentiality/protection of data In-Reply-To: Message-ID: Jonathan, Hmm, is this what other people call a Flanker Task? But on to your question... Whether or not your data travel through any servers all depends on you. By default, E-Prime saves data to the same folder as your experiment program (.ebs/.ebs2 file). So if you run the program from a local drive, then by default your data get stored to that local drive, and if you run your program from a networked drive on a server (a bad idea for many reasons), then by default your data get stored to that networked drive. Then E-Prime also has mechanisms that allow you to store data to a location that you specify. Using that, you could run your experiment program from any local or networked drive, and have the data stored to any other local or networked drive. So again, whether or not your data travel through any servers is up to you. But as Sean already said, under any ordinary circumstances everything just stays on your local machine. But don't take our word for that, please ask PST Support yourself, and let us know what they say. Regards, ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/12/2014 10:11 AM Friday, Sean Mullen wrote: >It lives on your local machine if you are running via EPrime. > >On Thu, Sep 11, 2014 at 11:16 PM, Jonathan Kwok ><jonkwok at umich.edu> wrote: >Hi, > >I am a research assistant who wants to use E-Prime to use the >attention network test >(https://www.sacklerinstitute.org/cornell/assays_and_tools/ant/jin.fan/) >in a study. Does the data have to travel through any servers or is >the program is completely localized to the computer it is run from? > >Thank you, > >Jonathan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5413031d.4331320a.7df9.0abfSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Fri Sep 12 14:36:04 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 12 Sep 2014 10:36:04 -0400 Subject: Confidentiality/protection of data In-Reply-To: <5413031d.4331320a.7df9.0abfSMTPIN_ADDED_MISSING@gmr-mx.goo gle.com> Message-ID: Jonathan, Ah, perhaps you did not mean your question generally, but instead specifically about the E-Prime "ANT" downloadable from that site. In that case, it all depends on how they programmed their ANT. I very highly doubt that they programmed that to send data through a server, but to really know you would have to contact them directly, and/or download the program and look at it and test it yourself. Best, -- David McFarlane At 9/12/2014 10:28 AM Friday, David McFarlane wrote: >Jonathan, > >Hmm, is this what other people call a Flanker Task? But on to your >question... > >Whether or not your data travel through any servers all depends on >you. By default, E-Prime saves data to the same folder as your >experiment program (.ebs/.ebs2 file). So if you run the program >from a local drive, then by default your data get stored to that >local drive, and if you run your program from a networked drive on a >server (a bad idea for many reasons), then by default your data get >stored to that networked drive. > >Then E-Prime also has mechanisms that allow you to store data to a >location that you specify. Using that, you could run your >experiment program from any local or networked drive, and have the >data stored to any other local or networked drive. > >So again, whether or not your data travel through any servers is up >to you. But as Sean already said, under any ordinary circumstances >everything just stays on your local machine. But don't take our >word for that, please ask PST Support yourself, and let us know what they say. > >Regards, >----- >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) You may reach PST's >trained staff (and other support facilities) at >https://support.pstnet.com . 3) 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 9/12/2014 10:11 AM Friday, Sean Mullen wrote: >>It lives on your local machine if you are running via EPrime. >> >>On Thu, Sep 11, 2014 at 11:16 PM, Jonathan Kwok >><jonkwok at umich.edu> wrote: >>Hi, >> >>I am a research assistant who wants to use E-Prime to use the >>attention network test >>(https://www.sacklerinstitute.org/cornell/assays_and_tools/ant/jin.fan/) >>in a study. Does the data have to travel through any servers or is >>the program is completely localized to the computer it is run from? >> >>Thank you, >> >>Jonathan > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To unsubscribe from this group and stop receiving emails from it, >send an email to e-prime+unsubscribe at googlegroups.com. >To post to this group, send email to e-prime at googlegroups.com. >To view this discussion on the web visit >https://groups.google.com/d/msgid/e-prime/5413031d.4331320a.7df9.0abfSMTPIN_ADDED_MISSING%40gmr-mx.google.com. >For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/541304d9.4331320a.7df9.0af7SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From kbrown6 at wellesley.edu Fri Sep 12 19:45:21 2014 From: kbrown6 at wellesley.edu (Kelsey A Brown) Date: Fri, 12 Sep 2014 12:45:21 -0700 Subject: setting two different conditions for the experiment as a part of the initial script In-Reply-To: <80664503-df91-43df-a65c-efa7fc166e8e@googlegroups.com> Message-ID: Hello Everyone, I just have a follow up question to my question above. I was able to create the list for the two groups with pctcorrect as an attribute following all of the steps David V and David McFarlane provided; however, I have a brief question about running the experiment with this setup. Will I be able to determine which trialproc a subject was placed in (highfrustrationproc or lowfrustrationproc) or is this something I would have to designate beforehand? I figure with the counterbalancing I wouldn't have to designate this, but I would need to know which procedure each participant completed. Also, in the experiment object properties startup information, I have group checked where I can input either 1 or 2 to state which condition the participant is assigned.Is this beginning group step necessary if I have E-prime counterbalance subjects into the two conditions using the list I created? I guess the main question I am asking is if I can simple uncheck group in the experiment object properties start-up information given that I have counterbalanced the list of procedures? Thanks, Kelsey On Monday, September 8, 2014 5:27:08 PM UTC-4, Kelsey A Brown wrote: > > Hello Everyone, > > I am trying to use E-prime to build a stop signal frustration task, but I > have encountered a few complications in building the task. > At the moment, I am trying to create an initial script that would allow > E-prime to automatically run a participant in a condition (high frustration > or low frustration) depending on the participant number that I input before > running the experiment. > So for example, if I wanted to run 80 participants, half would be placed > in the high frustration condition and the other half would be placed in the > low frustration condition. > > I have some ideas about how this could theoretically be carried out, but > I'm not sure if/how this can actually be implemented in the script. For > example, I would want the initial script to begin by telling the program to > pull 40 random numbers 1-80 (I would need to somehow make the same 40 > numbers be pulled each time). The 40 numbers pulled would be placed in the > low frustration condition where pctcorrect (percent correct)=.80. > If else, (so if one of the other 40 numbers were pulled), place the > participant in a high frustration condition where pctcorrect (percent > correct)=.30. > > e.g. If I were running the program and I typed in my participant number as > 3 and 3 was one of the random numbers pulled between 1 and 80 then the > program would automatically run the stop signal task placing the > participant in the low frustration condition where pctcorrect=.80 (where > participants could accurately inhibit on 80% of stop signal trials). > > However, if the participant ID number was 8 and 8 was not one of the 40 > random numbers initially pulled between 1 and 80 then the program would > place the participant in the high frustration condition where > pctcorrect=.30. > > > Is this something that is possible in E-prime? > > I hope this makes sense. Thanks in advance for your input! > -Kelsey > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7819ea58-0208-464e-87b5-7d41d900cc8c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at wermes.de Mon Sep 15 07:27:14 2014 From: richard at wermes.de (richard at wermes.de) Date: Mon, 15 Sep 2014 00:27:14 -0700 Subject: Continuous Performance Task In-Reply-To: Message-ID: Thanks for the advice. I'll stay with generating a list outside E-Prime then, seems to be the easiest way. Am Donnerstag, 11. September 2014 16:02:25 UTC+2 schrieb ric... at wermes.de: > > I would like to implement a Continuous Performance Task (CTP). With this > task, single letters are presented and subjects are asked to react whenever > they detect an X, appearing after an O appeared. I need about 500 trials > for that and lets say 50 target-combinations. > > The only idea that come to my mind was creating a list including the > variables stimulus1 and stimulus2, including a procedure showing two > textdisplays in a row (stimulus1 and stimulus2). My problem with that: I > would need 250 rows in that list. If I had less rows and random cycles, i > might get additional unwanted target-combinations.. > > Any ideas for different, more ellegant approches? > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/54b3fa1f-0deb-4dd6-87a4-c61b4a68dc54%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.vinson at ucl.ac.uk Mon Sep 15 09:37:09 2014 From: d.vinson at ucl.ac.uk (David Vinson) Date: Mon, 15 Sep 2014 10:37:09 +0100 Subject: setting two different conditions for the experiment as a part of the initial script In-Reply-To: <7819ea58-0208-464e-87b5-7d41d900cc8c@googlegroups.com> Message-ID: Hi Kelsey, You should be able to tell which trialproc a subject was in: if you designate this in a top-level List it will appear as Procedure[Block] in the .edat2 file. As you describe it, Group is redundant, possibly subject to user error (if you mis-key Group it has no effect on the condition run) and less informative than Procedure[Block] which has a descriptive name rather than just values of 1/2. An alternative is to keep Group in your startup and use it rather than Subject for counterbalancing. best, DavidV On 12/09/2014 20:45, Kelsey A Brown wrote: > Hello Everyone, > > I just have a follow up question to my question above. I was able to > create the list for the two groups with pctcorrect as an attribute > following all of the steps David V and David McFarlane provided; > however, I have a brief question about running the experiment with > this setup. Will I be able to determine which trialproc a subject was > placed in (highfrustrationproc or lowfrustrationproc) or is this > something I would have to designate beforehand? I figure with the > counterbalancing I wouldn't have to designate this, but I would need > to know which procedure each participant completed. Also, in the > experiment object properties startup information, I have group checked > where I can input either 1 or 2 to state which condition the > participant is assigned.Is this beginning group step necessary if I > have E-prime counterbalance subjects into the two conditions using the > list I created? I guess the main question I am asking is if I can > simple uncheck group in the experiment object properties start-up > information given that I have counterbalanced the list of procedures? > Thanks, > Kelsey > > On Monday, September 8, 2014 5:27:08 PM UTC-4, Kelsey A Brown wrote: > > Hello Everyone, > > I am trying to use E-prime to build a stop signal frustration > task, but I have encountered a few complications in building the > task. > At the moment, I am trying to create an initial script that would > allow E-prime to automatically run a participant in a condition > (high frustration or low frustration) depending on the participant > number that I input before running the experiment. > So for example, if I wanted to run 80 participants, half would be > placed in the high frustration condition and the other half would > be placed in the low frustration condition. > > I have some ideas about how this could theoretically be carried > out, but I'm not sure if/how this can actually be implemented in > the script. For example, I would want the initial script to begin > by telling the program to pull 40 random numbers 1-80 (I would > need to somehow make the same 40 numbers be pulled each time). The > 40 numbers pulled would be placed in the low frustration condition > where pctcorrect (percent correct)=.80. > If else, (so if one of the other 40 numbers were pulled), place > the participant in a high frustration condition where pctcorrect > (percent correct)=.30. > > e.g. If I were running the program and I typed in my participant > number as 3 and 3 was one of the random numbers pulled between 1 > and 80 then the program would automatically run the stop signal > task placing the participant in the low frustration condition > where pctcorrect=.80 (where participants could accurately inhibit > on 80% of stop signal trials). > > However, if the participant ID number was 8 and 8 was not one of > the 40 random numbers initially pulled between 1 and 80 then the > program would place the participant in the high frustration > condition where pctcorrect=.30. > > > Is this something that is possible in E-prime? > > I hope this makes sense. Thanks in advance for your input! > -Kelsey > > -- > You received this message because you are subscribed to the Google > Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to e-prime+unsubscribe at googlegroups.com > . > To post to this group, send email to e-prime at googlegroups.com > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/7819ea58-0208-464e-87b5-7d41d900cc8c%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. -- David Vinson, Ph.D. ESRC Research Fellow Experimental Psychology University College London 26 Bedford Way, London WC1H 0AP Tel +44 (0)20 7679 5311 (UCL internal ext. 25311) -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5416B345.6070009%40ucl.ac.uk. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmaxwel8 at asu.edu Tue Sep 16 19:01:14 2014 From: jmaxwel8 at asu.edu (jmaxwel8 at asu.edu) Date: Tue, 16 Sep 2014 12:01:14 -0700 Subject: Object Buffer Time, can you record audio files longer than 1 Min.? Message-ID: I'm attempting to record audio for a trial that lasts 8 Minuets. The limit to audio recording time, due to the buffer, is 1 Min (60000 ms). Is there a way to extend this past 1 min? Thanks everyone! Josh Maxwell -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/d8f89a1d-a1a8-4004-a986-ec6b612cdc59%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kllewis89 at gmail.com Wed Sep 17 20:19:28 2014 From: kllewis89 at gmail.com (Kim Lewis) Date: Wed, 17 Sep 2014 15:19:28 -0500 Subject: Using Tobii extension for eprime with a mouse device Message-ID: Hi everyone, I'm attempting to incorporate the Tobii eyetracker extension into an eprime experiment and we want to allow participants to click with the mouse rather than use a keyboard for a response. The issue we're running into is that it appears the way the Tobii extension works is it treats the eye gaze fixation point as a cursor, so if we attempt to show the actual mouse cursor on the screen the cursor moves with the eye gaze as well. Before I go in depth into my design setup and inline I just want to know if anyone else has tried to do something similar, or if this is even possible? Any help would be very much appreciated. Thank you! -Kim -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAM%2B3Mrx7OphhLf2CCanZd3xMnatsSPrEh3r2ZSjWY8FnjGFK-g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gott623 at hotmail.com Thu Sep 18 13:39:49 2014 From: gott623 at hotmail.com (Nobuyuki Jincho) Date: Thu, 18 Sep 2014 06:39:49 -0700 Subject: Using Tobii extension for eprime with a mouse device In-Reply-To: Message-ID: Hi Kim,. As to your question, I think it's possible to use the eye gaze point (each sample point, not fixation) as the point (i.e., x-y coordinates). We have made the moving window paradigm (reading) experiment demo (not for a real experiment) with EET. Best wishes, Nobuyuki 2014?9?18???? 5?19?57? UTC+9 Kim Lewis: > > Hi everyone, > I'm attempting to incorporate the Tobii eyetracker extension into an > eprime experiment and we want to allow participants to click with the mouse > rather than use a keyboard for a response. The issue we're running into is > that it appears the way the Tobii extension works is it treats the eye gaze > fixation point as a cursor, so if we attempt to show the actual mouse > cursor on the screen the cursor moves with the eye gaze as well. > > Before I go in depth into my design setup and inline I just want to know > if anyone else has tried to do something similar, or if this is even > possible? > > Any help would be very much appreciated. Thank you! > -Kim > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/cbe78eca-f822-4a52-8eee-22c688e6bd99%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Sep 22 18:38:54 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 22 Sep 2014 14:38:54 -0400 Subject: Object Buffer Time, can you record audio files longer than 1 Min.? In-Reply-To: Message-ID: Josh, You might do better by asking PST Support directly at https://support.pstnet.com . Then please post their response back here for the rest of us. Thanks, -- David McFarlane At 9/16/2014 03:01 PM Tuesday, jmaxwel8 at asu.edu wrote: >I'm attempting to record audio for a trial that lasts 8 >Minuets. The limit to audio recording time, due to the buffer, is 1 >Min (60000 ms). Is there a way to extend this past 1 min? >Thanks everyone! >Josh Maxwell -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/54206cc5.252e320a.01fd.41dcSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From elmoro5185 at gmail.com Tue Sep 23 14:34:36 2014 From: elmoro5185 at gmail.com (juan concepcion) Date: Tue, 23 Sep 2014 10:34:36 -0400 Subject: Stimulus marker Message-ID: Hello I need help with sending an alphanumeric marker when presenting a stimulus. I have set the port for communication and already have successfully sent markers to another program. My wish now is to send markers if stimuli are correct or incorrect. So for example if stimulus is correct send marker "1" and if stimulus is incorrect send marker "0". I need to understand how in-line script does this and what to write in the in-line script for it to perform the function specified. Thank you in advance!!! Juan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CALsz0u5CNuStP8SM-0QBSyWsRhgGMvQzYuf2V-3%3Df_W8ASD7Mw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From elmoro5185 at gmail.com Tue Sep 23 15:11:41 2014 From: elmoro5185 at gmail.com (juan concepcion) Date: Tue, 23 Sep 2014 11:11:41 -0400 Subject: How to send triggers timing to EEG through parallel port? In-Reply-To: <0ece8e39-f8ce-4859-b445-4a460ce6ffe1@googlegroups.com> Message-ID: Parallel.WriteString "1" ' for marker 1?? This worked for me connecting two programs. But I did not use a parallel. I used a serial, so for my experiment I wrote Serial.WriteString "1" for marker 1. Info can be accesed through this example: http://truebra.in/?p=244 Good luck!!! Juan On Tue, Sep 9, 2014 at 4:11 PM, Hong91101 wrote: > Hi, David: > > Yes, I got the tech support from Eprime, and updated the windows, seems > that helps with the setup. > Thank you for telling me about the task event, it is very helpful. > Best regards, > > Xianghong > > > > On Saturday, September 6, 2014 6:31:44 AM UTC-7, McFarlane, David wrote: > >> Well, first of all make sure that you installed the Port I/O device >> driver when you installed E-Prime. Beyond that, please contact PST >> Support. >> >> -- David McFarlane >> >> >> Hong91101 wrote: >> > Here is the error in script, attached >> > Thanks for helping... >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "E-Prime" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an email to e-prime+u... at googlegroups.com >> > . >> > To post to this group, send email to e-p... at googlegroups.com >> > . >> > To view this discussion on the web visit >> > https://groups.google.com/d/msgid/e-prime/ba865015-6ea0- >> 42b9-8227-f25199aadff2%40googlegroups.com >> > > 42b9-8227-f25199aadff2%40googlegroups.com?utm_medium= >> email&utm_source=footer>. >> > For more options, visit https://groups.google.com/d/optout. >> >> -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/0ece8e39-f8ce-4859-b445-4a460ce6ffe1%40googlegroups.com > > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CALsz0u4nEp_WzctV2m9PSgCoZVqE49vTkahc929GvD4gE3MJpw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Sep 23 15:53:43 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 23 Sep 2014 11:53:43 -0400 Subject: Stimulus marker In-Reply-To: Message-ID: Juan, Once again, if you use EP2.0.10 or later, I think you can do this better with Task Events than with inline code. How about the following: Suppose you use the object StimSlide to get your subject response. Make sure that it logs StimSlide.ACC; you might also have to set its PreRelease to 0 to make sure that E-Prime sets the StimSlide.ACC attribute before executing the next object. Set up your trial Procedure something like ... StimSlide MarkerWait ... MarkerWait is a Wait object with a Duration of 0. Add a Task Event at StartTime, ActionTime, or OnsetTime (in this case it hardly matters which, if you want to know the difference please see https://groups.google.com/d/topic/e-prime/OeiZ00V9SRc ). Set it to use your communications device (ParallelPort, Serial, etc.). Use WriteString as the Action, "(custom)" as the Source, "[StimSlide.ACC]" for Custom, String for Data Type; leave Delay at 0, and Enabled at Yes. The key is the Custom value for the Task Event. If StimSlide is set to log .ACC, then E-Prime will automatically create the StimSlide.ACC attribute (though you might have to set PreRelease to 0 to make sure that MarkerWait does not try to use that attribute before its value is set!). Then MarkerWait can use that as an attribute reference in the Custom value. I have not tested this out myself, so I will be very interested to learn what you get to work. Please write back. ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/23/2014 10:34 AM Tuesday, juan concepcion wrote: >Hello I need help with sending an alphanumeric >marker when presenting a stimulus. I have set >the port for communication and already have >successfully sent markers to another program.? > >My wish now is to send markers if stimuli are >correct or incorrect. So for example if stimulus >is correct send marker "1" and if stimulus is >incorrect send marker "0". I need to understand >how ? in-line script does this and what to write >in the in-line script for it to perform the function specified. > >Thank you in advance!!! > >Juan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/54219788.066b320a.21ca.0f18SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From elmoro5185 at gmail.com Tue Sep 23 16:15:20 2014 From: elmoro5185 at gmail.com (juan concepcion) Date: Tue, 23 Sep 2014 12:15:20 -0400 Subject: Stimulus marker In-Reply-To: <54219788.066b320a.21ca.0f18SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thank you for the fast response. I will carefully look at the advice. Thanks alot!! Juan On Tue, Sep 23, 2014 at 11:53 AM, David McFarlane wrote: > Juan, > > Once again, if you use EP2.0.10 or later, I think you can do this better > with Task Events than with inline code. How about the following: > > Suppose you use the object StimSlide to get your subject response. Make > sure that it logs StimSlide.ACC; you might also have to set its PreRelease > to 0 to make sure that E-Prime sets the StimSlide.ACC attribute before > executing the next object. Set up your trial Procedure something like > > ... > StimSlide > MarkerWait > ... > > MarkerWait is a Wait object with a Duration of 0. Add a Task Event at > StartTime, ActionTime, or OnsetTime (in this case it hardly matters which, > if you want to know the difference please see https://groups.google.com/d/ > topic/e-prime/OeiZ00V9SRc ). Set it to use your communications device > (ParallelPort, Serial, etc.). Use WriteString as the Action, "(custom)" as > the Source, "[StimSlide.ACC]" for Custom, String for Data Type; leave Delay > at 0, and Enabled at Yes. > > The key is the Custom value for the Task Event. If StimSlide is set to > log .ACC, then E-Prime will automatically create the StimSlide.ACC > attribute (though you might have to set PreRelease to 0 to make sure that > MarkerWait does not try to use that attribute before its value is set!). > Then MarkerWait can use that as an attribute reference in the Custom value. > > I have not tested this out myself, so I will be very interested to learn > what you get to work. Please write back. > > ----- > 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) You may reach PST's trained > staff (and other support facilities) at https://support.pstnet.com . 3) > 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 9/23/2014 10:34 AM Tuesday, juan concepcion wrote: > >> Hello I need help with sending an alphanumeric marker when presenting a >> stimulus. I have set the port for communication and already have >> successfully sent markers to another program.? >> >> My wish now is to send markers if stimuli are correct or incorrect. So >> for example if stimulus is correct send marker "1" and if stimulus is >> incorrect send marker "0". I need to understand how ? in-line script does >> this and what to write in the in-line script for it to perform the function >> specified. >> >> Thank you in advance!!! >> >> Juan >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/e-prime/54219788.066b320a.21ca.0f18SMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CALsz0u5A41hGjb10oRwh65busBr54J_1f7Z7Wf68-uVtUMEBFw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From elmoro5185 at gmail.com Tue Sep 23 20:58:30 2014 From: elmoro5185 at gmail.com (juan concepcion) Date: Tue, 23 Sep 2014 16:58:30 -0400 Subject: Stimulus marker In-Reply-To: Message-ID: Well I've tried it but no success. I get this report (adjunct to this e-mail). It says that it could not find the attribute StimSlide.ACC. I've tried changing the name of instead of StimSlide.ACC to Target.ACC because the slide in my experiment is called Target. Also, I've checked the ACC dependent measure logging. One question: (is this for the purpose to create an attribute so that when the task event calls for that attribute, it exists?). Also I've tried it for a Cue slide. To the cue slide I've added: Onset and Offset. It did not yielded results since I can not get pass the aboved mentioned error. Best reguards, Juan On Tue, Sep 23, 2014 at 12:15 PM, juan concepcion wrote: > Thank you for the fast response. I will carefully look at the advice. > > Thanks alot!! > > Juan > > On Tue, Sep 23, 2014 at 11:53 AM, David McFarlane > wrote: > >> Juan, >> >> Once again, if you use EP2.0.10 or later, I think you can do this better >> with Task Events than with inline code. How about the following: >> >> Suppose you use the object StimSlide to get your subject response. Make >> sure that it logs StimSlide.ACC; you might also have to set its PreRelease >> to 0 to make sure that E-Prime sets the StimSlide.ACC attribute before >> executing the next object. Set up your trial Procedure something like >> >> ... >> StimSlide >> MarkerWait >> ... >> >> MarkerWait is a Wait object with a Duration of 0. Add a Task Event at >> StartTime, ActionTime, or OnsetTime (in this case it hardly matters which, >> if you want to know the difference please see >> https://groups.google.com/d/topic/e-prime/OeiZ00V9SRc ). Set it to use >> your communications device (ParallelPort, Serial, etc.). Use WriteString >> as the Action, "(custom)" as the Source, "[StimSlide.ACC]" for Custom, >> String for Data Type; leave Delay at 0, and Enabled at Yes. >> >> The key is the Custom value for the Task Event. If StimSlide is set to >> log .ACC, then E-Prime will automatically create the StimSlide.ACC >> attribute (though you might have to set PreRelease to 0 to make sure that >> MarkerWait does not try to use that attribute before its value is set!). >> Then MarkerWait can use that as an attribute reference in the Custom value. >> >> I have not tested this out myself, so I will be very interested to learn >> what you get to work. Please write back. >> >> ----- >> 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) You may reach PST's >> trained staff (and other support facilities) at >> https://support.pstnet.com . 3) 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 9/23/2014 10:34 AM Tuesday, juan concepcion wrote: >> >>> Hello I need help with sending an alphanumeric marker when presenting a >>> stimulus. I have set the port for communication and already have >>> successfully sent markers to another program.? >>> >>> My wish now is to send markers if stimuli are correct or incorrect. So >>> for example if stimulus is correct send marker "1" and if stimulus is >>> incorrect send marker "0". I need to understand how ? in-line script does >>> this and what to write in the in-line script for it to perform the function >>> specified. >>> >>> Thank you in advance!!! >>> >>> Juan >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to e-prime+unsubscribe at googlegroups.com. >> To post to this group, send email to e-prime at googlegroups.com. >> To view this discussion on the web visit https://groups.google.com/d/ >> msgid/e-prime/54219788.066b320a.21ca.0f18SMTPIN_ >> ADDED_MISSING%40gmr-mx.google.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CALsz0u4H-6wBtuUgeRnL5W93YfYTqicy0Kq0BnxJ4KH6PcUfEQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Target.Tasks.Reset If Serial.GetState() = ebStateOpen Then Target.Tasks.Add Serial.CreateTask(ebUCase_T & ebLCase_a & ebLCase_r & ebLCase_g & ebLCase_e & ebLCase_t & ebDot & ebUCase_A & ebLCase_c & ebLCase_t & ebLCase_i & ebLCase_o & ebLCase_n & ebUCase_T & ebLCase_i & ebLCase_m & ebLCase_e, CLng(ebDigit_0), ebUCase_W & ebLCase_r & ebLCase_i & ebLCase_t & ebLCase_e & ebUCase_S & ebLCase_t & ebLCase_r & ebLCase_i & ebLCase_n & ebLCase_g, ebParenOpen & ebLCase_c & ebLCase_u & ebLCase_s & ebLCase_t & ebLCase_o & ebLCase_m & ebParenClose, c.GetAttrib(ebUCase_T & ebLCase_a & ebLCase_r & ebLCase_g & ebLCase_e & ebLCase_t & ebDot & ebUCase_A & ebUCase_C & ebUCase_C), ebUCase_S & ebLCase_t & ebLCase_r & ebLCase_i & ebLCase_n & ebLCase_g, CLogical(ebUCase_Y & ebLCase_e & ebLCase_s)) End If If Serial.GetState() = ebStateOpen Then Target.Tasks.Add Serial.CreateTask(ebUCase_T & ebLCase_a & ebLCase_r & ebLCase_g & ebLCase_e & ebLCase_t & ebDot & ebUCase_O & ebLCase_f & ebLCase_f & ebLCase_s & ebLCase_e & ebLCase_t & ebUCase_T & ebLCase_i & ebLCase_m & ebLCase_e, CLng(ebDigit_0), ebUCase_W & ebLCase_r & ebLCase_i & ebLCase_t & ebLCase_e & ebUCase_S & ebLCase_t & ebLCase_r & ebLCase_i & ebLCase_n & ebLCase_g, ebParenOpen & ebLCase_c & ebLCase_u & ebLCase_s & ebLCase_t & ebLCase_o & ebLCase_m & ebParenClose, c.GetAttrib(ebUCase_T & ebLCase_a & ebLCase_r & ebLCase_g & ebLCase_e & ebLCase_t & ebDot & ebUCase_O & ebLCase_f & ebLCase_f & ebLCase_s & ebLCase_e & ebLCase_t & ebUCase_T & ebLCase_i & ebLCase_m & ebLCase_e), ebUCase_S & ebLCase_t & ebLCase_r & ebLCase_i & ebLCase_n & ebLCase_g, CLogical(ebUCase_Y & ebLCase_e & ebLCase_s)) End If If Serial.GetState() = ebStateOpen Then Target.Tasks.Add Serial.CreateTask(ebUCase_T & ebLCase_a & ebLCase_r & ebLCase_g & ebLCase_e & ebLCase_t & ebDot & ebUCase_O & ebLCase_n & ebLCase_s & ebLCase_e & ebLCase_t & ebUCase_T & ebLCase_i & ebLCase_m & ebLCase_e, CLng(ebDigit_0), ebUCase_W & ebLCase_r & ebLCase_i & ebLCase_t & ebLCase_e & ebUCase_S & ebLCase_t & ebLCase_r & ebLCase_i & ebLCase_n & ebLCase_g, ebParenOpen & ebLCase_c & ebLCase_u & ebLCase_s & ebLCase_t & ebLCase_o & ebLCase_m & ebParenClose, c.GetAttrib(ebUCase_T & ebLCase_a & ebLCase_r & ebLCase_g & ebLCase_e & ebLCase_t & ebDot & ebUCase_O & ebLCase_n & ebLCase_s & ebLCase_e & ebLCase_t & ebUCase_T & ebLCase_i & ebLCase_m & ebLCase_e), ebUCase_S & ebLCase_t & ebLCase_r & ebLCase_i & ebLCase_n & ebLCase_g, CLogical(ebUCase_Y & ebLCase_e & ebLCase_s)) End If Target.Run c.SetAttrib Target.Name & ebDot & ebLogNameOnsetDelay, Target.OnsetDelay c.SetAttrib Target.Name & ebDot & ebLogNameOnsetTime, Target.OnsetTime c.SetAttrib Target.Name & ebDot & ebLogNameDurationError, Target.DurationError c.SetAttrib Target.Name & ebDot & ebLogNameOffsetTime, Target.OffsetTime c.SetAttrib Target.Name & ebDot & ebLogNameRTTime, Target.RTTime c.SetAttrib Target.Name & ebDot & ebLogNameACC, Target.ACC c.SetAttrib Target.Name & ebDot & ebLogNameRT, Target.RT c.SetAttrib Target.Name & ebDot & ebLogNameRESP, Target.RESP c.SetAttrib Target.Name & ebDot & ebLogNameCRESP, Target.CRESP c.SetAttrib Target.Name & ebDot & ebLogNameTag, Target.Tag c.SetAttrib Target.Name & ebDot & ebLogNameOnsetToOnsetTime, Target.OnsetToOnsetTime From mcfarla9 at msu.edu Tue Sep 23 21:19:37 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 23 Sep 2014 17:19:37 -0400 Subject: Stimulus marker In-Reply-To: Message-ID: Juan, 1) The name of the object referenced in the Custom field of the Task Event must match the name of the stimulus object that gets the response. "StimSlide" was just an example. If your stimulus object is named "Target", then you must use "[Target.ACC]" (and BTW, capitalization does not matter). 2) Yes, the dependent measure logging is just for the purpose of creating an attribute so that when the Task Event calls for that attribute, it exists (although you probably want to log it anyway). 3) Did you set PreRelease of Target to 0? That alone might cause your error. 4) In a pinch, you might add an inline object between Target and MarkerWait just to explicitly set the attribute: c.SetAttrib "Target.ACC", Target.ACC but this may also fail if you do not set the PreRelease of Target to 0 (think about it). To be sure, I threw together a little demo of my own, and it ran without any problem as long as I enabled the proper logging. If I turned off logging, then I got the "attribute does not exist" runtime error. Just set Data Logging of Target to "Standard" to be sure. For the record, my test program still ran even with PreRelease set to "(same as duration)", but I expect that it did not produce the correct output. I did not hook up anything to look at the output signals, so this was not a complete test, but as I said at least the program did not crash. Regards, -- David McFarlane At 9/23/2014 04:58 PM Tuesday, juan concepcion wrote: >Well I've tried it but no success. > >I get this report (adjunct to this e-mail). > >It says that it could not find the attribute >StimSlide.ACC. I've tried changing the name of >instead of StimSlide.ACC to Target.ACC because >the slide in my experiment is called Target. >Also, I've checked the ACC dependent measure logging. > >One question: (is this for the purpose to create >an attribute so that when the task event calls for that attribute, it exists?). > >Also I've tried it for a Cue slide. To the cue >slide I've added: Onset and Offset. It did not >yielded results since I can not get pass the aboved mentioned error. > >Best reguards, > >Juan > > > >On Tue, Sep 23, 2014 at 12:15 PM, juan >concepcion <elmoro5185 at gmail.com> wrote: >Thank you for the fast response. I will carefully look at the advice. > >Thanks alot!! > >Juan > >On Tue, Sep 23, 2014 at 11:53 AM, David >McFarlane <mcfarla9 at msu.edu> wrote: >Juan, > >Once again, if you use EP2.0.10 or later, I >think you can do this better with Task Events >than with inline code.? How about the following: > >Suppose you use the object StimSlide to get your >subject response.? Make sure that it logs >StimSlide.ACC; you might also have to set its >PreRelease to 0 to make sure that E-Prime sets >the StimSlide.ACC attribute before executing the >next object.? Set up your trial Procedure something like > >? ? ... >? ? StimSlide >? ? MarkerWait >? ? ... > >MarkerWait is a Wait object with a Duration of >0.? Add a Task Event at StartTime, ActionTime, >or OnsetTime (in this case it hardly matters >which, if you want to know the difference please >see >https://groups.google.com/d/topic/e-prime/OeiZ00V9SRc >).? ? Set it to use your communications device >(ParallelPort, Serial, etc.).? Use WriteString >as the Action, "(custom)" as the Source, >"[StimSlide.ACC]" for Custom, String for Data >Type; leave Delay at 0, and Enabled at Yes. > >The key is the Custom value for the Task >Event.? If StimSlide is set to log .ACC, then >E-Prime will automatically create the >StimSlide.ACC attribute (though you might have >to set PreRelease to 0 to make sure that >MarkerWait does not try to use that attribute >before its value is set!).? Then MarkerWait can >use that as an attribute reference in the Custom value. > >I have not tested this out myself, so I will be >very interested to learn what you get to work.? Please write back. > >----- >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) >You may reach PST's trained staff (and other >support facilities) at >https://support.pstnet.com >.? 3) 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 9/23/2014 10:34 AM Tuesday, juan concepcion wrote: >Hello I need help with sending an alphanumeric >marker when presenting a stimulus. I have set >the port for communication and already have >successfully sent markers to another program.?' > >My wish now is to send markers if stimuli are >correct or incorrect. So for example if stimulus >is correct send marker "1" and if stimulus is >incorrect send marker "0". I need to understand >how ?' in-line script does this and what to >write in the in-line script for it to perform the function specified. > >Thank you in advance!!! > >Juan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5421e3ec.4331320a.416a.13d3SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From lrjkeeta at gmail.com Wed Sep 24 00:22:22 2014 From: lrjkeeta at gmail.com (Keeta Jones) Date: Tue, 23 Sep 2014 17:22:22 -0700 Subject: VAS and mouse state Message-ID: I'm working with Groot's VAS script and need to modify it such that the slider won't move until the left mouse button is pressed and the task ends when the button is released. As is, the simply moving the mouse moves the slider and a single click ends the task. I've already set mouse collection mode to presses and releases, but I don't know what (or where) to change in the code. All help is GREATLY appreciated, Keeta -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/d435c999-03c2-45bd-be74-c07248f310ca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From valerio.salvati at uniroma1.it Wed Sep 24 10:35:06 2014 From: valerio.salvati at uniroma1.it (Valerio) Date: Wed, 24 Sep 2014 03:35:06 -0700 Subject: How to set the initialization prompts Message-ID: Hello Everybody, I'm finding difficulties to understand where in E-Prime setting is possible to set the INITIALIZATION PROMPTS. Specifically I would like to set the Researcher ID, number,gender, handleness of the participant. I have been looking in many tutorials but I can't find nothing about it. Someone can suggest me a source or anythng useful? Thank you very much and good research to everybody! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/a513aaa6-6608-4c51-8b71-e38202897397%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From zhenguangcai at gmail.com Wed Sep 24 16:48:38 2014 From: zhenguangcai at gmail.com (Zhenguang Cai) Date: Wed, 24 Sep 2014 09:48:38 -0700 Subject: Cannot play sounds! Message-ID: Hi, I have previously play sound files a lot, but today I tried to used SoundOut but cannot load my sound files. EPrime gave me the following error message: Run-time Error (Line 505) 1234: Unable to load sound 205 In the "Advisor", it also said: The "WordS" object uses an [attribute] reference for its Filename property and the resolved value cannot be found on disk. This is puzzling because I used [WordS].wav as the filename in SoundOut and all the sound files are at the same directory as the script and are wav 16 bit 44.1 kz stereo (see attached). More interestingly, I tried my previous EPrime scripts (which worked before) and they did not work with the current version of EPrime (2.0.10 ...). I read the following post but could not figure out what it means! http://www.pstnet.com/support/kb.asp?TopicID=3299 Thanks for any advice. Zhenguang Cai -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5c980b2c-0160-4ba7-b99c-93e10239f967%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: A_bangs.wav Type: audio/x-wav Size: 63974 bytes Desc: not available URL: From zhenguangcai at gmail.com Thu Sep 25 10:57:57 2014 From: zhenguangcai at gmail.com (Zhenguang Cai) Date: Thu, 25 Sep 2014 03:57:57 -0700 Subject: Cannot play sounds! In-Reply-To: <5c980b2c-0160-4ba7-b99c-93e10239f967@googlegroups.com> Message-ID: I tried the script with a different computer and it worked. So the problem seems to be due to my laptop (Win 7). -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/8d7ecbd3-530d-48af-8334-02bacd7d6d48%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.vinson at ucl.ac.uk Thu Sep 25 11:09:43 2014 From: d.vinson at ucl.ac.uk (David Vinson) Date: Thu, 25 Sep 2014 12:09:43 +0100 Subject: Cannot play sounds! In-Reply-To: <8d7ecbd3-530d-48af-8334-02bacd7d6d48@googlegroups.com> Message-ID: Weird - do you have some atypical sound devices installed, or any custom audio/video software (any additional codecs can be "absorbed" by E-Prime and influence behaviour). Sometimes I found these problems solved themselves if I uninstalled E-Prime completely, set up a different user account and then reinstalled E-Prime, running it only in that stripped down account. You could get our departmental IT support to check it out, they do have some experience helping with E-Prime installs.. -d On 25/09/2014 11:57, Zhenguang Cai wrote: > I tried the script with a different computer and it worked. So the > problem seems to be due to my laptop (Win 7). > -- > You received this message because you are subscribed to the Google > Groups "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to e-prime+unsubscribe at googlegroups.com > . > To post to this group, send email to e-prime at googlegroups.com > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/e-prime/8d7ecbd3-530d-48af-8334-02bacd7d6d48%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. -- David Vinson, Ph.D. Institute for Multimodal Communication http://institute-for-multimodal-communication.org Department of Experimental Psychology University College London 26 Bedford Way, London WC1H 0AP Tel +44 (0)20 7679 5311 (UCL internal ext. 25311) Out now: Royal Society Theme issue "Language as a multimodal phenomenon" http://rstb.royalsocietypublishing.org/site/2014/multimodal.xhtml -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5423F7F7.5050005%40ucl.ac.uk. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at wermes.de Thu Sep 25 14:25:35 2014 From: richard at wermes.de (Richard Wermes) Date: Thu, 25 Sep 2014 07:25:35 -0700 Subject: Block randomized task order Message-ID: I created two tasks in one file that shall be executed in my experiment one after another. The order of tasks shall be set at random, so that there are two different orders. However, I need the number of participants doing the whole task in one order to be equal to the number of participants doing it the other way around. Any ideas how i can do that without creating two seperate files and randomize outside E-prime? Richard -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/580d0a1a-0289-468d-9f37-df2b2c8b32ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Sep 25 20:47:28 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 25 Sep 2014 16:47:28 -0400 Subject: How to set the initialization prompts In-Reply-To: Message-ID: You will find documentation for this in section 1.3.2.3 of the Reference Guide that came with E-Prime. (We also go over this in a lesson in my online E-Prime course.) I will take this opportunity to tell everyone that it is well worth your trouble to first go through all the manuals that come with E-Prime. The supplied documentation falls far short of what we need, but it is pretty good on the parts that it covers, so we might as well make full use of what we do get. ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/24/2014 06:35 AM Wednesday, Valerio wrote: >I'm finding difficulties to understand where in E-Prime setting is >possible to set the INITIALIZATION PROMPTS. Specifically I would >like to set the Researcher ID, number,gender, handleness of the participant. >I have been looking in many tutorials but I can't find nothing about it. > >Someone can suggest me a source or anythng useful? > >Thank you very much and good research to everybody! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/54247f65.6a02320a.3971.1dedSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From semeon.risom at gmail.com Fri Sep 26 02:51:15 2014 From: semeon.risom at gmail.com (semeon.risom at gmail.com) Date: Thu, 25 Sep 2014 19:51:15 -0700 Subject: Sending Keyboard responses to OnsetSignalPort Message-ID: Hello, I'm attempting to have participant keyboard responses sent as an OffsetSignalPort per trial, but I need some help developing the inline statement to run to generate this. This is an example of the inline I'm working with so far. Stimulus.OnsetSignalEnabled = True Stimulus.OnsetSignalPort = SPort Stimulus.OnsetSignalData = c.GetAttrib("Trigger") Stimulus.OffsetSignalEnabled = True Stimulus.OffsetSignalPort = SPort Stimulus.OffsetSignalData = 0 - Semeon -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/f882753f-ec01-484c-adb5-b7b53068e40c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kllewis89 at gmail.com Fri Sep 26 13:45:10 2014 From: kllewis89 at gmail.com (Kim Lewis) Date: Fri, 26 Sep 2014 06:45:10 -0700 Subject: Using Tobii extension for eprime with a mouse device In-Reply-To: Message-ID: Hi Nobuyuki, Thank you for your response! Would you be willing to share the portion of your inline where you call the eye gaze sample point? I'm not sure what syntax you would use. Thank you so very much again. -Kim On Thursday, September 18, 2014 8:39:49 AM UTC-5, Nobuyuki Jincho wrote: > > Hi Kim,. > > As to your question, I think it's possible to use the eye gaze point (each > sample point, not fixation) as the point (i.e., x-y coordinates). > We have made the moving window paradigm (reading) experiment demo (not for > a real experiment) with EET. > > Best wishes, > > Nobuyuki > > > 2014?9?18???? 5?19?57? UTC+9 Kim Lewis: >> >> Hi everyone, >> I'm attempting to incorporate the Tobii eyetracker extension into an >> eprime experiment and we want to allow participants to click with the mouse >> rather than use a keyboard for a response. The issue we're running into is >> that it appears the way the Tobii extension works is it treats the eye gaze >> fixation point as a cursor, so if we attempt to show the actual mouse >> cursor on the screen the cursor moves with the eye gaze as well. >> >> Before I go in depth into my design setup and inline I just want to know >> if anyone else has tried to do something similar, or if this is even >> possible? >> >> Any help would be very much appreciated. Thank you! >> -Kim >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/014d299e-efa2-425a-ba4a-984c272f1ba8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kllewis89 at gmail.com Fri Sep 26 13:46:32 2014 From: kllewis89 at gmail.com (Kim Lewis) Date: Fri, 26 Sep 2014 06:46:32 -0700 Subject: Using Tobii extension for eprime with a mouse device In-Reply-To: Message-ID: Hi Nobuyuki, Thank you for your response! Would you be willing to share the portion of your inline where you call the eye gaze sample point? I'm not sure what syntax you would use. Thank you so very much again. -Kim -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/fd9cd4b0-5104-429d-b7f5-ce29f30b50ee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Sep 26 14:02:39 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 26 Sep 2014 10:02:39 -0400 Subject: Sending Keyboard responses to OnsetSignalPort In-Reply-To: Message-ID: Semeon, That would be nice wouldn't it? But I do not see any way to use the stimulus OffsetSignal to output a response measure. OffsetSignal values are set statically before the stimulus object runs, so it does not have any mechanism for outputting a value determined dynamically during the stimulus. But for other ideas on this, see the threads at https://groups.google.com/d/topic/e-prime/z8PQMH1cf70 , https://groups.google.com/d/topic/e-prime/7w5ajYuHqgw , and https://groups.google.com/d/topic/e-prime/OeiZ00V9SRc . A few more comments: - These threads boil down to using WritePort at the time of response. - Alternatively, you could follow the stimulus with inline code to set the OnsetSignalData of the next object, and let the next object (e.g., a Wait object with Duration 0) output the signal. - With Task Events, you could skip all the inline code and use an object after your stimulus to output the response measure (see, e.g., https://groups.google.com/d/topic/e-prime/fAHqIoYiW1A ). Hope that helps, ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/25/2014 10:51 PM Thursday, semeon.risom at gmail.com wrote: >I'm attempting to have participant keyboard responses sent as an >OffsetSignalPort per trial, but I need some help developing the >inline statement to run to generate this. > >This is an example of the inline I'm working with so far. > >Stimulus.OnsetSignalEnabled = True >Stimulus.OnsetSignalPort = SPort >Stimulus.OnsetSignalData = c.GetAttrib("Trigger") > >Stimulus.OffsetSignalEnabled = True >Stimulus.OffsetSignalPort = SPort >Stimulus.OffsetSignalData = 0 > >- Semeon -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/54257203.036b320a.19fa.0c4aSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From seapsy at gmail.com Sat Sep 27 17:46:44 2014 From: seapsy at gmail.com (Haiobo Zhou) Date: Sun, 28 Sep 2014 01:46:44 +0800 Subject: Edit the *.ebs2 file Message-ID: Dear all I have a ebs2 file from others.How can I edit the ebs2 file such as modify the duration of anTextDisplay object. The *.ebs file can be open and edited easily, but how to do with ebs2 file? Thanks. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CACVvh%2BTtbFO%2BnbL_%2BXYuHim%2BVb374p4KO8HCuV6gptu9L_EWpw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From semeon.risom at gmail.com Sun Sep 28 15:00:11 2014 From: semeon.risom at gmail.com (semeon.risom at gmail.com) Date: Sun, 28 Sep 2014 08:00:11 -0700 Subject: RGB triggers Message-ID: I'm struggling sending RGB triggers from E-Prime to PyCoder. Our system is set up to send RGB triggers directly to a VIEWPixx monitor, which then sends it out to an amplifier. From the amplifier, the triggers are supposed received to another computer and recorded on PyCorder. Depending on the RGB value, 24 unique triggers can be created. Triggers are being sent at their correct time-point, but regardless of what color pixel (R,G,B) is being included into Eprime, the same trigger output (below) is still showing up on PyCorder. I've created triggers using the canvas inLine and loading .png files. I've attached the output to this post. Any experience or advice with this issue? Or perhaps an example e-prime file would help immensely. Thanks! - Semeon -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/d4d129f6-97a2-4ba0-bba0-b91ff3d4fffe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: triggers.png Type: image/png Size: 60967 bytes Desc: not available URL: From semeon.risom at gmail.com Sun Sep 28 15:00:41 2014 From: semeon.risom at gmail.com (semeon.risom at gmail.com) Date: Sun, 28 Sep 2014 08:00:41 -0700 Subject: Sending Keyboard responses to OnsetSignalPort In-Reply-To: <54257203.036b320a.19fa.0c4aSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: The links did help actually. Thanks! - Semeon On Friday, 26 September 2014 09:02:45 UTC-5, McFarlane, David wrote: > > Semeon, > > That would be nice wouldn't it? But I do not see any way to use the > stimulus OffsetSignal to output a response measure. OffsetSignal > values are set statically before the stimulus object runs, so it does > not have any mechanism for outputting a value determined dynamically > during the stimulus. > > But for other ideas on this, see the threads at > https://groups.google.com/d/topic/e-prime/z8PQMH1cf70 , > https://groups.google.com/d/topic/e-prime/7w5ajYuHqgw , and > https://groups.google.com/d/topic/e-prime/OeiZ00V9SRc . A few more > comments: > > - These threads boil down to using WritePort at the time of response. > - Alternatively, you could follow the stimulus with inline code to > set the OnsetSignalData of the next object, and let the next object > (e.g., a Wait object with Duration 0) output the signal. > - With Task Events, you could skip all the inline code and use an > object after your stimulus to output the response measure (see, e.g., > https://groups.google.com/d/topic/e-prime/fAHqIoYiW1A ). > > Hope that helps, > ----- > 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) You may reach PST's > trained staff (and other support facilities) at > https://support.pstnet.com . 3) 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 9/25/2014 10:51 PM Thursday, semeon... at gmail.com wrote: > >I'm attempting to have participant keyboard responses sent as an > >OffsetSignalPort per trial, but I need some help developing the > >inline statement to run to generate this. > > > >This is an example of the inline I'm working with so far. > > > >Stimulus.OnsetSignalEnabled = True > >Stimulus.OnsetSignalPort = SPort > >Stimulus.OnsetSignalData = c.GetAttrib("Trigger") > > > >Stimulus.OffsetSignalEnabled = True > >Stimulus.OffsetSignalPort = SPort > >Stimulus.OffsetSignalData = 0 > > > >- Semeon > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/7e671171-363d-4f07-bdf9-4bfe3a171b40%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From robmanc2014 at gmail.com Sun Sep 28 16:54:59 2014 From: robmanc2014 at gmail.com (Rob Manchester) Date: Sun, 28 Sep 2014 09:54:59 -0700 Subject: Select one of x text displays to show Message-ID: Hi Question about coding 'best practice' here. I need to insert something into an E-Prime program whereby depending on a variable value (iBlockCount) the screen should display one particular ?text display? from a set of text displays. The particular text display I want to show varies depending on the value of the variable (the displays relate to the message shown at the start of a 'block' of trials in an experimental paradigm'. To achieve this I've created a List item with procedures listed within in it,and then put each ?text displays? in its own individual procedure within the list item. I thought I could then get the code to dynamically select which level of the list item (and therefore which procedure and text display) to run, based on the variable value. I first tried to do this by setting the 'weight' of the list levels dynamically, so that only the one I want to show has a weight>0. With the list item set to run one repetition sequentially I thought this would just show the required text display and no others. However this failed to not show the text displays in levels with weight=0 (the code used is commented-out of the code below). What I've done instead is to alter the duration of the text displays so that the ones I don't want to show are set to duration=0 (code below). However this seems pretty clunky, and I get flickers where presumably the duration=0 text displays are showing for 1 refresh. Is there a better way of selecting 1 of x text displays to show? On a separate point, is there a way of setting the duration to ?(infinite)? using the code. I couldn't get E-prime basic to recognise either '(infinite)' of just 'infinite' as valid values, so I've had to use duration=1000000 as a proxy. Thanks Rob If iBlockCount = 1 Then 'set weights doesn't seem to work, so set duration instead 'StartScreen.SetWeight 1, 1 'StartScreen.SetWeight 2, 0 pressToStart.duration=1000000 pressToContinue.duration=0 Else 'StartScreen.SetWeight 1, 0 'StartScreen.SetWeight 2, 1 pressToStart.duration=0 pressToContinue.duration=1000000 debug.print pressToContinue.duration End If -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/ecf84a87-48fd-43e3-afd7-7e9fd0ab4abf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Sep 29 18:04:24 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 29 Sep 2014 14:04:24 -0400 Subject: Edit the *.ebs2 file In-Reply-To: Message-ID: PST removed practically all ability to edit .ebs2 files with E-Prime 2. If you like, you may open an .ebs2 file into any text editor. You will find that it is an xml file, with all the generated code enclosed in a tag. So if you are enterprising enough you might try decoding the bin.base64-endoded program code (try Googling "bin.base64"), edit that, and then re-encode it, but I do not know anyone who has tried that. And it hardly seems worth the effort, except in the most dire circumstances. ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/27/2014 01:46 PM Saturday, Haiobo Zhou wrote: >I have a ebs2 file from others.How can? I edit >the ebs2 file such as modify the duration of anTextDisplay object. >The *.ebs file can be open and edited easily, but how to do with ebs2 file? >Thanks. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/54299f2e.6594320a.6748.425aSMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Mon Sep 29 18:44:41 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 29 Sep 2014 14:44:41 -0400 Subject: Select one of x text displays to show In-Reply-To: Message-ID: Rob, Not sure I fully understand what you are up to here. But here are couple of ways to pick one level from a List. 1) Set the Order of the List to Counterbalance -- see https://groups.google.com/d/topic/e-prime/JtLh6DxqCbs for discussion. Note that the E-Studio GUI allows Counterbalancing only by Subject, Session, or Group, but see https://groups.google.com/d/topic/e-prime/CHntiIUbUmc for how to use inline code to counterbalance by other attributes. 2) Use List.GetAttrib directly -- see the "Factor.GetAttrib" topic in the E-Basic Help facility. BTW, for anyone who does find a need to manipulate List Weights at runtime, please see discussion at https://groups.google.com/d/topic/e-prime/FZ8FkYs3o2U . Also, if you really do need to "run" a stimulus without it doing anything (as opposed to simply bypassing it with a Goto and Label), then you might accomplish that by setting Duration to 0 *and* setting OnsetSync to "(none)". See the "RteRunnableInputObject.OnsetSync" topic in the E-Basic Help facility, and review the Critical Timing chapter in the User's Guide that came with E-Prime. As for setting an "infinite" Duration in code -- you could figure that out yourself just by setting some Duration to "(infinite)" and then looking at the generated code (that's how I figure out a lot of this stuff). If you do that, you should find that "(infinite)" translates simply to a Long value of -1 (negative one) in code, e.g., StimText.Duration = -1 means an infinite Duration. (To be fair, I know this factoid because EP1.0 explicitly used -1 for infinite in the GUI, we did not get an "(infinite)" option way back then. Sometimes making things more convenient also makes things harder.) ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/28/2014 12:54 PM Sunday, Rob Manchester wrote: >Question about coding 'best practice' here. I >need to insert something into an E-Prime program >whereby depending on a variable value >(iBlockCount) the screen should display one >particular ? EURO ~text display? EURO (tm) from a set of text >displays. The particular text display I want to >show varies depending on the value of the >variable (the displays relate to the message >shown at the start of a 'block' of trials in an experimental paradigm'. > >To achieve this I've created a List item with >procedures listed within in it,and then put each >? EURO ~text displays? EURO (tm) in its own individual >procedure within the list item. I thought I >could then get the code to dynamically select >which level of the list item (and therefore >which procedure and text display) to run, based >on the variable value. I first tried to do this >by setting the 'weight' of the list levels >dynamically, so that only the one I want to show >has a weight>0. With the list item set to run >one repetition sequentially I thought this would >just show the required text display and no >others. However this failed to not show the text >displays in levels with weight=0 (the code used >is commented-out of the code below). > >What I've done instead is to alter the duration >of the text displays so that the ones I don't >want to show are set to duration=0 (code below). >However this seems pretty clunky, and I get >flickers where presumably the duration=0 text >displays are showing for 1 refresh. Is there a >better way of selecting 1 of x text displays to show? > >On a separate point, is there a way of setting >the duration to ? EURO ~(infinite)? EURO (tm) using the code. >I couldn't get E-prime basic to recognise either >'(infinite)' of just 'infinite' as valid values, >so I've had to use duration=1000000 as a proxy. > >Thanks >Rob > >If iBlockCount = 1 Then >'set weights doesn't seem to work, so set duration instead > 'StartScreen.SetWeight 1, 1 > 'StartScreen.SetWeight 2, 0 > pressToStart.duration=1000000 > pressToContinue.duration=0 >Else > 'StartScreen.SetWeight 1, 0 > 'StartScreen.SetWeight 2, 1 > pressToStart.duration=0 > pressToContinue.duration=1000000 > debug.print pressToContinue.duration >End If -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/5429a8a0.3431320a.3aa6.42a0SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From seapsy at gmail.com Tue Sep 30 01:00:19 2014 From: seapsy at gmail.com (Haiobo Zhou) Date: Tue, 30 Sep 2014 09:00:19 +0800 Subject: Edit the *.ebs2 file In-Reply-To: <54299f2e.6594320a.6748.425aSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: I will try it Thanks so much, 2014-09-30 2:04 GMT+08:00 David McFarlane : > PST removed practically all ability to edit .ebs2 files with E-Prime 2. > > If you like, you may open an .ebs2 file into any text editor. You will > find that it is an xml file, with all the generated code enclosed in a > tag. So if you are enterprising enough > you might try decoding the bin.base64-endoded program code (try Googling > "bin.base64"), edit that, and then re-encode it, but I do not know anyone > who has tried that. And it hardly seems worth the effort, except in the > most dire circumstances. > > ----- > 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) You may reach PST's trained > staff (and other support facilities) at https://support.pstnet.com . 3) > 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 9/27/2014 01:46 PM Saturday, Haiobo Zhou wrote: > >> I have a ebs2 file from others.How can? I edit the ebs2 file such as >> modify the duration of anTextDisplay object. >> The *.ebs file can be open and edited easily, but how to do with ebs2 >> file? >> Thanks. >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to e-prime+unsubscribe at googlegroups.com. > To post to this group, send email to e-prime at googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/e-prime/54299f2e.6594320a.6748.425aSMTPIN_ > ADDED_MISSING%40gmr-mx.google.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CACVvh%2BQz15Nm%2BUJAbWHUhNg8gowbhKeNX1TZ9fesNevvc8txvg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: From arienelouanacaloia at googlemail.com Tue Sep 30 16:36:01 2014 From: arienelouanacaloia at googlemail.com (Ariene Caloia) Date: Tue, 30 Sep 2014 17:36:01 +0100 Subject: Data Logging Problem Message-ID: I'm very new to E-Prime so please forgive my ignorance, but I'm having some problems with the data logging and would be very grateful for any suggestions. I'm putting together a video based experiment which seems to all run fine, however the occasional response is not logging correctly and appears as 0. Having run the experiment again a few times, I've found that there is a lack of consistency with regard to which stimulus clip response is not logged, so I don't think the problem can be attributed to the video files themselves (which are in .wmv format - I converted some of the files which were .avi, as I was originally concerned that the different file types may have contributed to the problem, or that the .avi files might've been too large to process smoothly) I've also tried configuring the TextDisplay1 slide to log responses, in addition to the VideoSlide and ResponseSlide, but nor has this solved the problem. All ideas would be warmly welcomed, and I will do my best to answer any further questions (but speaking in layman's terms will help me!) Many thanks, Ariene -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/0E254C17-1808-462A-AEC5-5385838808AF%40googlemail.com. For more options, visit https://groups.google.com/d/optout. From mcfarla9 at msu.edu Tue Sep 30 17:59:50 2014 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 30 Sep 2014 13:59:50 -0400 Subject: Data Logging Problem In-Reply-To: <0E254C17-1808-462A-AEC5-5385838808AF@googlemail.com> Message-ID: Ariene, On the stimulus object that gets the response, what setting do you use for PreRelease? On the Procedure with that object, what setting do you use for Process Pending Input Masks? Is your stimulus object the last object in your Procedure? *If* your stimulus object is the last object in your Procedure, *and* its PreRelease is greater than 0, *and* you have Process Pending Input Masks set to "None", *and* a subject responds during the PreRelease period, *then* E-Prime would fail to log the response. Beyond that I am out of ideas. ----- 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) You may reach PST's trained staff (and other support facilities) at https://support.pstnet.com . 3) 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 9/30/2014 12:36 PM Tuesday, Ariene Caloia wrote: >I'm very new to E-Prime so please forgive my ignorance, but I'm >having some problems with the data logging and would be very >grateful for any suggestions. > >I'm putting together a video based experiment which seems to all run >fine, however the occasional response is not logging correctly and >appears as 0. Having run the experiment again a few times, I've >found that there is a lack of consistency with regard to which >stimulus clip response is not logged, so I don't think the problem >can be attributed to the video files themselves (which are in .wmv >format - I converted some of the files which were .avi, as I was >originally concerned that the different file types may have >contributed to the problem, or that the .avi files might've been too >large to process smoothly) > >I've also tried configuring the TextDisplay1 slide to log responses, >in addition to the VideoSlide and ResponseSlide, but nor has this >solved the problem. > >All ideas would be warmly welcomed, and I will do my best to answer >any further questions (but speaking in layman's terms will help me!) > >Many thanks, > >Ariene -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/542aef9e.036b320a.19fa.6630SMTPIN_ADDED_MISSING%40gmr-mx.google.com. For more options, visit https://groups.google.com/d/optout. From jsilkes at uw.edu Tue Sep 30 18:16:43 2014 From: jsilkes at uw.edu (JoAnn Silkes) Date: Tue, 30 Sep 2014 11:16:43 -0700 Subject: Data Logging Problem In-Reply-To: <0E254C17-1808-462A-AEC5-5385838808AF@googlemail.com> Message-ID: Ariene - In my experience, a data value of 0 can mean that there was no response provided during the designated response period. Is there a chance these responses were made even a few milliseconds late? JoAnn. On Tuesday, September 30, 2014 9:36:04 AM UTC-7, Ariene Caloia wrote: > > I'm very new to E-Prime so please forgive my ignorance, but I'm having > some problems with the data logging and would be very grateful for any > suggestions. > > I'm putting together a video based experiment which seems to all run fine, > however the occasional response is not logging correctly and appears as 0. > Having run the experiment again a few times, I've found that there is a > lack of consistency with regard to which stimulus clip response is not > logged, so I don't think the problem can be attributed to the video files > themselves (which are in .wmv format - I converted some of the files which > were .avi, as I was originally concerned that the different file types may > have contributed to the problem, or that the .avi files might've been too > large to process smoothly) > > I've also tried configuring the TextDisplay1 slide to log responses, in > addition to the VideoSlide and ResponseSlide, but nor has this solved the > problem. > > All ideas would be warmly welcomed, and I will do my best to answer any > further questions (but speaking in layman's terms will help me!) > > Many thanks, > > Ariene -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com. To post to this group, send email to e-prime at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/15dab471-a91d-4269-b02e-b07e3fa1a432%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -------------- next part -------------- An HTML attachment was scrubbed... URL: