From helminenterhi at gmail.com Sun Dec 2 20:36:56 2012 From: helminenterhi at gmail.com (terhi helminen) Date: Sun, 2 Dec 2012 22:36:56 +0200 Subject: pre-loading items in Slide object Message-ID: Hi, I have tried to preload soundfiles and moviefiles of a slide object in the beginning of the trial to decrease timing delay. (I can't use prerelease in my experiment.) I found a good example of preloading stimuli from http://imaging.mrc-cbu.cam.ac.uk/imaging/EprimeTiming : ---- This example shows how to preload soundfiles: 'Get the soundbuffer from the soundout objectDim SBuffer as SoundBufferSet SBuffer = SoundOut1.Buffers(1)'Assign the new filename (where Stimulus is name of attribute on list that lists sound files)SBuffer.Filename = c.GetAttrib("Stimulus")'Instruct the object to load the sound contents into its internal structuresSoundOut1SoundBuffer.Load And here’s how to preload images: 'Retrieve the image filename from the ContextDim strImageFileName As StringstrImageFileName = c.GetAttrib("imagefilename")'Assign the new filename and instruct the object'to load the imageImageDisplay1.Filename = strImageFileNameImageDisplay1.Load --- However, I didn't succeed in doing the same when the sound file and the movie files are subobjects of a slide object. Could somebody help me with this? Thank you in advance! Terhi -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mollykcannon at gmail.com Mon Dec 3 15:34:12 2012 From: mollykcannon at gmail.com (Molly Cannon) Date: Mon, 3 Dec 2012 07:34:12 -0800 Subject: Inline script for data logging Message-ID: Hello, I have created an experiment in e prime which works perfectly except for the data logging. In the experiment, participants select different videos to watch. There is an Image Display screen with pictures representing all the choices, participants choose the video they want to watch by pressing a number key. Then, an inline script sends them to the label that has the video they picked, they watch the video, provide a rating, and are then sent back to the original Image Display to select another clip. Because of the labels all the videos have to stay in the same procedure. This is causing a problem with the data logging because it is not recording multiple responses so I have no way to know the order participants watched the videos in. I am wondering if anyone knows how to write an inline script that will allow me to record each response to that original image display screen in the order they occur? Any advice would be appreciated! Thanks, Molly -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/GXUys1oBVx4J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Dec 3 19:37:46 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 3 Dec 2012 14:37:46 -0500 Subject: Inline script for data logging In-Reply-To: <100c45b2-bb0a-4823-b850-05b229aa60c3@googlegroups.com> Message-ID: Molly, To start with, you could always use c.Log to add a line to the .edat file at any time, combined with appropriate use of c.SetAttrib that should do the trick. See the "Context Object" topic in the E-Basic Help facility. Here is a trick if you would rather avoid inline code: In place of where your video plays now, put a new List with one row, and a Procedure that does nothing that plays the selected video (attributes defined at the higher level will be valid at the lower level). That will take care of the logging code for you. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 12/3/2012 10:34 AM Monday, you wrote: >I have created an experiment in e prime which works perfectly except >for the data logging. > >In the experiment, participants select different videos to watch. >There is an Image Display screen with pictures representing all the >choices, participants choose the video they want to watch by >pressing a number key. Then, an inline script sends them to the >label that has the video they picked, they watch the video, provide >a rating, and are then sent back to the original Image Display to >select another clip. Because of the labels all the videos have to >stay in the same procedure. This is causing a problem with the data >logging because it is not recording multiple responses so I have no >way to know the order participants watched the videos in. > >I am wondering if anyone knows how to write an inline script that >will allow me to record each response to that original image display >screen in the order they occur? > >Any advice would be appreciated! > >Thanks, >Molly -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Mon Dec 3 19:45:28 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 3 Dec 2012 14:45:28 -0500 Subject: pre-loading items in Slide object In-Reply-To: Message-ID: Terhi, Start by looking at the SlideSoundOut and SoundBuffer topics in the E-Basic Help facility. Then look at the "Load Image Upon Mouse Click" example from the Samples area of the PST website, I think that will show the mechanics of how to access Slide sub-objects. Then take it from there. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours -- this is pretty much their substitute for proper documentation, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 12/2/2012 03:36 PM Sunday, you wrote: >I have tried to preload soundfiles and moviefiles of a slide object >in the beginning of the trial to decrease timing delay. (I can't use >prerelease in my experiment.) > >I found a good example of preloading stimuli from >http://imaging.mrc-cbu.cam.ac.uk/imaging/EprimeTiming >: > >---- > >This example shows how to preload soundfiles: > > >'Get the soundbuffer from the soundout object >Dim SBuffer as SoundBuffer >Set SBuffer = SoundOut1.Buffers(1) > >'Assign the new filename (where Stimulus is name of attribute on >list that lists sound files) >SBuffer.Filename = c.GetAttrib("Stimulus") > >'Instruct the object to load the sound contents into its internal structures >SoundOut1SoundBuffer.Load > >And here's how to preload images: > > >'Retrieve the image filename from the Context >Dim strImageFileName As String >strImageFileName = c.GetAttrib("imagefilename") > >'Assign the new filename and instruct the object >'to load the image >ImageDisplay1.Filename = strImageFileName >ImageDisplay1.Load > >--- > > >However, I didn't succeed in doing the same when the sound file and >the movie files are subobjects of a slide object. Could somebody >help me with this? Thank you in advance! > >Terhi -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mspape at cognitology.eu Tue Dec 4 12:46:49 2012 From: mspape at cognitology.eu (Michiel Sovijarvi-Spape) Date: Tue, 4 Dec 2012 14:46:49 +0200 Subject: Tobii Extension and Windows 8 In-Reply-To: Message-ID: Hi, As far as I know: * the latest version of EP2 is release 10; * it 'should' be compatible. 'Ish? * as long as it's windows 7 x86 version you're talking about. I can confirm that various features, most annoyingly the serial port communication, does not work in x64 windows. You can find out which version of windows is running by going to start>control panel>system and under System Type. Of course, you could always install x86 windows on a x64 processor and as long as you're not handling large RAM, it should be fine. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Alison T Miller Singley Sent: 28 November 2012 00:59 To: e-prime at googlegroups.com Subject: Re: Tobii Extension and Windows 8 Actually, in attempting to install EP 2.0.8 on a Windows 7 computer, it told me it's NOT compatible with Windows 7. HOWEVER it does seem to run. If it gives you trouble, though, the compatibility mode is a neat trick: find the program settings from the Desktop or control panel (I forget exactly where I found it - Windows8 allows you to search for it) and go to the Compatibility tab. On Monday, November 26, 2012 5:54:55 PM UTC-8, Peter Quain wrote: yes it is supposed to - I'm just stuck in xp world (if it ain't broke, don't fix it) and didn't think much when replying to Alison ... more likely to find win7 drivers, probably At 12:49 PM 27/11/2012, you wrote: So EP doesn't work on Win 7? On Monday, November 26, 2012, Peter Quain wrote: Alison, I just looked at the PST info on e-prime OS compatibility, the link I posted. I don't know about Tobii issues. If you can get XP drivers for your new laptop then just format and then instal XP. If no XP drivers, then maybe trade with a colleague the new laptop for an older one with XP? At 06:09 AM 27/11/2012, you wrote: Thanks Peter - do you mind if I ask a follow-up? I should have mentioned that I'm running EPrime in compatibility mode with XP (using the Windows setting for the program). It does allow the program to run, up until the Tobii is required. So perhaps it's some interaction effect? On Wednesday, November 21, 2012 1:00:00 PM UTC-8, Alison T Miller Singley wrote: I have an experiment that was built in EPrime 2.0.8 and runs on a Tobii eyetracker just fine using a Window 7 computer (I don't know the 32/64 bit right now). However, I just got a new laptop (Windows 8, 64-bit) and am now receiving an EPrime error about TETConnect. You can bypass the error message and it runs the first part of the experiment, until it needs to engage the Tobii and then it shuts down. Any ideas whether this is a Windows 8 issue or a 64-bit issue? One I can fix by installing a different OS; I don't know how to fix the 64-bit issue if that's the cause. Thank you! Alison -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-p... at googlegroups.com . To unsubscribe from this group, send email to e-prime+u... at googlegroups.com . To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/h4U2hcjsMIcJ. 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 post to this group, send email to e-p... at googlegroups.com . To unsubscribe from this group, send email to e-prime+u... 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 post to this group, send email to e-p... at googlegroups.com . To unsubscribe from this group, send email to e-prime+u... 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 post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/DKszt6nZb3gJ. 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 post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pseudoverlighter at zonnet.nl Tue Dec 4 13:13:49 2012 From: pseudoverlighter at zonnet.nl (Mich) Date: Tue, 4 Dec 2012 15:13:49 +0200 Subject: pre-loading items in Slide object In-Reply-To: Message-ID: Hi, To start with, i have no idea, but i would suggest, if you must go this way, to look up how to set other subobjects of slides. With all the "set" manoeuvres and tons of code, I try to avoid. But once you're able to attach a different sound to your slide, you should be able to preload it. 1) While it is true that pre-loading can be of use, I believe having a sound object (like a soundout device, etc), will automatically add the preloading bit. 2) have you actually checked to see whether the timing errors are to worry about? 3) it should be possible to have sub-millisecond accurate simultaneous audio and video WHILST they are sequentially placed in the procedure. To do this, just add a sound before your slide, set its duration (and don't use sync), to 0, and make sure it continues playing after the soundout thing stops. If there's a timing error, you can easily add x microseconds of silence at the beginning of the sound file. Presto! You might get better results from using uncompressed audio and video files, though, and if the timing delay is really stable, you could always make the preceding interval smaller. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of terhi helminen Sent: 02 December 2012 22:37 To: e-prime at googlegroups.com Subject: pre-loading items in Slide object Hi, I have tried to preload soundfiles and moviefiles of a slide object in the beginning of the trial to decrease timing delay. (I can't use prerelease in my experiment.) I found a good example of preloading stimuli from http://imaging.mrc-cbu.cam.ac.uk/imaging/EprimeTiming : ---- This example shows how to preload soundfiles: 'Get the soundbuffer from the soundout object Dim SBuffer as SoundBuffer Set SBuffer = SoundOut1.Buffers(1) 'Assign the new filename (where Stimulus is name of attribute on list that lists sound files) SBuffer.Filename = c.GetAttrib("Stimulus") 'Instruct the object to load the sound contents into its internal structures SoundOut1SoundBuffer.Load And here’s how to preload images: 'Retrieve the image filename from the Context Dim strImageFileName As String strImageFileName = c.GetAttrib("imagefilename") 'Assign the new filename and instruct the object 'to load the image ImageDisplay1.Filename = strImageFileName ImageDisplay1.Load --- However, I didn't succeed in doing the same when the sound file and the movie files are subobjects of a slide object. Could somebody help me with this? Thank you in advance! Terhi -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Tue Dec 4 12:59:25 2012 From: mspape at cognitology.eu (Michiel Sovijarvi-Spape) Date: Tue, 4 Dec 2012 14:59:25 +0200 Subject: the feedback problem In-Reply-To: Message-ID: Hi Rongh, It is possible to use an array of char (string) as Correct property. If you have: 1, a list, with attribute CORRECTRESPONSE, with for each trial the correct string, 2, a picture for your stimulus, name it MYAWESOMEPICTURE. Add a keyboard input. Go to properties, duration/input tab, advanced options, and set max count to 2. 3, set the CORRECT property to [CORRECTRESPONSE], making use of kick-ass caps just because it's December and it's freezing outside 4, add a feedback display after MYAWESOMEPICTURE, go to properties (white hand) and add "MYAWESOMEPICTURE" as input object. It's a bit basic though, you might look up the inspiring "An E-Prime" and go through the exercises. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Rongh Zhou Sent: 29 November 2012 09:59 To: e-prime at googlegroups.com Subject: the feedback problem Hi, When I use E-prime to do my experiment, there comes a problem. What I want to do is to present a picture, participants have to response on the picture. There response must be string as the answers including 2 numbers. After they type in, there should be a feedback. If the answer is right, they do next question, if wrong, they have to learn a material. As the participants have to type string to make response, I don't know how to judge whether their answer is right or not. The list can not put 2 characteristics as answers. And also, how to do the feedback? So if there's any good idea to cope with it ? -- school of psychology, Northwest Normal University Lanzhou, Gansu. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Dec 4 15:22:38 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 4 Dec 2012 10:22:38 -0500 Subject: pre-loading items in Slide object In-Reply-To: <7.1.0.9.1.20121203144421.044f41d8@msu.edu> Message-ID: Terhi, Come to think of it, if you have EP2.0.10.242, then setting the new GeneratePreRun feature to TopOfProcedure (the default value) does exactly what you asked (pre-load Slide sub-objects at start of Procedure) automatically. If you have not already, this may make it worth your while to upgrade, but beware of all the new features & gotchas of the new version (see http://www.pstnet.com/support/kb.asp?TopicID=5345 for a few hints). ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 12/3/2012 02:45 PM Monday, David McFarlane wrote: >Terhi, > >Start by looking at the SlideSoundOut and SoundBuffer topics in the >E-Basic Help facility. Then look at the "Load Image Upon Mouse >Click" example from the Samples area of the PST website, I think >that will show the mechanics of how to access Slide >sub-objects. Then take it from there. > >----- >David McFarlane >E-Prime training >online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > >/---- >Stock reminder: 1) I do not work for PST. 2) PST's trained staff >take any and all questions at >http://support.pstnet.com/e%2Dprime/support/login.asp , and they >strive to respond to all requests in 24-48 hours -- this is pretty >much their substitute for proper documentation, so make full use of >it. 3) In addition, PST offers several instructional videos on >their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If >you do get an answer from PST staff, please extend the courtesy of >posting their reply back here for the sake of others. >\---- > > >At 12/2/2012 03:36 PM Sunday, you wrote: >>I have tried to preload soundfiles and moviefiles of a slide object >>in the beginning of the trial to decrease timing delay. (I can't >>use prerelease in my experiment.) >> >>I found a good example of preloading stimuli from >>http://imaging.mrc-cbu.cam.ac.uk/imaging/EprimeTiming >>: >> >>---- >> >>This example shows how to preload soundfiles: >> >> >> >>'Get the soundbuffer from the soundout object >>Dim SBuffer as SoundBuffer >>Set SBuffer = SoundOut1.Buffers(1) >> >>'Assign the new filename (where Stimulus is name of attribute on >>list that lists sound files) >>SBuffer.Filename = c.GetAttrib("Stimulus") >> >>'Instruct the object to load the sound contents into its internal structures >>SoundOut1SoundBuffer.Load >> >> >>And here's how to preload images: >> >> >> >>'Retrieve the image filename from the Context >>Dim strImageFileName As String >>strImageFileName = c.GetAttrib("imagefilename") >> >>'Assign the new filename and instruct the object >>'to load the image >>ImageDisplay1.Filename = strImageFileName >>ImageDisplay1.Load >> >>--- >> >> >> >>However, I didn't succeed in doing the same when the sound file and >>the movie files are subobjects of a slide object. Could somebody >>help me with this? Thank you in advance! >> >> >>Terhi -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mollykcannon at gmail.com Tue Dec 4 15:52:02 2012 From: mollykcannon at gmail.com (Molly Cannon) Date: Tue, 4 Dec 2012 10:52:02 -0500 Subject: Inline script for data logging In-Reply-To: <50bcff90.cb96320a.0cd8.45e1SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thank you! Add them into the list worked great after a little restructuring! I really appreciate the help! Molly On Mon, Dec 3, 2012 at 2:37 PM, David McFarlane wrote: > Molly, > > To start with, you could always use c.Log to add a line to the .edat file > at any time, combined with appropriate use of c.SetAttrib that should do > the trick. See the "Context Object" topic in the E-Basic Help facility. > > Here is a trick if you would rather avoid inline code: In place of where > your video plays now, put a new List with one row, and a Procedure that > does nothing that plays the selected video (attributes defined at the > higher level will be valid at the lower level). That will take care of the > logging code for you. > > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/** > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/**EPrimeMaster > ) > > /---- > Stock reminder: 1) I do not work for PST. 2) PST's trained staff take > any and all questions at http://support.pstnet.com/e%** > 2Dprime/support/login.asp, and they strive to respond to all requests in 24-48 hours. 3) In > addition, PST offers several instructional videos on their YouTube channel ( > http://www.youtube.com/user/**PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy > of posting their reply back here for the sake of others. > \---- > > > > At 12/3/2012 10:34 AM Monday, you wrote: > >> I have created an experiment in e prime which works perfectly except for >> the data logging. >> >> In the experiment, participants select different videos to watch. There >> is an Image Display screen with pictures representing all the choices, >> participants choose the video they want to watch by pressing a number key. >> Then, an inline script sends them to the label that has the video they >> picked, they watch the video, provide a rating, and are then sent back to >> the original Image Display to select another clip. Because of the labels >> all the videos have to stay in the same procedure. This is causing a >> problem with the data logging because it is not recording multiple >> responses so I have no way to know the order participants watched the >> videos in. >> >> I am wondering if anyone knows how to write an inline script that will >> allow me to record each response to that original image display screen in >> the order they occur? >> >> Any advice would be appreciated! >> >> Thanks, >> Molly >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To post to this group, send email to e-prime at googlegroups.com. > To unsubscribe from this group, send email to e-prime+unsubscribe@** > googlegroups.com . > For more options, visit https://groups.google.com/**groups/opt_out > . > > > -- Molly Cannon Doctoral Student Lifespan Emotional Development Lab (LEDlab) Northeastern University Nightingale Hall Phone: 617-373-5499 www.neu.edu/ledlab -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From yas.yazar at googlemail.com Wed Dec 5 00:14:57 2012 From: yas.yazar at googlemail.com (medda) Date: Tue, 4 Dec 2012 16:14:57 -0800 Subject: transforming setting from E-prime 1 to E-Prime 2 Professional. Message-ID: Hello there. I've been working on an issue that I could just not resolve: I have an E-Prime 1 code that changes the colour of the response option on the display screen to indicate confidence, i.e. the longer the subject presses the response button, the more the colour changes from one colour to another (within a certain time). I used the exact same code in a new Experiment which I started programming in E-Prime 2 Standard and it worked fine. But then I was forced to use E-Prime Professional (and can't really go back to Standard) and the code that has worked fine in earlier versions does not work any more. The colour does still change, but at a VERY slow rate, not as fast as it did before, and I just cannot figure out why. I am sure that I set all the Properties right at the respective slides, but there must be some default change in the E-Prime 2 Professional settings that are messing it up (e.g. the Generate PreRun Option in E-Prime 1 was always BeforeObjectRun, and in 2 it is TopOfProcedure - changing it has resolved other issues) - so if anyone knows of anything else I need to change in the Configurations, Settings, Properties etc. in E-Prime 2 Professional so I can run my E-Prime 1 code in a way that changes the colour as fast as it did in E-Prime 1, I'd really appreciate it! Thanks so much for help and comments! ~medda. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/CvDXyyBIO8AJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahuvayochevedsegal at gmail.com Wed Dec 5 01:55:23 2012 From: ahuvayochevedsegal at gmail.com (gugs) Date: Tue, 4 Dec 2012 17:55:23 -0800 Subject: Go/No-Go Task Programming (David McFarlane?) Message-ID: Hi All, I posted a query on the e-prime discussion forum last week but haven't had any replies yet. The main issue I am having in programming a go/no-go task is that the acc column is incorrectly returning a 0 when the answer is correct (but only for cases where an individual should not be responding to the stimulus). I have posted the detail here: https://www.pstnet.com/forum/Topic6489-23-1.aspx, but I will post them here as well in case someone has an idea of how to correct this. David - I know you are generally answered a lot of go/no-go extended input type queries so I was hoping you might know. =============== The task is fairly simple - an either emotive (i.e. happy, sad) or neutral word will appear on the screen for 300 ms, followed by a blank screen for 1200 seconds (for a total of 1500 ms). The participant needs to press the letter g if the word is neutral or do nothing if the word is emotive. Pressing the key should log a response time, but should not end the stimulus event (i.e. the stimulus+blank screen will always run for 1500 ms even if the participant responds within the first 300 ms). The participant can respond anytime throughout that 1500 msec. I understand this is called "extended input" - which I have accounted for by making the time limit>duration. My biggest problem that I noticed is that my RESP Acc is coming back as 0 when the correct action is to do nothing, and the person has not pressed any key. Do you know why this is? I have uploaded a simple example file showing just 4 practice trials. If someone who is experienced could take a look at it it would be much appreciated - I am all alone in my department working with e-prime and there is noone to really talk to here =================== P.S. I tried to attach the file here but it was giving me issues... Many thanks again! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/4WPeGzUmE5wJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From liwenna at gmail.com Wed Dec 5 10:07:44 2012 From: liwenna at gmail.com (Anne-Wil) Date: Wed, 5 Dec 2012 02:07:44 -0800 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: <581e6c4b-26c9-4ff1-9b17-b5fa06fab4b4@googlegroups.com> Message-ID: Hi Gugs, a quick first thought: did you indicate the correct response to be "" (e.g. nothing between " 's) for the trials in which 'nothing' is the correct response? On Wednesday, 5 December 2012 02:55:23 UTC+1, gugs wrote: > > Hi All, > I posted a query on the e-prime discussion forum last week but haven't had > any replies yet. The main issue I am having in programming a go/no-go task > is that the acc column is incorrectly returning a 0 when the answer is > correct (but only for cases where an individual should not be responding to > the stimulus). > > I have posted the detail here: > https://www.pstnet.com/forum/Topic6489-23-1.aspx, but I will post them > here as well in case someone has an idea of how to correct this. David - I > know you are generally answered a lot of go/no-go extended input type > queries so I was hoping you might know. > > =============== > > The task is fairly simple - an either emotive (i.e. happy, sad) or neutral > word will appear on the screen for 300 ms, followed by a blank screen for > 1200 seconds (for a total of 1500 ms). The participant needs to press the > letter g if the word is neutral or do nothing if the word is emotive. > Pressing the key should log a response time, but should not end the > stimulus event (i.e. the stimulus+blank screen will always run for 1500 ms > even if the participant responds within the first 300 ms). The participant > can respond anytime throughout that 1500 msec. I understand this is called > "extended input" - which I have accounted for by making the time > limit>duration. > > My biggest problem that I noticed is that my RESP Acc is coming back as 0 > when the correct action is to do nothing, and the person has not pressed > any key. Do you know why this is? > > I have uploaded a simple example file showing just 4 practice trials. If > someone who is experienced could take a look at it it would be much > appreciated - I am all alone in my department working with e-prime and > there is noone to really talk to here > > =================== > > P.S. I tried to attach the file here but it was giving me issues... > > Many thanks again! > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/JwyjUZWSa0kJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Wed Dec 5 14:03:21 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 5 Dec 2012 09:03:21 -0500 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: <5aa07e6d-a7dd-44e5-a6ce-04bb942d5d4e@googlegroups.com> Message-ID: Before going any further, please see http://www.pstnet.com/support/kb.asp?TopicID=1340 and http://www.pstnet.com/support/kb.asp?TopicID=5370 . ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /----------- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \----------- Anne-Wil wrote: > Hi Gugs, > > a quick first thought: did you indicate the correct response to be "" > (e.g. nothing between " 's) for the trials in which 'nothing' is the > correct response? > > On Wednesday, 5 December 2012 02:55:23 UTC+1, gugs wrote: > > Hi All, > I posted a query on the e-prime discussion forum last week but > haven't had any replies yet. The main issue I am having in > programming a go/no-go task is that the acc column is incorrectly > returning a 0 when the answer is correct (but only for cases where > an individual should not be responding to the stimulus). > > I have posted the detail here: > https://www.pstnet.com/forum/Topic6489-23-1.aspx > , but I will post > them here as well in case someone has an idea of how to correct > this. David - I know you are generally answered a lot of go/no-go > extended input type queries so I was hoping you might know. > > =============== > > The task is fairly simple - an either emotive (i.e. happy, sad) or > neutral word will appear on the screen for 300 ms, followed by a > blank screen for 1200 seconds (for a total of 1500 ms). The > participant needs to press the letter g if the word is neutral or do > nothing if the word is emotive. Pressing the key should log a > response time, but should not end the stimulus event (i.e. the > stimulus+blank screen will always run for 1500 ms even if the > participant responds within the first 300 ms). The participant can > respond anytime throughout that 1500 msec. I understand this is > called "extended input" - which I have accounted for by making the > time limit>duration. > > My biggest problem that I noticed is that my RESP Acc is coming back > as 0 when the correct action is to do nothing, and the person has > not pressed any key. Do you know why this is? > > I have uploaded a simple example file showing just 4 practice > trials. If someone who is experienced could take a look at it it > would be much appreciated - I am all alone in my department working > with e-prime and there is noone to really talk to here [Ermm] > > =================== > > P.S. I tried to attach the file here but it was giving me issues... > > Many thanks again! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Wed Dec 5 14:18:26 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 5 Dec 2012 09:18:26 -0500 Subject: transforming setting from E-prime 1 to E-Prime 2 Professional. In-Reply-To: <8623c612-2399-48c8-bb6d-329760481d05@googlegroups.com> Message-ID: Medda, Can't think of any reason that a mere change from EP2 non-Pro to Pro would have that effect. You should take this directly to the fine folks at PST Web Support, http://support.pstnet.com/e%2Dprime/support/login.asp . And then please post back here with their response, I would very much like to know the answer myself. Thanks, ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) medda wrote: > Hello there. > > I've been working on an issue that I could just not resolve: I have an > E-Prime 1 code that changes the colour of the response option on the > display screen to indicate confidence, i.e. the longer the subject > presses the response button, the more the colour changes from one colour > to another (within a certain time). I used the exact same code in a new > Experiment which I started programming in E-Prime 2 Standard and it > worked fine. But then I was forced to use E-Prime Professional (and > can't really go back to Standard) and the code that has worked fine in > earlier versions does not work any more. The colour does still change, > but at a VERY slow rate, not as fast as it did before, and I just cannot > figure out why. > > I am sure that I set all the Properties right at the respective slides, > but there must be some default change in the E-Prime 2 Professional > settings that are messing it up (e.g. the Generate PreRun Option in > E-Prime 1 was always BeforeObjectRun, and in 2 it is TopOfProcedure - > changing it has resolved other issues) - so if anyone knows of anything > else I need to change in the Configurations, Settings, Properties etc. > in E-Prime 2 Professional so I can run my E-Prime 1 code in a way that > changes the colour as fast as it did in E-Prime 1, I'd really appreciate > it! > > Thanks so much for help and comments! > > ~medda. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From alicerancai at gmail.com Wed Dec 5 16:39:07 2012 From: alicerancai at gmail.com (Alice Cai) Date: Wed, 5 Dec 2012 08:39:07 -0800 Subject: Moving Stimuli in E-prime Message-ID: Hi, I have a question regarding my experiment design. I would like to create a moving stimuli where participants decide whether the box is movingvertically or horizontally. I know that I can use different slides changing at 50 ms. per slide with different locations for the box (left, middle, right) but the problem is I will need to create a lot of slides and the E-prime program runs out of memory space. Is there any way to create just three slides, and have E-prime repeat these three slides until participants give a response? And then the experiment will jump to the next trial with three more slides? Any help will be greatly appreciated! Thank you! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/sNJ34-j7lNAJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Wed Dec 5 17:17:43 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 5 Dec 2012 12:17:43 -0500 Subject: Moving Stimuli in E-prime In-Reply-To: <50BF8088.7080906@msu.edu> Message-ID: Actually, it doesn't even have to be a Slide sub-object. You can manipulate the position of any visual object (e.g., TextDisplay, ImageDisplay, MovieDisplay) by using attribute references for its X & Y properties on the Frame tab -- assuming, of course, that its Width & Height values make sense. -- David McFarlane David McFarlane wrote: > A couple thoughts just to point you in some direction. First, look at > the Samples area of the PST website, you should find some examples of > how to animate stimuli there. Second, try just changing the X & Y > properties of a Slide sub-object. E.g., put a SlideText sub-object onto > a Slide, open the Property Pages for the SlideText object, and put > [StimX] and [StimY] for the X & Y properties. Now you may manipulate > the StimX & StimY attributes either using a List or using c.SetAttrib in > inline code. (This works for simple animations, but for fancier things > you might have to resort to Canvas programming; see the appropriate > topics in the E-Basic Help facility). > > Finally, I have a feeling this sort of thing has been answered before > (maybe even by me, but I am away from the machine where I keep my > E-Prime FAQ). So search the Group and the PST User Forum using terms > like "animate". Good luck. > > ----- > David McFarlane > E-Prime training online: > http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) > > /----------- > Stock reminder: 1) I do not work for PST. 2) PST's trained staff take > any and all questions at > http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive > to respond to all requests in 24-48 hours, so make full use of it. 3) > In addition, PST offers several instructional videos on their YouTube > channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an > answer from PST staff, please extend the courtesy of posting their reply > back here for the sake of others. > \----------- > > > Alice Cai wrote: >> Hi, >> >> I have a question regarding my experiment design. I would like to >> create a moving stimuli where participants decide whether the box is >> moving vertically or horizontally. I know that I can use different >> slides changing at 50 ms. per slide with different locations for the >> box (left, middle, right) but the problem is I will need to create a >> lot of slides and the E-prime program runs out of memory space. >> >> Is there any way to create just three slides, and have E-prime repeat >> these three slides until participants give a response? And then the >> experiment will jump to the next trial with three more slides? >> >> Any help will be greatly appreciated! Thank you! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Wed Dec 5 17:12:40 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 5 Dec 2012 12:12:40 -0500 Subject: Moving Stimuli in E-prime In-Reply-To: Message-ID: A couple thoughts just to point you in some direction. First, look at the Samples area of the PST website, you should find some examples of how to animate stimuli there. Second, try just changing the X & Y properties of a Slide sub-object. E.g., put a SlideText sub-object onto a Slide, open the Property Pages for the SlideText object, and put [StimX] and [StimY] for the X & Y properties. Now you may manipulate the StimX & StimY attributes either using a List or using c.SetAttrib in inline code. (This works for simple animations, but for fancier things you might have to resort to Canvas programming; see the appropriate topics in the E-Basic Help facility). Finally, I have a feeling this sort of thing has been answered before (maybe even by me, but I am away from the machine where I keep my E-Prime FAQ). So search the Group and the PST User Forum using terms like "animate". Good luck. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /----------- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \----------- Alice Cai wrote: > Hi, > > I have a question regarding my experiment design. I would like to create > a moving stimuli where participants decide whether the box is moving > vertically or horizontally. I know that I can use different slides > changing at 50 ms. per slide with different locations for the box (left, > middle, right) but the problem is I will need to create a lot of slides > and the E-prime program runs out of memory space. > > Is there any way to create just three slides, and have E-prime repeat > these three slides until participants give a response? And then the > experiment will jump to the next trial with three more slides? > > Any help will be greatly appreciated! Thank you! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From alicerancai at gmail.com Wed Dec 5 19:18:13 2012 From: alicerancai at gmail.com (Alice Cai) Date: Wed, 5 Dec 2012 11:18:13 -0800 Subject: Moving Stimuli in E-prime In-Reply-To: Message-ID: Dear David, Thank you so much, that was very helpful! Right now I have only one slide, and have many levels in the list to code for the location of the square (e.g., left, middle, right). I would like the slides to repeat itself until participants give a response. Once participants give a response, I want to give a 'feedback display'. I thought of using the jump function with labels, but the label can only jump within a procedure. This is a bit problematic because right now, even when participants give a response, it will only exit the procedure once all lists have been displayed (or when it reaches a time limit that I set, e.g., 4000 ms). Also, I need to record reaction time to the moving stimuli. However, right now e-prime doesn't record RT from the very first slide that participants see, but only for the slide that the responded to. So in order to know how long participants took to respond, I will need to add up the number of slides that was presented before hand and multiply it by how long the slides were displayed for (50 ms). Is there an easier way to record reaction time? Thank you very much for your help, please take your time to reply and any comments will be greatly appreciated! Thank you again! Alice On Wednesday, December 5, 2012 4:39:07 PM UTC, Alice Cai wrote: > Hi, > > I have a question regarding my experiment design. I would like to create a > moving stimuli where participants decide whether the box is movingvertically or horizontally. I know that I can use different slides changing > at 50 ms. per slide with different locations for the box (left, middle, > right) but the problem is I will need to create a lot of slides and the > E-prime program runs out of memory space. > > Is there any way to create just three slides, and have E-prime repeat > these three slides until participants give a response? And then the > experiment will jump to the next trial with three more slides? > > Any help will be greatly appreciated! Thank you! > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/D6j3Ko5pM34J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Wed Dec 5 20:57:35 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 5 Dec 2012 15:57:35 -0500 Subject: Moving Stimuli in E-prime In-Reply-To: Message-ID: Alice, Two brief thoughts... 1) You can use List.Terminate to exit out of a running List before it reaches its own end -- see that topic in the E-Basic Help facility. (With a bit of programming knowhow you don't even have to know the name of the running List, but I am not near my FAQ now to point you to the thread where I show that.) 2) Yes, adding up times is fraught with difficulty, you will almost certainly fail to include some interim times and get wrong values. But the E-Prime input mask facility really is beautiful once you fully understand it. Put a Wait object just before the start of your stimulus/response loop, outside the loop. Give that Wait a Duration of 0 (and think about the proper Onset Sync), and add your desired input mask to this Wait instead of within the loop. Give this input mask a Time Limit of (infinite). Now that Wait will look for a response any time during your stimulus/response loop, and Wait.RT will be the RT from the start of the loop until the response, without you having to compute anything! My online E-Prime course actually includes an exercise where we do this, might be worth looking into. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) Alice Cai wrote: > Dear David, > > Thank you so much, that was very helpful! Right now I have only one > slide, and have many levels in the list to code for the location of the > square (e.g., left, middle, right). I would like the slides to repeat > itself until participants give a response. Once participants give a > response, I want to give a 'feedback display'. I thought of using the > jump function with labels, but the label can only jump within a > procedure. This is a bit problematic because right now, even when > participants give a response, it will only exit the procedure once all > lists have been displayed (or when it reaches a time limit that I set, > e.g., 4000 ms). > > > Also, I need to record reaction time to the moving stimuli. However, > right now e-prime doesn't record RT from the very first slide that > participants see, but only for the slide that the responded to. So in > order to know how long participants took to respond, I will need to add > up the number of slides that was presented before hand and multiply it > by how long the slides were displayed for (50 ms). Is there an easier > way to record reaction time? > > Thank you very much for your help, please take your time to reply and > any comments will be greatly appreciated! > > Thank you again! > Alice > > > > On Wednesday, December 5, 2012 4:39:07 PM UTC, Alice Cai wrote: > > Hi, > > I have a question regarding my experiment design. I would like to > create a moving stimuli where participants decide whether the box is > moving vertically or horizontally. I know that I can use different > slides changing at 50 ms. per slide with different locations for the > box (left, middle, right) but the problem is I will need to create a > lot of slides and the E-prime program runs out of memory space. > > Is there any way to create just three slides, and have E-prime > repeat these three slides until participants give a response? And > then the experiment will jump to the next trial with three more slides? > > Any help will be greatly appreciated! Thank you! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From robert.s.c.amaral at gmail.com Thu Dec 6 04:00:33 2012 From: robert.s.c.amaral at gmail.com (Roberto) Date: Wed, 5 Dec 2012 20:00:33 -0800 Subject: Stop Movie troubles Message-ID: Hi all, This message board has helped me a lot! I was hoping someone would be able to help me with a problem I have not yet been able to solve. Im setting up an experiment that has this structure: 1. Intro screens (obviously) 2. Slide with sub objects: text and SoundOut 3. Slide with sub objects: MovieDisplay and SoundOut (i.e. movie and question presented simultaneously) 4. SoundOut object on its own (i.e. a beep) with recorded response (i.e. press 1 or 2). 5. Text slide with response (1 to 6). I am running into trouble in step 3. I would ultimately love for the movie to keep playing until a response is made after the beep (in step 4). This way a subject can see the video (plus hear some audio) and then make a response after a beep noise to which it would cause the stopping of the video. Thus, i have set the MovieDisplay with the settings as End Movie Action: "Terminate" and Stop Movie after: "No" so it can keep playing. However, when i do this the movie continues playing until its end, even after making a response after the auditory beep. I have tried to insert in-line code after the beep (i.e. Movie1.Stop) as this fellow poster did: https://groups.google.com/forum/#!msg/e-prime/XYEHpARxY0g/R0isrcBcBhQJ , but this just closes down the entire program. Does anyone have any suggestions? Is there any way i can tell eprime to end the movie (or the slide itself) after a response to the beep (in step 4) is made? I am not very proficient with code, although i have tried many shenanigans to get around this! Thank you for any help or advice! Roberto -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/eBnO1S2xHWAJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From robert.s.c.amaral at gmail.com Thu Dec 6 23:04:08 2012 From: robert.s.c.amaral at gmail.com (Robert Amaral) Date: Thu, 6 Dec 2012 18:04:08 -0500 Subject: Stop Movie troubles In-Reply-To: <50c0e570.849e320a.3e8d.ffff9938SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David, Thanks for the reply. That's actually the same thread i had referenced in my previous message. As from the suggestions in that post, using Movie1.Stop (or something along those lines) stops the video but shuts the trial down with an error message: "object variable or With block variable not set". Any ideas where i'm going wrong? Ive been struggling with this for a while, either way i will post back with anything i find anything... Roberto On Thu, Dec 6, 2012 at 1:35 PM, David McFarlane wrote: > Roberto, > > Glad that you have found the Group helpful. For this one, I typed > "e-prime moviedisplay stop" into Google for you, and came up with the > following thread which should help: https://groups.google.com/d/** > topic/e-prime/XYEHpARxY0g. > > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/** > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/**EPrimeMaster > ) > > > > At 12/5/2012 11:00 PM Wednesday, you wrote: > >> Hi all, >> This message board has helped me a lot! I was hoping someone would be >> able to help me with a problem I have not yet been able to solve. >> >> Im setting up an experiment that has this structure: >> 1. Intro screens (obviously) >> 2. Slide with sub objects: text and SoundOut >> 3. Slide with sub objects: MovieDisplay and SoundOut (i.e. movie and >> question presented simultaneously) >> 4. SoundOut object on its own (i.e. a beep) with recorded response (i.e. >> press 1 or 2). >> 5. Text slide with response (1 to 6). >> >> I am running into trouble in step 3. I would ultimately love for the >> movie to keep playing until a response is made after the beep (in step 4). >> This way a subject can see the video (plus hear some audio) and then make >> a response after a beep noise to which it would cause the stopping of the >> video. Thus, i have set the MovieDisplay with the settings as End Movie >> Action: "Terminate" and Stop Movie after: "No" so it can keep playing. >> However, when i do this the movie continues playing until its end, even >> after making a response after the auditory beep. I have tried to insert >> in-line code after the beep (i.e. Movie1.Stop) as this fellow poster did: >> https://groups.google.com/**forum/#!msg/e-prime/** >> XYEHpARxY0g/R0isrcBcBhQJ, but this just closes down the entire program. >> >> Does anyone have any suggestions? Is there any way i can tell eprime to >> end the movie (or the slide itself) after a response to the beep (in step >> 4) is made? I am not very proficient with code, although i have tried many >> shenanigans to get around this! >> >> Thank you for any help or advice! >> Roberto >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To post to this group, send email to e-prime at googlegroups.com. > To unsubscribe from this group, send email to e-prime+unsubscribe@** > 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 post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Dec 6 23:38:39 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 6 Dec 2012 18:38:39 -0500 Subject: Stop Movie troubles In-Reply-To: Message-ID: Roberto, Oops that's embarrassing, in my haste I overlooked your link, sorry. But then, I would not have gotten a followup with your runtime error message, which I think is diagnostic. Hmm, one way to get that runtime error is just to fail to initialize some object variable. E.g., the code Dim Text1 as TextDisplay Text1.Text = "Hello" will produce that run-time error, but the code Dim Text1 as TextDisplay Set Text1 = New TextDisplay Text1.Text = "Hello" or Dim Text1 as TextDisplay Set Text1 = StimText ' assuming StimText already exists Text1.Text = "Hello" will work. I suspect that your error has nothing to do with using MovieDisplay.Stop (or whatever) per se, but has to do with more general rules of E-Basic/VBA usage. BTW, this is also the sort of thing that PST Web Support is very good for. Hmm, after I wrote all that, I put 'e-prime "object variable or With block variable not set"', and came up with http://www.pstnet.com/support/kb.asp?TopicID=4782 , which tells how EP2 has an improved error message for this situation, and shows another example of this problem. (And now that I have written this up, I will add a link to this thread to my personal FAQ for the next time this comes up :) .) Hope that helps, -- David McFarlane At 12/6/2012 06:04 PM Thursday, you wrote: >Hi David, >Thanks for the reply. That's actually the same thread i had >referenced in my previous message. As from the suggestions in that >post, using Movie1.Stop (or something along those lines) stops the >video but shuts the trial down with an error message: "object >variable or With block variable not set". Any ideas where i'm going >wrong? Ive been struggling with this for a while, either way i will >post back with anything i find anything... > >Roberto > > >On Thu, Dec 6, 2012 at 1:35 PM, David McFarlane ><mcfarla9 at msu.edu> wrote: >Roberto, > >Glad that you have found the Group helpful. For this one, I typed >"e-prime moviedisplay stop" into Google for you, and came up with >the following thread which should >help: >https://groups.google.com/d/topic/e-prime/XYEHpARxY0g >. > >----- >David McFarlane >E-Prime training >online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster >(https://twitter.com/EPrimeMaster) > > > >At 12/5/2012 11:00 PM Wednesday, you wrote: >Hi all, >This message board has helped me a lot! I was hoping someone would >be able to help me with a problem I have not yet been able to solve. > >Im setting up an experiment that has this structure: >1. Intro screens (obviously) >2. Slide with sub objects: text and SoundOut >3. Slide with sub objects: MovieDisplay and SoundOut (i.e. movie and >question presented simultaneously) >4. SoundOut object on its own (i.e. a beep) with recorded response >(i.e. press 1 or 2). >5. Text slide with response (1 to 6). > >I am running into trouble in step 3. I would ultimately love for >the movie to keep playing until a response is made after the beep >(in step 4). This way a subject can see the video (plus hear some >audio) and then make a response after a beep noise to which it would >cause the stopping of the video. Thus, i have set the MovieDisplay >with the settings as End Movie Action: "Terminate" and Stop Movie >after: "No" so it can keep playing. However, when i do this the >movie continues playing until its end, even after making a response >after the auditory beep. I have tried to insert in-line code after >the beep (i.e. Movie1.Stop) as this fellow poster did: >https://groups.google.com/forum/#!msg/e-prime/XYEHpARxY0g/R0isrcBcBhQJ >, but this just closes down the entire program. > >Does anyone have any suggestions? Is there any way i can tell >eprime to end the movie (or the slide itself) after a response to >the beep (in step 4) is made? I am not very proficient with code, >although i have tried many shenanigans to get around this! > >Thank you for any help or advice! >Roberto -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Thu Dec 6 18:35:20 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 6 Dec 2012 13:35:20 -0500 Subject: Stop Movie troubles In-Reply-To: Message-ID: Roberto, Glad that you have found the Group helpful. For this one, I typed "e-prime moviedisplay stop" into Google for you, and came up with the following thread which should help: https://groups.google.com/d/topic/e-prime/XYEHpARxY0g . ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 12/5/2012 11:00 PM Wednesday, you wrote: >Hi all, >This message board has helped me a lot! I was hoping someone would >be able to help me with a problem I have not yet been able to solve. > >Im setting up an experiment that has this structure: >1. Intro screens (obviously) >2. Slide with sub objects: text and SoundOut >3. Slide with sub objects: MovieDisplay and SoundOut (i.e. movie and >question presented simultaneously) >4. SoundOut object on its own (i.e. a beep) with recorded response >(i.e. press 1 or 2). >5. Text slide with response (1 to 6). > >I am running into trouble in step 3. I would ultimately love for >the movie to keep playing until a response is made after the beep >(in step 4). This way a subject can see the video (plus hear some >audio) and then make a response after a beep noise to which it would >cause the stopping of the video. Thus, i have set the MovieDisplay >with the settings as End Movie Action: "Terminate" and Stop Movie >after: "No" so it can keep playing. However, when i do this the >movie continues playing until its end, even after making a response >after the auditory beep. I have tried to insert in-line code after >the beep (i.e. Movie1.Stop) as this fellow poster did: >https://groups.google.com/forum/#!msg/e-prime/XYEHpARxY0g/R0isrcBcBhQJ >, but this just closes down the entire program. > >Does anyone have any suggestions? Is there any way i can tell >eprime to end the movie (or the slide itself) after a response to >the beep (in step 4) is made? I am not very proficient with code, >although i have tried many shenanigans to get around this! > >Thank you for any help or advice! >Roberto -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From ahuvayochevedsegal at gmail.com Fri Dec 7 04:19:06 2012 From: ahuvayochevedsegal at gmail.com (gugs) Date: Thu, 6 Dec 2012 20:19:06 -0800 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: <50BF5429.60202@msu.edu> Message-ID: Hi David I actually did put a CorrAnswer tribute in the Trial List. I dont think the second topic applies to me because the length of the trial does not change based on the response - i.e. I simply want to log the accuracy and speed of the response - the stimulus will stay on the screen even if they responded in the stimulus period (and not the wait period). With regards to the trial list - is an empty cell = blank or does it have to have "" inside it? From the EPrime knowledge base it looks like it should be blank but from Anne-Wil's response it looks like it should have "" inside it. Regards. On Thursday, December 6, 2012 1:03:21 AM UTC+11, McFarlane, David wrote: > > Before going any further, please see > http://www.pstnet.com/support/kb.asp?TopicID=1340 and > http://www.pstnet.com/support/kb.asp?TopicID=5370 . > > ----- > David McFarlane > E-Prime training online: > http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) > > /----------- > Stock reminder: 1) I do not work for PST. 2) PST's trained staff take > any and all questions at > http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive > to respond to all requests in 24-48 hours, so make full use of it. 3) > In addition, PST offers several instructional videos on their YouTube > channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an > answer from PST staff, please extend the courtesy of posting their reply > back here for the sake of others. > \----------- > > > Anne-Wil wrote: > > Hi Gugs, > > > > a quick first thought: did you indicate the correct response to be "" > > (e.g. nothing between " 's) for the trials in which 'nothing' is the > > correct response? > > > > On Wednesday, 5 December 2012 02:55:23 UTC+1, gugs wrote: > > > > Hi All, > > I posted a query on the e-prime discussion forum last week but > > haven't had any replies yet. The main issue I am having in > > programming a go/no-go task is that the acc column is incorrectly > > returning a 0 when the answer is correct (but only for cases where > > an individual should not be responding to the stimulus). > > > > I have posted the detail here: > > https://www.pstnet.com/forum/Topic6489-23-1.aspx > > , but I will post > > them here as well in case someone has an idea of how to correct > > this. David - I know you are generally answered a lot of go/no-go > > extended input type queries so I was hoping you might know. > > > > =============== > > > > The task is fairly simple - an either emotive (i.e. happy, sad) or > > neutral word will appear on the screen for 300 ms, followed by a > > blank screen for 1200 seconds (for a total of 1500 ms). The > > participant needs to press the letter g if the word is neutral or do > > nothing if the word is emotive. Pressing the key should log a > > response time, but should not end the stimulus event (i.e. the > > stimulus+blank screen will always run for 1500 ms even if the > > participant responds within the first 300 ms). The participant can > > respond anytime throughout that 1500 msec. I understand this is > > called "extended input" - which I have accounted for by making the > > time limit>duration. > > > > My biggest problem that I noticed is that my RESP Acc is coming back > > as 0 when the correct action is to do nothing, and the person has > > not pressed any key. Do you know why this is? > > > > I have uploaded a simple example file showing just 4 practice > > trials. If someone who is experienced could take a look at it it > > would be much appreciated - I am all alone in my department working > > with e-prime and there is noone to really talk to here [Ermm] > > > > =================== > > > > P.S. I tried to attach the file here but it was giving me issues... > > > > Many thanks again! > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/SPSlqrRTbOQJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Dec 7 16:22:10 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 7 Dec 2012 11:22:10 -0500 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: Message-ID: An empty cell = blank, empty, void, nothing, nada, null, nil; it does not, and must not, have a string of double quotes ("") inside it, otherwise it would be looking for a string consisting of two double quotes. But based on Anne's response, it seems something more is going on here. Hmm, you say you are using extended input, with Time Limit > Duration. How much greater? Did you by any chance set Time Limit to (infinite)? That will surely fail for a Go/No-Go situation. Or, do you have Time Limit extending through the end of the Procedure, but then have some PreRelease on the final object of the Procedure? This will also cause trouble (which has been ameliorated in EP2.0.10.242 with the new Procedure.ProcessPendingInputMasks feature, see http://www.pstnet.com/support/kb.asp?TopicID=5178 ). Here's the deal: In order for automatic scoring of a non-response to work, your input mask must time-out before you need the score, until then .ACC remains at its default value of 0. In particular, the input mask must reach its Time Limit before the end of the Procedure in order for the correct ACC to be logged (in addition, the input mask must reach its Time Limit before any object, such as a FeedbackDisplay, needs to use the ACC score). So here are your choices: 1) Set the Time Limit so that the input mask ends before the end of the Procedure (or before the StartTime of any object that depends on the ACC (beware of PreRelease effects!)). 2) Add inline code such as the following at the end of the Procedure (or before any object that depends on the ACC) (assuming your stimulus is called StimText): StimText.InputMasks.Timeout This will force the input masks to time-out and perform their automatic ACC scoring (see the InputMaskManager.Timeout topic in the E-Basic Help facility). 3) Do without the automatic ACC scoring, and instead do it explicitly in inline code at the end of the Procedure (or before any object that depends on the ACC): ' .ACC = 0 by default, need only test for correct response: If (StimText.RTTime = 0) Then StimText.ACC = 1 or if you prefer StimText.ACC = Iif( StimText.RTTime, 0, 1 ) If you do (2) or (3), you might also have to add c.SetAttrib "StimText.ACC", StimText.ACC in order to make sure that the response ACC gets logged. You should try all three of these as an exercise and form your own opinion on the pros & cons of each. Footnote: You may use any of the following to test for presence of a response (and simply invert the logic to test for absence of response): 1) If (x.RESP <> "") ... 2) If (Len(x.RESP) > 0) ... or more succinctly, If Len(x.RESP) ... 3) If (x.RTTime <> 0) ... or more succinctly, If (x.RTTime) ... 4) If (x.InputMasks(1).Count > 0) ..., or more succinctly, If x.InputMasks(1).Count ... (note this works only for the specified input mask) You may also get away with 5) If (x.RT <> 0) ... or more succinctly, If (x.RT) ... but this form poses a subtle and extremely unlikely failure mode in that if a response arrives at exactly .OnsetTime then RT = RTTime - OnsetTime = 0, so it would score a response as a non-response. Form (1) is strictly speaking probably the most correct form, but for arcane reasons of efficiency I prefer integer comparisons over string comparisons so I favor form (3). ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 12/7/2012 05:42 AM Friday, Anne-Wil wrote: >Hey Gugs, > >Turns out that I was mistaken - the "" thing is needed when you >fetch a response with in inline (get slide1.acc and then compare it >to some corranswer attribute). However... I did a little bit of >fiddling around with your program (from the PST boards) and neither >method seems to work within your set-up. Personally I am totally at >a loss why that is, I have used both methods often in the past :/ . >Maybe it has something to do with that extended response period (I >never used that and noticed that there was some 'new to me' setting >applied to the keyboard input on the second textdisplay? (I always >slides rather than textdisplays but I cannot imagine that that would >be the problem here). Maybe David could shed some light on it - or >perhaps you should rebuild the thing from scratch.... every now and >then that helps without it ever becoming clear what went wrong in >the first version >.> > >On Friday, 7 December 2012 05:19:06 UTC+1, gugs wrote: >Hi David >I actually did put a CorrAnswer tribute in the Trial List. I dont >think the second topic applies to me because the length of the trial >does not change based on the response - i.e. I simply want to log >the accuracy and speed of the response - the stimulus will stay on >the screen even if they responded in the stimulus period (and not >the wait period). >With regards to the trial list - is an empty cell = blank or does it >have to have "" inside it? From the EPrime knowledge base it looks >like it should be blank but from Anne-Wil's response it looks like >it should have "" inside it. >Regards. >On Thursday, December 6, 2012 1:03:21 AM UTC+11, McFarlane, David wrote: >Before going any further, please see >http://www.pstnet.com/support/kb.asp?TopicID=1340 >and >http://www.pstnet.com/support/kb.asp?TopicID=5370 >. >----- >David McFarlane >E-Prime training online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx > >Twitter: @EPrimeMaster >(twitter.com/EPrimeMaster) >/----------- >Stock reminder: 1) I do not work for PST. 2) PST's trained staff take >any and all questions at >http://support.pstnet.com/e%2Dprime/support/login.asp >, and they strive >to respond to all requests in 24-48 hours, so make full use of it. 3) >In addition, PST offers several instructional videos on their YouTube >channel >(http://www.youtube.com/user/PSTNET >). 4) If you do get an >answer from PST staff, please extend the courtesy of posting their reply >back here for the sake of others. >\----------- > >Anne-Wil wrote: > > Hi Gugs, > > > > a quick first thought: did you indicate the correct response to be "" > > (e.g. nothing between " 's) for the trials in which 'nothing' is the > > correct response? > > > > On Wednesday, 5 December 2012 02:55:23 UTC+1, gugs wrote: > > > > Hi All, > > I posted a query on the e-prime discussion forum last week but > > haven't had any replies yet. The main issue I am having in > > programming a go/no-go task is that the acc column is incorrectly > > returning a 0 when the answer is correct (but only for cases where > > an individual should not be responding to the stimulus). > > > > I have posted the detail here: > > > https://www.pstnet.com/forum/Topic6489-23-1.aspx > > > , but I will post > > them here as well in case someone has an idea of how to correct > > this. David - I know you are generally answered a lot of go/no-go > > extended input type queries so I was hoping you might know. > > > > =============== > > > > The task is fairly simple - an either emotive (i.e. happy, sad) or > > neutral word will appear on the screen for 300 ms, followed by a > > blank screen for 1200 seconds (for a total of 1500 ms). The > > participant needs to press the letter g if the word is neutral or do > > nothing if the word is emotive. Pressing the key should log a > > response time, but should not end the stimulus event (i.e. the > > stimulus+blank screen will always run for 1500 ms even if the > > participant responds within the first 300 ms). The participant can > > respond anytime throughout that 1500 msec. I understand this is > > called "extended input" - which I have accounted for by making the > > time limit>duration. > > > > My biggest problem that I noticed is that my RESP Acc is coming back > > as 0 when the correct action is to do nothing, and the person has > > not pressed any key. Do you know why this is? > > > > I have uploaded a simple example file showing just 4 practice > > trials. If someone who is experienced could take a look at it it > > would be much appreciated - I am all alone in my department working > > with e-prime and there is noone to really talk to here [Ermm] > > > > =================== > > > > P.S. I tried to attach the file here but it was giving me issues... > > > > Many thanks again! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From liwenna at gmail.com Fri Dec 7 10:42:11 2012 From: liwenna at gmail.com (Anne-Wil) Date: Fri, 7 Dec 2012 02:42:11 -0800 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: <3bae7c58-ba33-4b66-9a7d-c6b8470485e8@googlegroups.com> Message-ID: Hey Gugs, Turns out that I was mistaken - the "" thing is needed when you fetch a response with in inline (get slide1.acc and then compare it to some corranswer attribute). However... I did a little bit of fiddling around with your program (from the PST boards) and neither method seems to work within your set-up. Personally I am totally at a loss why that is, I have used both methods often in the past :/ . Maybe it has something to do with that extended response period (I never used that and noticed that there was some 'new to me' setting applied to the keyboard input on the second textdisplay? (I always slides rather than textdisplays but I cannot imagine that that would be the problem here). Maybe David could shed some light on it - or perhaps you should rebuild the thing from scratch.... every now and then that helps without it ever becoming clear what went wrong in the first version >.> On Friday, 7 December 2012 05:19:06 UTC+1, gugs wrote: > > Hi David > > I actually did put a CorrAnswer tribute in the Trial List. I dont think > the second topic applies to me because the length of the trial does not > change based on the response - i.e. I simply want to log the accuracy and > speed of the response - the stimulus will stay on the screen even if they > responded in the stimulus period (and not the wait period). > > With regards to the trial list - is an empty cell = blank or does it have > to have "" inside it? From the EPrime knowledge base it looks like it > should be blank but from Anne-Wil's response it looks like it should have > "" inside it. > > Regards. > > On Thursday, December 6, 2012 1:03:21 AM UTC+11, McFarlane, David wrote: >> >> Before going any further, please see >> http://www.pstnet.com/support/kb.asp?TopicID=1340 and >> http://www.pstnet.com/support/kb.asp?TopicID=5370 . >> >> ----- >> David McFarlane >> E-Prime training online: >> http://psychology.msu.edu/Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) >> >> /----------- >> Stock reminder: 1) I do not work for PST. 2) PST's trained staff take >> any and all questions at >> http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive >> to respond to all requests in 24-48 hours, so make full use of it. 3) >> In addition, PST offers several instructional videos on their YouTube >> channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an >> answer from PST staff, please extend the courtesy of posting their reply >> back here for the sake of others. >> \----------- >> >> >> Anne-Wil wrote: >> > Hi Gugs, >> > >> > a quick first thought: did you indicate the correct response to be "" >> > (e.g. nothing between " 's) for the trials in which 'nothing' is the >> > correct response? >> > >> > On Wednesday, 5 December 2012 02:55:23 UTC+1, gugs wrote: >> > >> > Hi All, >> > I posted a query on the e-prime discussion forum last week but >> > haven't had any replies yet. The main issue I am having in >> > programming a go/no-go task is that the acc column is incorrectly >> > returning a 0 when the answer is correct (but only for cases where >> > an individual should not be responding to the stimulus). >> > >> > I have posted the detail here: >> > https://www.pstnet.com/forum/Topic6489-23-1.aspx >> > , but I will >> post >> > them here as well in case someone has an idea of how to correct >> > this. David - I know you are generally answered a lot of go/no-go >> > extended input type queries so I was hoping you might know. >> > >> > =============== >> > >> > The task is fairly simple - an either emotive (i.e. happy, sad) or >> > neutral word will appear on the screen for 300 ms, followed by a >> > blank screen for 1200 seconds (for a total of 1500 ms). The >> > participant needs to press the letter g if the word is neutral or >> do >> > nothing if the word is emotive. Pressing the key should log a >> > response time, but should not end the stimulus event (i.e. the >> > stimulus+blank screen will always run for 1500 ms even if the >> > participant responds within the first 300 ms). The participant can >> > respond anytime throughout that 1500 msec. I understand this is >> > called "extended input" - which I have accounted for by making the >> > time limit>duration. >> > >> > My biggest problem that I noticed is that my RESP Acc is coming >> back >> > as 0 when the correct action is to do nothing, and the person has >> > not pressed any key. Do you know why this is? >> > >> > I have uploaded a simple example file showing just 4 practice >> > trials. If someone who is experienced could take a look at it it >> > would be much appreciated - I am all alone in my department working >> > with e-prime and there is noone to really talk to here [Ermm] >> > >> > =================== >> > >> > P.S. I tried to attach the file here but it was giving me issues... >> > >> > Many thanks again! >> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/FtQiHUl7hO8J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From saultsj at missouri.edu Sun Dec 9 22:08:35 2012 From: saultsj at missouri.edu (Scott) Date: Sun, 9 Dec 2012 14:08:35 -0800 Subject: What's best for E-Prime video timing accuracy: Mirror mode, VGA splitter, or Display Port splitter? Message-ID: I don't expect perfection, but would like feedback to help choose how to setup a new lab using E-Prime using physiological equipment in two rooms. One room has two PCs, one recording physiological measurements, connected (via the parallel port) to a second PC running E-Prime. Each will be monitored by experimenters in that room. The other room has the subject's video display and button box. My question has to do ONLY with the E-Prime PC. We want experimenters to be able to see what the subject sees, while they monitor physiological recording, so we want the E-Prime video mirrored on LCD displays in the two rooms. Of course this is a very common situation for such labs (using EEG, fMRI, EDR, etc). Our E-Prime computer has a video card (AMD RADEON HD 7470) with one Display Port and one VGA port. Using this computer and display card, there are 3 simple ways (afaik) to accomplish what I want and display the same thing on two monitors: 1. Connect one LCD to the Display Port and the other to the VGA port, and set the display card to clone mode; 2. Connect a VGA Y-splitter to the computer's VGA port, and connect one LCD monitor to each side of the splitter; or 3. Connect a Display Port Y-splitter to the computer's VGA port, and connect one LCD monitor (via Display Port-to-HDMI or -to-VGA converter) to each side of the splitter. Using method #1, the E-Prime 2.0.10.184 or later Experiment Advisor will warn that "Mirroring can cause timing issues since vertical blank synchronization is not accurate between multiple displays..." (see KB 5014 - FEATURE: Experiment Advisor Module - Display adapter set to clone mode). However, I do not know whether using a splitter will actually improve timing consistency or solve any issues related to vertical blank synchronization. If a splitter would be better, Also, I don't know whether the type of splitter would make any difference in this regard. (I do know that video resolution and quality might differ). Note that I am aware of various issues (eg., input lag, rise time) that can compromise timing accuracy of LCD displays. As a said at the outset, I'm not expecting perfection, or even anything close to the accuracy of a single CRT monitor. My goal is simply to minimize the *variability* of the time between the onset sync, detected by E-Prime, and the onset of the visual display seen by the subject. A constant lag does not concern me. Also, the two monitors to do NOT need to be synchronized with each other, except to the extent necessary for even one to be (relatively) synchronized to the vertical blank. Also note that I am NOT concerned or asking about synchronization between physiological recordings and the vertical blank time detected by E-Prime, signaled via the parallel port; that's a different and less troublesome issue, imho. Also, I understand that timing accuracy is more or less critical, depending on experimental paradigms and physiological measures. All I'm asking about is which of the 3 methods listed above can be expected to yield the most consistent and reliable (or least bad) timings, as a general rule, when connecting two LCD displays, both showing the same content, to one PC running E-Prime. If anyone knows any better methods, other than these 3, I'd like to hear about them as well. Thanks, in advance, for sharing relevant experience, knowledge, and advice. --Scott -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/wEhDBYyoJ_oJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mollykcannon at gmail.com Mon Dec 10 17:27:54 2012 From: mollykcannon at gmail.com (Molly Cannon) Date: Mon, 10 Dec 2012 09:27:54 -0800 Subject: Syncing E-Prime Scripts on Multiple Computers Message-ID: Hello, I have built three tasks in E-Prime. In my experiment there are three different computers, each one will run a different task. Subjects will be able to select which task they want to do (but will end up using at least 2 of the computers). I will collect physiology data simultaneously. Unfortunately, our system only allows one computer to to communicate with the parallel port. I need some way to either start all the eprime programs at the exact same time or log the data so I can compare between e-prime scripts? It is critical that it be accurate since I will be interpreting the physiology data with this information. Any advice you can provide me with would be appreciated! Thank you, Molly Cannon -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/5KHcjPjKYXAJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicolettenoonan at gmail.com Mon Dec 10 19:42:57 2012 From: nicolettenoonan at gmail.com (Nicolette) Date: Mon, 10 Dec 2012 11:42:57 -0800 Subject: Running Visual and Auditory Stimuli Simultaneously Message-ID: Hi, I am *very* new to EPrime, so I am looking for some guidance and have been unable to find an answer to my question in any tutorial I have come across. I am running an n-back task in EPrime 2.0 (no problems making that), but I would also like auditory stimuli to play "overhead" of the ongoing task. I have been unable to figure out how to do this. So, a 7-min audio file I want running continuously while my participant is engaged in doing the n-back. Almost like I don't want my "sound" to know what my "image" is doing. If anyone could offer me some guidance (and not make it *too* technical!), I'd really appreciate it. Thanks -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/GRyKaY8V3oIJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Mon Dec 10 23:03:00 2012 From: pfc.groot at gmail.com (Paul Groot) Date: Tue, 11 Dec 2012 00:03:00 +0100 Subject: Running Visual and Auditory Stimuli Simultaneously In-Reply-To: <933a7e01-c7c1-4a9c-8a6a-f1dc552b2baf@googlegroups.com> Message-ID: Hi, I think David described the most straightforward method to do this, so you should try that first. I know there is also an alternative method, which I used a few years ago. I don't remember if I had to work around any problems with the built-in sound objects, but here is what I did: I inserted the following script in the global user script section. The inserted script uses low-level windows functions to play an audio file. ' Sound suppport by using the windows multimedia library directly (i.e. bypassing EPrime) Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long ' Some constants for playing sounds Const SND_LOOP = &H8 ' loop the sound until next sndPlaySound Const SND_ASYNC = &H1 ' play asynchronously Const SND_NOSTOP = &H10 ' don't stop any currently playing sound Const SND_SYNC = &H0 ' play synchronously (default) Const SND_NODEFAULT = &H2 ' silence not default, if sound not found Const SND_PURGE = &H40 ' purge non-static events for task ' Remarks ' If the specified sound cannot be found, sndPlaySound plays the system default sound. ' If there is no system default entry in the registry or WIN.INI file, or if the ' default sound cannot be found, the function makes no sound and returns FALSE. ' ' The specified sound must fit in available physical memory and be playable ' by an installed waveform-audio device driver. If sndPlaySound does not find ' the sound in the current directory, the function searches for it using the ' standard directory-search order. ' Plays a sound from filename ans optionally wait until ready. Function PlaySoundFile(ByVal filename As String, bWaitReady as boolean) as Boolean PlaySoundFile = sndPlaySound(filename, iif(bWaitReady, SND_SYNC, SND_ASYNC) ) End Function ' Plays a repeating sound from filename. Function RepeatSoundFile(ByVal filename As String) as Boolean RepeatSoundFile = sndPlaySound(filename, (SND_LOOP Or SND_ASYNC) ) End Function Sub StopSoundFile() dim ret as boolean ret = sndPlaySound(ebNullString, SND_SYNC) End Sub Then call one of the the Play functions somewhere in your script to start playing the music: if (Not PlaySoundFile("media\\classic.wav", false)) then MsgBox "Cannot play sound" end if And simply call StopSoundFile to stop at any point. Note that this was used on a windows XP machine, so I'm not sure if it works on the latest Windows releases. Best Paul On 10 December 2012 20:42, Nicolette wrote: > Hi, > > I am *very* new to EPrime, so I am looking for some guidance and have been > unable to find an answer to my question in any tutorial I have come across. > > I am running an n-back task in EPrime 2.0 (no problems making that), but I > would also like auditory stimuli to play "overhead" of the ongoing task. I > have been unable to figure out how to do this. So, a 7-min audio file I > want running continuously while my participant is engaged in doing the > n-back. Almost like I don't want my "sound" to know what my "image" is > doing. > > If anyone could offer me some guidance (and not make it *too*technical!), I'd really appreciate it. > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To post to this group, send email to e-prime at googlegroups.com. > To unsubscribe from this group, send email to > e-prime+unsubscribe at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/GRyKaY8V3oIJ. > 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 post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Dec 10 18:49:02 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 10 Dec 2012 13:49:02 -0500 Subject: What's best for E-Prime video timing accuracy: Mirror mode, VGA splitter, or Display Port splitter? In-Reply-To: Message-ID: Scott, Good questions, wish I had an answer, hope someone else does. You should submit this to PST Web Support at http://support.pstnet.com/e%2Dprime/support/login.asp , after all it is their business to know these things. Then please post back here with the answer. Thanks, -- David McFarlane At 12/9/2012 05:08 PM Sunday, Scott wrote: >I don't expect perfection, but would like feedback to help choose >how to setup a new lab using E-Prime using physiological equipment >in two rooms. One room has two PCs, one recording physiological >measurements, connected (via the parallel port) to a second PC >running E-Prime. Each will be monitored by experimenters in that >room. The other room has the subject's video display and button box. >My question has to do ONLY with the E-Prime PC. We want >experimenters to be able to see what the subject sees, while they >monitor physiological recording, so we want the E-Prime video >mirrored on LCD displays in the two rooms. Of course this is a very >common situation for such labs (using EEG, fMRI, EDR, etc). Our >E-Prime computer has a video card (AMD RADEON HD 7470) with one >Display Port and one VGA port. Using this computer and display card, >there are 3 simple ways (afaik) to accomplish what I want and >display the same thing on two monitors: > * Connect one LCD to the Display Port and the other to the VGA > port, and set the display card to clone mode; > * Connect a VGA Y-splitter to the computer's VGA port, and > connect one LCD monitor to each side of the splitter; or > * Connect a Display Port Y-splitter to the computer's VGA port, > and connect one LCD monitor (via Display Port-to-HDMI or -to-VGA > converter) to each side of the splitter. > >Using method #1, the E-Prime 2.0.10.184 or later Experiment Advisor >will warn that "Mirroring can cause timing issues since vertical >blank synchronization is not accurate between multiple displays..." >(see KB 5014 - >FEATURE: Experiment Advisor Module - Display adapter set to clone >mode). However, I do not know whether using a splitter will actually >improve timing consistency or solve any issues related to vertical >blank synchronization. If a splitter would be better, Also, I don't >know whether the type of splitter would make any difference in this >regard. (I do know that video resolution and quality might differ). >Note that I am aware of various issues (eg., input lag, rise time) >that can compromise timing accuracy of LCD displays. As a said at >the outset, I'm not expecting perfection, or even anything close to >the accuracy of a single CRT monitor. My goal is simply to minimize >the variability of the time between the onset sync, detected by >E-Prime, and the onset of the visual display seen by the subject. A >constant lag does not concern me. Also, the two monitors to do NOT >need to be synchronized with each other, except to the extent >necessary for even one to be (relatively) synchronized to the >vertical blank. Also note that I am NOT concerned or asking about >synchronization between physiological recordings and the vertical >blank time detected by E-Prime, signaled via the parallel port; >that's a different and less troublesome issue, imho. Also, I >understand that timing accuracy is more or less critical, depending >on experimental paradigms and physiological measures. All I'm asking >about is which of the 3 methods listed above can be expected to >yield the most consistent and reliable (or least bad) timings, as a >general rule, when connecting two LCD displays, both showing the >same content, to one PC running E-Prime. If anyone knows any better >methods, other than these 3, I'd like to hear about them as well. > >Thanks, in advance, for sharing relevant experience, knowledge, and >advice. --Scott -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From pfc.groot at gmail.com Mon Dec 10 18:29:55 2012 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 10 Dec 2012 19:29:55 +0100 Subject: Syncing E-Prime Scripts on Multiple Computers In-Reply-To: <5d25e39e-7fb6-4e4c-8ed8-dde3ee265efb@googlegroups.com> Message-ID: hi Molly, I would advise to use one PC as master (probably the one that also connects to physiological acquisition device), and use a splitter cable to separate two of the digital output (data)lines. Then, connect these lines to one of the inputs of the printer port of the other PCs. The logic is exactly the same as connecting a response box to the printer port ( http://pfcgroot.nl/e-prime/85-tips-and-tricks/71-button-box-on-printer-port.html). The master PC can then toggle the two output lines to sync. with the other PCs . The same technique can be used with a serial port, so that might be a workaround if the printer port is exclusively used for the physio-device. So, the main issue is finding a technician who has some knowledge of printer ports and soldering irons. If safety is an issue, you might have to use additional hardware to isolate the systems (opto-couplers). Best, Paul On 10 December 2012 18:27, Molly Cannon wrote: > Hello, > > I have built three tasks in E-Prime. In my experiment there are three > different computers, each one will run a different task. Subjects will be > able to select which task they want to do (but will end up using at least 2 > of the computers). > > I will collect physiology data simultaneously. Unfortunately, our system > only allows one computer to to communicate with the parallel port. I need > some way to either start all the eprime programs at the exact same time or > log the data so I can compare between e-prime scripts? > > It is critical that it be accurate since I will be interpreting the > physiology data with this information. Any advice you can provide me with > would be appreciated! > > Thank you, > > Molly Cannon > > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To post to this group, send email to e-prime at googlegroups.com. > To unsubscribe from this group, send email to > e-prime+unsubscribe at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/5KHcjPjKYXAJ. > 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 post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From saultsj at missouri.edu Wed Dec 12 06:01:28 2012 From: saultsj at missouri.edu (Scott) Date: Tue, 11 Dec 2012 22:01:28 -0800 Subject: What's best for E-Prime video timing accuracy: Mirror mode, VGA splitter, or Display Port splitter? In-Reply-To: <50c62e9f.cb96320a.1e72.2c7cSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David, Actually, I submitted this basic question to E-Prime support a couple of hours after I posted here. Unfortunately, the body of my support request did not get submitted; don't know why but guess I goofed somehow. Even without the detailed explanation I posted here, I did get a decent response to only the title of my support request (nothing else got submitted): "What's better: mirror mode or splitter?" Reply: > Cloning or mirroring can cause timing issues since vertical blank > synchronization is not accurate between multiple displays. Determining > which display is considered primary can cause confusion and may not be > consistent between computer configurations. Instead of cloning the display > through software, it is better to split it physically using a VGA splitter > cable. If it is necessary for you to view the experiment on multiple > screens, you should use a splitter to direct the output. > > I hope this helps. Please let me know if you have any other questions. > > Sincerely, > David Nicholson, Technical Consultant > I've asked for clarification and amended my request as follows: > Thanks. You more or less answered my question from the support title, even > though (for reasons I don't understand) the actual text of the question was > not submitted. > > I'd like a little clarification and an answer to another part of my > question (which did not get posted). You are saying if I use a splitter, > then E-Prime will see only one monitor (connected to the display card) and > thus only one vertical blank signal; is that correct? Part of my question > that wasn't posted was that I will be using two LCD monitors. Considering > this, will it make any difference whether I divide the analog signal from > my display card, using a VGA splitter or the digital signal, using a DVI or > Display Port splitter? A digital connection can transmit additional > information about the display; I wonder if this might cause any > synchronization problems. On the other hand, the VGA signal will have to be > converted to digital data by the LCD display, possibly increasing the lag. > -- Thanks for clarification & recommendations regarding the preferred type > of splitter. > I'll post this support response whenever I get it. Thanks. Scott On Monday, December 10, 2012 12:49:02 PM UTC-6, McFarlane, David wrote: > > Scott, > > Good questions, wish I had an answer, hope someone else does. You > should submit this to PST Web Support at > http://support.pstnet.com/e%2Dprime/support/login.asp , after all it > is their business to know these things. Then please post back here > with the answer. > > Thanks, > -- David McFarlane > > > At 12/9/2012 05:08 PM Sunday, Scott wrote: > >I don't expect perfection, but would like feedback to help choose > >how to setup a new lab using E-Prime using physiological equipment > >in two rooms. One room has two PCs, one recording physiological > >measurements, connected (via the parallel port) to a second PC > >running E-Prime. Each will be monitored by experimenters in that > >room. The other room has the subject's video display and button box. > >My question has to do ONLY with the E-Prime PC. We want > >experimenters to be able to see what the subject sees, while they > >monitor physiological recording, so we want the E-Prime video > >mirrored on LCD displays in the two rooms. Of course this is a very > >common situation for such labs (using EEG, fMRI, EDR, etc). Our > >E-Prime computer has a video card (AMD RADEON HD 7470) with one > >Display Port and one VGA port. Using this computer and display card, > >there are 3 simple ways (afaik) to accomplish what I want and > >display the same thing on two monitors: > > * Connect one LCD to the Display Port and the other to the VGA > > port, and set the display card to clone mode; > > * Connect a VGA Y-splitter to the computer's VGA port, and > > connect one LCD monitor to each side of the splitter; or > > * Connect a Display Port Y-splitter to the computer's VGA port, > > and connect one LCD monitor (via Display Port-to-HDMI or -to-VGA > > converter) to each side of the splitter. > > > >Using method #1, the E-Prime 2.0.10.184 or later Experiment Advisor > >will warn that "Mirroring can cause timing issues since vertical > >blank synchronization is not accurate between multiple displays..." > >(see KB 5014 - > >FEATURE: Experiment Advisor Module - Display adapter set to clone > >mode). However, I do not know whether using a splitter will actually > >improve timing consistency or solve any issues related to vertical > >blank synchronization. If a splitter would be better, Also, I don't > >know whether the type of splitter would make any difference in this > >regard. (I do know that video resolution and quality might differ). > >Note that I am aware of various issues (eg., input lag, rise time) > >that can compromise timing accuracy of LCD displays. As a said at > >the outset, I'm not expecting perfection, or even anything close to > >the accuracy of a single CRT monitor. My goal is simply to minimize > >the variability of the time between the onset sync, detected by > >E-Prime, and the onset of the visual display seen by the subject. A > >constant lag does not concern me. Also, the two monitors to do NOT > >need to be synchronized with each other, except to the extent > >necessary for even one to be (relatively) synchronized to the > >vertical blank. Also note that I am NOT concerned or asking about > >synchronization between physiological recordings and the vertical > >blank time detected by E-Prime, signaled via the parallel port; > >that's a different and less troublesome issue, imho. Also, I > >understand that timing accuracy is more or less critical, depending > >on experimental paradigms and physiological measures. All I'm asking > >about is which of the 3 methods listed above can be expected to > >yield the most consistent and reliable (or least bad) timings, as a > >general rule, when connecting two LCD displays, both showing the > >same content, to one PC running E-Prime. If anyone knows any better > >methods, other than these 3, I'd like to hear about them as well. > > > >Thanks, in advance, for sharing relevant experience, knowledge, and > >advice. --Scott > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/O3aKng3xoVsJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alicerancai at gmail.com Thu Dec 13 00:29:30 2012 From: alicerancai at gmail.com (Alice Cai) Date: Wed, 12 Dec 2012 16:29:30 -0800 Subject: Moving Stimuli in E-prime In-Reply-To: <50BFB53F.8050100@msu.edu> Message-ID: Dear David, Thank you very much for your help! The wait function is so useful and I finally got my experiment working thanks to your help! I really appreciate you taking the time to reply, and I hope you have a great Christmas and New Years! Best wishes, Alice On Wednesday, December 5, 2012 8:57:35 PM UTC, McFarlane, David wrote: > > Alice, > > Two brief thoughts... > > 1) You can use List.Terminate to exit out of a running List before it > reaches its own end -- see that topic in the E-Basic Help facility. > (With a bit of programming knowhow you don't even have to know the name > of the running List, but I am not near my FAQ now to point you to the > thread where I show that.) > > 2) Yes, adding up times is fraught with difficulty, you will almost > certainly fail to include some interim times and get wrong values. But > the E-Prime input mask facility really is beautiful once you fully > understand it. Put a Wait object just before the start of your > stimulus/response loop, outside the loop. Give that Wait a Duration of > 0 (and think about the proper Onset Sync), and add your desired input > mask to this Wait instead of within the loop. Give this input mask a > Time Limit of (infinite). Now that Wait will look for a response any > time during your stimulus/response loop, and Wait.RT will be the RT from > the start of the loop until the response, without you having to compute > anything! My online E-Prime course actually includes an exercise where > we do this, might be worth looking into. > > ----- > David McFarlane > E-Prime training online: > http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) > > > Alice Cai wrote: > > Dear David, > > > > Thank you so much, that was very helpful! Right now I have only one > > slide, and have many levels in the list to code for the location of the > > square (e.g., left, middle, right). I would like the slides to repeat > > itself until participants give a response. Once participants give a > > response, I want to give a 'feedback display'. I thought of using the > > jump function with labels, but the label can only jump within a > > procedure. This is a bit problematic because right now, even when > > participants give a response, it will only exit the procedure once all > > lists have been displayed (or when it reaches a time limit that I set, > > e.g., 4000 ms). > > > > > > Also, I need to record reaction time to the moving stimuli. However, > > right now e-prime doesn't record RT from the very first slide that > > participants see, but only for the slide that the responded to. So in > > order to know how long participants took to respond, I will need to add > > up the number of slides that was presented before hand and multiply it > > by how long the slides were displayed for (50 ms). Is there an easier > > way to record reaction time? > > > > Thank you very much for your help, please take your time to reply and > > any comments will be greatly appreciated! > > > > Thank you again! > > Alice > > > > > > > > On Wednesday, December 5, 2012 4:39:07 PM UTC, Alice Cai wrote: > > > > Hi, > > > > I have a question regarding my experiment design. I would like to > > create a moving stimuli where participants decide whether the box is > > moving vertically or horizontally. I know that I can use different > > slides changing at 50 ms. per slide with different locations for the > > box (left, middle, right) but the problem is I will need to create a > > lot of slides and the E-prime program runs out of memory space. > > > > Is there any way to create just three slides, and have E-prime > > repeat these three slides until participants give a response? And > > then the experiment will jump to the next trial with three more > slides? > > > > Any help will be greatly appreciated! Thank you! > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/J2FeB8kHJWYJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmaayane at gmail.com Wed Dec 12 16:41:52 2012 From: kmaayane at gmail.com (maayan kedar) Date: Wed, 12 Dec 2012 08:41:52 -0800 Subject: help needed on visual search Message-ID: hello! like almost everyone - i'm new on E-Prime! and, I want yo apologize for bad English too, thanks. I have 3 main problems on my visual search project: 1. I have a list of 20 trails. I want to run each trial 2 time max, because the participant have only 5 minutes for 40 trial if he/she will be fast enough. the problem is that for all the options i tried (like random with replacement) he always takes some trials more than 2 times. what do i need to do? 2. I set my lists so in every trial I suppose to have 99 distractors and 1 target (the letter B for example). The thing is that sometimes he dose not show the letter. when I check the data I can see that the letter was suppose to be on line 15, let's say, but the letter is not there!!! How come? and again - what can I do? 3. I know it's silly but - How do I limit my experiment to 40 trials *or* 300 sec? I tried to set the exit from the main list after 300 sec but it didn't work. thanks!!!! maayan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/9VhEQaa8pFEJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Dec 13 20:06:19 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 13 Dec 2012 15:06:19 -0500 Subject: What's best for E-Prime video timing accuracy: Mirror mode, VGA splitter, or Display Port splitter? In-Reply-To: Message-ID: Scott, I went ahead and submitted the question myself to PST Web Support on 10 Dec, and got a very full reply on 12 Dec. I post PST's full response here for everyone's benefit, along with my question because I posed it in a slightly different way. First, my form of the question: /----------- What if we want to share the same video output to two screens, e.g., one LCD screen for a subject in the fMRI scanner, and another in the control room to mirror (echo?) the subject display so that researchers can monitor what appears to the subject? In principle, we have no guarantee that both screens even use the same refresh rate, and if they do, we have no guarantee that both screens refresh at the same time. (Or do we?) In that case, 1) Suppose we have a video card with both VGA and DisplayPort outputs, and we can use "clone" mode to send the same video to both outputs. How could E-Prime know which of the two screens to use for refresh synchronization? (I think this is exactly the problem addressed at http://www.pstnet.com/support/kb.asp?TopicID=5014, and the answer is, EP cannot know, hence the problem.) 2) Suppose instead we connect the video card's VGA output to a video splitter, which then goes to the two screens. Again, how could EP know which of the two screens to use for refresh synchronization? 3) Same as #2, except using the video card's DisplayPort output. How could EP know which of the two screens to use for refresh synchronization? \----------- And then the full response from Ryan Whitfield at PST Web Support: /----------- The answer to any questions regarding the use of mirror/clone mode with E-Prime experiments and multiple monitors is that this can cause timing issues since there is no way to accurately synchronize between multiple displays. The reason for this is because - when using a machine that has multiple display outputs - the current technology is such that each of the outputs has its own pixel clock. These pixel clocks are configured in such a way that (99% of the time) they do not communicate and the primary display's "refresh request" is given precedence in the cycle. Because of this, multiple-output video cards should not be used in clone mode if display synchronization is a concern. That being said, it IS possible to share the same video output to two screens with display synchronization with the use of a DVI splitter. The reason this is possible - while the multiple outputs are not - is again related to the pixel clock. With a single display output, only one pixel clock is being used and the display is being pushed out to the splitter - and in turn the monitors - at the same time. However, working with a DVI splitter requires that a few things be kept in mind so that synchronization is possible. First, both monitors must be able to display at refresh rate intended by the video card. This means that a video card pushing out a 120Hz video signal cannot be split to a monitor capable of 60Hz and a monitor capable of 120Hz. However, a video card will be able to push a 60hz signal to both of those monitors without issue (the 120Hz monitor will likely just double-sample here). Second, the video card must be capable of pushing out the correct refresh rate. This simply means (as expected) that a video card only capable of 60Hz will not be able to push out 120Hz video to two 120Hz-capable monitors. Lastly, (and likely the most overlooked one if you are using higher refresh rates and/or larger resolution monitors) the splitter must be of high enough quality to push out enough bandwidth from the video card to the two monitors. Lower quality splitters will be fine for 1024x768 at 60Hz on two monitors. However, if you are looking at displaying 1920x1080 at 120Hz, you will likely need a higher-quality DVI splitter - as lower quality ones will not have the necessary bandwidth to push through that amount of information. Most of my answer has revolved around the use of DVI for your display source, as this is what we have tested in-house because of the work necessary for the implementation in the Hyperion system. This likely applies to VGA as well, since similar information transfer is at work there. With the DisplayPort, it may be easier to synchronize than DVI because of the internal functioning of the technology - but we haven't tested this functionality in-house, so I would recommend just using a DisplayPort to DVI converter and then a DVI splitter once the signal is in DVI. \----------- I hope that helps. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 12/12/2012 01:01 AM Wednesday, Scott wrote: >Hi David, > >Actually, I submitted this basic question to E-Prime support a >couple of hours after I posted here. Unfortunately, the body of my >support request did not get submitted; don't know why but guess I >goofed somehow. Even without the detailed explanation I posted here, >I did get a decent response to only the title of my support request >(nothing else got submitted): "What's better: mirror mode or splitter?" >Reply: >Cloning or mirroring can cause timing issues since vertical blank >synchronization is not accurate between multiple displays. >Determining which display is considered primary can cause confusion >and may not be consistent between computer configurations. Instead >of cloning the display through software, it is better to split it >physically using a VGA splitter cable. If it is necessary for you to >view the experiment on multiple screens, you should use a splitter >to direct the output. > >I hope this helps. Please let me know if you have any other questions. > >Sincerely, >David Nicholson, Technical Consultant > >I've asked for clarification and amended my request as follows: >Thanks. You more or less answered my question from the support >title, even though (for reasons I don't understand) the actual text >of the question was not submitted. > >I'd like a little clarification and an answer to another part of my >question (which did not get posted). You are saying if I use a >splitter, then E-Prime will see only one monitor (connected to the >display card) and thus only one vertical blank signal; is that >correct? Part of my question that wasn't posted was that I will be >using two LCD monitors. Considering this, will it make any >difference whether I divide the analog signal from my display card, >using a VGA splitter or the digital signal, using a DVI or Display >Port splitter? A digital connection can transmit additional >information about the display; I wonder if this might cause any >synchronization problems. On the other hand, the VGA signal will >have to be converted to digital data by the LCD display, possibly >increasing the lag. -- Thanks for clarification & recommendations >regarding the preferred type of splitter. > >I'll post this support response whenever I get it. > >Thanks. > >Scott > >On Monday, December 10, 2012 12:49:02 PM UTC-6, McFarlane, David wrote: >Scott, > >Good questions, wish I had an answer, hope someone else does. You >should submit this to PST Web Support at >http://support.pstnet.com/e%2Dprime/support/login.asp >, after all it >is their business to know these things. Then please post back here >with the answer. > >Thanks, >-- David McFarlane > > >At 12/9/2012 05:08 PM Sunday, Scott wrote: > >I don't expect perfection, but would like feedback to help choose > >how to setup a new lab using E-Prime using physiological equipment > >in two rooms. One room has two PCs, one recording physiological > >measurements, connected (via the parallel port) to a second PC > >running E-Prime. Each will be monitored by experimenters in that > >room. The other room has the subject's video display and button box. > >My question has to do ONLY with the E-Prime PC. We want > >experimenters to be able to see what the subject sees, while they > >monitor physiological recording, so we want the E-Prime video > >mirrored on LCD displays in the two rooms. Of course this is a very > >common situation for such labs (using EEG, fMRI, EDR, etc). Our > >E-Prime computer has a video card (AMD RADEON HD 7470) with one > >Display Port and one VGA port. Using this computer and display card, > >there are 3 simple ways (afaik) to accomplish what I want and > >display the same thing on two monitors: > > * Connect one LCD to the Display Port and the other to the VGA > > port, and set the display card to clone mode; > > * Connect a VGA Y-splitter to the computer's VGA port, and > > connect one LCD monitor to each side of the splitter; or > > * Connect a Display Port Y-splitter to the computer's VGA port, > > and connect one LCD monitor (via Display Port-to-HDMI or -to-VGA > > converter) to each side of the splitter. > > > >Using method #1, the E-Prime 2.0.10.184 or later Experiment Advisor > >will warn that "Mirroring can cause timing issues since vertical > >blank synchronization is not accurate between multiple displays..." > >(see > <http://www.pstnet.com/support/kb.asp?TopicID=5014>KB > 5014 - > >FEATURE: Experiment Advisor Module - Display adapter set to clone > >mode). However, I do not know whether using a splitter will actually > >improve timing consistency or solve any issues related to vertical > >blank synchronization. If a splitter would be better, Also, I don't > >know whether the type of splitter would make any difference in this > >regard. (I do know that video resolution and quality might differ). > >Note that I am aware of various issues (eg., input lag, rise time) > >that can compromise timing accuracy of LCD displays. As a said at > >the outset, I'm not expecting perfection, or even anything close to > >the accuracy of a single CRT monitor. My goal is simply to minimize > >the variability of the time between the onset sync, detected by > >E-Prime, and the onset of the visual display seen by the subject. A > >constant lag does not concern me. Also, the two monitors to do NOT > >need to be synchronized with each other, except to the extent > >necessary for even one to be (relatively) synchronized to the > >vertical blank. Also note that I am NOT concerned or asking about > >synchronization between physiological recordings and the vertical > >blank time detected by E-Prime, signaled via the parallel port; > >that's a different and less troublesome issue, imho. Also, I > >understand that timing accuracy is more or less critical, depending > >on experimental paradigms and physiological measures. All I'm asking > >about is which of the 3 methods listed above can be expected to > >yield the most consistent and reliable (or least bad) timings, as a > >general rule, when connecting two LCD displays, both showing the > >same content, to one PC running E-Prime. If anyone knows any better > >methods, other than these 3, I'd like to hear about them as well. > > > >Thanks, in advance, for sharing relevant experience, knowledge, and > >advice. --Scott -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Thu Dec 13 20:24:47 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 13 Dec 2012 15:24:47 -0500 Subject: help needed on visual search In-Reply-To: <34b4e4bf-f34c-43f1-b3dc-68a61b60f4c2@googlegroups.com> Message-ID: maayan, #1 & 3 strike me as the same question: E-Prime Lists have settings for exiting after either a number cycles, a number of samples, or a number of seconds, but they cannot apply combined exit criteria (e.g., 40 samples *or* 300 sec, whichever comes first). In that case, I would set the List to exit after a number of cycles or samples, and then use InLine code within the trial Procedure to test for the time limit and exit the List with List.Terminate. That's just an outline, maybe someone else can help with the details. No help for #2, sorry. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 12/12/2012 11:41 AM Wednesday, maayan kedar wrote: >like almost everyone - i'm new on E-Prime! and, I want yo apologize >for bad English too, thanks. >I have 3 main problems on my visual search project: > >1. I have a list of 20 trails. I want to run each trial 2 time max, >because the participant have only 5 minutes for 40 trial if he/she >will be fast enough. >the problem is that for all the options i tried (like random with >replacement) he always takes some trials more than 2 times. what do >i need to do? > >2. I set my lists so in every trial I suppose to have 99 distractors >and 1 target (the letter B for example). The thing is that sometimes >he dose not show the letter. when I check the data I can see that >the letter was suppose to be on line 15, let's say, but the letter >is not there!!! How come? and again - what can I do? > >3. I know it's silly but - How do I limit my experiment to 40 trials >or 300 sec? I tried to set the exit from the main list after 300 sec >but it didn't work. > >thanks!!!! >maayan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From pquain at une.edu.au Thu Dec 13 21:58:03 2012 From: pquain at une.edu.au (Peter Quain) Date: Fri, 14 Dec 2012 08:58:03 +1100 Subject: What's best for E-Prime video timing accuracy: Mirror mode, VGA splitter, or Display Port splitter? In-Reply-To: <50ca3545.c42e320a.55f6.008fSMTPIN_ADDED_MISSING@gmr-mx.goo gle.com> Message-ID: That is an interesting response. As I read it, Ryan Whitfield has replied in terms of synchronisation of frames displayed on two monitors with the claim that clone mode cannot provide this. However, he states that the primary display's refresh request (vertical blanking signal; VBS) is given precedence (by e-prime). In plain language I read this to mean that e-prime architecture (where identification of VBS is fundamental to visual display timing accuracy) is built to call on the primary display VBS. So the timing accuracy of primary displays should not be influenced by a second cloned (secondary) display, where exact timing accuracy could not be assumed because of out of synch vertical refresh. I have tested accuracy of primary display with thousands of trials where we collected timing information on vertical refresh intervals during time critical display events (presented using Canvas, dual-head video card, VGA output, cloned, 'identical' CRT monitors). Only a couple of VBS were missed, and the refresh intervals (3 of them) each averaged to the appropriate refresh interval. These timing 'marks' were taken immediately following Display.WaitForVerticalBlank commands. We were careful to ensure that the monitor the subjects saw was connected to the primary display port of the dual-head graphics card, which we identified from documentation, and checked empirically - the card would not output any signal to a monitor connected to the secondary port unless there was also a monitor connected to the primary port. David Nicholson's original query was regarding timing accuracy while allowing experimenters to view on a second monitor what the subject was seeing. So, exact display synchronisation between cloned displays not possible because of nonsynchronised refresh cycles, but timing accuracy of primary display is possible (given proper identification of the primary display port, and an appropriate video card / drivers) because of e-prime architecture (Or have I got this wrong?). This should also be the case, in principle, using LCD monitors because they also generate a VBS (for compatibility with graphics systems developed with CRTs) and so e-prime should listen for the VBS from primary monitor. But then, you have onboard image processing engines and possible display lag - something a display splitter wouldn't fix. At 07:06 AM 14/12/2012, you wrote: >Scott, > >I went ahead and submitted the question myself to PST Web Support on >10 Dec, and got a very full reply on 12 Dec. I post PST's full >response here for everyone's benefit, along with my question because >I posed it in a slightly different way. > >First, my form of the question: > >/----------- >What if we want to share the same video output to two screens, e.g., >one LCD screen for a subject in the fMRI scanner, and another in the >control room to mirror (echo?) the subject display so that >researchers can monitor what appears to the subject? In principle, >we have no guarantee that both screens even use the same refresh >rate, and if they do, we have no guarantee that both screens refresh >at the same time. (Or do we?) In that case, > >1) Suppose we have a video card with both VGA and DisplayPort >outputs, and we can use "clone" mode to send the same video to both >outputs. How could E-Prime know which of the two screens to use for >refresh synchronization? (I think this is exactly the problem >addressed at http://www.pstnet.com/support/kb.asp?TopicID=5014, and >the answer is, EP cannot know, hence the problem.) > >2) Suppose instead we connect the video card's VGA output to a video >splitter, which then goes to the two screens. Again, how could EP >know which of the two screens to use for refresh synchronization? > >3) Same as #2, except using the video card's DisplayPort output. How >could EP know which of the two screens to use for refresh synchronization? >\----------- > >And then the full response from Ryan Whitfield at PST Web Support: > >/----------- >The answer to any questions regarding the use of mirror/clone mode >with E-Prime experiments and multiple monitors is that this can >cause timing issues since there is no way to accurately synchronize >between multiple displays. The reason for this is because - when >using a machine that has multiple display outputs - the current >technology is such that each of the outputs has its own pixel clock. >These pixel clocks are configured in such a way that (99% of the >time) they do not communicate and the primary display's "refresh >request" is given precedence in the cycle. Because of this, >multiple-output video cards should not be used in clone mode if >display synchronization is a concern. > >That being said, it IS possible to share the same video output to >two screens with display synchronization with the use of a DVI >splitter. The reason this is possible - while the multiple outputs >are not - is again related to the pixel clock. With a single display >output, only one pixel clock is being used and the display is being >pushed out to the splitter - and in turn the monitors - at the same >time. However, working with a DVI splitter requires that a few >things be kept in mind so that synchronization is possible. First, >both monitors must be able to display at refresh rate intended by >the video card. This means that a video card pushing out a 120Hz >video signal cannot be split to a monitor capable of 60Hz and a >monitor capable of 120Hz. However, a video card will be able to push >a 60hz signal to both of those monitors without issue (the 120Hz >monitor will likely just double-sample here). Second, the video card >must be capable of pushing out the correct refresh rate. This simply >means (as expected) that a video card only capable of 60Hz will not >be able to push out 120Hz video to two 120Hz-capable monitors. >Lastly, (and likely the most overlooked one if you are using higher >refresh rates and/or larger resolution monitors) the splitter must >be of high enough quality to push out enough bandwidth from the >video card to the two monitors. Lower quality splitters will be fine >for 1024x768 at 60Hz on two monitors. However, if you are looking at >displaying 1920x1080 at 120Hz, you will likely need a higher-quality >DVI splitter - as lower quality ones will not have the necessary >bandwidth to push through that amount of information. > >Most of my answer has revolved around the use of DVI for your >display source, as this is what we have tested in-house because of >the work necessary for the implementation in the Hyperion system. >This likely applies to VGA as well, since similar information >transfer is at work there. With the DisplayPort, it may be easier to >synchronize than DVI because of the internal functioning of the >technology - but we haven't tested this functionality in-house, so I >would recommend just using a DisplayPort to DVI converter and then a >DVI splitter once the signal is in DVI. >\----------- > >I hope that helps. > >----- >David McFarlane >E-Prime training >online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > >At 12/12/2012 01:01 AM Wednesday, Scott wrote: >>Hi David, >> >>Actually, I submitted this basic question to E-Prime support a >>couple of hours after I posted here. Unfortunately, the body of my >>support request did not get submitted; don't know why but guess I >>goofed somehow. Even without the detailed explanation I posted >>here, I did get a decent response to only the title of my support >>request (nothing else got submitted): "What's better: mirror mode or splitter?" >>Reply: >>Cloning or mirroring can cause timing issues since vertical blank >>synchronization is not accurate between multiple displays. >>Determining which display is considered primary can cause confusion >>and may not be consistent between computer configurations. Instead >>of cloning the display through software, it is better to split it >>physically using a VGA splitter cable. If it is necessary for you >>to view the experiment on multiple screens, you should use a >>splitter to direct the output. >> >>I hope this helps. Please let me know if you have any other questions. >> >>Sincerely, >>David Nicholson, Technical Consultant >> >>I've asked for clarification and amended my request as follows: >>Thanks. You more or less answered my question from the support >>title, even though (for reasons I don't understand) the actual text >>of the question was not submitted. >> >>I'd like a little clarification and an answer to another part of my >>question (which did not get posted). You are saying if I use a >>splitter, then E-Prime will see only one monitor (connected to the >>display card) and thus only one vertical blank signal; is that >>correct? Part of my question that wasn't posted was that I will be >>using two LCD monitors. Considering this, will it make any >>difference whether I divide the analog signal from my display card, >>using a VGA splitter or the digital signal, using a DVI or Display >>Port splitter? A digital connection can transmit additional >>information about the display; I wonder if this might cause any >>synchronization problems. On the other hand, the VGA signal will >>have to be converted to digital data by the LCD display, possibly >>increasing the lag. -- Thanks for clarification & recommendations >>regarding the preferred type of splitter. >> >>I'll post this support response whenever I get it. >> >>Thanks. >> >>Scott >> >>On Monday, December 10, 2012 12:49:02 PM UTC-6, McFarlane, David wrote: >>Scott, >> >>Good questions, wish I had an answer, hope someone else does. You >>should submit this to PST Web Support at >>http://support.pstnet.com/e%2Dprime/support/login.asp >>, after all it >>is their business to know these things. Then please post back here >>with the answer. >> >>Thanks, >>-- David McFarlane >> >> >>At 12/9/2012 05:08 PM Sunday, Scott wrote: >> >I don't expect perfection, but would like feedback to help choose >> >how to setup a new lab using E-Prime using physiological equipment >> >in two rooms. One room has two PCs, one recording physiological >> >measurements, connected (via the parallel port) to a second PC >> >running E-Prime. Each will be monitored by experimenters in that >> >room. The other room has the subject's video display and button box. >> >My question has to do ONLY with the E-Prime PC. We want >> >experimenters to be able to see what the subject sees, while they >> >monitor physiological recording, so we want the E-Prime video >> >mirrored on LCD displays in the two rooms. Of course this is a very >> >common situation for such labs (using EEG, fMRI, EDR, etc). Our >> >E-Prime computer has a video card (AMD RADEON HD 7470) with one >> >Display Port and one VGA port. Using this computer and display card, >> >there are 3 simple ways (afaik) to accomplish what I want and >> >display the same thing on two monitors: >> > * Connect one LCD to the Display Port and the other to the VGA >> > port, and set the display card to clone mode; >> > * Connect a VGA Y-splitter to the computer's VGA port, and >> > connect one LCD monitor to each side of the splitter; or >> > * Connect a Display Port Y-splitter to the computer's VGA port, >> > and connect one LCD monitor (via Display Port-to-HDMI or -to-VGA >> > converter) to each side of the splitter. >> > >> >Using method #1, the E-Prime 2.0.10.184 or later Experiment Advisor >> >will warn that "Mirroring can cause timing issues since vertical >> >blank synchronization is not accurate between multiple displays..." >> >(see >> <http://www.pstnet.com/support/kb.asp?TopicID=5014>KB >> 5014 - >> >FEATURE: Experiment Advisor Module - Display adapter set to clone >> >mode). However, I do not know whether using a splitter will actually >> >improve timing consistency or solve any issues related to vertical >> >blank synchronization. If a splitter would be better, Also, I don't >> >know whether the type of splitter would make any difference in this >> >regard. (I do know that video resolution and quality might differ). >> >Note that I am aware of various issues (eg., input lag, rise time) >> >that can compromise timing accuracy of LCD displays. As a said at >> >the outset, I'm not expecting perfection, or even anything close to >> >the accuracy of a single CRT monitor. My goal is simply to minimize >> >the variability of the time between the onset sync, detected by >> >E-Prime, and the onset of the visual display seen by the subject. A >> >constant lag does not concern me. Also, the two monitors to do NOT >> >need to be synchronized with each other, except to the extent >> >necessary for even one to be (relatively) synchronized to the >> >vertical blank. Also note that I am NOT concerned or asking about >> >synchronization between physiological recordings and the vertical >> >blank time detected by E-Prime, signaled via the parallel port; >> >that's a different and less troublesome issue, imho. Also, I >> >understand that timing accuracy is more or less critical, depending >> >on experimental paradigms and physiological measures. All I'm asking >> >about is which of the 3 methods listed above can be expected to >> >yield the most consistent and reliable (or least bad) timings, as a >> >general rule, when connecting two LCD displays, both showing the >> >same content, to one PC running E-Prime. If anyone knows any better >> >methods, other than these 3, I'd like to hear about them as well. >> > >> >Thanks, in advance, for sharing relevant experience, knowledge, and >> >advice. --Scott > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To post to this group, send email to e-prime at googlegroups.com. >To unsubscribe from this group, send email to >e-prime+unsubscribe at googlegroups.com. >For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahuvayochevedsegal at gmail.com Fri Dec 14 03:16:14 2012 From: ahuvayochevedsegal at gmail.com (gugs) Date: Thu, 13 Dec 2012 19:16:14 -0800 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: <581e6c4b-26c9-4ff1-9b17-b5fa06fab4b4@googlegroups.com> Message-ID: Thanks. I lost my computer to repairs this week but as soon as I get it back I will try these suggestions. I'll let you know how it goes. Many thanks. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/8e3EQ3bAcbYJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahuvayochevedsegal at gmail.com Fri Dec 14 03:22:59 2012 From: ahuvayochevedsegal at gmail.com (gugs) Date: Thu, 13 Dec 2012 19:22:59 -0800 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: <437ae68c-f81d-45b6-badf-cb98d34d9d1d@googlegroups.com> Message-ID: Hi David The stimulus appears on the screen for 300 ms, followed by a blank screen for 1200 seconds (for a total of 1500 ms). Therefore the settings are as follows: 1. stimulus screen has the correct properties timing mode (cumulative), data logging (standard), duration (300), Time Limit (1200), End Action (none) 2.stimuluswait screen has the correct properties timing mode (cumulative), data logging (time audit only), duration (1200) I want the stimulus and blank screens to remain standard across the task regardless of whether the participant has responded or not. The next stimulus should begin after the 1200 ms blank screen without user intervention. Regards. On Friday, December 14, 2012 2:16:14 PM UTC+11, gugs wrote: > > Thanks. I lost my computer to repairs this week but as soon as I get it > back I will try these suggestions. I'll let you know how it goes. > > Many thanks. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/6kSldWVDrBwJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Dec 14 15:19:03 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 14 Dec 2012 10:19:03 -0500 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: Message-ID: PreRelease? At 12/13/2012 10:22 PM Thursday, you wrote: >Hi David > >The stimulus appears on the screen for 300 ms, followed by a blank >screen for 1200 seconds (for a total of 1500 ms). > >Therefore the settings are as follows: > >1. stimulus screen has the correct properties timing mode >(cumulative), data logging (standard), duration (300), Time Limit >(1200), End Action (none) >2.stimuluswait screen has the correct properties timing mode >(cumulative), data logging (time audit only), duration (1200) > >I want the stimulus and blank screens to remain standard across the >task regardless of whether the participant has responded or >not. The next stimulus should begin after the 1200 ms blank screen >without user intervention. > >Regards. > > >On Friday, December 14, 2012 2:16:14 PM UTC+11, gugs wrote: >Thanks. I lost my computer to repairs this week but as soon as I get >it back I will try these suggestions. I'll let you know how it goes. > >Many thanks. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From marykatetompkins at gmail.com Fri Dec 14 21:04:22 2012 From: marykatetompkins at gmail.com (MKT) Date: Fri, 14 Dec 2012 13:04:22 -0800 Subject: Running experiment at two sites - match computers and refresh rates? In-Reply-To: Message-ID: Thanks for the responses, everyone! On Monday, November 19, 2012 3:06:06 AM UTC-5, Scott wrote: > > Hi Mary Kate, > > I want to better explain my previous post (about LCD monitors) and reply > more specifically to David's questions. > > We are starting up a collaboration study with another lab. I'm responsible > for helping design tasks and write the E-Prime programs, which include > several programs with only behavioral measures and one that will also > include ERP measures. > > I'm not the PI; I have considerable input but don't have the final say > about anything. Like you, I want to minimize noise and especially > measurement bias between the two labs. I want to be practical and realistic > regarding these goals. I agree with most everything David has said. I'm > asking that factors that are easy to control and might affect performance > and/or measurement be consistent between the two sites, including things > you've already mentioned, like monitor size and resolution (also determined > by E-Prime device settings) and operating systems. I also want to ensure we > use the same refresh rate (60 hz), so I know how to set stimulus durations, > and both sites will use the same version of E-Prime to run subjects. We'll > check both PCs using E-Pime's timing tests, and if they pass I won't worry > more about how similar the computers are. > > I'm less sure than David about how robust E-Prime is with regard to > measuring response times independent of the mechanisms for presenting > stimuli. Both labs will be using the same kinds of USB button boxes (maybe > not as precise as the PST SRBox, but it's consistent and convenient). I > only encountered a difficult choice when it came to the computer monitors. > E-Prime can accurately and reliably control and measure presentations of > visual displays on a CRT monitor, and all CRT monitors work about the same > (afaik). However, both labs use LCD monitors (I have no say about this), > and LCDs monitors are more varied and complicated, especially with regard > to timings. This has been discussed a before in post about *LCD monitors > and Input lag* in thisthread and maybe others. It's not easy to measure input lag. The refresh > detector of PST's SRBox does not work reliably with LCD monitors (unless > someone can tell me how to make it work). Onscreen timers and high-speed > cameras are often used, along with photocells and oscilloscopes, but they > all require extra equipment, time, and trouble. Moreover, there are > questions about the implementation and accuracy of most of these methods. In > fact, a rather thorough analysis by Thomas Thiemann, here > , concludes: > > - ...it is not an option to achieve a precise value for the image > processing time in the monitor using a camera. It is only possible to > indicate approximate areas in which the input lag of the monitor is likely > to be encountered, but subject to a rather large error. An evaluation of > the input lags of monitors using the photo method should thus lead to > sorting into rough classes such as the following: > - - probably less than 1 frame lag / less than 16 ms lag > - - probably one to two frames lag / 16 ms to 32 ms lag > - - the lag is probably greater than two frames / greater than 32 > ms. > > Now I'm not sure E-Prime's RT measures would necessarily reflect this > range of variability, but if so, it's more difference between labs than I'm > comfortable with. Therefore, we decided to purchase the same new LCD > monitors for both labs, hoping that that they probably would exhibit about > the same amount of lag so that RTs and stimulus onset times would be > displaced about the same amount in the measurements and recording of both > labs. This was the best I could figure to do, for now, so we can get on > with our research. In the meantime, I have someone working on a photocell > circuit to connect to our EEG headbox that might allow me to measure the > stimulus onset lags of our systems. > > If you are using CRT monitors, good for you -- none of this matters. I'm > not sure how much it matters, even if you do use LCD monitors. I would love > for someone to explain why "LCD input lag" makes little or no difference > for most research paradigms, and convince me I've no reasons to worry about > this. I just thought I should share my concerns and some information that > might be relevant to you and/or other researchers. I'd like to hear what > others think. -- Thanks. > > On Thursday, November 15, 2012 3:35:56 PM UTC-6, McFarlane, David wrote: >> >> Mary Kate, >> >> Good question, I hope others weigh in. Here are my thoughts. >> >> Obviously, the more uniform the better. So one might turn the >> question around and ask how much nonuniformity is too much. And that >> will depend largely on the timing demands of the study, some studies >> have more stringent requirements than others. >> >> Offhand, I would say that as long as each of your computer setups can >> robustly deliver millisecond-quality times, you should be OK. You >> can and should test each one with the RefreshClockTest that you can >> download from PST, see Chapter 3 of the original User's Guide, or >> Chapter 4 of the revised version. Bear in mind that RefreshClockTest >> just tests whether the system can keep up with the onboard >> millisecond clock, it does not test the accuracy of the clock per se, >> for that you would need to compare times with an external time >> standard. In any case, you at least want all your machines to pass >> RefreshClockTest. >> >> Matching refresh rates again depends on your timing requirements. To >> take an example, If you have one display running at 60 Hz (refresh >> period = 16.7 ms) and another at 75 Hz (refresh period = 13.3 ms), >> and you ask for a Duration of 200 ms, then the one display will >> actually give you either 183 or 200 ms, while the other screen will >> give you either 199 ms or 213 ms. You will have to decide whether >> that is acceptable. Note that the production release (EP2.0.10.242) >> allows you to request a refresh rate >> (http://www.pstnet.com/support/kb.asp?TopicID=3465 ). No guarantee >> that you will get what you ask, so still look at the value measured >> by E-Prime & reported in the .edat file. (And go with the value >> measured by E-Prime, do not trust the refresh rate reported by Windows.) >> >> I do not have any particular refresh rate to recommend, I do not run >> studies myself (I am a Systems Designer who helps others do their >> research), and I am embarrassed to say that I have never asked others >> what refresh rates they use, I will have to ask around. Offhand it >> seems that faster is better as you get more exact times. OTOH, I >> often tend toward lowest common denominators for greater >> compatibility, and for that reason might stick down at 60 Hz. In >> truth, rightly or wrongly, I think we mostly just take whatever >> refresh rate we get and don't think about it. >> >> You already plan to use the same size monitors at all sites, and I >> presume use the same display resolution. I trust you will also seat >> subjects at the same distance so that visual stimuli subtend the same >> visual angle for all subjects. >> >> Note that none of this affects the accuracy of response times, >> E-Prime has a very robust mechanism for gettting responses which is >> independent of the mechansims for presenting stimuli. >> >> Now after all that, here is the short answer (Michiel, would like to >> chime in here?): Chances are that whatever human behavior you >> measure has more variance than your measurement system. That's not >> an excuse for getting sloppy when you can be exact, but maybe we need >> not fret too much about this; others have done statistical >> calculations to show that we can compensate for variance introduced >> by our measuring system merely by running a few more subjects (sorry, >> I don't have a citation handy). >> >> So what do the rest of you think? For that matter, what do others >> actually do? >> >> ----- >> David McFarlane >> E-Prime training >> online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) >> >> >> At 11/15/2012 12:28 PM Thursday, MKT wrote: >> >We will soon be running the same experiment on E-Prime 2.0 at two >> >sites (OSU and UPenn). We want to make sure we do not add any >> >additional noise in the data or run into problems. >> > >> >We plan to use the same size monitors at both sites and run on >> >Windows 7. Is it necessary to match computer type as well? How about >> >refresh rates? Is there a particular refresh rate you recommend? >> > >> >Thanks for your help! >> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/v45gKlMvm20J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marykatetompkins at gmail.com Fri Dec 14 21:05:09 2012 From: marykatetompkins at gmail.com (MKT) Date: Fri, 14 Dec 2012 13:05:09 -0800 Subject: Running experiment at two sites - match computers and refresh rates? In-Reply-To: Message-ID: Thanks for the responses, everyone! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/nZqA8Y9D-S4J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jakov.zlodre at gmail.com Mon Dec 17 10:36:58 2012 From: jakov.zlodre at gmail.com (JZ) Date: Mon, 17 Dec 2012 02:36:58 -0800 Subject: How to synchronise Slide duration with SoundBuffer Message-ID: Hello, I am new to this forum and new to E Prime. I am designing a task that requires playing a sound during presentation of a colour screen. The colour screen is a Slide with a text display with the back colour set differently according to whether it is paired with sound or not. The problem I have is that I want the slide to last 10 secs and the sound to play intermittently during those 10 seconds. I have the sound playing using SoundBuffer.Play and then using SoundBuffer.Pause and Sleep to pause the sound in an inline after the text display with the PreRelease for the Slide at 10secs. However the Sleep command also applies to the main script so that the Slide displays for more than 10 secs. Is there any way I can make the inline run during the Slide but not have the .Play, .Pause and Sleep make the Slide run for more than 10 secs? I am much obliged for any help as am very ignorant regarding E Prime. Best wishes, Jakov -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/fqpfTr63CSkJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From r.dardennes at gmail.com Mon Dec 17 18:45:32 2012 From: r.dardennes at gmail.com (Roland Dardennes) Date: Mon, 17 Dec 2012 10:45:32 -0800 Subject: Running experiment at two sites - match computers and refresh rates? In-Reply-To: Message-ID: Will you use response boxes or computer keyboards ? When I did help a college student for her project, she used two different laptops, one for each of the two colleges where she included volunteers. It happened that she had a systematic difference of 40 ms between the sites' means ... But I have non idea how to check this between two given keyboards. It may not be a problem if you are substracting RT in one condition from RT in another condition, but it may be if you are working with absolute RT. Good luck On 15 nov, 18:28, MKT wrote: > We will soon be running the same experiment on E-Prime 2.0 at two sites > (OSU and UPenn). We want to make sure we do not add any additional noise in > the data or run into problems. > > We plan to use the same size monitors at both sites and run on Windows 7. > Is it necessary to match computer type as well? How about refresh rates? Is > there a particular refresh rate you recommend? > > Thanks for your help! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From marykatetompkins at gmail.com Tue Dec 18 16:46:27 2012 From: marykatetompkins at gmail.com (MKT) Date: Tue, 18 Dec 2012 08:46:27 -0800 Subject: Running experiment at two sites - match computers and refresh rates? In-Reply-To: <9a9bdc38-ded1-44e6-9813-00ccfcde5462@c28g2000vby.googlegroups.com> Message-ID: Interesting. We plan to use the DirectIn Keyboard from Empirisoft at both sites. http://www.empirisoft.com/directinkb.aspx On Monday, December 17, 2012 1:45:32 PM UTC-5, Roland Dardennes wrote: > > Will you use response boxes or computer keyboards ? When I did help a > college student for her project, she used two different laptops, one > for each of the two colleges where she included volunteers. It > happened that she had a systematic difference of 40 ms between the > sites' means ... But I have non idea how to check this between two > given keyboards. It may not be a problem if you are substracting RT in > one condition from RT in another condition, but it may be if you are > working with absolute RT. > > Good luck > > On 15 nov, 18:28, MKT wrote: > > We will soon be running the same experiment on E-Prime 2.0 at two sites > > (OSU and UPenn). We want to make sure we do not add any additional noise > in > > the data or run into problems. > > > > We plan to use the same size monitors at both sites and run on Windows > 7. > > Is it necessary to match computer type as well? How about refresh rates? > Is > > there a particular refresh rate you recommend? > > > > Thanks for your help! > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/Kp1e9-FBJvgJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacanterbury at gmail.com Wed Dec 19 15:07:10 2012 From: jacanterbury at gmail.com (JACanterbury) Date: Wed, 19 Dec 2012 07:07:10 -0800 Subject: add textdisplay to slide In-Reply-To: Message-ID: Hi Tobias, I'm looking to do the same thing (ie add new text objects to an existing slide at runtime) Did you work out how to do it? If so, could you post a code snippet to show how? many thanks, john On Thursday, 12 July 2012 14:45:56 UTC+1, Tobias wrote: > > Hi, > > I want to run a slide called "SearchSlide". > Within a trial, I want to add a textdisplay. > > I tried: > > set SearchContext > set textACC = New TextDisplay > > textACC.X = "50%" > textACC.Y = "2%" > textACC.Width = "34%" > textACC.Height = "3%" > textACC.FontSize = "16" > textACC.FontName = "Arial" > textACC.backcolor = "128,128,128" > textACC.text = "correct" > > however the "set" command needs an "=". How can I refer to an already > existing slide? > > Thanks, > Tobias > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/lDsQHHFGsSQJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Wed Dec 19 15:23:31 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 19 Dec 2012 10:23:31 -0500 Subject: add textdisplay to slide In-Reply-To: <505c2813-c467-42dd-9d33-5d38ab9abf8f@googlegroups.com> Message-ID: Hmm, it just occurs to me, why not just add new text to existing SlideText sub-objects instead of adding entirely new SlideText sub-objects at run time? Start by adding SlideText objects as placeholders into your Slide, and into each one put an attribute reference, e.g., [Text1], [Text2], ... Define those attributes before running your Slide, with empty text if you do not want any text. Then just assign new values to the attributes as needed, and rerun or redraw the Slide to have the new text appear. -- David McFarlane At 12/19/2012 10:07 AM Wednesday, JACanterbury wrote: >Hi Tobias, > >I'm looking to do the same thing (ie add new text objects to an >existing slide at runtime) > >Did you work out how to do it? If so, could you post a code snippet >to show how? > >many thanks, > >john > >On Thursday, 12 July 2012 14:45:56 UTC+1, Tobias wrote: >Hi, > >I want to run a slide called "SearchSlide". >Within a trial, I want to add a textdisplay. > >I tried: > >set SearchContext >set textACC = New TextDisplay > >textACC.X = "50%" >textACC.Y = "2%" >textACC.Width = "34%" >textACC.Height = "3%" >textACC.FontSize = "16" >textACC.FontName = "Arial" >textACC.backcolor = "128,128,128" >textACC.text = "correct" > >however the "set" command needs an "=". How can I refer to an >already existing slide? > >Thanks, >Tobias -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From jacanterbury at gmail.com Wed Dec 19 15:59:48 2012 From: jacanterbury at gmail.com (JACanterbury) Date: Wed, 19 Dec 2012 07:59:48 -0800 Subject: add textdisplay to slide In-Reply-To: <50d1dbf8.849e320a.0e37.6a5eSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David, Thanks for the reply. The problem is that I want a generic bit of code that will read a couple of easily edited integer variables to determine how many text objects I need and to then work out how to position them (I want to create a grid of varying size and then capture which grid square the user clicks in) so I need a way to create slidetext objects at runtime and then to associate them with a particular slide. Any more thoughts? Many thanks, John On Wednesday, December 19, 2012 3:23:31 PM UTC, McFarlane, David wrote: > > Hmm, it just occurs to me, why not just add new text to existing > SlideText sub-objects instead of adding entirely new SlideText > sub-objects at run time? Start by adding SlideText objects as > placeholders into your Slide, and into each one put an attribute > reference, e.g., [Text1], [Text2], ... Define those attributes > before running your Slide, with empty text if you do not want any > text. Then just assign new values to the attributes as needed, and > rerun or redraw the Slide to have the new text appear. > > -- David McFarlane > > > At 12/19/2012 10:07 AM Wednesday, JACanterbury wrote: > >Hi Tobias, > > > >I'm looking to do the same thing (ie add new text objects to an > >existing slide at runtime) > > > >Did you work out how to do it? If so, could you post a code snippet > >to show how? > > > >many thanks, > > > >john > > > >On Thursday, 12 July 2012 14:45:56 UTC+1, Tobias wrote: > >Hi, > > > >I want to run a slide called "SearchSlide". > >Within a trial, I want to add a textdisplay. > > > >I tried: > > > >set SearchContext > >set textACC = New TextDisplay > > > >textACC.X = "50%" > >textACC.Y = "2%" > >textACC.Width = "34%" > >textACC.Height = "3%" > >textACC.FontSize = "16" > >textACC.FontName = "Arial" > >textACC.backcolor = "128,128,128" > >textACC.text = "correct" > > > >however the "set" command needs an "=". How can I refer to an > >already existing slide? > > > >Thanks, > >Tobias > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/D1LWSwUyO-wJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From elpiconacho at gmail.com Wed Dec 19 15:56:02 2012 From: elpiconacho at gmail.com (dagwood) Date: Wed, 19 Dec 2012 07:56:02 -0800 Subject: Are there any Eprime users in Arizona (Phoenix East Valley ) that could help me with an experiment? Message-ID: Hello looking to get in touch with E-Prime users in Phoenix AZ. Please reach out to me at your earliest convenience. Thank you, Diego 480-319-3534 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/1EI8NiMSCocJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacanterbury at gmail.com Thu Dec 20 13:53:38 2012 From: jacanterbury at gmail.com (JACanterbury) Date: Thu, 20 Dec 2012 05:53:38 -0800 Subject: Upper/Lower Case In-Reply-To: <6ba619f2-a077-4d55-b861-cd5299edcbe1@googlegroups.com> Message-ID: on the slide's properties, on the duration/input tab, set the 'duration' to infinite' and set 'allowable' to zZmM and the end action to Terminate On Thursday, December 20, 2012 12:34:22 PM UTC, Lizzie wrote: > > Hi All, > > I'm new to e-prime and am currently programming the first study for my > PhD. I have managed to get everything working (eventually!) and have one > final issue I wonder if anyone can help me with. > > In the task, two letters on the keyboard are assigned as 'correct' or > 'incorrect' responses (z and m). Is there any way to set it so that > responses are captured, whether caps lock is on or not? I ran a few pilot > trials and in a couple, participants accidentally hit the caps lock button > at some point, without realising, and therefore all of their responses from > that point were not recorded (i.e. data output said they had not answered). > > I tried adding two 'correct response' columns (i.e. both Z and z) but this > seemed to be make it so that a correct response has to include both buttons > (Zz). > > Any help would be gratefully received! > > Thanks, > Lizzie > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/eVyw2jO9z9AJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From eefb at st-andrews.ac.uk Thu Dec 20 12:34:22 2012 From: eefb at st-andrews.ac.uk (Lizzie) Date: Thu, 20 Dec 2012 04:34:22 -0800 Subject: Upper/Lower Case Message-ID: Hi All, I'm new to e-prime and am currently programming the first study for my PhD. I have managed to get everything working (eventually!) and have one final issue I wonder if anyone can help me with. In the task, two letters on the keyboard are assigned as 'correct' or 'incorrect' responses (z and m). Is there any way to set it so that responses are captured, whether caps lock is on or not? I ran a few pilot trials and in a couple, participants accidentally hit the caps lock button at some point, without realising, and therefore all of their responses from that point were not recorded (i.e. data output said they had not answered). I tried adding two 'correct response' columns (i.e. both Z and z) but this seemed to be make it so that a correct response has to include both buttons (Zz). Any help would be gratefully received! Thanks, Lizzie -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/3kJBKw_1k_YJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From eefb at st-andrews.ac.uk Thu Dec 20 21:16:14 2012 From: eefb at st-andrews.ac.uk (Lizzie) Date: Thu, 20 Dec 2012 13:16:14 -0800 Subject: Upper/Lower Case In-Reply-To: <50d33e23.c42e320a.73e2.ffff98a5SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thank-you both for your help, that's brilliant. Happy Christmas! On Thursday, December 20, 2012 4:34:39 PM UTC, McFarlane, David wrote: > > Lizzie, > > I can confirm that JACanterbury's advice works. It seems that the > ACC scoring mechanism is case-insenstive, so for Correct an entry of > either "z" or "Z" will match a response of either "z" or "Z" (I don't > know that this is documented anywhere). I tested this with EP1.2 > (which I much prefer for exploratory exercises), I assume the same > holds for EP2. > > Of course, there is always the low-tech solution documented at > > http://groups.google.com/group/e-prime/browse_thread/thread/6ff76d4d7b9575f8 > three years ago: Just yank out the offending key, and if necessary, > back that up with a healthy dose of epoxy. No one needs a Caps Lock > key anyway, and spare/replacement keyboards are cheap if you ever do > need the Caps Lock. > > -- David McFarlane > > > At 12/20/2012 08:53 AM Thursday, JACanterbury wrote: > >on the slide's properties, on the duration/input tab, set the > >'duration' to infinite' and set 'allowable' to zZmM and the end > >action to Terminate > > > >On Thursday, December 20, 2012 12:34:22 PM UTC, Lizzie wrote: > >Hi All, > > > >I'm new to e-prime and am currently programming the first study for > >my PhD. I have managed to get everything working (eventually!) and > >have one final issue I wonder if anyone can help me with. > > > >In the task, two letters on the keyboard are assigned as 'correct' > >or 'incorrect' responses (z and m). Is there any way to set it so > >that responses are captured, whether caps lock is on or not? I ran a > >few pilot trials and in a couple, participants accidentally hit the > >caps lock button at some point, without realising, and therefore all > >of their responses from that point were not recorded (i.e. data > >output said they had not answered). > > > >I tried adding two 'correct response' columns (i.e. both Z and z) > >but this seemed to be make it so that a correct response has to > >include both buttons (Zz). > > > >Any help would be gratefully received! > > > >Thanks, > >Lizzie > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/Wxu-A6w66MYJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Dec 20 16:34:39 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 20 Dec 2012 11:34:39 -0500 Subject: Upper/Lower Case In-Reply-To: <8ee1bc7b-2780-48c4-b40a-37936e9e0495@googlegroups.com> Message-ID: Lizzie, I can confirm that JACanterbury's advice works. It seems that the ACC scoring mechanism is case-insenstive, so for Correct an entry of either "z" or "Z" will match a response of either "z" or "Z" (I don't know that this is documented anywhere). I tested this with EP1.2 (which I much prefer for exploratory exercises), I assume the same holds for EP2. Of course, there is always the low-tech solution documented at http://groups.google.com/group/e-prime/browse_thread/thread/6ff76d4d7b9575f8 three years ago: Just yank out the offending key, and if necessary, back that up with a healthy dose of epoxy. No one needs a Caps Lock key anyway, and spare/replacement keyboards are cheap if you ever do need the Caps Lock. -- David McFarlane At 12/20/2012 08:53 AM Thursday, JACanterbury wrote: >on the slide's properties, on the duration/input tab, set the >'duration' to infinite' and set 'allowable' to zZmM and the end >action to Terminate > >On Thursday, December 20, 2012 12:34:22 PM UTC, Lizzie wrote: >Hi All, > >I'm new to e-prime and am currently programming the first study for >my PhD. I have managed to get everything working (eventually!) and >have one final issue I wonder if anyone can help me with. > >In the task, two letters on the keyboard are assigned as 'correct' >or 'incorrect' responses (z and m). Is there any way to set it so >that responses are captured, whether caps lock is on or not? I ran a >few pilot trials and in a couple, participants accidentally hit the >caps lock button at some point, without realising, and therefore all >of their responses from that point were not recorded (i.e. data >output said they had not answered). > >I tried adding two 'correct response' columns (i.e. both Z and z) >but this seemed to be make it so that a correct response has to >include both buttons (Zz). > >Any help would be gratefully received! > >Thanks, >Lizzie -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From psikoticsilver at gmail.com Wed Dec 26 23:52:46 2012 From: psikoticsilver at gmail.com (sam) Date: Wed, 26 Dec 2012 15:52:46 -0800 Subject: Variables referring into functions/subs In-Reply-To: <9d81d32f-6750-46e8-a581-4162971ca7a5@googlegroups.com> Message-ID: I can't seem to edit.... I had an oopsie in there. I meant to write: "but it's a great way *to demonstrate what I am aiming for.* In this example," -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/6adS4-aWcR4J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From psikoticsilver at gmail.com Wed Dec 26 23:40:03 2012 From: psikoticsilver at gmail.com (sam) Date: Wed, 26 Dec 2012 15:40:03 -0800 Subject: Variables referring into functions/subs Message-ID: Hello! I'm working on some experiments for the lab in which I work. I've run into some problems in the coding side, and I hoped I could find some help here. I'm having some problems with variables. I'll make up an example, where I'm attempting to pass a string into a function. I want to use the contents of this string as a the name of any canvas I choose, so I can clear any canvas by sending it's name into this subroutine. ***** 'userscript dim canvas as slide Sub clearcanvas(namecnvs as string) Set namecnvs = Display.Canvas namecnvs.FillColor = CColor("white") namecnvs.TextColor = CColor("black") namecnvs.Clear end sub 'inline Set cnvs = Display.Canvas cnvs.text Display.XRes, Display.YRes, "Hello, World!" sleep(500) Call clearcanvas("cnvs") cnvs.text Display.XRes, Display.YRes, "Hello, Sam!" sleep(500) ***** Now obviously, I can't use "cnvs" like that, but it's a great way In this example, what I want to do is use the contents of the string namecnvs to represent the name of any canvas I desire, but I don't know how. When using namecnvs as is, e-prime would treat it as another slide. I can't find anything in e-prime that would allow me to either identify something as a variable (like a $ in bash) or use it's contents dynamically. I can do this in bash and matlab, and in C, but I can't figure out how to do this in E-Prime. I could do some really neat things (I find scripting to be neat) if I could just nail this issue. Thank you for your time, and happy holidays! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/GXs9qO4suS0J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Dec 27 16:32:55 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 27 Dec 2012 11:32:55 -0500 Subject: Variables referring into functions/subs In-Reply-To: <9d81d32f-6750-46e8-a581-4162971ca7a5@googlegroups.com> Message-ID: Not sure I quite follow this, but why not just pass the variable of interest directly instead of merely passing its name as a String? (I might also ask why you resort to using Canvas this way in the first place, but that is another issue.) Using your example, In global User Script: Sub CanvasInit( cnvs as Canvas ) cnvs.FillColor = CColor("white") cnvs.TextColor = CColor("black") cnvs.Clear End Sub ' CanvasInit() In InLine: Set cnvs = Display.Canvas cnvs.Text Display.XRes, Display.YRes, "Hello, World!" Sleep(500) CanvasInit cnvs cnvs.text Display.XRes, Display.YRes, "Hello, Sam!" sleep(500) Note the lack of parentheses around the argument in the call to CanvasInit -- unlike rational programming languages like C or MATLAB, in E-Basic/VBA arguments to Functions *must* be enclosed in parantheses, while arguments to Subroutines must *not* be enclosed in parantheses. (Rational programming languages also make no hard distinction between functions & subroutines, but again, that is another matter.) ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 12/26/2012 06:40 PM Wednesday, sam wrote: >Hello! I'm working on some experiments for the lab in which I >work. I've run into some problems in the coding side, and I hoped I >could find some help here. > >I'm having some problems with variables. I'll make up an example, >where I'm attempting to pass a string into a function. I want to >use the contents of this string as a the name of any canvas I >choose, so I can clear any canvas by sending it's name into this subroutine. > >***** > >'userscript >dim canvas as slide > >Sub clearcanvas(namecnvs as string) > Set namecnvs = Display.Canvas > namecnvs.FillColor = CColor("white") > namecnvs.TextColor = CColor("black") > namecnvs.Clear >end sub > > >'inline >Set cnvs = Display.Canvas >cnvs.text Display.XRes, Display.YRes, "Hello, World!" > >sleep(500) >Call clearcanvas("cnvs") > >cnvs.text Display.XRes, Display.YRes, "Hello, Sam!" >sleep(500) > >***** > >Now obviously, I can't use "cnvs" like that, but it's a great way In >this example, what I want to do is use the contents of the string >namecnvs to represent the name of any canvas I desire, but I don't >know how. When using namecnvs as is, e-prime would treat it as >another slide. I can't find anything in e-prime that would allow me >to either identify something as a variable (like a $ in bash) or use >it's contents dynamically. I can do this in bash and matlab, and in >C, but I can't figure out how to do this in E-Prime. I could do >some really neat things (I find scripting to be neat) if I could >just nail this issue. > >Thank you for your time, and happy holidays! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From psikoticsilver at gmail.com Fri Dec 28 23:52:08 2012 From: psikoticsilver at gmail.com (sam) Date: Fri, 28 Dec 2012 15:52:08 -0800 Subject: Variables referring into functions/subs In-Reply-To: <50dc783f.8768320a.76c9.fffff925SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Basically, the reason I want to pass a string into the function is that it allows me to clear any canvas I please at any time, simply by passing it's name into the function as a string. I then want to use the contents of this string in place of a variable (in this case the canvas object) name. I do not know if this is even possible in e-basic. Canvas creation/clearing is not the only way I could benefit from this. I plan on using similar principles to draw images, load/play sounds, preload stimuli during wait times, and many other things. I'm not using slides and so forth as I'm working on fMRI experiments where every ms is critical. I only want to run what is necessary, and using one function to work on many processes will allow me to reduce the footprint of this program. ...plus I just find this fun. I'm prepared to fall back on a more basic method, but I would much prefer some clever coding. :) About the parentheses, I've not had any success in e-prime 2.0.10 using that syntax. It seems to require me to use parentheses or I encounter a compiling error. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/OJ5cPSJF-6IJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From helminenterhi at gmail.com Sun Dec 2 20:36:56 2012 From: helminenterhi at gmail.com (terhi helminen) Date: Sun, 2 Dec 2012 22:36:56 +0200 Subject: pre-loading items in Slide object Message-ID: Hi, I have tried to preload soundfiles and moviefiles of a slide object in the beginning of the trial to decrease timing delay. (I can't use prerelease in my experiment.) I found a good example of preloading stimuli from http://imaging.mrc-cbu.cam.ac.uk/imaging/EprimeTiming : ---- This example shows how to preload soundfiles: 'Get the soundbuffer from the soundout objectDim SBuffer as SoundBufferSet SBuffer = SoundOut1.Buffers(1)'Assign the new filename (where Stimulus is name of attribute on list that lists sound files)SBuffer.Filename = c.GetAttrib("Stimulus")'Instruct the object to load the sound contents into its internal structuresSoundOut1SoundBuffer.Load And here?s how to preload images: 'Retrieve the image filename from the ContextDim strImageFileName As StringstrImageFileName = c.GetAttrib("imagefilename")'Assign the new filename and instruct the object'to load the imageImageDisplay1.Filename = strImageFileNameImageDisplay1.Load --- However, I didn't succeed in doing the same when the sound file and the movie files are subobjects of a slide object. Could somebody help me with this? Thank you in advance! Terhi -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mollykcannon at gmail.com Mon Dec 3 15:34:12 2012 From: mollykcannon at gmail.com (Molly Cannon) Date: Mon, 3 Dec 2012 07:34:12 -0800 Subject: Inline script for data logging Message-ID: Hello, I have created an experiment in e prime which works perfectly except for the data logging. In the experiment, participants select different videos to watch. There is an Image Display screen with pictures representing all the choices, participants choose the video they want to watch by pressing a number key. Then, an inline script sends them to the label that has the video they picked, they watch the video, provide a rating, and are then sent back to the original Image Display to select another clip. Because of the labels all the videos have to stay in the same procedure. This is causing a problem with the data logging because it is not recording multiple responses so I have no way to know the order participants watched the videos in. I am wondering if anyone knows how to write an inline script that will allow me to record each response to that original image display screen in the order they occur? Any advice would be appreciated! Thanks, Molly -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/GXUys1oBVx4J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Dec 3 19:37:46 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 3 Dec 2012 14:37:46 -0500 Subject: Inline script for data logging In-Reply-To: <100c45b2-bb0a-4823-b850-05b229aa60c3@googlegroups.com> Message-ID: Molly, To start with, you could always use c.Log to add a line to the .edat file at any time, combined with appropriate use of c.SetAttrib that should do the trick. See the "Context Object" topic in the E-Basic Help facility. Here is a trick if you would rather avoid inline code: In place of where your video plays now, put a new List with one row, and a Procedure that does nothing that plays the selected video (attributes defined at the higher level will be valid at the lower level). That will take care of the logging code for you. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 12/3/2012 10:34 AM Monday, you wrote: >I have created an experiment in e prime which works perfectly except >for the data logging. > >In the experiment, participants select different videos to watch. >There is an Image Display screen with pictures representing all the >choices, participants choose the video they want to watch by >pressing a number key. Then, an inline script sends them to the >label that has the video they picked, they watch the video, provide >a rating, and are then sent back to the original Image Display to >select another clip. Because of the labels all the videos have to >stay in the same procedure. This is causing a problem with the data >logging because it is not recording multiple responses so I have no >way to know the order participants watched the videos in. > >I am wondering if anyone knows how to write an inline script that >will allow me to record each response to that original image display >screen in the order they occur? > >Any advice would be appreciated! > >Thanks, >Molly -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Mon Dec 3 19:45:28 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 3 Dec 2012 14:45:28 -0500 Subject: pre-loading items in Slide object In-Reply-To: Message-ID: Terhi, Start by looking at the SlideSoundOut and SoundBuffer topics in the E-Basic Help facility. Then look at the "Load Image Upon Mouse Click" example from the Samples area of the PST website, I think that will show the mechanics of how to access Slide sub-objects. Then take it from there. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours -- this is pretty much their substitute for proper documentation, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 12/2/2012 03:36 PM Sunday, you wrote: >I have tried to preload soundfiles and moviefiles of a slide object >in the beginning of the trial to decrease timing delay. (I can't use >prerelease in my experiment.) > >I found a good example of preloading stimuli from >http://imaging.mrc-cbu.cam.ac.uk/imaging/EprimeTiming >: > >---- > >This example shows how to preload soundfiles: > > >'Get the soundbuffer from the soundout object >Dim SBuffer as SoundBuffer >Set SBuffer = SoundOut1.Buffers(1) > >'Assign the new filename (where Stimulus is name of attribute on >list that lists sound files) >SBuffer.Filename = c.GetAttrib("Stimulus") > >'Instruct the object to load the sound contents into its internal structures >SoundOut1SoundBuffer.Load > >And here's how to preload images: > > >'Retrieve the image filename from the Context >Dim strImageFileName As String >strImageFileName = c.GetAttrib("imagefilename") > >'Assign the new filename and instruct the object >'to load the image >ImageDisplay1.Filename = strImageFileName >ImageDisplay1.Load > >--- > > >However, I didn't succeed in doing the same when the sound file and >the movie files are subobjects of a slide object. Could somebody >help me with this? Thank you in advance! > >Terhi -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mspape at cognitology.eu Tue Dec 4 12:46:49 2012 From: mspape at cognitology.eu (Michiel Sovijarvi-Spape) Date: Tue, 4 Dec 2012 14:46:49 +0200 Subject: Tobii Extension and Windows 8 In-Reply-To: Message-ID: Hi, As far as I know: * the latest version of EP2 is release 10; * it 'should' be compatible. 'Ish? * as long as it's windows 7 x86 version you're talking about. I can confirm that various features, most annoyingly the serial port communication, does not work in x64 windows. You can find out which version of windows is running by going to start>control panel>system and under System Type. Of course, you could always install x86 windows on a x64 processor and as long as you're not handling large RAM, it should be fine. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Alison T Miller Singley Sent: 28 November 2012 00:59 To: e-prime at googlegroups.com Subject: Re: Tobii Extension and Windows 8 Actually, in attempting to install EP 2.0.8 on a Windows 7 computer, it told me it's NOT compatible with Windows 7. HOWEVER it does seem to run. If it gives you trouble, though, the compatibility mode is a neat trick: find the program settings from the Desktop or control panel (I forget exactly where I found it - Windows8 allows you to search for it) and go to the Compatibility tab. On Monday, November 26, 2012 5:54:55 PM UTC-8, Peter Quain wrote: yes it is supposed to - I'm just stuck in xp world (if it ain't broke, don't fix it) and didn't think much when replying to Alison ... more likely to find win7 drivers, probably At 12:49 PM 27/11/2012, you wrote: So EP doesn't work on Win 7? On Monday, November 26, 2012, Peter Quain wrote: Alison, I just looked at the PST info on e-prime OS compatibility, the link I posted. I don't know about Tobii issues. If you can get XP drivers for your new laptop then just format and then instal XP. If no XP drivers, then maybe trade with a colleague the new laptop for an older one with XP? At 06:09 AM 27/11/2012, you wrote: Thanks Peter - do you mind if I ask a follow-up? I should have mentioned that I'm running EPrime in compatibility mode with XP (using the Windows setting for the program). It does allow the program to run, up until the Tobii is required. So perhaps it's some interaction effect? On Wednesday, November 21, 2012 1:00:00 PM UTC-8, Alison T Miller Singley wrote: I have an experiment that was built in EPrime 2.0.8 and runs on a Tobii eyetracker just fine using a Window 7 computer (I don't know the 32/64 bit right now). However, I just got a new laptop (Windows 8, 64-bit) and am now receiving an EPrime error about TETConnect. You can bypass the error message and it runs the first part of the experiment, until it needs to engage the Tobii and then it shuts down. Any ideas whether this is a Windows 8 issue or a 64-bit issue? One I can fix by installing a different OS; I don't know how to fix the 64-bit issue if that's the cause. Thank you! Alison -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-p... at googlegroups.com . To unsubscribe from this group, send email to e-prime+u... at googlegroups.com . To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/h4U2hcjsMIcJ. 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 post to this group, send email to e-p... at googlegroups.com . To unsubscribe from this group, send email to e-prime+u... 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 post to this group, send email to e-p... at googlegroups.com . To unsubscribe from this group, send email to e-prime+u... 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 post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/DKszt6nZb3gJ. 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 post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pseudoverlighter at zonnet.nl Tue Dec 4 13:13:49 2012 From: pseudoverlighter at zonnet.nl (Mich) Date: Tue, 4 Dec 2012 15:13:49 +0200 Subject: pre-loading items in Slide object In-Reply-To: Message-ID: Hi, To start with, i have no idea, but i would suggest, if you must go this way, to look up how to set other subobjects of slides. With all the "set" manoeuvres and tons of code, I try to avoid. But once you're able to attach a different sound to your slide, you should be able to preload it. 1) While it is true that pre-loading can be of use, I believe having a sound object (like a soundout device, etc), will automatically add the preloading bit. 2) have you actually checked to see whether the timing errors are to worry about? 3) it should be possible to have sub-millisecond accurate simultaneous audio and video WHILST they are sequentially placed in the procedure. To do this, just add a sound before your slide, set its duration (and don't use sync), to 0, and make sure it continues playing after the soundout thing stops. If there's a timing error, you can easily add x microseconds of silence at the beginning of the sound file. Presto! You might get better results from using uncompressed audio and video files, though, and if the timing delay is really stable, you could always make the preceding interval smaller. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of terhi helminen Sent: 02 December 2012 22:37 To: e-prime at googlegroups.com Subject: pre-loading items in Slide object Hi, I have tried to preload soundfiles and moviefiles of a slide object in the beginning of the trial to decrease timing delay. (I can't use prerelease in my experiment.) I found a good example of preloading stimuli from http://imaging.mrc-cbu.cam.ac.uk/imaging/EprimeTiming : ---- This example shows how to preload soundfiles: 'Get the soundbuffer from the soundout object Dim SBuffer as SoundBuffer Set SBuffer = SoundOut1.Buffers(1) 'Assign the new filename (where Stimulus is name of attribute on list that lists sound files) SBuffer.Filename = c.GetAttrib("Stimulus") 'Instruct the object to load the sound contents into its internal structures SoundOut1SoundBuffer.Load And here?s how to preload images: 'Retrieve the image filename from the Context Dim strImageFileName As String strImageFileName = c.GetAttrib("imagefilename") 'Assign the new filename and instruct the object 'to load the image ImageDisplay1.Filename = strImageFileName ImageDisplay1.Load --- However, I didn't succeed in doing the same when the sound file and the movie files are subobjects of a slide object. Could somebody help me with this? Thank you in advance! Terhi -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mspape at cognitology.eu Tue Dec 4 12:59:25 2012 From: mspape at cognitology.eu (Michiel Sovijarvi-Spape) Date: Tue, 4 Dec 2012 14:59:25 +0200 Subject: the feedback problem In-Reply-To: Message-ID: Hi Rongh, It is possible to use an array of char (string) as Correct property. If you have: 1, a list, with attribute CORRECTRESPONSE, with for each trial the correct string, 2, a picture for your stimulus, name it MYAWESOMEPICTURE. Add a keyboard input. Go to properties, duration/input tab, advanced options, and set max count to 2. 3, set the CORRECT property to [CORRECTRESPONSE], making use of kick-ass caps just because it's December and it's freezing outside 4, add a feedback display after MYAWESOMEPICTURE, go to properties (white hand) and add "MYAWESOMEPICTURE" as input object. It's a bit basic though, you might look up the inspiring "An E-Prime" and go through the exercises. Best, Michiel From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Rongh Zhou Sent: 29 November 2012 09:59 To: e-prime at googlegroups.com Subject: the feedback problem Hi, When I use E-prime to do my experiment, there comes a problem. What I want to do is to present a picture, participants have to response on the picture. There response must be string as the answers including 2 numbers. After they type in, there should be a feedback. If the answer is right, they do next question, if wrong, they have to learn a material. As the participants have to type string to make response, I don't know how to judge whether their answer is right or not. The list can not put 2 characteristics as answers. And also, how to do the feedback? So if there's any good idea to cope with it ? -- school of psychology, Northwest Normal University Lanzhou, Gansu. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Tue Dec 4 15:22:38 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 4 Dec 2012 10:22:38 -0500 Subject: pre-loading items in Slide object In-Reply-To: <7.1.0.9.1.20121203144421.044f41d8@msu.edu> Message-ID: Terhi, Come to think of it, if you have EP2.0.10.242, then setting the new GeneratePreRun feature to TopOfProcedure (the default value) does exactly what you asked (pre-load Slide sub-objects at start of Procedure) automatically. If you have not already, this may make it worth your while to upgrade, but beware of all the new features & gotchas of the new version (see http://www.pstnet.com/support/kb.asp?TopicID=5345 for a few hints). ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 12/3/2012 02:45 PM Monday, David McFarlane wrote: >Terhi, > >Start by looking at the SlideSoundOut and SoundBuffer topics in the >E-Basic Help facility. Then look at the "Load Image Upon Mouse >Click" example from the Samples area of the PST website, I think >that will show the mechanics of how to access Slide >sub-objects. Then take it from there. > >----- >David McFarlane >E-Prime training >online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > >/---- >Stock reminder: 1) I do not work for PST. 2) PST's trained staff >take any and all questions at >http://support.pstnet.com/e%2Dprime/support/login.asp , and they >strive to respond to all requests in 24-48 hours -- this is pretty >much their substitute for proper documentation, so make full use of >it. 3) In addition, PST offers several instructional videos on >their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If >you do get an answer from PST staff, please extend the courtesy of >posting their reply back here for the sake of others. >\---- > > >At 12/2/2012 03:36 PM Sunday, you wrote: >>I have tried to preload soundfiles and moviefiles of a slide object >>in the beginning of the trial to decrease timing delay. (I can't >>use prerelease in my experiment.) >> >>I found a good example of preloading stimuli from >>http://imaging.mrc-cbu.cam.ac.uk/imaging/EprimeTiming >>: >> >>---- >> >>This example shows how to preload soundfiles: >> >> >> >>'Get the soundbuffer from the soundout object >>Dim SBuffer as SoundBuffer >>Set SBuffer = SoundOut1.Buffers(1) >> >>'Assign the new filename (where Stimulus is name of attribute on >>list that lists sound files) >>SBuffer.Filename = c.GetAttrib("Stimulus") >> >>'Instruct the object to load the sound contents into its internal structures >>SoundOut1SoundBuffer.Load >> >> >>And here's how to preload images: >> >> >> >>'Retrieve the image filename from the Context >>Dim strImageFileName As String >>strImageFileName = c.GetAttrib("imagefilename") >> >>'Assign the new filename and instruct the object >>'to load the image >>ImageDisplay1.Filename = strImageFileName >>ImageDisplay1.Load >> >>--- >> >> >> >>However, I didn't succeed in doing the same when the sound file and >>the movie files are subobjects of a slide object. Could somebody >>help me with this? Thank you in advance! >> >> >>Terhi -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mollykcannon at gmail.com Tue Dec 4 15:52:02 2012 From: mollykcannon at gmail.com (Molly Cannon) Date: Tue, 4 Dec 2012 10:52:02 -0500 Subject: Inline script for data logging In-Reply-To: <50bcff90.cb96320a.0cd8.45e1SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thank you! Add them into the list worked great after a little restructuring! I really appreciate the help! Molly On Mon, Dec 3, 2012 at 2:37 PM, David McFarlane wrote: > Molly, > > To start with, you could always use c.Log to add a line to the .edat file > at any time, combined with appropriate use of c.SetAttrib that should do > the trick. See the "Context Object" topic in the E-Basic Help facility. > > Here is a trick if you would rather avoid inline code: In place of where > your video plays now, put a new List with one row, and a Procedure that > does nothing that plays the selected video (attributes defined at the > higher level will be valid at the lower level). That will take care of the > logging code for you. > > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/** > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/**EPrimeMaster > ) > > /---- > Stock reminder: 1) I do not work for PST. 2) PST's trained staff take > any and all questions at http://support.pstnet.com/e%** > 2Dprime/support/login.asp, and they strive to respond to all requests in 24-48 hours. 3) In > addition, PST offers several instructional videos on their YouTube channel ( > http://www.youtube.com/user/**PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy > of posting their reply back here for the sake of others. > \---- > > > > At 12/3/2012 10:34 AM Monday, you wrote: > >> I have created an experiment in e prime which works perfectly except for >> the data logging. >> >> In the experiment, participants select different videos to watch. There >> is an Image Display screen with pictures representing all the choices, >> participants choose the video they want to watch by pressing a number key. >> Then, an inline script sends them to the label that has the video they >> picked, they watch the video, provide a rating, and are then sent back to >> the original Image Display to select another clip. Because of the labels >> all the videos have to stay in the same procedure. This is causing a >> problem with the data logging because it is not recording multiple >> responses so I have no way to know the order participants watched the >> videos in. >> >> I am wondering if anyone knows how to write an inline script that will >> allow me to record each response to that original image display screen in >> the order they occur? >> >> Any advice would be appreciated! >> >> Thanks, >> Molly >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To post to this group, send email to e-prime at googlegroups.com. > To unsubscribe from this group, send email to e-prime+unsubscribe@** > googlegroups.com . > For more options, visit https://groups.google.com/**groups/opt_out > . > > > -- Molly Cannon Doctoral Student Lifespan Emotional Development Lab (LEDlab) Northeastern University Nightingale Hall Phone: 617-373-5499 www.neu.edu/ledlab -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From yas.yazar at googlemail.com Wed Dec 5 00:14:57 2012 From: yas.yazar at googlemail.com (medda) Date: Tue, 4 Dec 2012 16:14:57 -0800 Subject: transforming setting from E-prime 1 to E-Prime 2 Professional. Message-ID: Hello there. I've been working on an issue that I could just not resolve: I have an E-Prime 1 code that changes the colour of the response option on the display screen to indicate confidence, i.e. the longer the subject presses the response button, the more the colour changes from one colour to another (within a certain time). I used the exact same code in a new Experiment which I started programming in E-Prime 2 Standard and it worked fine. But then I was forced to use E-Prime Professional (and can't really go back to Standard) and the code that has worked fine in earlier versions does not work any more. The colour does still change, but at a VERY slow rate, not as fast as it did before, and I just cannot figure out why. I am sure that I set all the Properties right at the respective slides, but there must be some default change in the E-Prime 2 Professional settings that are messing it up (e.g. the Generate PreRun Option in E-Prime 1 was always BeforeObjectRun, and in 2 it is TopOfProcedure - changing it has resolved other issues) - so if anyone knows of anything else I need to change in the Configurations, Settings, Properties etc. in E-Prime 2 Professional so I can run my E-Prime 1 code in a way that changes the colour as fast as it did in E-Prime 1, I'd really appreciate it! Thanks so much for help and comments! ~medda. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/CvDXyyBIO8AJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahuvayochevedsegal at gmail.com Wed Dec 5 01:55:23 2012 From: ahuvayochevedsegal at gmail.com (gugs) Date: Tue, 4 Dec 2012 17:55:23 -0800 Subject: Go/No-Go Task Programming (David McFarlane?) Message-ID: Hi All, I posted a query on the e-prime discussion forum last week but haven't had any replies yet. The main issue I am having in programming a go/no-go task is that the acc column is incorrectly returning a 0 when the answer is correct (but only for cases where an individual should not be responding to the stimulus). I have posted the detail here: https://www.pstnet.com/forum/Topic6489-23-1.aspx, but I will post them here as well in case someone has an idea of how to correct this. David - I know you are generally answered a lot of go/no-go extended input type queries so I was hoping you might know. =============== The task is fairly simple - an either emotive (i.e. happy, sad) or neutral word will appear on the screen for 300 ms, followed by a blank screen for 1200 seconds (for a total of 1500 ms). The participant needs to press the letter g if the word is neutral or do nothing if the word is emotive. Pressing the key should log a response time, but should not end the stimulus event (i.e. the stimulus+blank screen will always run for 1500 ms even if the participant responds within the first 300 ms). The participant can respond anytime throughout that 1500 msec. I understand this is called "extended input" - which I have accounted for by making the time limit>duration. My biggest problem that I noticed is that my RESP Acc is coming back as 0 when the correct action is to do nothing, and the person has not pressed any key. Do you know why this is? I have uploaded a simple example file showing just 4 practice trials. If someone who is experienced could take a look at it it would be much appreciated - I am all alone in my department working with e-prime and there is noone to really talk to here =================== P.S. I tried to attach the file here but it was giving me issues... Many thanks again! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/4WPeGzUmE5wJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From liwenna at gmail.com Wed Dec 5 10:07:44 2012 From: liwenna at gmail.com (Anne-Wil) Date: Wed, 5 Dec 2012 02:07:44 -0800 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: <581e6c4b-26c9-4ff1-9b17-b5fa06fab4b4@googlegroups.com> Message-ID: Hi Gugs, a quick first thought: did you indicate the correct response to be "" (e.g. nothing between " 's) for the trials in which 'nothing' is the correct response? On Wednesday, 5 December 2012 02:55:23 UTC+1, gugs wrote: > > Hi All, > I posted a query on the e-prime discussion forum last week but haven't had > any replies yet. The main issue I am having in programming a go/no-go task > is that the acc column is incorrectly returning a 0 when the answer is > correct (but only for cases where an individual should not be responding to > the stimulus). > > I have posted the detail here: > https://www.pstnet.com/forum/Topic6489-23-1.aspx, but I will post them > here as well in case someone has an idea of how to correct this. David - I > know you are generally answered a lot of go/no-go extended input type > queries so I was hoping you might know. > > =============== > > The task is fairly simple - an either emotive (i.e. happy, sad) or neutral > word will appear on the screen for 300 ms, followed by a blank screen for > 1200 seconds (for a total of 1500 ms). The participant needs to press the > letter g if the word is neutral or do nothing if the word is emotive. > Pressing the key should log a response time, but should not end the > stimulus event (i.e. the stimulus+blank screen will always run for 1500 ms > even if the participant responds within the first 300 ms). The participant > can respond anytime throughout that 1500 msec. I understand this is called > "extended input" - which I have accounted for by making the time > limit>duration. > > My biggest problem that I noticed is that my RESP Acc is coming back as 0 > when the correct action is to do nothing, and the person has not pressed > any key. Do you know why this is? > > I have uploaded a simple example file showing just 4 practice trials. If > someone who is experienced could take a look at it it would be much > appreciated - I am all alone in my department working with e-prime and > there is noone to really talk to here > > =================== > > P.S. I tried to attach the file here but it was giving me issues... > > Many thanks again! > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/JwyjUZWSa0kJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Wed Dec 5 14:03:21 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 5 Dec 2012 09:03:21 -0500 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: <5aa07e6d-a7dd-44e5-a6ce-04bb942d5d4e@googlegroups.com> Message-ID: Before going any further, please see http://www.pstnet.com/support/kb.asp?TopicID=1340 and http://www.pstnet.com/support/kb.asp?TopicID=5370 . ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /----------- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \----------- Anne-Wil wrote: > Hi Gugs, > > a quick first thought: did you indicate the correct response to be "" > (e.g. nothing between " 's) for the trials in which 'nothing' is the > correct response? > > On Wednesday, 5 December 2012 02:55:23 UTC+1, gugs wrote: > > Hi All, > I posted a query on the e-prime discussion forum last week but > haven't had any replies yet. The main issue I am having in > programming a go/no-go task is that the acc column is incorrectly > returning a 0 when the answer is correct (but only for cases where > an individual should not be responding to the stimulus). > > I have posted the detail here: > https://www.pstnet.com/forum/Topic6489-23-1.aspx > , but I will post > them here as well in case someone has an idea of how to correct > this. David - I know you are generally answered a lot of go/no-go > extended input type queries so I was hoping you might know. > > =============== > > The task is fairly simple - an either emotive (i.e. happy, sad) or > neutral word will appear on the screen for 300 ms, followed by a > blank screen for 1200 seconds (for a total of 1500 ms). The > participant needs to press the letter g if the word is neutral or do > nothing if the word is emotive. Pressing the key should log a > response time, but should not end the stimulus event (i.e. the > stimulus+blank screen will always run for 1500 ms even if the > participant responds within the first 300 ms). The participant can > respond anytime throughout that 1500 msec. I understand this is > called "extended input" - which I have accounted for by making the > time limit>duration. > > My biggest problem that I noticed is that my RESP Acc is coming back > as 0 when the correct action is to do nothing, and the person has > not pressed any key. Do you know why this is? > > I have uploaded a simple example file showing just 4 practice > trials. If someone who is experienced could take a look at it it > would be much appreciated - I am all alone in my department working > with e-prime and there is noone to really talk to here [Ermm] > > =================== > > P.S. I tried to attach the file here but it was giving me issues... > > Many thanks again! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Wed Dec 5 14:18:26 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 5 Dec 2012 09:18:26 -0500 Subject: transforming setting from E-prime 1 to E-Prime 2 Professional. In-Reply-To: <8623c612-2399-48c8-bb6d-329760481d05@googlegroups.com> Message-ID: Medda, Can't think of any reason that a mere change from EP2 non-Pro to Pro would have that effect. You should take this directly to the fine folks at PST Web Support, http://support.pstnet.com/e%2Dprime/support/login.asp . And then please post back here with their response, I would very much like to know the answer myself. Thanks, ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) medda wrote: > Hello there. > > I've been working on an issue that I could just not resolve: I have an > E-Prime 1 code that changes the colour of the response option on the > display screen to indicate confidence, i.e. the longer the subject > presses the response button, the more the colour changes from one colour > to another (within a certain time). I used the exact same code in a new > Experiment which I started programming in E-Prime 2 Standard and it > worked fine. But then I was forced to use E-Prime Professional (and > can't really go back to Standard) and the code that has worked fine in > earlier versions does not work any more. The colour does still change, > but at a VERY slow rate, not as fast as it did before, and I just cannot > figure out why. > > I am sure that I set all the Properties right at the respective slides, > but there must be some default change in the E-Prime 2 Professional > settings that are messing it up (e.g. the Generate PreRun Option in > E-Prime 1 was always BeforeObjectRun, and in 2 it is TopOfProcedure - > changing it has resolved other issues) - so if anyone knows of anything > else I need to change in the Configurations, Settings, Properties etc. > in E-Prime 2 Professional so I can run my E-Prime 1 code in a way that > changes the colour as fast as it did in E-Prime 1, I'd really appreciate > it! > > Thanks so much for help and comments! > > ~medda. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From alicerancai at gmail.com Wed Dec 5 16:39:07 2012 From: alicerancai at gmail.com (Alice Cai) Date: Wed, 5 Dec 2012 08:39:07 -0800 Subject: Moving Stimuli in E-prime Message-ID: Hi, I have a question regarding my experiment design. I would like to create a moving stimuli where participants decide whether the box is movingvertically or horizontally. I know that I can use different slides changing at 50 ms. per slide with different locations for the box (left, middle, right) but the problem is I will need to create a lot of slides and the E-prime program runs out of memory space. Is there any way to create just three slides, and have E-prime repeat these three slides until participants give a response? And then the experiment will jump to the next trial with three more slides? Any help will be greatly appreciated! Thank you! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/sNJ34-j7lNAJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Wed Dec 5 17:17:43 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 5 Dec 2012 12:17:43 -0500 Subject: Moving Stimuli in E-prime In-Reply-To: <50BF8088.7080906@msu.edu> Message-ID: Actually, it doesn't even have to be a Slide sub-object. You can manipulate the position of any visual object (e.g., TextDisplay, ImageDisplay, MovieDisplay) by using attribute references for its X & Y properties on the Frame tab -- assuming, of course, that its Width & Height values make sense. -- David McFarlane David McFarlane wrote: > A couple thoughts just to point you in some direction. First, look at > the Samples area of the PST website, you should find some examples of > how to animate stimuli there. Second, try just changing the X & Y > properties of a Slide sub-object. E.g., put a SlideText sub-object onto > a Slide, open the Property Pages for the SlideText object, and put > [StimX] and [StimY] for the X & Y properties. Now you may manipulate > the StimX & StimY attributes either using a List or using c.SetAttrib in > inline code. (This works for simple animations, but for fancier things > you might have to resort to Canvas programming; see the appropriate > topics in the E-Basic Help facility). > > Finally, I have a feeling this sort of thing has been answered before > (maybe even by me, but I am away from the machine where I keep my > E-Prime FAQ). So search the Group and the PST User Forum using terms > like "animate". Good luck. > > ----- > David McFarlane > E-Prime training online: > http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) > > /----------- > Stock reminder: 1) I do not work for PST. 2) PST's trained staff take > any and all questions at > http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive > to respond to all requests in 24-48 hours, so make full use of it. 3) > In addition, PST offers several instructional videos on their YouTube > channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an > answer from PST staff, please extend the courtesy of posting their reply > back here for the sake of others. > \----------- > > > Alice Cai wrote: >> Hi, >> >> I have a question regarding my experiment design. I would like to >> create a moving stimuli where participants decide whether the box is >> moving vertically or horizontally. I know that I can use different >> slides changing at 50 ms. per slide with different locations for the >> box (left, middle, right) but the problem is I will need to create a >> lot of slides and the E-prime program runs out of memory space. >> >> Is there any way to create just three slides, and have E-prime repeat >> these three slides until participants give a response? And then the >> experiment will jump to the next trial with three more slides? >> >> Any help will be greatly appreciated! Thank you! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Wed Dec 5 17:12:40 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 5 Dec 2012 12:12:40 -0500 Subject: Moving Stimuli in E-prime In-Reply-To: Message-ID: A couple thoughts just to point you in some direction. First, look at the Samples area of the PST website, you should find some examples of how to animate stimuli there. Second, try just changing the X & Y properties of a Slide sub-object. E.g., put a SlideText sub-object onto a Slide, open the Property Pages for the SlideText object, and put [StimX] and [StimY] for the X & Y properties. Now you may manipulate the StimX & StimY attributes either using a List or using c.SetAttrib in inline code. (This works for simple animations, but for fancier things you might have to resort to Canvas programming; see the appropriate topics in the E-Basic Help facility). Finally, I have a feeling this sort of thing has been answered before (maybe even by me, but I am away from the machine where I keep my E-Prime FAQ). So search the Group and the PST User Forum using terms like "animate". Good luck. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /----------- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \----------- Alice Cai wrote: > Hi, > > I have a question regarding my experiment design. I would like to create > a moving stimuli where participants decide whether the box is moving > vertically or horizontally. I know that I can use different slides > changing at 50 ms. per slide with different locations for the box (left, > middle, right) but the problem is I will need to create a lot of slides > and the E-prime program runs out of memory space. > > Is there any way to create just three slides, and have E-prime repeat > these three slides until participants give a response? And then the > experiment will jump to the next trial with three more slides? > > Any help will be greatly appreciated! Thank you! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From alicerancai at gmail.com Wed Dec 5 19:18:13 2012 From: alicerancai at gmail.com (Alice Cai) Date: Wed, 5 Dec 2012 11:18:13 -0800 Subject: Moving Stimuli in E-prime In-Reply-To: Message-ID: Dear David, Thank you so much, that was very helpful! Right now I have only one slide, and have many levels in the list to code for the location of the square (e.g., left, middle, right). I would like the slides to repeat itself until participants give a response. Once participants give a response, I want to give a 'feedback display'. I thought of using the jump function with labels, but the label can only jump within a procedure. This is a bit problematic because right now, even when participants give a response, it will only exit the procedure once all lists have been displayed (or when it reaches a time limit that I set, e.g., 4000 ms). Also, I need to record reaction time to the moving stimuli. However, right now e-prime doesn't record RT from the very first slide that participants see, but only for the slide that the responded to. So in order to know how long participants took to respond, I will need to add up the number of slides that was presented before hand and multiply it by how long the slides were displayed for (50 ms). Is there an easier way to record reaction time? Thank you very much for your help, please take your time to reply and any comments will be greatly appreciated! Thank you again! Alice On Wednesday, December 5, 2012 4:39:07 PM UTC, Alice Cai wrote: > Hi, > > I have a question regarding my experiment design. I would like to create a > moving stimuli where participants decide whether the box is movingvertically or horizontally. I know that I can use different slides changing > at 50 ms. per slide with different locations for the box (left, middle, > right) but the problem is I will need to create a lot of slides and the > E-prime program runs out of memory space. > > Is there any way to create just three slides, and have E-prime repeat > these three slides until participants give a response? And then the > experiment will jump to the next trial with three more slides? > > Any help will be greatly appreciated! Thank you! > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/D6j3Ko5pM34J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Wed Dec 5 20:57:35 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 5 Dec 2012 15:57:35 -0500 Subject: Moving Stimuli in E-prime In-Reply-To: Message-ID: Alice, Two brief thoughts... 1) You can use List.Terminate to exit out of a running List before it reaches its own end -- see that topic in the E-Basic Help facility. (With a bit of programming knowhow you don't even have to know the name of the running List, but I am not near my FAQ now to point you to the thread where I show that.) 2) Yes, adding up times is fraught with difficulty, you will almost certainly fail to include some interim times and get wrong values. But the E-Prime input mask facility really is beautiful once you fully understand it. Put a Wait object just before the start of your stimulus/response loop, outside the loop. Give that Wait a Duration of 0 (and think about the proper Onset Sync), and add your desired input mask to this Wait instead of within the loop. Give this input mask a Time Limit of (infinite). Now that Wait will look for a response any time during your stimulus/response loop, and Wait.RT will be the RT from the start of the loop until the response, without you having to compute anything! My online E-Prime course actually includes an exercise where we do this, might be worth looking into. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) Alice Cai wrote: > Dear David, > > Thank you so much, that was very helpful! Right now I have only one > slide, and have many levels in the list to code for the location of the > square (e.g., left, middle, right). I would like the slides to repeat > itself until participants give a response. Once participants give a > response, I want to give a 'feedback display'. I thought of using the > jump function with labels, but the label can only jump within a > procedure. This is a bit problematic because right now, even when > participants give a response, it will only exit the procedure once all > lists have been displayed (or when it reaches a time limit that I set, > e.g., 4000 ms). > > > Also, I need to record reaction time to the moving stimuli. However, > right now e-prime doesn't record RT from the very first slide that > participants see, but only for the slide that the responded to. So in > order to know how long participants took to respond, I will need to add > up the number of slides that was presented before hand and multiply it > by how long the slides were displayed for (50 ms). Is there an easier > way to record reaction time? > > Thank you very much for your help, please take your time to reply and > any comments will be greatly appreciated! > > Thank you again! > Alice > > > > On Wednesday, December 5, 2012 4:39:07 PM UTC, Alice Cai wrote: > > Hi, > > I have a question regarding my experiment design. I would like to > create a moving stimuli where participants decide whether the box is > moving vertically or horizontally. I know that I can use different > slides changing at 50 ms. per slide with different locations for the > box (left, middle, right) but the problem is I will need to create a > lot of slides and the E-prime program runs out of memory space. > > Is there any way to create just three slides, and have E-prime > repeat these three slides until participants give a response? And > then the experiment will jump to the next trial with three more slides? > > Any help will be greatly appreciated! Thank you! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From robert.s.c.amaral at gmail.com Thu Dec 6 04:00:33 2012 From: robert.s.c.amaral at gmail.com (Roberto) Date: Wed, 5 Dec 2012 20:00:33 -0800 Subject: Stop Movie troubles Message-ID: Hi all, This message board has helped me a lot! I was hoping someone would be able to help me with a problem I have not yet been able to solve. Im setting up an experiment that has this structure: 1. Intro screens (obviously) 2. Slide with sub objects: text and SoundOut 3. Slide with sub objects: MovieDisplay and SoundOut (i.e. movie and question presented simultaneously) 4. SoundOut object on its own (i.e. a beep) with recorded response (i.e. press 1 or 2). 5. Text slide with response (1 to 6). I am running into trouble in step 3. I would ultimately love for the movie to keep playing until a response is made after the beep (in step 4). This way a subject can see the video (plus hear some audio) and then make a response after a beep noise to which it would cause the stopping of the video. Thus, i have set the MovieDisplay with the settings as End Movie Action: "Terminate" and Stop Movie after: "No" so it can keep playing. However, when i do this the movie continues playing until its end, even after making a response after the auditory beep. I have tried to insert in-line code after the beep (i.e. Movie1.Stop) as this fellow poster did: https://groups.google.com/forum/#!msg/e-prime/XYEHpARxY0g/R0isrcBcBhQJ , but this just closes down the entire program. Does anyone have any suggestions? Is there any way i can tell eprime to end the movie (or the slide itself) after a response to the beep (in step 4) is made? I am not very proficient with code, although i have tried many shenanigans to get around this! Thank you for any help or advice! Roberto -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/eBnO1S2xHWAJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From robert.s.c.amaral at gmail.com Thu Dec 6 23:04:08 2012 From: robert.s.c.amaral at gmail.com (Robert Amaral) Date: Thu, 6 Dec 2012 18:04:08 -0500 Subject: Stop Movie troubles In-Reply-To: <50c0e570.849e320a.3e8d.ffff9938SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David, Thanks for the reply. That's actually the same thread i had referenced in my previous message. As from the suggestions in that post, using Movie1.Stop (or something along those lines) stops the video but shuts the trial down with an error message: "object variable or With block variable not set". Any ideas where i'm going wrong? Ive been struggling with this for a while, either way i will post back with anything i find anything... Roberto On Thu, Dec 6, 2012 at 1:35 PM, David McFarlane wrote: > Roberto, > > Glad that you have found the Group helpful. For this one, I typed > "e-prime moviedisplay stop" into Google for you, and came up with the > following thread which should help: https://groups.google.com/d/** > topic/e-prime/XYEHpARxY0g. > > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/** > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/**EPrimeMaster > ) > > > > At 12/5/2012 11:00 PM Wednesday, you wrote: > >> Hi all, >> This message board has helped me a lot! I was hoping someone would be >> able to help me with a problem I have not yet been able to solve. >> >> Im setting up an experiment that has this structure: >> 1. Intro screens (obviously) >> 2. Slide with sub objects: text and SoundOut >> 3. Slide with sub objects: MovieDisplay and SoundOut (i.e. movie and >> question presented simultaneously) >> 4. SoundOut object on its own (i.e. a beep) with recorded response (i.e. >> press 1 or 2). >> 5. Text slide with response (1 to 6). >> >> I am running into trouble in step 3. I would ultimately love for the >> movie to keep playing until a response is made after the beep (in step 4). >> This way a subject can see the video (plus hear some audio) and then make >> a response after a beep noise to which it would cause the stopping of the >> video. Thus, i have set the MovieDisplay with the settings as End Movie >> Action: "Terminate" and Stop Movie after: "No" so it can keep playing. >> However, when i do this the movie continues playing until its end, even >> after making a response after the auditory beep. I have tried to insert >> in-line code after the beep (i.e. Movie1.Stop) as this fellow poster did: >> https://groups.google.com/**forum/#!msg/e-prime/** >> XYEHpARxY0g/R0isrcBcBhQJ, but this just closes down the entire program. >> >> Does anyone have any suggestions? Is there any way i can tell eprime to >> end the movie (or the slide itself) after a response to the beep (in step >> 4) is made? I am not very proficient with code, although i have tried many >> shenanigans to get around this! >> >> Thank you for any help or advice! >> Roberto >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To post to this group, send email to e-prime at googlegroups.com. > To unsubscribe from this group, send email to e-prime+unsubscribe@** > 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 post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Dec 6 23:38:39 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 6 Dec 2012 18:38:39 -0500 Subject: Stop Movie troubles In-Reply-To: Message-ID: Roberto, Oops that's embarrassing, in my haste I overlooked your link, sorry. But then, I would not have gotten a followup with your runtime error message, which I think is diagnostic. Hmm, one way to get that runtime error is just to fail to initialize some object variable. E.g., the code Dim Text1 as TextDisplay Text1.Text = "Hello" will produce that run-time error, but the code Dim Text1 as TextDisplay Set Text1 = New TextDisplay Text1.Text = "Hello" or Dim Text1 as TextDisplay Set Text1 = StimText ' assuming StimText already exists Text1.Text = "Hello" will work. I suspect that your error has nothing to do with using MovieDisplay.Stop (or whatever) per se, but has to do with more general rules of E-Basic/VBA usage. BTW, this is also the sort of thing that PST Web Support is very good for. Hmm, after I wrote all that, I put 'e-prime "object variable or With block variable not set"', and came up with http://www.pstnet.com/support/kb.asp?TopicID=4782 , which tells how EP2 has an improved error message for this situation, and shows another example of this problem. (And now that I have written this up, I will add a link to this thread to my personal FAQ for the next time this comes up :) .) Hope that helps, -- David McFarlane At 12/6/2012 06:04 PM Thursday, you wrote: >Hi David, >Thanks for the reply. That's actually the same thread i had >referenced in my previous message. As from the suggestions in that >post, using Movie1.Stop (or something along those lines) stops the >video but shuts the trial down with an error message: "object >variable or With block variable not set". Any ideas where i'm going >wrong? Ive been struggling with this for a while, either way i will >post back with anything i find anything... > >Roberto > > >On Thu, Dec 6, 2012 at 1:35 PM, David McFarlane ><mcfarla9 at msu.edu> wrote: >Roberto, > >Glad that you have found the Group helpful. For this one, I typed >"e-prime moviedisplay stop" into Google for you, and came up with >the following thread which should >help: >https://groups.google.com/d/topic/e-prime/XYEHpARxY0g >. > >----- >David McFarlane >E-Prime training >online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster >(https://twitter.com/EPrimeMaster) > > > >At 12/5/2012 11:00 PM Wednesday, you wrote: >Hi all, >This message board has helped me a lot! I was hoping someone would >be able to help me with a problem I have not yet been able to solve. > >Im setting up an experiment that has this structure: >1. Intro screens (obviously) >2. Slide with sub objects: text and SoundOut >3. Slide with sub objects: MovieDisplay and SoundOut (i.e. movie and >question presented simultaneously) >4. SoundOut object on its own (i.e. a beep) with recorded response >(i.e. press 1 or 2). >5. Text slide with response (1 to 6). > >I am running into trouble in step 3. I would ultimately love for >the movie to keep playing until a response is made after the beep >(in step 4). This way a subject can see the video (plus hear some >audio) and then make a response after a beep noise to which it would >cause the stopping of the video. Thus, i have set the MovieDisplay >with the settings as End Movie Action: "Terminate" and Stop Movie >after: "No" so it can keep playing. However, when i do this the >movie continues playing until its end, even after making a response >after the auditory beep. I have tried to insert in-line code after >the beep (i.e. Movie1.Stop) as this fellow poster did: >https://groups.google.com/forum/#!msg/e-prime/XYEHpARxY0g/R0isrcBcBhQJ >, but this just closes down the entire program. > >Does anyone have any suggestions? Is there any way i can tell >eprime to end the movie (or the slide itself) after a response to >the beep (in step 4) is made? I am not very proficient with code, >although i have tried many shenanigans to get around this! > >Thank you for any help or advice! >Roberto -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Thu Dec 6 18:35:20 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 6 Dec 2012 13:35:20 -0500 Subject: Stop Movie troubles In-Reply-To: Message-ID: Roberto, Glad that you have found the Group helpful. For this one, I typed "e-prime moviedisplay stop" into Google for you, and came up with the following thread which should help: https://groups.google.com/d/topic/e-prime/XYEHpARxY0g . ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 12/5/2012 11:00 PM Wednesday, you wrote: >Hi all, >This message board has helped me a lot! I was hoping someone would >be able to help me with a problem I have not yet been able to solve. > >Im setting up an experiment that has this structure: >1. Intro screens (obviously) >2. Slide with sub objects: text and SoundOut >3. Slide with sub objects: MovieDisplay and SoundOut (i.e. movie and >question presented simultaneously) >4. SoundOut object on its own (i.e. a beep) with recorded response >(i.e. press 1 or 2). >5. Text slide with response (1 to 6). > >I am running into trouble in step 3. I would ultimately love for >the movie to keep playing until a response is made after the beep >(in step 4). This way a subject can see the video (plus hear some >audio) and then make a response after a beep noise to which it would >cause the stopping of the video. Thus, i have set the MovieDisplay >with the settings as End Movie Action: "Terminate" and Stop Movie >after: "No" so it can keep playing. However, when i do this the >movie continues playing until its end, even after making a response >after the auditory beep. I have tried to insert in-line code after >the beep (i.e. Movie1.Stop) as this fellow poster did: >https://groups.google.com/forum/#!msg/e-prime/XYEHpARxY0g/R0isrcBcBhQJ >, but this just closes down the entire program. > >Does anyone have any suggestions? Is there any way i can tell >eprime to end the movie (or the slide itself) after a response to >the beep (in step 4) is made? I am not very proficient with code, >although i have tried many shenanigans to get around this! > >Thank you for any help or advice! >Roberto -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From ahuvayochevedsegal at gmail.com Fri Dec 7 04:19:06 2012 From: ahuvayochevedsegal at gmail.com (gugs) Date: Thu, 6 Dec 2012 20:19:06 -0800 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: <50BF5429.60202@msu.edu> Message-ID: Hi David I actually did put a CorrAnswer tribute in the Trial List. I dont think the second topic applies to me because the length of the trial does not change based on the response - i.e. I simply want to log the accuracy and speed of the response - the stimulus will stay on the screen even if they responded in the stimulus period (and not the wait period). With regards to the trial list - is an empty cell = blank or does it have to have "" inside it? From the EPrime knowledge base it looks like it should be blank but from Anne-Wil's response it looks like it should have "" inside it. Regards. On Thursday, December 6, 2012 1:03:21 AM UTC+11, McFarlane, David wrote: > > Before going any further, please see > http://www.pstnet.com/support/kb.asp?TopicID=1340 and > http://www.pstnet.com/support/kb.asp?TopicID=5370 . > > ----- > David McFarlane > E-Prime training online: > http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) > > /----------- > Stock reminder: 1) I do not work for PST. 2) PST's trained staff take > any and all questions at > http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive > to respond to all requests in 24-48 hours, so make full use of it. 3) > In addition, PST offers several instructional videos on their YouTube > channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an > answer from PST staff, please extend the courtesy of posting their reply > back here for the sake of others. > \----------- > > > Anne-Wil wrote: > > Hi Gugs, > > > > a quick first thought: did you indicate the correct response to be "" > > (e.g. nothing between " 's) for the trials in which 'nothing' is the > > correct response? > > > > On Wednesday, 5 December 2012 02:55:23 UTC+1, gugs wrote: > > > > Hi All, > > I posted a query on the e-prime discussion forum last week but > > haven't had any replies yet. The main issue I am having in > > programming a go/no-go task is that the acc column is incorrectly > > returning a 0 when the answer is correct (but only for cases where > > an individual should not be responding to the stimulus). > > > > I have posted the detail here: > > https://www.pstnet.com/forum/Topic6489-23-1.aspx > > , but I will post > > them here as well in case someone has an idea of how to correct > > this. David - I know you are generally answered a lot of go/no-go > > extended input type queries so I was hoping you might know. > > > > =============== > > > > The task is fairly simple - an either emotive (i.e. happy, sad) or > > neutral word will appear on the screen for 300 ms, followed by a > > blank screen for 1200 seconds (for a total of 1500 ms). The > > participant needs to press the letter g if the word is neutral or do > > nothing if the word is emotive. Pressing the key should log a > > response time, but should not end the stimulus event (i.e. the > > stimulus+blank screen will always run for 1500 ms even if the > > participant responds within the first 300 ms). The participant can > > respond anytime throughout that 1500 msec. I understand this is > > called "extended input" - which I have accounted for by making the > > time limit>duration. > > > > My biggest problem that I noticed is that my RESP Acc is coming back > > as 0 when the correct action is to do nothing, and the person has > > not pressed any key. Do you know why this is? > > > > I have uploaded a simple example file showing just 4 practice > > trials. If someone who is experienced could take a look at it it > > would be much appreciated - I am all alone in my department working > > with e-prime and there is noone to really talk to here [Ermm] > > > > =================== > > > > P.S. I tried to attach the file here but it was giving me issues... > > > > Many thanks again! > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/SPSlqrRTbOQJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Dec 7 16:22:10 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 7 Dec 2012 11:22:10 -0500 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: Message-ID: An empty cell = blank, empty, void, nothing, nada, null, nil; it does not, and must not, have a string of double quotes ("") inside it, otherwise it would be looking for a string consisting of two double quotes. But based on Anne's response, it seems something more is going on here. Hmm, you say you are using extended input, with Time Limit > Duration. How much greater? Did you by any chance set Time Limit to (infinite)? That will surely fail for a Go/No-Go situation. Or, do you have Time Limit extending through the end of the Procedure, but then have some PreRelease on the final object of the Procedure? This will also cause trouble (which has been ameliorated in EP2.0.10.242 with the new Procedure.ProcessPendingInputMasks feature, see http://www.pstnet.com/support/kb.asp?TopicID=5178 ). Here's the deal: In order for automatic scoring of a non-response to work, your input mask must time-out before you need the score, until then .ACC remains at its default value of 0. In particular, the input mask must reach its Time Limit before the end of the Procedure in order for the correct ACC to be logged (in addition, the input mask must reach its Time Limit before any object, such as a FeedbackDisplay, needs to use the ACC score). So here are your choices: 1) Set the Time Limit so that the input mask ends before the end of the Procedure (or before the StartTime of any object that depends on the ACC (beware of PreRelease effects!)). 2) Add inline code such as the following at the end of the Procedure (or before any object that depends on the ACC) (assuming your stimulus is called StimText): StimText.InputMasks.Timeout This will force the input masks to time-out and perform their automatic ACC scoring (see the InputMaskManager.Timeout topic in the E-Basic Help facility). 3) Do without the automatic ACC scoring, and instead do it explicitly in inline code at the end of the Procedure (or before any object that depends on the ACC): ' .ACC = 0 by default, need only test for correct response: If (StimText.RTTime = 0) Then StimText.ACC = 1 or if you prefer StimText.ACC = Iif( StimText.RTTime, 0, 1 ) If you do (2) or (3), you might also have to add c.SetAttrib "StimText.ACC", StimText.ACC in order to make sure that the response ACC gets logged. You should try all three of these as an exercise and form your own opinion on the pros & cons of each. Footnote: You may use any of the following to test for presence of a response (and simply invert the logic to test for absence of response): 1) If (x.RESP <> "") ... 2) If (Len(x.RESP) > 0) ... or more succinctly, If Len(x.RESP) ... 3) If (x.RTTime <> 0) ... or more succinctly, If (x.RTTime) ... 4) If (x.InputMasks(1).Count > 0) ..., or more succinctly, If x.InputMasks(1).Count ... (note this works only for the specified input mask) You may also get away with 5) If (x.RT <> 0) ... or more succinctly, If (x.RT) ... but this form poses a subtle and extremely unlikely failure mode in that if a response arrives at exactly .OnsetTime then RT = RTTime - OnsetTime = 0, so it would score a response as a non-response. Form (1) is strictly speaking probably the most correct form, but for arcane reasons of efficiency I prefer integer comparisons over string comparisons so I favor form (3). ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 12/7/2012 05:42 AM Friday, Anne-Wil wrote: >Hey Gugs, > >Turns out that I was mistaken - the "" thing is needed when you >fetch a response with in inline (get slide1.acc and then compare it >to some corranswer attribute). However... I did a little bit of >fiddling around with your program (from the PST boards) and neither >method seems to work within your set-up. Personally I am totally at >a loss why that is, I have used both methods often in the past :/ . >Maybe it has something to do with that extended response period (I >never used that and noticed that there was some 'new to me' setting >applied to the keyboard input on the second textdisplay? (I always >slides rather than textdisplays but I cannot imagine that that would >be the problem here). Maybe David could shed some light on it - or >perhaps you should rebuild the thing from scratch.... every now and >then that helps without it ever becoming clear what went wrong in >the first version >.> > >On Friday, 7 December 2012 05:19:06 UTC+1, gugs wrote: >Hi David >I actually did put a CorrAnswer tribute in the Trial List. I dont >think the second topic applies to me because the length of the trial >does not change based on the response - i.e. I simply want to log >the accuracy and speed of the response - the stimulus will stay on >the screen even if they responded in the stimulus period (and not >the wait period). >With regards to the trial list - is an empty cell = blank or does it >have to have "" inside it? From the EPrime knowledge base it looks >like it should be blank but from Anne-Wil's response it looks like >it should have "" inside it. >Regards. >On Thursday, December 6, 2012 1:03:21 AM UTC+11, McFarlane, David wrote: >Before going any further, please see >http://www.pstnet.com/support/kb.asp?TopicID=1340 >and >http://www.pstnet.com/support/kb.asp?TopicID=5370 >. >----- >David McFarlane >E-Prime training online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx > >Twitter: @EPrimeMaster >(twitter.com/EPrimeMaster) >/----------- >Stock reminder: 1) I do not work for PST. 2) PST's trained staff take >any and all questions at >http://support.pstnet.com/e%2Dprime/support/login.asp >, and they strive >to respond to all requests in 24-48 hours, so make full use of it. 3) >In addition, PST offers several instructional videos on their YouTube >channel >(http://www.youtube.com/user/PSTNET >). 4) If you do get an >answer from PST staff, please extend the courtesy of posting their reply >back here for the sake of others. >\----------- > >Anne-Wil wrote: > > Hi Gugs, > > > > a quick first thought: did you indicate the correct response to be "" > > (e.g. nothing between " 's) for the trials in which 'nothing' is the > > correct response? > > > > On Wednesday, 5 December 2012 02:55:23 UTC+1, gugs wrote: > > > > Hi All, > > I posted a query on the e-prime discussion forum last week but > > haven't had any replies yet. The main issue I am having in > > programming a go/no-go task is that the acc column is incorrectly > > returning a 0 when the answer is correct (but only for cases where > > an individual should not be responding to the stimulus). > > > > I have posted the detail here: > > > https://www.pstnet.com/forum/Topic6489-23-1.aspx > > > , but I will post > > them here as well in case someone has an idea of how to correct > > this. David - I know you are generally answered a lot of go/no-go > > extended input type queries so I was hoping you might know. > > > > =============== > > > > The task is fairly simple - an either emotive (i.e. happy, sad) or > > neutral word will appear on the screen for 300 ms, followed by a > > blank screen for 1200 seconds (for a total of 1500 ms). The > > participant needs to press the letter g if the word is neutral or do > > nothing if the word is emotive. Pressing the key should log a > > response time, but should not end the stimulus event (i.e. the > > stimulus+blank screen will always run for 1500 ms even if the > > participant responds within the first 300 ms). The participant can > > respond anytime throughout that 1500 msec. I understand this is > > called "extended input" - which I have accounted for by making the > > time limit>duration. > > > > My biggest problem that I noticed is that my RESP Acc is coming back > > as 0 when the correct action is to do nothing, and the person has > > not pressed any key. Do you know why this is? > > > > I have uploaded a simple example file showing just 4 practice > > trials. If someone who is experienced could take a look at it it > > would be much appreciated - I am all alone in my department working > > with e-prime and there is noone to really talk to here [Ermm] > > > > =================== > > > > P.S. I tried to attach the file here but it was giving me issues... > > > > Many thanks again! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From liwenna at gmail.com Fri Dec 7 10:42:11 2012 From: liwenna at gmail.com (Anne-Wil) Date: Fri, 7 Dec 2012 02:42:11 -0800 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: <3bae7c58-ba33-4b66-9a7d-c6b8470485e8@googlegroups.com> Message-ID: Hey Gugs, Turns out that I was mistaken - the "" thing is needed when you fetch a response with in inline (get slide1.acc and then compare it to some corranswer attribute). However... I did a little bit of fiddling around with your program (from the PST boards) and neither method seems to work within your set-up. Personally I am totally at a loss why that is, I have used both methods often in the past :/ . Maybe it has something to do with that extended response period (I never used that and noticed that there was some 'new to me' setting applied to the keyboard input on the second textdisplay? (I always slides rather than textdisplays but I cannot imagine that that would be the problem here). Maybe David could shed some light on it - or perhaps you should rebuild the thing from scratch.... every now and then that helps without it ever becoming clear what went wrong in the first version >.> On Friday, 7 December 2012 05:19:06 UTC+1, gugs wrote: > > Hi David > > I actually did put a CorrAnswer tribute in the Trial List. I dont think > the second topic applies to me because the length of the trial does not > change based on the response - i.e. I simply want to log the accuracy and > speed of the response - the stimulus will stay on the screen even if they > responded in the stimulus period (and not the wait period). > > With regards to the trial list - is an empty cell = blank or does it have > to have "" inside it? From the EPrime knowledge base it looks like it > should be blank but from Anne-Wil's response it looks like it should have > "" inside it. > > Regards. > > On Thursday, December 6, 2012 1:03:21 AM UTC+11, McFarlane, David wrote: >> >> Before going any further, please see >> http://www.pstnet.com/support/kb.asp?TopicID=1340 and >> http://www.pstnet.com/support/kb.asp?TopicID=5370 . >> >> ----- >> David McFarlane >> E-Prime training online: >> http://psychology.msu.edu/Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) >> >> /----------- >> Stock reminder: 1) I do not work for PST. 2) PST's trained staff take >> any and all questions at >> http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive >> to respond to all requests in 24-48 hours, so make full use of it. 3) >> In addition, PST offers several instructional videos on their YouTube >> channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an >> answer from PST staff, please extend the courtesy of posting their reply >> back here for the sake of others. >> \----------- >> >> >> Anne-Wil wrote: >> > Hi Gugs, >> > >> > a quick first thought: did you indicate the correct response to be "" >> > (e.g. nothing between " 's) for the trials in which 'nothing' is the >> > correct response? >> > >> > On Wednesday, 5 December 2012 02:55:23 UTC+1, gugs wrote: >> > >> > Hi All, >> > I posted a query on the e-prime discussion forum last week but >> > haven't had any replies yet. The main issue I am having in >> > programming a go/no-go task is that the acc column is incorrectly >> > returning a 0 when the answer is correct (but only for cases where >> > an individual should not be responding to the stimulus). >> > >> > I have posted the detail here: >> > https://www.pstnet.com/forum/Topic6489-23-1.aspx >> > , but I will >> post >> > them here as well in case someone has an idea of how to correct >> > this. David - I know you are generally answered a lot of go/no-go >> > extended input type queries so I was hoping you might know. >> > >> > =============== >> > >> > The task is fairly simple - an either emotive (i.e. happy, sad) or >> > neutral word will appear on the screen for 300 ms, followed by a >> > blank screen for 1200 seconds (for a total of 1500 ms). The >> > participant needs to press the letter g if the word is neutral or >> do >> > nothing if the word is emotive. Pressing the key should log a >> > response time, but should not end the stimulus event (i.e. the >> > stimulus+blank screen will always run for 1500 ms even if the >> > participant responds within the first 300 ms). The participant can >> > respond anytime throughout that 1500 msec. I understand this is >> > called "extended input" - which I have accounted for by making the >> > time limit>duration. >> > >> > My biggest problem that I noticed is that my RESP Acc is coming >> back >> > as 0 when the correct action is to do nothing, and the person has >> > not pressed any key. Do you know why this is? >> > >> > I have uploaded a simple example file showing just 4 practice >> > trials. If someone who is experienced could take a look at it it >> > would be much appreciated - I am all alone in my department working >> > with e-prime and there is noone to really talk to here [Ermm] >> > >> > =================== >> > >> > P.S. I tried to attach the file here but it was giving me issues... >> > >> > Many thanks again! >> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/FtQiHUl7hO8J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From saultsj at missouri.edu Sun Dec 9 22:08:35 2012 From: saultsj at missouri.edu (Scott) Date: Sun, 9 Dec 2012 14:08:35 -0800 Subject: What's best for E-Prime video timing accuracy: Mirror mode, VGA splitter, or Display Port splitter? Message-ID: I don't expect perfection, but would like feedback to help choose how to setup a new lab using E-Prime using physiological equipment in two rooms. One room has two PCs, one recording physiological measurements, connected (via the parallel port) to a second PC running E-Prime. Each will be monitored by experimenters in that room. The other room has the subject's video display and button box. My question has to do ONLY with the E-Prime PC. We want experimenters to be able to see what the subject sees, while they monitor physiological recording, so we want the E-Prime video mirrored on LCD displays in the two rooms. Of course this is a very common situation for such labs (using EEG, fMRI, EDR, etc). Our E-Prime computer has a video card (AMD RADEON HD 7470) with one Display Port and one VGA port. Using this computer and display card, there are 3 simple ways (afaik) to accomplish what I want and display the same thing on two monitors: 1. Connect one LCD to the Display Port and the other to the VGA port, and set the display card to clone mode; 2. Connect a VGA Y-splitter to the computer's VGA port, and connect one LCD monitor to each side of the splitter; or 3. Connect a Display Port Y-splitter to the computer's VGA port, and connect one LCD monitor (via Display Port-to-HDMI or -to-VGA converter) to each side of the splitter. Using method #1, the E-Prime 2.0.10.184 or later Experiment Advisor will warn that "Mirroring can cause timing issues since vertical blank synchronization is not accurate between multiple displays..." (see KB 5014 - FEATURE: Experiment Advisor Module - Display adapter set to clone mode). However, I do not know whether using a splitter will actually improve timing consistency or solve any issues related to vertical blank synchronization. If a splitter would be better, Also, I don't know whether the type of splitter would make any difference in this regard. (I do know that video resolution and quality might differ). Note that I am aware of various issues (eg., input lag, rise time) that can compromise timing accuracy of LCD displays. As a said at the outset, I'm not expecting perfection, or even anything close to the accuracy of a single CRT monitor. My goal is simply to minimize the *variability* of the time between the onset sync, detected by E-Prime, and the onset of the visual display seen by the subject. A constant lag does not concern me. Also, the two monitors to do NOT need to be synchronized with each other, except to the extent necessary for even one to be (relatively) synchronized to the vertical blank. Also note that I am NOT concerned or asking about synchronization between physiological recordings and the vertical blank time detected by E-Prime, signaled via the parallel port; that's a different and less troublesome issue, imho. Also, I understand that timing accuracy is more or less critical, depending on experimental paradigms and physiological measures. All I'm asking about is which of the 3 methods listed above can be expected to yield the most consistent and reliable (or least bad) timings, as a general rule, when connecting two LCD displays, both showing the same content, to one PC running E-Prime. If anyone knows any better methods, other than these 3, I'd like to hear about them as well. Thanks, in advance, for sharing relevant experience, knowledge, and advice. --Scott -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/wEhDBYyoJ_oJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mollykcannon at gmail.com Mon Dec 10 17:27:54 2012 From: mollykcannon at gmail.com (Molly Cannon) Date: Mon, 10 Dec 2012 09:27:54 -0800 Subject: Syncing E-Prime Scripts on Multiple Computers Message-ID: Hello, I have built three tasks in E-Prime. In my experiment there are three different computers, each one will run a different task. Subjects will be able to select which task they want to do (but will end up using at least 2 of the computers). I will collect physiology data simultaneously. Unfortunately, our system only allows one computer to to communicate with the parallel port. I need some way to either start all the eprime programs at the exact same time or log the data so I can compare between e-prime scripts? It is critical that it be accurate since I will be interpreting the physiology data with this information. Any advice you can provide me with would be appreciated! Thank you, Molly Cannon -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/5KHcjPjKYXAJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicolettenoonan at gmail.com Mon Dec 10 19:42:57 2012 From: nicolettenoonan at gmail.com (Nicolette) Date: Mon, 10 Dec 2012 11:42:57 -0800 Subject: Running Visual and Auditory Stimuli Simultaneously Message-ID: Hi, I am *very* new to EPrime, so I am looking for some guidance and have been unable to find an answer to my question in any tutorial I have come across. I am running an n-back task in EPrime 2.0 (no problems making that), but I would also like auditory stimuli to play "overhead" of the ongoing task. I have been unable to figure out how to do this. So, a 7-min audio file I want running continuously while my participant is engaged in doing the n-back. Almost like I don't want my "sound" to know what my "image" is doing. If anyone could offer me some guidance (and not make it *too* technical!), I'd really appreciate it. Thanks -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/GRyKaY8V3oIJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfc.groot at gmail.com Mon Dec 10 23:03:00 2012 From: pfc.groot at gmail.com (Paul Groot) Date: Tue, 11 Dec 2012 00:03:00 +0100 Subject: Running Visual and Auditory Stimuli Simultaneously In-Reply-To: <933a7e01-c7c1-4a9c-8a6a-f1dc552b2baf@googlegroups.com> Message-ID: Hi, I think David described the most straightforward method to do this, so you should try that first. I know there is also an alternative method, which I used a few years ago. I don't remember if I had to work around any problems with the built-in sound objects, but here is what I did: I inserted the following script in the global user script section. The inserted script uses low-level windows functions to play an audio file. ' Sound suppport by using the windows multimedia library directly (i.e. bypassing EPrime) Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long ' Some constants for playing sounds Const SND_LOOP = &H8 ' loop the sound until next sndPlaySound Const SND_ASYNC = &H1 ' play asynchronously Const SND_NOSTOP = &H10 ' don't stop any currently playing sound Const SND_SYNC = &H0 ' play synchronously (default) Const SND_NODEFAULT = &H2 ' silence not default, if sound not found Const SND_PURGE = &H40 ' purge non-static events for task ' Remarks ' If the specified sound cannot be found, sndPlaySound plays the system default sound. ' If there is no system default entry in the registry or WIN.INI file, or if the ' default sound cannot be found, the function makes no sound and returns FALSE. ' ' The specified sound must fit in available physical memory and be playable ' by an installed waveform-audio device driver. If sndPlaySound does not find ' the sound in the current directory, the function searches for it using the ' standard directory-search order. ' Plays a sound from filename ans optionally wait until ready. Function PlaySoundFile(ByVal filename As String, bWaitReady as boolean) as Boolean PlaySoundFile = sndPlaySound(filename, iif(bWaitReady, SND_SYNC, SND_ASYNC) ) End Function ' Plays a repeating sound from filename. Function RepeatSoundFile(ByVal filename As String) as Boolean RepeatSoundFile = sndPlaySound(filename, (SND_LOOP Or SND_ASYNC) ) End Function Sub StopSoundFile() dim ret as boolean ret = sndPlaySound(ebNullString, SND_SYNC) End Sub Then call one of the the Play functions somewhere in your script to start playing the music: if (Not PlaySoundFile("media\\classic.wav", false)) then MsgBox "Cannot play sound" end if And simply call StopSoundFile to stop at any point. Note that this was used on a windows XP machine, so I'm not sure if it works on the latest Windows releases. Best Paul On 10 December 2012 20:42, Nicolette wrote: > Hi, > > I am *very* new to EPrime, so I am looking for some guidance and have been > unable to find an answer to my question in any tutorial I have come across. > > I am running an n-back task in EPrime 2.0 (no problems making that), but I > would also like auditory stimuli to play "overhead" of the ongoing task. I > have been unable to figure out how to do this. So, a 7-min audio file I > want running continuously while my participant is engaged in doing the > n-back. Almost like I don't want my "sound" to know what my "image" is > doing. > > If anyone could offer me some guidance (and not make it *too*technical!), I'd really appreciate it. > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To post to this group, send email to e-prime at googlegroups.com. > To unsubscribe from this group, send email to > e-prime+unsubscribe at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/GRyKaY8V3oIJ. > 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 post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Mon Dec 10 18:49:02 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 10 Dec 2012 13:49:02 -0500 Subject: What's best for E-Prime video timing accuracy: Mirror mode, VGA splitter, or Display Port splitter? In-Reply-To: Message-ID: Scott, Good questions, wish I had an answer, hope someone else does. You should submit this to PST Web Support at http://support.pstnet.com/e%2Dprime/support/login.asp , after all it is their business to know these things. Then please post back here with the answer. Thanks, -- David McFarlane At 12/9/2012 05:08 PM Sunday, Scott wrote: >I don't expect perfection, but would like feedback to help choose >how to setup a new lab using E-Prime using physiological equipment >in two rooms. One room has two PCs, one recording physiological >measurements, connected (via the parallel port) to a second PC >running E-Prime. Each will be monitored by experimenters in that >room. The other room has the subject's video display and button box. >My question has to do ONLY with the E-Prime PC. We want >experimenters to be able to see what the subject sees, while they >monitor physiological recording, so we want the E-Prime video >mirrored on LCD displays in the two rooms. Of course this is a very >common situation for such labs (using EEG, fMRI, EDR, etc). Our >E-Prime computer has a video card (AMD RADEON HD 7470) with one >Display Port and one VGA port. Using this computer and display card, >there are 3 simple ways (afaik) to accomplish what I want and >display the same thing on two monitors: > * Connect one LCD to the Display Port and the other to the VGA > port, and set the display card to clone mode; > * Connect a VGA Y-splitter to the computer's VGA port, and > connect one LCD monitor to each side of the splitter; or > * Connect a Display Port Y-splitter to the computer's VGA port, > and connect one LCD monitor (via Display Port-to-HDMI or -to-VGA > converter) to each side of the splitter. > >Using method #1, the E-Prime 2.0.10.184 or later Experiment Advisor >will warn that "Mirroring can cause timing issues since vertical >blank synchronization is not accurate between multiple displays..." >(see KB 5014 - >FEATURE: Experiment Advisor Module - Display adapter set to clone >mode). However, I do not know whether using a splitter will actually >improve timing consistency or solve any issues related to vertical >blank synchronization. If a splitter would be better, Also, I don't >know whether the type of splitter would make any difference in this >regard. (I do know that video resolution and quality might differ). >Note that I am aware of various issues (eg., input lag, rise time) >that can compromise timing accuracy of LCD displays. As a said at >the outset, I'm not expecting perfection, or even anything close to >the accuracy of a single CRT monitor. My goal is simply to minimize >the variability of the time between the onset sync, detected by >E-Prime, and the onset of the visual display seen by the subject. A >constant lag does not concern me. Also, the two monitors to do NOT >need to be synchronized with each other, except to the extent >necessary for even one to be (relatively) synchronized to the >vertical blank. Also note that I am NOT concerned or asking about >synchronization between physiological recordings and the vertical >blank time detected by E-Prime, signaled via the parallel port; >that's a different and less troublesome issue, imho. Also, I >understand that timing accuracy is more or less critical, depending >on experimental paradigms and physiological measures. All I'm asking >about is which of the 3 methods listed above can be expected to >yield the most consistent and reliable (or least bad) timings, as a >general rule, when connecting two LCD displays, both showing the >same content, to one PC running E-Prime. If anyone knows any better >methods, other than these 3, I'd like to hear about them as well. > >Thanks, in advance, for sharing relevant experience, knowledge, and >advice. --Scott -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From pfc.groot at gmail.com Mon Dec 10 18:29:55 2012 From: pfc.groot at gmail.com (Paul Groot) Date: Mon, 10 Dec 2012 19:29:55 +0100 Subject: Syncing E-Prime Scripts on Multiple Computers In-Reply-To: <5d25e39e-7fb6-4e4c-8ed8-dde3ee265efb@googlegroups.com> Message-ID: hi Molly, I would advise to use one PC as master (probably the one that also connects to physiological acquisition device), and use a splitter cable to separate two of the digital output (data)lines. Then, connect these lines to one of the inputs of the printer port of the other PCs. The logic is exactly the same as connecting a response box to the printer port ( http://pfcgroot.nl/e-prime/85-tips-and-tricks/71-button-box-on-printer-port.html). The master PC can then toggle the two output lines to sync. with the other PCs . The same technique can be used with a serial port, so that might be a workaround if the printer port is exclusively used for the physio-device. So, the main issue is finding a technician who has some knowledge of printer ports and soldering irons. If safety is an issue, you might have to use additional hardware to isolate the systems (opto-couplers). Best, Paul On 10 December 2012 18:27, Molly Cannon wrote: > Hello, > > I have built three tasks in E-Prime. In my experiment there are three > different computers, each one will run a different task. Subjects will be > able to select which task they want to do (but will end up using at least 2 > of the computers). > > I will collect physiology data simultaneously. Unfortunately, our system > only allows one computer to to communicate with the parallel port. I need > some way to either start all the eprime programs at the exact same time or > log the data so I can compare between e-prime scripts? > > It is critical that it be accurate since I will be interpreting the > physiology data with this information. Any advice you can provide me with > would be appreciated! > > Thank you, > > Molly Cannon > > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To post to this group, send email to e-prime at googlegroups.com. > To unsubscribe from this group, send email to > e-prime+unsubscribe at googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/5KHcjPjKYXAJ. > 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 post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From saultsj at missouri.edu Wed Dec 12 06:01:28 2012 From: saultsj at missouri.edu (Scott) Date: Tue, 11 Dec 2012 22:01:28 -0800 Subject: What's best for E-Prime video timing accuracy: Mirror mode, VGA splitter, or Display Port splitter? In-Reply-To: <50c62e9f.cb96320a.1e72.2c7cSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David, Actually, I submitted this basic question to E-Prime support a couple of hours after I posted here. Unfortunately, the body of my support request did not get submitted; don't know why but guess I goofed somehow. Even without the detailed explanation I posted here, I did get a decent response to only the title of my support request (nothing else got submitted): "What's better: mirror mode or splitter?" Reply: > Cloning or mirroring can cause timing issues since vertical blank > synchronization is not accurate between multiple displays. Determining > which display is considered primary can cause confusion and may not be > consistent between computer configurations. Instead of cloning the display > through software, it is better to split it physically using a VGA splitter > cable. If it is necessary for you to view the experiment on multiple > screens, you should use a splitter to direct the output. > > I hope this helps. Please let me know if you have any other questions. > > Sincerely, > David Nicholson, Technical Consultant > I've asked for clarification and amended my request as follows: > Thanks. You more or less answered my question from the support title, even > though (for reasons I don't understand) the actual text of the question was > not submitted. > > I'd like a little clarification and an answer to another part of my > question (which did not get posted). You are saying if I use a splitter, > then E-Prime will see only one monitor (connected to the display card) and > thus only one vertical blank signal; is that correct? Part of my question > that wasn't posted was that I will be using two LCD monitors. Considering > this, will it make any difference whether I divide the analog signal from > my display card, using a VGA splitter or the digital signal, using a DVI or > Display Port splitter? A digital connection can transmit additional > information about the display; I wonder if this might cause any > synchronization problems. On the other hand, the VGA signal will have to be > converted to digital data by the LCD display, possibly increasing the lag. > -- Thanks for clarification & recommendations regarding the preferred type > of splitter. > I'll post this support response whenever I get it. Thanks. Scott On Monday, December 10, 2012 12:49:02 PM UTC-6, McFarlane, David wrote: > > Scott, > > Good questions, wish I had an answer, hope someone else does. You > should submit this to PST Web Support at > http://support.pstnet.com/e%2Dprime/support/login.asp , after all it > is their business to know these things. Then please post back here > with the answer. > > Thanks, > -- David McFarlane > > > At 12/9/2012 05:08 PM Sunday, Scott wrote: > >I don't expect perfection, but would like feedback to help choose > >how to setup a new lab using E-Prime using physiological equipment > >in two rooms. One room has two PCs, one recording physiological > >measurements, connected (via the parallel port) to a second PC > >running E-Prime. Each will be monitored by experimenters in that > >room. The other room has the subject's video display and button box. > >My question has to do ONLY with the E-Prime PC. We want > >experimenters to be able to see what the subject sees, while they > >monitor physiological recording, so we want the E-Prime video > >mirrored on LCD displays in the two rooms. Of course this is a very > >common situation for such labs (using EEG, fMRI, EDR, etc). Our > >E-Prime computer has a video card (AMD RADEON HD 7470) with one > >Display Port and one VGA port. Using this computer and display card, > >there are 3 simple ways (afaik) to accomplish what I want and > >display the same thing on two monitors: > > * Connect one LCD to the Display Port and the other to the VGA > > port, and set the display card to clone mode; > > * Connect a VGA Y-splitter to the computer's VGA port, and > > connect one LCD monitor to each side of the splitter; or > > * Connect a Display Port Y-splitter to the computer's VGA port, > > and connect one LCD monitor (via Display Port-to-HDMI or -to-VGA > > converter) to each side of the splitter. > > > >Using method #1, the E-Prime 2.0.10.184 or later Experiment Advisor > >will warn that "Mirroring can cause timing issues since vertical > >blank synchronization is not accurate between multiple displays..." > >(see KB 5014 - > >FEATURE: Experiment Advisor Module - Display adapter set to clone > >mode). However, I do not know whether using a splitter will actually > >improve timing consistency or solve any issues related to vertical > >blank synchronization. If a splitter would be better, Also, I don't > >know whether the type of splitter would make any difference in this > >regard. (I do know that video resolution and quality might differ). > >Note that I am aware of various issues (eg., input lag, rise time) > >that can compromise timing accuracy of LCD displays. As a said at > >the outset, I'm not expecting perfection, or even anything close to > >the accuracy of a single CRT monitor. My goal is simply to minimize > >the variability of the time between the onset sync, detected by > >E-Prime, and the onset of the visual display seen by the subject. A > >constant lag does not concern me. Also, the two monitors to do NOT > >need to be synchronized with each other, except to the extent > >necessary for even one to be (relatively) synchronized to the > >vertical blank. Also note that I am NOT concerned or asking about > >synchronization between physiological recordings and the vertical > >blank time detected by E-Prime, signaled via the parallel port; > >that's a different and less troublesome issue, imho. Also, I > >understand that timing accuracy is more or less critical, depending > >on experimental paradigms and physiological measures. All I'm asking > >about is which of the 3 methods listed above can be expected to > >yield the most consistent and reliable (or least bad) timings, as a > >general rule, when connecting two LCD displays, both showing the > >same content, to one PC running E-Prime. If anyone knows any better > >methods, other than these 3, I'd like to hear about them as well. > > > >Thanks, in advance, for sharing relevant experience, knowledge, and > >advice. --Scott > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/O3aKng3xoVsJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alicerancai at gmail.com Thu Dec 13 00:29:30 2012 From: alicerancai at gmail.com (Alice Cai) Date: Wed, 12 Dec 2012 16:29:30 -0800 Subject: Moving Stimuli in E-prime In-Reply-To: <50BFB53F.8050100@msu.edu> Message-ID: Dear David, Thank you very much for your help! The wait function is so useful and I finally got my experiment working thanks to your help! I really appreciate you taking the time to reply, and I hope you have a great Christmas and New Years! Best wishes, Alice On Wednesday, December 5, 2012 8:57:35 PM UTC, McFarlane, David wrote: > > Alice, > > Two brief thoughts... > > 1) You can use List.Terminate to exit out of a running List before it > reaches its own end -- see that topic in the E-Basic Help facility. > (With a bit of programming knowhow you don't even have to know the name > of the running List, but I am not near my FAQ now to point you to the > thread where I show that.) > > 2) Yes, adding up times is fraught with difficulty, you will almost > certainly fail to include some interim times and get wrong values. But > the E-Prime input mask facility really is beautiful once you fully > understand it. Put a Wait object just before the start of your > stimulus/response loop, outside the loop. Give that Wait a Duration of > 0 (and think about the proper Onset Sync), and add your desired input > mask to this Wait instead of within the loop. Give this input mask a > Time Limit of (infinite). Now that Wait will look for a response any > time during your stimulus/response loop, and Wait.RT will be the RT from > the start of the loop until the response, without you having to compute > anything! My online E-Prime course actually includes an exercise where > we do this, might be worth looking into. > > ----- > David McFarlane > E-Prime training online: > http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) > > > Alice Cai wrote: > > Dear David, > > > > Thank you so much, that was very helpful! Right now I have only one > > slide, and have many levels in the list to code for the location of the > > square (e.g., left, middle, right). I would like the slides to repeat > > itself until participants give a response. Once participants give a > > response, I want to give a 'feedback display'. I thought of using the > > jump function with labels, but the label can only jump within a > > procedure. This is a bit problematic because right now, even when > > participants give a response, it will only exit the procedure once all > > lists have been displayed (or when it reaches a time limit that I set, > > e.g., 4000 ms). > > > > > > Also, I need to record reaction time to the moving stimuli. However, > > right now e-prime doesn't record RT from the very first slide that > > participants see, but only for the slide that the responded to. So in > > order to know how long participants took to respond, I will need to add > > up the number of slides that was presented before hand and multiply it > > by how long the slides were displayed for (50 ms). Is there an easier > > way to record reaction time? > > > > Thank you very much for your help, please take your time to reply and > > any comments will be greatly appreciated! > > > > Thank you again! > > Alice > > > > > > > > On Wednesday, December 5, 2012 4:39:07 PM UTC, Alice Cai wrote: > > > > Hi, > > > > I have a question regarding my experiment design. I would like to > > create a moving stimuli where participants decide whether the box is > > moving vertically or horizontally. I know that I can use different > > slides changing at 50 ms. per slide with different locations for the > > box (left, middle, right) but the problem is I will need to create a > > lot of slides and the E-prime program runs out of memory space. > > > > Is there any way to create just three slides, and have E-prime > > repeat these three slides until participants give a response? And > > then the experiment will jump to the next trial with three more > slides? > > > > Any help will be greatly appreciated! Thank you! > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/J2FeB8kHJWYJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmaayane at gmail.com Wed Dec 12 16:41:52 2012 From: kmaayane at gmail.com (maayan kedar) Date: Wed, 12 Dec 2012 08:41:52 -0800 Subject: help needed on visual search Message-ID: hello! like almost everyone - i'm new on E-Prime! and, I want yo apologize for bad English too, thanks. I have 3 main problems on my visual search project: 1. I have a list of 20 trails. I want to run each trial 2 time max, because the participant have only 5 minutes for 40 trial if he/she will be fast enough. the problem is that for all the options i tried (like random with replacement) he always takes some trials more than 2 times. what do i need to do? 2. I set my lists so in every trial I suppose to have 99 distractors and 1 target (the letter B for example). The thing is that sometimes he dose not show the letter. when I check the data I can see that the letter was suppose to be on line 15, let's say, but the letter is not there!!! How come? and again - what can I do? 3. I know it's silly but - How do I limit my experiment to 40 trials *or* 300 sec? I tried to set the exit from the main list after 300 sec but it didn't work. thanks!!!! maayan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/9VhEQaa8pFEJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Dec 13 20:06:19 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 13 Dec 2012 15:06:19 -0500 Subject: What's best for E-Prime video timing accuracy: Mirror mode, VGA splitter, or Display Port splitter? In-Reply-To: Message-ID: Scott, I went ahead and submitted the question myself to PST Web Support on 10 Dec, and got a very full reply on 12 Dec. I post PST's full response here for everyone's benefit, along with my question because I posed it in a slightly different way. First, my form of the question: /----------- What if we want to share the same video output to two screens, e.g., one LCD screen for a subject in the fMRI scanner, and another in the control room to mirror (echo?) the subject display so that researchers can monitor what appears to the subject? In principle, we have no guarantee that both screens even use the same refresh rate, and if they do, we have no guarantee that both screens refresh at the same time. (Or do we?) In that case, 1) Suppose we have a video card with both VGA and DisplayPort outputs, and we can use "clone" mode to send the same video to both outputs. How could E-Prime know which of the two screens to use for refresh synchronization? (I think this is exactly the problem addressed at http://www.pstnet.com/support/kb.asp?TopicID=5014, and the answer is, EP cannot know, hence the problem.) 2) Suppose instead we connect the video card's VGA output to a video splitter, which then goes to the two screens. Again, how could EP know which of the two screens to use for refresh synchronization? 3) Same as #2, except using the video card's DisplayPort output. How could EP know which of the two screens to use for refresh synchronization? \----------- And then the full response from Ryan Whitfield at PST Web Support: /----------- The answer to any questions regarding the use of mirror/clone mode with E-Prime experiments and multiple monitors is that this can cause timing issues since there is no way to accurately synchronize between multiple displays. The reason for this is because - when using a machine that has multiple display outputs - the current technology is such that each of the outputs has its own pixel clock. These pixel clocks are configured in such a way that (99% of the time) they do not communicate and the primary display's "refresh request" is given precedence in the cycle. Because of this, multiple-output video cards should not be used in clone mode if display synchronization is a concern. That being said, it IS possible to share the same video output to two screens with display synchronization with the use of a DVI splitter. The reason this is possible - while the multiple outputs are not - is again related to the pixel clock. With a single display output, only one pixel clock is being used and the display is being pushed out to the splitter - and in turn the monitors - at the same time. However, working with a DVI splitter requires that a few things be kept in mind so that synchronization is possible. First, both monitors must be able to display at refresh rate intended by the video card. This means that a video card pushing out a 120Hz video signal cannot be split to a monitor capable of 60Hz and a monitor capable of 120Hz. However, a video card will be able to push a 60hz signal to both of those monitors without issue (the 120Hz monitor will likely just double-sample here). Second, the video card must be capable of pushing out the correct refresh rate. This simply means (as expected) that a video card only capable of 60Hz will not be able to push out 120Hz video to two 120Hz-capable monitors. Lastly, (and likely the most overlooked one if you are using higher refresh rates and/or larger resolution monitors) the splitter must be of high enough quality to push out enough bandwidth from the video card to the two monitors. Lower quality splitters will be fine for 1024x768 at 60Hz on two monitors. However, if you are looking at displaying 1920x1080 at 120Hz, you will likely need a higher-quality DVI splitter - as lower quality ones will not have the necessary bandwidth to push through that amount of information. Most of my answer has revolved around the use of DVI for your display source, as this is what we have tested in-house because of the work necessary for the implementation in the Hyperion system. This likely applies to VGA as well, since similar information transfer is at work there. With the DisplayPort, it may be easier to synchronize than DVI because of the internal functioning of the technology - but we haven't tested this functionality in-house, so I would recommend just using a DisplayPort to DVI converter and then a DVI splitter once the signal is in DVI. \----------- I hope that helps. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 12/12/2012 01:01 AM Wednesday, Scott wrote: >Hi David, > >Actually, I submitted this basic question to E-Prime support a >couple of hours after I posted here. Unfortunately, the body of my >support request did not get submitted; don't know why but guess I >goofed somehow. Even without the detailed explanation I posted here, >I did get a decent response to only the title of my support request >(nothing else got submitted): "What's better: mirror mode or splitter?" >Reply: >Cloning or mirroring can cause timing issues since vertical blank >synchronization is not accurate between multiple displays. >Determining which display is considered primary can cause confusion >and may not be consistent between computer configurations. Instead >of cloning the display through software, it is better to split it >physically using a VGA splitter cable. If it is necessary for you to >view the experiment on multiple screens, you should use a splitter >to direct the output. > >I hope this helps. Please let me know if you have any other questions. > >Sincerely, >David Nicholson, Technical Consultant > >I've asked for clarification and amended my request as follows: >Thanks. You more or less answered my question from the support >title, even though (for reasons I don't understand) the actual text >of the question was not submitted. > >I'd like a little clarification and an answer to another part of my >question (which did not get posted). You are saying if I use a >splitter, then E-Prime will see only one monitor (connected to the >display card) and thus only one vertical blank signal; is that >correct? Part of my question that wasn't posted was that I will be >using two LCD monitors. Considering this, will it make any >difference whether I divide the analog signal from my display card, >using a VGA splitter or the digital signal, using a DVI or Display >Port splitter? A digital connection can transmit additional >information about the display; I wonder if this might cause any >synchronization problems. On the other hand, the VGA signal will >have to be converted to digital data by the LCD display, possibly >increasing the lag. -- Thanks for clarification & recommendations >regarding the preferred type of splitter. > >I'll post this support response whenever I get it. > >Thanks. > >Scott > >On Monday, December 10, 2012 12:49:02 PM UTC-6, McFarlane, David wrote: >Scott, > >Good questions, wish I had an answer, hope someone else does. You >should submit this to PST Web Support at >http://support.pstnet.com/e%2Dprime/support/login.asp >, after all it >is their business to know these things. Then please post back here >with the answer. > >Thanks, >-- David McFarlane > > >At 12/9/2012 05:08 PM Sunday, Scott wrote: > >I don't expect perfection, but would like feedback to help choose > >how to setup a new lab using E-Prime using physiological equipment > >in two rooms. One room has two PCs, one recording physiological > >measurements, connected (via the parallel port) to a second PC > >running E-Prime. Each will be monitored by experimenters in that > >room. The other room has the subject's video display and button box. > >My question has to do ONLY with the E-Prime PC. We want > >experimenters to be able to see what the subject sees, while they > >monitor physiological recording, so we want the E-Prime video > >mirrored on LCD displays in the two rooms. Of course this is a very > >common situation for such labs (using EEG, fMRI, EDR, etc). Our > >E-Prime computer has a video card (AMD RADEON HD 7470) with one > >Display Port and one VGA port. Using this computer and display card, > >there are 3 simple ways (afaik) to accomplish what I want and > >display the same thing on two monitors: > > * Connect one LCD to the Display Port and the other to the VGA > > port, and set the display card to clone mode; > > * Connect a VGA Y-splitter to the computer's VGA port, and > > connect one LCD monitor to each side of the splitter; or > > * Connect a Display Port Y-splitter to the computer's VGA port, > > and connect one LCD monitor (via Display Port-to-HDMI or -to-VGA > > converter) to each side of the splitter. > > > >Using method #1, the E-Prime 2.0.10.184 or later Experiment Advisor > >will warn that "Mirroring can cause timing issues since vertical > >blank synchronization is not accurate between multiple displays..." > >(see > <http://www.pstnet.com/support/kb.asp?TopicID=5014>KB > 5014 - > >FEATURE: Experiment Advisor Module - Display adapter set to clone > >mode). However, I do not know whether using a splitter will actually > >improve timing consistency or solve any issues related to vertical > >blank synchronization. If a splitter would be better, Also, I don't > >know whether the type of splitter would make any difference in this > >regard. (I do know that video resolution and quality might differ). > >Note that I am aware of various issues (eg., input lag, rise time) > >that can compromise timing accuracy of LCD displays. As a said at > >the outset, I'm not expecting perfection, or even anything close to > >the accuracy of a single CRT monitor. My goal is simply to minimize > >the variability of the time between the onset sync, detected by > >E-Prime, and the onset of the visual display seen by the subject. A > >constant lag does not concern me. Also, the two monitors to do NOT > >need to be synchronized with each other, except to the extent > >necessary for even one to be (relatively) synchronized to the > >vertical blank. Also note that I am NOT concerned or asking about > >synchronization between physiological recordings and the vertical > >blank time detected by E-Prime, signaled via the parallel port; > >that's a different and less troublesome issue, imho. Also, I > >understand that timing accuracy is more or less critical, depending > >on experimental paradigms and physiological measures. All I'm asking > >about is which of the 3 methods listed above can be expected to > >yield the most consistent and reliable (or least bad) timings, as a > >general rule, when connecting two LCD displays, both showing the > >same content, to one PC running E-Prime. If anyone knows any better > >methods, other than these 3, I'd like to hear about them as well. > > > >Thanks, in advance, for sharing relevant experience, knowledge, and > >advice. --Scott -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From mcfarla9 at msu.edu Thu Dec 13 20:24:47 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 13 Dec 2012 15:24:47 -0500 Subject: help needed on visual search In-Reply-To: <34b4e4bf-f34c-43f1-b3dc-68a61b60f4c2@googlegroups.com> Message-ID: maayan, #1 & 3 strike me as the same question: E-Prime Lists have settings for exiting after either a number cycles, a number of samples, or a number of seconds, but they cannot apply combined exit criteria (e.g., 40 samples *or* 300 sec, whichever comes first). In that case, I would set the List to exit after a number of cycles or samples, and then use InLine code within the trial Procedure to test for the time limit and exit the List with List.Terminate. That's just an outline, maybe someone else can help with the details. No help for #2, sorry. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 12/12/2012 11:41 AM Wednesday, maayan kedar wrote: >like almost everyone - i'm new on E-Prime! and, I want yo apologize >for bad English too, thanks. >I have 3 main problems on my visual search project: > >1. I have a list of 20 trails. I want to run each trial 2 time max, >because the participant have only 5 minutes for 40 trial if he/she >will be fast enough. >the problem is that for all the options i tried (like random with >replacement) he always takes some trials more than 2 times. what do >i need to do? > >2. I set my lists so in every trial I suppose to have 99 distractors >and 1 target (the letter B for example). The thing is that sometimes >he dose not show the letter. when I check the data I can see that >the letter was suppose to be on line 15, let's say, but the letter >is not there!!! How come? and again - what can I do? > >3. I know it's silly but - How do I limit my experiment to 40 trials >or 300 sec? I tried to set the exit from the main list after 300 sec >but it didn't work. > >thanks!!!! >maayan -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From pquain at une.edu.au Thu Dec 13 21:58:03 2012 From: pquain at une.edu.au (Peter Quain) Date: Fri, 14 Dec 2012 08:58:03 +1100 Subject: What's best for E-Prime video timing accuracy: Mirror mode, VGA splitter, or Display Port splitter? In-Reply-To: <50ca3545.c42e320a.55f6.008fSMTPIN_ADDED_MISSING@gmr-mx.goo gle.com> Message-ID: That is an interesting response. As I read it, Ryan Whitfield has replied in terms of synchronisation of frames displayed on two monitors with the claim that clone mode cannot provide this. However, he states that the primary display's refresh request (vertical blanking signal; VBS) is given precedence (by e-prime). In plain language I read this to mean that e-prime architecture (where identification of VBS is fundamental to visual display timing accuracy) is built to call on the primary display VBS. So the timing accuracy of primary displays should not be influenced by a second cloned (secondary) display, where exact timing accuracy could not be assumed because of out of synch vertical refresh. I have tested accuracy of primary display with thousands of trials where we collected timing information on vertical refresh intervals during time critical display events (presented using Canvas, dual-head video card, VGA output, cloned, 'identical' CRT monitors). Only a couple of VBS were missed, and the refresh intervals (3 of them) each averaged to the appropriate refresh interval. These timing 'marks' were taken immediately following Display.WaitForVerticalBlank commands. We were careful to ensure that the monitor the subjects saw was connected to the primary display port of the dual-head graphics card, which we identified from documentation, and checked empirically - the card would not output any signal to a monitor connected to the secondary port unless there was also a monitor connected to the primary port. David Nicholson's original query was regarding timing accuracy while allowing experimenters to view on a second monitor what the subject was seeing. So, exact display synchronisation between cloned displays not possible because of nonsynchronised refresh cycles, but timing accuracy of primary display is possible (given proper identification of the primary display port, and an appropriate video card / drivers) because of e-prime architecture (Or have I got this wrong?). This should also be the case, in principle, using LCD monitors because they also generate a VBS (for compatibility with graphics systems developed with CRTs) and so e-prime should listen for the VBS from primary monitor. But then, you have onboard image processing engines and possible display lag - something a display splitter wouldn't fix. At 07:06 AM 14/12/2012, you wrote: >Scott, > >I went ahead and submitted the question myself to PST Web Support on >10 Dec, and got a very full reply on 12 Dec. I post PST's full >response here for everyone's benefit, along with my question because >I posed it in a slightly different way. > >First, my form of the question: > >/----------- >What if we want to share the same video output to two screens, e.g., >one LCD screen for a subject in the fMRI scanner, and another in the >control room to mirror (echo?) the subject display so that >researchers can monitor what appears to the subject? In principle, >we have no guarantee that both screens even use the same refresh >rate, and if they do, we have no guarantee that both screens refresh >at the same time. (Or do we?) In that case, > >1) Suppose we have a video card with both VGA and DisplayPort >outputs, and we can use "clone" mode to send the same video to both >outputs. How could E-Prime know which of the two screens to use for >refresh synchronization? (I think this is exactly the problem >addressed at http://www.pstnet.com/support/kb.asp?TopicID=5014, and >the answer is, EP cannot know, hence the problem.) > >2) Suppose instead we connect the video card's VGA output to a video >splitter, which then goes to the two screens. Again, how could EP >know which of the two screens to use for refresh synchronization? > >3) Same as #2, except using the video card's DisplayPort output. How >could EP know which of the two screens to use for refresh synchronization? >\----------- > >And then the full response from Ryan Whitfield at PST Web Support: > >/----------- >The answer to any questions regarding the use of mirror/clone mode >with E-Prime experiments and multiple monitors is that this can >cause timing issues since there is no way to accurately synchronize >between multiple displays. The reason for this is because - when >using a machine that has multiple display outputs - the current >technology is such that each of the outputs has its own pixel clock. >These pixel clocks are configured in such a way that (99% of the >time) they do not communicate and the primary display's "refresh >request" is given precedence in the cycle. Because of this, >multiple-output video cards should not be used in clone mode if >display synchronization is a concern. > >That being said, it IS possible to share the same video output to >two screens with display synchronization with the use of a DVI >splitter. The reason this is possible - while the multiple outputs >are not - is again related to the pixel clock. With a single display >output, only one pixel clock is being used and the display is being >pushed out to the splitter - and in turn the monitors - at the same >time. However, working with a DVI splitter requires that a few >things be kept in mind so that synchronization is possible. First, >both monitors must be able to display at refresh rate intended by >the video card. This means that a video card pushing out a 120Hz >video signal cannot be split to a monitor capable of 60Hz and a >monitor capable of 120Hz. However, a video card will be able to push >a 60hz signal to both of those monitors without issue (the 120Hz >monitor will likely just double-sample here). Second, the video card >must be capable of pushing out the correct refresh rate. This simply >means (as expected) that a video card only capable of 60Hz will not >be able to push out 120Hz video to two 120Hz-capable monitors. >Lastly, (and likely the most overlooked one if you are using higher >refresh rates and/or larger resolution monitors) the splitter must >be of high enough quality to push out enough bandwidth from the >video card to the two monitors. Lower quality splitters will be fine >for 1024x768 at 60Hz on two monitors. However, if you are looking at >displaying 1920x1080 at 120Hz, you will likely need a higher-quality >DVI splitter - as lower quality ones will not have the necessary >bandwidth to push through that amount of information. > >Most of my answer has revolved around the use of DVI for your >display source, as this is what we have tested in-house because of >the work necessary for the implementation in the Hyperion system. >This likely applies to VGA as well, since similar information >transfer is at work there. With the DisplayPort, it may be easier to >synchronize than DVI because of the internal functioning of the >technology - but we haven't tested this functionality in-house, so I >would recommend just using a DisplayPort to DVI converter and then a >DVI splitter once the signal is in DVI. >\----------- > >I hope that helps. > >----- >David McFarlane >E-Prime training >online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx >Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > >At 12/12/2012 01:01 AM Wednesday, Scott wrote: >>Hi David, >> >>Actually, I submitted this basic question to E-Prime support a >>couple of hours after I posted here. Unfortunately, the body of my >>support request did not get submitted; don't know why but guess I >>goofed somehow. Even without the detailed explanation I posted >>here, I did get a decent response to only the title of my support >>request (nothing else got submitted): "What's better: mirror mode or splitter?" >>Reply: >>Cloning or mirroring can cause timing issues since vertical blank >>synchronization is not accurate between multiple displays. >>Determining which display is considered primary can cause confusion >>and may not be consistent between computer configurations. Instead >>of cloning the display through software, it is better to split it >>physically using a VGA splitter cable. If it is necessary for you >>to view the experiment on multiple screens, you should use a >>splitter to direct the output. >> >>I hope this helps. Please let me know if you have any other questions. >> >>Sincerely, >>David Nicholson, Technical Consultant >> >>I've asked for clarification and amended my request as follows: >>Thanks. You more or less answered my question from the support >>title, even though (for reasons I don't understand) the actual text >>of the question was not submitted. >> >>I'd like a little clarification and an answer to another part of my >>question (which did not get posted). You are saying if I use a >>splitter, then E-Prime will see only one monitor (connected to the >>display card) and thus only one vertical blank signal; is that >>correct? Part of my question that wasn't posted was that I will be >>using two LCD monitors. Considering this, will it make any >>difference whether I divide the analog signal from my display card, >>using a VGA splitter or the digital signal, using a DVI or Display >>Port splitter? A digital connection can transmit additional >>information about the display; I wonder if this might cause any >>synchronization problems. On the other hand, the VGA signal will >>have to be converted to digital data by the LCD display, possibly >>increasing the lag. -- Thanks for clarification & recommendations >>regarding the preferred type of splitter. >> >>I'll post this support response whenever I get it. >> >>Thanks. >> >>Scott >> >>On Monday, December 10, 2012 12:49:02 PM UTC-6, McFarlane, David wrote: >>Scott, >> >>Good questions, wish I had an answer, hope someone else does. You >>should submit this to PST Web Support at >>http://support.pstnet.com/e%2Dprime/support/login.asp >>, after all it >>is their business to know these things. Then please post back here >>with the answer. >> >>Thanks, >>-- David McFarlane >> >> >>At 12/9/2012 05:08 PM Sunday, Scott wrote: >> >I don't expect perfection, but would like feedback to help choose >> >how to setup a new lab using E-Prime using physiological equipment >> >in two rooms. One room has two PCs, one recording physiological >> >measurements, connected (via the parallel port) to a second PC >> >running E-Prime. Each will be monitored by experimenters in that >> >room. The other room has the subject's video display and button box. >> >My question has to do ONLY with the E-Prime PC. We want >> >experimenters to be able to see what the subject sees, while they >> >monitor physiological recording, so we want the E-Prime video >> >mirrored on LCD displays in the two rooms. Of course this is a very >> >common situation for such labs (using EEG, fMRI, EDR, etc). Our >> >E-Prime computer has a video card (AMD RADEON HD 7470) with one >> >Display Port and one VGA port. Using this computer and display card, >> >there are 3 simple ways (afaik) to accomplish what I want and >> >display the same thing on two monitors: >> > * Connect one LCD to the Display Port and the other to the VGA >> > port, and set the display card to clone mode; >> > * Connect a VGA Y-splitter to the computer's VGA port, and >> > connect one LCD monitor to each side of the splitter; or >> > * Connect a Display Port Y-splitter to the computer's VGA port, >> > and connect one LCD monitor (via Display Port-to-HDMI or -to-VGA >> > converter) to each side of the splitter. >> > >> >Using method #1, the E-Prime 2.0.10.184 or later Experiment Advisor >> >will warn that "Mirroring can cause timing issues since vertical >> >blank synchronization is not accurate between multiple displays..." >> >(see >> <http://www.pstnet.com/support/kb.asp?TopicID=5014>KB >> 5014 - >> >FEATURE: Experiment Advisor Module - Display adapter set to clone >> >mode). However, I do not know whether using a splitter will actually >> >improve timing consistency or solve any issues related to vertical >> >blank synchronization. If a splitter would be better, Also, I don't >> >know whether the type of splitter would make any difference in this >> >regard. (I do know that video resolution and quality might differ). >> >Note that I am aware of various issues (eg., input lag, rise time) >> >that can compromise timing accuracy of LCD displays. As a said at >> >the outset, I'm not expecting perfection, or even anything close to >> >the accuracy of a single CRT monitor. My goal is simply to minimize >> >the variability of the time between the onset sync, detected by >> >E-Prime, and the onset of the visual display seen by the subject. A >> >constant lag does not concern me. Also, the two monitors to do NOT >> >need to be synchronized with each other, except to the extent >> >necessary for even one to be (relatively) synchronized to the >> >vertical blank. Also note that I am NOT concerned or asking about >> >synchronization between physiological recordings and the vertical >> >blank time detected by E-Prime, signaled via the parallel port; >> >that's a different and less troublesome issue, imho. Also, I >> >understand that timing accuracy is more or less critical, depending >> >on experimental paradigms and physiological measures. All I'm asking >> >about is which of the 3 methods listed above can be expected to >> >yield the most consistent and reliable (or least bad) timings, as a >> >general rule, when connecting two LCD displays, both showing the >> >same content, to one PC running E-Prime. If anyone knows any better >> >methods, other than these 3, I'd like to hear about them as well. >> > >> >Thanks, in advance, for sharing relevant experience, knowledge, and >> >advice. --Scott > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To post to this group, send email to e-prime at googlegroups.com. >To unsubscribe from this group, send email to >e-prime+unsubscribe at googlegroups.com. >For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahuvayochevedsegal at gmail.com Fri Dec 14 03:16:14 2012 From: ahuvayochevedsegal at gmail.com (gugs) Date: Thu, 13 Dec 2012 19:16:14 -0800 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: <581e6c4b-26c9-4ff1-9b17-b5fa06fab4b4@googlegroups.com> Message-ID: Thanks. I lost my computer to repairs this week but as soon as I get it back I will try these suggestions. I'll let you know how it goes. Many thanks. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/8e3EQ3bAcbYJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahuvayochevedsegal at gmail.com Fri Dec 14 03:22:59 2012 From: ahuvayochevedsegal at gmail.com (gugs) Date: Thu, 13 Dec 2012 19:22:59 -0800 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: <437ae68c-f81d-45b6-badf-cb98d34d9d1d@googlegroups.com> Message-ID: Hi David The stimulus appears on the screen for 300 ms, followed by a blank screen for 1200 seconds (for a total of 1500 ms). Therefore the settings are as follows: 1. stimulus screen has the correct properties timing mode (cumulative), data logging (standard), duration (300), Time Limit (1200), End Action (none) 2.stimuluswait screen has the correct properties timing mode (cumulative), data logging (time audit only), duration (1200) I want the stimulus and blank screens to remain standard across the task regardless of whether the participant has responded or not. The next stimulus should begin after the 1200 ms blank screen without user intervention. Regards. On Friday, December 14, 2012 2:16:14 PM UTC+11, gugs wrote: > > Thanks. I lost my computer to repairs this week but as soon as I get it > back I will try these suggestions. I'll let you know how it goes. > > Many thanks. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/6kSldWVDrBwJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Dec 14 15:19:03 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 14 Dec 2012 10:19:03 -0500 Subject: Go/No-Go Task Programming (David McFarlane?) In-Reply-To: Message-ID: PreRelease? At 12/13/2012 10:22 PM Thursday, you wrote: >Hi David > >The stimulus appears on the screen for 300 ms, followed by a blank >screen for 1200 seconds (for a total of 1500 ms). > >Therefore the settings are as follows: > >1. stimulus screen has the correct properties timing mode >(cumulative), data logging (standard), duration (300), Time Limit >(1200), End Action (none) >2.stimuluswait screen has the correct properties timing mode >(cumulative), data logging (time audit only), duration (1200) > >I want the stimulus and blank screens to remain standard across the >task regardless of whether the participant has responded or >not. The next stimulus should begin after the 1200 ms blank screen >without user intervention. > >Regards. > > >On Friday, December 14, 2012 2:16:14 PM UTC+11, gugs wrote: >Thanks. I lost my computer to repairs this week but as soon as I get >it back I will try these suggestions. I'll let you know how it goes. > >Many thanks. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From marykatetompkins at gmail.com Fri Dec 14 21:04:22 2012 From: marykatetompkins at gmail.com (MKT) Date: Fri, 14 Dec 2012 13:04:22 -0800 Subject: Running experiment at two sites - match computers and refresh rates? In-Reply-To: Message-ID: Thanks for the responses, everyone! On Monday, November 19, 2012 3:06:06 AM UTC-5, Scott wrote: > > Hi Mary Kate, > > I want to better explain my previous post (about LCD monitors) and reply > more specifically to David's questions. > > We are starting up a collaboration study with another lab. I'm responsible > for helping design tasks and write the E-Prime programs, which include > several programs with only behavioral measures and one that will also > include ERP measures. > > I'm not the PI; I have considerable input but don't have the final say > about anything. Like you, I want to minimize noise and especially > measurement bias between the two labs. I want to be practical and realistic > regarding these goals. I agree with most everything David has said. I'm > asking that factors that are easy to control and might affect performance > and/or measurement be consistent between the two sites, including things > you've already mentioned, like monitor size and resolution (also determined > by E-Prime device settings) and operating systems. I also want to ensure we > use the same refresh rate (60 hz), so I know how to set stimulus durations, > and both sites will use the same version of E-Prime to run subjects. We'll > check both PCs using E-Pime's timing tests, and if they pass I won't worry > more about how similar the computers are. > > I'm less sure than David about how robust E-Prime is with regard to > measuring response times independent of the mechanisms for presenting > stimuli. Both labs will be using the same kinds of USB button boxes (maybe > not as precise as the PST SRBox, but it's consistent and convenient). I > only encountered a difficult choice when it came to the computer monitors. > E-Prime can accurately and reliably control and measure presentations of > visual displays on a CRT monitor, and all CRT monitors work about the same > (afaik). However, both labs use LCD monitors (I have no say about this), > and LCDs monitors are more varied and complicated, especially with regard > to timings. This has been discussed a before in post about *LCD monitors > and Input lag* in thisthread and maybe others. It's not easy to measure input lag. The refresh > detector of PST's SRBox does not work reliably with LCD monitors (unless > someone can tell me how to make it work). Onscreen timers and high-speed > cameras are often used, along with photocells and oscilloscopes, but they > all require extra equipment, time, and trouble. Moreover, there are > questions about the implementation and accuracy of most of these methods. In > fact, a rather thorough analysis by Thomas Thiemann, here > , concludes: > > - ...it is not an option to achieve a precise value for the image > processing time in the monitor using a camera. It is only possible to > indicate approximate areas in which the input lag of the monitor is likely > to be encountered, but subject to a rather large error. An evaluation of > the input lags of monitors using the photo method should thus lead to > sorting into rough classes such as the following: > - - probably less than 1 frame lag / less than 16 ms lag > - - probably one to two frames lag / 16 ms to 32 ms lag > - - the lag is probably greater than two frames / greater than 32 > ms. > > Now I'm not sure E-Prime's RT measures would necessarily reflect this > range of variability, but if so, it's more difference between labs than I'm > comfortable with. Therefore, we decided to purchase the same new LCD > monitors for both labs, hoping that that they probably would exhibit about > the same amount of lag so that RTs and stimulus onset times would be > displaced about the same amount in the measurements and recording of both > labs. This was the best I could figure to do, for now, so we can get on > with our research. In the meantime, I have someone working on a photocell > circuit to connect to our EEG headbox that might allow me to measure the > stimulus onset lags of our systems. > > If you are using CRT monitors, good for you -- none of this matters. I'm > not sure how much it matters, even if you do use LCD monitors. I would love > for someone to explain why "LCD input lag" makes little or no difference > for most research paradigms, and convince me I've no reasons to worry about > this. I just thought I should share my concerns and some information that > might be relevant to you and/or other researchers. I'd like to hear what > others think. -- Thanks. > > On Thursday, November 15, 2012 3:35:56 PM UTC-6, McFarlane, David wrote: >> >> Mary Kate, >> >> Good question, I hope others weigh in. Here are my thoughts. >> >> Obviously, the more uniform the better. So one might turn the >> question around and ask how much nonuniformity is too much. And that >> will depend largely on the timing demands of the study, some studies >> have more stringent requirements than others. >> >> Offhand, I would say that as long as each of your computer setups can >> robustly deliver millisecond-quality times, you should be OK. You >> can and should test each one with the RefreshClockTest that you can >> download from PST, see Chapter 3 of the original User's Guide, or >> Chapter 4 of the revised version. Bear in mind that RefreshClockTest >> just tests whether the system can keep up with the onboard >> millisecond clock, it does not test the accuracy of the clock per se, >> for that you would need to compare times with an external time >> standard. In any case, you at least want all your machines to pass >> RefreshClockTest. >> >> Matching refresh rates again depends on your timing requirements. To >> take an example, If you have one display running at 60 Hz (refresh >> period = 16.7 ms) and another at 75 Hz (refresh period = 13.3 ms), >> and you ask for a Duration of 200 ms, then the one display will >> actually give you either 183 or 200 ms, while the other screen will >> give you either 199 ms or 213 ms. You will have to decide whether >> that is acceptable. Note that the production release (EP2.0.10.242) >> allows you to request a refresh rate >> (http://www.pstnet.com/support/kb.asp?TopicID=3465 ). No guarantee >> that you will get what you ask, so still look at the value measured >> by E-Prime & reported in the .edat file. (And go with the value >> measured by E-Prime, do not trust the refresh rate reported by Windows.) >> >> I do not have any particular refresh rate to recommend, I do not run >> studies myself (I am a Systems Designer who helps others do their >> research), and I am embarrassed to say that I have never asked others >> what refresh rates they use, I will have to ask around. Offhand it >> seems that faster is better as you get more exact times. OTOH, I >> often tend toward lowest common denominators for greater >> compatibility, and for that reason might stick down at 60 Hz. In >> truth, rightly or wrongly, I think we mostly just take whatever >> refresh rate we get and don't think about it. >> >> You already plan to use the same size monitors at all sites, and I >> presume use the same display resolution. I trust you will also seat >> subjects at the same distance so that visual stimuli subtend the same >> visual angle for all subjects. >> >> Note that none of this affects the accuracy of response times, >> E-Prime has a very robust mechanism for gettting responses which is >> independent of the mechansims for presenting stimuli. >> >> Now after all that, here is the short answer (Michiel, would like to >> chime in here?): Chances are that whatever human behavior you >> measure has more variance than your measurement system. That's not >> an excuse for getting sloppy when you can be exact, but maybe we need >> not fret too much about this; others have done statistical >> calculations to show that we can compensate for variance introduced >> by our measuring system merely by running a few more subjects (sorry, >> I don't have a citation handy). >> >> So what do the rest of you think? For that matter, what do others >> actually do? >> >> ----- >> David McFarlane >> E-Prime training >> online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx >> Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) >> >> >> At 11/15/2012 12:28 PM Thursday, MKT wrote: >> >We will soon be running the same experiment on E-Prime 2.0 at two >> >sites (OSU and UPenn). We want to make sure we do not add any >> >additional noise in the data or run into problems. >> > >> >We plan to use the same size monitors at both sites and run on >> >Windows 7. Is it necessary to match computer type as well? How about >> >refresh rates? Is there a particular refresh rate you recommend? >> > >> >Thanks for your help! >> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/v45gKlMvm20J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marykatetompkins at gmail.com Fri Dec 14 21:05:09 2012 From: marykatetompkins at gmail.com (MKT) Date: Fri, 14 Dec 2012 13:05:09 -0800 Subject: Running experiment at two sites - match computers and refresh rates? In-Reply-To: Message-ID: Thanks for the responses, everyone! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/nZqA8Y9D-S4J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jakov.zlodre at gmail.com Mon Dec 17 10:36:58 2012 From: jakov.zlodre at gmail.com (JZ) Date: Mon, 17 Dec 2012 02:36:58 -0800 Subject: How to synchronise Slide duration with SoundBuffer Message-ID: Hello, I am new to this forum and new to E Prime. I am designing a task that requires playing a sound during presentation of a colour screen. The colour screen is a Slide with a text display with the back colour set differently according to whether it is paired with sound or not. The problem I have is that I want the slide to last 10 secs and the sound to play intermittently during those 10 seconds. I have the sound playing using SoundBuffer.Play and then using SoundBuffer.Pause and Sleep to pause the sound in an inline after the text display with the PreRelease for the Slide at 10secs. However the Sleep command also applies to the main script so that the Slide displays for more than 10 secs. Is there any way I can make the inline run during the Slide but not have the .Play, .Pause and Sleep make the Slide run for more than 10 secs? I am much obliged for any help as am very ignorant regarding E Prime. Best wishes, Jakov -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/fqpfTr63CSkJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From r.dardennes at gmail.com Mon Dec 17 18:45:32 2012 From: r.dardennes at gmail.com (Roland Dardennes) Date: Mon, 17 Dec 2012 10:45:32 -0800 Subject: Running experiment at two sites - match computers and refresh rates? In-Reply-To: Message-ID: Will you use response boxes or computer keyboards ? When I did help a college student for her project, she used two different laptops, one for each of the two colleges where she included volunteers. It happened that she had a systematic difference of 40 ms between the sites' means ... But I have non idea how to check this between two given keyboards. It may not be a problem if you are substracting RT in one condition from RT in another condition, but it may be if you are working with absolute RT. Good luck On 15 nov, 18:28, MKT wrote: > We will soon be running the same experiment on E-Prime 2.0 at two sites > (OSU and UPenn). We want to make sure we do not add any additional noise in > the data or run into problems. > > We plan to use the same size monitors at both sites and run on Windows 7. > Is it necessary to match computer type as well? How about refresh rates? Is > there a particular refresh rate you recommend? > > Thanks for your help! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From marykatetompkins at gmail.com Tue Dec 18 16:46:27 2012 From: marykatetompkins at gmail.com (MKT) Date: Tue, 18 Dec 2012 08:46:27 -0800 Subject: Running experiment at two sites - match computers and refresh rates? In-Reply-To: <9a9bdc38-ded1-44e6-9813-00ccfcde5462@c28g2000vby.googlegroups.com> Message-ID: Interesting. We plan to use the DirectIn Keyboard from Empirisoft at both sites. http://www.empirisoft.com/directinkb.aspx On Monday, December 17, 2012 1:45:32 PM UTC-5, Roland Dardennes wrote: > > Will you use response boxes or computer keyboards ? When I did help a > college student for her project, she used two different laptops, one > for each of the two colleges where she included volunteers. It > happened that she had a systematic difference of 40 ms between the > sites' means ... But I have non idea how to check this between two > given keyboards. It may not be a problem if you are substracting RT in > one condition from RT in another condition, but it may be if you are > working with absolute RT. > > Good luck > > On 15 nov, 18:28, MKT wrote: > > We will soon be running the same experiment on E-Prime 2.0 at two sites > > (OSU and UPenn). We want to make sure we do not add any additional noise > in > > the data or run into problems. > > > > We plan to use the same size monitors at both sites and run on Windows > 7. > > Is it necessary to match computer type as well? How about refresh rates? > Is > > there a particular refresh rate you recommend? > > > > Thanks for your help! > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/Kp1e9-FBJvgJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacanterbury at gmail.com Wed Dec 19 15:07:10 2012 From: jacanterbury at gmail.com (JACanterbury) Date: Wed, 19 Dec 2012 07:07:10 -0800 Subject: add textdisplay to slide In-Reply-To: Message-ID: Hi Tobias, I'm looking to do the same thing (ie add new text objects to an existing slide at runtime) Did you work out how to do it? If so, could you post a code snippet to show how? many thanks, john On Thursday, 12 July 2012 14:45:56 UTC+1, Tobias wrote: > > Hi, > > I want to run a slide called "SearchSlide". > Within a trial, I want to add a textdisplay. > > I tried: > > set SearchContext > set textACC = New TextDisplay > > textACC.X = "50%" > textACC.Y = "2%" > textACC.Width = "34%" > textACC.Height = "3%" > textACC.FontSize = "16" > textACC.FontName = "Arial" > textACC.backcolor = "128,128,128" > textACC.text = "correct" > > however the "set" command needs an "=". How can I refer to an already > existing slide? > > Thanks, > Tobias > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/lDsQHHFGsSQJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Wed Dec 19 15:23:31 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 19 Dec 2012 10:23:31 -0500 Subject: add textdisplay to slide In-Reply-To: <505c2813-c467-42dd-9d33-5d38ab9abf8f@googlegroups.com> Message-ID: Hmm, it just occurs to me, why not just add new text to existing SlideText sub-objects instead of adding entirely new SlideText sub-objects at run time? Start by adding SlideText objects as placeholders into your Slide, and into each one put an attribute reference, e.g., [Text1], [Text2], ... Define those attributes before running your Slide, with empty text if you do not want any text. Then just assign new values to the attributes as needed, and rerun or redraw the Slide to have the new text appear. -- David McFarlane At 12/19/2012 10:07 AM Wednesday, JACanterbury wrote: >Hi Tobias, > >I'm looking to do the same thing (ie add new text objects to an >existing slide at runtime) > >Did you work out how to do it? If so, could you post a code snippet >to show how? > >many thanks, > >john > >On Thursday, 12 July 2012 14:45:56 UTC+1, Tobias wrote: >Hi, > >I want to run a slide called "SearchSlide". >Within a trial, I want to add a textdisplay. > >I tried: > >set SearchContext >set textACC = New TextDisplay > >textACC.X = "50%" >textACC.Y = "2%" >textACC.Width = "34%" >textACC.Height = "3%" >textACC.FontSize = "16" >textACC.FontName = "Arial" >textACC.backcolor = "128,128,128" >textACC.text = "correct" > >however the "set" command needs an "=". How can I refer to an >already existing slide? > >Thanks, >Tobias -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From jacanterbury at gmail.com Wed Dec 19 15:59:48 2012 From: jacanterbury at gmail.com (JACanterbury) Date: Wed, 19 Dec 2012 07:59:48 -0800 Subject: add textdisplay to slide In-Reply-To: <50d1dbf8.849e320a.0e37.6a5eSMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Hi David, Thanks for the reply. The problem is that I want a generic bit of code that will read a couple of easily edited integer variables to determine how many text objects I need and to then work out how to position them (I want to create a grid of varying size and then capture which grid square the user clicks in) so I need a way to create slidetext objects at runtime and then to associate them with a particular slide. Any more thoughts? Many thanks, John On Wednesday, December 19, 2012 3:23:31 PM UTC, McFarlane, David wrote: > > Hmm, it just occurs to me, why not just add new text to existing > SlideText sub-objects instead of adding entirely new SlideText > sub-objects at run time? Start by adding SlideText objects as > placeholders into your Slide, and into each one put an attribute > reference, e.g., [Text1], [Text2], ... Define those attributes > before running your Slide, with empty text if you do not want any > text. Then just assign new values to the attributes as needed, and > rerun or redraw the Slide to have the new text appear. > > -- David McFarlane > > > At 12/19/2012 10:07 AM Wednesday, JACanterbury wrote: > >Hi Tobias, > > > >I'm looking to do the same thing (ie add new text objects to an > >existing slide at runtime) > > > >Did you work out how to do it? If so, could you post a code snippet > >to show how? > > > >many thanks, > > > >john > > > >On Thursday, 12 July 2012 14:45:56 UTC+1, Tobias wrote: > >Hi, > > > >I want to run a slide called "SearchSlide". > >Within a trial, I want to add a textdisplay. > > > >I tried: > > > >set SearchContext > >set textACC = New TextDisplay > > > >textACC.X = "50%" > >textACC.Y = "2%" > >textACC.Width = "34%" > >textACC.Height = "3%" > >textACC.FontSize = "16" > >textACC.FontName = "Arial" > >textACC.backcolor = "128,128,128" > >textACC.text = "correct" > > > >however the "set" command needs an "=". How can I refer to an > >already existing slide? > > > >Thanks, > >Tobias > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/D1LWSwUyO-wJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From elpiconacho at gmail.com Wed Dec 19 15:56:02 2012 From: elpiconacho at gmail.com (dagwood) Date: Wed, 19 Dec 2012 07:56:02 -0800 Subject: Are there any Eprime users in Arizona (Phoenix East Valley ) that could help me with an experiment? Message-ID: Hello looking to get in touch with E-Prime users in Phoenix AZ. Please reach out to me at your earliest convenience. Thank you, Diego 480-319-3534 -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/1EI8NiMSCocJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacanterbury at gmail.com Thu Dec 20 13:53:38 2012 From: jacanterbury at gmail.com (JACanterbury) Date: Thu, 20 Dec 2012 05:53:38 -0800 Subject: Upper/Lower Case In-Reply-To: <6ba619f2-a077-4d55-b861-cd5299edcbe1@googlegroups.com> Message-ID: on the slide's properties, on the duration/input tab, set the 'duration' to infinite' and set 'allowable' to zZmM and the end action to Terminate On Thursday, December 20, 2012 12:34:22 PM UTC, Lizzie wrote: > > Hi All, > > I'm new to e-prime and am currently programming the first study for my > PhD. I have managed to get everything working (eventually!) and have one > final issue I wonder if anyone can help me with. > > In the task, two letters on the keyboard are assigned as 'correct' or > 'incorrect' responses (z and m). Is there any way to set it so that > responses are captured, whether caps lock is on or not? I ran a few pilot > trials and in a couple, participants accidentally hit the caps lock button > at some point, without realising, and therefore all of their responses from > that point were not recorded (i.e. data output said they had not answered). > > I tried adding two 'correct response' columns (i.e. both Z and z) but this > seemed to be make it so that a correct response has to include both buttons > (Zz). > > Any help would be gratefully received! > > Thanks, > Lizzie > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/eVyw2jO9z9AJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From eefb at st-andrews.ac.uk Thu Dec 20 12:34:22 2012 From: eefb at st-andrews.ac.uk (Lizzie) Date: Thu, 20 Dec 2012 04:34:22 -0800 Subject: Upper/Lower Case Message-ID: Hi All, I'm new to e-prime and am currently programming the first study for my PhD. I have managed to get everything working (eventually!) and have one final issue I wonder if anyone can help me with. In the task, two letters on the keyboard are assigned as 'correct' or 'incorrect' responses (z and m). Is there any way to set it so that responses are captured, whether caps lock is on or not? I ran a few pilot trials and in a couple, participants accidentally hit the caps lock button at some point, without realising, and therefore all of their responses from that point were not recorded (i.e. data output said they had not answered). I tried adding two 'correct response' columns (i.e. both Z and z) but this seemed to be make it so that a correct response has to include both buttons (Zz). Any help would be gratefully received! Thanks, Lizzie -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/3kJBKw_1k_YJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From eefb at st-andrews.ac.uk Thu Dec 20 21:16:14 2012 From: eefb at st-andrews.ac.uk (Lizzie) Date: Thu, 20 Dec 2012 13:16:14 -0800 Subject: Upper/Lower Case In-Reply-To: <50d33e23.c42e320a.73e2.ffff98a5SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Thank-you both for your help, that's brilliant. Happy Christmas! On Thursday, December 20, 2012 4:34:39 PM UTC, McFarlane, David wrote: > > Lizzie, > > I can confirm that JACanterbury's advice works. It seems that the > ACC scoring mechanism is case-insenstive, so for Correct an entry of > either "z" or "Z" will match a response of either "z" or "Z" (I don't > know that this is documented anywhere). I tested this with EP1.2 > (which I much prefer for exploratory exercises), I assume the same > holds for EP2. > > Of course, there is always the low-tech solution documented at > > http://groups.google.com/group/e-prime/browse_thread/thread/6ff76d4d7b9575f8 > three years ago: Just yank out the offending key, and if necessary, > back that up with a healthy dose of epoxy. No one needs a Caps Lock > key anyway, and spare/replacement keyboards are cheap if you ever do > need the Caps Lock. > > -- David McFarlane > > > At 12/20/2012 08:53 AM Thursday, JACanterbury wrote: > >on the slide's properties, on the duration/input tab, set the > >'duration' to infinite' and set 'allowable' to zZmM and the end > >action to Terminate > > > >On Thursday, December 20, 2012 12:34:22 PM UTC, Lizzie wrote: > >Hi All, > > > >I'm new to e-prime and am currently programming the first study for > >my PhD. I have managed to get everything working (eventually!) and > >have one final issue I wonder if anyone can help me with. > > > >In the task, two letters on the keyboard are assigned as 'correct' > >or 'incorrect' responses (z and m). Is there any way to set it so > >that responses are captured, whether caps lock is on or not? I ran a > >few pilot trials and in a couple, participants accidentally hit the > >caps lock button at some point, without realising, and therefore all > >of their responses from that point were not recorded (i.e. data > >output said they had not answered). > > > >I tried adding two 'correct response' columns (i.e. both Z and z) > >but this seemed to be make it so that a correct response has to > >include both buttons (Zz). > > > >Any help would be gratefully received! > > > >Thanks, > >Lizzie > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/Wxu-A6w66MYJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Dec 20 16:34:39 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 20 Dec 2012 11:34:39 -0500 Subject: Upper/Lower Case In-Reply-To: <8ee1bc7b-2780-48c4-b40a-37936e9e0495@googlegroups.com> Message-ID: Lizzie, I can confirm that JACanterbury's advice works. It seems that the ACC scoring mechanism is case-insenstive, so for Correct an entry of either "z" or "Z" will match a response of either "z" or "Z" (I don't know that this is documented anywhere). I tested this with EP1.2 (which I much prefer for exploratory exercises), I assume the same holds for EP2. Of course, there is always the low-tech solution documented at http://groups.google.com/group/e-prime/browse_thread/thread/6ff76d4d7b9575f8 three years ago: Just yank out the offending key, and if necessary, back that up with a healthy dose of epoxy. No one needs a Caps Lock key anyway, and spare/replacement keyboards are cheap if you ever do need the Caps Lock. -- David McFarlane At 12/20/2012 08:53 AM Thursday, JACanterbury wrote: >on the slide's properties, on the duration/input tab, set the >'duration' to infinite' and set 'allowable' to zZmM and the end >action to Terminate > >On Thursday, December 20, 2012 12:34:22 PM UTC, Lizzie wrote: >Hi All, > >I'm new to e-prime and am currently programming the first study for >my PhD. I have managed to get everything working (eventually!) and >have one final issue I wonder if anyone can help me with. > >In the task, two letters on the keyboard are assigned as 'correct' >or 'incorrect' responses (z and m). Is there any way to set it so >that responses are captured, whether caps lock is on or not? I ran a >few pilot trials and in a couple, participants accidentally hit the >caps lock button at some point, without realising, and therefore all >of their responses from that point were not recorded (i.e. data >output said they had not answered). > >I tried adding two 'correct response' columns (i.e. both Z and z) >but this seemed to be make it so that a correct response has to >include both buttons (Zz). > >Any help would be gratefully received! > >Thanks, >Lizzie -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From psikoticsilver at gmail.com Wed Dec 26 23:52:46 2012 From: psikoticsilver at gmail.com (sam) Date: Wed, 26 Dec 2012 15:52:46 -0800 Subject: Variables referring into functions/subs In-Reply-To: <9d81d32f-6750-46e8-a581-4162971ca7a5@googlegroups.com> Message-ID: I can't seem to edit.... I had an oopsie in there. I meant to write: "but it's a great way *to demonstrate what I am aiming for.* In this example," -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/6adS4-aWcR4J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From psikoticsilver at gmail.com Wed Dec 26 23:40:03 2012 From: psikoticsilver at gmail.com (sam) Date: Wed, 26 Dec 2012 15:40:03 -0800 Subject: Variables referring into functions/subs Message-ID: Hello! I'm working on some experiments for the lab in which I work. I've run into some problems in the coding side, and I hoped I could find some help here. I'm having some problems with variables. I'll make up an example, where I'm attempting to pass a string into a function. I want to use the contents of this string as a the name of any canvas I choose, so I can clear any canvas by sending it's name into this subroutine. ***** 'userscript dim canvas as slide Sub clearcanvas(namecnvs as string) Set namecnvs = Display.Canvas namecnvs.FillColor = CColor("white") namecnvs.TextColor = CColor("black") namecnvs.Clear end sub 'inline Set cnvs = Display.Canvas cnvs.text Display.XRes, Display.YRes, "Hello, World!" sleep(500) Call clearcanvas("cnvs") cnvs.text Display.XRes, Display.YRes, "Hello, Sam!" sleep(500) ***** Now obviously, I can't use "cnvs" like that, but it's a great way In this example, what I want to do is use the contents of the string namecnvs to represent the name of any canvas I desire, but I don't know how. When using namecnvs as is, e-prime would treat it as another slide. I can't find anything in e-prime that would allow me to either identify something as a variable (like a $ in bash) or use it's contents dynamically. I can do this in bash and matlab, and in C, but I can't figure out how to do this in E-Prime. I could do some really neat things (I find scripting to be neat) if I could just nail this issue. Thank you for your time, and happy holidays! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/GXs9qO4suS0J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Dec 27 16:32:55 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 27 Dec 2012 11:32:55 -0500 Subject: Variables referring into functions/subs In-Reply-To: <9d81d32f-6750-46e8-a581-4162971ca7a5@googlegroups.com> Message-ID: Not sure I quite follow this, but why not just pass the variable of interest directly instead of merely passing its name as a String? (I might also ask why you resort to using Canvas this way in the first place, but that is another issue.) Using your example, In global User Script: Sub CanvasInit( cnvs as Canvas ) cnvs.FillColor = CColor("white") cnvs.TextColor = CColor("black") cnvs.Clear End Sub ' CanvasInit() In InLine: Set cnvs = Display.Canvas cnvs.Text Display.XRes, Display.YRes, "Hello, World!" Sleep(500) CanvasInit cnvs cnvs.text Display.XRes, Display.YRes, "Hello, Sam!" sleep(500) Note the lack of parentheses around the argument in the call to CanvasInit -- unlike rational programming languages like C or MATLAB, in E-Basic/VBA arguments to Functions *must* be enclosed in parantheses, while arguments to Subroutines must *not* be enclosed in parantheses. (Rational programming languages also make no hard distinction between functions & subroutines, but again, that is another matter.) ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours, so make full use of it. 3) In addition, PST offers several instructional videos on their YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 12/26/2012 06:40 PM Wednesday, sam wrote: >Hello! I'm working on some experiments for the lab in which I >work. I've run into some problems in the coding side, and I hoped I >could find some help here. > >I'm having some problems with variables. I'll make up an example, >where I'm attempting to pass a string into a function. I want to >use the contents of this string as a the name of any canvas I >choose, so I can clear any canvas by sending it's name into this subroutine. > >***** > >'userscript >dim canvas as slide > >Sub clearcanvas(namecnvs as string) > Set namecnvs = Display.Canvas > namecnvs.FillColor = CColor("white") > namecnvs.TextColor = CColor("black") > namecnvs.Clear >end sub > > >'inline >Set cnvs = Display.Canvas >cnvs.text Display.XRes, Display.YRes, "Hello, World!" > >sleep(500) >Call clearcanvas("cnvs") > >cnvs.text Display.XRes, Display.YRes, "Hello, Sam!" >sleep(500) > >***** > >Now obviously, I can't use "cnvs" like that, but it's a great way In >this example, what I want to do is use the contents of the string >namecnvs to represent the name of any canvas I desire, but I don't >know how. When using namecnvs as is, e-prime would treat it as >another slide. I can't find anything in e-prime that would allow me >to either identify something as a variable (like a $ in bash) or use >it's contents dynamically. I can do this in bash and matlab, and in >C, but I can't figure out how to do this in E-Prime. I could do >some really neat things (I find scripting to be neat) if I could >just nail this issue. > >Thank you for your time, and happy holidays! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. From psikoticsilver at gmail.com Fri Dec 28 23:52:08 2012 From: psikoticsilver at gmail.com (sam) Date: Fri, 28 Dec 2012 15:52:08 -0800 Subject: Variables referring into functions/subs In-Reply-To: <50dc783f.8768320a.76c9.fffff925SMTPIN_ADDED_MISSING@gmr-mx.google.com> Message-ID: Basically, the reason I want to pass a string into the function is that it allows me to clear any canvas I please at any time, simply by passing it's name into the function as a string. I then want to use the contents of this string in place of a variable (in this case the canvas object) name. I do not know if this is even possible in e-basic. Canvas creation/clearing is not the only way I could benefit from this. I plan on using similar principles to draw images, load/play sounds, preload stimuli during wait times, and many other things. I'm not using slides and so forth as I'm working on fMRI experiments where every ms is critical. I only want to run what is necessary, and using one function to work on many processes will allow me to reduce the footprint of this program. ...plus I just find this fun. I'm prepared to fall back on a more basic method, but I would much prefer some clever coding. :) About the parentheses, I've not had any success in e-prime 2.0.10 using that syntax. It seems to require me to use parentheses or I encounter a compiling error. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/OJ5cPSJF-6IJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: