From ash2003raff at yahoo.com Thu Apr 1 09:11:08 2010 From: ash2003raff at yahoo.com (ashraf) Date: Thu, 1 Apr 2010 02:11:08 -0700 Subject: stimulus location In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF03088CA0@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: on a 38-cm computer screen placed 60 cm away from the subjects.. The task display consisted of a circle (2.6º radius) of six letters centered at fixation, plus a peripheral distractor letter, presented to the left or right of the circle,º 4 away from fixation.. Each of the circle letters subtended 1.5º by º1.1 , and the distractor letter subtended º1.8by º1.4. circle contained one target, and subjects were instructed to indicate which of the target letters was present in the circle by pressing either the ‘‘0’’ or the ‘‘2’’ key on the numerical pad of the computer as quickly as possible .Is this radius is suitable from the perspective of visual acuity On 31 مارس, 12:06, Michiel Spape wrote: > Hi, > Okay, so the question is whether one would be able to read a 2.5 degrees letter that is placed 2.5 degrees from fixation? So, unless my calculations are horribly off, that is 2.19 cm (about an inch, for imperial readers) given a distance to the screen of about 50 cm, right (quite possibly wrong)? If I got this right, anyway, and given that you use such a large letter, I see no reason why someone wouldn't be able to read it, as long as the letter in question is Latin or a similar simple script. > > Here's the relevant part of the user guide (p A-34), for those wondering: > "The location of the stimulus can have a powerful effect on both RT and error rates.  Visual acuity > drops quickly as stimuli are moved away from the fovea—the narrow area of vision straight ahead > that is about 2° wide.  A person with 20/20 vision in the fovea will typically have about 20/80 > vision 2.5° from straight-ahead.  At 10° from straight ahead most people have worse than 20/300 > vision.  To put this in perspective, at a viewing distance of 57 cm (22.5”), each centimeter is about > 1° of visual angle, so a letter displayed 2.5 cm (about 1”) from fixation will be seen quite poorly." > > ... but that depends rather on the size of the letter - whether it is 'seen' quite poorly. Furthermore, there's plenty of paradigms where seeing things quite poorly is exactly what you'd want (subliminal or near-subliminal priming, for instance) and in other cases, eye-movements are permitted (visual search, usually). What's the paradigm you're working on? > Best, > Mich (not natively from Notts) > > Michiel Spapé > Research Fellow > Perception & Action group > University of Nottingham > School of Psychology > > > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of ashraf > Sent: 30 March 2010 23:58 > To: E-Prime > Subject: Re: stimulus location > > I'm sorry, I'm not a native English speaker , my first Arab. > My question is about the suitable radius of a circle of letters to be > seen very well from the perspective of visual acuity. > > On 30 ãÇÑÓ, 18:07, Michiel Spape > wrote: > > Sorry, I missed a line in there! > > > "visual angle from fixation will seen Quit poorly,Is this mean ,that" > > > Though it didn't really affect the conclusion. > > > Michiel Spapé > > Research Fellow > > Perception & Action group > > University of Nottingham > > School of Psychology > > > -----Original Message----- > > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Michiel Spape > > Sent: 30 March 2010 16:47 > > To: e-prime at googlegroups.com > > Subject: RE: stimulus location > > > Your inline would work better if you correct the syntax: > > > Hi group, > > I read in the e-prime user guide, in appendix B on page 34 - considering the stimulus location - that displaying a circle at a visual angle of 2.5 degrees from a central fixation letter, its radius must be greater than 2.5 degrees. Otherwise, it will not be suitably large enough to study attention. > > > ...but I might be completely wrong in thinking this is what you're saying. If, however, it is, the answer is, as Jens says, no. To expand on that, it makes little sense from a psychological point of view. Since I find it unlikely you were asking this, however, I'll not go much farther than Jens and will merely ask you, again, to take a course in English and/or (presumably and) install a spelling check on your system. My apologies if this sounds pedantic, I'm not being a spelling-nazi, it's just that your wording can only be understood by someone with para-semantic skills > > Best, > > Mich > > > Michiel Spapé > > Research Fellow > > Perception & Action group > > University of Nottingham > > School of Psychology > > > -----Original Message----- > > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of ashraf > > Sent: 30 March 2010 04:27 > > To: E-Prime > > Subject: stimulus location > > >  ,hi groub,I red > >    in e-prime user Guide In appendix B,consideration in research > > about   Stimulus Location P.34 that ,a letter displayed 2.5 degrees of > > visual angle from fixation will seen Quit poorly,Is this mean ,that > > any circle of stimilus in e-prime,its radius greater than2.5  degrees > > of visual angle will not be suitable to study attention > > > -- > > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > > This message has been checked for viruses but the contents of an attachment > > may still contain software viruses which could damage your computer system: > > you are advised to perform your own checks. Email communications with the > > University of Nottingham may be monitored as permitted by UK legislation. > > > -- > > 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 this group athttp://groups.google.com/group/e-prime?hl=en.-ÅÎÝÇÁ ÇáäÕ ÇáãÞÊÈÓ - > > > - ÚÑÖ ÇáäÕ ÇáãÞÊÈÓ - > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en.- إخفاء النص المقتبس - > > - عرض النص المقتبس - -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From jens.bernhardsson at gmail.com Thu Apr 1 09:36:12 2010 From: jens.bernhardsson at gmail.com (jens) Date: Thu, 1 Apr 2010 02:36:12 -0700 Subject: Trouble playing sound files In-Reply-To: <34d2d398-6baa-499e-96ce-ca1fd0680a96@x12g2000yqx.googlegroups.com> Message-ID: Hello The sound files are all in .wav file format? They are placed in the same folder as the experiment? /Jens On 31 mar, 21:02, Hannah Witherstone wrote: > I am very new to E-Prime so please bare with me! > > I have run through the 'getting started' manual and all of the > tutorials within.  I have successfully completed Tutorial 2 which > pairs the sound files 'Bob' and 'Linda' with images. > > I need to create my own experiment which pairs a static image with a > sentence (will more than likely be recorded in .mp3 format), to which > the participant has to press the space bar when they hear a key word > within the sentence.  I need the reaction time (in ms) to this target > word. > > For some reason I cannot get E-Prime to run my own sound files.  I can > make my own experiment and use the Bob and Linda .wav files provided > with E-Prime, but when I try and substitute these file names for > anything else the experiment crashes.  I get varying error messages, > all relating to the script line:  "Slide1_SoundBuffer.Load".  The most > common error message is: > > Run-time Error (Line 263) > 18005: Cannot load sound file "hello.wav" > Mismatched or invalid block alignment > > I *think* this is due to the sound file format set-up in the > Experiment Object Properties (where you can select channels, samples > and bits per sample).  I have tried every possible combination in this > section and still cannot get my files to play.  This is the case when > I use various .mp3, .wma and .wav formats.  I can play all of the > files fine through my laptop, so I know the sound files are OK. > > Any help would be much appreciated as the manual is of no use! > > Hannah -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From h.witherstone at googlemail.com Thu Apr 1 09:43:42 2010 From: h.witherstone at googlemail.com (Hannah Witherstone) Date: Thu, 1 Apr 2010 02:43:42 -0700 Subject: Trouble playing sound files In-Reply-To: Message-ID: Thanks for the reply. I have tried .wav, as well as .mp3 which is my preferred format. Yes, all the sound files are in the same folder as the experiment. Hannah On Apr 1, 10:36 am, jens wrote: > Hello > > The sound files are all in .wav file format? > They are placed in the same folder as the experiment? > > /Jens > > On 31 mar, 21:02, Hannah Witherstone > wrote: > > > I am very new to E-Prime so please bare with me! > > > I have run through the 'getting started' manual and all of the > > tutorials within.  I have successfully completed Tutorial 2 which > > pairs the sound files 'Bob' and 'Linda' with images. > > > I need to create my own experiment which pairs a static image with a > > sentence (will more than likely be recorded in .mp3 format), to which > > the participant has to press the space bar when they hear a key word > > within the sentence.  I need the reaction time (in ms) to this target > > word. > > > For some reason I cannot get E-Prime to run my own sound files.  I can > > make my own experiment and use the Bob and Linda .wav files provided > > with E-Prime, but when I try and substitute these file names for > > anything else the experiment crashes.  I get varying error messages, > > all relating to the script line:  "Slide1_SoundBuffer.Load".  The most > > common error message is: > > > Run-time Error (Line 263) > > 18005: Cannot load sound file "hello.wav" > > Mismatched or invalid block alignment > > > I *think* this is due to the sound file format set-up in the > > Experiment Object Properties (where you can select channels, samples > > and bits per sample).  I have tried every possible combination in this > > section and still cannot get my files to play.  This is the case when > > I use various .mp3, .wma and .wav formats.  I can play all of the > > files fine through my laptop, so I know the sound files are OK. > > > Any help would be much appreciated as the manual is of no use! > > > Hannah -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Michiel.Spape at nottingham.ac.uk Thu Apr 1 10:13:00 2010 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Thu, 1 Apr 2010 11:13:00 +0100 Subject: Trouble playing sound files In-Reply-To: <34d2d398-6baa-499e-96ce-ca1fd0680a96@x12g2000yqx.googlegroups.com> Message-ID: Hi, There's no need to 'try every combination'. Go to Windows Explorer, look up your audio file, right click, properties, and see summary. At least, if you use windows XP, you see everything of interest there: sample rate (22 kHz or 44.1 kHz), Channels (1 or 2). Your audio file is most likely to be the problem, especially if it has a funky sample-rate (24 bit for instance), or sample-rate (say 48 kHz for instance, if you took it from a DVD), or number of channels (if it'd be surround sound). So, first, what you need to do is edit your sound files using a decent editor, such as CoolEdit (my preferred one), nowadays called Adobe Audition (the bloat-ware adobe version) - you can find free trials on the web. Audacity is also okay, though not always very stable. Anyway, make sure you save it as windows PCM wave format (.wav), and notice the sample-rat and bitrate. Convert the files to a format any piece of software will understand: 44.1 Khz, 16 bit, stereo (cd quality - you might try something lower for timing, but lossy sound isn't brilliant either). E-Prime will only work with wave files, forget about all other formats (unless you work at the frauenhofer institut). After that, start E-Prime, make an empty experiment and start with a single soundout object. Copy the file you made earlier in your experiment folder, browse to this file in the soundout filename property. Lastly, make sure the maxlength is greater than the number of milliseconds of your longest sample. There's a detailed explanation on audio samples in e-prime and beyond in the infamous http://www.cognitology.eu/pubs/AnE-Primer2009.pdf Let me know if this helped any! Mich Michiel Spapé Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Hannah Witherstone Sent: 31 March 2010 20:02 To: E-Prime Subject: Trouble playing sound files I am very new to E-Prime so please bare with me! I have run through the 'getting started' manual and all of the tutorials within. I have successfully completed Tutorial 2 which pairs the sound files 'Bob' and 'Linda' with images. I need to create my own experiment which pairs a static image with a sentence (will more than likely be recorded in .mp3 format), to which the participant has to press the space bar when they hear a key word within the sentence. I need the reaction time (in ms) to this target word. For some reason I cannot get E-Prime to run my own sound files. I can make my own experiment and use the Bob and Linda .wav files provided with E-Prime, but when I try and substitute these file names for anything else the experiment crashes. I get varying error messages, all relating to the script line: "Slide1_SoundBuffer.Load". The most common error message is: Run-time Error (Line 263) 18005: Cannot load sound file "hello.wav" Mismatched or invalid block alignment I *think* this is due to the sound file format set-up in the Experiment Object Properties (where you can select channels, samples and bits per sample). I have tried every possible combination in this section and still cannot get my files to play. This is the case when I use various .mp3, .wma and .wav formats. I can play all of the files fine through my laptop, so I know the sound files are OK. Any help would be much appreciated as the manual is of no use! Hannah -- 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 this group at http://groups.google.com/group/e-prime?hl=en. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From jens.bernhardsson at gmail.com Thu Apr 1 12:21:20 2010 From: jens.bernhardsson at gmail.com (jens) Date: Thu, 1 Apr 2010 05:21:20 -0700 Subject: stimulus location In-Reply-To: <853e5cf3-5aa5-4234-a0ca-a8e7f9993a97@30g2000yqi.googlegroups.com> Message-ID: http://www.tedmontgomery.com/the_eye/acuity.html Do the math /Jens On 1 Apr, 11:11, ashraf wrote: > on a 38-cm computer screen placed 60 cm away from the > subjects.. The task display consisted of > a circle (2.6º radius) of six letters centered at fixation, plus a > peripheral distractor letter, presented to the left or right of the > circle,º 4 away from fixation.. Each of the > circle letters subtended 1.5º by º1.1 , and the distractor letter > subtended º1.8by º1.4. > circle contained one target, and subjects were instructed to indicate > which of the target letters was present in the circle by > pressing either the ‘‘0’’ or the ‘‘2’’ key on the numerical pad of the > computer as quickly as possible .Is this radius is suitable from the > perspective of visual acuity > > On 31 مارس, 12:06, Michiel Spape > wrote: > > > Hi, > > Okay, so the question is whether one would be able to read a 2.5 degrees letter that is placed 2.5 degrees from fixation? So, unless my calculations are horribly off, that is 2.19 cm (about an inch, for imperial readers) given a distance to the screen of about 50 cm, right (quite possibly wrong)? If I got this right, anyway, and given that you use such a large letter, I see no reason why someone wouldn't be able to read it, as long as the letter in question is Latin or a similar simple script. > > > Here's the relevant part of the user guide (p A-34), for those wondering: > > "The location of the stimulus can have a powerful effect on both RT and error rates.  Visual acuity > > drops quickly as stimuli are moved away from the fovea—the narrow area of vision straight ahead > > that is about 2° wide.  A person with 20/20 vision in the fovea will typically have about 20/80 > > vision 2.5° from straight-ahead.  At 10° from straight ahead most people have worse than 20/300 > > vision.  To put this in perspective, at a viewing distance of 57 cm (22.5”), each centimeter is about > > 1° of visual angle, so a letter displayed 2.5 cm (about 1”) from fixation will be seen quite poorly." > > > ... but that depends rather on the size of the letter - whether it is 'seen' quite poorly. Furthermore, there's plenty of paradigms where seeing things quite poorly is exactly what you'd want (subliminal or near-subliminal priming, for instance) and in other cases, eye-movements are permitted (visual search, usually). What's the paradigm you're working on? > > Best, > > Mich (not natively from Notts) > > > Michiel Spapé > > Research Fellow > > Perception & Action group > > University of Nottingham > > School of Psychology > > > -----Original Message----- > > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of ashraf > > Sent: 30 March 2010 23:58 > > To: E-Prime > > Subject: Re: stimulus location > > > I'm sorry, I'm not a native English speaker , my first Arab. > > My question is about the suitable radius of a circle of letters to be > > seen very well from the perspective of visual acuity. > > > On 30 ãÇÑÓ, 18:07, Michiel Spape > > wrote: > > > Sorry, I missed a line in there! > > > > "visual angle from fixation will seen Quit poorly,Is this mean ,that" > > > > Though it didn't really affect the conclusion. > > > > Michiel Spapé > > > Research Fellow > > > Perception & Action group > > > University of Nottingham > > > School of Psychology > > > > -----Original Message----- > > > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Michiel Spape > > > Sent: 30 March 2010 16:47 > > > To: e-prime at googlegroups.com > > > Subject: RE: stimulus location > > > > Your inline would work better if you correct the syntax: > > > > Hi group, > > > I read in the e-prime user guide, in appendix B on page 34 - considering the stimulus location - that displaying a circle at a visual angle of 2.5 degrees from a central fixation letter, its radius must be greater than 2.5 degrees. Otherwise, it will not be suitably large enough to study attention. > > > > ...but I might be completely wrong in thinking this is what you're saying. If, however, it is, the answer is, as Jens says, no. To expand on that, it makes little sense from a psychological point of view. Since I find it unlikely you were asking this, however, I'll not go much farther than Jens and will merely ask you, again, to take a course in English and/or (presumably and) install a spelling check on your system. My apologies if this sounds pedantic, I'm not being a spelling-nazi, it's just that your wording can only be understood by someone with para-semantic skills > > > Best, > > > Mich > > > > Michiel Spapé > > > Research Fellow > > > Perception & Action group > > > University of Nottingham > > > School of Psychology > > > > -----Original Message----- > > > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of ashraf > > > Sent: 30 March 2010 04:27 > > > To: E-Prime > > > Subject: stimulus location > > > >  ,hi groub,I red > > >    in e-prime user Guide In appendix B,consideration in research > > > about   Stimulus Location P.34 that ,a letter displayed 2.5 degrees of > > > visual angle from fixation will seen Quit poorly,Is this mean ,that > > > any circle of stimilus in e-prime,its radius greater than2.5  degrees > > > of visual angle will not be suitable to study attention > > > > -- > > > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > > > This message has been checked for viruses but the contents of an attachment > > > may still contain software viruses which could damage your computer system: > > > you are advised to perform your own checks. Email communications with the > > > University of Nottingham may be monitored as permitted by UK legislation. > > > > -- > > > 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 this group athttp://groups.google.com/group/e-prime?hl=en.-ÅÎÝÇÁ ÇáäÕ ÇáãÞÊÈÓ - > > > > - ÚÑÖ ÇáäÕ ÇáãÞÊÈÓ - > > > -- > > 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 this group athttp://groups.google.com/group/e-prime?hl=en.-إخفاء النص المقتبس - > > > - عرض النص المقتبس - -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Thu Apr 1 13:57:17 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 1 Apr 2010 09:57:17 -0400 Subject: Trouble playing sound files In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF03115EB6@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: Hannah, thanks for first going through the manual and making sure that at least the sound tutorial works, that is always the first step. As one of my longstanding troubleshooting mottoes goes, "Better to start from success than from failure." Now just a slight correction, Michiel Spape wrote: > E-Prime will only work with wave files, forget about all other > formats However, EP2 can use .mp3 and .wma sound files. Mich, for good cause, probably here refers to good old EP1, which indeed is limited to standard .wav files. Aside from that, I would follow Michiel's suggestions in full. You might also take this to PST's trained staff at http://support.pstnet.com/e%2Dprime/support/login.asp -- they strive to respond to all requests in 24-48 hours, and this is pretty much their substitute for proper documentation, so make full use of it. -- David McFarlane, Professional Faultfinder -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Michiel.Spape at nottingham.ac.uk Thu Apr 1 15:39:58 2010 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Thu, 1 Apr 2010 16:39:58 +0100 Subject: Trouble playing sound files In-Reply-To: <4BB4A63D.1030402@msu.edu> Message-ID: Hi David and Hannah, 'Hannah, thanks for first going through the manual and making sure that at least the sound tutorial works, that is always the first step. As one of my longstanding troubleshooting mottoes goes, "Better to start from success than from failure." Now just a slight correction, Michiel Spape wrote: > E-Prime will only work with wave files, forget about all other > formats However, EP2 can use .mp3 and .wma sound files. Mich, for good cause, probably here refers to good old EP1, which indeed is limited to standard .wav files.' It can? Blimey :) I would, however, be careful using these two standards for two reasons: 1. Due to both being compressed formats, I'd not be immediately sure whether their timing is handled properly by E-Prime 2. Actually, I've never been sure on that front by E-Prime 1 and .wav files (I've heard a number of audible plops related to cutting of files or buffering issues when I used 50 ms pre-buffered wav files with 10 ms fade-ins and outs). Nevertheless, professional audio software tends to convert such files into .wav (or .au, if you're on a mac) formats, presumably for related reasons (can't be too sure on that though). 2. Due to .wma and .mp3 being lossy formats, you will cope with degraded quality, never mind that (at higher bitrates) it may be only psycho-acoustically subliminally so. I tend to think that if you want scientific stimuli, you will always go for optimal stimuli; by their definition, lossy formats are not. But perhaps, this is just a tech-geek way of thinking, in the same way that I really like big CRT screens running at 200 Hz! Have a nice Easter, everyone! Cheers, Mich This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From h.witherstone at googlemail.com Sat Apr 3 17:51:01 2010 From: h.witherstone at googlemail.com (Hannah Witherstone) Date: Sat, 3 Apr 2010 10:51:01 -0700 Subject: Trouble playing sound files In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF03116044@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: You are all absolute Saints! All sorted: I had to convert to .wav using Audacity and change the sample rates in there - all files playing fine now. Thank you, Hannah On Apr 1, 4:39 pm, Michiel Spape wrote: > Hi David and Hannah, > > 'Hannah, thanks for first going through the manual and making sure that > at least the sound tutorial works, that is always the first step.  As > one of my longstanding troubleshooting mottoes goes, "Better to start > from success than from failure." > > Now just a slight correction, Michiel Spape wrote: > > > E-Prime will only work with wave files, forget about all other > > formats > > However, EP2 can use .mp3 and .wma sound files.  Mich, for good cause, > probably here refers to good old EP1, which indeed is limited to > standard .wav files.' > > It can? Blimey :) I would, however, be careful using these two standards > for two reasons: > 1. Due to both being compressed formats, I'd not be immediately sure > whether their timing is handled properly by E-Prime 2. Actually, I've > never been sure on that front by E-Prime 1 and .wav files (I've heard a > number of audible plops related to cutting of files or buffering issues > when I used 50 ms pre-buffered wav files with 10 ms fade-ins and outs). > Nevertheless, professional audio software tends to convert such files > into .wav (or .au, if you're on a mac) formats, presumably for related > reasons (can't be too sure on that though). > 2. Due to .wma and .mp3 being lossy formats, you will cope with degraded > quality, never mind that (at higher bitrates) it may be only > psycho-acoustically subliminally so. I tend to think that if you want > scientific stimuli, you will always go for optimal stimuli; by their > definition, lossy formats are not. But perhaps, this is just a tech-geek > way of thinking, in the same way that I really like big CRT screens > running at 200 Hz! > > Have a nice Easter, everyone! > Cheers, > Mich > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From carlynlds at gmail.com Tue Apr 6 22:03:07 2010 From: carlynlds at gmail.com (Carlyn Friedberg) Date: Tue, 6 Apr 2010 18:03:07 -0400 Subject: way for posts to be taken off the internet? Message-ID: Hi, Is there a way that my posts to this group can be taken off the internet? thank you, Carlyn -- Carlyn Friedberg Laboratory for Developmental Studies Harvard University carlyn at wjh.harvard.edu 617.384.8357 -- 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 this group at http://groups.google.com/group/e-prime?hl=en. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tiburona at gmail.com Wed Apr 7 23:45:04 2010 From: tiburona at gmail.com (tiburona) Date: Wed, 7 Apr 2010 16:45:04 -0700 Subject: user button press In-Reply-To: Message-ID: p.s. I would be overjoyed if someone could tell me how to do what I'm after without resorting to InLine, but I get the feeling that's not possible. On Apr 7, 6:41 pm, tiburona wrote: > Hi all, > > My ultimate goal is to present words on a page for the participant to > respond to, either via image or text, collect text input from > participants that they see on screen in an EchoClient, and > simultaneously display a "Next" button that participants can use to > advance to the next portion of the experiment when they are done > typing. I've managed the first two elements fine, but getting E Prime > to terminate a screen in response to a button press is eluding me. I > am new to E-Prime and near-hopeless with E-Basic (even though I have a > little programming experience). I will probably eventually resort to > some subobtimal solution, like using the tab key to advance to the > next screen, because I'm skeptical I'll be able to get this running, > but I thought I would try an initial query to the group. > > As a preliminary test, I set up a slide object (Slide2) with two > images (Image1 and Image2) on it. > > I based this code on sample code from PST: > > __________________________________________________ > > Dim theState as SlideState > Set theState = Slide2.States("Default") > > Dim strHit As String > Dim theMouseResponseData As MouseResponseData > > If Slide2.InputMasks.Responses.Count > 0 Then > > Set theMouseResponseData = > CMouseResponseData(Slide2.InputMasks.Responses(1)) > > strHit = theState.HitTest(theMouseResponseData.CursorX, > theMouseResponseData.CursorY) > > If strHit = "Image1" Then > Slide2.Stop > > End If > > Do Until (strHit = "Image1") > > Loop > > End If > > _____________________________________________________________ > > I tried placing it before and after the slide object in a Procedure, > but it didn't work either way (still not sure which is right). I was > wondering if someone could help me understand why. I'm trying to > build up to what I'm actually attempting from smaller bits. I have > found other sample code related to what I'm trying to do (for > instance, here:http://www.pstnet.com/forum/Topic4009-23-1.aspx?Highlight=HitTest) > but when I try to modify it it doesn't work either, so I figure maybe > if I start with a very simple unit I'd have a chance of building up > some understanding. > > Thanks very much, > Katie -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From tiburona at gmail.com Wed Apr 7 23:41:49 2010 From: tiburona at gmail.com (tiburona) Date: Wed, 7 Apr 2010 16:41:49 -0700 Subject: user button press Message-ID: Hi all, My ultimate goal is to present words on a page for the participant to respond to, either via image or text, collect text input from participants that they see on screen in an EchoClient, and simultaneously display a "Next" button that participants can use to advance to the next portion of the experiment when they are done typing. I've managed the first two elements fine, but getting E Prime to terminate a screen in response to a button press is eluding me. I am new to E-Prime and near-hopeless with E-Basic (even though I have a little programming experience). I will probably eventually resort to some subobtimal solution, like using the tab key to advance to the next screen, because I'm skeptical I'll be able to get this running, but I thought I would try an initial query to the group. As a preliminary test, I set up a slide object (Slide2) with two images (Image1 and Image2) on it. I based this code on sample code from PST: __________________________________________________ Dim theState as SlideState Set theState = Slide2.States("Default") Dim strHit As String Dim theMouseResponseData As MouseResponseData If Slide2.InputMasks.Responses.Count > 0 Then Set theMouseResponseData = CMouseResponseData(Slide2.InputMasks.Responses(1)) strHit = theState.HitTest(theMouseResponseData.CursorX, theMouseResponseData.CursorY) If strHit = "Image1" Then Slide2.Stop End If Do Until (strHit = "Image1") Loop End If _____________________________________________________________ I tried placing it before and after the slide object in a Procedure, but it didn't work either way (still not sure which is right). I was wondering if someone could help me understand why. I'm trying to build up to what I'm actually attempting from smaller bits. I have found other sample code related to what I'm trying to do (for instance, here: http://www.pstnet.com/forum/Topic4009-23-1.aspx?Highlight=HitTest) but when I try to modify it it doesn't work either, so I figure maybe if I start with a very simple unit I'd have a chance of building up some understanding. Thanks very much, Katie -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From tiburona at gmail.com Thu Apr 8 01:23:40 2010 From: tiburona at gmail.com (tiburona) Date: Wed, 7 Apr 2010 18:23:40 -0700 Subject: user button press In-Reply-To: <6808abd6-a301-49c1-b7fa-ef591d86b554@e7g2000yqf.googlegroups.com> Message-ID: Actually, reading this: http://groups.google.com/group/e-prime/browse_thread/thread/ab5a034086d67659 made me realize I could perhaps pull the same trick, and put two slides up in sequence, the first with 0 duration and infinite time limit that would take the mouse click and then jump to a label after both slides, the second with infinite duration and infinite time limit that would have the image with my sentence and the EchoClient that would allow the participant to time the response. in fact, maybe this layering isn't even necessary. Maybe I can have my keyboard EchoClient and my mouse button on the same SlideObject, and just set the "Allowable" response on the mouse to the "next button" Slide SubObject, and then choose terminate as the response. I'm only writing this so I can spare anyone helpful enough to answer me the trouble of outlining these elements of a solution in their response. (Incidentally, so far I am not having luck with the first method because I can't figure out how to refer to my image file in the "Allowable" box on the properties of the Mouse Input Mask. I tried imitating another E Studio experiment someone else in my lab did, and calling it [Target1] and then putting a Target1 attribute in the--I don't know the terminology here--parent list (?) for the procedure but it's giving me one of those "-999: Factor Error: Filename contains an invalid attribute"s.) On Apr 7, 6:45 pm, tiburona wrote: > p.s. I would be overjoyed if someone could tell me how to do what I'm > after without resorting to InLine, but I get the feeling that's not > possible. > > On Apr 7, 6:41 pm, tiburona wrote: > > > Hi all, > > > My ultimate goal is to present words on a page for the participant to > > respond to, either via image or text, collect text input from > > participants that they see on screen in an EchoClient, and > > simultaneously display a "Next" button that participants can use to > > advance to the next portion of the experiment when they are done > > typing. I've managed the first two elements fine, but getting E Prime > > to terminate a screen in response to a button press is eluding me. I > > am new to E-Prime and near-hopeless with E-Basic (even though I have a > > little programming experience). I will probably eventually resort to > > some subobtimal solution, like using the tab key to advance to the > > next screen, because I'm skeptical I'll be able to get this running, > > but I thought I would try an initial query to the group. > > > As a preliminary test, I set up a slide object (Slide2) with two > > images (Image1 and Image2) on it. > > > I based this code on sample code from PST: > > > __________________________________________________ > > > Dim theState as SlideState > > Set theState = Slide2.States("Default") > > > Dim strHit As String > > Dim theMouseResponseData As MouseResponseData > > > If Slide2.InputMasks.Responses.Count > 0 Then > > > Set theMouseResponseData = > > CMouseResponseData(Slide2.InputMasks.Responses(1)) > > > strHit = theState.HitTest(theMouseResponseData.CursorX, > > theMouseResponseData.CursorY) > > > If strHit = "Image1" Then > > Slide2.Stop > > > End If > > > Do Until (strHit = "Image1") > > > Loop > > > End If > > > _____________________________________________________________ > > > I tried placing it before and after the slide object in a Procedure, > > but it didn't work either way (still not sure which is right). I was > > wondering if someone could help me understand why. I'm trying to > > build up to what I'm actually attempting from smaller bits. I have > > found other sample code related to what I'm trying to do (for > > instance, here:http://www.pstnet.com/forum/Topic4009-23-1.aspx?Highlight=HitTest) > > but when I try to modify it it doesn't work either, so I figure maybe > > if I start with a very simple unit I'd have a chance of building up > > some understanding. > > > Thanks very much, > > Katie -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From neurodrum at gmail.com Thu Apr 8 16:12:27 2010 From: neurodrum at gmail.com (andrew hill) Date: Thu, 8 Apr 2010 09:12:27 -0700 Subject: response event to writeport oddities Message-ID: hi folks, any chance this makes sense to someone? i've been pulling my hair out metaphorically for a bit on this. i've got a trial procedure that mimics a typical CPT, e.g. an ImageDisplay that shows either a distractor or a target for 50ms, and then a fixation slide for most of the trial. in more detail: TrialProc: ---------------------- InLineStimMarker InLineResponse ImageDisplay (shows a stimulus requiring response or a distractor requiring nonresponse) InLineFixDuration (Fixation.Duration = random(950,1450) Fixation The InLineStimMarker does a : WritePort &H378, 0 ImageDisplay.OnsetSignalEnabled = True ImageDisplay.OffsetSignalEnabled = True ImageDisplay.OnsetSignalPort = &H378 ImageDisplay.OffSignalPort = &H378 and then a bunch of loops looking up a c.GetAttrib to figure out what the current stimulus type is, and set OnsetSignalData to a numerical value. this works great - sending in the codes as appropriate to BioSemi ActiveTwo, at the onset of each stimulus. the problem is with InLineResponse, which I've tried putting various places, and tried various code. what I want to do is look up the response accuracy, and put it in the EEG record at the time of the response. of course, since this is a CPT, most of the trials don't have a response, which is ok. the ones that do require pushing a keyboard button, and i'd like to code a 100/200 response accuracy into the EEG record when that button is pushed, but i'm not having any luck at all. i've tried something like this: If ImageDisplay.ACC = "1" Then Writeport &H378, 100 else Writeport &H378, 200 end if but that just puts the 100/200 codes at the time of stimulus image, and not at/during the response. any suggestions? thanks, andrew -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Michiel.Spape at nottingham.ac.uk Thu Apr 8 16:40:01 2010 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Thu, 8 Apr 2010 17:40:01 +0100 Subject: response event to writeport oddities In-Reply-To: <0363EBF1-0874-45CB-AEB3-38F52D4EEBEC@gmail.com> Message-ID: Hi, Without thinking too long about your problem, does it make any sense if, in my quick reading, your question basically boils down to that you want to send a serial message or whatnot at the time of both the stimulus and the response? I'd say there are some pretty easy ways of doing this, depending on whether you want the stimulus object to stay there once a button is pressed (I can imagine you don't): - how about using offsetsignaldata, as well as onset? But as said, you probably don't want that. Then, another quick way would be to add another slide that looks exactly as your imagedisplay, but sets in directly after the stimulus object is terminated and has duration of StimulusDisplayMaxDuration - RT. Thus, another slide shows exactly (just turn off onset sync) as the previous slide stops, unbeknownst to the subject. Obviously, this next slide you can then have send stuff over the serial port. Was that it, or did I miss something crucial? Sometimes, solutions can be pretty simple, though (I mean, I expect your problem is more complicated, but I wouldn't want you to waste precious time if you're just stuck on what might well be something very simple - a programming tip of the tongue phenomenon, so to speak)... Cheers, Mich Michiel Spapé Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of andrew hill Sent: 08 April 2010 17:12 To: e-prime at googlegroups.com Subject: response event to writeport oddities hi folks, any chance this makes sense to someone? i've been pulling my hair out metaphorically for a bit on this. i've got a trial procedure that mimics a typical CPT, e.g. an ImageDisplay that shows either a distractor or a target for 50ms, and then a fixation slide for most of the trial. in more detail: TrialProc: ---------------------- InLineStimMarker InLineResponse ImageDisplay (shows a stimulus requiring response or a distractor requiring nonresponse) InLineFixDuration (Fixation.Duration = random(950,1450) Fixation The InLineStimMarker does a : WritePort &H378, 0 ImageDisplay.OnsetSignalEnabled = True ImageDisplay.OffsetSignalEnabled = True ImageDisplay.OnsetSignalPort = &H378 ImageDisplay.OffSignalPort = &H378 and then a bunch of loops looking up a c.GetAttrib to figure out what the current stimulus type is, and set OnsetSignalData to a numerical value. this works great - sending in the codes as appropriate to BioSemi ActiveTwo, at the onset of each stimulus. the problem is with InLineResponse, which I've tried putting various places, and tried various code. what I want to do is look up the response accuracy, and put it in the EEG record at the time of the response. of course, since this is a CPT, most of the trials don't have a response, which is ok. the ones that do require pushing a keyboard button, and i'd like to code a 100/200 response accuracy into the EEG record when that button is pushed, but i'm not having any luck at all. i've tried something like this: If ImageDisplay.ACC = "1" Then Writeport &H378, 100 else Writeport &H378, 200 end if but that just puts the 100/200 codes at the time of stimulus image, and not at/during the response. any suggestions? thanks, andrew -- 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 this group at http://groups.google.com/group/e-prime?hl=en. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From neurodrum at gmail.com Thu Apr 8 16:51:24 2010 From: neurodrum at gmail.com (andrew hill) Date: Thu, 8 Apr 2010 09:51:24 -0700 Subject: response event to writeport oddities In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF03116697@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: thanks Michael, i'm not sure i understand your reply 100%, but thanks for it anyway :) one thing i didn't mention, is that my ImageDisplay object only displays for 50ms, but accepts input for 1000ms (to cover subject responses during most of the following Fixation object duration). are you suggesting another slide between ImageDisplay and Fixation, that "watches" for the response? if so, then i can probably just put the "InLineResponse" before the Fixation then. i'm not sure of how to code it.. something like this maybe? InLineResponse.Duration = ImageDisplay.RT If ImageDisplay.ACC = "1" Then Writeport &H378, 100 else Writeport &H378, 200 end if or am i barking up the wrong tree? thanks, andrew On Apr 8, 2010, at 9:40 AM, Michiel Spape wrote: > Hi, > Without thinking too long about your problem, does it make any sense if, in my quick reading, your question basically boils down to that you want to send a serial message or whatnot at the time of both the stimulus and the response? I'd say there are some pretty easy ways of doing this, depending on whether you want the stimulus object to stay there once a button is pressed (I can imagine you don't): > - how about using offsetsignaldata, as well as onset? > But as said, you probably don't want that. Then, another quick way would be to add another slide that looks exactly as your imagedisplay, but sets in directly after the stimulus object is terminated and has duration of StimulusDisplayMaxDuration - RT. Thus, another slide shows exactly (just turn off onset sync) as the previous slide stops, unbeknownst to the subject. Obviously, this next slide you can then have send stuff over the serial port. > > Was that it, or did I miss something crucial? Sometimes, solutions can be pretty simple, though (I mean, I expect your problem is more complicated, but I wouldn't want you to waste precious time if you're just stuck on what might well be something very simple - a programming tip of the tongue phenomenon, so to speak)... > Cheers, > Mich > > > Michiel Spapé > Research Fellow > Perception & Action group > University of Nottingham > School of Psychology > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of andrew hill > Sent: 08 April 2010 17:12 > To: e-prime at googlegroups.com > Subject: response event to writeport oddities > > hi folks, > > any chance this makes sense to someone? i've been pulling my hair out metaphorically for a bit on this. > > i've got a trial procedure that mimics a typical CPT, e.g. an ImageDisplay that shows either a distractor or a target for 50ms, and then a fixation slide for most of the trial. in more detail: > > TrialProc: > ---------------------- > InLineStimMarker > InLineResponse > ImageDisplay (shows a stimulus requiring response or a distractor requiring nonresponse) > InLineFixDuration (Fixation.Duration = random(950,1450) > Fixation > > The InLineStimMarker does a : > > WritePort &H378, 0 > ImageDisplay.OnsetSignalEnabled = True > ImageDisplay.OffsetSignalEnabled = True > ImageDisplay.OnsetSignalPort = &H378 > ImageDisplay.OffSignalPort = &H378 > > and then a bunch of loops looking up a c.GetAttrib to figure out what the current stimulus type is, and set OnsetSignalData to a numerical value. this works great - sending in the codes as appropriate to BioSemi ActiveTwo, at the onset of each stimulus. > > the problem is with InLineResponse, which I've tried putting various places, and tried various code. > > what I want to do is look up the response accuracy, and put it in the EEG record at the time of the response. of course, since this is a CPT, most of the trials don't have a response, which is ok. > > the ones that do require pushing a keyboard button, and i'd like to code a 100/200 response accuracy into the EEG record when that button is pushed, but i'm not having any luck at all. > > i've tried something like this: > > If ImageDisplay.ACC = "1" Then > Writeport &H378, 100 > else > Writeport &H378, 200 > end if > > but that just puts the 100/200 codes at the time of stimulus image, and not at/during the response. > > any suggestions? > > thanks, > andrew > > -- > 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 this group at http://groups.google.com/group/e-prime?hl=en. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > -- > 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 this group at http://groups.google.com/group/e-prime?hl=en. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Thu Apr 8 20:00:51 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 8 Apr 2010 16:00:51 -0400 Subject: user button press In-Reply-To: <83eff516-7f36-46ee-8859-229155809071@z3g2000yqz.googlegrou ps.com> Message-ID: Katie, Stock reminder: 1) I do not work for PST. 2) PST's trained staff takes 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 (although latest reports indicate more like 10 days) -- this is pretty much their substitute for proper documentation, so make full use of it. 3) If you do get an answer from PST Web Support, please extend the courtesy of posting their reply back here for the sake of others. That said, here is my take ... I can't go into full details, but here are a few hints that come to mind: 1) You will have to resort to inline code to do the Slide.HitTest. 2) I would probably use the main Slide to collect just the keyboard responses. I would use "extended input" (see Appendix C of the User's Guide that came with E-Prime) with a Duration of 0, increased MaxCount, EchoClient, etc. I would then follow the Slide with inline code to get the "Next" mouse click. 3) Unlike other input devices, you do not need an input mask to get mouse responses, see the MouseDevice topic in the online E-Basic Help. And because getting the "Next" might take several mouse clicks, I would get the mouse clicks directly (i.e., without an input mask) and use Slide.HitTest in a loop in inline code following the Slide. 4) In particular, your code Do Until (strHit = "Image1") Loop is an empty loop and will do nothing useful for you. You need to put the appropriate code inside that loop. Hope you find some help in that, -- David McFarlane, Professional Faultfinder "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." (Richard Feynman, Nobel prize-winning physicist) At 4/7/2010 09:23 PM Wednesday, you wrote: >Actually, reading this: > >http://groups.google.com/group/e-prime/browse_thread/thread/ab5a034086d67659 > >made me realize I could perhaps pull the same trick, and put two >slides up in sequence, the first with 0 duration and infinite time >limit that would take the mouse click and then jump to a label after >both slides, the second with infinite duration and infinite time limit >that would have the image with my sentence and the EchoClient that >would allow the participant to time the response. > >in fact, maybe this layering isn't even necessary. Maybe I can have >my keyboard EchoClient and my mouse button on the same SlideObject, >and just set the "Allowable" response on the mouse to the "next >button" Slide SubObject, and then choose terminate as the response. > >I'm only writing this so I can spare anyone helpful enough to answer >me the trouble of outlining these elements of a solution in their >response. > >(Incidentally, so far I am not having luck with the first method >because I can't figure out how to refer to my image file in the >"Allowable" box on the properties of the Mouse Input Mask. I tried >imitating another E Studio experiment someone else in my lab did, and >calling it [Target1] and then putting a Target1 attribute in the--I >don't know the terminology here--parent list (?) for the procedure but >it's giving me one of those "-999: Factor Error: Filename contains an >invalid attribute"s.) > > >On Apr 7, 6:45 pm, tiburona wrote: > > p.s. I would be overjoyed if someone could tell me how to do what I'm > > after without resorting to InLine, but I get the feeling that's not > > possible. > > > > On Apr 7, 6:41 pm, tiburona wrote: > > > > > Hi all, > > > > > My ultimate goal is to present words on a page for the participant to > > > respond to, either via image or text, collect text input from > > > participants that they see on screen in an EchoClient, and > > > simultaneously display a "Next" button that participants can use to > > > advance to the next portion of the experiment when they are done > > > typing. I've managed the first two elements fine, but getting E Prime > > > to terminate a screen in response to a button press is eluding me. I > > > am new to E-Prime and near-hopeless with E-Basic (even though I have a > > > little programming experience). I will probably eventually resort to > > > some subobtimal solution, like using the tab key to advance to the > > > next screen, because I'm skeptical I'll be able to get this running, > > > but I thought I would try an initial query to the group. > > > > > As a preliminary test, I set up a slide object (Slide2) with two > > > images (Image1 and Image2) on it. > > > > > I based this code on sample code from PST: > > > > > __________________________________________________ > > > > > Dim theState as SlideState > > > Set theState = Slide2.States("Default") > > > > > Dim strHit As String > > > Dim theMouseResponseData As MouseResponseData > > > > > If Slide2.InputMasks.Responses.Count > 0 Then > > > > > Set theMouseResponseData = > > > CMouseResponseData(Slide2.InputMasks.Responses(1)) > > > > > strHit = theState.HitTest(theMouseResponseData.CursorX, > > > theMouseResponseData.CursorY) > > > > > If strHit = "Image1" Then > > > Slide2.Stop > > > > > End If > > > > > Do Until (strHit = "Image1") > > > > > Loop > > > > > End If > > > > > _____________________________________________________________ > > > > > I tried placing it before and after the slide object in a Procedure, > > > but it didn't work either way (still not sure which is right). I was > > > wondering if someone could help me understand why. I'm trying to > > > build up to what I'm actually attempting from smaller bits. I have > > > found other sample code related to what I'm trying to do (for > > > instance, > here:http://www.pstnet.com/forum/Topic4009-23-1.aspx?Highlight=HitTest) > > > but when I try to modify it it doesn't work either, so I figure maybe > > > if I start with a very simple unit I'd have a chance of building up > > > some understanding. > > > > > Thanks very much, > > > Katie -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From tiburona at gmail.com Thu Apr 8 21:05:15 2010 From: tiburona at gmail.com (tiburona) Date: Thu, 8 Apr 2010 14:05:15 -0700 Subject: user button press In-Reply-To: <4bbe35f4.5244f10a.211e.10a4SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Thank you very much for your response, David. I actually managed to figure out the correct code around the time you were responding. Here it is for anyone in the future who might google this thread: 'Designate "theState" as the Default Slide State, which is the 'current, ActiveState on the Slide object "Stimulus" Dim theState as SlideState Set theState = Slide3.States("Default") Dim next_mX as Long, next_mY as Long Dim strHit As String Dim theMouseResponseData As MouseResponseData Do 'Was there a response? If Slide3.InputMasks.Responses.Count > 0 Then 'Get the mouse response Set theMouseResponseData = CMouseResponseData(Slide3.InputMasks.Responses(1)) 'Determine string name of SlideImage or SlideText object at 'mouse click coordinates. Assign that value to strHit strHit = theState.HitTest(theMouseResponseData.CursorX, theMouseResponseData.CursorY) 'Compare string name where mouse click occurred to CorrectAnswer 'attribute on each trial, and score response 'NOTE: This comparison is case sensitive If strHit = "Image1" Then GoTo Label2 End If End If Do Until (strHit = "Image1") ' capture & process further mouse clicks: If (Mouse.Buttons And ebMouseButton1) Then Mouse.GetCursorPos next_mX, next_mY strHit = theState.HitTest( next_mX, next_mY ) End If If strHit = "Image1" Then GoTo Label2 End If Loop Loop Until (strHit = "Image1") On Apr 8, 3:00 pm, David McFarlane wrote: > Katie, > > Stock reminder: 1) I do not work for PST. 2) PST's trained staff > takes any and all questions athttp://support.pstnet.com/e%2Dprime/support/login.asp, and they > strive to respond to all requests in 24-48 hours (although latest > reports indicate more like 10 days) -- this is pretty much their > substitute for proper documentation, so make full use of it. 3) If > you do get an answer from PST Web Support, please extend the courtesy > of posting their reply back here for the sake of others. > > That said, here is my take ... > > I can't go into full details, but here are a few hints that come to mind: > > 1) You will have to resort to inline code to do the Slide.HitTest. > > 2) I would probably use the main Slide to collect just the keyboard > responses. I would use "extended input" (see Appendix C of the > User's Guide that came with E-Prime) with a Duration of 0, increased > MaxCount, EchoClient, etc. I would then follow the Slide with inline > code to get the "Next" mouse click. > > 3) Unlike other input devices, you do not need an input mask to get > mouse responses, see the MouseDevice topic in the online E-Basic > Help. And because getting the "Next" might take several mouse > clicks, I would get the mouse clicks directly (i.e., without an input > mask) and use Slide.HitTest in a loop in inline code following the Slide. > > 4) In particular, your code > Do Until (strHit = "Image1") > Loop > is an empty loop and will do nothing useful for you. You need to put > the appropriate code inside that loop. > > Hope you find some help in that, > -- David McFarlane, Professional Faultfinder > "For a successful technology, reality must take precedence over > public relations, for nature cannot be fooled." (Richard Feynman, > Nobel prize-winning physicist) > > At 4/7/2010 09:23 PM Wednesday, you wrote: > > >Actually, reading this: > > >http://groups.google.com/group/e-prime/browse_thread/thread/ab5a03408... > > >made me realize I could perhaps pull the same trick, and put two > >slides up in sequence, the first with 0 duration and infinite time > >limit that would take the mouse click and then jump to a label after > >both slides, the second with infinite duration and infinite time limit > >that would have the image with my sentence and the EchoClient that > >would allow the participant to time the response. > > >in fact, maybe this layering isn't even necessary. Maybe I can have > >my keyboard EchoClient and my mouse button on the same SlideObject, > >and just set the "Allowable" response on the mouse to the "next > >button" Slide SubObject, and then choose terminate as the response. > > >I'm only writing this so I can spare anyone helpful enough to answer > >me the trouble of outlining these elements of a solution in their > >response. > > >(Incidentally, so far I am not having luck with the first method > >because I can't figure out how to refer to my image file in the > >"Allowable" box on the properties of the Mouse Input Mask. I tried > >imitating another E Studio experiment someone else in my lab did, and > >calling it [Target1] and then putting a Target1 attribute in the--I > >don't know the terminology here--parent list (?) for the procedure but > >it's giving me one of those "-999: Factor Error: Filename contains an > >invalid attribute"s.) > > >On Apr 7, 6:45 pm, tiburona wrote: > > > p.s. I would be overjoyed if someone could tell me how to do what I'm > > > after without resorting to InLine, but I get the feeling that's not > > > possible. > > > > On Apr 7, 6:41 pm, tiburona wrote: > > > > > Hi all, > > > > > My ultimate goal is to present words on a page for the participant to > > > > respond to, either via image or text, collect text input from > > > > participants that they see on screen in an EchoClient, and > > > > simultaneously display a "Next" button that participants can use to > > > > advance to the next portion of the experiment when they are done > > > > typing. I've managed the first two elements fine, but getting E Prime > > > > to terminate a screen in response to a button press is eluding me. I > > > > am new to E-Prime and near-hopeless with E-Basic (even though I have a > > > > little programming experience). I will probably eventually resort to > > > > some subobtimal solution, like using the tab key to advance to the > > > > next screen, because I'm skeptical I'll be able to get this running, > > > > but I thought I would try an initial query to the group. > > > > > As a preliminary test, I set up a slide object (Slide2) with two > > > > images (Image1 and Image2) on it. > > > > > I based this code on sample code from PST: > > > > > __________________________________________________ > > > > > Dim theState as SlideState > > > > Set theState = Slide2.States("Default") > > > > > Dim strHit As String > > > > Dim theMouseResponseData As MouseResponseData > > > > > If Slide2.InputMasks.Responses.Count > 0 Then > > > > > Set theMouseResponseData = > > > > CMouseResponseData(Slide2.InputMasks.Responses(1)) > > > > > strHit = theState.HitTest(theMouseResponseData.CursorX, > > > > theMouseResponseData.CursorY) > > > > > If strHit = "Image1" Then > > > > Slide2.Stop > > > > > End If > > > > > Do Until (strHit = "Image1") > > > > > Loop > > > > > End If > > > > > _____________________________________________________________ > > > > > I tried placing it before and after the slide object in a Procedure, > > > > but it didn't work either way (still not sure which is right). I was > > > > wondering if someone could help me understand why. I'm trying to > > > > build up to what I'm actually attempting from smaller bits. I have > > > > found other sample code related to what I'm trying to do (for > > > > instance, > > here:http://www.pstnet.com/forum/Topic4009-23-1.aspx?Highlight=HitTest) > > > > but when I try to modify it it doesn't work either, so I figure maybe > > > > if I start with a very simple unit I'd have a chance of building up > > > > some understanding. > > > > > Thanks very much, > > > > Katie -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From tiburona at gmail.com Thu Apr 8 21:06:51 2010 From: tiburona at gmail.com (tiburona) Date: Thu, 8 Apr 2010 14:06:51 -0700 Subject: user button press In-Reply-To: <8ae624d0-f7cb-4ee5-ae3d-007bbf8aaa08@r36g2000yqm.googlegroups.com> Message-ID: (You'll notice I used your old sample code to do part of it. Thanks for being such a great resource for confused EPrime newbies like me.) On Apr 8, 4:05 pm, tiburona wrote: > Thank you very much for your response, David. I actually managed to > figure out the correct code around the time you were responding. Here > it is for anyone in the future who might google this thread: > > 'Designate "theState" as the Default Slide State, which is the > 'current, ActiveState on the Slide object "Stimulus" > Dim theState as SlideState > Set theState = Slide3.States("Default") > > Dim next_mX as Long, next_mY as Long > > Dim strHit As String > Dim theMouseResponseData As MouseResponseData > > Do > 'Was there a response? > If Slide3.InputMasks.Responses.Count > 0 Then > > 'Get the mouse response > Set theMouseResponseData = > CMouseResponseData(Slide3.InputMasks.Responses(1)) > > 'Determine string name of SlideImage or SlideText object at > 'mouse click coordinates. Assign that value to strHit > strHit = theState.HitTest(theMouseResponseData.CursorX, > theMouseResponseData.CursorY) > > 'Compare string name where mouse click occurred to CorrectAnswer > 'attribute on each trial, and score response > 'NOTE: This comparison is case sensitive > If strHit = "Image1" Then > GoTo Label2 > > End If > > End If > > Do Until (strHit = "Image1") > ' capture & process further mouse clicks: > If (Mouse.Buttons And ebMouseButton1) Then > Mouse.GetCursorPos next_mX, next_mY > strHit = theState.HitTest( next_mX, next_mY ) > End If > > If strHit = "Image1" Then > GoTo Label2 > End If > > Loop > > Loop Until (strHit = "Image1") > > On Apr 8, 3:00 pm, David McFarlane wrote: > > > > > Katie, > > > Stock reminder: 1) I do not work for PST. 2) PST's trained staff > > takes any and all questions athttp://support.pstnet.com/e%2Dprime/support/login.asp, and they > > strive to respond to all requests in 24-48 hours (although latest > > reports indicate more like 10 days) -- this is pretty much their > > substitute for proper documentation, so make full use of it. 3) If > > you do get an answer from PST Web Support, please extend the courtesy > > of posting their reply back here for the sake of others. > > > That said, here is my take ... > > > I can't go into full details, but here are a few hints that come to mind: > > > 1) You will have to resort to inline code to do the Slide.HitTest. > > > 2) I would probably use the main Slide to collect just the keyboard > > responses. I would use "extended input" (see Appendix C of the > > User's Guide that came with E-Prime) with a Duration of 0, increased > > MaxCount, EchoClient, etc. I would then follow the Slide with inline > > code to get the "Next" mouse click. > > > 3) Unlike other input devices, you do not need an input mask to get > > mouse responses, see the MouseDevice topic in the online E-Basic > > Help. And because getting the "Next" might take several mouse > > clicks, I would get the mouse clicks directly (i.e., without an input > > mask) and use Slide.HitTest in a loop in inline code following the Slide. > > > 4) In particular, your code > > Do Until (strHit = "Image1") > > Loop > > is an empty loop and will do nothing useful for you. You need to put > > the appropriate code inside that loop. > > > Hope you find some help in that, > > -- David McFarlane, Professional Faultfinder > > "For a successful technology, reality must take precedence over > > public relations, for nature cannot be fooled." (Richard Feynman, > > Nobel prize-winning physicist) > > > At 4/7/2010 09:23 PM Wednesday, you wrote: > > > >Actually, reading this: > > > >http://groups.google.com/group/e-prime/browse_thread/thread/ab5a03408... > > > >made me realize I could perhaps pull the same trick, and put two > > >slides up in sequence, the first with 0 duration and infinite time > > >limit that would take the mouse click and then jump to a label after > > >both slides, the second with infinite duration and infinite time limit > > >that would have the image with my sentence and the EchoClient that > > >would allow the participant to time the response. > > > >in fact, maybe this layering isn't even necessary. Maybe I can have > > >my keyboard EchoClient and my mouse button on the same SlideObject, > > >and just set the "Allowable" response on the mouse to the "next > > >button" Slide SubObject, and then choose terminate as the response. > > > >I'm only writing this so I can spare anyone helpful enough to answer > > >me the trouble of outlining these elements of a solution in their > > >response. > > > >(Incidentally, so far I am not having luck with the first method > > >because I can't figure out how to refer to my image file in the > > >"Allowable" box on the properties of the Mouse Input Mask. I tried > > >imitating another E Studio experiment someone else in my lab did, and > > >calling it [Target1] and then putting a Target1 attribute in the--I > > >don't know the terminology here--parent list (?) for the procedure but > > >it's giving me one of those "-999: Factor Error: Filename contains an > > >invalid attribute"s.) > > > >On Apr 7, 6:45 pm, tiburona wrote: > > > > p.s. I would be overjoyed if someone could tell me how to do what I'm > > > > after without resorting to InLine, but I get the feeling that's not > > > > possible. > > > > > On Apr 7, 6:41 pm, tiburona wrote: > > > > > > Hi all, > > > > > > My ultimate goal is to present words on a page for the participant to > > > > > respond to, either via image or text, collect text input from > > > > > participants that they see on screen in an EchoClient, and > > > > > simultaneously display a "Next" button that participants can use to > > > > > advance to the next portion of the experiment when they are done > > > > > typing. I've managed the first two elements fine, but getting E Prime > > > > > to terminate a screen in response to a button press is eluding me. I > > > > > am new to E-Prime and near-hopeless with E-Basic (even though I have a > > > > > little programming experience). I will probably eventually resort to > > > > > some subobtimal solution, like using the tab key to advance to the > > > > > next screen, because I'm skeptical I'll be able to get this running, > > > > > but I thought I would try an initial query to the group. > > > > > > As a preliminary test, I set up a slide object (Slide2) with two > > > > > images (Image1 and Image2) on it. > > > > > > I based this code on sample code from PST: > > > > > > __________________________________________________ > > > > > > Dim theState as SlideState > > > > > Set theState = Slide2.States("Default") > > > > > > Dim strHit As String > > > > > Dim theMouseResponseData As MouseResponseData > > > > > > If Slide2.InputMasks.Responses.Count > 0 Then > > > > > > Set theMouseResponseData = > > > > > CMouseResponseData(Slide2.InputMasks.Responses(1)) > > > > > > strHit = theState.HitTest(theMouseResponseData.CursorX, > > > > > theMouseResponseData.CursorY) > > > > > > If strHit = "Image1" Then > > > > > Slide2.Stop > > > > > > End If > > > > > > Do Until (strHit = "Image1") > > > > > > Loop > > > > > > End If > > > > > > _____________________________________________________________ > > > > > > I tried placing it before and after the slide object in a Procedure, > > > > > but it didn't work either way (still not sure which is right). I was > > > > > wondering if someone could help me understand why. I'm trying to > > > > > build up to what I'm actually attempting from smaller bits. I have > > > > > found other sample code related to what I'm trying to do (for > > > > > instance, > > > here:http://www.pstnet.com/forum/Topic4009-23-1.aspx?Highlight=HitTest) > > > > > but when I try to modify it it doesn't work either, so I figure maybe > > > > > if I start with a very simple unit I'd have a chance of building up > > > > > some understanding. > > > > > > Thanks very much, > > > > > Katie > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From shivani.shivipr at gmail.com Fri Apr 9 02:11:38 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Thu, 8 Apr 2010 19:11:38 -0700 Subject: Random number generation Message-ID: Hi, I am working on an experiment in which I want to generate 100 random numbers between 1 - 100, but a number should not be repeated. Say if 1 is generated then it should not be generated again. Basically I want all 100 numbers between 1 and 100 without any repetetion and that too in a random manner. Right now I am using the script Dim i as Integer Dim Rand as Integer For i = 1 to 100 Rand = Random(1,100) Debug.Print "Random number is = " & Rand Next i This is giving me random numbers between 1 and 100, but the numbers are repeated. Please let me know if there is any logic of generating random numbers without any repeat. Any help is really appreciated. Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Fri Apr 9 03:30:00 2010 From: mcfarla9 at msu.edu (dkmcf) Date: Thu, 8 Apr 2010 20:30:00 -0700 Subject: Random number generation In-Reply-To: <56038d2f-37bc-45fe-b379-4835edd01932@8g2000yqz.googlegroups.com> Message-ID: Shivani, Simply put, you want to draw the numbers 1-100 in a shuffled order. Easiest to do this making a List with the numbers 1-100, setting the List to Random, then drawing samples from the List, perhaps as a nested List. Please work through the appropriate tutorials in the manuals that came with E-Prime, with particular attention to Appendix C of the User's Guide. But if you would really rather roll your own than use a List, then you want to program a Fisher-Yates shuffle algorithm, just look that up on Wikipedia. -- David McFarlane, Professional Faultfinder On Apr 8, 10:11 pm, Shivani R wrote: > I am working on an experiment in which I want to generate 100 random > numbers between 1 - 100, but a number should not be repeated. Say if 1 > is generated then it should not be generated again. Basically I want > all 100 numbers between 1 and 100 without any repetetion and that too > in a random manner. > > Right now I am using the script > > Dim i as Integer > Dim Rand as Integer > > For i = 1 to 100 > > Rand = Random(1,100) > > Debug.Print "Random number is = " & Rand > > Next i > > This is giving me random numbers between 1 and 100, but the numbers > are repeated. > > Please let me know if there is any logic of generating random numbers > without any repeat. > > Any help is really appreciated. > > Regards > Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Michiel.Spape at nottingham.ac.uk Fri Apr 9 10:32:40 2010 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Fri, 9 Apr 2010 11:32:40 +0100 Subject: Random number generation In-Reply-To: <56038d2f-37bc-45fe-b379-4835edd01932@8g2000yqz.googlegroups.com> Message-ID: Hi, What David said, or: just shuffle an array with the numbers 1 to 100. Dim i as Integer Dim Rand100(1 to 100) as Integer For i = 1 to 100 Rand100(i) = i 'fills array Next i RandomizeArray Rand100 'randomises For i = 1 to 100 Debug.Print "Random number is = " & Rand100(i) 'show output Next i Michiel Spapé Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Shivani R Sent: 09 April 2010 03:12 To: E-Prime Subject: Random number generation Hi, I am working on an experiment in which I want to generate 100 random numbers between 1 - 100, but a number should not be repeated. Say if 1 is generated then it should not be generated again. Basically I want all 100 numbers between 1 and 100 without any repetetion and that too in a random manner. Right now I am using the script Dim i as Integer Dim Rand as Integer For i = 1 to 100 Rand = Random(1,100) Debug.Print "Random number is = " & Rand Next i This is giving me random numbers between 1 and 100, but the numbers are repeated. Please let me know if there is any logic of generating random numbers without any repeat. Any help is really appreciated. Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From nickfraenkel at googlemail.com Fri Apr 9 14:08:29 2010 From: nickfraenkel at googlemail.com (Nick F) Date: Fri, 9 Apr 2010 07:08:29 -0700 Subject: E-Prime Tricks Message-ID: Hi, I just thought I'd post here in case it's of interest to anyone on this list. Over the course of programming numerous experiments in E- Prime I've figured out a few tricks that I find quite handy and which I think should be applicable to a fairly wide range of different types of experiment. I thought I might as well write them up in case they're of use to others, and am planning to post them occasionally on our lab website. I've already posted the first and am hoping to find time to put up some more over the next few weeks. If you're interested, the first one - on setting global variables - is here: http://www.pc.rhul.ac.uk/sites/attentionlab/2010/03/eprime-global-variables/ I would of course be very interested in anyone else's E-Prime tricks (or improvements / alternatives to the above technique) - please feel free to add them in the comments section of the page above! Best, Nick Fraenkel Department of Psychology Royal Holloway, University of London -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From shivani.shivipr at gmail.com Fri Apr 9 17:01:00 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Fri, 9 Apr 2010 10:01:00 -0700 Subject: Random number generation In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF0311677C@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: Hi, Thanks David and Michiel for all your help and time. I am trying out this logic in the experiment. Thanks again. Regards Shivani On Apr 9, 5:32 am, Michiel Spape wrote: > Hi, > What David said, or: just shuffle an array with the numbers 1 to 100. > > Dim i as Integer > Dim Rand100(1 to 100) as Integer > For i = 1 to 100 >         Rand100(i) = i 'fills array > Next i > > RandomizeArray Rand100 'randomises > > For i = 1 to 100 >         Debug.Print "Random number is = " & Rand100(i) 'show output > Next i > > Michiel Spapé > Research Fellow > Perception & Action group > University of Nottingham > School of Psychology > > > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Shivani R > Sent: 09 April 2010 03:12 > To: E-Prime > Subject: Random number generation > > Hi, > > I am working on an experiment in which I want to generate 100 random > numbers between 1 - 100, but a number should not be repeated. Say if 1 > is generated then it should not be generated again. Basically I want > all 100 numbers between 1 and 100 without any repetetion and that too > in a random manner. > > Right now I am using the script > > Dim i as Integer > Dim Rand as Integer > > For i = 1 to 100 > > Rand = Random(1,100) > > Debug.Print "Random number is = " & Rand > > Next i > > This is giving me random numbers between 1 and 100, but the numbers > are repeated. > > Please let me know if there is any logic of generating random numbers > without any repeat. > > Any help is really appreciated. > > Regards > Shivani > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation.- Hide quoted text - > > - Show quoted text - -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From nickfraenkel at googlemail.com Fri Apr 9 17:15:21 2010 From: nickfraenkel at googlemail.com (Nick F) Date: Fri, 9 Apr 2010 10:15:21 -0700 Subject: E-Prime Tricks In-Reply-To: <7f3a2f19-8ca4-4462-b071-ac17fd066000@r1g2000yqj.googlegroups.com> Message-ID: ps: Thanks to David McFarlane for pointing out that when I said "global variables" I in fact should have said "context attributes" - the article has now been amended accordingly, but the URL remains the same. Apologies for any confusion caused! -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From speechlab.nyu at gmail.com Fri Apr 9 17:24:32 2010 From: speechlab.nyu at gmail.com (Speech Perception Research Lab NYU) Date: Fri, 9 Apr 2010 10:24:32 -0700 Subject: Sound File Difficulty Message-ID: I have been having difficulty with running some my sound files through E Prime. The program will run through a few of them and then on certain files the program will shutdown and say "unable to find the sound file specified". Does anyone have any suggestions for me?? Margo -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From plocasto at gmail.com Fri Apr 9 17:29:54 2010 From: plocasto at gmail.com (Paul) Date: Fri, 9 Apr 2010 13:29:54 -0400 Subject: Sound File Difficulty In-Reply-To: <45c32154-9675-45b4-8254-9f54227717f8@d34g2000vbl.googlegroups.com> Message-ID: v1 or v2? Either way, Id run through the usual suspects first: 1. Correct file names 2. Located in same directory 3. Proper, supported format and sampling rate p On Fri, Apr 9, 2010 at 1:24 PM, Speech Perception Research Lab NYU < speechlab.nyu at gmail.com> wrote: > I have been having difficulty with running some my sound files through > E Prime. The program will run through a few of them and then on > certain files the program will shutdown and say "unable to find the > sound file specified". Does anyone have any suggestions for me?? > > > Margo > > -- > 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 this group at > http://groups.google.com/group/e-prime?hl=en. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Apr 9 17:36:37 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 9 Apr 2010 13:36:37 -0400 Subject: Sound File Difficulty In-Reply-To: Message-ID: With regard to #1, in particular make sure that your file names, and the names in your List, do not have any leading or trailing space characters (these are easy to overlook). -- David McFarlane, Professional Faultfinder >v1 or v2? Either way, Id run through the usual suspects first: > >1. Correct file names >2. Located in same directory >3. Proper, supported format and sampling rate > > >p > >On Fri, Apr 9, 2010 at 1:24 PM, Speech Perception Research Lab NYU ><speechlab.nyu at gmail.com> wrote: >I have been having difficulty with running some my sound files through >E Prime. The program will run through a few of them and then on >certain files the program will shutdown and say "unable to find the >sound file specified". Does anyone have any suggestions for me?? > >Margo -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From speechlab.nyu at gmail.com Fri Apr 9 17:54:14 2010 From: speechlab.nyu at gmail.com (Speech Perception Research Lab NYU) Date: Fri, 9 Apr 2010 10:54:14 -0700 Subject: Sound File Difficulty In-Reply-To: <4bbf65a7.5844f10a.2e39.7743SMTPIN_ADDED@gmr-mx.google.com> Message-ID: The actually names of my sound files are fine, but I am trying to look into the sampling rate to see if that might be causing the problem. On Apr 9, 1:36 pm, David McFarlane wrote: > With regard to #1, in particular make sure that your file names, and > the names in your List, do not have any leading or trailing space > characters (these are easy to overlook). > > -- David McFarlane, Professional Faultfinder > > > > >v1 or v2?  Either way, Id run through the usual suspects first: > > >1. Correct file names > >2. Located in same directory > >3. Proper, supported format and sampling rate > > >p > > >On Fri, Apr 9, 2010 at 1:24 PM, Speech Perception Research Lab NYU > ><speechlab.... at gmail.com> wrote: > >I have been having difficulty with running some my sound files through > >E Prime.  The program will run through a few of them and then on > >certain files the program will shutdown and say "unable to find the > >sound file specified". Does anyone have any suggestions for me?? > > >Margo- Hide quoted text - > > - Show quoted text - -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From wfjohnny at gmail.com Sat Apr 10 14:46:11 2010 From: wfjohnny at gmail.com (Johnny) Date: Sat, 10 Apr 2010 07:46:11 -0700 Subject: Block random design question Message-ID: I have problem designing block random. My design includes two blocks with 20 stimuli items to be presented in each block. My questions is: How I can make e-prime (randomly) draw 10 items from block 1 and then move on to block 2 to draw another 10 items. When the first cycle is complete, e-prime should go back to block 1 and then 2 to draw the rest of the items (10 respectively) not drawn in the first cycle. I am desperate to know how to do this. I have tried by setting the list exit after 10 samples and 2 cycles, but failed to get the random condition I wish. Could anyone help me with this? I am pretty new so please try explaining it in detail or write to me at if you don't get what I meant. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From ericajboothby at gmail.com Sun Apr 11 17:00:01 2010 From: ericajboothby at gmail.com (erica) Date: Sun, 11 Apr 2010 10:00:01 -0700 Subject: Slide sequence presentation Message-ID: I am a newcomer to e-prime and I'm trying to present 6 instruction slides in a row. I've created a slide with an image display with the file name "[instructions]". In the instructions procedure list, I've created an attribute "instructions" to which the slide image file name ought to refer. However, when I run the program (after generating it and finding no errors) only the first of the 6 slides appears. I can't get the other 5 slides to show up, even though they should once I press any key on the keyboard. I'm not sure where to go from here, since this is part of a larger experiment that I need to get right before moving on. Thanks, Erica -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From liza.mccarron at uwe.ac.uk Mon Apr 12 08:41:15 2010 From: liza.mccarron at uwe.ac.uk (LizaM) Date: Mon, 12 Apr 2010 01:41:15 -0700 Subject: Similar group for Superlab? Message-ID: Does anyone know of a similar community forum for Cedrus' Superlab program? I'm finding the one at http://community.cedrus.com/ to be not incredibly useful but can't find anything obvious via a google search. Many thanks Liza -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Liza.Mccarron at uwe.ac.uk Mon Apr 12 09:33:04 2010 From: Liza.Mccarron at uwe.ac.uk (Liza Mccarron) Date: Mon, 12 Apr 2010 10:33:04 +0100 Subject: Slide sequence presentation In-Reply-To: Message-ID: Hi Erica, Have a look at the attached which is a simple implementation of what I think you want to do - this one uses space bar to move on the instruction slides. Hope this helps! Liza -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of erica Sent: 11 April 2010 18:00 To: E-Prime Subject: Slide sequence presentation I am a newcomer to e-prime and I'm trying to present 6 instruction slides in a row. I've created a slide with an image display with the file name "[instructions]". In the instructions procedure list, I've created an attribute "instructions" to which the slide image file name ought to refer. However, when I run the program (after generating it and finding no errors) only the first of the 6 slides appears. I can't get the other 5 slides to show up, even though they should once I press any key on the keyboard. I'm not sure where to go from here, since this is part of a larger experiment that I need to get right before moving on. Thanks, Erica -- 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 this group at http://groups.google.com/group/e-prime?hl=en. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. -------------- next part -------------- A non-text attachment was scrubbed... Name: eprime test.zip Type: application/x-zip-compressed Size: 63081 bytes Desc: eprime test.zip URL: From tobias.fw at gmail.com Mon Apr 12 16:59:43 2010 From: tobias.fw at gmail.com (Tobias) Date: Mon, 12 Apr 2010 09:59:43 -0700 Subject: Block random design question In-Reply-To: <42403aca-00d4-4e69-965a-090b9163df90@g30g2000yqc.googlegroups.com> Message-ID: You should try "nested list". Use one overall list and specify the two different lists you were writing about in the columns "nested". Should be quite simple I think. On 10 Apr., 16:46, Johnny wrote: > I have problem designing block random.  My design includes two blocks > with 20 stimuli items to be presented in each block.  My questions > is:  How I can make e-prime (randomly) draw 10 items from block 1 and > then move on to block 2 to draw another 10 items.  When the first > cycle is complete, e-prime should go back to block 1 and then 2 to > draw the rest of the items (10 respectively) not drawn in the first > cycle.  I am desperate to know how to do this.  I have tried Sampling> by setting the list exit after 10 samples and 2 cycles, but > failed to get the random condition I wish. > > Could anyone help me with this?  I am pretty new so please try > explaining it in detail or write to me at if you > don't get what I meant. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From ericajboothby at gmail.com Tue Apr 13 01:59:23 2010 From: ericajboothby at gmail.com (erica) Date: Mon, 12 Apr 2010 18:59:23 -0700 Subject: Image presentation from attribute list In-Reply-To: <20010E745C50274D93A655F97E2815972F24D873B8@EGEN-MBX02.campus.ads.uwe.ac.uk> Message-ID: Thanks, Liza. I am finally able to successfully present my instruction slides, but am now encountering a new problem. When I try to get a slide to load an image from an attribute list ([dominant1]), the program crashes upon reaching this slide and the following error message (indicating an "internal error") appears: Set conprac1_SlideImage = CSlideImage(conprac1.States(conprac1.ActiveState).Objects(1)) conprac1_SlideImage.Filename = c.GetAttrib("dominant1") conprac1_SlideImage.Load Set conprac1_SlideImage = Nothing I have double and triple checked the image name to make sure e-prime will be able to find it, and this doesn't seem to be the issue. What else could be the problem? Not sure how to trouble shoot this... Looking forward to hearing some suggestions! Please let me know if there's any other info that would be useful in order to figure this out and I'd be happy to provide it. Thanks! On Apr 12, 5:33 am, Liza Mccarron wrote: > Hi Erica, > > Have a look at the attached which is a simple implementation of what I think you want to do - this one uses space bar to move on the instruction slides. > > Hope this helps! > > Liza > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of erica > Sent: 11 April 2010 18:00 > To: E-Prime > Subject: Slide sequence presentation > > I am a newcomer to e-prime and I'm trying to present 6 instruction > slides in a row. I've created a slide with an image display with the > file name "[instructions]". In the instructions procedure list, I've > created an attribute "instructions" to which the slide image file name > ought to refer. However, when I run the program (after generating it > and finding no errors) only the first of the 6 slides appears. I can't > get the other 5 slides to show up, even though they should once I > press any key on the keyboard. I'm not sure where to go from here, > since this is part of a larger experiment that I need to get right > before moving on. > Thanks, > Erica > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > > >  eprime test.zip > 83KViewDownload -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Liza.Mccarron at uwe.ac.uk Tue Apr 13 08:16:51 2010 From: Liza.Mccarron at uwe.ac.uk (Liza Mccarron) Date: Tue, 13 Apr 2010 09:16:51 +0100 Subject: Image presentation from attribute list In-Reply-To: <5844553f-f75f-4e9d-bfab-d4bf6e5501bc@u21g2000yqc.googlegroups.com> Message-ID: Erica, Glad your instruction slides are now working. To start troubleshooting firstly just try loading the first of your images onto the slide without referring to the list - that way you will be able to see if the error is occurring then. Most times when I have had an image not load it has either been due to referring to the wrong place for the image - ie not having the folder structure or filenames set correctly (although you say you have double checked this) in E-Prime or the image format not being correct for the program. The message you have posted doesn't look like an error message, more like the code relating to the image load. Was there a number attached to the internal error message? Hope that is useful Liza -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of erica Sent: 13 April 2010 02:59 To: E-Prime Subject: Image presentation from attribute list Thanks, Liza. I am finally able to successfully present my instruction slides, but am now encountering a new problem. When I try to get a slide to load an image from an attribute list ([dominant1]), the program crashes upon reaching this slide and the following error message (indicating an "internal error") appears: Set conprac1_SlideImage = CSlideImage(conprac1.States(conprac1.ActiveState).Objects(1)) conprac1_SlideImage.Filename = c.GetAttrib("dominant1") conprac1_SlideImage.Load Set conprac1_SlideImage = Nothing I have double and triple checked the image name to make sure e-prime will be able to find it, and this doesn't seem to be the issue. What else could be the problem? Not sure how to trouble shoot this... Looking forward to hearing some suggestions! Please let me know if there's any other info that would be useful in order to figure this out and I'd be happy to provide it. Thanks! On Apr 12, 5:33 am, Liza Mccarron wrote: > Hi Erica, > > Have a look at the attached which is a simple implementation of what I think you want to do - this one uses space bar to move on the instruction slides. > > Hope this helps! > > Liza > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of erica > Sent: 11 April 2010 18:00 > To: E-Prime > Subject: Slide sequence presentation > > I am a newcomer to e-prime and I'm trying to present 6 instruction > slides in a row. I've created a slide with an image display with the > file name "[instructions]". In the instructions procedure list, I've > created an attribute "instructions" to which the slide image file name > ought to refer. However, when I run the program (after generating it > and finding no errors) only the first of the 6 slides appears. I can't > get the other 5 slides to show up, even though they should once I > press any key on the keyboard. I'm not sure where to go from here, > since this is part of a larger experiment that I need to get right > before moving on. > Thanks, > Erica > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > > >  eprime test.zip > 83KViewDownload -- 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 this group at http://groups.google.com/group/e-prime?hl=en. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. From mylifeisstudying at gmail.com Tue Apr 13 09:55:03 2010 From: mylifeisstudying at gmail.com (Petrime) Date: Tue, 13 Apr 2010 02:55:03 -0700 Subject: random in nested lists Message-ID: Hi folks, I'm an absolute E-Prime newbie, and I have one problem with my nested lists solution, so I have no other choice, but to ask for your help. In my experiment there are 10 words, and every word should be presented in 6 different conditions (e.g. rectangle presented before the target above the target location, or circle presented after the target on the left side of the screen, and so on)...so in one trial there should be one of this 10 words, presented in one of this 6 conditions... I solved this with nested lists (hope this is right solution)... There are 6 nested lists, one for every condition. Each list holds 3 attributes (Word-Target,Location on the screen and Correct responce) In every list selection is set to random. The problem is that, sometimes , it selects the same word from this 6 lists, few times in a row ... e.g. it presents word >circle< 3 times in a row, every time in different condition... Is there some way to fix this? I tried many different things, but nothing works... I hope that there is someone out there, who can help me with this. Thanks in advance. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Michiel.Spape at nottingham.ac.uk Tue Apr 13 11:26:34 2010 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Tue, 13 Apr 2010 12:26:34 +0100 Subject: random in nested lists In-Reply-To: <670e3414-fbc9-45c5-92a0-40621495d8f8@8g2000yqz.googlegroups.com> Message-ID: Hi, This is usually a problem of a list randomisation; i.e. if you take a word out of the list, randomise the list, take a word, randomise again, the chance is pretty big you end up with the same word. You could either work it out so that the list isn't reset before completion, but if you're lazy (like me), you might also try to get rid of the nested lists and just write it all down into 1 giant list: "rectangle presented before the target": word 1 "rectangle presented before the target": word 2 ... "rectangle presented before the target": word 10 "rectangle presented above the target": word 1 You'll end up with 6 x 10 different trial types, which some people don't find awfully elegant looking, but this makes a better point of making your design truly orthogonal. If you do, for some reason, feel the need to use nested lists, you might try defining it at a different level and checking how many times it is shuffled. Best, Mich Michiel Spapé Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Petrime Sent: 13 April 2010 10:55 To: E-Prime Subject: random in nested lists Hi folks, I'm an absolute E-Prime newbie, and I have one problem with my nested lists solution, so I have no other choice, but to ask for your help. In my experiment there are 10 words, and every word should be presented in 6 different conditions (e.g. rectangle presented before the target above the target location, or circle presented after the target on the left side of the screen, and so on)...so in one trial there should be one of this 10 words, presented in one of this 6 conditions... I solved this with nested lists (hope this is right solution)... There are 6 nested lists, one for every condition. Each list holds 3 attributes (Word-Target,Location on the screen and Correct responce) In every list selection is set to random. The problem is that, sometimes , it selects the same word from this 6 lists, few times in a row ... e.g. it presents word >circle< 3 times in a row, every time in different condition... Is there some way to fix this? I tried many different things, but nothing works... I hope that there is someone out there, who can help me with this. Thanks in advance. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mylifeisstudying at gmail.com Tue Apr 13 15:00:05 2010 From: mylifeisstudying at gmail.com (Petrime) Date: Tue, 13 Apr 2010 08:00:05 -0700 Subject: random in nested lists In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF031FE8BC@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: Hi Michiel, thank you for your quick reply. I already tried to make one huge list, but unfortunately it doesn't change much presentation of stimuli. I would like to try one of these other alternatives you mentioned , but the problem is I am not sure I understand well how to do that. Could you please try to explain it to me a little bit closer. Thanks in advance On Apr 13, 1:26 pm, Michiel Spape wrote: > Hi, > This is usually a problem of a list randomisation; i.e. if you take a word out of the list, randomise the list, take a word, randomise again, the chance is pretty big you end up with the same word. You could either work it out so that the list isn't reset before completion, but if you're lazy (like me), you might also try to get rid of the nested lists and just write it all down into 1 giant list: > > "rectangle presented before the target": word 1 > "rectangle presented before the target": word 2 > ... > "rectangle presented before the target": word 10 > "rectangle presented above the target": word 1 > > You'll end up with 6 x 10 different trial types, which some people don't find awfully elegant looking, but this makes a better point of making your design truly orthogonal. > > If you do, for some reason, feel the need to use nested lists, you might try defining it at a different level and checking how many times it is shuffled. > Best, > Mich > > Michiel Spapé > Research Fellow > Perception & Action group > University of Nottingham > School of Psychology > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Petrime > Sent: 13 April 2010 10:55 > To: E-Prime > Subject: random in nested lists > > Hi folks, > I'm an absolute E-Prime newbie, and I have one problem with my nested > lists solution, so I have no other choice, but to ask for your help. > > In my experiment there are 10 words, and every word should be > presented in 6 different conditions (e.g. rectangle presented before > the target above the target location, or circle presented after the > target on the left side of the screen, and so on)...so in one trial > there should be one of this 10 words, presented in one of this 6 > conditions... > > I solved this with nested lists (hope this is right solution)... > There are 6 nested lists, one for every condition. Each list holds 3 > attributes (Word-Target,Location on the screen and Correct responce) > In every list selection is set to random. > > The problem is that, sometimes , it selects the same word from this 6 > lists, few times in a row ... e.g. it presents word >circle< 3 times > in a row, every time in different condition... > > Is there some way to fix this? I tried many different things, but > nothing works... > > I hope that there is someone out there, who can help me with this. > > Thanks in advance. > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From wfjohnny at gmail.com Wed Apr 14 11:37:27 2010 From: wfjohnny at gmail.com (Johnny) Date: Wed, 14 Apr 2010 04:37:27 -0700 Subject: Block random design question In-Reply-To: Message-ID: Tobias, Thanks to you and the one who wrote to me the other day. I made it. Sometimes designing e-prime is just not as easy as the design itself. It requires programming logic. Anyway, if anyone who is as new as I am and have problem folloing the programming logic could write to me. I'll email a sample e-prime file, which I believe will help a lot: ) Thanks again to you all. Johnny On Apr 13, 12:59 am, Tobias wrote: > You should try "nested list". Use one overall list and specify the two > different lists you were writing about in the columns "nested". > Should be quite simple I think. > > On 10 Apr., 16:46, Johnny wrote: > > > I have problem designing block random.  My design includes two blocks > > with 20 stimuli items to be presented in each block.  My questions > > is:  How I can make e-prime (randomly) draw 10 items from block 1 and > > then move on to block 2 to draw another 10 items.  When the first > > cycle is complete, e-prime should go back to block 1 and then 2 to > > draw the rest of the items (10 respectively) not drawn in the first > > cycle.  I am desperate to know how to do this.  I have tried > Sampling> by setting the list exit after 10 samples and 2 cycles, but > > failed to get the random condition I wish. > > > Could anyone help me with this?  I am pretty new so please try > > explaining it in detail or write to me at if you > > don't get what I meant. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From tobias.fw at gmail.com Fri Apr 16 13:59:25 2010 From: tobias.fw at gmail.com (Tobias) Date: Fri, 16 Apr 2010 06:59:25 -0700 Subject: Signal detection theory Message-ID: Hi together, this might be a bit off topic but as you are all very much into psychological experimental science you might be of great help for this issue. Besides, my topic is the outcome of an E-Prime experiment ;) It is about the response bias in signal detection theory (SDT). I've heard that C is usually better than Beta as a measure of response bias as it is indpendent of d'. Now what I have in my experiment is a very high hit rate for condition A and a lower hit rate for condition B. False alarm rates are however the same for A and B. So what I get using the formula for C (C = -0.5*(z(false alarms) + z(hits)) is a liberal criterion C for A and a less liberal criterion for B. So can I actually say that A is more liberal? Apparently this is only due to the fact that the hit rate is higher. I am quite puzzled by this... glad for any help! 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 this group at http://groups.google.com/group/e-prime?hl=en. From kirillf5 at gmail.com Fri Apr 16 16:22:58 2010 From: kirillf5 at gmail.com (Kirill) Date: Fri, 16 Apr 2010 09:22:58 -0700 Subject: using old task on new computers Message-ID: hi all, i am very new to using e-prime and have a task that involves presentation of visual stimuli on the screen that was given to me by a researcher that used it in 2001. i am wondering if the speed of presentation of stimuli is controlled by the code or will it be affected by the increased speed of the computers that i will be using it on. your help will be greatly appreciated. cheers -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Fri Apr 16 17:01:56 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 16 Apr 2010 13:01:56 -0400 Subject: using old task on new computers In-Reply-To: Message-ID: Stock reminder: 1) I do not work for PST. 2) PST's trained staff takes 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 (although latest reports indicate more like 10 days) -- this is pretty much their substitute for proper documentation, so make full use of it. 3) If you do get an answer from PST Web Support, please extend the courtesy of posting their reply back here for the sake of others. That said, here is my take ... Well, it would be an *extremely* poor software design that made timing dependent on processor speed, and I have no reason to suspect PST of such poor design. Furthermore, using various versions of E-Prime on various generations of computers and Windows for over a decade, I have never seen any timing issues dependent on processor speed (other than timing delays needed to produce complex stimuli, but that cannot be helped). As far as I can tell E-Prime properly uses a variety of independent high-resolution clocks built into Windows machines. But ultimately you should not take my word or anyone else's word for this. You should simply run some timing tests for yourself (preferably using an external time reference such as an oscilloscope) and convince yourself one way or another. That is a good exercise and sound policy in any case. -- David McFarlane, Professional Faultfinder "You got to test that piece of software, You got to test it for yourself, No one else can test it for you, You got to test it for yourself." (Apologies to the Fairfield Four) At 4/16/2010 12:22 PM Friday, you wrote: >i am very new to using e-prime and have a task that involves >presentation of visual stimuli on the screen that was given to me by a >researcher that used it in 2001. i am wondering if the speed of >presentation of stimuli is controlled by the code or will it be >affected by the increased speed of the computers that i will be using >it on. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From kirillf5 at gmail.com Fri Apr 16 18:35:31 2010 From: kirillf5 at gmail.com (Kirill) Date: Fri, 16 Apr 2010 11:35:31 -0700 Subject: using old task on new computers In-Reply-To: <4bc89805.5344f10a.529a.4389SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Thanks a lot David. your advice is greatly appreciated On Apr 17, 3:01 am, David McFarlane wrote: > Stock reminder:  1) I do not work for PST.  2) PST's trained staff > takes any and all questions athttp://support.pstnet.com/e%2Dprime/support/login.asp, and they > strive to respond to all requests in 24-48 hours (although latest > reports indicate more like 10 days) -- this is pretty much their > substitute for proper documentation, so make full use of it.  3) If > you do get an answer from PST Web Support, please extend the courtesy > of posting their reply back here for the sake of others. > > That said, here is my take ... > > Well, it would be an *extremely* poor software design that made > timing dependent on processor speed, and I have no reason to suspect > PST of such poor design.  Furthermore, using various versions of > E-Prime on various generations of computers and Windows for over a > decade, I have never seen any timing issues dependent on processor > speed (other than timing delays needed to produce complex stimuli, > but that cannot be helped).  As far as I can tell E-Prime properly > uses a variety of independent high-resolution clocks built into > Windows machines. > > But ultimately you should not take my word or anyone else's word for > this.  You should simply run some timing tests for yourself > (preferably using an external time reference such as an oscilloscope) > and convince yourself one way or another.  That is a good exercise > and sound policy in any case. > > -- David McFarlane, Professional Faultfinder > "You got to test that piece of software, You got to test it for yourself, > No one else can test it for you, You got to test it for yourself." > (Apologies to the Fairfield Four) > > At 4/16/2010 12:22 PM Friday, you wrote: > > >i am very new to using e-prime and have a task that involves > >presentation of visual stimuli on the screen that was given to me by a > >researcher that used it in 2001. i am wondering if the speed of > >presentation of stimuli is controlled by the code or will it be > >affected by the increased speed of the computers that i will be using > >it on. > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Fri Apr 16 19:22:09 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 16 Apr 2010 15:22:09 -0400 Subject: using old task on new computers In-Reply-To: Message-ID: BTW, if you care at all about critical timing, then you must, repeat MUST, also thouroughly study chapter 3 of the User's Guide that came with E-Prime. You should also at least run the RefreshClockTest program (downloadable from PST) on every subject running machine, . -- David McFarlane, Professional Faultfinder >Thanks a lot David. your advice is greatly appreciated > >On Apr 17, 3:01 am, David McFarlane wrote: > > Stock reminder: 1) I do not work for PST. 2) PST's trained staff > > takes any and all questions > athttp://support.pstnet.com/e%2Dprime/support/login.asp, and they > > strive to respond to all requests in 24-48 hours (although latest > > reports indicate more like 10 days) -- this is pretty much their > > substitute for proper documentation, so make full use of it. 3) If > > you do get an answer from PST Web Support, please extend the courtesy > > of posting their reply back here for the sake of others. > > > > That said, here is my take ... > > > > Well, it would be an *extremely* poor software design that made > > timing dependent on processor speed, and I have no reason to suspect > > PST of such poor design. Furthermore, using various versions of > > E-Prime on various generations of computers and Windows for over a > > decade, I have never seen any timing issues dependent on processor > > speed (other than timing delays needed to produce complex stimuli, > > but that cannot be helped). As far as I can tell E-Prime properly > > uses a variety of independent high-resolution clocks built into > > Windows machines. > > > > But ultimately you should not take my word or anyone else's word for > > this. You should simply run some timing tests for yourself > > (preferably using an external time reference such as an oscilloscope) > > and convince yourself one way or another. That is a good exercise > > and sound policy in any case. > > > > -- David McFarlane, Professional Faultfinder > > "You got to test that piece of software, You got to test it for yourself, > > No one else can test it for you, You got to test it for yourself." > > (Apologies to the Fairfield Four) > > > > At 4/16/2010 12:22 PM Friday, you wrote: > > > > >i am very new to using e-prime and have a task that involves > > >presentation of visual stimuli on the screen that was given to me by a > > >researcher that used it in 2001. i am wondering if the speed of > > >presentation of stimuli is controlled by the code or will it be > > >affected by the increased speed of the computers that i will be using > > >it on. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From rariel at kent.edu Fri Apr 16 19:25:35 2010 From: rariel at kent.edu (Robert Ariel) Date: Fri, 16 Apr 2010 15:25:35 -0400 Subject: Signal detection theory In-Reply-To: Message-ID: Tobias, Computationally, C is the average of the your transformed hit and false alarm rates. You can see this in the equation you presented. So, no doubt if you have equal false alarms rates across conditions, differences in C are resulting because of differences in hit rates. Basically with equal false alarm rates, the condition with a higher hit rate will always be more liberal. If hit rates are equal, the condition with higher false alarm rate will be more liberal. Best, Robert On Fri, Apr 16, 2010 at 9:59 AM, Tobias wrote: > Hi together, > > this might be a bit off topic but as you are all very much into > psychological experimental science you might be of great help for this > issue. Besides, my topic is the outcome of an E-Prime experiment ;) > > It is about the response bias in signal detection theory (SDT). I've > heard that C is usually better than Beta as a measure of response bias > as it is indpendent of d'. Now what I have in my experiment is a very > high hit rate for condition A and a lower hit rate for condition B. > False alarm rates are however the same for A and B. So what I get > using the formula for C (C = -0.5*(z(false alarms) + z(hits)) is a > liberal criterion C for A and a less liberal criterion for B. > > So can I actually say that A is more liberal? Apparently this is only > due to the fact that the hit rate is higher. I am quite puzzled by > this... glad for any help! > > 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 this group at > http://groups.google.com/group/e-prime?hl=en. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. -------------- next part -------------- An HTML attachment was scrubbed... URL: From neurodrum at gmail.com Fri Apr 16 21:09:30 2010 From: neurodrum at gmail.com (andrew hill) Date: Fri, 16 Apr 2010 14:09:30 -0700 Subject: echo parallel port? Message-ID: hi folks, i'm building a test in eprime that sends out event (stimulus and response) codes via the WritePort command in an inline, with the other end of the parallel cable being an EEG system (BioSemi). i'm doing some of my programming on a different machine from the one that is tied to the EEG system - just wondering if there is any way to echo (on the local machine) what is being sent to the remote machine via parallel port; this would help with development and debugging. thanks, andrew -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Fri Apr 16 21:23:22 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 16 Apr 2010 17:23:22 -0400 Subject: echo parallel port? In-Reply-To: Message-ID: Actually, the WritePort topic in the online E-Basic Help shows a method using Debug.Print to echo data to the Output pane of E-Studio to review after the run. Building on that, you could use c.SetAttrib and c.Log to echo data to an .edat file for review after the run, or just c.Attrib to echo data via TextDisplay objects during the run, etc. -- David McFarlane, Professional Faultfinder >i'm building a test in eprime that sends out event (stimulus and >response) codes via the WritePort command in an inline, with the >other end of the parallel cable being an EEG system (BioSemi). > >i'm doing some of my programming on a different machine from the one >that is tied to the EEG system - just wondering if there is any way >to echo (on the local machine) what is being sent to the remote >machine via parallel port; this would help with development and debugging. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From tobias.fw at gmail.com Mon Apr 19 11:33:35 2010 From: tobias.fw at gmail.com (Tobias) Date: Mon, 19 Apr 2010 04:33:35 -0700 Subject: Signal detection theory In-Reply-To: Message-ID: Thanks Robert, if I am not getting you wrong, this means that C is independent of d' but not of the hit rate. The question occurs to me if you can really say that one condition is more liberal if they are just better obviously. Cheers, Tobias On 16 Apr., 21:25, Robert Ariel wrote: > Tobias, > > Computationally, C is the average of the your transformed hit and false > alarm rates.  You can see this in the equation you presented.  So, no doubt > if you have equal false alarms rates across conditions, differences in C are > resulting because of differences in hit rates. > > Basically with equal false alarm rates, the condition with a higher hit rate > will always be more liberal.  If hit rates are equal, the condition with > higher false alarm rate will be more liberal. > > Best, > > Robert > > > > On Fri, Apr 16, 2010 at 9:59 AM, Tobias wrote: > > Hi together, > > > this might be a bit off topic but as you are all very much into > > psychological experimental science you might be of great help for this > > issue. Besides, my topic is the outcome of an E-Prime experiment ;) > > > It is about the response bias in signal detection theory (SDT). I've > > heard that C is usually better than Beta as a measure of response bias > > as it is indpendent of d'. Now what I have in my experiment is a very > > high hit rate for condition A and a lower hit rate for condition B. > > False alarm rates are however the same for A and B. So what I get > > using the formula for C (C = -0.5*(z(false alarms) + z(hits)) is a > > liberal criterion C for A and a less liberal criterion for B. > > > So can I actually say that A is more liberal? Apparently this is only > > due to the fact that the hit rate is higher. I am quite puzzled by > > this... glad for any help! > > > 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 this group at > >http://groups.google.com/group/e-prime?hl=en. > > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To post to this group, send email to e-prime at googlegroups.com. > To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. > For more options, visit this group athttp://groups.google.com/group/e-prime?hl=en. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From baker.josephm at gmail.com Mon Apr 19 18:19:00 2010 From: baker.josephm at gmail.com (Joe) Date: Mon, 19 Apr 2010 11:19:00 -0700 Subject: Cumulative response time from multiple sources in a single trial Message-ID: Hello all, I'm currently setting up a preferential looking study in which infants will be presented with various pictures on two different screens and their looking time at each picture type will be calculated. There will be approximately 25 trials in which 2 pictures will be simultaneously presented for 10 seconds on 2 screens (1 picture per screen). We are interested in the total amount of looking time towards either of the 2 pictures within each individual trial, for each of the 25 trials. Looking times will be recorded using "Playstation"esque controllers, with which I've had no problems interfacing with Eprime. It is likely that infants will spend time within each trial looking back and forth between the two picture types. Coders are trained to press one specific button on the controller if the infant is viewing the screen on the left, and another specific button if the infant is viewing the screen on the right (the screens are separated such that it is obvious which of the two screens the infant is viewing). So, in order to calculate the cumulative amount of time spent viewing each picture, e-prime will need to keep track of the total amount of time that either of the two buttons was depressed within each trial and sum these values for each button. I've begun by creating 2 variables (one for each button that represents which screen the infant is viewing) as Summation objects (e.g., Dim OneDuration as summation; Dim ThreeDuration as summation) in the User Script. Next, in the experiment procedure I've placed an Inline script to initialize both of the new variables as new summations (e.g., Set OneDuration = New Summation; Set ThreeDuration = New Summation). The Pictures are displayed following this Inline object, which is in turn followed by a second Inline object with which I want to calculate the total amount of time that either of the two buttons on the controller were depressed. This is where I'm having trouble. I'm assuming that e-prime will need to keep track of the onset and offset time for each of the two buttons (i.e., objects) within each trial, then subtract the onset from the offset after the button has been released, then, if there are multiple instances of a button being pressed and released within a single trial, sum these amounts for each button after the trial has completed. The problem is, I'm a bit unsure of how to do this. Any ideas? I appreciate all of your help with this! Best Regards, Joe B. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Mon Apr 19 18:34:03 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 19 Apr 2010 14:34:03 -0400 Subject: Cumulative response time from multiple sources in a single trial In-Reply-To: <1d2400cf-3131-4e81-94ab-9baddd86b466@z7g2000yqb.googlegrou ps.com> Message-ID: Joe, Stock reminder: 1) I do not work for PST. 2) PST's trained staff takes 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 (although latest reports indicate more like 10 days) -- this is pretty much their substitute for proper documentation, so make full use of it. 3) If you do get an answer from PST Web Support, please extend the courtesy of posting their reply back here for the sake of others. That said, here is my take ... For info on getting key or button releases, see the "{key} nomenclature" topic of the online E-Basic Help. Beyond that, I think the "Key Release" and "Multiple Response Collection" examples downloadable from PST would be places to look for more ideas. -- David McFarlane, Professional Faultfinder At 4/19/2010 02:19 PM Monday, you wrote: >Hello all, > >I'm currently setting up a preferential looking study in which infants >will be presented with various pictures on two different screens and >their looking time at each picture type will be calculated. There will >be approximately 25 trials in which 2 pictures will be simultaneously >presented for 10 seconds on 2 screens (1 picture per screen). We are >interested in the total amount of looking time towards either of the 2 >pictures within each individual trial, for each of the 25 trials. >Looking times will be recorded using "Playstation"esque controllers, >with which I've had no problems interfacing with Eprime. > >It is likely that infants will spend time within each trial looking >back and forth between the two picture types. Coders are trained to >press one specific button on the controller if the infant is viewing >the screen on the left, and another specific button if the infant is >viewing the screen on the right (the screens are separated such that >it is obvious which of the two screens the infant is viewing). So, in >order to calculate the cumulative amount of time spent viewing each >picture, e-prime will need to keep track of the total amount of time >that either of the two buttons was depressed within each trial and sum >these values for each button. > >I've begun by creating 2 variables (one for each button that >represents which screen the infant is viewing) as Summation objects >(e.g., Dim OneDuration as summation; Dim ThreeDuration as summation) >in the User Script. Next, in the experiment procedure I've placed an >Inline script to initialize both of the new variables as new >summations (e.g., Set OneDuration = New Summation; Set ThreeDuration = >New Summation). The Pictures are displayed following this Inline >object, which is in turn followed by a second Inline object with which >I want to calculate the total amount of time that either of the two >buttons on the controller were depressed. This is where I'm having >trouble. > >I'm assuming that e-prime will need to keep track of the onset and >offset time for each of the two buttons (i.e., objects) within each >trial, then subtract the onset from the offset after the button has >been released, then, if there are multiple instances of a button being >pressed and released within a single trial, sum these amounts for each >button after the trial has completed. The problem is, I'm a bit unsure >of how to do this. Any ideas? > >I appreciate all of your help with this! > >Best Regards, > >Joe B. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From antonello.puglia at gmail.com Tue Apr 20 07:38:45 2010 From: antonello.puglia at gmail.com (Antonello) Date: Tue, 20 Apr 2010 00:38:45 -0700 Subject: auditory secondary task Message-ID: Hi, I'm new in using E-prime. I want to create that: While the participants read a narrative text, they are involved in detecting pure tone (presented in a random time manner) in a secondary task. How can I do that? I am interested in record either reaction times about the secondary task either in record reading duration time. Thanks in advance Antonello -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Michiel.Spape at nottingham.ac.uk Tue Apr 20 12:12:42 2010 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Tue, 20 Apr 2010 13:12:42 +0100 Subject: auditory secondary task In-Reply-To: <324075bc-bc25-4805-9149-6c2517801820@a39g2000prb.googlegroups.com> Message-ID: Hi Antonello, How new are you to E-Prime? If the answer is "very new", I will predict you'll have quite some difficulty getting this to work - indeed, how you seem to suggest you would like to do this suggests this may well be the case. That is, E-Prime slightly forces you to do things in a time-locked (to use an ERP term) manner: read single word, detect response to task1, detect respond to task 2, is quite easy, but 'go on reading while detecting single responses continuously'... not so much. That said, if you'd have a single slide with, say, a page of text and a sound stimulus on it, you can collect multiple responses (in advanced properties of responses/timing tab). Then, you'd have to code stuff so that the response times of these responses are all recorded. It occurs to me, however, you might be able to do it in a less complex way (even if it will look a bit ugly): Make a list for your trials (say TrialList). Code at least ALL text you want your subject to read (might well be a page? Use \n for new lines) as an attribute (say myStory) such that each trial has something else to read. Let the procedure within that TrialList refer to another list (say SubTrialList) with at least one attribute, say mySoundfile. Record both empty and non-empty soundfiles (for timing purposes), say "empty.wav" and "beep.wav" and fill your SubTrialList with these two. Now, if you want a single trial to have, say, 20 beeps and 80 silences, each of 1 second long (or 10 ms beep and 990 ms silence), just have [mySoundfile] refer to 20 beeps and 80 silences. For each SubTrialList level, use the same procedure, with, in it, at least one (or two, if you want to record whether subjects press a button BEFORE the onset of the stimulus) slide. The slide then has text [myStory] and sound [mySoundfile]. As said, it's probably best to have another, but similar slide before this slide, such that you can collect responses that precede the sound (anticipatory responses). This has, as a benefit, that you can thereby randomise the duration of the intervals between beeps. Oh, and try to be a bit more specific in your question: where did you get stuck? Unless you prefer someone actually to make your experiment - might be a bit more expensive though. Best, Mich Michiel Spapé Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Antonello Sent: 20 April 2010 08:39 To: E-Prime Subject: auditory secondary task Hi, I'm new in using E-prime. I want to create that: While the participants read a narrative text, they are involved in detecting pure tone (presented in a random time manner) in a secondary task. How can I do that? I am interested in record either reaction times about the secondary task either in record reading duration time. Thanks in advance Antonello -- 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 this group at http://groups.google.com/group/e-prime?hl=en. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From antonello.puglia at gmail.com Tue Apr 20 13:25:02 2010 From: antonello.puglia at gmail.com (Antonello) Date: Tue, 20 Apr 2010 06:25:02 -0700 Subject: auditory secondary task In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF032A7277@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: Yes, I'm very new! Thanks for all your suggestions! My difficult was to beep in a random mode while the text was present! I will try to follow your suggestions! Best regards Antonello Puglia (PhD student in Cognitive Psychology, University of Chieti-Pescara, Italy) On 20 Apr, 14:12, Michiel Spape wrote: > Hi Antonello, > How new are you to E-Prime? If the answer is "very new", I will predict you'll have quite some difficulty getting this to work - indeed, how you seem to suggest you would like to do this suggests this may well be the case. That is, E-Prime slightly forces you to do things in a time-locked (to use an ERP term) manner: read single word, detect response to task1, detect respond to task 2, is quite easy, but 'go on reading while detecting single responses continuously'... not so much. That said, if you'd have a single slide with, say, a page of text and a sound stimulus on it, you can collect multiple responses (in advanced properties of responses/timing tab). Then, you'd have to code stuff so that the response times of these responses are all recorded. > It occurs to me, however, you might be able to do it in a less complex way (even if it will look a bit ugly): > Make a list for your trials (say TrialList). Code at least ALL text you want your subject to read (might well be a page? Use \n for new lines) as an attribute (say myStory) such that each trial has something else to read. Let the procedure within that TrialList refer to another list (say SubTrialList) with at least one attribute, say mySoundfile. Record both empty and non-empty soundfiles (for timing purposes), say "empty.wav" and "beep.wav" and fill your SubTrialList with these two. Now, if you want a single trial to have, say, 20 beeps and 80 silences, each of 1 second long (or 10 ms beep and 990 ms silence), just have [mySoundfile] refer to 20 beeps and 80 silences. For each SubTrialList level, use the same procedure, with, in it, at least one (or two, if you want to record whether subjects press a button BEFORE the onset of the stimulus) slide. The slide then has text [myStory] and sound [mySoundfile]. As said, it's probably best to have another, but similar slide before this slide, such that you can collect responses that precede the sound (anticipatory responses). This has, as a benefit, that you can thereby randomise the duration of the intervals between beeps. > > Oh, and try to be a bit more specific in your question: where did you get stuck? Unless you prefer someone actually to make your experiment - might be a bit more expensive though. > Best, > Mich > > Michiel Spapé > Research Fellow > Perception & Action group > University of Nottingham > School of Psychology > > > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Antonello > Sent: 20 April 2010 08:39 > To: E-Prime > Subject: auditory secondary task > > Hi, I'm new in using E-prime. I want to create that: > > While the participants read a narrative text, they are involved in > detecting pure tone (presented in a random time manner) in a secondary > task. How can I do that? I am interested in record either reaction > times about the secondary task either in record reading duration time. > > Thanks in advance > > Antonello > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en.- Nascondi testo citato > > - Mostra testo citato - -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Tue Apr 20 13:45:44 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 20 Apr 2010 09:45:44 -0400 Subject: auditory secondary task In-Reply-To: <2714d5b5-af18-4f4c-9837-fd50a640dfcf@l24g2000vbn.googlegro ups.com> Message-ID: Antonello, Sounds like you want to run some kind of a "dual task" experiment. We had a thread about this toward the end of last year, please take a look at http://groups.google.com/group/e-prime/browse_thread/thread/360a5c54d63ae241 . You might also try a search using "dual task", and the Dual Task example downloadable from the PST web site. -- David McFarlane, Professional Faultfinder >Yes, I'm very new! Thanks for all your suggestions! My difficult was >to beep in a random mode while the text was present! >I will try to follow your suggestions! >Best regards >Antonello Puglia > >(PhD student in Cognitive Psychology, University of Chieti-Pescara, >Italy) > >On 20 Apr, 14:12, Michiel Spape >wrote: > > Hi Antonello, > > How new are you to E-Prime? If the answer is > "very new", I will predict you'll have quite > some difficulty getting this to work - indeed, > how you seem to suggest you would like to do > this suggests this may well be the case. That > is, E-Prime slightly forces you to do things in > a time-locked (to use an ERP term) manner: read > single word, detect response to task1, detect > respond to task 2, is quite easy, but 'go on > reading while detecting single responses > continuously'... not so much. That said, if > you'd have a single slide with, say, a page of > text and a sound stimulus on it, you can > collect multiple responses (in advanced > properties of responses/timing tab). Then, > you'd have to code stuff so that the response > times of these responses are all recorded. > > It occurs to me, however, you might be able > to do it in a less complex way (even if it will look a bit ugly): > > Make a list for your trials (say TrialList). > Code at least ALL text you want your subject to > read (might well be a page? Use \n for new > lines) as an attribute (say myStory) such that > each trial has something else to read. Let the > procedure within that TrialList refer to > another list (say SubTrialList) with at least > one attribute, say mySoundfile. Record both > empty and non-empty soundfiles (for timing > purposes), say "empty.wav" and "beep.wav" and > fill your SubTrialList with these two. Now, if > you want a single trial to have, say, 20 beeps > and 80 silences, each of 1 second long (or 10 > ms beep and 990 ms silence), just have > [mySoundfile] refer to 20 beeps and 80 > silences. For each SubTrialList level, use the > same procedure, with, in it, at least one (or > two, if you want to record whether subjects > press a button BEFORE the onset of the > stimulus) slide. The slide then has text > [myStory] and sound [mySoundfile]. As said, > it's probably best to have another, but similar > slide before this slide, such that you can > collect responses that precede the sound > (anticipatory responses). This has, as a > benefit, that you can thereby randomise the > duration of the intervals between beeps. > > > > Oh, and try to be a bit more specific in your > question: where did you get stuck? Unless you > prefer someone actually to make your experiment > - might be a bit more expensive though. > > Best, > > Mich > > > > Michiel Spapé > > Research Fellow > > Perception & Action group > > University of Nottingham > > School of Psychology > > > > > > > > -----Original Message----- > > From: e-prime at googlegroups.com > [mailto:e-prime at googlegroups.com] On Behalf Of Antonello > > Sent: 20 April 2010 08:39 > > To: E-Prime > > Subject: auditory secondary task > > > > Hi, I'm new in using E-prime. I want to create that: > > > > While the participants read a narrative text, they are involved in > > detecting pure tone (presented in a random time manner) in a secondary > > task. How can I do that? I am interested in record either reaction > > times about the secondary task either in record reading duration time. > > > > Thanks in advance > > > > Antonello -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Tue Apr 20 14:33:06 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 20 Apr 2010 10:33:06 -0400 Subject: auditory secondary task In-Reply-To: <4bcdb00c.5244f10a.5e60.ffffac90SMTPIN_ADDED@gmr-mx.google. com> Message-ID: I just took a look at PST's DualTask example myself. It essentially runs a task within a task, i.e., secondary List/Proc stimuli within a primary (and static) List/Proc stimulus, with stimuli overlaid by means of TextDisplay Frame attributes. (Also note that their code contains yet another example of poor programming practice. The CheckTime inline uses the line If Clock.Read >= LngEndTime OR LngEndTime-Clock.Read <= 500 Then First, it is poor practice to use Clock.Read more than once in a logical test, since technically it will have a different value for each test; best to store Clock.Read to an intermediate variable and then test with that variable. Then of course (LngEndTime-Clock.Read <= 500) is logically equivalent to (Clock.Read >= LngEndTime-500), and whenever (Clock.Read >= LngEndTime-500) then it is also true that (Clock.Read >= LngEndTime). Thus the two tests are superfluous, and that line should be reduced to simply If Clock.Read >= LngEndTime - 500 Then which solves both issues. In general, keep a wary eye out when looking at PST examples, they are rife with poor programming practices and mistakes.) -- David McFarlane, Professional Faultfinder >Antonello, > >Sounds like you want to run some kind of a "dual >task" experiment. We had a thread about this >toward the end of last year, please take a look >at >http://groups.google.com/group/e-prime/browse_thread/thread/360a5c54d63ae241 >. You might also try a search using "dual >task", and the Dual Task example downloadable from the PST web site. > >-- David McFarlane, Professional Faultfinder > > >>Yes, I'm very new! Thanks for all your suggestions! My difficult was >>to beep in a random mode while the text was present! >>I will try to follow your suggestions! >>Best regards >>Antonello Puglia >> >>(PhD student in Cognitive Psychology, University of Chieti-Pescara, >>Italy) >> >>On 20 Apr, 14:12, Michiel Spape >>wrote: >> > Hi Antonello, >> > How new are you to E-Prime? If the answer is >> "very new", I will predict you'll have quite >> some difficulty getting this to work - indeed, >> how you seem to suggest you would like to do >> this suggests this may well be the case. That >> is, E-Prime slightly forces you to do things >> in a time-locked (to use an ERP term) manner: >> read single word, detect response to task1, >> detect respond to task 2, is quite easy, but >> 'go on reading while detecting single >> responses continuously'... not so much. That >> said, if you'd have a single slide with, say, >> a page of text and a sound stimulus on it, you >> can collect multiple responses (in advanced >> properties of responses/timing tab). Then, >> you'd have to code stuff so that the response >> times of these responses are all recorded. >> > It occurs to me, however, you might be able >> to do it in a less complex way (even if it will look a bit ugly): >> > Make a list for your trials (say TrialList). >> Code at least ALL text you want your subject >> to read (might well be a page? Use \n for new >> lines) as an attribute (say myStory) such that >> each trial has something else to read. Let the >> procedure within that TrialList refer to >> another list (say SubTrialList) with at least >> one attribute, say mySoundfile. Record both >> empty and non-empty soundfiles (for timing >> purposes), say "empty.wav" and "beep.wav" and >> fill your SubTrialList with these two. Now, if >> you want a single trial to have, say, 20 beeps >> and 80 silences, each of 1 second long (or 10 >> ms beep and 990 ms silence), just have >> [mySoundfile] refer to 20 beeps and 80 >> silences. For each SubTrialList level, use the >> same procedure, with, in it, at least one (or >> two, if you want to record whether subjects >> press a button BEFORE the onset of the >> stimulus) slide. The slide then has text >> [myStory] and sound [mySoundfile]. As said, >> it's probably best to have another, but >> similar slide before this slide, such that you >> can collect responses that precede the sound >> (anticipatory responses). This has, as a >> benefit, that you can thereby randomise the >> duration of the intervals between beeps. >> > >> > Oh, and try to be a bit more specific in >> your question: where did you get stuck? Unless >> you prefer someone actually to make your >> experiment - might be a bit more expensive though. >> > Best, >> > Mich >> > >> > Michiel Spapé >> > Research Fellow >> > Perception & Action group >> > University of Nottingham >> > School of Psychology >> > >> > >> > >> > -----Original Message----- >> > From: e-prime at googlegroups.com >> [mailto:e-prime at googlegroups.com] On Behalf Of Antonello >> > Sent: 20 April 2010 08:39 >> > To: E-Prime >> > Subject: auditory secondary task >> > >> > Hi, I'm new in using E-prime. I want to create that: >> > >> > While the participants read a narrative text, they are involved in >> > detecting pure tone (presented in a random time manner) in a secondary >> > task. How can I do that? I am interested in record either reaction >> > times about the secondary task either in record reading duration time. >> > >> > Thanks in advance >> > >> > Antonello -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From teachsmith at gmail.com Tue Apr 20 20:45:26 2010 From: teachsmith at gmail.com (mt) Date: Tue, 20 Apr 2010 13:45:26 -0700 Subject: recording audio response - SoundCapture device not recognized Message-ID: Hi - I am setting up an experiment with vocal responses. We can easily capture response onset with SRBox and a mic. We would also like to capture the utterance (yes/no), possibly for voice recognition and feedback. What type of device is needed for this? I have tried using a mic on my simple Conexant SmartAudio Codec. The problem seems to be that e-prime has no way to write the audio file or it is not recognizing that the "SoundCapture" device I have "added" is present (It isn't an option as an 'input device' in the response options. I seem to be missing something basic about this. Has anyone recorded voice responses successfully? Any tricks to share? Assuming it is possible, has anyone used voice recognition for feedback on vocal responses? Thanks for anything you can share. Best, Cathy Smith -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From shivani.shivipr at gmail.com Tue Apr 20 23:31:44 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Tue, 20 Apr 2010 16:31:44 -0700 Subject: E Prime and Black Box Message-ID: Hi, I am using E Prime to develop the experiments. In this experiment, the subject sees a fixation mark followed by a string of letters. He/she also hears a tone after 50 or 100 or 200 or 400 or 800ms, the string has been displayed on the screen. The subject's task is to determine if the string of letters was a word or non-word. I am using an external device (Coulbourn) to produce the tone after 50 or 100 or 200 or 400 or 800ms duration, the stimulus has been displayed on the screen. Also I am using black box tool kit to measure the duration of the fixation point, stimulus, and also to measure the time after which the tone is played. The duration of fixation mark is 1 s, the duration of stimulus is 2 s and the time after which tone should be played is 50 or 100 or 200 or 400 or 800 ms. After using black box to measure the timing precision, I found out that there is no issue with the duration of fixation point and stimulus, but the tone seems to be played before the stimulus is on the screen for 50 ms tone lag. I don't know why it is so, because the script in the experiment clearly says that tone is played after the stimulus has been displayed on the screen. Time lag in script(ms) Actual time lag I am getting in real time(ms) 800 600 400 250 or 262 200 172 or 82.5 or 95 100 20 50 -80 (-) means I am getting the tone earlier than it should be. This shows that for 50ms, tone is getting produced before the picture comes up on the screen. 50ms is such a small time unit and it is not discernible for me to figure out this. This is really important for me to figure out why this difference is appearing. I mean in my code I have set tone lags as 50, 100, 200, 400 or 800 but I am getting all of them as something less in real time. This experiment would be used for scientific studies and so timing is really really important for this. Any help is really appreciated. Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From shivani.shivipr at gmail.com Tue Apr 20 23:40:54 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Tue, 20 Apr 2010 16:40:54 -0700 Subject: E Prime and Black Box In-Reply-To: <9c0f37a8-822d-4a72-9d8a-1984095e598d@i40g2000yqd.googlegroups.com> Message-ID: Hi, The table got screwed up. I am again putting the table here: Time lag Actual time lag in script(ms) I am getting in real time(ms) 800 600 400 250 or 262 200 172 or 82.5 or 95 100 20 50 -80 Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From shivani.shivipr at gmail.com Tue Apr 20 23:44:08 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Tue, 20 Apr 2010 16:44:08 -0700 Subject: E Prime and Black Box Message-ID: Hi, I am using E Prime to develop the experiments. In this experiment, the subject sees a fixation mark followed by a string of letters. He/she also hears a tone after 50 or 100 or 200 or 400 or 800ms, the string has been displayed on the screen. The subject's task is to determine if the string of letters was a word or non-word. I am using an external device (Coulbourn) to produce the tone after 50 or 100 or 200 or 400 or 800ms duration, the stimulus has been displayed on the screen. Also I am using black box tool kit to measure the duration of the fixation point, stimulus, and also to measure the time after which the tone is played. The duration of fixation mark is 1 s, the duration of stimulus is 2 s and the time after which tone should be played is 50 or 100 or 200 or 400 or 800 ms. After using black box to measure the timing precision, I found out that there is no issue with the duration of fixation point and stimulus, but the tone seems to be played before the stimulus is on the screen for 50 ms tone lag. I don't know why it is so, because the script in the experiment clearly says that tone is played after the stimulus has been displayed on the screen. Time lag Actual time lag in script(ms) I am getting in real time(ms) 800 600 400 250 or 262 200 172 or 82.5 or 95 100 20 50 -80 (-) means I am getting the tone earlier than it should be. This shows that for 50ms, tone is getting produced before the picture comes up on the screen. 50ms is such a small time unit and it is not discernible for me to figure out this. This is really important for me to figure out why this difference is appearing. I mean in my code I have set tone lags as 50, 100, 200, 400 or 800 but I am getting all of them as something less in real time. This experiment would be used for scientific studies and so timing is really really important for this. Any help is really appreciated. Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From rariel at kent.edu Tue Apr 20 23:55:16 2010 From: rariel at kent.edu (Robert Ariel) Date: Tue, 20 Apr 2010 19:55:16 -0400 Subject: Signal detection theory In-Reply-To: Message-ID: Well, if you buy the assumptions of SDT you can. Remember, SDT makes assumption about behavior. Specifically that decisions are made by applying a decision criterion to the evidence extracted from each trial. So, you could conclude that one condition has a higher hit rate because that condition has a larger bias toward saying yes in your experiment. I guess the question is, does it make theoretical sense to do so? On Mon, Apr 19, 2010 at 7:33 AM, Tobias wrote: > Thanks Robert, > > if I am not getting you wrong, this means that C is independent of d' > but not of the hit rate. > The question occurs to me if you can really say that one condition is > more liberal if they are just better obviously. > > Cheers, > Tobias > > On 16 Apr., 21:25, Robert Ariel wrote: > > Tobias, > > > > Computationally, C is the average of the your transformed hit and false > > alarm rates. You can see this in the equation you presented. So, no > doubt > > if you have equal false alarm rates across conditions, differences in C > are > > resulting because of differences in hit rates. > > > > Basically with equal false alarm rates, the condition with a higher hit > rate > > will always be more liberal. If hit rates are equal, the condition with > > higher false alarm rate will be more liberal. > > > > Best, > > > > Robert > > > > > > > > On Fri, Apr 16, 2010 at 9:59 AM, Tobias wrote: > > > Hi together, > > > > > this might be a bit off topic but as you are all very much into > > > psychological experimental science you might be of great help for this > > > issue. Besides, my topic is the outcome of an E-Prime experiment ;) > > > > > It is about the response bias in signal detection theory (SDT). I've > > > heard that C is usually better than Beta as a measure of response bias > > > as it is indpendent of d'. Now what I have in my experiment is a very > > > high hit rate for condition A and a lower hit rate for condition B. > > > False alarm rates are however the same for A and B. So what I get > > > using the formula for C (C = -0.5*(z(false alarms) + z(hits)) is a > > > liberal criterion C for A and a less liberal criterion for B. > > > > > So can I actually say that A is more liberal? Apparently this is only > > > due to the fact that the hit rate is higher. I am quite puzzled by > > > this... glad for any help! > > > > > 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 this group at > > >http://groups.google.com/group/e-prime?hl=en. > > > > -- > > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > > To post to this group, send email to e-prime at googlegroups.com. > > To unsubscribe from this group, send email to > e-prime+unsubscribe at googlegroups.com > . > > For more options, visit this group athttp:// > groups.google.com/group/e-prime?hl=en. > > -- > 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 this group at > http://groups.google.com/group/e-prime?hl=en. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shivani.shivipr at gmail.com Wed Apr 21 00:15:18 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Tue, 20 Apr 2010 17:15:18 -0700 Subject: Trials getting flipped Message-ID: Hi, I am using E Prime to develop the experiments. In this experiment, the subject sees a fixation mark followed by an image. The subject's task is to determine if the image was a target or distractor. Basically there are 14 different trial lists in this experiment and all of them consists of 100 trials each, 50 targets and 50 distractors. Each time a trial list is selected at random and its 100 stimuli are presented on the screen randomly such that no more than 3 targets or 3 distractors occur consecutively. To achieve this randomization, I am using a sample script provided by pstnet.com in the samples section. I am printing the image name, its type and corresponding correct answer in the output window. The problem I am facing is some of the trials are getting flipped. I mean a distractor image is displayed on the screen but its type is taken as target and the correct answer is taken as 1. Actually if a distractor image is selected, its type should be distractor and also its correct answer should be 5. One important thing I noticed in here is that a target image is never taken as a distractor image, I mean a target image is never getting flipped. When the first trial list is selected, this flipping problem is not there usually. It starts from 2nd or 3rd trial list, with every 3 - 4 trials out of 100 trials getting flipped (distractor being treated as a target). Towards the end of the experiment, say 10th or 11th trial list, this problem is much more pronounced and every 6 - 7 trials are getting flipped out of 100 trials. I tried running the experiment 15 times, and each time this flipping problem was there. Distractor got treated as a target but never the other way round and also the flipping is not because of same images each time, the images getting flipped keep on changing. One other important point that I noticed here is when a particular trial list is selected at the 1st position, there are no flips, but if I run the experiment again and if this list got selected at some other position say 9th or 11th or something towards the end of the experiment, there were flips in the trial list. If I remove the randomization script, there are no flips in the entire experiment. So basically I know that this flipping is occurring because of the randomization script. I tried whatever I could but to no use. I have been struggling with this problem for last one month. It would be really nice if some one can give some solution to this problem. Any help is really appreciated. Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Liza.Mccarron at uwe.ac.uk Wed Apr 21 10:41:47 2010 From: Liza.Mccarron at uwe.ac.uk (Liza Mccarron) Date: Wed, 21 Apr 2010 11:41:47 +0100 Subject: Trials getting flipped In-Reply-To: Message-ID: Shivani, Not an answer to your question I'm afraid but am interested to see which sample you are using from the samples page as a colleague is at the moment trying to program something similar with no more than three repeats of a condition (word/ non word in this case) - is it the ' No Repeats on Consecutive Trials (Individual Trial)' example? Many Thanks Liza -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From hester.duffy at gmail.com Wed Apr 21 15:53:53 2010 From: hester.duffy at gmail.com (Hester) Date: Wed, 21 Apr 2010 08:53:53 -0700 Subject: Randomised sub-lists Message-ID: Hi All, I'm trying to set up a study in which participants rate the stimuli used in another experiment. I have 360 stimuli in all, but I only want each participant to rate 60 of them, and I want to do this in such a way that each of the stimuli gets used the same number of times. Obviously I could just create 6 lists of 60 items each and use different run files each time, but I'm wondering if there's a more efficient and elegant way of doing it. I've tried setting the list to reset after a cycle of 360 samples, and to exit after 60, but having run it three times, and then compared the lists of stimuli used, I'm getting duplicates, so it's clearly not doing what I want. Basically, I need it to give the first participant a random list of 60 taken from the full list of 360; the second participant should then get a random list of 60 taken from the remaining 300, the next a random list of 60 from the remaining 240, and so on, until the sixth participant has a randomly-ordered list consisting of the remaining 60 items. It would then reset, so that the seventh participant gets a random list of 60 from the original 360 (but not necessarily the same 60 as participant 1). Does anyone know whether E-Prime can do this, and if so, how? Many thanks, H -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From shivani.shivipr at gmail.com Wed Apr 21 17:51:38 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Wed, 21 Apr 2010 10:51:38 -0700 Subject: Trials getting flipped In-Reply-To: <20010E745C50274D93A655F97E2815973047439E1E@EGEN-MBX02.campus.ads.uwe.ac.uk> Message-ID: Hi, Thanks a lot for your reply and help. Yes I am using the same example from samples of pstnet.com It would be really nice to help me out with this problem. Thanks Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From shivani.shivipr at gmail.com Wed Apr 21 20:07:15 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Wed, 21 Apr 2010 13:07:15 -0700 Subject: Trials getting flipped In-Reply-To: <26490bfd-5196-4c09-8d3f-86a9377fcc42@r1g2000yqb.googlegroups.com> Message-ID: Hi, I just want to clear one more thing about your experiment. How many stimuli you have in all in the trial list? Are you putting them all in one trial list or pulling them from different sub trial lists randomly? I want to know this because I am performing a similar experiment as yours for word - non word with no more than 3 consecutive words or non words and I am not facing any problem with this. Here in this experiment, I have just one trial list which consists of all my stimuli, I am not pulling stimuli from the sub trial lists. The problem of flipping starts when I pull the stimuli from sub trial lists. Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From baltimore.ben at gmail.com Wed Apr 21 17:43:24 2010 From: baltimore.ben at gmail.com (ben robinson) Date: Wed, 21 Apr 2010 13:43:24 -0400 Subject: Randomised sub-lists In-Reply-To: <13aa1d79-9174-4f84-bb26-5c3ccf1fb349@q23g2000yqd.googlegroups.com> Message-ID: to do this you will probably need to manually assign a value for the Random Seed for each 6 participants you see. the first 6 participants might be assigned a random seed of '1', the next six '2', etc. if you set it up properly your list of 360 stimuli will be shuffled according to the random seed value. you could then determine which subset of 60 items, drawn pseudorandomly from the larger set of 360 items, to present to your subject based on Subject Number. divide the the subject number by 6, take the remainder which will always be a value from 0-5, and based on that value present one of six different subsets. something like that. sorry if it's not very clear... On Wed, Apr 21, 2010 at 11:53 AM, Hester wrote: > Hi All, > > I'm trying to set up a study in which participants rate the stimuli > used in another experiment. I have 360 stimuli in all, but I only want > each participant to rate 60 of them, and I want to do this in such a > way that each of the stimuli gets used the same number of times. > Obviously I could just create 6 lists of 60 items each and use > different run files each time, but I'm wondering if there's a more > efficient and elegant way of doing it. > > I've tried setting the list to reset after a cycle of 360 samples, and > to exit after 60, but having run it three times, and then compared the > lists of stimuli used, I'm getting duplicates, so it's clearly not > doing what I want. Basically, I need it to give the first participant > a random list of 60 taken from the full list of 360; the second > participant should then get a random list of 60 taken from the > remaining 300, the next a random list of 60 from the remaining 240, > and so on, until the sixth participant has a randomly-ordered list > consisting of the remaining 60 items. It would then reset, so that the > seventh participant gets a random list of 60 from the original 360 > (but not necessarily the same 60 as participant 1). > > Does anyone know whether E-Prime can do this, and if so, how? > > Many thanks, > > H > > -- > 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 this group at > http://groups.google.com/group/e-prime?hl=en. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Liza.Mccarron at uwe.ac.uk Thu Apr 22 08:36:07 2010 From: Liza.Mccarron at uwe.ac.uk (Liza Mccarron) Date: Thu, 22 Apr 2010 09:36:07 +0100 Subject: Trials getting flipped In-Reply-To: <26490bfd-5196-4c09-8d3f-86a9377fcc42@r1g2000yqb.googlegroups.com> Message-ID: Shivani, Which parameter in the script are you changing to get the not more than 3 repeats part set? I'm having trouble with that at the moment! Thanks Liza -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Shivani R Sent: 21 April 2010 18:52 To: E-Prime Subject: Re: Trials getting flipped Hi, Thanks a lot for your reply and help. Yes I am using the same example from samples of pstnet.com It would be really nice to help me out with this problem. Thanks Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. From shinyi.fang at gmail.com Thu Apr 22 15:56:48 2010 From: shinyi.fang at gmail.com (Shin-Yi Fang) Date: Thu, 22 Apr 2010 11:56:48 -0400 Subject: recording audio response - SoundCapture device not recognized In-Reply-To: <90a57295-50dd-4082-8dfa-57b545e1c59e@i12g2000vba.googlegroups.com> Message-ID: Hi, I am using eprime to record voice for later scoring. You are right, there is no sound input device in response option. I think the way to use it is through "SoundIn" object. You can find SoundIn object in toolbox which can be used independently or under Slide object. Two thing might be worth mentioned. 1. recording require professional version. 2. the microphone/line in option under sound device need to turn on. The sound device setting depends on the sound card you use. I did not use voice recognition or feedback. It will be nice to know if it is possible. Best, Shin-Yi On Tue, Apr 20, 2010 at 4:45 PM, mt wrote: > Hi - > > I am setting up an experiment with vocal responses. We can easily > capture response onset with SRBox and a mic. We would also like to > capture the utterance (yes/no), possibly for voice recognition and > feedback. What type of device is needed for this? I have tried using a > mic on my simple Conexant SmartAudio Codec. The problem seems to be > that e-prime has no way to write the audio file or it is not > recognizing that the "SoundCapture" device I have "added" is present > (It isn't an option as an 'input device' in the response options. I > seem to be missing something basic about this. > > Has anyone recorded voice responses successfully? Any tricks to share? > Assuming it is possible, has anyone used voice recognition for > feedback on vocal responses? > > Thanks for anything you can share. > > Best, > Cathy Smith > > -- > 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 this group at > http://groups.google.com/group/e-prime?hl=en. > > -- Ph.D. Student Department of Psychology University of Connecticut and Haskins Laboratories -- 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 this group at http://groups.google.com/group/e-prime?hl=en. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Apr 22 18:29:07 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 22 Apr 2010 14:29:07 -0400 Subject: recording audio response - SoundCapture device not recognized In-Reply-To: Message-ID: Cathy, Also note that you can go directly to PST Web Support at http://support.pstnet.com/e%2Dprime/support/login.asp with any questions about SoundIn or any other aspect of E-Prime. They strive to respond to all requests in 24-48 hours (although latest reports indicate more like 10 days), and this is pretty much their substitute for proper documentation, so make full use of it. -- David McFarlane, Professional Faultfinder At 4/22/2010 11:56 AM Thursday, Shin-Yi Fang wrote: >Hi, > >I am using eprime to record voice for later scoring. You are right, >there is no sound input device in response option. I think the way >to use it is through "SoundIn" object. You can find SoundIn object >in toolbox which can be used independently or under Slide object. >Two thing might be worth mentioned. 1. recording require >professional version. 2. the microphone/line in option under sound >device need to turn on. The sound device setting depends on the >sound card you use. >I did not use voice recognition or feedback. It will be nice to know >if it is possible. > >Best, > >Shin-Yi > > >On Tue, Apr 20, 2010 at 4:45 PM, mt ><teachsmith at gmail.com> wrote: >Hi - > >I am setting up an experiment with vocal responses. We can easily >capture response onset with SRBox and a mic. We would also like to >capture the utterance (yes/no), possibly for voice recognition and >feedback. What type of device is needed for this? I have tried using a >mic on my simple Conexant SmartAudio Codec. The problem seems to be >that e-prime has no way to write the audio file or it is not >recognizing that the "SoundCapture" device I have "added" is present >(It isn't an option as an 'input device' in the response options. I >seem to be missing something basic about this. > >Has anyone recorded voice responses successfully? Any tricks to share? >Assuming it is possible, has anyone used voice recognition for >feedback on vocal responses? > >Thanks for anything you can share. > >Best, >Cathy Smith > >-- >Ph.D. Student >Department of Psychology >University of Connecticut >and >Haskins Laboratories -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Thu Apr 22 18:42:05 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 22 Apr 2010 14:42:05 -0400 Subject: Randomised sub-lists In-Reply-To: Message-ID: H, I take it that you want randomized sequences that will continue across separate experimental runs. That's a tall order for any system, as it would have to preserve and reuse information between sessions. As Ben says, you would first have to reuse the same random seed between runs. That alone would give each subject who uses the same random seed the same sequence. If you want to have one subject run a random sequence of 60 items out of 360, and then the next subject run the next 60 items from that same random sequence, then you have to to a little more. I think that I would start with reusing the random seed as already posited, and in additon use the Offset order for my List to start with the 61st item from the random sequence, or 121st, etc. Just a thought. You might also consider asking PST Web Support (http://support.pstnet.com/e%2Dprime/support/login.asp ) for ideas, they have come through for me on issues like this from time to time. For all I know the new StartupInfo file mechanism of EP2 could help you with this. -- David McFarlane, Professional Faultfinder At 4/21/2010 01:43 PM Wednesday, ben robinson wrote: >to do this you will probably need to manually assign a value for the >Random Seed for each 6 participants you see. >the first 6 participants might be assigned a random seed of '1', the >next six '2', etc. if you set it up properly your list of 360 >stimuli will be shuffled according to the random seed value. >you could then determine which subset of 60 items, drawn >pseudorandomly from the larger set of 360 items, to present to your >subject based on Subject Number. divide the the subject number by >6, take the remainder which will always be a value from 0-5, and >based on that value present one of six different subsets. >something like that. sorry if it's not very clear... > >On Wed, Apr 21, 2010 at 11:53 AM, Hester ><hester.duffy at gmail.com> wrote: >Hi All, > >I'm trying to set up a study in which participants rate the stimuli >used in another experiment. I have 360 stimuli in all, but I only want >each participant to rate 60 of them, and I want to do this in such a >way that each of the stimuli gets used the same number of times. >Obviously I could just create 6 lists of 60 items each and use >different run files each time, but I'm wondering if there's a more >efficient and elegant way of doing it. > >I've tried setting the list to reset after a cycle of 360 samples, and >to exit after 60, but having run it three times, and then compared the >lists of stimuli used, I'm getting duplicates, so it's clearly not >doing what I want. Basically, I need it to give the first participant >a random list of 60 taken from the full list of 360; the second >participant should then get a random list of 60 taken from the >remaining 300, the next a random list of 60 from the remaining 240, >and so on, until the sixth participant has a randomly-ordered list >consisting of the remaining 60 items. It would then reset, so that the >seventh participant gets a random list of 60 from the original 360 >(but not necessarily the same 60 as participant 1). > >Does anyone know whether E-Prime can do this, and if so, how? > >Many thanks, > >H -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From shivani.shivipr at gmail.com Thu Apr 22 21:40:45 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Thu, 22 Apr 2010 14:40:45 -0700 Subject: Trials getting flipped In-Reply-To: <20010E745C50274D93A655F97E2815973047439E2B@EGEN-MBX02.campus.ads.uwe.ac.uk> Message-ID: Hi, I am trying to change the type of the stimulus. Shivani On Apr 22, 3:36 am, Liza Mccarron wrote: > Shivani, > > Which parameter in the script are you changing to get the not more than 3 repeats part set?  I'm having trouble with that at the moment! > > Thanks > > Liza > > > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Shivani R > Sent: 21 April 2010 18:52 > To: E-Prime > Subject: Re: Trials getting flipped > > Hi, > > Thanks a lot for your reply and help. Yes I am using the same example > from samples of  pstnet.com > > It would be really nice to help me out with this problem. > > Thanks > > Regards > Shivani > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Fri Apr 23 15:32:33 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 23 Apr 2010 11:32:33 -0400 Subject: Randomised sub-lists In-Reply-To: <4bd09883.5944f10a.7ebc.594bSMTPIN_ADDED@gmr-mx.google.com> Message-ID: BTW, in case you did not already know, here is how you set your own random seed in E-Prime: Open the Experiment object properties and go to the Startup Info tab. Add a Startup Info Parameter called "RandomSeed", making sure that it is Numeric. Now when you start the run E-Prime will prompt you for the RandomSeed and use the entered value for the random seed. Note that PST documents this as Knowledge Base article #882, "INFO: Ability to set random seed in E-Studio using RandomSeed Startup Info parameter". In principle you might also figure it out yourself from studying the Main() code generated by E-Studio. -- David McFarlane, Professional Faultfinder At 4/22/2010 02:42 PM Thursday, David McFarlane wrote: >H, > >I take it that you want randomized sequences that will continue >across separate experimental runs. That's a tall order for any >system, as it would have to preserve and reuse information between >sessions. As Ben says, you would first have to reuse the same >random seed between runs. That alone would give each subject who >uses the same random seed the same sequence. If you want to have >one subject run a random sequence of 60 items out of 360, and then >the next subject run the next 60 items from that same random >sequence, then you have to to a little more. I think that I would >start with reusing the random seed as already posited, and in >additon use the Offset order for my List to start with the 61st item >from the random sequence, or 121st, etc. Just a thought. > >You might also consider asking PST Web Support >(http://support.pstnet.com/e%2Dprime/support/login.asp ) for ideas, >they have come through for me on issues like this from time to >time. For all I know the new StartupInfo file mechanism of EP2 >could help you with this. > >-- David McFarlane, Professional Faultfinder > > >At 4/21/2010 01:43 PM Wednesday, ben robinson wrote: >>to do this you will probably need to manually assign a value for >>the Random Seed for each 6 participants you see. >>the first 6 participants might be assigned a random seed of '1', >>the next six '2', etc. if you set it up properly your list of 360 >>stimuli will be shuffled according to the random seed value. >>you could then determine which subset of 60 items, drawn >>pseudorandomly from the larger set of 360 items, to present to your >>subject based on Subject Number. divide the the subject number by >>6, take the remainder which will always be a value from 0-5, and >>based on that value present one of six different subsets. >>something like that. sorry if it's not very clear... >> >>On Wed, Apr 21, 2010 at 11:53 AM, Hester >><hester.duffy at gmail.com> wrote: >>Hi All, >> >>I'm trying to set up a study in which participants rate the stimuli >>used in another experiment. I have 360 stimuli in all, but I only want >>each participant to rate 60 of them, and I want to do this in such a >>way that each of the stimuli gets used the same number of times. >>Obviously I could just create 6 lists of 60 items each and use >>different run files each time, but I'm wondering if there's a more >>efficient and elegant way of doing it. >> >>I've tried setting the list to reset after a cycle of 360 samples, and >>to exit after 60, but having run it three times, and then compared the >>lists of stimuli used, I'm getting duplicates, so it's clearly not >>doing what I want. Basically, I need it to give the first participant >>a random list of 60 taken from the full list of 360; the second >>participant should then get a random list of 60 taken from the >>remaining 300, the next a random list of 60 from the remaining 240, >>and so on, until the sixth participant has a randomly-ordered list >>consisting of the remaining 60 items. It would then reset, so that the >>seventh participant gets a random list of 60 from the original 360 >>(but not necessarily the same 60 as participant 1). >> >>Does anyone know whether E-Prime can do this, and if so, how? >> >>Many thanks, >> >>H -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From jens.bernhardsson at gmail.com Mon Apr 26 10:59:31 2010 From: jens.bernhardsson at gmail.com (jens) Date: Mon, 26 Apr 2010 03:59:31 -0700 Subject: Slide Objects shift their position In-Reply-To: <4bacd18e.5844f10a.0480.24b9SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Update. Answer from PST web Support: "Thank you for attaching your experiment file. I apologize for the delay in my response. There is nothing in the experiment file itself that would cause a problem, so the problem may be with your version of E-Prime 2.0. Can you confirm that you are using the most recent version of the software, which is 2.0.8.74? If not, please download this version from here on the web support site by clicking Download > E-Prime > E-Prime 2.0 Release Candidate > E-Prime 2.0 Professional Release Candidate Installation (80MB) Build 2.0.8.74. Please let me know if you are already using the latest version, or whether you still have the problem after updating to the latest version. I hope to hear from you soon." Response from me: I didn't use the latest build. I was running the 2.0.8.22. After updating, it looks a lot better. It's not perfect but I can run with it, and since I am not doing any experiment with small and complex patterns that's depended on knowing the exact visual angel, then it's ok. For now ;) -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From joelsuss at gmail.com Mon Apr 26 21:43:57 2010 From: joelsuss at gmail.com (ndt) Date: Mon, 26 Apr 2010 14:43:57 -0700 Subject: Pinout diagram for SR box Message-ID: Hi, I am a grad student and new E-Prime user. I am using E-prime to present auditory stimuli, to which participants need to provide a verbal response. I want to record their responses, and also get a voice RT. I have constructed the experiment in E-prime, and just worked out that to get a voice RT, I need to have an SR box, or something like it. My department's electronic workshop already has a device (that they made for a previous experiment) that will function like an SR box to get the voice RTs. They just need to know which pins to wire it for so that E-Prime will recognize it. My electronics knowledge is very limited. I have tried to find a pinout diagram on line, without any success. I have trawled through this group, and have found posts like: http://groups.google.com/group/e-prime/browse_thread/thread/d42447cfc9a061af/f4d681564452d0b5?lnk=gst&q=pin+out#f4d681564452d0b5 by David McFarlane, but the pin information contained therein didn't seem (to my naive electronics mind) to be what I need. Why do I say that? Because in that post it referred to pins with numbers greater than 25, and from what I understand, the SR box uses a RS232 DB25 pinout. I have emailed PST asking for a copy of the SR Box manual, but they seem to have delays because they are experiencing a large volume of requests. Any assistance/advice/pointers would be appreciated. Regards Joel -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Tue Apr 27 16:18:29 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 27 Apr 2010 12:18:29 -0400 Subject: Pinout diagram for SR box In-Reply-To: <458bbae7-5d62-4e80-9b05-a90f6dce731b@c36g2000yqm.googlegro ups.com> Message-ID: Joel, 1) Because of your custom hardware, PST Web Support will almost certainly do you no good in this case (see #3 below). 2) The pin numbers that you refer to (from my earlier post) themselves refer to pins on a 40-pin header inside the SRBox, not pins on the computer. So of course those pin numbers are irrelevant to you. They apply only when you connect external switches to the SRBox, then connect the SRBox to the computer, i.e., using the SRBox as an interface to translate simple digital on-off signals into serial data. 3) If your custom device does indeed "function like an SR box", then you would need nothing more than a serial cable and treating it like a regular SRBox in E-Prime. But I highly doubt that you meant "function like an SR box", your department's electronic workshop almost certainly instead made a voice key device that provides a simple digital on-off signal. In that case, you may either (a) patch it through an SRBox as described earlier, or (b) connect it directly to an available digital I/O port (e.g., an old-fashioned parallel printer port); in this case you would then treat it as a Port device in E-Prime, and for that you could look up the appropriate topics in the Guides, the online E-Basic Help, and the PST Knowledge Base, or in this case contact PST Web Support. Hope that clarifies matters a bit, -- David McFarlane, Professional Faultfinder >I am a grad student and new E-Prime user. I am using E-prime to >present auditory stimuli, to which participants need to provide a >verbal response. I want to record their responses, and also get a >voice RT. > >I have constructed the experiment in E-prime, and just worked out that >to get a voice RT, I need to have an SR box, or something like it. > >My department's electronic workshop already has a device (that they >made for a previous experiment) that will function like an SR box to >get the voice RTs. They just need to know which pins to wire it for so >that E-Prime will recognize it. My electronics knowledge is very >limited. > >I have tried to find a pinout diagram on line, without any success. I >have trawled through this group, and have found posts like: >http://groups.google.com/group/e-prime/browse_thread/thread/d42447cfc9a061af/f4d681564452d0b5?lnk=gst&q=pin+out#f4d681564452d0b5 >by David McFarlane, but the pin information contained therein didn't >seem (to my naive electronics mind) to be what I need. Why do I say >that? Because in that post it referred to pins with numbers greater >than 25, and from what I understand, the SR box uses a RS232 DB25 >pinout. > >I have emailed PST asking for a copy of the SR Box manual, but they >seem to have delays because they are experiencing a large volume of >requests. > >Any assistance/advice/pointers would be appreciated. > >Regards > >Joel -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From joelsuss at gmail.com Tue Apr 27 22:01:33 2010 From: joelsuss at gmail.com (ndt) Date: Tue, 27 Apr 2010 15:01:33 -0700 Subject: Pinout diagram for SR box In-Reply-To: <4bd70e5e.5844f10a.5773.ffffe875SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Hi David, Thanks for all that advice - especially point 3. I will speak to the electronics technician and see what they can do. Profuse thanks. Joel On Apr 27, 12:18 pm, David McFarlane wrote: > Joel, > > 1) Because of your custom hardware, PST Web Support will almost > certainly do you no good in this case (see #3 below). > > 2) The pin numbers that you refer to (from my earlier post) > themselves refer to pins on a 40-pin header inside the SRBox, not > pins on the computer.  So of course those pin numbers are irrelevant > to you.  They apply only when you connect external switches to the > SRBox, then connect the SRBox to the computer, i.e., using the SRBox > as an interface to translate simple digital on-off signals into serial data. > > 3) If your custom device does indeed "function like an SR box", then > you would need nothing more than a serial cable and treating it like > a regular SRBox in E-Prime.  But I highly doubt that you > meant  "function like an SR box", your department's electronic > workshop almost certainly instead made a voice key device that > provides a simple digital on-off signal.  In that case, you may > either (a) patch it through an SRBox as described earlier, or (b) > connect it directly to an available digital I/O port (e.g., an > old-fashioned parallel printer port); in this case you would then > treat it as a Port device in E-Prime, and for that you could look up > the appropriate topics in the Guides, the online E-Basic Help, and > the PST Knowledge Base, or in this case contact PST Web Support. > > Hope that clarifies matters a bit, > -- David McFarlane, Professional Faultfinder > > > > >I am a grad student and new E-Prime user. I am using E-prime to > >present auditory stimuli, to which participants need to provide a > >verbal response. I want to record their responses, and also get a > >voice RT. > > >I have constructed the experiment in E-prime, and just worked out that > >to get a voice RT, I need to have an SR box, or something like it. > > >My department's electronic workshop already has a device (that they > >made for a previous experiment) that will function like an SR box to > >get the voice RTs. They just need to know which pins to wire it for so > >that E-Prime will recognize it. My electronics knowledge is very > >limited. > > >I have tried to find a pinout diagram on line, without any success. I > >have trawled through this group, and have found posts like: > >http://groups.google.com/group/e-prime/browse_thread/thread/d42447cfc... > >by David McFarlane, but the pin information contained therein didn't > >seem (to my naive electronics mind) to be what I need. Why do I say > >that? Because in that post it referred to pins with numbers greater > >than 25, and from what I understand, the SR box uses a RS232 DB25 > >pinout. > > >I have emailed PST asking for a copy of the SR Box manual, but they > >seem to have delays because they are experiencing a large volume of > >requests. > > >Any assistance/advice/pointers would be appreciated. > > >Regards > > >Joel > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From giladsabo at gmail.com Wed Apr 28 07:27:50 2010 From: giladsabo at gmail.com (gilis) Date: Wed, 28 Apr 2010 00:27:50 -0700 Subject: Two responses from the same slide-not working Message-ID: Hi, In part of my experiment, in which the experimenter is present in the room all along of it and he/she is the one to log the participant's answer (numbers) in a case that the participant made incorrect response, I have to log two keyboard responses from the same slide object. It should be very easy, I increased the max count to 2, set the duration to infinite and data logging to standart. The problem is that the slide object only log the first response and that the computer goes to the next object right after it-without waiting for the second. I can't post here my experiment script, but does anyone have any idea what may be causing it? Regards Gilis -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From giladsabo at gmail.com Wed Apr 28 07:40:39 2010 From: giladsabo at gmail.com (gilis) Date: Wed, 28 Apr 2010 00:40:39 -0700 Subject: Two responses from the same slide-not working In-Reply-To: <7b6aa213-c715-414e-8cb3-2f4a02e35f79@c36g2000yqm.googlegroups.com> Message-ID: Additional information: Before this slide object, there is the stimulus slide object to which the participant response. In the participant's slide object-he/she is asked to give two different responses vocal (SRB box) and manual (mouse click)-only after, and if the participant made incorrect response, the experimenter have to give is response. So the tree goes like that in the participant's slide (in this example-mouse and keyboard instead of mouse and SRBbox): First, the program identified and log the participant's first response: Dim theResponseObject As RteRunnableInputObject Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("Stimuli")) 'If the assert below fires, then the object named in the line above does not exist Debug.Assert Not theResponseObject Is Nothing Dim nIndex AS Integer For nIndex = 1 To theResponseObject.InputMasks.Responses.Count 'Access the response and check to see if it is a mouse response. Dim theMouseResponseData As MouseResponseData Set theMouseResponseData = CMouseResponseData(theResponseObject.InputMasks.Responses(1)) If Not theMouseResponseData Is Nothing Then c.SetAttrib "MouseClick" & 1 & "RT", theMouseResponseData.RT c.SetAttrib "MouseClick" & 1 & "RESP", theMouseResponseData.RESP Goto KeyboardLabel End If 'Access the response and check to see if it is a keyboard response. Dim theKeyboardResponseData As KeyboardResponseData Set theKeyboardResponseData = CKeyboardResponseData(theResponseObject.InputMasks.Responses(1)) If Not theKeyboardResponseData Is Nothing Then c.SetAttrib "KeyPress" & 1 & "RT", theKeyboardResponseData.RT c.SetAttrib "KeyPress" & 1 & "RESP", theKeyboardResponseData.RESP Goto MouseLabel End If NEXT nIndex Then, if the first response was keyboard response-it go to the mouselabel and log additional single response from the mouse: Dim theResponseObject As RteRunnableInputObject Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("MouseStimuli")) 'If the assert below fires, then the object named in the line above does not exist Debug.Assert Not theResponseObject Is Nothing 'Counter variable for the number of mouse responses made Dim nClickCount As Long 'Counter variable Dim nIndex as Integer 'Enumerate through the responses collection and determine ' if any of the responses were made by the mouse. 'If so, then display the statistics to the user. 'For nIndex = 1 To theResponseObject.InputMasks.Responses.Count 'Set theMouseResponseData equal to the current mouse response ' If the response was not a mouse, then the CMouseResponseData ' cast/conversion will return "Nothing" Dim theMouseResponseData As MouseResponseData Set theMouseResponseData = CMouseResponseData(theResponseObject.InputMasks.Responses(1)) If Not theMouseResponseData Is Nothing Then 'Increment the click count nClickCount = nClickCount + 1 'Log reaction time and response for each mouse click. c.SetAttrib "MouseClick" & 1 & "RT", theMouseResponseData.RT c.SetAttrib "MouseClick" & 1 & "RESP", theMouseResponseData.RESP End If 'Next 'nIndex And vice versa if the first response was made with the mouse: Dim theResponseObject As RteRunnableInputObject Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("KeyBoardStimuli")) 'If the assert below fires, then the object named in the line above does not exist Debug.Assert Not theResponseObject Is Nothing 'Access the response and check to see if it is a keyboard response. Dim theKeyboardResponseData As KeyboardResponseData Set theKeyboardResponseData = CKeyboardResponseData(theResponseObject.InputMasks.Responses(1)) 'Log reaction time and response for each key press. c.SetAttrib "KeyPress" & 1 & "RT", theKeyboardResponseData.RT c.SetAttrib "KeyPress" & 1 & "RESP", theKeyboardResponseData.RESP So, it may be that something here say to next coming object (which is totaly different and named PA) to count only one response? On Apr 28, 10:27 am, gilis wrote: > Hi, > > In part of my experiment, in which the experimenter is present in the > room all along of it and he/she is the one to log the participant's > answer (numbers) in a case that the participant made incorrect > response, I have to log two keyboard responses from the same slide > object. It should be very easy, I increased the max count to 2, set > the duration to infinite and data logging to standart. The problem is > that the slide object only log the first response and that the > computer goes to the next object right after it-without waiting for > the second. I can't post here my experiment script, but does anyone > have any idea what may be causing it? > > Regards > Gilis > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From giladsabo at gmail.com Wed Apr 28 14:30:37 2010 From: giladsabo at gmail.com (gilis) Date: Wed, 28 Apr 2010 07:30:37 -0700 Subject: Two responses from the same slide-not working In-Reply-To: <9fd6b0ad-37e1-4168-963d-8c3dcb60a130@g23g2000yqn.googlegroups.com> Message-ID: My bad...Wrong definition of the feedback object, nothing too complicated...Thanks to anywho who spend time in trying solving it anyway. On Apr 28, 10:40 am, gilis wrote: > Additional information: > > Before this slide object, there is the stimulus slide object to which > the participant response. In the participant's slide object-he/she is > asked to give two different responses vocal (SRB box) and manual > (mouse click)-only after, and if the participant made incorrect > response, the experimenter have to give is response. So the tree goes > like that in the participant's slide (in this example-mouse and > keyboard instead of mouse and SRBbox): > > First, the program identified and log the participant's first > response: > > Dim theResponseObject As RteRunnableInputObject > Set theResponseObject = > CRteRunnableInputObject(Rte.GetObject("Stimuli")) > >         'If the assert below fires, then the object named in the line above > does not exist >         Debug.Assert Not theResponseObject Is Nothing > >     Dim nIndex AS Integer > >         For nIndex = 1 To theResponseObject.InputMasks.Responses.Count > >                 'Access the response and check to see if it is a mouse response. >                 Dim theMouseResponseData As MouseResponseData >                 Set theMouseResponseData = > CMouseResponseData(theResponseObject.InputMasks.Responses(1)) > >                 If Not theMouseResponseData Is Nothing Then > >                     c.SetAttrib "MouseClick" & 1 & "RT", theMouseResponseData.RT >                         c.SetAttrib "MouseClick" & 1 & "RESP", theMouseResponseData.RESP > >                         Goto KeyboardLabel >                 End If > >                 'Access the response and check to see if it is a keyboard response. >                 Dim theKeyboardResponseData As KeyboardResponseData >                 Set theKeyboardResponseData = > CKeyboardResponseData(theResponseObject.InputMasks.Responses(1)) > >                 If Not theKeyboardResponseData Is Nothing Then > >                         c.SetAttrib "KeyPress" & 1 & "RT", theKeyboardResponseData.RT >                         c.SetAttrib "KeyPress" & 1 & "RESP", theKeyboardResponseData.RESP > >                         Goto MouseLabel >                 End If > >         NEXT nIndex > > Then, if the first response was keyboard response-it go to the > mouselabel and log additional single response from the mouse: > > Dim theResponseObject As RteRunnableInputObject >         Set theResponseObject = > CRteRunnableInputObject(Rte.GetObject("MouseStimuli")) > >         'If the assert below fires, then the object named in the line above > does not exist >         Debug.Assert Not theResponseObject Is Nothing > >         'Counter variable for the number of mouse responses made >         Dim nClickCount As Long > >         'Counter variable >         Dim nIndex as Integer > >         'Enumerate through the responses collection and determine >         ' if any of the responses were made by the mouse. >         'If so, then display the statistics to the user. >         'For nIndex = 1 To theResponseObject.InputMasks.Responses.Count > >                 'Set theMouseResponseData equal to the current mouse response >                 ' If the response was not a mouse, then the CMouseResponseData >                 '  cast/conversion will return "Nothing" >                 Dim theMouseResponseData As MouseResponseData >                 Set theMouseResponseData = > CMouseResponseData(theResponseObject.InputMasks.Responses(1)) >                 If Not theMouseResponseData Is Nothing Then > >                         'Increment the click count >                         nClickCount = nClickCount + 1 > >                         'Log reaction time and response for each mouse click. >                         c.SetAttrib "MouseClick" & 1 & "RT", theMouseResponseData.RT >                         c.SetAttrib "MouseClick" & 1 & "RESP", theMouseResponseData.RESP > >                 End If > >         'Next 'nIndex > > And vice versa if the first response was made with the mouse: > > Dim theResponseObject As RteRunnableInputObject >         Set theResponseObject = > CRteRunnableInputObject(Rte.GetObject("KeyBoardStimuli")) > >         'If the assert below fires, then the object named in the line above > does not exist >         Debug.Assert Not theResponseObject Is Nothing > >         'Access the response and check to see if it is a keyboard response. >         Dim theKeyboardResponseData As KeyboardResponseData >         Set theKeyboardResponseData = > CKeyboardResponseData(theResponseObject.InputMasks.Responses(1)) > >                         'Log reaction time and response for each key press. >                         c.SetAttrib "KeyPress" & 1 & "RT", theKeyboardResponseData.RT >                         c.SetAttrib "KeyPress" & 1 & "RESP", theKeyboardResponseData.RESP > > So, it may be that something here say to next coming object (which is > totaly different and named PA) to count only one response? > > On Apr 28, 10:27 am, gilis wrote: > > > > > > > Hi, > > > In part of my experiment, in which the experimenter is present in the > > room all along of it and he/she is the one to log the participant's > > answer (numbers) in a case that the participant made incorrect > > response, I have to log two keyboard responses from the same slide > > object. It should be very easy, I increased the max count to 2, set > > the duration to infinite and data logging to standart. The problem is > > that the slide object only log the first response and that the > > computer goes to the next object right after it-without waiting for > > the second. I can't post here my experiment script, but does anyone > > have any idea what may be causing it? > > > Regards > > Gilis > > > -- > > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en.- Hide quoted text - > > - Show quoted text - -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From giladsabo at gmail.com Thu Apr 29 09:42:10 2010 From: giladsabo at gmail.com (gilis) Date: Thu, 29 Apr 2010 02:42:10 -0700 Subject: Getting different images at the same size Message-ID: Hello, I use different stimuli and flankers in my experiment (JPG files) and I want the computer to a. download the different stimuli at the same specific size exactly (e.g., 2 visual degrees), and the same thing for the flankers (can be done accurately enough with photoshop-if so, I will return to it). b. that the distance between flankers and stimuli will allways be the same (I have flanker above and below the stimuli). How can it be done? Regards Gilis -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Michiel.Spape at nottingham.ac.uk Thu Apr 29 14:29:31 2010 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Thu, 29 Apr 2010 15:29:31 +0100 Subject: Getting different images at the same size In-Reply-To: <9b9cf3b7-66ad-443b-b99d-6ec5eca693d2@o11g2000yqj.googlegroups.com> Message-ID: Hi Gilis, You seem to consistently come up with odd 'problems'! Anyway, what do you mean, 'download'? Most image search-engines don't specifically search for X pixels (usually a broader range), let alone X visual degrees. But I guess that's not really the problem, so, more seriously: what exactly is the problem? You have a slide, you know the size of your images (right click in explorer, go for summary tab, size known, therefore visual degrees can be calculated), you dump the targets and flankers at specific points (X and Y properties), and therefore can fully predict whether they'd be shown at the same distance. I.e., if your pictures are 100 x 100 pixels, and you have three images on one slide, the centre one being the target, just use an attribute to set the Y at 190, 240 and 290 pixels and you know that they appear at exactly those points on the screen, 50 pixels apart from one another (given a resolution of 640 x 480). Am I missing something? Also, MSPAINT gives pixel-accurate coordinates (to the lower right, if memory serves) for cutting and pasting, should they be too large (at least, I find mspaint to be really convenient for that) Best, Mich Michiel Spapé Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of gilis Sent: 29 April 2010 10:42 To: E-Prime Subject: Getting different images at the same size Hello, I use different stimuli and flankers in my experiment (JPG files) and I want the computer to a. download the different stimuli at the same specific size exactly (e.g., 2 visual degrees), and the same thing for the flankers (can be done accurately enough with photoshop-if so, I will return to it). b. that the distance between flankers and stimuli will allways be the same (I have flanker above and below the stimuli). How can it be done? Regards Gilis -- 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 this group at http://groups.google.com/group/e-prime?hl=en. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From roccorocks5 at yahoo.com Thu Apr 29 20:56:21 2010 From: roccorocks5 at yahoo.com (neuropsych76) Date: Thu, 29 Apr 2010 13:56:21 -0700 Subject: Adding a visual basic script into E-Prime Message-ID: So part of my experiment, I want to have the Monty Hall Problem. I've found some VB scripts of the Monty Hall problem but I'm not sure how I would put them into E-Prime as an inline script. Would I be able to copy and paste a script and just make some edits or would I have to start from scratch? Thank you for any help or advice! ps something like the script from this link http://www.vbforums.com/showthread.php?t=609731 -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Thu Apr 29 21:25:07 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 29 Apr 2010 17:25:07 -0400 Subject: Adding a visual basic script into E-Prime In-Reply-To: <6e2be7c4-0d8f-4b69-9dff-a12843613ac3@i10g2000yqh.googlegro ups.com> Message-ID: Without going into great detail, although E-Prime does derive from Visual Basic for Applications, it provides a highly customized and specialized platform (otherwise there would be no point to using it instead of straight VB). IOW, it is rather more (and less) than just a VB platform with an added library of routines. So you cannot simply copy & paste VB code and expect it to work. In particular, the code that you reference contains a class definition, and the geniuses at PST do not allow us to define our own custom classes in E-Basic . BTW, I don't know why everybody calls this "script" instead of "code", *especially* when referring to straight VB instead of E-Basic -- I have read through several VB books, the word "script" never appears there and they uniformly refer to "code" (just like at the link that you posted). -- David McFarlane, Professional Faultfinder >So part of my experiment, I want to have the Monty Hall Problem. I've >found some VB scripts of the Monty Hall problem but I'm not sure how I >would put them into E-Prime as an inline script. > >Would I be able to copy and paste a script and just make some edits or >would I have to start from scratch? > >Thank you for any help or advice! > >ps something like the script from this link > >http://www.vbforums.com/showthread.php?t=609731 -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From roccorocks5 at yahoo.com Thu Apr 29 22:14:42 2010 From: roccorocks5 at yahoo.com (neuropsych76) Date: Thu, 29 Apr 2010 15:14:42 -0700 Subject: Adding a visual basic script into E-Prime In-Reply-To: <4bd9f93d.5944f10a.79a1.ffff8bb1SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Thank you for your reply. So would looking at VB code help at all? Would I have to program the problem from scratch? I do not know much code so would something like the Monty Hall problem be possible with minimal code? On Apr 29, 5:25 pm, David McFarlane wrote: > Without going into great detail, although E-Prime does derive from > Visual Basic for Applications, it provides a highly customized and > specialized platform (otherwise there would be no point to using it > instead of straight VB).  IOW, it is rather more (and less) than just > a VB platform with an added library of routines.  So you cannot > simply copy & paste VB code and expect it to work.  In particular, > the code that you reference contains a class definition, and the > geniuses at PST do not allow us to define our own custom classes in > E-Basic . > > > BTW, I don't know why everybody calls this "script" instead of > "code", *especially* when referring to straight VB instead of E-Basic > -- I have read through several VB books, the word "script" never > appears there and they uniformly refer to "code" (just like at the > link that you posted). > > > -- David McFarlane, Professional Faultfinder > > >So part of my experiment, I want to have the Monty Hall Problem. I've > >found some VB scripts of the Monty Hall problem but I'm not sure how I > >would put them into E-Prime as an inline script. > > >Would I be able to copy and paste a script and just make some edits or > >would I have to start from scratch? > > >Thank you for any help or advice! > > >ps something like the script from this link > > >http://www.vbforums.com/showthread.php?t=609731 > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Thu Apr 29 22:51:17 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 29 Apr 2010 18:51:17 -0400 Subject: Adding a visual basic script into E-Prime In-Reply-To: <209f2090-75a8-420d-84dd-a30c64351397@c11g2000vbe.googlegro ups.com> Message-ID: Sorry, I should have been a bit more clear and emphatic. Once again, although E-Prime does derive from VB, EP is an entirely different beast, entailing a completely different programming design structure, and there is absolutely no sense at all in making something in E-Prime unless you build it fresh from the ground up according to E-Prime style. Any code you have may help somewhat in laying out the general logic of your task, and then you have to take it from there. In any case (aside from reusing well-designed routine libraries) you should *never* take anyone else's code wholesale (we had a student lose 2.5 years of dissertation research because of such a mistake), you should always fully understand whatever code you are porting to the point that you could recode it from first principles. BTW, I took another look at that code sample, and it is clearly labelled as something that does not even work. So why would you start from broken code in the first place? I highly recommend that you 1) decide on a programming platform that suits you, 2) carefully think through your task design, and then 3) program that design in the chosen platform. If you are not up to that then perhaps you should hire some professional help. OK, I'm late getting home and tonight is Survivor night... -- David McFarlane, Professional Faultfinder At 4/29/2010 06:14 PM Thursday, you wrote: >Thank you for your reply. > >So would looking at VB code help at all? Would I have to program the >problem from scratch? >I do not know much code so would something like the Monty Hall problem >be possible with minimal code? > >On Apr 29, 5:25 pm, David McFarlane wrote: > > Without going into great detail, although E-Prime does derive from > > Visual Basic for Applications, it provides a highly customized and > > specialized platform (otherwise there would be no point to using it > > instead of straight VB). IOW, it is rather more (and less) than just > > a VB platform with an added library of routines. So you cannot > > simply copy & paste VB code and expect it to work. In particular, > > the code that you reference contains a class definition, and the > > geniuses at PST do not allow us to define our own custom classes in > > E-Basic . > > > > > > BTW, I don't know why everybody calls this "script" instead of > > "code", *especially* when referring to straight VB instead of E-Basic > > -- I have read through several VB books, the word "script" never > > appears there and they uniformly refer to "code" (just like at the > > link that you posted). > > > > > > -- David McFarlane, Professional Faultfinder > > > > >So part of my experiment, I want to have the Monty Hall Problem. I've > > >found some VB scripts of the Monty Hall problem but I'm not sure how I > > >would put them into E-Prime as an inline script. > > > > >Would I be able to copy and paste a script and just make some edits or > > >would I have to start from scratch? > > > > >Thank you for any help or advice! > > > > >ps something like the script from this link > > > > >http://www.vbforums.com/showthread.php?t=609731 -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From jiangdan19851130 at hotmail.com Fri Apr 30 10:14:41 2010 From: jiangdan19851130 at hotmail.com (dan dan) Date: Fri, 30 Apr 2010 03:14:41 -0700 Subject: counter-balance history Message-ID: Hi all, I am trying to counter-balance the history of all my trials for an fMRI study I have 4 conditions, and each condition will be repeated 6 times in each run, and there are 4 runs in total (so there will be 4*6*4=96 trials in total). I want all of the trials for each participant to be counter-balanced. I have tried the counter-balance command from e-prime but it doesn't seem to be the counter-balance that we are thinking of. Could anybody help with the script for doing this. Or point me in the direction of how to start working this out. The other options I have thought of is setting up the counter-balance order in excel an then importing this into e-prime, but I ma not sure how to do these either. Thanks for any help you can provide. Dan Dan -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From giladsabo at gmail.com Fri Apr 30 13:33:55 2010 From: giladsabo at gmail.com (gilis) Date: Fri, 30 Apr 2010 06:33:55 -0700 Subject: Getting different images at the same size In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF0334A8DB@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: No, you missed nothing-I do. You are also correct that many times I ask trivial questions-but hey, many times this great forum (and you!) helped me. Regards Gili On Apr 29, 5:29 pm, Michiel Spape wrote: > Hi Gilis, > You seem to consistently come up with odd 'problems'! Anyway, what do you mean, 'download'? Most image search-engines don't specifically search for X pixels (usually a broader range), let alone X visual degrees. > But I guess that's not really the problem, so, more seriously: what exactly is the problem? You have a slide, you know the size of your images (right click in explorer, go for summary tab, size known, therefore visual degrees can be calculated), you dump the targets and flankers at specific points (X and Y properties), and therefore can fully predict whether they'd be shown at the same distance. I.e., if your pictures are 100 x 100 pixels, and you have three images on one slide, the centre one being the target, just use an attribute to set the Y at 190, 240 and 290 pixels and you know that they appear at exactly those points on the screen, 50 pixels apart from one another (given a resolution of 640 x 480). Am I missing something? > > Also, MSPAINT gives pixel-accurate coordinates (to the lower right, if memory serves) for cutting and pasting, should they be too large (at least, I find mspaint to be really convenient for that) > Best, > Mich > > Michiel Spapé > Research Fellow > Perception & Action group > University of Nottingham > School of Psychology > > > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of gilis > Sent: 29 April 2010 10:42 > To: E-Prime > Subject: Getting different images at the same size > > Hello, > > I use different stimuli and flankers in my experiment (JPG files) and > I want the computer to a. download the different stimuli at the same > specific size exactly (e.g., 2 visual degrees), and the same thing for > the  flankers (can be done accurately enough with photoshop-if so, I > will return to it). b. that the distance between flankers and stimuli > will allways be the same (I have flanker above and below the stimuli). > How can it be done? > > Regards > Gilis > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en.- Hide quoted text - > > - Show quoted text - -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Michiel.Spape at nottingham.ac.uk Fri Apr 30 13:50:05 2010 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Fri, 30 Apr 2010 14:50:05 +0100 Subject: Getting different images at the same size In-Reply-To: <5ab9c772-5072-45e5-9366-6f3dd5fa6dca@y36g2000yqm.googlegroups.com> Message-ID: Hiya, Not trivial as such, but weird... I mean the other day you sent three pages of code, and not of the level we typically get here, to say the least, and if you compare that one with this one... well. I guess you are more comfortable in coding, in general, than in E-Prime as such? Anyway, no problem of course, and to make this message worthwhile for everybody, I wish you all a good weekend in advance! Best, Mich Michiel Spapé Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of gilis Sent: 30 April 2010 14:34 To: E-Prime Subject: Re: Getting different images at the same size No, you missed nothing-I do. You are also correct that many times I ask trivial questions-but hey, many times this great forum (and you!) helped me. Regards Gili On Apr 29, 5:29 pm, Michiel Spape wrote: > Hi Gilis, > You seem to consistently come up with odd 'problems'! Anyway, what do you mean, 'download'? Most image search-engines don't specifically search for X pixels (usually a broader range), let alone X visual degrees. > But I guess that's not really the problem, so, more seriously: what exactly is the problem? You have a slide, you know the size of your images (right click in explorer, go for summary tab, size known, therefore visual degrees can be calculated), you dump the targets and flankers at specific points (X and Y properties), and therefore can fully predict whether they'd be shown at the same distance. I.e., if your pictures are 100 x 100 pixels, and you have three images on one slide, the centre one being the target, just use an attribute to set the Y at 190, 240 and 290 pixels and you know that they appear at exactly those points on the screen, 50 pixels apart from one another (given a resolution of 640 x 480). Am I missing something? > > Also, MSPAINT gives pixel-accurate coordinates (to the lower right, if memory serves) for cutting and pasting, should they be too large (at least, I find mspaint to be really convenient for that) > Best, > Mich > > Michiel Spapé > Research Fellow > Perception & Action group > University of Nottingham > School of Psychology > > > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of gilis > Sent: 29 April 2010 10:42 > To: E-Prime > Subject: Getting different images at the same size > > Hello, > > I use different stimuli and flankers in my experiment (JPG files) and > I want the computer to a. download the different stimuli at the same > specific size exactly (e.g., 2 visual degrees), and the same thing for > the  flankers (can be done accurately enough with photoshop-if so, I > will return to it). b. that the distance between flankers and stimuli > will allways be the same (I have flanker above and below the stimuli). > How can it be done? > > Regards > Gilis > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en.- Hide quoted text - > > - Show quoted text - -- 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 this group at http://groups.google.com/group/e-prime?hl=en. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. From ash2003raff at yahoo.com Thu Apr 1 09:11:08 2010 From: ash2003raff at yahoo.com (ashraf) Date: Thu, 1 Apr 2010 02:11:08 -0700 Subject: stimulus location In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF03088CA0@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: on a 38-cm computer screen placed 60 cm away from the subjects.. The task display consisted of a circle (2.6? radius) of six letters centered at fixation, plus a peripheral distractor letter, presented to the left or right of the circle,? 4 away from fixation.. Each of the circle letters subtended 1.5? by ?1.1 , and the distractor letter subtended ?1.8by ?1.4. circle contained one target, and subjects were instructed to indicate which of the target letters was present in the circle by pressing either the ??0?? or the ??2?? key on the numerical pad of the computer as quickly as possible .Is this radius is suitable from the perspective of visual acuity On 31 ????, 12:06, Michiel Spape wrote: > Hi, > Okay, so the question is whether one would be able to read a 2.5 degrees letter that is placed 2.5 degrees from fixation? So, unless my calculations are horribly off, that is 2.19 cm (about an inch, for imperial readers) given a distance to the screen of about 50 cm, right (quite possibly wrong)? If I got this right, anyway, and given that you use such a large letter, I see no reason why someone wouldn't be able to read it, as long as the letter in question is Latin or a similar simple script. > > Here's the relevant part of the user guide (p A-34), for those wondering: > "The location of the stimulus can have a powerful effect on both RT and error rates. ?Visual acuity > drops quickly as stimuli are moved away from the fovea?the narrow area of vision straight ahead > that is about 2? wide. ?A person with 20/20 vision in the fovea will typically have about 20/80 > vision 2.5? from straight-ahead. ?At 10? from straight ahead most people have worse than 20/300 > vision. ?To put this in perspective, at a viewing distance of 57 cm (22.5?), each centimeter is about > 1? of visual angle, so a letter displayed 2.5 cm (about 1?) from fixation will be seen quite poorly." > > ... but that depends rather on the size of the letter - whether it is 'seen' quite poorly. Furthermore, there's plenty of paradigms where seeing things quite poorly is exactly what you'd want (subliminal or near-subliminal priming, for instance) and in other cases, eye-movements are permitted (visual search, usually). What's the paradigm you're working on? > Best, > Mich (not natively from Notts) > > Michiel Spap? > Research Fellow > Perception & Action group > University of Nottingham > School of Psychology > > > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of ashraf > Sent: 30 March 2010 23:58 > To: E-Prime > Subject: Re: stimulus location > > I'm sorry, I'm not a native English speaker , my first Arab. > My question is about the suitable radius of a circle of letters to be > seen very well from the perspective of visual acuity. > > On 30 ????, 18:07, Michiel Spape > wrote: > > Sorry, I missed a line in there! > > > "visual angle from fixation will seen Quit poorly,Is this mean ,that" > > > Though it didn't really affect the conclusion. > > > Michiel Spap? > > Research Fellow > > Perception & Action group > > University of Nottingham > > School of Psychology > > > -----Original Message----- > > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Michiel Spape > > Sent: 30 March 2010 16:47 > > To: e-prime at googlegroups.com > > Subject: RE: stimulus location > > > Your inline would work better if you correct the syntax: > > > Hi group, > > I read in the e-prime user guide, in appendix B on page 34 - considering the stimulus location - that displaying a circle at a visual angle of 2.5 degrees from a central fixation letter, its radius must be greater than 2.5 degrees. Otherwise, it will not be suitably large enough to study attention. > > > ...but I might be completely wrong in thinking this is what you're saying. If, however, it is, the answer is, as Jens says, no. To expand on that, it makes little sense from a psychological point of view. Since I find it unlikely you were asking this, however, I'll not go much farther than Jens and will merely ask you, again, to take a course in English and/or (presumably and) install a spelling check on your system. My apologies if this sounds pedantic, I'm not being a spelling-nazi, it's just that your wording can only be understood by someone with para-semantic skills > > Best, > > Mich > > > Michiel Spap? > > Research Fellow > > Perception & Action group > > University of Nottingham > > School of Psychology > > > -----Original Message----- > > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of ashraf > > Sent: 30 March 2010 04:27 > > To: E-Prime > > Subject: stimulus location > > > ?,hi groub,I red > > ? ?in e-prime user Guide In appendix B,consideration in research > > about ? Stimulus Location P.34 that ,a letter displayed 2.5 degrees of > > visual angle from fixation will seen Quit poorly,Is this mean ,that > > any circle of stimilus in e-prime,its radius greater than2.5 ?degrees > > of visual angle will not be suitable to study attention > > > -- > > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > > This message has been checked for viruses but the contents of an attachment > > may still contain software viruses which could damage your computer system: > > you are advised to perform your own checks. Email communications with the > > University of Nottingham may be monitored as permitted by UK legislation. > > > -- > > 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 this group athttp://groups.google.com/group/e-prime?hl=en.-????? ???? ??????? - > > > - ??? ???? ??????? - > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en.- ????? ???? ??????? - > > - ??? ???? ??????? - -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From jens.bernhardsson at gmail.com Thu Apr 1 09:36:12 2010 From: jens.bernhardsson at gmail.com (jens) Date: Thu, 1 Apr 2010 02:36:12 -0700 Subject: Trouble playing sound files In-Reply-To: <34d2d398-6baa-499e-96ce-ca1fd0680a96@x12g2000yqx.googlegroups.com> Message-ID: Hello The sound files are all in .wav file format? They are placed in the same folder as the experiment? /Jens On 31 mar, 21:02, Hannah Witherstone wrote: > I am very new to E-Prime so please bare with me! > > I have run through the 'getting started' manual and all of the > tutorials within. ?I have successfully completed Tutorial 2 which > pairs the sound files 'Bob' and 'Linda' with images. > > I need to create my own experiment which pairs a static image with a > sentence (will more than likely be recorded in .mp3 format), to which > the participant has to press the space bar when they hear a key word > within the sentence. ?I need the reaction time (in ms) to this target > word. > > For some reason I cannot get E-Prime to run my own sound files. ?I can > make my own experiment and use the Bob and Linda .wav files provided > with E-Prime, but when I try and substitute these file names for > anything else the experiment crashes. ?I get varying error messages, > all relating to the script line: ?"Slide1_SoundBuffer.Load". ?The most > common error message is: > > Run-time Error (Line 263) > 18005: Cannot load sound file "hello.wav" > Mismatched or invalid block alignment > > I *think* this is due to the sound file format set-up in the > Experiment Object Properties (where you can select channels, samples > and bits per sample). ?I have tried every possible combination in this > section and still cannot get my files to play. ?This is the case when > I use various .mp3, .wma and .wav formats. ?I can play all of the > files fine through my laptop, so I know the sound files are OK. > > Any help would be much appreciated as the manual is of no use! > > Hannah -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From h.witherstone at googlemail.com Thu Apr 1 09:43:42 2010 From: h.witherstone at googlemail.com (Hannah Witherstone) Date: Thu, 1 Apr 2010 02:43:42 -0700 Subject: Trouble playing sound files In-Reply-To: Message-ID: Thanks for the reply. I have tried .wav, as well as .mp3 which is my preferred format. Yes, all the sound files are in the same folder as the experiment. Hannah On Apr 1, 10:36?am, jens wrote: > Hello > > The sound files are all in .wav file format? > They are placed in the same folder as the experiment? > > /Jens > > On 31 mar, 21:02, Hannah Witherstone > wrote: > > > I am very new to E-Prime so please bare with me! > > > I have run through the 'getting started' manual and all of the > > tutorials within. ?I have successfully completed Tutorial 2 which > > pairs the sound files 'Bob' and 'Linda' with images. > > > I need to create my own experiment which pairs a static image with a > > sentence (will more than likely be recorded in .mp3 format), to which > > the participant has to press the space bar when they hear a key word > > within the sentence. ?I need the reaction time (in ms) to this target > > word. > > > For some reason I cannot get E-Prime to run my own sound files. ?I can > > make my own experiment and use the Bob and Linda .wav files provided > > with E-Prime, but when I try and substitute these file names for > > anything else the experiment crashes. ?I get varying error messages, > > all relating to the script line: ?"Slide1_SoundBuffer.Load". ?The most > > common error message is: > > > Run-time Error (Line 263) > > 18005: Cannot load sound file "hello.wav" > > Mismatched or invalid block alignment > > > I *think* this is due to the sound file format set-up in the > > Experiment Object Properties (where you can select channels, samples > > and bits per sample). ?I have tried every possible combination in this > > section and still cannot get my files to play. ?This is the case when > > I use various .mp3, .wma and .wav formats. ?I can play all of the > > files fine through my laptop, so I know the sound files are OK. > > > Any help would be much appreciated as the manual is of no use! > > > Hannah -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Michiel.Spape at nottingham.ac.uk Thu Apr 1 10:13:00 2010 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Thu, 1 Apr 2010 11:13:00 +0100 Subject: Trouble playing sound files In-Reply-To: <34d2d398-6baa-499e-96ce-ca1fd0680a96@x12g2000yqx.googlegroups.com> Message-ID: Hi, There's no need to 'try every combination'. Go to Windows Explorer, look up your audio file, right click, properties, and see summary. At least, if you use windows XP, you see everything of interest there: sample rate (22 kHz or 44.1 kHz), Channels (1 or 2). Your audio file is most likely to be the problem, especially if it has a funky sample-rate (24 bit for instance), or sample-rate (say 48 kHz for instance, if you took it from a DVD), or number of channels (if it'd be surround sound). So, first, what you need to do is edit your sound files using a decent editor, such as CoolEdit (my preferred one), nowadays called Adobe Audition (the bloat-ware adobe version) - you can find free trials on the web. Audacity is also okay, though not always very stable. Anyway, make sure you save it as windows PCM wave format (.wav), and notice the sample-rat and bitrate. Convert the files to a format any piece of software will understand: 44.1 Khz, 16 bit, stereo (cd quality - you might try something lower for timing, but lossy sound isn't brilliant either). E-Prime will only work with wave files, forget about all other formats (unless you work at the frauenhofer institut). After that, start E-Prime, make an empty experiment and start with a single soundout object. Copy the file you made earlier in your experiment folder, browse to this file in the soundout filename property. Lastly, make sure the maxlength is greater than the number of milliseconds of your longest sample. There's a detailed explanation on audio samples in e-prime and beyond in the infamous http://www.cognitology.eu/pubs/AnE-Primer2009.pdf Let me know if this helped any! Mich Michiel Spap? Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Hannah Witherstone Sent: 31 March 2010 20:02 To: E-Prime Subject: Trouble playing sound files I am very new to E-Prime so please bare with me! I have run through the 'getting started' manual and all of the tutorials within. I have successfully completed Tutorial 2 which pairs the sound files 'Bob' and 'Linda' with images. I need to create my own experiment which pairs a static image with a sentence (will more than likely be recorded in .mp3 format), to which the participant has to press the space bar when they hear a key word within the sentence. I need the reaction time (in ms) to this target word. For some reason I cannot get E-Prime to run my own sound files. I can make my own experiment and use the Bob and Linda .wav files provided with E-Prime, but when I try and substitute these file names for anything else the experiment crashes. I get varying error messages, all relating to the script line: "Slide1_SoundBuffer.Load". The most common error message is: Run-time Error (Line 263) 18005: Cannot load sound file "hello.wav" Mismatched or invalid block alignment I *think* this is due to the sound file format set-up in the Experiment Object Properties (where you can select channels, samples and bits per sample). I have tried every possible combination in this section and still cannot get my files to play. This is the case when I use various .mp3, .wma and .wav formats. I can play all of the files fine through my laptop, so I know the sound files are OK. Any help would be much appreciated as the manual is of no use! Hannah -- 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 this group at http://groups.google.com/group/e-prime?hl=en. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From jens.bernhardsson at gmail.com Thu Apr 1 12:21:20 2010 From: jens.bernhardsson at gmail.com (jens) Date: Thu, 1 Apr 2010 05:21:20 -0700 Subject: stimulus location In-Reply-To: <853e5cf3-5aa5-4234-a0ca-a8e7f9993a97@30g2000yqi.googlegroups.com> Message-ID: http://www.tedmontgomery.com/the_eye/acuity.html Do the math /Jens On 1 Apr, 11:11, ashraf wrote: > on a 38-cm computer screen placed 60 cm away from the > subjects.. The task display consisted of > a circle (2.6? radius) of six letters centered at fixation, plus a > peripheral distractor letter, presented to the left or right of the > circle,? 4 away from fixation.. Each of the > circle letters subtended 1.5? by ?1.1 , and the distractor letter > subtended ?1.8by ?1.4. > circle contained one target, and subjects were instructed to indicate > which of the target letters was present in the circle by > pressing either the ??0?? or the ??2?? key on the numerical pad of the > computer as quickly as possible .Is this radius is suitable from the > perspective of visual acuity > > On 31 ????, 12:06, Michiel Spape > wrote: > > > Hi, > > Okay, so the question is whether one would be able to read a 2.5 degrees letter that is placed 2.5 degrees from fixation? So, unless my calculations are horribly off, that is 2.19 cm (about an inch, for imperial readers) given a distance to the screen of about 50 cm, right (quite possibly wrong)? If I got this right, anyway, and given that you use such a large letter, I see no reason why someone wouldn't be able to read it, as long as the letter in question is Latin or a similar simple script. > > > Here's the relevant part of the user guide (p A-34), for those wondering: > > "The location of the stimulus can have a powerful effect on both RT and error rates. ?Visual acuity > > drops quickly as stimuli are moved away from the fovea?the narrow area of vision straight ahead > > that is about 2? wide. ?A person with 20/20 vision in the fovea will typically have about 20/80 > > vision 2.5? from straight-ahead. ?At 10? from straight ahead most people have worse than 20/300 > > vision. ?To put this in perspective, at a viewing distance of 57 cm (22.5?), each centimeter is about > > 1? of visual angle, so a letter displayed 2.5 cm (about 1?) from fixation will be seen quite poorly." > > > ... but that depends rather on the size of the letter - whether it is 'seen' quite poorly. Furthermore, there's plenty of paradigms where seeing things quite poorly is exactly what you'd want (subliminal or near-subliminal priming, for instance) and in other cases, eye-movements are permitted (visual search, usually). What's the paradigm you're working on? > > Best, > > Mich (not natively from Notts) > > > Michiel Spap? > > Research Fellow > > Perception & Action group > > University of Nottingham > > School of Psychology > > > -----Original Message----- > > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of ashraf > > Sent: 30 March 2010 23:58 > > To: E-Prime > > Subject: Re: stimulus location > > > I'm sorry, I'm not a native English speaker , my first Arab. > > My question is about the suitable radius of a circle of letters to be > > seen very well from the perspective of visual acuity. > > > On 30 ????, 18:07, Michiel Spape > > wrote: > > > Sorry, I missed a line in there! > > > > "visual angle from fixation will seen Quit poorly,Is this mean ,that" > > > > Though it didn't really affect the conclusion. > > > > Michiel Spap? > > > Research Fellow > > > Perception & Action group > > > University of Nottingham > > > School of Psychology > > > > -----Original Message----- > > > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Michiel Spape > > > Sent: 30 March 2010 16:47 > > > To: e-prime at googlegroups.com > > > Subject: RE: stimulus location > > > > Your inline would work better if you correct the syntax: > > > > Hi group, > > > I read in the e-prime user guide, in appendix B on page 34 - considering the stimulus location - that displaying a circle at a visual angle of 2.5 degrees from a central fixation letter, its radius must be greater than 2.5 degrees. Otherwise, it will not be suitably large enough to study attention. > > > > ...but I might be completely wrong in thinking this is what you're saying. If, however, it is, the answer is, as Jens says, no. To expand on that, it makes little sense from a psychological point of view. Since I find it unlikely you were asking this, however, I'll not go much farther than Jens and will merely ask you, again, to take a course in English and/or (presumably and) install a spelling check on your system. My apologies if this sounds pedantic, I'm not being a spelling-nazi, it's just that your wording can only be understood by someone with para-semantic skills > > > Best, > > > Mich > > > > Michiel Spap? > > > Research Fellow > > > Perception & Action group > > > University of Nottingham > > > School of Psychology > > > > -----Original Message----- > > > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of ashraf > > > Sent: 30 March 2010 04:27 > > > To: E-Prime > > > Subject: stimulus location > > > > ?,hi groub,I red > > > ? ?in e-prime user Guide In appendix B,consideration in research > > > about ? Stimulus Location P.34 that ,a letter displayed 2.5 degrees of > > > visual angle from fixation will seen Quit poorly,Is this mean ,that > > > any circle of stimilus in e-prime,its radius greater than2.5 ?degrees > > > of visual angle will not be suitable to study attention > > > > -- > > > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > > > This message has been checked for viruses but the contents of an attachment > > > may still contain software viruses which could damage your computer system: > > > you are advised to perform your own checks. Email communications with the > > > University of Nottingham may be monitored as permitted by UK legislation. > > > > -- > > > 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 this group athttp://groups.google.com/group/e-prime?hl=en.-????? ???? ??????? - > > > > - ??? ???? ??????? - > > > -- > > 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 this group athttp://groups.google.com/group/e-prime?hl=en.-????? ???? ??????? - > > > - ??? ???? ??????? - -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Thu Apr 1 13:57:17 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 1 Apr 2010 09:57:17 -0400 Subject: Trouble playing sound files In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF03115EB6@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: Hannah, thanks for first going through the manual and making sure that at least the sound tutorial works, that is always the first step. As one of my longstanding troubleshooting mottoes goes, "Better to start from success than from failure." Now just a slight correction, Michiel Spape wrote: > E-Prime will only work with wave files, forget about all other > formats However, EP2 can use .mp3 and .wma sound files. Mich, for good cause, probably here refers to good old EP1, which indeed is limited to standard .wav files. Aside from that, I would follow Michiel's suggestions in full. You might also take this to PST's trained staff at http://support.pstnet.com/e%2Dprime/support/login.asp -- they strive to respond to all requests in 24-48 hours, and this is pretty much their substitute for proper documentation, so make full use of it. -- David McFarlane, Professional Faultfinder -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Michiel.Spape at nottingham.ac.uk Thu Apr 1 15:39:58 2010 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Thu, 1 Apr 2010 16:39:58 +0100 Subject: Trouble playing sound files In-Reply-To: <4BB4A63D.1030402@msu.edu> Message-ID: Hi David and Hannah, 'Hannah, thanks for first going through the manual and making sure that at least the sound tutorial works, that is always the first step. As one of my longstanding troubleshooting mottoes goes, "Better to start from success than from failure." Now just a slight correction, Michiel Spape wrote: > E-Prime will only work with wave files, forget about all other > formats However, EP2 can use .mp3 and .wma sound files. Mich, for good cause, probably here refers to good old EP1, which indeed is limited to standard .wav files.' It can? Blimey :) I would, however, be careful using these two standards for two reasons: 1. Due to both being compressed formats, I'd not be immediately sure whether their timing is handled properly by E-Prime 2. Actually, I've never been sure on that front by E-Prime 1 and .wav files (I've heard a number of audible plops related to cutting of files or buffering issues when I used 50 ms pre-buffered wav files with 10 ms fade-ins and outs). Nevertheless, professional audio software tends to convert such files into .wav (or .au, if you're on a mac) formats, presumably for related reasons (can't be too sure on that though). 2. Due to .wma and .mp3 being lossy formats, you will cope with degraded quality, never mind that (at higher bitrates) it may be only psycho-acoustically subliminally so. I tend to think that if you want scientific stimuli, you will always go for optimal stimuli; by their definition, lossy formats are not. But perhaps, this is just a tech-geek way of thinking, in the same way that I really like big CRT screens running at 200 Hz! Have a nice Easter, everyone! Cheers, Mich This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From h.witherstone at googlemail.com Sat Apr 3 17:51:01 2010 From: h.witherstone at googlemail.com (Hannah Witherstone) Date: Sat, 3 Apr 2010 10:51:01 -0700 Subject: Trouble playing sound files In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF03116044@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: You are all absolute Saints! All sorted: I had to convert to .wav using Audacity and change the sample rates in there - all files playing fine now. Thank you, Hannah On Apr 1, 4:39?pm, Michiel Spape wrote: > Hi David and Hannah, > > 'Hannah, thanks for first going through the manual and making sure that > at least the sound tutorial works, that is always the first step. ?As > one of my longstanding troubleshooting mottoes goes, "Better to start > from success than from failure." > > Now just a slight correction, Michiel Spape wrote: > > > E-Prime will only work with wave files, forget about all other > > formats > > However, EP2 can use .mp3 and .wma sound files. ?Mich, for good cause, > probably here refers to good old EP1, which indeed is limited to > standard .wav files.' > > It can? Blimey :) I would, however, be careful using these two standards > for two reasons: > 1. Due to both being compressed formats, I'd not be immediately sure > whether their timing is handled properly by E-Prime 2. Actually, I've > never been sure on that front by E-Prime 1 and .wav files (I've heard a > number of audible plops related to cutting of files or buffering issues > when I used 50 ms pre-buffered wav files with 10 ms fade-ins and outs). > Nevertheless, professional audio software tends to convert such files > into .wav (or .au, if you're on a mac) formats, presumably for related > reasons (can't be too sure on that though). > 2. Due to .wma and .mp3 being lossy formats, you will cope with degraded > quality, never mind that (at higher bitrates) it may be only > psycho-acoustically subliminally so. I tend to think that if you want > scientific stimuli, you will always go for optimal stimuli; by their > definition, lossy formats are not. But perhaps, this is just a tech-geek > way of thinking, in the same way that I really like big CRT screens > running at 200 Hz! > > Have a nice Easter, everyone! > Cheers, > Mich > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From carlynlds at gmail.com Tue Apr 6 22:03:07 2010 From: carlynlds at gmail.com (Carlyn Friedberg) Date: Tue, 6 Apr 2010 18:03:07 -0400 Subject: way for posts to be taken off the internet? Message-ID: Hi, Is there a way that my posts to this group can be taken off the internet? thank you, Carlyn -- Carlyn Friedberg Laboratory for Developmental Studies Harvard University carlyn at wjh.harvard.edu 617.384.8357 -- 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 this group at http://groups.google.com/group/e-prime?hl=en. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tiburona at gmail.com Wed Apr 7 23:45:04 2010 From: tiburona at gmail.com (tiburona) Date: Wed, 7 Apr 2010 16:45:04 -0700 Subject: user button press In-Reply-To: Message-ID: p.s. I would be overjoyed if someone could tell me how to do what I'm after without resorting to InLine, but I get the feeling that's not possible. On Apr 7, 6:41 pm, tiburona wrote: > Hi all, > > My ultimate goal is to present words on a page for the participant to > respond to, either via image or text, collect text input from > participants that they see on screen in an EchoClient, and > simultaneously display a "Next" button that participants can use to > advance to the next portion of the experiment when they are done > typing. I've managed the first two elements fine, but getting E Prime > to terminate a screen in response to a button press is eluding me. I > am new to E-Prime and near-hopeless with E-Basic (even though I have a > little programming experience). I will probably eventually resort to > some subobtimal solution, like using the tab key to advance to the > next screen, because I'm skeptical I'll be able to get this running, > but I thought I would try an initial query to the group. > > As a preliminary test, I set up a slide object (Slide2) with two > images (Image1 and Image2) on it. > > I based this code on sample code from PST: > > __________________________________________________ > > Dim theState as SlideState > Set theState = Slide2.States("Default") > > Dim strHit As String > Dim theMouseResponseData As MouseResponseData > > If Slide2.InputMasks.Responses.Count > 0 Then > > Set theMouseResponseData = > CMouseResponseData(Slide2.InputMasks.Responses(1)) > > strHit = theState.HitTest(theMouseResponseData.CursorX, > theMouseResponseData.CursorY) > > If strHit = "Image1" Then > Slide2.Stop > > End If > > Do Until (strHit = "Image1") > > Loop > > End If > > _____________________________________________________________ > > I tried placing it before and after the slide object in a Procedure, > but it didn't work either way (still not sure which is right). I was > wondering if someone could help me understand why. I'm trying to > build up to what I'm actually attempting from smaller bits. I have > found other sample code related to what I'm trying to do (for > instance, here:http://www.pstnet.com/forum/Topic4009-23-1.aspx?Highlight=HitTest) > but when I try to modify it it doesn't work either, so I figure maybe > if I start with a very simple unit I'd have a chance of building up > some understanding. > > Thanks very much, > Katie -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From tiburona at gmail.com Wed Apr 7 23:41:49 2010 From: tiburona at gmail.com (tiburona) Date: Wed, 7 Apr 2010 16:41:49 -0700 Subject: user button press Message-ID: Hi all, My ultimate goal is to present words on a page for the participant to respond to, either via image or text, collect text input from participants that they see on screen in an EchoClient, and simultaneously display a "Next" button that participants can use to advance to the next portion of the experiment when they are done typing. I've managed the first two elements fine, but getting E Prime to terminate a screen in response to a button press is eluding me. I am new to E-Prime and near-hopeless with E-Basic (even though I have a little programming experience). I will probably eventually resort to some subobtimal solution, like using the tab key to advance to the next screen, because I'm skeptical I'll be able to get this running, but I thought I would try an initial query to the group. As a preliminary test, I set up a slide object (Slide2) with two images (Image1 and Image2) on it. I based this code on sample code from PST: __________________________________________________ Dim theState as SlideState Set theState = Slide2.States("Default") Dim strHit As String Dim theMouseResponseData As MouseResponseData If Slide2.InputMasks.Responses.Count > 0 Then Set theMouseResponseData = CMouseResponseData(Slide2.InputMasks.Responses(1)) strHit = theState.HitTest(theMouseResponseData.CursorX, theMouseResponseData.CursorY) If strHit = "Image1" Then Slide2.Stop End If Do Until (strHit = "Image1") Loop End If _____________________________________________________________ I tried placing it before and after the slide object in a Procedure, but it didn't work either way (still not sure which is right). I was wondering if someone could help me understand why. I'm trying to build up to what I'm actually attempting from smaller bits. I have found other sample code related to what I'm trying to do (for instance, here: http://www.pstnet.com/forum/Topic4009-23-1.aspx?Highlight=HitTest) but when I try to modify it it doesn't work either, so I figure maybe if I start with a very simple unit I'd have a chance of building up some understanding. Thanks very much, Katie -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From tiburona at gmail.com Thu Apr 8 01:23:40 2010 From: tiburona at gmail.com (tiburona) Date: Wed, 7 Apr 2010 18:23:40 -0700 Subject: user button press In-Reply-To: <6808abd6-a301-49c1-b7fa-ef591d86b554@e7g2000yqf.googlegroups.com> Message-ID: Actually, reading this: http://groups.google.com/group/e-prime/browse_thread/thread/ab5a034086d67659 made me realize I could perhaps pull the same trick, and put two slides up in sequence, the first with 0 duration and infinite time limit that would take the mouse click and then jump to a label after both slides, the second with infinite duration and infinite time limit that would have the image with my sentence and the EchoClient that would allow the participant to time the response. in fact, maybe this layering isn't even necessary. Maybe I can have my keyboard EchoClient and my mouse button on the same SlideObject, and just set the "Allowable" response on the mouse to the "next button" Slide SubObject, and then choose terminate as the response. I'm only writing this so I can spare anyone helpful enough to answer me the trouble of outlining these elements of a solution in their response. (Incidentally, so far I am not having luck with the first method because I can't figure out how to refer to my image file in the "Allowable" box on the properties of the Mouse Input Mask. I tried imitating another E Studio experiment someone else in my lab did, and calling it [Target1] and then putting a Target1 attribute in the--I don't know the terminology here--parent list (?) for the procedure but it's giving me one of those "-999: Factor Error: Filename contains an invalid attribute"s.) On Apr 7, 6:45 pm, tiburona wrote: > p.s. I would be overjoyed if someone could tell me how to do what I'm > after without resorting to InLine, but I get the feeling that's not > possible. > > On Apr 7, 6:41 pm, tiburona wrote: > > > Hi all, > > > My ultimate goal is to present words on a page for the participant to > > respond to, either via image or text, collect text input from > > participants that they see on screen in an EchoClient, and > > simultaneously display a "Next" button that participants can use to > > advance to the next portion of the experiment when they are done > > typing. I've managed the first two elements fine, but getting E Prime > > to terminate a screen in response to a button press is eluding me. I > > am new to E-Prime and near-hopeless with E-Basic (even though I have a > > little programming experience). I will probably eventually resort to > > some subobtimal solution, like using the tab key to advance to the > > next screen, because I'm skeptical I'll be able to get this running, > > but I thought I would try an initial query to the group. > > > As a preliminary test, I set up a slide object (Slide2) with two > > images (Image1 and Image2) on it. > > > I based this code on sample code from PST: > > > __________________________________________________ > > > Dim theState as SlideState > > Set theState = Slide2.States("Default") > > > Dim strHit As String > > Dim theMouseResponseData As MouseResponseData > > > If Slide2.InputMasks.Responses.Count > 0 Then > > > Set theMouseResponseData = > > CMouseResponseData(Slide2.InputMasks.Responses(1)) > > > strHit = theState.HitTest(theMouseResponseData.CursorX, > > theMouseResponseData.CursorY) > > > If strHit = "Image1" Then > > Slide2.Stop > > > End If > > > Do Until (strHit = "Image1") > > > Loop > > > End If > > > _____________________________________________________________ > > > I tried placing it before and after the slide object in a Procedure, > > but it didn't work either way (still not sure which is right). I was > > wondering if someone could help me understand why. I'm trying to > > build up to what I'm actually attempting from smaller bits. I have > > found other sample code related to what I'm trying to do (for > > instance, here:http://www.pstnet.com/forum/Topic4009-23-1.aspx?Highlight=HitTest) > > but when I try to modify it it doesn't work either, so I figure maybe > > if I start with a very simple unit I'd have a chance of building up > > some understanding. > > > Thanks very much, > > Katie -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From neurodrum at gmail.com Thu Apr 8 16:12:27 2010 From: neurodrum at gmail.com (andrew hill) Date: Thu, 8 Apr 2010 09:12:27 -0700 Subject: response event to writeport oddities Message-ID: hi folks, any chance this makes sense to someone? i've been pulling my hair out metaphorically for a bit on this. i've got a trial procedure that mimics a typical CPT, e.g. an ImageDisplay that shows either a distractor or a target for 50ms, and then a fixation slide for most of the trial. in more detail: TrialProc: ---------------------- InLineStimMarker InLineResponse ImageDisplay (shows a stimulus requiring response or a distractor requiring nonresponse) InLineFixDuration (Fixation.Duration = random(950,1450) Fixation The InLineStimMarker does a : WritePort &H378, 0 ImageDisplay.OnsetSignalEnabled = True ImageDisplay.OffsetSignalEnabled = True ImageDisplay.OnsetSignalPort = &H378 ImageDisplay.OffSignalPort = &H378 and then a bunch of loops looking up a c.GetAttrib to figure out what the current stimulus type is, and set OnsetSignalData to a numerical value. this works great - sending in the codes as appropriate to BioSemi ActiveTwo, at the onset of each stimulus. the problem is with InLineResponse, which I've tried putting various places, and tried various code. what I want to do is look up the response accuracy, and put it in the EEG record at the time of the response. of course, since this is a CPT, most of the trials don't have a response, which is ok. the ones that do require pushing a keyboard button, and i'd like to code a 100/200 response accuracy into the EEG record when that button is pushed, but i'm not having any luck at all. i've tried something like this: If ImageDisplay.ACC = "1" Then Writeport &H378, 100 else Writeport &H378, 200 end if but that just puts the 100/200 codes at the time of stimulus image, and not at/during the response. any suggestions? thanks, andrew -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Michiel.Spape at nottingham.ac.uk Thu Apr 8 16:40:01 2010 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Thu, 8 Apr 2010 17:40:01 +0100 Subject: response event to writeport oddities In-Reply-To: <0363EBF1-0874-45CB-AEB3-38F52D4EEBEC@gmail.com> Message-ID: Hi, Without thinking too long about your problem, does it make any sense if, in my quick reading, your question basically boils down to that you want to send a serial message or whatnot at the time of both the stimulus and the response? I'd say there are some pretty easy ways of doing this, depending on whether you want the stimulus object to stay there once a button is pressed (I can imagine you don't): - how about using offsetsignaldata, as well as onset? But as said, you probably don't want that. Then, another quick way would be to add another slide that looks exactly as your imagedisplay, but sets in directly after the stimulus object is terminated and has duration of StimulusDisplayMaxDuration - RT. Thus, another slide shows exactly (just turn off onset sync) as the previous slide stops, unbeknownst to the subject. Obviously, this next slide you can then have send stuff over the serial port. Was that it, or did I miss something crucial? Sometimes, solutions can be pretty simple, though (I mean, I expect your problem is more complicated, but I wouldn't want you to waste precious time if you're just stuck on what might well be something very simple - a programming tip of the tongue phenomenon, so to speak)... Cheers, Mich Michiel Spap? Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of andrew hill Sent: 08 April 2010 17:12 To: e-prime at googlegroups.com Subject: response event to writeport oddities hi folks, any chance this makes sense to someone? i've been pulling my hair out metaphorically for a bit on this. i've got a trial procedure that mimics a typical CPT, e.g. an ImageDisplay that shows either a distractor or a target for 50ms, and then a fixation slide for most of the trial. in more detail: TrialProc: ---------------------- InLineStimMarker InLineResponse ImageDisplay (shows a stimulus requiring response or a distractor requiring nonresponse) InLineFixDuration (Fixation.Duration = random(950,1450) Fixation The InLineStimMarker does a : WritePort &H378, 0 ImageDisplay.OnsetSignalEnabled = True ImageDisplay.OffsetSignalEnabled = True ImageDisplay.OnsetSignalPort = &H378 ImageDisplay.OffSignalPort = &H378 and then a bunch of loops looking up a c.GetAttrib to figure out what the current stimulus type is, and set OnsetSignalData to a numerical value. this works great - sending in the codes as appropriate to BioSemi ActiveTwo, at the onset of each stimulus. the problem is with InLineResponse, which I've tried putting various places, and tried various code. what I want to do is look up the response accuracy, and put it in the EEG record at the time of the response. of course, since this is a CPT, most of the trials don't have a response, which is ok. the ones that do require pushing a keyboard button, and i'd like to code a 100/200 response accuracy into the EEG record when that button is pushed, but i'm not having any luck at all. i've tried something like this: If ImageDisplay.ACC = "1" Then Writeport &H378, 100 else Writeport &H378, 200 end if but that just puts the 100/200 codes at the time of stimulus image, and not at/during the response. any suggestions? thanks, andrew -- 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 this group at http://groups.google.com/group/e-prime?hl=en. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From neurodrum at gmail.com Thu Apr 8 16:51:24 2010 From: neurodrum at gmail.com (andrew hill) Date: Thu, 8 Apr 2010 09:51:24 -0700 Subject: response event to writeport oddities In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF03116697@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: thanks Michael, i'm not sure i understand your reply 100%, but thanks for it anyway :) one thing i didn't mention, is that my ImageDisplay object only displays for 50ms, but accepts input for 1000ms (to cover subject responses during most of the following Fixation object duration). are you suggesting another slide between ImageDisplay and Fixation, that "watches" for the response? if so, then i can probably just put the "InLineResponse" before the Fixation then. i'm not sure of how to code it.. something like this maybe? InLineResponse.Duration = ImageDisplay.RT If ImageDisplay.ACC = "1" Then Writeport &H378, 100 else Writeport &H378, 200 end if or am i barking up the wrong tree? thanks, andrew On Apr 8, 2010, at 9:40 AM, Michiel Spape wrote: > Hi, > Without thinking too long about your problem, does it make any sense if, in my quick reading, your question basically boils down to that you want to send a serial message or whatnot at the time of both the stimulus and the response? I'd say there are some pretty easy ways of doing this, depending on whether you want the stimulus object to stay there once a button is pressed (I can imagine you don't): > - how about using offsetsignaldata, as well as onset? > But as said, you probably don't want that. Then, another quick way would be to add another slide that looks exactly as your imagedisplay, but sets in directly after the stimulus object is terminated and has duration of StimulusDisplayMaxDuration - RT. Thus, another slide shows exactly (just turn off onset sync) as the previous slide stops, unbeknownst to the subject. Obviously, this next slide you can then have send stuff over the serial port. > > Was that it, or did I miss something crucial? Sometimes, solutions can be pretty simple, though (I mean, I expect your problem is more complicated, but I wouldn't want you to waste precious time if you're just stuck on what might well be something very simple - a programming tip of the tongue phenomenon, so to speak)... > Cheers, > Mich > > > Michiel Spap? > Research Fellow > Perception & Action group > University of Nottingham > School of Psychology > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of andrew hill > Sent: 08 April 2010 17:12 > To: e-prime at googlegroups.com > Subject: response event to writeport oddities > > hi folks, > > any chance this makes sense to someone? i've been pulling my hair out metaphorically for a bit on this. > > i've got a trial procedure that mimics a typical CPT, e.g. an ImageDisplay that shows either a distractor or a target for 50ms, and then a fixation slide for most of the trial. in more detail: > > TrialProc: > ---------------------- > InLineStimMarker > InLineResponse > ImageDisplay (shows a stimulus requiring response or a distractor requiring nonresponse) > InLineFixDuration (Fixation.Duration = random(950,1450) > Fixation > > The InLineStimMarker does a : > > WritePort &H378, 0 > ImageDisplay.OnsetSignalEnabled = True > ImageDisplay.OffsetSignalEnabled = True > ImageDisplay.OnsetSignalPort = &H378 > ImageDisplay.OffSignalPort = &H378 > > and then a bunch of loops looking up a c.GetAttrib to figure out what the current stimulus type is, and set OnsetSignalData to a numerical value. this works great - sending in the codes as appropriate to BioSemi ActiveTwo, at the onset of each stimulus. > > the problem is with InLineResponse, which I've tried putting various places, and tried various code. > > what I want to do is look up the response accuracy, and put it in the EEG record at the time of the response. of course, since this is a CPT, most of the trials don't have a response, which is ok. > > the ones that do require pushing a keyboard button, and i'd like to code a 100/200 response accuracy into the EEG record when that button is pushed, but i'm not having any luck at all. > > i've tried something like this: > > If ImageDisplay.ACC = "1" Then > Writeport &H378, 100 > else > Writeport &H378, 200 > end if > > but that just puts the 100/200 codes at the time of stimulus image, and not at/during the response. > > any suggestions? > > thanks, > andrew > > -- > 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 this group at http://groups.google.com/group/e-prime?hl=en. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > -- > 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 this group at http://groups.google.com/group/e-prime?hl=en. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Thu Apr 8 20:00:51 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 8 Apr 2010 16:00:51 -0400 Subject: user button press In-Reply-To: <83eff516-7f36-46ee-8859-229155809071@z3g2000yqz.googlegrou ps.com> Message-ID: Katie, Stock reminder: 1) I do not work for PST. 2) PST's trained staff takes 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 (although latest reports indicate more like 10 days) -- this is pretty much their substitute for proper documentation, so make full use of it. 3) If you do get an answer from PST Web Support, please extend the courtesy of posting their reply back here for the sake of others. That said, here is my take ... I can't go into full details, but here are a few hints that come to mind: 1) You will have to resort to inline code to do the Slide.HitTest. 2) I would probably use the main Slide to collect just the keyboard responses. I would use "extended input" (see Appendix C of the User's Guide that came with E-Prime) with a Duration of 0, increased MaxCount, EchoClient, etc. I would then follow the Slide with inline code to get the "Next" mouse click. 3) Unlike other input devices, you do not need an input mask to get mouse responses, see the MouseDevice topic in the online E-Basic Help. And because getting the "Next" might take several mouse clicks, I would get the mouse clicks directly (i.e., without an input mask) and use Slide.HitTest in a loop in inline code following the Slide. 4) In particular, your code Do Until (strHit = "Image1") Loop is an empty loop and will do nothing useful for you. You need to put the appropriate code inside that loop. Hope you find some help in that, -- David McFarlane, Professional Faultfinder "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." (Richard Feynman, Nobel prize-winning physicist) At 4/7/2010 09:23 PM Wednesday, you wrote: >Actually, reading this: > >http://groups.google.com/group/e-prime/browse_thread/thread/ab5a034086d67659 > >made me realize I could perhaps pull the same trick, and put two >slides up in sequence, the first with 0 duration and infinite time >limit that would take the mouse click and then jump to a label after >both slides, the second with infinite duration and infinite time limit >that would have the image with my sentence and the EchoClient that >would allow the participant to time the response. > >in fact, maybe this layering isn't even necessary. Maybe I can have >my keyboard EchoClient and my mouse button on the same SlideObject, >and just set the "Allowable" response on the mouse to the "next >button" Slide SubObject, and then choose terminate as the response. > >I'm only writing this so I can spare anyone helpful enough to answer >me the trouble of outlining these elements of a solution in their >response. > >(Incidentally, so far I am not having luck with the first method >because I can't figure out how to refer to my image file in the >"Allowable" box on the properties of the Mouse Input Mask. I tried >imitating another E Studio experiment someone else in my lab did, and >calling it [Target1] and then putting a Target1 attribute in the--I >don't know the terminology here--parent list (?) for the procedure but >it's giving me one of those "-999: Factor Error: Filename contains an >invalid attribute"s.) > > >On Apr 7, 6:45 pm, tiburona wrote: > > p.s. I would be overjoyed if someone could tell me how to do what I'm > > after without resorting to InLine, but I get the feeling that's not > > possible. > > > > On Apr 7, 6:41 pm, tiburona wrote: > > > > > Hi all, > > > > > My ultimate goal is to present words on a page for the participant to > > > respond to, either via image or text, collect text input from > > > participants that they see on screen in an EchoClient, and > > > simultaneously display a "Next" button that participants can use to > > > advance to the next portion of the experiment when they are done > > > typing. I've managed the first two elements fine, but getting E Prime > > > to terminate a screen in response to a button press is eluding me. I > > > am new to E-Prime and near-hopeless with E-Basic (even though I have a > > > little programming experience). I will probably eventually resort to > > > some subobtimal solution, like using the tab key to advance to the > > > next screen, because I'm skeptical I'll be able to get this running, > > > but I thought I would try an initial query to the group. > > > > > As a preliminary test, I set up a slide object (Slide2) with two > > > images (Image1 and Image2) on it. > > > > > I based this code on sample code from PST: > > > > > __________________________________________________ > > > > > Dim theState as SlideState > > > Set theState = Slide2.States("Default") > > > > > Dim strHit As String > > > Dim theMouseResponseData As MouseResponseData > > > > > If Slide2.InputMasks.Responses.Count > 0 Then > > > > > Set theMouseResponseData = > > > CMouseResponseData(Slide2.InputMasks.Responses(1)) > > > > > strHit = theState.HitTest(theMouseResponseData.CursorX, > > > theMouseResponseData.CursorY) > > > > > If strHit = "Image1" Then > > > Slide2.Stop > > > > > End If > > > > > Do Until (strHit = "Image1") > > > > > Loop > > > > > End If > > > > > _____________________________________________________________ > > > > > I tried placing it before and after the slide object in a Procedure, > > > but it didn't work either way (still not sure which is right). I was > > > wondering if someone could help me understand why. I'm trying to > > > build up to what I'm actually attempting from smaller bits. I have > > > found other sample code related to what I'm trying to do (for > > > instance, > here:http://www.pstnet.com/forum/Topic4009-23-1.aspx?Highlight=HitTest) > > > but when I try to modify it it doesn't work either, so I figure maybe > > > if I start with a very simple unit I'd have a chance of building up > > > some understanding. > > > > > Thanks very much, > > > Katie -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From tiburona at gmail.com Thu Apr 8 21:05:15 2010 From: tiburona at gmail.com (tiburona) Date: Thu, 8 Apr 2010 14:05:15 -0700 Subject: user button press In-Reply-To: <4bbe35f4.5244f10a.211e.10a4SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Thank you very much for your response, David. I actually managed to figure out the correct code around the time you were responding. Here it is for anyone in the future who might google this thread: 'Designate "theState" as the Default Slide State, which is the 'current, ActiveState on the Slide object "Stimulus" Dim theState as SlideState Set theState = Slide3.States("Default") Dim next_mX as Long, next_mY as Long Dim strHit As String Dim theMouseResponseData As MouseResponseData Do 'Was there a response? If Slide3.InputMasks.Responses.Count > 0 Then 'Get the mouse response Set theMouseResponseData = CMouseResponseData(Slide3.InputMasks.Responses(1)) 'Determine string name of SlideImage or SlideText object at 'mouse click coordinates. Assign that value to strHit strHit = theState.HitTest(theMouseResponseData.CursorX, theMouseResponseData.CursorY) 'Compare string name where mouse click occurred to CorrectAnswer 'attribute on each trial, and score response 'NOTE: This comparison is case sensitive If strHit = "Image1" Then GoTo Label2 End If End If Do Until (strHit = "Image1") ' capture & process further mouse clicks: If (Mouse.Buttons And ebMouseButton1) Then Mouse.GetCursorPos next_mX, next_mY strHit = theState.HitTest( next_mX, next_mY ) End If If strHit = "Image1" Then GoTo Label2 End If Loop Loop Until (strHit = "Image1") On Apr 8, 3:00 pm, David McFarlane wrote: > Katie, > > Stock reminder: 1) I do not work for PST. 2) PST's trained staff > takes any and all questions athttp://support.pstnet.com/e%2Dprime/support/login.asp, and they > strive to respond to all requests in 24-48 hours (although latest > reports indicate more like 10 days) -- this is pretty much their > substitute for proper documentation, so make full use of it. 3) If > you do get an answer from PST Web Support, please extend the courtesy > of posting their reply back here for the sake of others. > > That said, here is my take ... > > I can't go into full details, but here are a few hints that come to mind: > > 1) You will have to resort to inline code to do the Slide.HitTest. > > 2) I would probably use the main Slide to collect just the keyboard > responses. I would use "extended input" (see Appendix C of the > User's Guide that came with E-Prime) with a Duration of 0, increased > MaxCount, EchoClient, etc. I would then follow the Slide with inline > code to get the "Next" mouse click. > > 3) Unlike other input devices, you do not need an input mask to get > mouse responses, see the MouseDevice topic in the online E-Basic > Help. And because getting the "Next" might take several mouse > clicks, I would get the mouse clicks directly (i.e., without an input > mask) and use Slide.HitTest in a loop in inline code following the Slide. > > 4) In particular, your code > Do Until (strHit = "Image1") > Loop > is an empty loop and will do nothing useful for you. You need to put > the appropriate code inside that loop. > > Hope you find some help in that, > -- David McFarlane, Professional Faultfinder > "For a successful technology, reality must take precedence over > public relations, for nature cannot be fooled." (Richard Feynman, > Nobel prize-winning physicist) > > At 4/7/2010 09:23 PM Wednesday, you wrote: > > >Actually, reading this: > > >http://groups.google.com/group/e-prime/browse_thread/thread/ab5a03408... > > >made me realize I could perhaps pull the same trick, and put two > >slides up in sequence, the first with 0 duration and infinite time > >limit that would take the mouse click and then jump to a label after > >both slides, the second with infinite duration and infinite time limit > >that would have the image with my sentence and the EchoClient that > >would allow the participant to time the response. > > >in fact, maybe this layering isn't even necessary. Maybe I can have > >my keyboard EchoClient and my mouse button on the same SlideObject, > >and just set the "Allowable" response on the mouse to the "next > >button" Slide SubObject, and then choose terminate as the response. > > >I'm only writing this so I can spare anyone helpful enough to answer > >me the trouble of outlining these elements of a solution in their > >response. > > >(Incidentally, so far I am not having luck with the first method > >because I can't figure out how to refer to my image file in the > >"Allowable" box on the properties of the Mouse Input Mask. I tried > >imitating another E Studio experiment someone else in my lab did, and > >calling it [Target1] and then putting a Target1 attribute in the--I > >don't know the terminology here--parent list (?) for the procedure but > >it's giving me one of those "-999: Factor Error: Filename contains an > >invalid attribute"s.) > > >On Apr 7, 6:45 pm, tiburona wrote: > > > p.s. I would be overjoyed if someone could tell me how to do what I'm > > > after without resorting to InLine, but I get the feeling that's not > > > possible. > > > > On Apr 7, 6:41 pm, tiburona wrote: > > > > > Hi all, > > > > > My ultimate goal is to present words on a page for the participant to > > > > respond to, either via image or text, collect text input from > > > > participants that they see on screen in an EchoClient, and > > > > simultaneously display a "Next" button that participants can use to > > > > advance to the next portion of the experiment when they are done > > > > typing. I've managed the first two elements fine, but getting E Prime > > > > to terminate a screen in response to a button press is eluding me. I > > > > am new to E-Prime and near-hopeless with E-Basic (even though I have a > > > > little programming experience). I will probably eventually resort to > > > > some subobtimal solution, like using the tab key to advance to the > > > > next screen, because I'm skeptical I'll be able to get this running, > > > > but I thought I would try an initial query to the group. > > > > > As a preliminary test, I set up a slide object (Slide2) with two > > > > images (Image1 and Image2) on it. > > > > > I based this code on sample code from PST: > > > > > __________________________________________________ > > > > > Dim theState as SlideState > > > > Set theState = Slide2.States("Default") > > > > > Dim strHit As String > > > > Dim theMouseResponseData As MouseResponseData > > > > > If Slide2.InputMasks.Responses.Count > 0 Then > > > > > Set theMouseResponseData = > > > > CMouseResponseData(Slide2.InputMasks.Responses(1)) > > > > > strHit = theState.HitTest(theMouseResponseData.CursorX, > > > > theMouseResponseData.CursorY) > > > > > If strHit = "Image1" Then > > > > Slide2.Stop > > > > > End If > > > > > Do Until (strHit = "Image1") > > > > > Loop > > > > > End If > > > > > _____________________________________________________________ > > > > > I tried placing it before and after the slide object in a Procedure, > > > > but it didn't work either way (still not sure which is right). I was > > > > wondering if someone could help me understand why. I'm trying to > > > > build up to what I'm actually attempting from smaller bits. I have > > > > found other sample code related to what I'm trying to do (for > > > > instance, > > here:http://www.pstnet.com/forum/Topic4009-23-1.aspx?Highlight=HitTest) > > > > but when I try to modify it it doesn't work either, so I figure maybe > > > > if I start with a very simple unit I'd have a chance of building up > > > > some understanding. > > > > > Thanks very much, > > > > Katie -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From tiburona at gmail.com Thu Apr 8 21:06:51 2010 From: tiburona at gmail.com (tiburona) Date: Thu, 8 Apr 2010 14:06:51 -0700 Subject: user button press In-Reply-To: <8ae624d0-f7cb-4ee5-ae3d-007bbf8aaa08@r36g2000yqm.googlegroups.com> Message-ID: (You'll notice I used your old sample code to do part of it. Thanks for being such a great resource for confused EPrime newbies like me.) On Apr 8, 4:05 pm, tiburona wrote: > Thank you very much for your response, David. I actually managed to > figure out the correct code around the time you were responding. Here > it is for anyone in the future who might google this thread: > > 'Designate "theState" as the Default Slide State, which is the > 'current, ActiveState on the Slide object "Stimulus" > Dim theState as SlideState > Set theState = Slide3.States("Default") > > Dim next_mX as Long, next_mY as Long > > Dim strHit As String > Dim theMouseResponseData As MouseResponseData > > Do > 'Was there a response? > If Slide3.InputMasks.Responses.Count > 0 Then > > 'Get the mouse response > Set theMouseResponseData = > CMouseResponseData(Slide3.InputMasks.Responses(1)) > > 'Determine string name of SlideImage or SlideText object at > 'mouse click coordinates. Assign that value to strHit > strHit = theState.HitTest(theMouseResponseData.CursorX, > theMouseResponseData.CursorY) > > 'Compare string name where mouse click occurred to CorrectAnswer > 'attribute on each trial, and score response > 'NOTE: This comparison is case sensitive > If strHit = "Image1" Then > GoTo Label2 > > End If > > End If > > Do Until (strHit = "Image1") > ' capture & process further mouse clicks: > If (Mouse.Buttons And ebMouseButton1) Then > Mouse.GetCursorPos next_mX, next_mY > strHit = theState.HitTest( next_mX, next_mY ) > End If > > If strHit = "Image1" Then > GoTo Label2 > End If > > Loop > > Loop Until (strHit = "Image1") > > On Apr 8, 3:00 pm, David McFarlane wrote: > > > > > Katie, > > > Stock reminder: 1) I do not work for PST. 2) PST's trained staff > > takes any and all questions athttp://support.pstnet.com/e%2Dprime/support/login.asp, and they > > strive to respond to all requests in 24-48 hours (although latest > > reports indicate more like 10 days) -- this is pretty much their > > substitute for proper documentation, so make full use of it. 3) If > > you do get an answer from PST Web Support, please extend the courtesy > > of posting their reply back here for the sake of others. > > > That said, here is my take ... > > > I can't go into full details, but here are a few hints that come to mind: > > > 1) You will have to resort to inline code to do the Slide.HitTest. > > > 2) I would probably use the main Slide to collect just the keyboard > > responses. I would use "extended input" (see Appendix C of the > > User's Guide that came with E-Prime) with a Duration of 0, increased > > MaxCount, EchoClient, etc. I would then follow the Slide with inline > > code to get the "Next" mouse click. > > > 3) Unlike other input devices, you do not need an input mask to get > > mouse responses, see the MouseDevice topic in the online E-Basic > > Help. And because getting the "Next" might take several mouse > > clicks, I would get the mouse clicks directly (i.e., without an input > > mask) and use Slide.HitTest in a loop in inline code following the Slide. > > > 4) In particular, your code > > Do Until (strHit = "Image1") > > Loop > > is an empty loop and will do nothing useful for you. You need to put > > the appropriate code inside that loop. > > > Hope you find some help in that, > > -- David McFarlane, Professional Faultfinder > > "For a successful technology, reality must take precedence over > > public relations, for nature cannot be fooled." (Richard Feynman, > > Nobel prize-winning physicist) > > > At 4/7/2010 09:23 PM Wednesday, you wrote: > > > >Actually, reading this: > > > >http://groups.google.com/group/e-prime/browse_thread/thread/ab5a03408... > > > >made me realize I could perhaps pull the same trick, and put two > > >slides up in sequence, the first with 0 duration and infinite time > > >limit that would take the mouse click and then jump to a label after > > >both slides, the second with infinite duration and infinite time limit > > >that would have the image with my sentence and the EchoClient that > > >would allow the participant to time the response. > > > >in fact, maybe this layering isn't even necessary. Maybe I can have > > >my keyboard EchoClient and my mouse button on the same SlideObject, > > >and just set the "Allowable" response on the mouse to the "next > > >button" Slide SubObject, and then choose terminate as the response. > > > >I'm only writing this so I can spare anyone helpful enough to answer > > >me the trouble of outlining these elements of a solution in their > > >response. > > > >(Incidentally, so far I am not having luck with the first method > > >because I can't figure out how to refer to my image file in the > > >"Allowable" box on the properties of the Mouse Input Mask. I tried > > >imitating another E Studio experiment someone else in my lab did, and > > >calling it [Target1] and then putting a Target1 attribute in the--I > > >don't know the terminology here--parent list (?) for the procedure but > > >it's giving me one of those "-999: Factor Error: Filename contains an > > >invalid attribute"s.) > > > >On Apr 7, 6:45 pm, tiburona wrote: > > > > p.s. I would be overjoyed if someone could tell me how to do what I'm > > > > after without resorting to InLine, but I get the feeling that's not > > > > possible. > > > > > On Apr 7, 6:41 pm, tiburona wrote: > > > > > > Hi all, > > > > > > My ultimate goal is to present words on a page for the participant to > > > > > respond to, either via image or text, collect text input from > > > > > participants that they see on screen in an EchoClient, and > > > > > simultaneously display a "Next" button that participants can use to > > > > > advance to the next portion of the experiment when they are done > > > > > typing. I've managed the first two elements fine, but getting E Prime > > > > > to terminate a screen in response to a button press is eluding me. I > > > > > am new to E-Prime and near-hopeless with E-Basic (even though I have a > > > > > little programming experience). I will probably eventually resort to > > > > > some subobtimal solution, like using the tab key to advance to the > > > > > next screen, because I'm skeptical I'll be able to get this running, > > > > > but I thought I would try an initial query to the group. > > > > > > As a preliminary test, I set up a slide object (Slide2) with two > > > > > images (Image1 and Image2) on it. > > > > > > I based this code on sample code from PST: > > > > > > __________________________________________________ > > > > > > Dim theState as SlideState > > > > > Set theState = Slide2.States("Default") > > > > > > Dim strHit As String > > > > > Dim theMouseResponseData As MouseResponseData > > > > > > If Slide2.InputMasks.Responses.Count > 0 Then > > > > > > Set theMouseResponseData = > > > > > CMouseResponseData(Slide2.InputMasks.Responses(1)) > > > > > > strHit = theState.HitTest(theMouseResponseData.CursorX, > > > > > theMouseResponseData.CursorY) > > > > > > If strHit = "Image1" Then > > > > > Slide2.Stop > > > > > > End If > > > > > > Do Until (strHit = "Image1") > > > > > > Loop > > > > > > End If > > > > > > _____________________________________________________________ > > > > > > I tried placing it before and after the slide object in a Procedure, > > > > > but it didn't work either way (still not sure which is right). I was > > > > > wondering if someone could help me understand why. I'm trying to > > > > > build up to what I'm actually attempting from smaller bits. I have > > > > > found other sample code related to what I'm trying to do (for > > > > > instance, > > > here:http://www.pstnet.com/forum/Topic4009-23-1.aspx?Highlight=HitTest) > > > > > but when I try to modify it it doesn't work either, so I figure maybe > > > > > if I start with a very simple unit I'd have a chance of building up > > > > > some understanding. > > > > > > Thanks very much, > > > > > Katie > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From shivani.shivipr at gmail.com Fri Apr 9 02:11:38 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Thu, 8 Apr 2010 19:11:38 -0700 Subject: Random number generation Message-ID: Hi, I am working on an experiment in which I want to generate 100 random numbers between 1 - 100, but a number should not be repeated. Say if 1 is generated then it should not be generated again. Basically I want all 100 numbers between 1 and 100 without any repetetion and that too in a random manner. Right now I am using the script Dim i as Integer Dim Rand as Integer For i = 1 to 100 Rand = Random(1,100) Debug.Print "Random number is = " & Rand Next i This is giving me random numbers between 1 and 100, but the numbers are repeated. Please let me know if there is any logic of generating random numbers without any repeat. Any help is really appreciated. Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Fri Apr 9 03:30:00 2010 From: mcfarla9 at msu.edu (dkmcf) Date: Thu, 8 Apr 2010 20:30:00 -0700 Subject: Random number generation In-Reply-To: <56038d2f-37bc-45fe-b379-4835edd01932@8g2000yqz.googlegroups.com> Message-ID: Shivani, Simply put, you want to draw the numbers 1-100 in a shuffled order. Easiest to do this making a List with the numbers 1-100, setting the List to Random, then drawing samples from the List, perhaps as a nested List. Please work through the appropriate tutorials in the manuals that came with E-Prime, with particular attention to Appendix C of the User's Guide. But if you would really rather roll your own than use a List, then you want to program a Fisher-Yates shuffle algorithm, just look that up on Wikipedia. -- David McFarlane, Professional Faultfinder On Apr 8, 10:11 pm, Shivani R wrote: > I am working on an experiment in which I want to generate 100 random > numbers between 1 - 100, but a number should not be repeated. Say if 1 > is generated then it should not be generated again. Basically I want > all 100 numbers between 1 and 100 without any repetetion and that too > in a random manner. > > Right now I am using the script > > Dim i as Integer > Dim Rand as Integer > > For i = 1 to 100 > > Rand = Random(1,100) > > Debug.Print "Random number is = " & Rand > > Next i > > This is giving me random numbers between 1 and 100, but the numbers > are repeated. > > Please let me know if there is any logic of generating random numbers > without any repeat. > > Any help is really appreciated. > > Regards > Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Michiel.Spape at nottingham.ac.uk Fri Apr 9 10:32:40 2010 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Fri, 9 Apr 2010 11:32:40 +0100 Subject: Random number generation In-Reply-To: <56038d2f-37bc-45fe-b379-4835edd01932@8g2000yqz.googlegroups.com> Message-ID: Hi, What David said, or: just shuffle an array with the numbers 1 to 100. Dim i as Integer Dim Rand100(1 to 100) as Integer For i = 1 to 100 Rand100(i) = i 'fills array Next i RandomizeArray Rand100 'randomises For i = 1 to 100 Debug.Print "Random number is = " & Rand100(i) 'show output Next i Michiel Spap? Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Shivani R Sent: 09 April 2010 03:12 To: E-Prime Subject: Random number generation Hi, I am working on an experiment in which I want to generate 100 random numbers between 1 - 100, but a number should not be repeated. Say if 1 is generated then it should not be generated again. Basically I want all 100 numbers between 1 and 100 without any repetetion and that too in a random manner. Right now I am using the script Dim i as Integer Dim Rand as Integer For i = 1 to 100 Rand = Random(1,100) Debug.Print "Random number is = " & Rand Next i This is giving me random numbers between 1 and 100, but the numbers are repeated. Please let me know if there is any logic of generating random numbers without any repeat. Any help is really appreciated. Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From nickfraenkel at googlemail.com Fri Apr 9 14:08:29 2010 From: nickfraenkel at googlemail.com (Nick F) Date: Fri, 9 Apr 2010 07:08:29 -0700 Subject: E-Prime Tricks Message-ID: Hi, I just thought I'd post here in case it's of interest to anyone on this list. Over the course of programming numerous experiments in E- Prime I've figured out a few tricks that I find quite handy and which I think should be applicable to a fairly wide range of different types of experiment. I thought I might as well write them up in case they're of use to others, and am planning to post them occasionally on our lab website. I've already posted the first and am hoping to find time to put up some more over the next few weeks. If you're interested, the first one - on setting global variables - is here: http://www.pc.rhul.ac.uk/sites/attentionlab/2010/03/eprime-global-variables/ I would of course be very interested in anyone else's E-Prime tricks (or improvements / alternatives to the above technique) - please feel free to add them in the comments section of the page above! Best, Nick Fraenkel Department of Psychology Royal Holloway, University of London -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From shivani.shivipr at gmail.com Fri Apr 9 17:01:00 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Fri, 9 Apr 2010 10:01:00 -0700 Subject: Random number generation In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF0311677C@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: Hi, Thanks David and Michiel for all your help and time. I am trying out this logic in the experiment. Thanks again. Regards Shivani On Apr 9, 5:32?am, Michiel Spape wrote: > Hi, > What David said, or: just shuffle an array with the numbers 1 to 100. > > Dim i as Integer > Dim Rand100(1 to 100) as Integer > For i = 1 to 100 > ? ? ? ? Rand100(i) = i 'fills array > Next i > > RandomizeArray Rand100 'randomises > > For i = 1 to 100 > ? ? ? ? Debug.Print "Random number is = " & Rand100(i) 'show output > Next i > > Michiel Spap? > Research Fellow > Perception & Action group > University of Nottingham > School of Psychology > > > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Shivani R > Sent: 09 April 2010 03:12 > To: E-Prime > Subject: Random number generation > > Hi, > > I am working on an experiment in which I want to generate 100 random > numbers between 1 - 100, but a number should not be repeated. Say if 1 > is generated then it should not be generated again. Basically I want > all 100 numbers between 1 and 100 without any repetetion and that too > in a random manner. > > Right now I am using the script > > Dim i as Integer > Dim Rand as Integer > > For i = 1 to 100 > > Rand = Random(1,100) > > Debug.Print "Random number is = " & Rand > > Next i > > This is giving me random numbers between 1 and 100, but the numbers > are repeated. > > Please let me know if there is any logic of generating random numbers > without any repeat. > > Any help is really appreciated. > > Regards > Shivani > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation.- Hide quoted text - > > - Show quoted text - -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From nickfraenkel at googlemail.com Fri Apr 9 17:15:21 2010 From: nickfraenkel at googlemail.com (Nick F) Date: Fri, 9 Apr 2010 10:15:21 -0700 Subject: E-Prime Tricks In-Reply-To: <7f3a2f19-8ca4-4462-b071-ac17fd066000@r1g2000yqj.googlegroups.com> Message-ID: ps: Thanks to David McFarlane for pointing out that when I said "global variables" I in fact should have said "context attributes" - the article has now been amended accordingly, but the URL remains the same. Apologies for any confusion caused! -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From speechlab.nyu at gmail.com Fri Apr 9 17:24:32 2010 From: speechlab.nyu at gmail.com (Speech Perception Research Lab NYU) Date: Fri, 9 Apr 2010 10:24:32 -0700 Subject: Sound File Difficulty Message-ID: I have been having difficulty with running some my sound files through E Prime. The program will run through a few of them and then on certain files the program will shutdown and say "unable to find the sound file specified". Does anyone have any suggestions for me?? Margo -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From plocasto at gmail.com Fri Apr 9 17:29:54 2010 From: plocasto at gmail.com (Paul) Date: Fri, 9 Apr 2010 13:29:54 -0400 Subject: Sound File Difficulty In-Reply-To: <45c32154-9675-45b4-8254-9f54227717f8@d34g2000vbl.googlegroups.com> Message-ID: v1 or v2? Either way, Id run through the usual suspects first: 1. Correct file names 2. Located in same directory 3. Proper, supported format and sampling rate p On Fri, Apr 9, 2010 at 1:24 PM, Speech Perception Research Lab NYU < speechlab.nyu at gmail.com> wrote: > I have been having difficulty with running some my sound files through > E Prime. The program will run through a few of them and then on > certain files the program will shutdown and say "unable to find the > sound file specified". Does anyone have any suggestions for me?? > > > Margo > > -- > 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 this group at > http://groups.google.com/group/e-prime?hl=en. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Fri Apr 9 17:36:37 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 9 Apr 2010 13:36:37 -0400 Subject: Sound File Difficulty In-Reply-To: Message-ID: With regard to #1, in particular make sure that your file names, and the names in your List, do not have any leading or trailing space characters (these are easy to overlook). -- David McFarlane, Professional Faultfinder >v1 or v2? Either way, Id run through the usual suspects first: > >1. Correct file names >2. Located in same directory >3. Proper, supported format and sampling rate > > >p > >On Fri, Apr 9, 2010 at 1:24 PM, Speech Perception Research Lab NYU ><speechlab.nyu at gmail.com> wrote: >I have been having difficulty with running some my sound files through >E Prime. The program will run through a few of them and then on >certain files the program will shutdown and say "unable to find the >sound file specified". Does anyone have any suggestions for me?? > >Margo -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From speechlab.nyu at gmail.com Fri Apr 9 17:54:14 2010 From: speechlab.nyu at gmail.com (Speech Perception Research Lab NYU) Date: Fri, 9 Apr 2010 10:54:14 -0700 Subject: Sound File Difficulty In-Reply-To: <4bbf65a7.5844f10a.2e39.7743SMTPIN_ADDED@gmr-mx.google.com> Message-ID: The actually names of my sound files are fine, but I am trying to look into the sampling rate to see if that might be causing the problem. On Apr 9, 1:36?pm, David McFarlane wrote: > With regard to #1, in particular make sure that your file names, and > the names in your List, do not have any leading or trailing space > characters (these are easy to overlook). > > -- David McFarlane, Professional Faultfinder > > > > >v1 or v2? ?Either way, Id run through the usual suspects first: > > >1. Correct file names > >2. Located in same directory > >3. Proper, supported format and sampling rate > > >p > > >On Fri, Apr 9, 2010 at 1:24 PM, Speech Perception Research Lab NYU > ><speechlab.... at gmail.com> wrote: > >I have been having difficulty with running some my sound files through > >E Prime. ?The program will run through a few of them and then on > >certain files the program will shutdown and say "unable to find the > >sound file specified". Does anyone have any suggestions for me?? > > >Margo- Hide quoted text - > > - Show quoted text - -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From wfjohnny at gmail.com Sat Apr 10 14:46:11 2010 From: wfjohnny at gmail.com (Johnny) Date: Sat, 10 Apr 2010 07:46:11 -0700 Subject: Block random design question Message-ID: I have problem designing block random. My design includes two blocks with 20 stimuli items to be presented in each block. My questions is: How I can make e-prime (randomly) draw 10 items from block 1 and then move on to block 2 to draw another 10 items. When the first cycle is complete, e-prime should go back to block 1 and then 2 to draw the rest of the items (10 respectively) not drawn in the first cycle. I am desperate to know how to do this. I have tried by setting the list exit after 10 samples and 2 cycles, but failed to get the random condition I wish. Could anyone help me with this? I am pretty new so please try explaining it in detail or write to me at if you don't get what I meant. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From ericajboothby at gmail.com Sun Apr 11 17:00:01 2010 From: ericajboothby at gmail.com (erica) Date: Sun, 11 Apr 2010 10:00:01 -0700 Subject: Slide sequence presentation Message-ID: I am a newcomer to e-prime and I'm trying to present 6 instruction slides in a row. I've created a slide with an image display with the file name "[instructions]". In the instructions procedure list, I've created an attribute "instructions" to which the slide image file name ought to refer. However, when I run the program (after generating it and finding no errors) only the first of the 6 slides appears. I can't get the other 5 slides to show up, even though they should once I press any key on the keyboard. I'm not sure where to go from here, since this is part of a larger experiment that I need to get right before moving on. Thanks, Erica -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From liza.mccarron at uwe.ac.uk Mon Apr 12 08:41:15 2010 From: liza.mccarron at uwe.ac.uk (LizaM) Date: Mon, 12 Apr 2010 01:41:15 -0700 Subject: Similar group for Superlab? Message-ID: Does anyone know of a similar community forum for Cedrus' Superlab program? I'm finding the one at http://community.cedrus.com/ to be not incredibly useful but can't find anything obvious via a google search. Many thanks Liza -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Liza.Mccarron at uwe.ac.uk Mon Apr 12 09:33:04 2010 From: Liza.Mccarron at uwe.ac.uk (Liza Mccarron) Date: Mon, 12 Apr 2010 10:33:04 +0100 Subject: Slide sequence presentation In-Reply-To: Message-ID: Hi Erica, Have a look at the attached which is a simple implementation of what I think you want to do - this one uses space bar to move on the instruction slides. Hope this helps! Liza -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of erica Sent: 11 April 2010 18:00 To: E-Prime Subject: Slide sequence presentation I am a newcomer to e-prime and I'm trying to present 6 instruction slides in a row. I've created a slide with an image display with the file name "[instructions]". In the instructions procedure list, I've created an attribute "instructions" to which the slide image file name ought to refer. However, when I run the program (after generating it and finding no errors) only the first of the 6 slides appears. I can't get the other 5 slides to show up, even though they should once I press any key on the keyboard. I'm not sure where to go from here, since this is part of a larger experiment that I need to get right before moving on. Thanks, Erica -- 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 this group at http://groups.google.com/group/e-prime?hl=en. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. -------------- next part -------------- A non-text attachment was scrubbed... Name: eprime test.zip Type: application/x-zip-compressed Size: 63081 bytes Desc: eprime test.zip URL: From tobias.fw at gmail.com Mon Apr 12 16:59:43 2010 From: tobias.fw at gmail.com (Tobias) Date: Mon, 12 Apr 2010 09:59:43 -0700 Subject: Block random design question In-Reply-To: <42403aca-00d4-4e69-965a-090b9163df90@g30g2000yqc.googlegroups.com> Message-ID: You should try "nested list". Use one overall list and specify the two different lists you were writing about in the columns "nested". Should be quite simple I think. On 10 Apr., 16:46, Johnny wrote: > I have problem designing block random. ?My design includes two blocks > with 20 stimuli items to be presented in each block. ?My questions > is: ?How I can make e-prime (randomly) draw 10 items from block 1 and > then move on to block 2 to draw another 10 items. ?When the first > cycle is complete, e-prime should go back to block 1 and then 2 to > draw the rest of the items (10 respectively) not drawn in the first > cycle. ?I am desperate to know how to do this. ?I have tried Sampling> by setting the list exit after 10 samples and 2 cycles, but > failed to get the random condition I wish. > > Could anyone help me with this? ?I am pretty new so please try > explaining it in detail or write to me at if you > don't get what I meant. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From ericajboothby at gmail.com Tue Apr 13 01:59:23 2010 From: ericajboothby at gmail.com (erica) Date: Mon, 12 Apr 2010 18:59:23 -0700 Subject: Image presentation from attribute list In-Reply-To: <20010E745C50274D93A655F97E2815972F24D873B8@EGEN-MBX02.campus.ads.uwe.ac.uk> Message-ID: Thanks, Liza. I am finally able to successfully present my instruction slides, but am now encountering a new problem. When I try to get a slide to load an image from an attribute list ([dominant1]), the program crashes upon reaching this slide and the following error message (indicating an "internal error") appears: Set conprac1_SlideImage = CSlideImage(conprac1.States(conprac1.ActiveState).Objects(1)) conprac1_SlideImage.Filename = c.GetAttrib("dominant1") conprac1_SlideImage.Load Set conprac1_SlideImage = Nothing I have double and triple checked the image name to make sure e-prime will be able to find it, and this doesn't seem to be the issue. What else could be the problem? Not sure how to trouble shoot this... Looking forward to hearing some suggestions! Please let me know if there's any other info that would be useful in order to figure this out and I'd be happy to provide it. Thanks! On Apr 12, 5:33?am, Liza Mccarron wrote: > Hi Erica, > > Have a look at the attached which is a simple implementation of what I think you want to do - this one uses space bar to move on the instruction slides. > > Hope this helps! > > Liza > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of erica > Sent: 11 April 2010 18:00 > To: E-Prime > Subject: Slide sequence presentation > > I am a newcomer to e-prime and I'm trying to present 6 instruction > slides in a row. I've created a slide with an image display with the > file name "[instructions]". In the instructions procedure list, I've > created an attribute "instructions" to which the slide image file name > ought to refer. However, when I run the program (after generating it > and finding no errors) only the first of the 6 slides appears. I can't > get the other 5 slides to show up, even though they should once I > press any key on the keyboard. I'm not sure where to go from here, > since this is part of a larger experiment that I need to get right > before moving on. > Thanks, > Erica > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > > > ?eprime test.zip > 83KViewDownload -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Liza.Mccarron at uwe.ac.uk Tue Apr 13 08:16:51 2010 From: Liza.Mccarron at uwe.ac.uk (Liza Mccarron) Date: Tue, 13 Apr 2010 09:16:51 +0100 Subject: Image presentation from attribute list In-Reply-To: <5844553f-f75f-4e9d-bfab-d4bf6e5501bc@u21g2000yqc.googlegroups.com> Message-ID: Erica, Glad your instruction slides are now working. To start troubleshooting firstly just try loading the first of your images onto the slide without referring to the list - that way you will be able to see if the error is occurring then. Most times when I have had an image not load it has either been due to referring to the wrong place for the image - ie not having the folder structure or filenames set correctly (although you say you have double checked this) in E-Prime or the image format not being correct for the program. The message you have posted doesn't look like an error message, more like the code relating to the image load. Was there a number attached to the internal error message? Hope that is useful Liza -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of erica Sent: 13 April 2010 02:59 To: E-Prime Subject: Image presentation from attribute list Thanks, Liza. I am finally able to successfully present my instruction slides, but am now encountering a new problem. When I try to get a slide to load an image from an attribute list ([dominant1]), the program crashes upon reaching this slide and the following error message (indicating an "internal error") appears: Set conprac1_SlideImage = CSlideImage(conprac1.States(conprac1.ActiveState).Objects(1)) conprac1_SlideImage.Filename = c.GetAttrib("dominant1") conprac1_SlideImage.Load Set conprac1_SlideImage = Nothing I have double and triple checked the image name to make sure e-prime will be able to find it, and this doesn't seem to be the issue. What else could be the problem? Not sure how to trouble shoot this... Looking forward to hearing some suggestions! Please let me know if there's any other info that would be useful in order to figure this out and I'd be happy to provide it. Thanks! On Apr 12, 5:33?am, Liza Mccarron wrote: > Hi Erica, > > Have a look at the attached which is a simple implementation of what I think you want to do - this one uses space bar to move on the instruction slides. > > Hope this helps! > > Liza > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of erica > Sent: 11 April 2010 18:00 > To: E-Prime > Subject: Slide sequence presentation > > I am a newcomer to e-prime and I'm trying to present 6 instruction > slides in a row. I've created a slide with an image display with the > file name "[instructions]". In the instructions procedure list, I've > created an attribute "instructions" to which the slide image file name > ought to refer. However, when I run the program (after generating it > and finding no errors) only the first of the 6 slides appears. I can't > get the other 5 slides to show up, even though they should once I > press any key on the keyboard. I'm not sure where to go from here, > since this is part of a larger experiment that I need to get right > before moving on. > Thanks, > Erica > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > > > ?eprime test.zip > 83KViewDownload -- 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 this group at http://groups.google.com/group/e-prime?hl=en. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. From mylifeisstudying at gmail.com Tue Apr 13 09:55:03 2010 From: mylifeisstudying at gmail.com (Petrime) Date: Tue, 13 Apr 2010 02:55:03 -0700 Subject: random in nested lists Message-ID: Hi folks, I'm an absolute E-Prime newbie, and I have one problem with my nested lists solution, so I have no other choice, but to ask for your help. In my experiment there are 10 words, and every word should be presented in 6 different conditions (e.g. rectangle presented before the target above the target location, or circle presented after the target on the left side of the screen, and so on)...so in one trial there should be one of this 10 words, presented in one of this 6 conditions... I solved this with nested lists (hope this is right solution)... There are 6 nested lists, one for every condition. Each list holds 3 attributes (Word-Target,Location on the screen and Correct responce) In every list selection is set to random. The problem is that, sometimes , it selects the same word from this 6 lists, few times in a row ... e.g. it presents word >circle< 3 times in a row, every time in different condition... Is there some way to fix this? I tried many different things, but nothing works... I hope that there is someone out there, who can help me with this. Thanks in advance. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Michiel.Spape at nottingham.ac.uk Tue Apr 13 11:26:34 2010 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Tue, 13 Apr 2010 12:26:34 +0100 Subject: random in nested lists In-Reply-To: <670e3414-fbc9-45c5-92a0-40621495d8f8@8g2000yqz.googlegroups.com> Message-ID: Hi, This is usually a problem of a list randomisation; i.e. if you take a word out of the list, randomise the list, take a word, randomise again, the chance is pretty big you end up with the same word. You could either work it out so that the list isn't reset before completion, but if you're lazy (like me), you might also try to get rid of the nested lists and just write it all down into 1 giant list: "rectangle presented before the target": word 1 "rectangle presented before the target": word 2 ... "rectangle presented before the target": word 10 "rectangle presented above the target": word 1 You'll end up with 6 x 10 different trial types, which some people don't find awfully elegant looking, but this makes a better point of making your design truly orthogonal. If you do, for some reason, feel the need to use nested lists, you might try defining it at a different level and checking how many times it is shuffled. Best, Mich Michiel Spap? Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Petrime Sent: 13 April 2010 10:55 To: E-Prime Subject: random in nested lists Hi folks, I'm an absolute E-Prime newbie, and I have one problem with my nested lists solution, so I have no other choice, but to ask for your help. In my experiment there are 10 words, and every word should be presented in 6 different conditions (e.g. rectangle presented before the target above the target location, or circle presented after the target on the left side of the screen, and so on)...so in one trial there should be one of this 10 words, presented in one of this 6 conditions... I solved this with nested lists (hope this is right solution)... There are 6 nested lists, one for every condition. Each list holds 3 attributes (Word-Target,Location on the screen and Correct responce) In every list selection is set to random. The problem is that, sometimes , it selects the same word from this 6 lists, few times in a row ... e.g. it presents word >circle< 3 times in a row, every time in different condition... Is there some way to fix this? I tried many different things, but nothing works... I hope that there is someone out there, who can help me with this. Thanks in advance. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mylifeisstudying at gmail.com Tue Apr 13 15:00:05 2010 From: mylifeisstudying at gmail.com (Petrime) Date: Tue, 13 Apr 2010 08:00:05 -0700 Subject: random in nested lists In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF031FE8BC@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: Hi Michiel, thank you for your quick reply. I already tried to make one huge list, but unfortunately it doesn't change much presentation of stimuli. I would like to try one of these other alternatives you mentioned , but the problem is I am not sure I understand well how to do that. Could you please try to explain it to me a little bit closer. Thanks in advance On Apr 13, 1:26 pm, Michiel Spape wrote: > Hi, > This is usually a problem of a list randomisation; i.e. if you take a word out of the list, randomise the list, take a word, randomise again, the chance is pretty big you end up with the same word. You could either work it out so that the list isn't reset before completion, but if you're lazy (like me), you might also try to get rid of the nested lists and just write it all down into 1 giant list: > > "rectangle presented before the target": word 1 > "rectangle presented before the target": word 2 > ... > "rectangle presented before the target": word 10 > "rectangle presented above the target": word 1 > > You'll end up with 6 x 10 different trial types, which some people don't find awfully elegant looking, but this makes a better point of making your design truly orthogonal. > > If you do, for some reason, feel the need to use nested lists, you might try defining it at a different level and checking how many times it is shuffled. > Best, > Mich > > Michiel Spap? > Research Fellow > Perception & Action group > University of Nottingham > School of Psychology > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Petrime > Sent: 13 April 2010 10:55 > To: E-Prime > Subject: random in nested lists > > Hi folks, > I'm an absolute E-Prime newbie, and I have one problem with my nested > lists solution, so I have no other choice, but to ask for your help. > > In my experiment there are 10 words, and every word should be > presented in 6 different conditions (e.g. rectangle presented before > the target above the target location, or circle presented after the > target on the left side of the screen, and so on)...so in one trial > there should be one of this 10 words, presented in one of this 6 > conditions... > > I solved this with nested lists (hope this is right solution)... > There are 6 nested lists, one for every condition. Each list holds 3 > attributes (Word-Target,Location on the screen and Correct responce) > In every list selection is set to random. > > The problem is that, sometimes , it selects the same word from this 6 > lists, few times in a row ... e.g. it presents word >circle< 3 times > in a row, every time in different condition... > > Is there some way to fix this? I tried many different things, but > nothing works... > > I hope that there is someone out there, who can help me with this. > > Thanks in advance. > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From wfjohnny at gmail.com Wed Apr 14 11:37:27 2010 From: wfjohnny at gmail.com (Johnny) Date: Wed, 14 Apr 2010 04:37:27 -0700 Subject: Block random design question In-Reply-To: Message-ID: Tobias, Thanks to you and the one who wrote to me the other day. I made it. Sometimes designing e-prime is just not as easy as the design itself. It requires programming logic. Anyway, if anyone who is as new as I am and have problem folloing the programming logic could write to me. I'll email a sample e-prime file, which I believe will help a lot: ) Thanks again to you all. Johnny On Apr 13, 12:59?am, Tobias wrote: > You should try "nested list". Use one overall list and specify the two > different lists you were writing about in the columns "nested". > Should be quite simple I think. > > On 10 Apr., 16:46, Johnny wrote: > > > I have problem designing block random. ?My design includes two blocks > > with 20 stimuli items to be presented in each block. ?My questions > > is: ?How I can make e-prime (randomly) draw 10 items from block 1 and > > then move on to block 2 to draw another 10 items. ?When the first > > cycle is complete, e-prime should go back to block 1 and then 2 to > > draw the rest of the items (10 respectively) not drawn in the first > > cycle. ?I am desperate to know how to do this. ?I have tried > Sampling> by setting the list exit after 10 samples and 2 cycles, but > > failed to get the random condition I wish. > > > Could anyone help me with this? ?I am pretty new so please try > > explaining it in detail or write to me at if you > > don't get what I meant. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From tobias.fw at gmail.com Fri Apr 16 13:59:25 2010 From: tobias.fw at gmail.com (Tobias) Date: Fri, 16 Apr 2010 06:59:25 -0700 Subject: Signal detection theory Message-ID: Hi together, this might be a bit off topic but as you are all very much into psychological experimental science you might be of great help for this issue. Besides, my topic is the outcome of an E-Prime experiment ;) It is about the response bias in signal detection theory (SDT). I've heard that C is usually better than Beta as a measure of response bias as it is indpendent of d'. Now what I have in my experiment is a very high hit rate for condition A and a lower hit rate for condition B. False alarm rates are however the same for A and B. So what I get using the formula for C (C = -0.5*(z(false alarms) + z(hits)) is a liberal criterion C for A and a less liberal criterion for B. So can I actually say that A is more liberal? Apparently this is only due to the fact that the hit rate is higher. I am quite puzzled by this... glad for any help! 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 this group at http://groups.google.com/group/e-prime?hl=en. From kirillf5 at gmail.com Fri Apr 16 16:22:58 2010 From: kirillf5 at gmail.com (Kirill) Date: Fri, 16 Apr 2010 09:22:58 -0700 Subject: using old task on new computers Message-ID: hi all, i am very new to using e-prime and have a task that involves presentation of visual stimuli on the screen that was given to me by a researcher that used it in 2001. i am wondering if the speed of presentation of stimuli is controlled by the code or will it be affected by the increased speed of the computers that i will be using it on. your help will be greatly appreciated. cheers -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Fri Apr 16 17:01:56 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 16 Apr 2010 13:01:56 -0400 Subject: using old task on new computers In-Reply-To: Message-ID: Stock reminder: 1) I do not work for PST. 2) PST's trained staff takes 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 (although latest reports indicate more like 10 days) -- this is pretty much their substitute for proper documentation, so make full use of it. 3) If you do get an answer from PST Web Support, please extend the courtesy of posting their reply back here for the sake of others. That said, here is my take ... Well, it would be an *extremely* poor software design that made timing dependent on processor speed, and I have no reason to suspect PST of such poor design. Furthermore, using various versions of E-Prime on various generations of computers and Windows for over a decade, I have never seen any timing issues dependent on processor speed (other than timing delays needed to produce complex stimuli, but that cannot be helped). As far as I can tell E-Prime properly uses a variety of independent high-resolution clocks built into Windows machines. But ultimately you should not take my word or anyone else's word for this. You should simply run some timing tests for yourself (preferably using an external time reference such as an oscilloscope) and convince yourself one way or another. That is a good exercise and sound policy in any case. -- David McFarlane, Professional Faultfinder "You got to test that piece of software, You got to test it for yourself, No one else can test it for you, You got to test it for yourself." (Apologies to the Fairfield Four) At 4/16/2010 12:22 PM Friday, you wrote: >i am very new to using e-prime and have a task that involves >presentation of visual stimuli on the screen that was given to me by a >researcher that used it in 2001. i am wondering if the speed of >presentation of stimuli is controlled by the code or will it be >affected by the increased speed of the computers that i will be using >it on. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From kirillf5 at gmail.com Fri Apr 16 18:35:31 2010 From: kirillf5 at gmail.com (Kirill) Date: Fri, 16 Apr 2010 11:35:31 -0700 Subject: using old task on new computers In-Reply-To: <4bc89805.5344f10a.529a.4389SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Thanks a lot David. your advice is greatly appreciated On Apr 17, 3:01?am, David McFarlane wrote: > Stock reminder: ?1) I do not work for PST. ?2) PST's trained staff > takes any and all questions athttp://support.pstnet.com/e%2Dprime/support/login.asp, and they > strive to respond to all requests in 24-48 hours (although latest > reports indicate more like 10 days) -- this is pretty much their > substitute for proper documentation, so make full use of it. ?3) If > you do get an answer from PST Web Support, please extend the courtesy > of posting their reply back here for the sake of others. > > That said, here is my take ... > > Well, it would be an *extremely* poor software design that made > timing dependent on processor speed, and I have no reason to suspect > PST of such poor design. ?Furthermore, using various versions of > E-Prime on various generations of computers and Windows for over a > decade, I have never seen any timing issues dependent on processor > speed (other than timing delays needed to produce complex stimuli, > but that cannot be helped). ?As far as I can tell E-Prime properly > uses a variety of independent high-resolution clocks built into > Windows machines. > > But ultimately you should not take my word or anyone else's word for > this. ?You should simply run some timing tests for yourself > (preferably using an external time reference such as an oscilloscope) > and convince yourself one way or another. ?That is a good exercise > and sound policy in any case. > > -- David McFarlane, Professional Faultfinder > "You got to test that piece of software, You got to test it for yourself, > No one else can test it for you, You got to test it for yourself." > (Apologies to the Fairfield Four) > > At 4/16/2010 12:22 PM Friday, you wrote: > > >i am very new to using e-prime and have a task that involves > >presentation of visual stimuli on the screen that was given to me by a > >researcher that used it in 2001. i am wondering if the speed of > >presentation of stimuli is controlled by the code or will it be > >affected by the increased speed of the computers that i will be using > >it on. > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Fri Apr 16 19:22:09 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 16 Apr 2010 15:22:09 -0400 Subject: using old task on new computers In-Reply-To: Message-ID: BTW, if you care at all about critical timing, then you must, repeat MUST, also thouroughly study chapter 3 of the User's Guide that came with E-Prime. You should also at least run the RefreshClockTest program (downloadable from PST) on every subject running machine, . -- David McFarlane, Professional Faultfinder >Thanks a lot David. your advice is greatly appreciated > >On Apr 17, 3:01 am, David McFarlane wrote: > > Stock reminder: 1) I do not work for PST. 2) PST's trained staff > > takes any and all questions > athttp://support.pstnet.com/e%2Dprime/support/login.asp, and they > > strive to respond to all requests in 24-48 hours (although latest > > reports indicate more like 10 days) -- this is pretty much their > > substitute for proper documentation, so make full use of it. 3) If > > you do get an answer from PST Web Support, please extend the courtesy > > of posting their reply back here for the sake of others. > > > > That said, here is my take ... > > > > Well, it would be an *extremely* poor software design that made > > timing dependent on processor speed, and I have no reason to suspect > > PST of such poor design. Furthermore, using various versions of > > E-Prime on various generations of computers and Windows for over a > > decade, I have never seen any timing issues dependent on processor > > speed (other than timing delays needed to produce complex stimuli, > > but that cannot be helped). As far as I can tell E-Prime properly > > uses a variety of independent high-resolution clocks built into > > Windows machines. > > > > But ultimately you should not take my word or anyone else's word for > > this. You should simply run some timing tests for yourself > > (preferably using an external time reference such as an oscilloscope) > > and convince yourself one way or another. That is a good exercise > > and sound policy in any case. > > > > -- David McFarlane, Professional Faultfinder > > "You got to test that piece of software, You got to test it for yourself, > > No one else can test it for you, You got to test it for yourself." > > (Apologies to the Fairfield Four) > > > > At 4/16/2010 12:22 PM Friday, you wrote: > > > > >i am very new to using e-prime and have a task that involves > > >presentation of visual stimuli on the screen that was given to me by a > > >researcher that used it in 2001. i am wondering if the speed of > > >presentation of stimuli is controlled by the code or will it be > > >affected by the increased speed of the computers that i will be using > > >it on. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From rariel at kent.edu Fri Apr 16 19:25:35 2010 From: rariel at kent.edu (Robert Ariel) Date: Fri, 16 Apr 2010 15:25:35 -0400 Subject: Signal detection theory In-Reply-To: Message-ID: Tobias, Computationally, C is the average of the your transformed hit and false alarm rates. You can see this in the equation you presented. So, no doubt if you have equal false alarms rates across conditions, differences in C are resulting because of differences in hit rates. Basically with equal false alarm rates, the condition with a higher hit rate will always be more liberal. If hit rates are equal, the condition with higher false alarm rate will be more liberal. Best, Robert On Fri, Apr 16, 2010 at 9:59 AM, Tobias wrote: > Hi together, > > this might be a bit off topic but as you are all very much into > psychological experimental science you might be of great help for this > issue. Besides, my topic is the outcome of an E-Prime experiment ;) > > It is about the response bias in signal detection theory (SDT). I've > heard that C is usually better than Beta as a measure of response bias > as it is indpendent of d'. Now what I have in my experiment is a very > high hit rate for condition A and a lower hit rate for condition B. > False alarm rates are however the same for A and B. So what I get > using the formula for C (C = -0.5*(z(false alarms) + z(hits)) is a > liberal criterion C for A and a less liberal criterion for B. > > So can I actually say that A is more liberal? Apparently this is only > due to the fact that the hit rate is higher. I am quite puzzled by > this... glad for any help! > > 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 this group at > http://groups.google.com/group/e-prime?hl=en. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. -------------- next part -------------- An HTML attachment was scrubbed... URL: From neurodrum at gmail.com Fri Apr 16 21:09:30 2010 From: neurodrum at gmail.com (andrew hill) Date: Fri, 16 Apr 2010 14:09:30 -0700 Subject: echo parallel port? Message-ID: hi folks, i'm building a test in eprime that sends out event (stimulus and response) codes via the WritePort command in an inline, with the other end of the parallel cable being an EEG system (BioSemi). i'm doing some of my programming on a different machine from the one that is tied to the EEG system - just wondering if there is any way to echo (on the local machine) what is being sent to the remote machine via parallel port; this would help with development and debugging. thanks, andrew -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Fri Apr 16 21:23:22 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 16 Apr 2010 17:23:22 -0400 Subject: echo parallel port? In-Reply-To: Message-ID: Actually, the WritePort topic in the online E-Basic Help shows a method using Debug.Print to echo data to the Output pane of E-Studio to review after the run. Building on that, you could use c.SetAttrib and c.Log to echo data to an .edat file for review after the run, or just c.Attrib to echo data via TextDisplay objects during the run, etc. -- David McFarlane, Professional Faultfinder >i'm building a test in eprime that sends out event (stimulus and >response) codes via the WritePort command in an inline, with the >other end of the parallel cable being an EEG system (BioSemi). > >i'm doing some of my programming on a different machine from the one >that is tied to the EEG system - just wondering if there is any way >to echo (on the local machine) what is being sent to the remote >machine via parallel port; this would help with development and debugging. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From tobias.fw at gmail.com Mon Apr 19 11:33:35 2010 From: tobias.fw at gmail.com (Tobias) Date: Mon, 19 Apr 2010 04:33:35 -0700 Subject: Signal detection theory In-Reply-To: Message-ID: Thanks Robert, if I am not getting you wrong, this means that C is independent of d' but not of the hit rate. The question occurs to me if you can really say that one condition is more liberal if they are just better obviously. Cheers, Tobias On 16 Apr., 21:25, Robert Ariel wrote: > Tobias, > > Computationally, C is the average of the your transformed hit and false > alarm rates. ?You can see this in the equation you presented. ?So, no doubt > if you have equal false alarms rates across conditions, differences in C are > resulting because of differences in hit rates. > > Basically with equal false alarm rates, the condition with a higher hit rate > will always be more liberal. ?If hit rates are equal, the condition with > higher false alarm rate will be more liberal. > > Best, > > Robert > > > > On Fri, Apr 16, 2010 at 9:59 AM, Tobias wrote: > > Hi together, > > > this might be a bit off topic but as you are all very much into > > psychological experimental science you might be of great help for this > > issue. Besides, my topic is the outcome of an E-Prime experiment ;) > > > It is about the response bias in signal detection theory (SDT). I've > > heard that C is usually better than Beta as a measure of response bias > > as it is indpendent of d'. Now what I have in my experiment is a very > > high hit rate for condition A and a lower hit rate for condition B. > > False alarm rates are however the same for A and B. So what I get > > using the formula for C (C = -0.5*(z(false alarms) + z(hits)) is a > > liberal criterion C for A and a less liberal criterion for B. > > > So can I actually say that A is more liberal? Apparently this is only > > due to the fact that the hit rate is higher. I am quite puzzled by > > this... glad for any help! > > > 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 this group at > >http://groups.google.com/group/e-prime?hl=en. > > -- > You received this message because you are subscribed to the Google Groups "E-Prime" group. > To post to this group, send email to e-prime at googlegroups.com. > To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. > For more options, visit this group athttp://groups.google.com/group/e-prime?hl=en. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From baker.josephm at gmail.com Mon Apr 19 18:19:00 2010 From: baker.josephm at gmail.com (Joe) Date: Mon, 19 Apr 2010 11:19:00 -0700 Subject: Cumulative response time from multiple sources in a single trial Message-ID: Hello all, I'm currently setting up a preferential looking study in which infants will be presented with various pictures on two different screens and their looking time at each picture type will be calculated. There will be approximately 25 trials in which 2 pictures will be simultaneously presented for 10 seconds on 2 screens (1 picture per screen). We are interested in the total amount of looking time towards either of the 2 pictures within each individual trial, for each of the 25 trials. Looking times will be recorded using "Playstation"esque controllers, with which I've had no problems interfacing with Eprime. It is likely that infants will spend time within each trial looking back and forth between the two picture types. Coders are trained to press one specific button on the controller if the infant is viewing the screen on the left, and another specific button if the infant is viewing the screen on the right (the screens are separated such that it is obvious which of the two screens the infant is viewing). So, in order to calculate the cumulative amount of time spent viewing each picture, e-prime will need to keep track of the total amount of time that either of the two buttons was depressed within each trial and sum these values for each button. I've begun by creating 2 variables (one for each button that represents which screen the infant is viewing) as Summation objects (e.g., Dim OneDuration as summation; Dim ThreeDuration as summation) in the User Script. Next, in the experiment procedure I've placed an Inline script to initialize both of the new variables as new summations (e.g., Set OneDuration = New Summation; Set ThreeDuration = New Summation). The Pictures are displayed following this Inline object, which is in turn followed by a second Inline object with which I want to calculate the total amount of time that either of the two buttons on the controller were depressed. This is where I'm having trouble. I'm assuming that e-prime will need to keep track of the onset and offset time for each of the two buttons (i.e., objects) within each trial, then subtract the onset from the offset after the button has been released, then, if there are multiple instances of a button being pressed and released within a single trial, sum these amounts for each button after the trial has completed. The problem is, I'm a bit unsure of how to do this. Any ideas? I appreciate all of your help with this! Best Regards, Joe B. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Mon Apr 19 18:34:03 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 19 Apr 2010 14:34:03 -0400 Subject: Cumulative response time from multiple sources in a single trial In-Reply-To: <1d2400cf-3131-4e81-94ab-9baddd86b466@z7g2000yqb.googlegrou ps.com> Message-ID: Joe, Stock reminder: 1) I do not work for PST. 2) PST's trained staff takes 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 (although latest reports indicate more like 10 days) -- this is pretty much their substitute for proper documentation, so make full use of it. 3) If you do get an answer from PST Web Support, please extend the courtesy of posting their reply back here for the sake of others. That said, here is my take ... For info on getting key or button releases, see the "{key} nomenclature" topic of the online E-Basic Help. Beyond that, I think the "Key Release" and "Multiple Response Collection" examples downloadable from PST would be places to look for more ideas. -- David McFarlane, Professional Faultfinder At 4/19/2010 02:19 PM Monday, you wrote: >Hello all, > >I'm currently setting up a preferential looking study in which infants >will be presented with various pictures on two different screens and >their looking time at each picture type will be calculated. There will >be approximately 25 trials in which 2 pictures will be simultaneously >presented for 10 seconds on 2 screens (1 picture per screen). We are >interested in the total amount of looking time towards either of the 2 >pictures within each individual trial, for each of the 25 trials. >Looking times will be recorded using "Playstation"esque controllers, >with which I've had no problems interfacing with Eprime. > >It is likely that infants will spend time within each trial looking >back and forth between the two picture types. Coders are trained to >press one specific button on the controller if the infant is viewing >the screen on the left, and another specific button if the infant is >viewing the screen on the right (the screens are separated such that >it is obvious which of the two screens the infant is viewing). So, in >order to calculate the cumulative amount of time spent viewing each >picture, e-prime will need to keep track of the total amount of time >that either of the two buttons was depressed within each trial and sum >these values for each button. > >I've begun by creating 2 variables (one for each button that >represents which screen the infant is viewing) as Summation objects >(e.g., Dim OneDuration as summation; Dim ThreeDuration as summation) >in the User Script. Next, in the experiment procedure I've placed an >Inline script to initialize both of the new variables as new >summations (e.g., Set OneDuration = New Summation; Set ThreeDuration = >New Summation). The Pictures are displayed following this Inline >object, which is in turn followed by a second Inline object with which >I want to calculate the total amount of time that either of the two >buttons on the controller were depressed. This is where I'm having >trouble. > >I'm assuming that e-prime will need to keep track of the onset and >offset time for each of the two buttons (i.e., objects) within each >trial, then subtract the onset from the offset after the button has >been released, then, if there are multiple instances of a button being >pressed and released within a single trial, sum these amounts for each >button after the trial has completed. The problem is, I'm a bit unsure >of how to do this. Any ideas? > >I appreciate all of your help with this! > >Best Regards, > >Joe B. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From antonello.puglia at gmail.com Tue Apr 20 07:38:45 2010 From: antonello.puglia at gmail.com (Antonello) Date: Tue, 20 Apr 2010 00:38:45 -0700 Subject: auditory secondary task Message-ID: Hi, I'm new in using E-prime. I want to create that: While the participants read a narrative text, they are involved in detecting pure tone (presented in a random time manner) in a secondary task. How can I do that? I am interested in record either reaction times about the secondary task either in record reading duration time. Thanks in advance Antonello -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Michiel.Spape at nottingham.ac.uk Tue Apr 20 12:12:42 2010 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Tue, 20 Apr 2010 13:12:42 +0100 Subject: auditory secondary task In-Reply-To: <324075bc-bc25-4805-9149-6c2517801820@a39g2000prb.googlegroups.com> Message-ID: Hi Antonello, How new are you to E-Prime? If the answer is "very new", I will predict you'll have quite some difficulty getting this to work - indeed, how you seem to suggest you would like to do this suggests this may well be the case. That is, E-Prime slightly forces you to do things in a time-locked (to use an ERP term) manner: read single word, detect response to task1, detect respond to task 2, is quite easy, but 'go on reading while detecting single responses continuously'... not so much. That said, if you'd have a single slide with, say, a page of text and a sound stimulus on it, you can collect multiple responses (in advanced properties of responses/timing tab). Then, you'd have to code stuff so that the response times of these responses are all recorded. It occurs to me, however, you might be able to do it in a less complex way (even if it will look a bit ugly): Make a list for your trials (say TrialList). Code at least ALL text you want your subject to read (might well be a page? Use \n for new lines) as an attribute (say myStory) such that each trial has something else to read. Let the procedure within that TrialList refer to another list (say SubTrialList) with at least one attribute, say mySoundfile. Record both empty and non-empty soundfiles (for timing purposes), say "empty.wav" and "beep.wav" and fill your SubTrialList with these two. Now, if you want a single trial to have, say, 20 beeps and 80 silences, each of 1 second long (or 10 ms beep and 990 ms silence), just have [mySoundfile] refer to 20 beeps and 80 silences. For each SubTrialList level, use the same procedure, with, in it, at least one (or two, if you want to record whether subjects press a button BEFORE the onset of the stimulus) slide. The slide then has text [myStory] and sound [mySoundfile]. As said, it's probably best to have another, but similar slide before this slide, such that you can collect responses that precede the sound (anticipatory responses). This has, as a benefit, that you can thereby randomise the duration of the intervals between beeps. Oh, and try to be a bit more specific in your question: where did you get stuck? Unless you prefer someone actually to make your experiment - might be a bit more expensive though. Best, Mich Michiel Spap? Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Antonello Sent: 20 April 2010 08:39 To: E-Prime Subject: auditory secondary task Hi, I'm new in using E-prime. I want to create that: While the participants read a narrative text, they are involved in detecting pure tone (presented in a random time manner) in a secondary task. How can I do that? I am interested in record either reaction times about the secondary task either in record reading duration time. Thanks in advance Antonello -- 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 this group at http://groups.google.com/group/e-prime?hl=en. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From antonello.puglia at gmail.com Tue Apr 20 13:25:02 2010 From: antonello.puglia at gmail.com (Antonello) Date: Tue, 20 Apr 2010 06:25:02 -0700 Subject: auditory secondary task In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF032A7277@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: Yes, I'm very new! Thanks for all your suggestions! My difficult was to beep in a random mode while the text was present! I will try to follow your suggestions! Best regards Antonello Puglia (PhD student in Cognitive Psychology, University of Chieti-Pescara, Italy) On 20 Apr, 14:12, Michiel Spape wrote: > Hi Antonello, > How new are you to E-Prime? If the answer is "very new", I will predict you'll have quite some difficulty getting this to work - indeed, how you seem to suggest you would like to do this suggests this may well be the case. That is, E-Prime slightly forces you to do things in a time-locked (to use an ERP term) manner: read single word, detect response to task1, detect respond to task 2, is quite easy, but 'go on reading while detecting single responses continuously'... not so much. That said, if you'd have a single slide with, say, a page of text and a sound stimulus on it, you can collect multiple responses (in advanced properties of responses/timing tab). Then, you'd have to code stuff so that the response times of these responses are all recorded. > It occurs to me, however, you might be able to do it in a less complex way (even if it will look a bit ugly): > Make a list for your trials (say TrialList). Code at least ALL text you want your subject to read (might well be a page? Use \n for new lines) as an attribute (say myStory) such that each trial has something else to read. Let the procedure within that TrialList refer to another list (say SubTrialList) with at least one attribute, say mySoundfile. Record both empty and non-empty soundfiles (for timing purposes), say "empty.wav" and "beep.wav" and fill your SubTrialList with these two. Now, if you want a single trial to have, say, 20 beeps and 80 silences, each of 1 second long (or 10 ms beep and 990 ms silence), just have [mySoundfile] refer to 20 beeps and 80 silences. For each SubTrialList level, use the same procedure, with, in it, at least one (or two, if you want to record whether subjects press a button BEFORE the onset of the stimulus) slide. The slide then has text [myStory] and sound [mySoundfile]. As said, it's probably best to have another, but similar slide before this slide, such that you can collect responses that precede the sound (anticipatory responses). This has, as a benefit, that you can thereby randomise the duration of the intervals between beeps. > > Oh, and try to be a bit more specific in your question: where did you get stuck? Unless you prefer someone actually to make your experiment - might be a bit more expensive though. > Best, > Mich > > Michiel Spap? > Research Fellow > Perception & Action group > University of Nottingham > School of Psychology > > > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Antonello > Sent: 20 April 2010 08:39 > To: E-Prime > Subject: auditory secondary task > > Hi, I'm new in using E-prime. I want to create that: > > While the participants read a narrative text, they are involved in > detecting pure tone (presented in a random time manner) in a secondary > task. How can I do that? I am interested in record either reaction > times about the secondary task either in record reading duration time. > > Thanks in advance > > Antonello > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en.- Nascondi testo citato > > - Mostra testo citato - -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Tue Apr 20 13:45:44 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 20 Apr 2010 09:45:44 -0400 Subject: auditory secondary task In-Reply-To: <2714d5b5-af18-4f4c-9837-fd50a640dfcf@l24g2000vbn.googlegro ups.com> Message-ID: Antonello, Sounds like you want to run some kind of a "dual task" experiment. We had a thread about this toward the end of last year, please take a look at http://groups.google.com/group/e-prime/browse_thread/thread/360a5c54d63ae241 . You might also try a search using "dual task", and the Dual Task example downloadable from the PST web site. -- David McFarlane, Professional Faultfinder >Yes, I'm very new! Thanks for all your suggestions! My difficult was >to beep in a random mode while the text was present! >I will try to follow your suggestions! >Best regards >Antonello Puglia > >(PhD student in Cognitive Psychology, University of Chieti-Pescara, >Italy) > >On 20 Apr, 14:12, Michiel Spape >wrote: > > Hi Antonello, > > How new are you to E-Prime? If the answer is > "very new", I will predict you'll have quite > some difficulty getting this to work - indeed, > how you seem to suggest you would like to do > this suggests this may well be the case. That > is, E-Prime slightly forces you to do things in > a time-locked (to use an ERP term) manner: read > single word, detect response to task1, detect > respond to task 2, is quite easy, but 'go on > reading while detecting single responses > continuously'... not so much. That said, if > you'd have a single slide with, say, a page of > text and a sound stimulus on it, you can > collect multiple responses (in advanced > properties of responses/timing tab). Then, > you'd have to code stuff so that the response > times of these responses are all recorded. > > It occurs to me, however, you might be able > to do it in a less complex way (even if it will look a bit ugly): > > Make a list for your trials (say TrialList). > Code at least ALL text you want your subject to > read (might well be a page? Use \n for new > lines) as an attribute (say myStory) such that > each trial has something else to read. Let the > procedure within that TrialList refer to > another list (say SubTrialList) with at least > one attribute, say mySoundfile. Record both > empty and non-empty soundfiles (for timing > purposes), say "empty.wav" and "beep.wav" and > fill your SubTrialList with these two. Now, if > you want a single trial to have, say, 20 beeps > and 80 silences, each of 1 second long (or 10 > ms beep and 990 ms silence), just have > [mySoundfile] refer to 20 beeps and 80 > silences. For each SubTrialList level, use the > same procedure, with, in it, at least one (or > two, if you want to record whether subjects > press a button BEFORE the onset of the > stimulus) slide. The slide then has text > [myStory] and sound [mySoundfile]. As said, > it's probably best to have another, but similar > slide before this slide, such that you can > collect responses that precede the sound > (anticipatory responses). This has, as a > benefit, that you can thereby randomise the > duration of the intervals between beeps. > > > > Oh, and try to be a bit more specific in your > question: where did you get stuck? Unless you > prefer someone actually to make your experiment > - might be a bit more expensive though. > > Best, > > Mich > > > > Michiel Spap? > > Research Fellow > > Perception & Action group > > University of Nottingham > > School of Psychology > > > > > > > > -----Original Message----- > > From: e-prime at googlegroups.com > [mailto:e-prime at googlegroups.com] On Behalf Of Antonello > > Sent: 20 April 2010 08:39 > > To: E-Prime > > Subject: auditory secondary task > > > > Hi, I'm new in using E-prime. I want to create that: > > > > While the participants read a narrative text, they are involved in > > detecting pure tone (presented in a random time manner) in a secondary > > task. How can I do that? I am interested in record either reaction > > times about the secondary task either in record reading duration time. > > > > Thanks in advance > > > > Antonello -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Tue Apr 20 14:33:06 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 20 Apr 2010 10:33:06 -0400 Subject: auditory secondary task In-Reply-To: <4bcdb00c.5244f10a.5e60.ffffac90SMTPIN_ADDED@gmr-mx.google. com> Message-ID: I just took a look at PST's DualTask example myself. It essentially runs a task within a task, i.e., secondary List/Proc stimuli within a primary (and static) List/Proc stimulus, with stimuli overlaid by means of TextDisplay Frame attributes. (Also note that their code contains yet another example of poor programming practice. The CheckTime inline uses the line If Clock.Read >= LngEndTime OR LngEndTime-Clock.Read <= 500 Then First, it is poor practice to use Clock.Read more than once in a logical test, since technically it will have a different value for each test; best to store Clock.Read to an intermediate variable and then test with that variable. Then of course (LngEndTime-Clock.Read <= 500) is logically equivalent to (Clock.Read >= LngEndTime-500), and whenever (Clock.Read >= LngEndTime-500) then it is also true that (Clock.Read >= LngEndTime). Thus the two tests are superfluous, and that line should be reduced to simply If Clock.Read >= LngEndTime - 500 Then which solves both issues. In general, keep a wary eye out when looking at PST examples, they are rife with poor programming practices and mistakes.) -- David McFarlane, Professional Faultfinder >Antonello, > >Sounds like you want to run some kind of a "dual >task" experiment. We had a thread about this >toward the end of last year, please take a look >at >http://groups.google.com/group/e-prime/browse_thread/thread/360a5c54d63ae241 >. You might also try a search using "dual >task", and the Dual Task example downloadable from the PST web site. > >-- David McFarlane, Professional Faultfinder > > >>Yes, I'm very new! Thanks for all your suggestions! My difficult was >>to beep in a random mode while the text was present! >>I will try to follow your suggestions! >>Best regards >>Antonello Puglia >> >>(PhD student in Cognitive Psychology, University of Chieti-Pescara, >>Italy) >> >>On 20 Apr, 14:12, Michiel Spape >>wrote: >> > Hi Antonello, >> > How new are you to E-Prime? If the answer is >> "very new", I will predict you'll have quite >> some difficulty getting this to work - indeed, >> how you seem to suggest you would like to do >> this suggests this may well be the case. That >> is, E-Prime slightly forces you to do things >> in a time-locked (to use an ERP term) manner: >> read single word, detect response to task1, >> detect respond to task 2, is quite easy, but >> 'go on reading while detecting single >> responses continuously'... not so much. That >> said, if you'd have a single slide with, say, >> a page of text and a sound stimulus on it, you >> can collect multiple responses (in advanced >> properties of responses/timing tab). Then, >> you'd have to code stuff so that the response >> times of these responses are all recorded. >> > It occurs to me, however, you might be able >> to do it in a less complex way (even if it will look a bit ugly): >> > Make a list for your trials (say TrialList). >> Code at least ALL text you want your subject >> to read (might well be a page? Use \n for new >> lines) as an attribute (say myStory) such that >> each trial has something else to read. Let the >> procedure within that TrialList refer to >> another list (say SubTrialList) with at least >> one attribute, say mySoundfile. Record both >> empty and non-empty soundfiles (for timing >> purposes), say "empty.wav" and "beep.wav" and >> fill your SubTrialList with these two. Now, if >> you want a single trial to have, say, 20 beeps >> and 80 silences, each of 1 second long (or 10 >> ms beep and 990 ms silence), just have >> [mySoundfile] refer to 20 beeps and 80 >> silences. For each SubTrialList level, use the >> same procedure, with, in it, at least one (or >> two, if you want to record whether subjects >> press a button BEFORE the onset of the >> stimulus) slide. The slide then has text >> [myStory] and sound [mySoundfile]. As said, >> it's probably best to have another, but >> similar slide before this slide, such that you >> can collect responses that precede the sound >> (anticipatory responses). This has, as a >> benefit, that you can thereby randomise the >> duration of the intervals between beeps. >> > >> > Oh, and try to be a bit more specific in >> your question: where did you get stuck? Unless >> you prefer someone actually to make your >> experiment - might be a bit more expensive though. >> > Best, >> > Mich >> > >> > Michiel Spap? >> > Research Fellow >> > Perception & Action group >> > University of Nottingham >> > School of Psychology >> > >> > >> > >> > -----Original Message----- >> > From: e-prime at googlegroups.com >> [mailto:e-prime at googlegroups.com] On Behalf Of Antonello >> > Sent: 20 April 2010 08:39 >> > To: E-Prime >> > Subject: auditory secondary task >> > >> > Hi, I'm new in using E-prime. I want to create that: >> > >> > While the participants read a narrative text, they are involved in >> > detecting pure tone (presented in a random time manner) in a secondary >> > task. How can I do that? I am interested in record either reaction >> > times about the secondary task either in record reading duration time. >> > >> > Thanks in advance >> > >> > Antonello -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From teachsmith at gmail.com Tue Apr 20 20:45:26 2010 From: teachsmith at gmail.com (mt) Date: Tue, 20 Apr 2010 13:45:26 -0700 Subject: recording audio response - SoundCapture device not recognized Message-ID: Hi - I am setting up an experiment with vocal responses. We can easily capture response onset with SRBox and a mic. We would also like to capture the utterance (yes/no), possibly for voice recognition and feedback. What type of device is needed for this? I have tried using a mic on my simple Conexant SmartAudio Codec. The problem seems to be that e-prime has no way to write the audio file or it is not recognizing that the "SoundCapture" device I have "added" is present (It isn't an option as an 'input device' in the response options. I seem to be missing something basic about this. Has anyone recorded voice responses successfully? Any tricks to share? Assuming it is possible, has anyone used voice recognition for feedback on vocal responses? Thanks for anything you can share. Best, Cathy Smith -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From shivani.shivipr at gmail.com Tue Apr 20 23:31:44 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Tue, 20 Apr 2010 16:31:44 -0700 Subject: E Prime and Black Box Message-ID: Hi, I am using E Prime to develop the experiments. In this experiment, the subject sees a fixation mark followed by a string of letters. He/she also hears a tone after 50 or 100 or 200 or 400 or 800ms, the string has been displayed on the screen. The subject's task is to determine if the string of letters was a word or non-word. I am using an external device (Coulbourn) to produce the tone after 50 or 100 or 200 or 400 or 800ms duration, the stimulus has been displayed on the screen. Also I am using black box tool kit to measure the duration of the fixation point, stimulus, and also to measure the time after which the tone is played. The duration of fixation mark is 1 s, the duration of stimulus is 2 s and the time after which tone should be played is 50 or 100 or 200 or 400 or 800 ms. After using black box to measure the timing precision, I found out that there is no issue with the duration of fixation point and stimulus, but the tone seems to be played before the stimulus is on the screen for 50 ms tone lag. I don't know why it is so, because the script in the experiment clearly says that tone is played after the stimulus has been displayed on the screen. Time lag in script(ms) Actual time lag I am getting in real time(ms) 800 600 400 250 or 262 200 172 or 82.5 or 95 100 20 50 -80 (-) means I am getting the tone earlier than it should be. This shows that for 50ms, tone is getting produced before the picture comes up on the screen. 50ms is such a small time unit and it is not discernible for me to figure out this. This is really important for me to figure out why this difference is appearing. I mean in my code I have set tone lags as 50, 100, 200, 400 or 800 but I am getting all of them as something less in real time. This experiment would be used for scientific studies and so timing is really really important for this. Any help is really appreciated. Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From shivani.shivipr at gmail.com Tue Apr 20 23:40:54 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Tue, 20 Apr 2010 16:40:54 -0700 Subject: E Prime and Black Box In-Reply-To: <9c0f37a8-822d-4a72-9d8a-1984095e598d@i40g2000yqd.googlegroups.com> Message-ID: Hi, The table got screwed up. I am again putting the table here: Time lag Actual time lag in script(ms) I am getting in real time(ms) 800 600 400 250 or 262 200 172 or 82.5 or 95 100 20 50 -80 Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From shivani.shivipr at gmail.com Tue Apr 20 23:44:08 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Tue, 20 Apr 2010 16:44:08 -0700 Subject: E Prime and Black Box Message-ID: Hi, I am using E Prime to develop the experiments. In this experiment, the subject sees a fixation mark followed by a string of letters. He/she also hears a tone after 50 or 100 or 200 or 400 or 800ms, the string has been displayed on the screen. The subject's task is to determine if the string of letters was a word or non-word. I am using an external device (Coulbourn) to produce the tone after 50 or 100 or 200 or 400 or 800ms duration, the stimulus has been displayed on the screen. Also I am using black box tool kit to measure the duration of the fixation point, stimulus, and also to measure the time after which the tone is played. The duration of fixation mark is 1 s, the duration of stimulus is 2 s and the time after which tone should be played is 50 or 100 or 200 or 400 or 800 ms. After using black box to measure the timing precision, I found out that there is no issue with the duration of fixation point and stimulus, but the tone seems to be played before the stimulus is on the screen for 50 ms tone lag. I don't know why it is so, because the script in the experiment clearly says that tone is played after the stimulus has been displayed on the screen. Time lag Actual time lag in script(ms) I am getting in real time(ms) 800 600 400 250 or 262 200 172 or 82.5 or 95 100 20 50 -80 (-) means I am getting the tone earlier than it should be. This shows that for 50ms, tone is getting produced before the picture comes up on the screen. 50ms is such a small time unit and it is not discernible for me to figure out this. This is really important for me to figure out why this difference is appearing. I mean in my code I have set tone lags as 50, 100, 200, 400 or 800 but I am getting all of them as something less in real time. This experiment would be used for scientific studies and so timing is really really important for this. Any help is really appreciated. Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From rariel at kent.edu Tue Apr 20 23:55:16 2010 From: rariel at kent.edu (Robert Ariel) Date: Tue, 20 Apr 2010 19:55:16 -0400 Subject: Signal detection theory In-Reply-To: Message-ID: Well, if you buy the assumptions of SDT you can. Remember, SDT makes assumption about behavior. Specifically that decisions are made by applying a decision criterion to the evidence extracted from each trial. So, you could conclude that one condition has a higher hit rate because that condition has a larger bias toward saying yes in your experiment. I guess the question is, does it make theoretical sense to do so? On Mon, Apr 19, 2010 at 7:33 AM, Tobias wrote: > Thanks Robert, > > if I am not getting you wrong, this means that C is independent of d' > but not of the hit rate. > The question occurs to me if you can really say that one condition is > more liberal if they are just better obviously. > > Cheers, > Tobias > > On 16 Apr., 21:25, Robert Ariel wrote: > > Tobias, > > > > Computationally, C is the average of the your transformed hit and false > > alarm rates. You can see this in the equation you presented. So, no > doubt > > if you have equal false alarm rates across conditions, differences in C > are > > resulting because of differences in hit rates. > > > > Basically with equal false alarm rates, the condition with a higher hit > rate > > will always be more liberal. If hit rates are equal, the condition with > > higher false alarm rate will be more liberal. > > > > Best, > > > > Robert > > > > > > > > On Fri, Apr 16, 2010 at 9:59 AM, Tobias wrote: > > > Hi together, > > > > > this might be a bit off topic but as you are all very much into > > > psychological experimental science you might be of great help for this > > > issue. Besides, my topic is the outcome of an E-Prime experiment ;) > > > > > It is about the response bias in signal detection theory (SDT). I've > > > heard that C is usually better than Beta as a measure of response bias > > > as it is indpendent of d'. Now what I have in my experiment is a very > > > high hit rate for condition A and a lower hit rate for condition B. > > > False alarm rates are however the same for A and B. So what I get > > > using the formula for C (C = -0.5*(z(false alarms) + z(hits)) is a > > > liberal criterion C for A and a less liberal criterion for B. > > > > > So can I actually say that A is more liberal? Apparently this is only > > > due to the fact that the hit rate is higher. I am quite puzzled by > > > this... glad for any help! > > > > > 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 this group at > > >http://groups.google.com/group/e-prime?hl=en. > > > > -- > > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > > To post to this group, send email to e-prime at googlegroups.com. > > To unsubscribe from this group, send email to > e-prime+unsubscribe at googlegroups.com > . > > For more options, visit this group athttp:// > groups.google.com/group/e-prime?hl=en. > > -- > 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 this group at > http://groups.google.com/group/e-prime?hl=en. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shivani.shivipr at gmail.com Wed Apr 21 00:15:18 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Tue, 20 Apr 2010 17:15:18 -0700 Subject: Trials getting flipped Message-ID: Hi, I am using E Prime to develop the experiments. In this experiment, the subject sees a fixation mark followed by an image. The subject's task is to determine if the image was a target or distractor. Basically there are 14 different trial lists in this experiment and all of them consists of 100 trials each, 50 targets and 50 distractors. Each time a trial list is selected at random and its 100 stimuli are presented on the screen randomly such that no more than 3 targets or 3 distractors occur consecutively. To achieve this randomization, I am using a sample script provided by pstnet.com in the samples section. I am printing the image name, its type and corresponding correct answer in the output window. The problem I am facing is some of the trials are getting flipped. I mean a distractor image is displayed on the screen but its type is taken as target and the correct answer is taken as 1. Actually if a distractor image is selected, its type should be distractor and also its correct answer should be 5. One important thing I noticed in here is that a target image is never taken as a distractor image, I mean a target image is never getting flipped. When the first trial list is selected, this flipping problem is not there usually. It starts from 2nd or 3rd trial list, with every 3 - 4 trials out of 100 trials getting flipped (distractor being treated as a target). Towards the end of the experiment, say 10th or 11th trial list, this problem is much more pronounced and every 6 - 7 trials are getting flipped out of 100 trials. I tried running the experiment 15 times, and each time this flipping problem was there. Distractor got treated as a target but never the other way round and also the flipping is not because of same images each time, the images getting flipped keep on changing. One other important point that I noticed here is when a particular trial list is selected at the 1st position, there are no flips, but if I run the experiment again and if this list got selected at some other position say 9th or 11th or something towards the end of the experiment, there were flips in the trial list. If I remove the randomization script, there are no flips in the entire experiment. So basically I know that this flipping is occurring because of the randomization script. I tried whatever I could but to no use. I have been struggling with this problem for last one month. It would be really nice if some one can give some solution to this problem. Any help is really appreciated. Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Liza.Mccarron at uwe.ac.uk Wed Apr 21 10:41:47 2010 From: Liza.Mccarron at uwe.ac.uk (Liza Mccarron) Date: Wed, 21 Apr 2010 11:41:47 +0100 Subject: Trials getting flipped In-Reply-To: Message-ID: Shivani, Not an answer to your question I'm afraid but am interested to see which sample you are using from the samples page as a colleague is at the moment trying to program something similar with no more than three repeats of a condition (word/ non word in this case) - is it the ' No Repeats on Consecutive Trials (Individual Trial)' example? Many Thanks Liza -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From hester.duffy at gmail.com Wed Apr 21 15:53:53 2010 From: hester.duffy at gmail.com (Hester) Date: Wed, 21 Apr 2010 08:53:53 -0700 Subject: Randomised sub-lists Message-ID: Hi All, I'm trying to set up a study in which participants rate the stimuli used in another experiment. I have 360 stimuli in all, but I only want each participant to rate 60 of them, and I want to do this in such a way that each of the stimuli gets used the same number of times. Obviously I could just create 6 lists of 60 items each and use different run files each time, but I'm wondering if there's a more efficient and elegant way of doing it. I've tried setting the list to reset after a cycle of 360 samples, and to exit after 60, but having run it three times, and then compared the lists of stimuli used, I'm getting duplicates, so it's clearly not doing what I want. Basically, I need it to give the first participant a random list of 60 taken from the full list of 360; the second participant should then get a random list of 60 taken from the remaining 300, the next a random list of 60 from the remaining 240, and so on, until the sixth participant has a randomly-ordered list consisting of the remaining 60 items. It would then reset, so that the seventh participant gets a random list of 60 from the original 360 (but not necessarily the same 60 as participant 1). Does anyone know whether E-Prime can do this, and if so, how? Many thanks, H -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From shivani.shivipr at gmail.com Wed Apr 21 17:51:38 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Wed, 21 Apr 2010 10:51:38 -0700 Subject: Trials getting flipped In-Reply-To: <20010E745C50274D93A655F97E2815973047439E1E@EGEN-MBX02.campus.ads.uwe.ac.uk> Message-ID: Hi, Thanks a lot for your reply and help. Yes I am using the same example from samples of pstnet.com It would be really nice to help me out with this problem. Thanks Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From shivani.shivipr at gmail.com Wed Apr 21 20:07:15 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Wed, 21 Apr 2010 13:07:15 -0700 Subject: Trials getting flipped In-Reply-To: <26490bfd-5196-4c09-8d3f-86a9377fcc42@r1g2000yqb.googlegroups.com> Message-ID: Hi, I just want to clear one more thing about your experiment. How many stimuli you have in all in the trial list? Are you putting them all in one trial list or pulling them from different sub trial lists randomly? I want to know this because I am performing a similar experiment as yours for word - non word with no more than 3 consecutive words or non words and I am not facing any problem with this. Here in this experiment, I have just one trial list which consists of all my stimuli, I am not pulling stimuli from the sub trial lists. The problem of flipping starts when I pull the stimuli from sub trial lists. Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From baltimore.ben at gmail.com Wed Apr 21 17:43:24 2010 From: baltimore.ben at gmail.com (ben robinson) Date: Wed, 21 Apr 2010 13:43:24 -0400 Subject: Randomised sub-lists In-Reply-To: <13aa1d79-9174-4f84-bb26-5c3ccf1fb349@q23g2000yqd.googlegroups.com> Message-ID: to do this you will probably need to manually assign a value for the Random Seed for each 6 participants you see. the first 6 participants might be assigned a random seed of '1', the next six '2', etc. if you set it up properly your list of 360 stimuli will be shuffled according to the random seed value. you could then determine which subset of 60 items, drawn pseudorandomly from the larger set of 360 items, to present to your subject based on Subject Number. divide the the subject number by 6, take the remainder which will always be a value from 0-5, and based on that value present one of six different subsets. something like that. sorry if it's not very clear... On Wed, Apr 21, 2010 at 11:53 AM, Hester wrote: > Hi All, > > I'm trying to set up a study in which participants rate the stimuli > used in another experiment. I have 360 stimuli in all, but I only want > each participant to rate 60 of them, and I want to do this in such a > way that each of the stimuli gets used the same number of times. > Obviously I could just create 6 lists of 60 items each and use > different run files each time, but I'm wondering if there's a more > efficient and elegant way of doing it. > > I've tried setting the list to reset after a cycle of 360 samples, and > to exit after 60, but having run it three times, and then compared the > lists of stimuli used, I'm getting duplicates, so it's clearly not > doing what I want. Basically, I need it to give the first participant > a random list of 60 taken from the full list of 360; the second > participant should then get a random list of 60 taken from the > remaining 300, the next a random list of 60 from the remaining 240, > and so on, until the sixth participant has a randomly-ordered list > consisting of the remaining 60 items. It would then reset, so that the > seventh participant gets a random list of 60 from the original 360 > (but not necessarily the same 60 as participant 1). > > Does anyone know whether E-Prime can do this, and if so, how? > > Many thanks, > > H > > -- > 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 this group at > http://groups.google.com/group/e-prime?hl=en. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Liza.Mccarron at uwe.ac.uk Thu Apr 22 08:36:07 2010 From: Liza.Mccarron at uwe.ac.uk (Liza Mccarron) Date: Thu, 22 Apr 2010 09:36:07 +0100 Subject: Trials getting flipped In-Reply-To: <26490bfd-5196-4c09-8d3f-86a9377fcc42@r1g2000yqb.googlegroups.com> Message-ID: Shivani, Which parameter in the script are you changing to get the not more than 3 repeats part set? I'm having trouble with that at the moment! Thanks Liza -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Shivani R Sent: 21 April 2010 18:52 To: E-Prime Subject: Re: Trials getting flipped Hi, Thanks a lot for your reply and help. Yes I am using the same example from samples of pstnet.com It would be really nice to help me out with this problem. Thanks Regards Shivani -- 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 this group at http://groups.google.com/group/e-prime?hl=en. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. From shinyi.fang at gmail.com Thu Apr 22 15:56:48 2010 From: shinyi.fang at gmail.com (Shin-Yi Fang) Date: Thu, 22 Apr 2010 11:56:48 -0400 Subject: recording audio response - SoundCapture device not recognized In-Reply-To: <90a57295-50dd-4082-8dfa-57b545e1c59e@i12g2000vba.googlegroups.com> Message-ID: Hi, I am using eprime to record voice for later scoring. You are right, there is no sound input device in response option. I think the way to use it is through "SoundIn" object. You can find SoundIn object in toolbox which can be used independently or under Slide object. Two thing might be worth mentioned. 1. recording require professional version. 2. the microphone/line in option under sound device need to turn on. The sound device setting depends on the sound card you use. I did not use voice recognition or feedback. It will be nice to know if it is possible. Best, Shin-Yi On Tue, Apr 20, 2010 at 4:45 PM, mt wrote: > Hi - > > I am setting up an experiment with vocal responses. We can easily > capture response onset with SRBox and a mic. We would also like to > capture the utterance (yes/no), possibly for voice recognition and > feedback. What type of device is needed for this? I have tried using a > mic on my simple Conexant SmartAudio Codec. The problem seems to be > that e-prime has no way to write the audio file or it is not > recognizing that the "SoundCapture" device I have "added" is present > (It isn't an option as an 'input device' in the response options. I > seem to be missing something basic about this. > > Has anyone recorded voice responses successfully? Any tricks to share? > Assuming it is possible, has anyone used voice recognition for > feedback on vocal responses? > > Thanks for anything you can share. > > Best, > Cathy Smith > > -- > 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 this group at > http://groups.google.com/group/e-prime?hl=en. > > -- Ph.D. Student Department of Psychology University of Connecticut and Haskins Laboratories -- 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 this group at http://groups.google.com/group/e-prime?hl=en. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcfarla9 at msu.edu Thu Apr 22 18:29:07 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 22 Apr 2010 14:29:07 -0400 Subject: recording audio response - SoundCapture device not recognized In-Reply-To: Message-ID: Cathy, Also note that you can go directly to PST Web Support at http://support.pstnet.com/e%2Dprime/support/login.asp with any questions about SoundIn or any other aspect of E-Prime. They strive to respond to all requests in 24-48 hours (although latest reports indicate more like 10 days), and this is pretty much their substitute for proper documentation, so make full use of it. -- David McFarlane, Professional Faultfinder At 4/22/2010 11:56 AM Thursday, Shin-Yi Fang wrote: >Hi, > >I am using eprime to record voice for later scoring. You are right, >there is no sound input device in response option. I think the way >to use it is through "SoundIn" object. You can find SoundIn object >in toolbox which can be used independently or under Slide object. >Two thing might be worth mentioned. 1. recording require >professional version. 2. the microphone/line in option under sound >device need to turn on. The sound device setting depends on the >sound card you use. >I did not use voice recognition or feedback. It will be nice to know >if it is possible. > >Best, > >Shin-Yi > > >On Tue, Apr 20, 2010 at 4:45 PM, mt ><teachsmith at gmail.com> wrote: >Hi - > >I am setting up an experiment with vocal responses. We can easily >capture response onset with SRBox and a mic. We would also like to >capture the utterance (yes/no), possibly for voice recognition and >feedback. What type of device is needed for this? I have tried using a >mic on my simple Conexant SmartAudio Codec. The problem seems to be >that e-prime has no way to write the audio file or it is not >recognizing that the "SoundCapture" device I have "added" is present >(It isn't an option as an 'input device' in the response options. I >seem to be missing something basic about this. > >Has anyone recorded voice responses successfully? Any tricks to share? >Assuming it is possible, has anyone used voice recognition for >feedback on vocal responses? > >Thanks for anything you can share. > >Best, >Cathy Smith > >-- >Ph.D. Student >Department of Psychology >University of Connecticut >and >Haskins Laboratories -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Thu Apr 22 18:42:05 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 22 Apr 2010 14:42:05 -0400 Subject: Randomised sub-lists In-Reply-To: Message-ID: H, I take it that you want randomized sequences that will continue across separate experimental runs. That's a tall order for any system, as it would have to preserve and reuse information between sessions. As Ben says, you would first have to reuse the same random seed between runs. That alone would give each subject who uses the same random seed the same sequence. If you want to have one subject run a random sequence of 60 items out of 360, and then the next subject run the next 60 items from that same random sequence, then you have to to a little more. I think that I would start with reusing the random seed as already posited, and in additon use the Offset order for my List to start with the 61st item from the random sequence, or 121st, etc. Just a thought. You might also consider asking PST Web Support (http://support.pstnet.com/e%2Dprime/support/login.asp ) for ideas, they have come through for me on issues like this from time to time. For all I know the new StartupInfo file mechanism of EP2 could help you with this. -- David McFarlane, Professional Faultfinder At 4/21/2010 01:43 PM Wednesday, ben robinson wrote: >to do this you will probably need to manually assign a value for the >Random Seed for each 6 participants you see. >the first 6 participants might be assigned a random seed of '1', the >next six '2', etc. if you set it up properly your list of 360 >stimuli will be shuffled according to the random seed value. >you could then determine which subset of 60 items, drawn >pseudorandomly from the larger set of 360 items, to present to your >subject based on Subject Number. divide the the subject number by >6, take the remainder which will always be a value from 0-5, and >based on that value present one of six different subsets. >something like that. sorry if it's not very clear... > >On Wed, Apr 21, 2010 at 11:53 AM, Hester ><hester.duffy at gmail.com> wrote: >Hi All, > >I'm trying to set up a study in which participants rate the stimuli >used in another experiment. I have 360 stimuli in all, but I only want >each participant to rate 60 of them, and I want to do this in such a >way that each of the stimuli gets used the same number of times. >Obviously I could just create 6 lists of 60 items each and use >different run files each time, but I'm wondering if there's a more >efficient and elegant way of doing it. > >I've tried setting the list to reset after a cycle of 360 samples, and >to exit after 60, but having run it three times, and then compared the >lists of stimuli used, I'm getting duplicates, so it's clearly not >doing what I want. Basically, I need it to give the first participant >a random list of 60 taken from the full list of 360; the second >participant should then get a random list of 60 taken from the >remaining 300, the next a random list of 60 from the remaining 240, >and so on, until the sixth participant has a randomly-ordered list >consisting of the remaining 60 items. It would then reset, so that the >seventh participant gets a random list of 60 from the original 360 >(but not necessarily the same 60 as participant 1). > >Does anyone know whether E-Prime can do this, and if so, how? > >Many thanks, > >H -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From shivani.shivipr at gmail.com Thu Apr 22 21:40:45 2010 From: shivani.shivipr at gmail.com (Shivani R) Date: Thu, 22 Apr 2010 14:40:45 -0700 Subject: Trials getting flipped In-Reply-To: <20010E745C50274D93A655F97E2815973047439E2B@EGEN-MBX02.campus.ads.uwe.ac.uk> Message-ID: Hi, I am trying to change the type of the stimulus. Shivani On Apr 22, 3:36?am, Liza Mccarron wrote: > Shivani, > > Which parameter in the script are you changing to get the not more than 3 repeats part set? ?I'm having trouble with that at the moment! > > Thanks > > Liza > > > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Shivani R > Sent: 21 April 2010 18:52 > To: E-Prime > Subject: Re: Trials getting flipped > > Hi, > > Thanks a lot for your reply and help. Yes I am using the same example > from samples of ?pstnet.com > > It would be really nice to help me out with this problem. > > Thanks > > Regards > Shivani > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Fri Apr 23 15:32:33 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Fri, 23 Apr 2010 11:32:33 -0400 Subject: Randomised sub-lists In-Reply-To: <4bd09883.5944f10a.7ebc.594bSMTPIN_ADDED@gmr-mx.google.com> Message-ID: BTW, in case you did not already know, here is how you set your own random seed in E-Prime: Open the Experiment object properties and go to the Startup Info tab. Add a Startup Info Parameter called "RandomSeed", making sure that it is Numeric. Now when you start the run E-Prime will prompt you for the RandomSeed and use the entered value for the random seed. Note that PST documents this as Knowledge Base article #882, "INFO: Ability to set random seed in E-Studio using RandomSeed Startup Info parameter". In principle you might also figure it out yourself from studying the Main() code generated by E-Studio. -- David McFarlane, Professional Faultfinder At 4/22/2010 02:42 PM Thursday, David McFarlane wrote: >H, > >I take it that you want randomized sequences that will continue >across separate experimental runs. That's a tall order for any >system, as it would have to preserve and reuse information between >sessions. As Ben says, you would first have to reuse the same >random seed between runs. That alone would give each subject who >uses the same random seed the same sequence. If you want to have >one subject run a random sequence of 60 items out of 360, and then >the next subject run the next 60 items from that same random >sequence, then you have to to a little more. I think that I would >start with reusing the random seed as already posited, and in >additon use the Offset order for my List to start with the 61st item >from the random sequence, or 121st, etc. Just a thought. > >You might also consider asking PST Web Support >(http://support.pstnet.com/e%2Dprime/support/login.asp ) for ideas, >they have come through for me on issues like this from time to >time. For all I know the new StartupInfo file mechanism of EP2 >could help you with this. > >-- David McFarlane, Professional Faultfinder > > >At 4/21/2010 01:43 PM Wednesday, ben robinson wrote: >>to do this you will probably need to manually assign a value for >>the Random Seed for each 6 participants you see. >>the first 6 participants might be assigned a random seed of '1', >>the next six '2', etc. if you set it up properly your list of 360 >>stimuli will be shuffled according to the random seed value. >>you could then determine which subset of 60 items, drawn >>pseudorandomly from the larger set of 360 items, to present to your >>subject based on Subject Number. divide the the subject number by >>6, take the remainder which will always be a value from 0-5, and >>based on that value present one of six different subsets. >>something like that. sorry if it's not very clear... >> >>On Wed, Apr 21, 2010 at 11:53 AM, Hester >><hester.duffy at gmail.com> wrote: >>Hi All, >> >>I'm trying to set up a study in which participants rate the stimuli >>used in another experiment. I have 360 stimuli in all, but I only want >>each participant to rate 60 of them, and I want to do this in such a >>way that each of the stimuli gets used the same number of times. >>Obviously I could just create 6 lists of 60 items each and use >>different run files each time, but I'm wondering if there's a more >>efficient and elegant way of doing it. >> >>I've tried setting the list to reset after a cycle of 360 samples, and >>to exit after 60, but having run it three times, and then compared the >>lists of stimuli used, I'm getting duplicates, so it's clearly not >>doing what I want. Basically, I need it to give the first participant >>a random list of 60 taken from the full list of 360; the second >>participant should then get a random list of 60 taken from the >>remaining 300, the next a random list of 60 from the remaining 240, >>and so on, until the sixth participant has a randomly-ordered list >>consisting of the remaining 60 items. It would then reset, so that the >>seventh participant gets a random list of 60 from the original 360 >>(but not necessarily the same 60 as participant 1). >> >>Does anyone know whether E-Prime can do this, and if so, how? >> >>Many thanks, >> >>H -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From jens.bernhardsson at gmail.com Mon Apr 26 10:59:31 2010 From: jens.bernhardsson at gmail.com (jens) Date: Mon, 26 Apr 2010 03:59:31 -0700 Subject: Slide Objects shift their position In-Reply-To: <4bacd18e.5844f10a.0480.24b9SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Update. Answer from PST web Support: "Thank you for attaching your experiment file. I apologize for the delay in my response. There is nothing in the experiment file itself that would cause a problem, so the problem may be with your version of E-Prime 2.0. Can you confirm that you are using the most recent version of the software, which is 2.0.8.74? If not, please download this version from here on the web support site by clicking Download > E-Prime > E-Prime 2.0 Release Candidate > E-Prime 2.0 Professional Release Candidate Installation (80MB) Build 2.0.8.74. Please let me know if you are already using the latest version, or whether you still have the problem after updating to the latest version. I hope to hear from you soon." Response from me: I didn't use the latest build. I was running the 2.0.8.22. After updating, it looks a lot better. It's not perfect but I can run with it, and since I am not doing any experiment with small and complex patterns that's depended on knowing the exact visual angel, then it's ok. For now ;) -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From joelsuss at gmail.com Mon Apr 26 21:43:57 2010 From: joelsuss at gmail.com (ndt) Date: Mon, 26 Apr 2010 14:43:57 -0700 Subject: Pinout diagram for SR box Message-ID: Hi, I am a grad student and new E-Prime user. I am using E-prime to present auditory stimuli, to which participants need to provide a verbal response. I want to record their responses, and also get a voice RT. I have constructed the experiment in E-prime, and just worked out that to get a voice RT, I need to have an SR box, or something like it. My department's electronic workshop already has a device (that they made for a previous experiment) that will function like an SR box to get the voice RTs. They just need to know which pins to wire it for so that E-Prime will recognize it. My electronics knowledge is very limited. I have tried to find a pinout diagram on line, without any success. I have trawled through this group, and have found posts like: http://groups.google.com/group/e-prime/browse_thread/thread/d42447cfc9a061af/f4d681564452d0b5?lnk=gst&q=pin+out#f4d681564452d0b5 by David McFarlane, but the pin information contained therein didn't seem (to my naive electronics mind) to be what I need. Why do I say that? Because in that post it referred to pins with numbers greater than 25, and from what I understand, the SR box uses a RS232 DB25 pinout. I have emailed PST asking for a copy of the SR Box manual, but they seem to have delays because they are experiencing a large volume of requests. Any assistance/advice/pointers would be appreciated. Regards Joel -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Tue Apr 27 16:18:29 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 27 Apr 2010 12:18:29 -0400 Subject: Pinout diagram for SR box In-Reply-To: <458bbae7-5d62-4e80-9b05-a90f6dce731b@c36g2000yqm.googlegro ups.com> Message-ID: Joel, 1) Because of your custom hardware, PST Web Support will almost certainly do you no good in this case (see #3 below). 2) The pin numbers that you refer to (from my earlier post) themselves refer to pins on a 40-pin header inside the SRBox, not pins on the computer. So of course those pin numbers are irrelevant to you. They apply only when you connect external switches to the SRBox, then connect the SRBox to the computer, i.e., using the SRBox as an interface to translate simple digital on-off signals into serial data. 3) If your custom device does indeed "function like an SR box", then you would need nothing more than a serial cable and treating it like a regular SRBox in E-Prime. But I highly doubt that you meant "function like an SR box", your department's electronic workshop almost certainly instead made a voice key device that provides a simple digital on-off signal. In that case, you may either (a) patch it through an SRBox as described earlier, or (b) connect it directly to an available digital I/O port (e.g., an old-fashioned parallel printer port); in this case you would then treat it as a Port device in E-Prime, and for that you could look up the appropriate topics in the Guides, the online E-Basic Help, and the PST Knowledge Base, or in this case contact PST Web Support. Hope that clarifies matters a bit, -- David McFarlane, Professional Faultfinder >I am a grad student and new E-Prime user. I am using E-prime to >present auditory stimuli, to which participants need to provide a >verbal response. I want to record their responses, and also get a >voice RT. > >I have constructed the experiment in E-prime, and just worked out that >to get a voice RT, I need to have an SR box, or something like it. > >My department's electronic workshop already has a device (that they >made for a previous experiment) that will function like an SR box to >get the voice RTs. They just need to know which pins to wire it for so >that E-Prime will recognize it. My electronics knowledge is very >limited. > >I have tried to find a pinout diagram on line, without any success. I >have trawled through this group, and have found posts like: >http://groups.google.com/group/e-prime/browse_thread/thread/d42447cfc9a061af/f4d681564452d0b5?lnk=gst&q=pin+out#f4d681564452d0b5 >by David McFarlane, but the pin information contained therein didn't >seem (to my naive electronics mind) to be what I need. Why do I say >that? Because in that post it referred to pins with numbers greater >than 25, and from what I understand, the SR box uses a RS232 DB25 >pinout. > >I have emailed PST asking for a copy of the SR Box manual, but they >seem to have delays because they are experiencing a large volume of >requests. > >Any assistance/advice/pointers would be appreciated. > >Regards > >Joel -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From joelsuss at gmail.com Tue Apr 27 22:01:33 2010 From: joelsuss at gmail.com (ndt) Date: Tue, 27 Apr 2010 15:01:33 -0700 Subject: Pinout diagram for SR box In-Reply-To: <4bd70e5e.5844f10a.5773.ffffe875SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Hi David, Thanks for all that advice - especially point 3. I will speak to the electronics technician and see what they can do. Profuse thanks. Joel On Apr 27, 12:18?pm, David McFarlane wrote: > Joel, > > 1) Because of your custom hardware, PST Web Support will almost > certainly do you no good in this case (see #3 below). > > 2) The pin numbers that you refer to (from my earlier post) > themselves refer to pins on a 40-pin header inside the SRBox, not > pins on the computer. ?So of course those pin numbers are irrelevant > to you. ?They apply only when you connect external switches to the > SRBox, then connect the SRBox to the computer, i.e., using the SRBox > as an interface to translate simple digital on-off signals into serial data. > > 3) If your custom device does indeed "function like an SR box", then > you would need nothing more than a serial cable and treating it like > a regular SRBox in E-Prime. ?But I highly doubt that you > meant ?"function like an SR box", your department's electronic > workshop almost certainly instead made a voice key device that > provides a simple digital on-off signal. ?In that case, you may > either (a) patch it through an SRBox as described earlier, or (b) > connect it directly to an available digital I/O port (e.g., an > old-fashioned parallel printer port); in this case you would then > treat it as a Port device in E-Prime, and for that you could look up > the appropriate topics in the Guides, the online E-Basic Help, and > the PST Knowledge Base, or in this case contact PST Web Support. > > Hope that clarifies matters a bit, > -- David McFarlane, Professional Faultfinder > > > > >I am a grad student and new E-Prime user. I am using E-prime to > >present auditory stimuli, to which participants need to provide a > >verbal response. I want to record their responses, and also get a > >voice RT. > > >I have constructed the experiment in E-prime, and just worked out that > >to get a voice RT, I need to have an SR box, or something like it. > > >My department's electronic workshop already has a device (that they > >made for a previous experiment) that will function like an SR box to > >get the voice RTs. They just need to know which pins to wire it for so > >that E-Prime will recognize it. My electronics knowledge is very > >limited. > > >I have tried to find a pinout diagram on line, without any success. I > >have trawled through this group, and have found posts like: > >http://groups.google.com/group/e-prime/browse_thread/thread/d42447cfc... > >by David McFarlane, but the pin information contained therein didn't > >seem (to my naive electronics mind) to be what I need. Why do I say > >that? Because in that post it referred to pins with numbers greater > >than 25, and from what I understand, the SR box uses a RS232 DB25 > >pinout. > > >I have emailed PST asking for a copy of the SR Box manual, but they > >seem to have delays because they are experiencing a large volume of > >requests. > > >Any assistance/advice/pointers would be appreciated. > > >Regards > > >Joel > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From giladsabo at gmail.com Wed Apr 28 07:27:50 2010 From: giladsabo at gmail.com (gilis) Date: Wed, 28 Apr 2010 00:27:50 -0700 Subject: Two responses from the same slide-not working Message-ID: Hi, In part of my experiment, in which the experimenter is present in the room all along of it and he/she is the one to log the participant's answer (numbers) in a case that the participant made incorrect response, I have to log two keyboard responses from the same slide object. It should be very easy, I increased the max count to 2, set the duration to infinite and data logging to standart. The problem is that the slide object only log the first response and that the computer goes to the next object right after it-without waiting for the second. I can't post here my experiment script, but does anyone have any idea what may be causing it? Regards Gilis -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From giladsabo at gmail.com Wed Apr 28 07:40:39 2010 From: giladsabo at gmail.com (gilis) Date: Wed, 28 Apr 2010 00:40:39 -0700 Subject: Two responses from the same slide-not working In-Reply-To: <7b6aa213-c715-414e-8cb3-2f4a02e35f79@c36g2000yqm.googlegroups.com> Message-ID: Additional information: Before this slide object, there is the stimulus slide object to which the participant response. In the participant's slide object-he/she is asked to give two different responses vocal (SRB box) and manual (mouse click)-only after, and if the participant made incorrect response, the experimenter have to give is response. So the tree goes like that in the participant's slide (in this example-mouse and keyboard instead of mouse and SRBbox): First, the program identified and log the participant's first response: Dim theResponseObject As RteRunnableInputObject Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("Stimuli")) 'If the assert below fires, then the object named in the line above does not exist Debug.Assert Not theResponseObject Is Nothing Dim nIndex AS Integer For nIndex = 1 To theResponseObject.InputMasks.Responses.Count 'Access the response and check to see if it is a mouse response. Dim theMouseResponseData As MouseResponseData Set theMouseResponseData = CMouseResponseData(theResponseObject.InputMasks.Responses(1)) If Not theMouseResponseData Is Nothing Then c.SetAttrib "MouseClick" & 1 & "RT", theMouseResponseData.RT c.SetAttrib "MouseClick" & 1 & "RESP", theMouseResponseData.RESP Goto KeyboardLabel End If 'Access the response and check to see if it is a keyboard response. Dim theKeyboardResponseData As KeyboardResponseData Set theKeyboardResponseData = CKeyboardResponseData(theResponseObject.InputMasks.Responses(1)) If Not theKeyboardResponseData Is Nothing Then c.SetAttrib "KeyPress" & 1 & "RT", theKeyboardResponseData.RT c.SetAttrib "KeyPress" & 1 & "RESP", theKeyboardResponseData.RESP Goto MouseLabel End If NEXT nIndex Then, if the first response was keyboard response-it go to the mouselabel and log additional single response from the mouse: Dim theResponseObject As RteRunnableInputObject Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("MouseStimuli")) 'If the assert below fires, then the object named in the line above does not exist Debug.Assert Not theResponseObject Is Nothing 'Counter variable for the number of mouse responses made Dim nClickCount As Long 'Counter variable Dim nIndex as Integer 'Enumerate through the responses collection and determine ' if any of the responses were made by the mouse. 'If so, then display the statistics to the user. 'For nIndex = 1 To theResponseObject.InputMasks.Responses.Count 'Set theMouseResponseData equal to the current mouse response ' If the response was not a mouse, then the CMouseResponseData ' cast/conversion will return "Nothing" Dim theMouseResponseData As MouseResponseData Set theMouseResponseData = CMouseResponseData(theResponseObject.InputMasks.Responses(1)) If Not theMouseResponseData Is Nothing Then 'Increment the click count nClickCount = nClickCount + 1 'Log reaction time and response for each mouse click. c.SetAttrib "MouseClick" & 1 & "RT", theMouseResponseData.RT c.SetAttrib "MouseClick" & 1 & "RESP", theMouseResponseData.RESP End If 'Next 'nIndex And vice versa if the first response was made with the mouse: Dim theResponseObject As RteRunnableInputObject Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("KeyBoardStimuli")) 'If the assert below fires, then the object named in the line above does not exist Debug.Assert Not theResponseObject Is Nothing 'Access the response and check to see if it is a keyboard response. Dim theKeyboardResponseData As KeyboardResponseData Set theKeyboardResponseData = CKeyboardResponseData(theResponseObject.InputMasks.Responses(1)) 'Log reaction time and response for each key press. c.SetAttrib "KeyPress" & 1 & "RT", theKeyboardResponseData.RT c.SetAttrib "KeyPress" & 1 & "RESP", theKeyboardResponseData.RESP So, it may be that something here say to next coming object (which is totaly different and named PA) to count only one response? On Apr 28, 10:27?am, gilis wrote: > Hi, > > In part of my experiment, in which the experimenter is present in the > room all along of it and he/she is the one to log the participant's > answer (numbers) in a case that the participant made incorrect > response, I have to log two keyboard responses from the same slide > object. It should be very easy, I increased the max count to 2, set > the duration to infinite and data logging to standart. The problem is > that the slide object only log the first response and that the > computer goes to the next object right after it-without waiting for > the second. I can't post here my experiment script, but does anyone > have any idea what may be causing it? > > Regards > Gilis > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From giladsabo at gmail.com Wed Apr 28 14:30:37 2010 From: giladsabo at gmail.com (gilis) Date: Wed, 28 Apr 2010 07:30:37 -0700 Subject: Two responses from the same slide-not working In-Reply-To: <9fd6b0ad-37e1-4168-963d-8c3dcb60a130@g23g2000yqn.googlegroups.com> Message-ID: My bad...Wrong definition of the feedback object, nothing too complicated...Thanks to anywho who spend time in trying solving it anyway. On Apr 28, 10:40?am, gilis wrote: > Additional information: > > Before this slide object, there is the stimulus slide object to which > the participant response. In the participant's slide object-he/she is > asked to give two different responses vocal (SRB box) and manual > (mouse click)-only after, and if the participant made incorrect > response, the experimenter have to give is response. So the tree goes > like that in the participant's slide (in this example-mouse and > keyboard instead of mouse and SRBbox): > > First, the program identified and log the participant's first > response: > > Dim theResponseObject As RteRunnableInputObject > Set theResponseObject = > CRteRunnableInputObject(Rte.GetObject("Stimuli")) > > ? ? ? ? 'If the assert below fires, then the object named in the line above > does not exist > ? ? ? ? Debug.Assert Not theResponseObject Is Nothing > > ? ? Dim nIndex AS Integer > > ? ? ? ? For nIndex = 1 To theResponseObject.InputMasks.Responses.Count > > ? ? ? ? ? ? ? ? 'Access the response and check to see if it is a mouse response. > ? ? ? ? ? ? ? ? Dim theMouseResponseData As MouseResponseData > ? ? ? ? ? ? ? ? Set theMouseResponseData = > CMouseResponseData(theResponseObject.InputMasks.Responses(1)) > > ? ? ? ? ? ? ? ? If Not theMouseResponseData Is Nothing Then > > ? ? ? ? ? ? ? ? ? ? c.SetAttrib "MouseClick" & 1 & "RT", theMouseResponseData.RT > ? ? ? ? ? ? ? ? ? ? ? ? c.SetAttrib "MouseClick" & 1 & "RESP", theMouseResponseData.RESP > > ? ? ? ? ? ? ? ? ? ? ? ? Goto KeyboardLabel > ? ? ? ? ? ? ? ? End If > > ? ? ? ? ? ? ? ? 'Access the response and check to see if it is a keyboard response. > ? ? ? ? ? ? ? ? Dim theKeyboardResponseData As KeyboardResponseData > ? ? ? ? ? ? ? ? Set theKeyboardResponseData = > CKeyboardResponseData(theResponseObject.InputMasks.Responses(1)) > > ? ? ? ? ? ? ? ? If Not theKeyboardResponseData Is Nothing Then > > ? ? ? ? ? ? ? ? ? ? ? ? c.SetAttrib "KeyPress" & 1 & "RT", theKeyboardResponseData.RT > ? ? ? ? ? ? ? ? ? ? ? ? c.SetAttrib "KeyPress" & 1 & "RESP", theKeyboardResponseData.RESP > > ? ? ? ? ? ? ? ? ? ? ? ? Goto MouseLabel > ? ? ? ? ? ? ? ? End If > > ? ? ? ? NEXT nIndex > > Then, if the first response was keyboard response-it go to the > mouselabel and log additional single response from the mouse: > > Dim theResponseObject As RteRunnableInputObject > ? ? ? ? Set theResponseObject = > CRteRunnableInputObject(Rte.GetObject("MouseStimuli")) > > ? ? ? ? 'If the assert below fires, then the object named in the line above > does not exist > ? ? ? ? Debug.Assert Not theResponseObject Is Nothing > > ? ? ? ? 'Counter variable for the number of mouse responses made > ? ? ? ? Dim nClickCount As Long > > ? ? ? ? 'Counter variable > ? ? ? ? Dim nIndex as Integer > > ? ? ? ? 'Enumerate through the responses collection and determine > ? ? ? ? ' if any of the responses were made by the mouse. > ? ? ? ? 'If so, then display the statistics to the user. > ? ? ? ? 'For nIndex = 1 To theResponseObject.InputMasks.Responses.Count > > ? ? ? ? ? ? ? ? 'Set theMouseResponseData equal to the current mouse response > ? ? ? ? ? ? ? ? ' If the response was not a mouse, then the CMouseResponseData > ? ? ? ? ? ? ? ? ' ?cast/conversion will return "Nothing" > ? ? ? ? ? ? ? ? Dim theMouseResponseData As MouseResponseData > ? ? ? ? ? ? ? ? Set theMouseResponseData = > CMouseResponseData(theResponseObject.InputMasks.Responses(1)) > ? ? ? ? ? ? ? ? If Not theMouseResponseData Is Nothing Then > > ? ? ? ? ? ? ? ? ? ? ? ? 'Increment the click count > ? ? ? ? ? ? ? ? ? ? ? ? nClickCount = nClickCount + 1 > > ? ? ? ? ? ? ? ? ? ? ? ? 'Log reaction time and response for each mouse click. > ? ? ? ? ? ? ? ? ? ? ? ? c.SetAttrib "MouseClick" & 1 & "RT", theMouseResponseData.RT > ? ? ? ? ? ? ? ? ? ? ? ? c.SetAttrib "MouseClick" & 1 & "RESP", theMouseResponseData.RESP > > ? ? ? ? ? ? ? ? End If > > ? ? ? ? 'Next 'nIndex > > And vice versa if the first response was made with the mouse: > > Dim theResponseObject As RteRunnableInputObject > ? ? ? ? Set theResponseObject = > CRteRunnableInputObject(Rte.GetObject("KeyBoardStimuli")) > > ? ? ? ? 'If the assert below fires, then the object named in the line above > does not exist > ? ? ? ? Debug.Assert Not theResponseObject Is Nothing > > ? ? ? ? 'Access the response and check to see if it is a keyboard response. > ? ? ? ? Dim theKeyboardResponseData As KeyboardResponseData > ? ? ? ? Set theKeyboardResponseData = > CKeyboardResponseData(theResponseObject.InputMasks.Responses(1)) > > ? ? ? ? ? ? ? ? ? ? ? ? 'Log reaction time and response for each key press. > ? ? ? ? ? ? ? ? ? ? ? ? c.SetAttrib "KeyPress" & 1 & "RT", theKeyboardResponseData.RT > ? ? ? ? ? ? ? ? ? ? ? ? c.SetAttrib "KeyPress" & 1 & "RESP", theKeyboardResponseData.RESP > > So, it may be that something here say to next coming object (which is > totaly different and named PA) to count only one response? > > On Apr 28, 10:27?am, gilis wrote: > > > > > > > Hi, > > > In part of my experiment, in which the experimenter is present in the > > room all along of it and he/she is the one to log the participant's > > answer (numbers) in a case that the participant made incorrect > > response, I have to log two keyboard responses from the same slide > > object. It should be very easy, I increased the max count to 2, set > > the duration to infinite and data logging to standart. The problem is > > that the slide object only log the first response and that the > > computer goes to the next object right after it-without waiting for > > the second. I can't post here my experiment script, but does anyone > > have any idea what may be causing it? > > > Regards > > Gilis > > > -- > > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en.- Hide quoted text - > > - Show quoted text - -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From giladsabo at gmail.com Thu Apr 29 09:42:10 2010 From: giladsabo at gmail.com (gilis) Date: Thu, 29 Apr 2010 02:42:10 -0700 Subject: Getting different images at the same size Message-ID: Hello, I use different stimuli and flankers in my experiment (JPG files) and I want the computer to a. download the different stimuli at the same specific size exactly (e.g., 2 visual degrees), and the same thing for the flankers (can be done accurately enough with photoshop-if so, I will return to it). b. that the distance between flankers and stimuli will allways be the same (I have flanker above and below the stimuli). How can it be done? Regards Gilis -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Michiel.Spape at nottingham.ac.uk Thu Apr 29 14:29:31 2010 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Thu, 29 Apr 2010 15:29:31 +0100 Subject: Getting different images at the same size In-Reply-To: <9b9cf3b7-66ad-443b-b99d-6ec5eca693d2@o11g2000yqj.googlegroups.com> Message-ID: Hi Gilis, You seem to consistently come up with odd 'problems'! Anyway, what do you mean, 'download'? Most image search-engines don't specifically search for X pixels (usually a broader range), let alone X visual degrees. But I guess that's not really the problem, so, more seriously: what exactly is the problem? You have a slide, you know the size of your images (right click in explorer, go for summary tab, size known, therefore visual degrees can be calculated), you dump the targets and flankers at specific points (X and Y properties), and therefore can fully predict whether they'd be shown at the same distance. I.e., if your pictures are 100 x 100 pixels, and you have three images on one slide, the centre one being the target, just use an attribute to set the Y at 190, 240 and 290 pixels and you know that they appear at exactly those points on the screen, 50 pixels apart from one another (given a resolution of 640 x 480). Am I missing something? Also, MSPAINT gives pixel-accurate coordinates (to the lower right, if memory serves) for cutting and pasting, should they be too large (at least, I find mspaint to be really convenient for that) Best, Mich Michiel Spap? Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of gilis Sent: 29 April 2010 10:42 To: E-Prime Subject: Getting different images at the same size Hello, I use different stimuli and flankers in my experiment (JPG files) and I want the computer to a. download the different stimuli at the same specific size exactly (e.g., 2 visual degrees), and the same thing for the flankers (can be done accurately enough with photoshop-if so, I will return to it). b. that the distance between flankers and stimuli will allways be the same (I have flanker above and below the stimuli). How can it be done? Regards Gilis -- 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 this group at http://groups.google.com/group/e-prime?hl=en. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From roccorocks5 at yahoo.com Thu Apr 29 20:56:21 2010 From: roccorocks5 at yahoo.com (neuropsych76) Date: Thu, 29 Apr 2010 13:56:21 -0700 Subject: Adding a visual basic script into E-Prime Message-ID: So part of my experiment, I want to have the Monty Hall Problem. I've found some VB scripts of the Monty Hall problem but I'm not sure how I would put them into E-Prime as an inline script. Would I be able to copy and paste a script and just make some edits or would I have to start from scratch? Thank you for any help or advice! ps something like the script from this link http://www.vbforums.com/showthread.php?t=609731 -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Thu Apr 29 21:25:07 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 29 Apr 2010 17:25:07 -0400 Subject: Adding a visual basic script into E-Prime In-Reply-To: <6e2be7c4-0d8f-4b69-9dff-a12843613ac3@i10g2000yqh.googlegro ups.com> Message-ID: Without going into great detail, although E-Prime does derive from Visual Basic for Applications, it provides a highly customized and specialized platform (otherwise there would be no point to using it instead of straight VB). IOW, it is rather more (and less) than just a VB platform with an added library of routines. So you cannot simply copy & paste VB code and expect it to work. In particular, the code that you reference contains a class definition, and the geniuses at PST do not allow us to define our own custom classes in E-Basic . BTW, I don't know why everybody calls this "script" instead of "code", *especially* when referring to straight VB instead of E-Basic -- I have read through several VB books, the word "script" never appears there and they uniformly refer to "code" (just like at the link that you posted). -- David McFarlane, Professional Faultfinder >So part of my experiment, I want to have the Monty Hall Problem. I've >found some VB scripts of the Monty Hall problem but I'm not sure how I >would put them into E-Prime as an inline script. > >Would I be able to copy and paste a script and just make some edits or >would I have to start from scratch? > >Thank you for any help or advice! > >ps something like the script from this link > >http://www.vbforums.com/showthread.php?t=609731 -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From roccorocks5 at yahoo.com Thu Apr 29 22:14:42 2010 From: roccorocks5 at yahoo.com (neuropsych76) Date: Thu, 29 Apr 2010 15:14:42 -0700 Subject: Adding a visual basic script into E-Prime In-Reply-To: <4bd9f93d.5944f10a.79a1.ffff8bb1SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Thank you for your reply. So would looking at VB code help at all? Would I have to program the problem from scratch? I do not know much code so would something like the Monty Hall problem be possible with minimal code? On Apr 29, 5:25?pm, David McFarlane wrote: > Without going into great detail, although E-Prime does derive from > Visual Basic for Applications, it provides a highly customized and > specialized platform (otherwise there would be no point to using it > instead of straight VB). ?IOW, it is rather more (and less) than just > a VB platform with an added library of routines. ?So you cannot > simply copy & paste VB code and expect it to work. ?In particular, > the code that you reference contains a class definition, and the > geniuses at PST do not allow us to define our own custom classes in > E-Basic . > > > BTW, I don't know why everybody calls this "script" instead of > "code", *especially* when referring to straight VB instead of E-Basic > -- I have read through several VB books, the word "script" never > appears there and they uniformly refer to "code" (just like at the > link that you posted). > > > -- David McFarlane, Professional Faultfinder > > >So part of my experiment, I want to have the Monty Hall Problem. I've > >found some VB scripts of the Monty Hall problem but I'm not sure how I > >would put them into E-Prime as an inline script. > > >Would I be able to copy and paste a script and just make some edits or > >would I have to start from scratch? > > >Thank you for any help or advice! > > >ps something like the script from this link > > >http://www.vbforums.com/showthread.php?t=609731 > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From mcfarla9 at msu.edu Thu Apr 29 22:51:17 2010 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 29 Apr 2010 18:51:17 -0400 Subject: Adding a visual basic script into E-Prime In-Reply-To: <209f2090-75a8-420d-84dd-a30c64351397@c11g2000vbe.googlegro ups.com> Message-ID: Sorry, I should have been a bit more clear and emphatic. Once again, although E-Prime does derive from VB, EP is an entirely different beast, entailing a completely different programming design structure, and there is absolutely no sense at all in making something in E-Prime unless you build it fresh from the ground up according to E-Prime style. Any code you have may help somewhat in laying out the general logic of your task, and then you have to take it from there. In any case (aside from reusing well-designed routine libraries) you should *never* take anyone else's code wholesale (we had a student lose 2.5 years of dissertation research because of such a mistake), you should always fully understand whatever code you are porting to the point that you could recode it from first principles. BTW, I took another look at that code sample, and it is clearly labelled as something that does not even work. So why would you start from broken code in the first place? I highly recommend that you 1) decide on a programming platform that suits you, 2) carefully think through your task design, and then 3) program that design in the chosen platform. If you are not up to that then perhaps you should hire some professional help. OK, I'm late getting home and tonight is Survivor night... -- David McFarlane, Professional Faultfinder At 4/29/2010 06:14 PM Thursday, you wrote: >Thank you for your reply. > >So would looking at VB code help at all? Would I have to program the >problem from scratch? >I do not know much code so would something like the Monty Hall problem >be possible with minimal code? > >On Apr 29, 5:25 pm, David McFarlane wrote: > > Without going into great detail, although E-Prime does derive from > > Visual Basic for Applications, it provides a highly customized and > > specialized platform (otherwise there would be no point to using it > > instead of straight VB). IOW, it is rather more (and less) than just > > a VB platform with an added library of routines. So you cannot > > simply copy & paste VB code and expect it to work. In particular, > > the code that you reference contains a class definition, and the > > geniuses at PST do not allow us to define our own custom classes in > > E-Basic . > > > > > > BTW, I don't know why everybody calls this "script" instead of > > "code", *especially* when referring to straight VB instead of E-Basic > > -- I have read through several VB books, the word "script" never > > appears there and they uniformly refer to "code" (just like at the > > link that you posted). > > > > > > -- David McFarlane, Professional Faultfinder > > > > >So part of my experiment, I want to have the Monty Hall Problem. I've > > >found some VB scripts of the Monty Hall problem but I'm not sure how I > > >would put them into E-Prime as an inline script. > > > > >Would I be able to copy and paste a script and just make some edits or > > >would I have to start from scratch? > > > > >Thank you for any help or advice! > > > > >ps something like the script from this link > > > > >http://www.vbforums.com/showthread.php?t=609731 -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From jiangdan19851130 at hotmail.com Fri Apr 30 10:14:41 2010 From: jiangdan19851130 at hotmail.com (dan dan) Date: Fri, 30 Apr 2010 03:14:41 -0700 Subject: counter-balance history Message-ID: Hi all, I am trying to counter-balance the history of all my trials for an fMRI study I have 4 conditions, and each condition will be repeated 6 times in each run, and there are 4 runs in total (so there will be 4*6*4=96 trials in total). I want all of the trials for each participant to be counter-balanced. I have tried the counter-balance command from e-prime but it doesn't seem to be the counter-balance that we are thinking of. Could anybody help with the script for doing this. Or point me in the direction of how to start working this out. The other options I have thought of is setting up the counter-balance order in excel an then importing this into e-prime, but I ma not sure how to do these either. Thanks for any help you can provide. Dan Dan -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From giladsabo at gmail.com Fri Apr 30 13:33:55 2010 From: giladsabo at gmail.com (gilis) Date: Fri, 30 Apr 2010 06:33:55 -0700 Subject: Getting different images at the same size In-Reply-To: <0CA8E1B4EC20D743912B980E486C5CAF0334A8DB@VUIEXCHC.ad.nottingham.ac.uk> Message-ID: No, you missed nothing-I do. You are also correct that many times I ask trivial questions-but hey, many times this great forum (and you!) helped me. Regards Gili On Apr 29, 5:29?pm, Michiel Spape wrote: > Hi Gilis, > You seem to consistently come up with odd 'problems'! Anyway, what do you mean, 'download'? Most image search-engines don't specifically search for X pixels (usually a broader range), let alone X visual degrees. > But I guess that's not really the problem, so, more seriously: what exactly is the problem? You have a slide, you know the size of your images (right click in explorer, go for summary tab, size known, therefore visual degrees can be calculated), you dump the targets and flankers at specific points (X and Y properties), and therefore can fully predict whether they'd be shown at the same distance. I.e., if your pictures are 100 x 100 pixels, and you have three images on one slide, the centre one being the target, just use an attribute to set the Y at 190, 240 and 290 pixels and you know that they appear at exactly those points on the screen, 50 pixels apart from one another (given a resolution of 640 x 480). Am I missing something? > > Also, MSPAINT gives pixel-accurate coordinates (to the lower right, if memory serves) for cutting and pasting, should they be too large (at least, I find mspaint to be really convenient for that) > Best, > Mich > > Michiel Spap? > Research Fellow > Perception & Action group > University of Nottingham > School of Psychology > > > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of gilis > Sent: 29 April 2010 10:42 > To: E-Prime > Subject: Getting different images at the same size > > Hello, > > I use different stimuli and flankers in my experiment (JPG files) and > I want the computer to a. download the different stimuli at the same > specific size exactly (e.g., 2 visual degrees), and the same thing for > the ?flankers (can be done accurately enough with photoshop-if so, I > will return to it). b. that the distance between flankers and stimuli > will allways be the same (I have flanker above and below the stimuli). > How can it be done? > > Regards > Gilis > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en.- Hide quoted text - > > - Show quoted text - -- 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 this group at http://groups.google.com/group/e-prime?hl=en. From Michiel.Spape at nottingham.ac.uk Fri Apr 30 13:50:05 2010 From: Michiel.Spape at nottingham.ac.uk (Michiel Spape) Date: Fri, 30 Apr 2010 14:50:05 +0100 Subject: Getting different images at the same size In-Reply-To: <5ab9c772-5072-45e5-9366-6f3dd5fa6dca@y36g2000yqm.googlegroups.com> Message-ID: Hiya, Not trivial as such, but weird... I mean the other day you sent three pages of code, and not of the level we typically get here, to say the least, and if you compare that one with this one... well. I guess you are more comfortable in coding, in general, than in E-Prime as such? Anyway, no problem of course, and to make this message worthwhile for everybody, I wish you all a good weekend in advance! Best, Mich Michiel Spap? Research Fellow Perception & Action group University of Nottingham School of Psychology -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of gilis Sent: 30 April 2010 14:34 To: E-Prime Subject: Re: Getting different images at the same size No, you missed nothing-I do. You are also correct that many times I ask trivial questions-but hey, many times this great forum (and you!) helped me. Regards Gili On Apr 29, 5:29?pm, Michiel Spape wrote: > Hi Gilis, > You seem to consistently come up with odd 'problems'! Anyway, what do you mean, 'download'? Most image search-engines don't specifically search for X pixels (usually a broader range), let alone X visual degrees. > But I guess that's not really the problem, so, more seriously: what exactly is the problem? You have a slide, you know the size of your images (right click in explorer, go for summary tab, size known, therefore visual degrees can be calculated), you dump the targets and flankers at specific points (X and Y properties), and therefore can fully predict whether they'd be shown at the same distance. I.e., if your pictures are 100 x 100 pixels, and you have three images on one slide, the centre one being the target, just use an attribute to set the Y at 190, 240 and 290 pixels and you know that they appear at exactly those points on the screen, 50 pixels apart from one another (given a resolution of 640 x 480). Am I missing something? > > Also, MSPAINT gives pixel-accurate coordinates (to the lower right, if memory serves) for cutting and pasting, should they be too large (at least, I find mspaint to be really convenient for that) > Best, > Mich > > Michiel Spap? > Research Fellow > Perception & Action group > University of Nottingham > School of Psychology > > > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of gilis > Sent: 29 April 2010 10:42 > To: E-Prime > Subject: Getting different images at the same size > > Hello, > > I use different stimuli and flankers in my experiment (JPG files) and > I want the computer to a. download the different stimuli at the same > specific size exactly (e.g., 2 visual degrees), and the same thing for > the ?flankers (can be done accurately enough with photoshop-if so, I > will return to it). b. that the distance between flankers and stimuli > will allways be the same (I have flanker above and below the stimuli). > How can it be done? > > Regards > Gilis > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > -- > 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 this group athttp://groups.google.com/group/e-prime?hl=en.- Hide quoted text - > > - Show quoted text - -- 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 this group at http://groups.google.com/group/e-prime?hl=en. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.