From alphonse.stickle at gmail.com Sun Jul 1 12:55:25 2012 From: alphonse.stickle at gmail.com (Alphonse Stickle) Date: Sun, 1 Jul 2012 22:55:25 +1000 Subject: M'board with parallel port Message-ID: In case it may be useful to anybody, this new motherboard - Gigabyte GA-Z68AP-D3 - supporting Intel i7 etc. socket 1155, has a parallel port (very rare these days), and driver support for XP (as well as 7, of course). It is available in Australia, and Asia, probably elsewhere as well. Anyone who is thinking of future proofing a hardware setup where parallel port is used to send event markers might be well off with this affordable board. ~Alphonse http://hexus.net/tech/reviews/mainboard/35865-gigabyte-ga-z68ap-d3-motherboard/ -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 Mon Jul 2 20:57:18 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 2 Jul 2012 16:57:18 -0400 Subject: Traveling with the serial response button box In-Reply-To: <39ea85e5-4e61-44b2-baf9-644132e0d44c@googlegroups.com> Message-ID: Dan, Two thoughts: (1) Could you just get a 240V/50Hz to 120V/60Hz converter? (2) This sort of question about technical specifications would be best handled directly with PST Web Support at http://support.pstnet.com/e%2Dprime/support/login.asp . ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 6/29/2012 01:18 PM Friday, Dan Brenner wrote: >I'm leaving for New Zealand in a week for data collection, and >wondering about the power supply for the serial button box. The >model we have (200A, an older model) specifies 120V/60Hz AC power >in, while New Zealand's power grid is 240V/50Hz, so different >voltage, different alternating frequency. If I get a step-down >transformer in NZ, will the main frequency still fry the button box? >The current model button box features 100 - 240VAC in, but says >nothing about the main frequency. Is the new model likely to have >any better time with the different main frequency than the model we >have? Should I invest in the new model, or use a transformer with >the model we have? > >Much obliged for prompt responses. Sorry about the rush. I realized >far too late that this was an issue. > >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 dbrenner at email.arizona.edu Mon Jul 2 21:10:05 2012 From: dbrenner at email.arizona.edu (Dan Brenner) Date: Mon, 2 Jul 2012 14:10:05 -0700 Subject: Traveling with the serial response button box In-Reply-To: <4ff20b37.88db320a.7d62.7c93SMTPIN_ADDED@gmr-mx.google.com> Message-ID: I did post to PST support also, but if it turned out that I needed to buy a more recent button box, I needed to order it right away, so I posted on the users' group also, in case someone here had the answer sooner. For future reference, PST advised me to just buy a new power supply cable (the plug) in New Zealand at an electronics store. As long as it accepts NZ power, fits the power cord port at the back of the button box, and provides 12V DC (Note: more current button boxes take 15V), it should be fine. I'll repost here if anything goes awry with that plan. Thanks for the response, Dan On Mon, Jul 2, 2012 at 1:57 PM, David McFarlane wrote: > Dan, > > Two thoughts: > > (1) Could you just get a 240V/50Hz to 120V/60Hz converter? > > (2) This sort of question about technical specifications would be best > handled directly with PST Web Support at http://support.pstnet.com/e%** > 2Dprime/support/login.asp. > > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/** > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/**EPrimeMaster > ) > > > > At 6/29/2012 01:18 PM Friday, Dan Brenner wrote: > >> I'm leaving for New Zealand in a week for data collection, and wondering >> about the power supply for the serial button box. The model we have (200A, >> an older model) specifies 120V/60Hz AC power in, while New Zealand's power >> grid is 240V/50Hz, so different voltage, different alternating frequency. >> If I get a step-down transformer in NZ, will the main frequency still fry >> the button box? The current model button box features 100 - 240VAC in, but >> says nothing about the main frequency. Is the new model likely to have any >> better time with the different main frequency than the model we have? >> Should I invest in the new model, or use a transformer with the model we >> have? >> >> Much obliged for prompt responses. Sorry about the rush. I realized far >> too late that this was an issue. >> >> 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@** > googlegroups.com . > For more options, visit this group at http://groups.google.com/** > group/e-prime?hl=en . > > -- ~~~~~~~~~~~~~~~~~~~~ Dan Brenner Department of Linguistics University of Arizona dbrenner at email.arizona.edu http://www.u.arizona.edu/~dbrenner/ ~~~~~~~~~~~~~~~~~~~~ -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 eva.kelman at gmail.com Tue Jul 3 09:33:08 2012 From: eva.kelman at gmail.com (Eva Kelman) Date: Tue, 3 Jul 2012 12:33:08 +0300 Subject: non-English input Message-ID: Dear all, Does anybody know whether e-prime can comfortably handle non-English input? I found this topic: https://groups.google.com/forum/?fromgroups#!msg/e-prime/ZEO86BONuiA/PoMbI8WQj10J But was wondering whether something changed since then... Thank you! Eva -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 Tue Jul 3 14:13:14 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 3 Jul 2012 10:13:14 -0400 Subject: non-English input In-Reply-To: Message-ID: Eva, I don't know any more about that now than I did in the thread from two years ago. And as mentioned in that thread, PST Support might be the best source for answers on that issue. Please contact them 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. Or try them at their Facebook page -- http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 . And if you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 7/3/2012 05:33 AM Tuesday, you wrote: >Does anybody know whether e-prime can comfortably handle non-English input? > >I found this topic: >https://groups.google.com/forum/?fromgroups#!msg/e-prime/ZEO86BONuiA/PoMbI8WQj10J > > >But was wondering whether something changed since then... > >Thank you! >Eva -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 Jul 3 19:52:00 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 3 Jul 2012 15:52:00 -0400 Subject: joystick response & looming videos In-Reply-To: Message-ID: Terhi, Interesting problem. I do n0t see any way to change the ActiveState of a FeedbackDisplay object using inline code, FeedbackDisplay objects are not meant to do that. And if you look at the generated code, you will see why -- the FeedbackDisplay object always generates its own .ActiveState code just before it runs, based on the specified Input Object, and that code overrides any inline code that you place before it. If you want control of Slide States (FeedbackDisplay is a specialized Slide), then you should just use a multiple-state Slide object instead of a FeedbackDisplay, and then you could control the state of the Slide very nicely with an attribute reference in its ActiveState property. As for your second question about making looming videos by modifying the earlier instructions... Those instructions seem pretty clear to me, and it would be trivial to try that out with a video. So go try the exercise yourself and then report back here with the results. Thanks. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours -- this is pretty much their substitute for proper documentation, so make full use of it. 3) In addition, PST takes questions at their Facebook page (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 ), and offers several instructional videos there and on their YouTube channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, though). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 6/29/2012 08:01 AM Friday, terhi helminen wrote: >I am trying to create an experiment, where a subjects have to answer >to a movie stimuli by moving a joystick backward or forward. >According the subjects response, the video should loom bigger >(backward movement) or smaller (forward movement). > >I thought I could do this by using a feedback object: forward >movement could be coded as correct answer and backward movement as >wrong answer. And a feedback for correct answer could be a video >looming smaller and for incorrect answer there could be a video >looming bigger. > >I have already added a joystick device to the experimental design, >and using an inLine object I inserted a script to decode the >movement of the joystick as response, and that works alright. (I >found the script from this forum >https://groups.google.com/forum/#!searchin/e-prime/joystic/e-prime/cu8Fm6lbE_I/JcZaf_ORhk8J >... I even use the same joystick!) > >Dim nInitY As Integer >Dim nCurrentY As Integer >Dim nDiff As Integer > >nInitY = Joystick.CursorY > >Do > nCurrentY = Joystick.CursorY > nDiff = nInitY - nCurrentY > >Loop Until Abs(nDiff) > 50 > >Stimulus.RTTime = Clock.Read >Stimulus.RT = Stimulus.RTTime - Stimulus.OnsetTime > >If nDiff > 0 Then > Stimulus.RESP = "Forward" >Else > Stimulus.RESP = "Backward" >End If > >However, I don't know how to make the program to understand the >forward movement as "Correct" answer. I tried to write another >inLine script with my minor programming skills without success: > > If Stimulus.RESP = "Forward" Then > 'Set the ActiveState to Correct > Feedback.ActiveState = "Correct" > End If > > If Stimulus.RESP = "Backward" Then > 'Set the ActiveState to Incorrect > Feedback.ActiveState = "Incorrect" > > End If > >Could you help me with that? > >Another questions concerns the looming videos: I found that it would >be possible to create looming pictures with a script >(https://groups.google.com/forum/#!searchin/e-prime/joystick/e-prime/qD0NwsXD7i4/bk1hMejJ3u8J >), but do you know if that's possible with video stimuli? > >Thanks in advance, >Terhi -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. From eva.kelman at gmail.com Wed Jul 4 13:06:09 2012 From: eva.kelman at gmail.com (Eva Kelman) Date: Wed, 4 Jul 2012 16:06:09 +0300 Subject: non-English input Message-ID: Dear David, Thank you for your response! Eventually I used AskBox (that can receive a non-English input) and that was sufficient for my needs. I hope that this might be helpful for others as well. Eva > > > non-English input > > David McFarlane Jul 03 10:13AM -0400 > > Eva, > > I don't know any more about that now than I did in the thread from > two years ago. And as mentioned in that thread, PST Support might be > the best source for answers on that issue. Please contact them 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. Or try them at their Facebook page -- > > http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 > . And if you do get an answer from PST staff, please extend the > courtesy of posting their reply back here for the sake of others. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > At 7/3/2012 05:33 AM Tuesday, you wrote: > > > > You received this message because you are subscribed to the Google Group > e-prime. > You can post via email . > To unsubscribe from this group, sendan empty message. > For more options, visit this group. > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To post to this group, send email to e-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 alitstark at gmail.com Mon Jul 9 17:50:08 2012 From: alitstark at gmail.com (ASI) Date: Mon, 9 Jul 2012 10:50:08 -0700 Subject: Permutation object Message-ID: Hi All, I'm using a permutation to set the order of the stimuli in my task (selection -> order -> permutation). I have four types of stimuli {1, 2, 3, 4}. Each subject gets a different order of these four elements (1 out of 24 possibilities). I need to know the exact order presented to each subject. What is the rule eprime is using? Thanks, ASI -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/GokNMovAIncJ. To post to this group, send email to e-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 Mon Jul 9 18:05:21 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 9 Jul 2012 14:05:21 -0400 Subject: Permutation object In-Reply-To: <013e6c0c-54db-4720-8f6f-66ecf1ad6e4d@googlegroups.com> Message-ID: ASI, This is a question for PST Web Support (http://support.pstnet.com/e%2Dprime/support/login.asp ), so please ask them and then report back here with their response. Chances are that they use some variety of http://en.wikipedia.org/wiki/Permutation#Generation_in_lexicographic_order . But if you don't need to know until *after* each run, well then, the order used by each List is always explictly logged in the .edat file anyway, so you could just look at the results there without knowing the rule used. In addition, you could always make up a simple mock program with an appropriate List (don't even need to show stimuli) just to explore how E-Prime generates its List sequences. I do this sort of thing all the time, that's how I learned so much about EP Lists. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours -- this is pretty much their substitute for proper documentation, so make full use of it. 3) In addition, PST takes questions at their Facebook page (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 ), and offers several instructional videos there and on their YouTube channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, though). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 7/9/2012 01:50 PM Monday, ASI wrote: >Hi All, >I'm using a permutation to set the order of the stimuli in my task >(selection -> order -> permutation). >I have four types of stimuli {1, 2, 3, 4}. Each subject gets a >different order of these four elements (1 out of 24 possibilities). >I need to know the exact order presented to each subject. What is >the rule eprime is using? >Thanks, >ASI -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 amanda.green.99 at gmail.com Mon Jul 9 22:35:16 2012 From: amanda.green.99 at gmail.com (amanda) Date: Mon, 9 Jul 2012 15:35:16 -0700 Subject: E-Prime and Tobii eye tracking - multiple AOI within single stimulus Message-ID: Hi there, I'm hopeful someone may be able to assist. I'm currently involved in developing a research project using E-Prime and Tobii eye tracking. Part of the study would be useful to track multiple fixations within a particular AOI - in other words changes in fixation on a single stimulus. This does not exclude the fixations/switching between stimuli, which are already being tracked. Currently, we have only been able to track the fixations between stimuli (slides/images), but not multiple changes in fixations on a single slide/image, Q: Is there a particular script required to set this up? Or is the calculation done post-hoc by calculating from the X/Y coordinates and SaccadicAmplitude? Many thanks in advance Amanda -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/bxlxrEbxjPwJ. To post to this group, send email to e-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 chathach at gmail.com Tue Jul 10 10:57:23 2012 From: chathach at gmail.com (Chris) Date: Tue, 10 Jul 2012 03:57:23 -0700 Subject: Is there no min() function in ebasic? Message-ID: I realize I must be overlooking something, but I cannot find the minimum function. If I just want the smaller of two variables, do I really have to construct an if statement for that? I realize that I can also put them in a summation object and use summation.min; or I could put them in an array and sort it; but surely the min() function must exist, right? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/vVI7xbobw3YJ. To post to this group, send email to e-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 mspape at cognitology.eu Tue Jul 10 12:41:01 2012 From: mspape at cognitology.eu (Michiel Sovijarvi-Spape) Date: Tue, 10 Jul 2012 15:41:01 +0300 Subject: Is there no min() function in ebasic? In-Reply-To: <09fbe5b1-4e04-4d74-8c02-7161dc8c551a@googlegroups.com> Message-ID: Hi, Like you, I thought, that is pretty odd, but you seem correct anyway. Nonetheless, there's an argument to be made against packing all sorts of superfluous operations in a programming language (like VBA), if you're not using them and are easily able to add them yourself. So, just add to your user script: Function min(inx As Variant, iny As Variant) As Variant If inx < iny Then min = inx Else min = iny End Function Now, writing TextDisplay1.Text = min(5,3) for example, will show "3". Rock on, no? Best, Mich From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Chris Sent: 10 July 2012 13:57 To: e-prime at googlegroups.com Subject: Is there no min() function in ebasic? I realize I must be overlooking something, but I cannot find the minimum function. If I just want the smaller of two variables, do I really have to construct an if statement for that? I realize that I can also put them in a summation object and use summation.min; or I could put them in an array and sort it; but surely the min() function must exist, right? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/vVI7xbobw3YJ. To post to this group, send email to e-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 chathach at gmail.com Tue Jul 10 13:01:32 2012 From: chathach at gmail.com (Christopher Chatham) Date: Tue, 10 Jul 2012 09:01:32 -0400 Subject: Is there no min() function in ebasic? In-Reply-To: <001c01cd5e99$43d5ba60$cb812f20$@eu> Message-ID: Yes, rock on! I wasn't aware that we could implement functions of this kind. Thank you very much. -Chris On Tue, Jul 10, 2012 at 8:41 AM, Michiel Sovijarvi-Spape < mspape at cognitology.eu> wrote: > Hi,**** > > Like you, I thought, that is pretty odd, but you seem correct anyway. > Nonetheless, there's an argument to be made against packing all sorts of > superfluous operations in a programming language (like VBA), if you're not > using them and are easily able to add them yourself. So, just add to your > user script:**** > > ** ** > > Function min(inx As Variant, iny As Variant) As Variant**** > > If inx < iny Then min = inx Else min = iny **** > > End Function**** > > ** ** > > Now, writing **** > > TextDisplay1.Text = min(5,3) **** > > for example, will show "3". Rock on, no?**** > > Best,**** > > Mich**** > > ** ** > > ** ** > > ** ** > > *From:* e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] *On > Behalf Of *Chris > *Sent:* 10 July 2012 13:57 > *To:* e-prime at googlegroups.com > *Subject:* Is there no min() function in ebasic?**** > > ** ** > > I realize I must be overlooking something, but I cannot find the minimum > function. If I just want the smaller of two variables, do I really have to > construct an if statement for that? > > I realize that I can also put them in a summation object and use > summation.min; or I could put them in an array and sort it; but surely the > min() function must exist, right? **** > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/vVI7xbobw3YJ. > To post to this group, send email to e-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. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 Tue Jul 10 14:09:25 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 10 Jul 2012 10:09:25 -0400 Subject: Is there no min() function in ebasic? In-Reply-To: Message-ID: And here is a variant using the under-appreciated IIf() function (see that topic in the E-Basic Help facility): Function min( inx As Variant, iny As Variant ) As Variant min = IIf( (inx < iny), inx, iny ) End Function ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) At 7/10/2012 09:01 AM Tuesday, Christopher Chatham wrote: >Yes, rock on! > >I wasn't aware that we could implement functions of this kind. Thank >you very much. >-Chris > >On Tue, Jul 10, 2012 at 8:41 AM, Michiel Sovijarvi-Spape ><mspape at cognitology.eu> wrote: >Hi, > >Like you, I thought, that is pretty odd, but you seem correct >anyway. Nonetheless, there's an argument to be made against packing >all sorts of superfluous operations in a programming language (like >VBA), if you're not using them and are easily able to add them >yourself. So, just add to your user script: > >Function min(inx As Variant, iny As Variant) As Variant > If inx < iny Then min = inx Else min = iny >End Function > >Now, writing >TextDisplay1.Text = min(5,3) >for example, will show "3". Rock on, no? >Best, >Mich > > >From: e-prime at googlegroups.com >[mailto:e-prime at googlegroups.com] On Behalf Of Chris >Sent: 10 July 2012 13:57 >To: e-prime at googlegroups.com >Subject: Is there no min() function in ebasic? > >I realize I must be overlooking something, but I cannot find the >minimum function. If I just want the smaller of two variables, do I >really have to construct an if statement for that? > >I realize that I can also put them in a summation object and use >summation.min; or I could put them in an array and sort it; but >surely the min() function must exist, right? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 mspape at cognitology.eu Tue Jul 10 14:23:40 2012 From: mspape at cognitology.eu (Michiel Sovijarvi-Spape) Date: Tue, 10 Jul 2012 17:23:40 +0300 Subject: Is there no min() function in ebasic? In-Reply-To: Message-ID: Hi, It can be really quite useful to clean up some code, especially if you write a lot of these long statements. I also use it a lot for the code-intensive parts i reuse between experiments, such as making random noise masks with some canvas-code because, quite often, I am really just too lazy to look up exactly how one goes about doing these things. Cheers, Mich From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Christopher Chatham Sent: 10 July 2012 16:02 To: e-prime at googlegroups.com Subject: Re: Is there no min() function in ebasic? Yes, rock on! I wasn't aware that we could implement functions of this kind. Thank you very much. -Chris On Tue, Jul 10, 2012 at 8:41 AM, Michiel Sovijarvi-Spape wrote: Hi, Like you, I thought, that is pretty odd, but you seem correct anyway. Nonetheless, there's an argument to be made against packing all sorts of superfluous operations in a programming language (like VBA), if you're not using them and are easily able to add them yourself. So, just add to your user script: Function min(inx As Variant, iny As Variant) As Variant If inx < iny Then min = inx Else min = iny End Function Now, writing TextDisplay1.Text = min(5,3) for example, will show "3". Rock on, no? Best, Mich From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Chris Sent: 10 July 2012 13:57 To: e-prime at googlegroups.com Subject: Is there no min() function in ebasic? I realize I must be overlooking something, but I cannot find the minimum function. If I just want the smaller of two variables, do I really have to construct an if statement for that? I realize that I can also put them in a summation object and use summation.min; or I could put them in an array and sort it; but surely the min() function must exist, right? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/vVI7xbobw3YJ. To post to this group, send email to e-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. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 mspape at cognitology.eu Tue Jul 10 14:55:42 2012 From: mspape at cognitology.eu (Michiel Sovijarvi-Spape) Date: Tue, 10 Jul 2012 17:55:42 +0300 Subject: Is there no min() function in ebasic? In-Reply-To: <4ffc37bf.8a05320a.6ce1.ffffa58aSMTPIN_ADDED@gmr-mx.google.com> Message-ID: Hi, Wow, almost brings a C elegance to VB :) I benchmarked the functions, yours is .3 microsecond shorter, though the difference is not statistically significant. Good to know, For Science. Best, Michiel -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of David McFarlane Sent: 10 July 2012 17:09 To: e-prime at googlegroups.com; e-prime at googlegroups.com Subject: Re: Is there no min() function in ebasic? And here is a variant using the under-appreciated IIf() function (see that topic in the E-Basic Help facility): Function min( inx As Variant, iny As Variant ) As Variant min = IIf( (inx < iny), inx, iny ) End Function ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) At 7/10/2012 09:01 AM Tuesday, Christopher Chatham wrote: >Yes, rock on! > >I wasn't aware that we could implement functions of this kind. Thank >you very much. >-Chris > >On Tue, Jul 10, 2012 at 8:41 AM, Michiel Sovijarvi-Spape ><mspape at cognitology.eu> wrote: >Hi, > >Like you, I thought, that is pretty odd, but you seem correct >anyway. Nonetheless, there's an argument to be made against packing >all sorts of superfluous operations in a programming language (like >VBA), if you're not using them and are easily able to add them >yourself. So, just add to your user script: > >Function min(inx As Variant, iny As Variant) As Variant > If inx < iny Then min = inx Else min = iny >End Function > >Now, writing >TextDisplay1.Text = min(5,3) >for example, will show "3". Rock on, no? >Best, >Mich > > >From: e-prime at googlegroups.com >[mailto:e-prime at googlegroups.com] On Behalf Of Chris >Sent: 10 July 2012 13:57 >To: e-prime at googlegroups.com >Subject: Is there no min() function in ebasic? > >I realize I must be overlooking something, but I cannot find the >minimum function. If I just want the smaller of two variables, do I >really have to construct an if statement for that? > >I realize that I can also put them in a summation object and use >summation.min; or I could put them in an array and sort it; but >surely the min() function must exist, right? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 stevensonbaker at gmail.com Wed Jul 11 18:36:15 2012 From: stevensonbaker at gmail.com (Alevelwetsky) Date: Wed, 11 Jul 2012 11:36:15 -0700 Subject: delay discounting In-Reply-To: <8747542e-d1c5-4ecd-ac15-145ef2de3049@n16g2000prc.googlegroups.com> Message-ID: Hi Jessica, I'm also programming a delay discounting task in E-Prime. Any advice you can give me is appreciated. Thanks! On Tuesday, February 22, 2011 10:42:42 AM UTC-5, Jessica wrote: > > Thank you!! > > On Feb 17, 5:46 pm, David McFarlane wrote: > > In the broadest terms, this will require inline code, and global > > variables. See Chapter 4 of the User's Guide that came with > > E-Prime. Also, try a search of "delay discounting E-Prime" on the > > web, or in the appropriate message boards (e.g., here, or the PST > > Forum). And don't forget PST Web Support athttp:// > support.pstnet.com/e%2Dprime/support/login.asp. > > > > -- David McFarlane, Professional Faultfinder > > > > > > > > >I am trying to program a delay discounting task in the newest version > > >of e-prime and have been running against a particular difficulty that > > >I was wondering if others might have some insights into. > > > Has anyone programmed into a slide a box where monetary earnings are > > >accumulated and if so, how? I am thinking that this might require in- > > >line script but was unsure if there was a different way? > > > > >Thanks in advance and any help would be greatly appreciated!- Hide > quoted text - > > > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/mpSnx6hrYqkJ. To post to this group, send email to e-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 mspape at cognitology.eu Thu Jul 12 06:49:48 2012 From: mspape at cognitology.eu (Michiel Sovijarvi-Spape) Date: Thu, 12 Jul 2012 09:49:48 +0300 Subject: delay discounting In-Reply-To: <18455de7-d3ed-4fb0-805d-9e5011e6bdd4@googlegroups.com> Message-ID: Hi, More information would be appreciated. As per http://149.142.158.188/phenowiki/wiki/index.php/Delay_Discounting_Task_(DDT) , it seems to be a sort of delay of gratification task in which you ask people whether they want 40 pound now, or 100 pounds in a week - correct? Doesn't sound to me like the type of thing you'd normally use e-prime for, but anyway... what seems to be the problem? Are you also concerned about: "Has anyone programmed into a slide a box where monetary earnings are accumulated and if so, how?" Again, I'd really not use E-Prime for slides and anything pretty really - a slider is a pretty normal object, just drag and drop in java, .net, and so on, but makes little sense in E-Prime, where solid timing characteristics are the main focus. IF you must, and I understand some students do, use E-Prime (possibly for no other reason than that people have heard it's good practice for psychologists to do so), you could present them with two random choices [now] and [later] on a single textdisplay which says: "Press 1 if you would prefer [now] now or 2 if you would prefer [later] later?" and then add these as attributes to a list. "accumulated monetary earnings" can then be done as the sums of choices by adding an inline: if TextDisplay1.RESP = 1 then sumnow = sumnow + c.GetAttrib("now") if TextDisplay1.RESP = 2 then sumlater = sumlater = c.GetAttrib("later") c.SetAttrib "sumnow" = sumnow c.SetAttrib "sumlater" = sumlater (obviously, sumnow and sumlater are declared in the user script) Good luck. Best, Mich From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Alevelwetsky Sent: 11 July 2012 21:36 To: e-prime at googlegroups.com Subject: Re: delay discounting Hi Jessica, I'm also programming a delay discounting task in E-Prime. Any advice you can give me is appreciated. Thanks! On Tuesday, February 22, 2011 10:42:42 AM UTC-5, Jessica wrote: Thank you!! On Feb 17, 5:46 pm, David McFarlane wrote: > In the broadest terms, this will require inline code, and global > variables. See Chapter 4 of the User's Guide that came with > E-Prime. Also, try a search of "delay discounting E-Prime" on the > web, or in the appropriate message boards (e.g., here, or the PST > Forum). And don't forget PST Web Support athttp://support.pstnet.com/e%2Dprime/support/login.asp. > > -- David McFarlane, Professional Faultfinder > > > > >I am trying to program a delay discounting task in the newest version > >of e-prime and have been running against a particular difficulty that > >I was wondering if others might have some insights into. > > Has anyone programmed into a slide a box where monetary earnings are > >accumulated and if so, how? I am thinking that this might require in- > >line script but was unsure if there was a different way? > > >Thanks in advance and any help would be greatly appreciated!- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/mpSnx6hrYqkJ. To post to this group, send email to e-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 tobias.fw at gmail.com Thu Jul 12 13:45:56 2012 From: tobias.fw at gmail.com (Tobias) Date: Thu, 12 Jul 2012 06:45:56 -0700 Subject: add textdisplay to slide Message-ID: Hi, I want to run a slide called "SearchSlide". Within a trial, I want to add a textdisplay. I tried: set SearchContext set textACC = New TextDisplay textACC.X = "50%" textACC.Y = "2%" textACC.Width = "34%" textACC.Height = "3%" textACC.FontSize = "16" textACC.FontName = "Arial" textACC.backcolor = "128,128,128" textACC.text = "correct" however the "set" command needs an "=". How can I refer to an already existing slide? Thanks, Tobias -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/U0zDPFdZYJsJ. To post to this group, send email to e-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 tobias.fw at gmail.com Thu Jul 12 14:07:32 2012 From: tobias.fw at gmail.com (Tobias) Date: Thu, 12 Jul 2012 07:07:32 -0700 Subject: add textdisplay to slide In-Reply-To: Message-ID: To make this more clear: I want to add a slidetext on the already existing slide. Am Donnerstag, 12. Juli 2012 15:45:56 UTC+2 schrieb Tobias: > > Hi, > > I want to run a slide called "SearchSlide". > Within a trial, I want to add a textdisplay. > > I tried: > > set SearchContext > set textACC = New TextDisplay > > textACC.X = "50%" > textACC.Y = "2%" > textACC.Width = "34%" > textACC.Height = "3%" > textACC.FontSize = "16" > textACC.FontName = "Arial" > textACC.backcolor = "128,128,128" > textACC.text = "correct" > > however the "set" command needs an "=". How can I refer to an already > existing slide? > > Thanks, > Tobias > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/PxzS39ODvRAJ. To post to this group, send email to e-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 liwenna at gmail.com Fri Jul 13 11:37:12 2012 From: liwenna at gmail.com (Anne-Wil) Date: Fri, 13 Jul 2012 04:37:12 -0700 Subject: add textdisplay to slide In-Reply-To: <84dda756-278d-432d-a745-9a7d854076d9@googlegroups.com> Message-ID: Hi Tobias, With respect to the code that you presented now: to me it seems to define a textobject (= stand alone textbox), rather than a text-subobject to be placed within a slide-object. In order to define a textbox within a slide, I think that you need some code along the lines of: CSlideText(Slide1.States(Slide1.ActiveState).Objects("Text1")) to replace the textACC that you use now -> CSlideText(SLIDENAME.States(SLIDENAME.ActiveState).Objects("TEXTBOXNAME")).X = 50% etc. However: although I could imagine that it might be doable using a do-while construction, in my experience it is always way more easy to either use two separate consecutive slideobjects that are identical except the feature that you 'd like to change (i.e. the first without the textbox that is then replaced by a separate slideobject wíth the textbox -> the effect would be the same as having a textbox appear). Or, if you need more than a single change to happen (or a conditional change that you don't want to organise through slidestates on the second slide), you could opt for having a slideobject being terminated, than in an inline have it's properties changed and with a "goto label" construction go back on the procedure to before the slideobject and have the slideobject shown AGAIN (i.e. also in this case the slide is not technically altered while being shown, but altered and then shown again). I believe that 'an E-primer' (by Michiel Spape) contains some info on these types of set-ups ( step.psy.cmu.edu/materials/*EPrimer*.pdf ) and there are also examples around within this group, although perhaps not the exact same thing as you search for (see for instance the fading slides thread: https://groups.google.com/forum/?fromgroups#!topic/e-prime/rY2vTRap_4Q ) Best, AW On Thursday, 12 July 2012 16:07:32 UTC+2, Tobias wrote: > > To make this more clear: I want to add a slidetext on the already existing > slide. > > > Am Donnerstag, 12. Juli 2012 15:45:56 UTC+2 schrieb Tobias: >> >> Hi, >> >> I want to run a slide called "SearchSlide". >> Within a trial, I want to add a textdisplay. >> >> I tried: >> >> set SearchContext >> set textACC = New TextDisplay >> >> textACC.X = "50%" >> textACC.Y = "2%" >> textACC.Width = "34%" >> textACC.Height = "3%" >> textACC.FontSize = "16" >> textACC.FontName = "Arial" >> textACC.backcolor = "128,128,128" >> textACC.text = "correct" >> >> however the "set" command needs an "=". How can I refer to an already >> existing slide? >> >> Thanks, >> Tobias >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/PxiOtw83kOYJ. To post to this group, send email to e-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 boveejc at gmail.com Fri Jul 13 21:14:29 2012 From: boveejc at gmail.com (Joanna) Date: Fri, 13 Jul 2012 14:14:29 -0700 Subject: Logging Voice Onset Latency Message-ID: I am running a picture naming study in which I need to log how long it takes a participant to respond (i.e., verbally name the picture) after the image has appeared on the screen. I am using the Cedrus SV-1 Key with E-Prime 2.0.10.242. The experiment runs smoothly and separate .wav files are created for each trial. However, upon opening the .edat file, response time is always logged as 0 ms. I tried to find the logging property for the SoundIn sub-object, but it is not listed among the other properties. Has anyone successfully been able to log naming onset time in a similar design? All advice welcome. Many thanks. Joanna Bovee -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/0NrNnt4oAhMJ. To post to this group, send email to e-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 pure-n-true at hotmail.co.uk Sat Jul 14 18:57:10 2012 From: pure-n-true at hotmail.co.uk (pure-n-true at hotmail.co.uk) Date: Sat, 14 Jul 2012 11:57:10 -0700 Subject: Help Message-ID: Hi I am new to E-Prime and even though I have done lots of tutorials I cannot master the experiment I am supposed to design. For some reason It is not working and if it does work nothing shows up as my initial plan. My project is fairly simple and will use 2 types of load, question and set size, that will be done in 8 blocks with 40 trials in each block. This is easier said than done. I am using about 20 household items in black and white that I have transferred to bitmap and will be seen randomly throughout the experiment. High set size will be 6 and 8 items shown on screen at once and low set size will be 2-3 items. There will be 2 types of question, a high question load, where is X? which will require the participants to click the screen with a mouse to choose their location of the target shown in the first screen, and a low question load, was X here?, which will require the participants to select N for No and Y for Yes on the keyboard. The gap between each screen will be 200ms and the search screen will be presented for 250ms. There will be 4 types of blocks which will be presented twice to get the desired 8 blocks. Type 1 will be a high set size (6 and 8 items appear on screen at once) with a low question load (was X here?). Type 2 will be a low set size with a low question load. Type 3 will be a low set size with a high question load. Type 4 will be a high set size with a high question load. I have read through many questions and answers in this group but have found that they do not answer my experimental problems. I would like for your professional help on the design of this experiment and how it can be implemented as this is for a masters degree and I do not want to fail. Any help will be appreciated and I would like to thank you n advance for your time and response. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/E1_Q3YDr8CAJ. To post to this group, send email to e-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 jiaxiking at gmail.com Sun Jul 15 05:57:56 2012 From: jiaxiking at gmail.com (David Wang) Date: Sat, 14 Jul 2012 22:57:56 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide Message-ID: long story short, I am trying to have two response objects that can be clicked by mouse. My subjects will only be able to click one of them (as soon as that happens, the procedure will move forward). clicking elsewhere results in nothing. I have attached an Inline after that slide, however I can't seem to get the coding right. Can someone take a look and let me know what I am doing wrong. Thank you so much :) (by the way I copied this code from someone in this group, I can't remember her name though, but I love her for sharing this. Hopefully I can get it to work in my design). The slide I want to make this work is "slide5", the two buttons are named "leftbutton" and "right button". I will need to log which button my subjects will click for the purpose of my experiment. here are the codes: ============================================================================ 'Designate "theState" as the Default Slide State, which is the 'current, ActiveState on the Slide object "Stimulus" Dim theState as SlideState Set theState = Slide5.States("Default") Dim next_mX as Long, next_mY as Long Dim strHit As String Dim theMouseResponseData As MouseResponseData Do until (strHit = "leftbutton" or strHit = "rightbutton") 'Was there a response? If Slide5.InputMasks.Responses.Count > 0 Then 'Get the mouse response Set theMouseResponseData = CMouseResponseData(Slide5.InputMasks.Responses(1)) 'Determine string name of Slide 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 = "leftbutton" or strHit = "rightbutton" Then GoTo begingame End if Do Until (strHit = "leftbutton" or strHit = "rightbutton") ' 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 = "leftbutton" or strHit = "rightbutton" Then GoTo begingame End If Loop -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/W-8a1QqvHZgJ. To post to this group, send email to e-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 jiaxiking at gmail.com Sun Jul 15 06:04:05 2012 From: jiaxiking at gmail.com (David Wang) Date: Sat, 14 Jul 2012 23:04:05 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide In-Reply-To: <3b2f9aa5-c41d-4b8b-8e31-e8fa445f2209@googlegroups.com> Message-ID: This is the error screen I get when I try to generate script. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/TWdisNm73_AJ. To post to this group, send email to e-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 liwenna at gmail.com Sun Jul 15 11:54:20 2012 From: liwenna at gmail.com (Anne-Wil) Date: Sun, 15 Jul 2012 04:54:20 -0700 Subject: Help In-Reply-To: <555685d2-2ae9-446a-ac45-40c71532f8c0@googlegroups.com> Message-ID: Hi Pure, Sorry to disappoint you: we are not professionals but simply other e-prime users helping each other out. Personally, I make a bit of a point out of not performing students' work - after all they/you are supposed to learn from this. If you could ask more detailed questions on more specific parts of the design where you get stuck - I won't mind giving you pointers in order to get you on track again, but building an entire experiment for you is not really an option. Two pointers to getting started: - first aim to build a stripped version of the experiment that does not yet have all the different conditions etc. but consists of just a couple of trials and get those to work correctly. Once you got that you can expand it into the full version and figure out how to implement the randomizations etc. - check out the dohittest script that can be downloaded at the PST site or found copied at numerous places throughout this group -> you will need it to record your pp's answers: i.e. which of the images did they click on. best, AW On Saturday, 14 July 2012 20:57:10 UTC+2, pure-... at hotmail.co.uk wrote: > > Hi I am new to E-Prime and even though I have done lots of tutorials I > cannot master the experiment I am supposed to design. For some reason It is > not working and if it does work nothing shows up as my initial plan. > My project is fairly simple and will use 2 types of load, question and set > size, that will be done in 8 blocks with 40 trials in each block. This is > easier said than done. > I am using about 20 household items in black and white that I > have transferred to bitmap and will be seen randomly throughout the > experiment. High set size will be 6 and 8 items shown on screen at once and > low set size will be 2-3 items. There will be 2 types of question, a high > question load, where is X? which will require the participants to click the > screen with a mouse to choose their location of the target shown in the > first screen, and a low question load, was X here?, which will require the > participants to select N for No and Y for Yes on the keyboard. The gap > between each screen will be 200ms and the search screen will be presented > for 250ms. > > There will be 4 types of blocks which will be presented twice to get > the desired 8 blocks. > Type 1 will be a high set size (6 and 8 items appear on screen at once) > with a low question load (was X here?). > Type 2 will be a low set size with a low question load. > Type 3 will be a low set size with a high question load. > Type 4 will be a high set size with a high question load. > > > I have read through many questions and answers in this group but have > found that they do not answer my experimental problems. I would like for > your professional help on the design of this experiment and how it can be > implemented as this is for a masters degree and I do not want to fail. Any > help will be appreciated and I would like to thank you n advance for your > time and response. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/jg07EQPM2YYJ. To post to this group, send email to e-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 liwenna at gmail.com Sun Jul 15 12:34:32 2012 From: liwenna at gmail.com (Anne-Wil) Date: Sun, 15 Jul 2012 05:34:32 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide In-Reply-To: <5de99a2b-ab36-4f43-8449-9838c355f4ee@googlegroups.com> Message-ID: Hi David, In your code there seem to be some additions compared to the original dohittest provided by PST, which I do not think you need and may also form your problem. As for the error code: every IF THEN statement shoudl be either placed on a single line or closed with and END IF statement and similarly for conditional statements like the DO WHILE loop etc. The error occurs because there is an END statement misplaced or missing, cause the program to get 'lost'. As for your code: I think you added several lines that involve a do while statement and also have to do with the exact names of the buttons that were clicked on. Neither of these are needed for your purpose (if I understood you correctly: you have two boxes, only one needs to be clicked on and the name of that object needs to be logged or uses for accuracy logging - right?). 'Designate "theState" as the Default Slide State, which is the 'current, ActiveState on the Slide object "Stimulus" Dim theState as SlideState Set theState = Slide5.States("Default") Dim next_mX as Long, next_mY as Long Dim strHit As String Dim theMouseResponseData As MouseResponseData Do until (strHit = "leftbutton" or strHit = "rightbutton") <= this line seems superfluous to me; in the next line (.count > 0) it is determined wheter a click is made, so there is no point in determining it also in the previous line, moreover, strhit does not yet have a value (was created only two lines above) and will also never get the value of the button that was clicked with and lastly a do until loop in this script is not needed. 'Was there a response? If Slide5.InputMasks.Responses.Count > 0 Then 'Get the mouse response Set theMouseResponseData = CMouseResponseData(Slide5.InputMasks.Responses(1)) 'Determine string name of Slide 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 = "leftbutton" or strHit = "rightbutton" Then GoTo begingame End if <^= with this IF THEN loop you tell the program to goto a label (I suppose? begingame?) if strhit contains the value of either of your response buttons - but strhit will never holds that value, in the strHit= line four lines above it is given the value of name of the subobject that the mouseclick was made on (I.e. textbox1 or image1 or whatever name you defined for this subobject). StrHit will remain empty ("") if the click was made anywhere else than on a subobject on the slide. Do Until (strHit = "leftbutton" or strHit = "rightbutton") ' 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 = "leftbutton" or strHit = "rightbutton" Then GoTo begingame End If Loop <^= similar to previous do until loop, this one is not useful and I actually do not quite understand what it does :s So... I think this more original code (which a slight addition) should actually work for your purpose: Set theState = Slide5.States("Default") 'Was there a response? If Slide5.InputMasks.Responses.Count > 0 Then 'Get the mouse response Set theMouseResponseData = CMouseResponseData(Slide5.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) 'if strhit is empty (""), which is the case when the click was made outside an slide subobjct, the ' program is redirected to 'begingame' which is a label preceding the slide. If strHit = ("") Then Goto begingame Else c.SetAttrib "response", strHit End if Else End If Place this code in an inline following your slide. On the slide itself give names to each of the two subobjects that can be clicked on and also (if needed?) create an attribute in your list called CorrectAnswer, for which each cell holds the name of the subject that is the correct answer in that trial (if there is no correct anwer the lines from "If strhit =" to the next "End IF" can be removed. On Sunday, 15 July 2012 08:04:05 UTC+2, David Wang wrote: > > > > This is the error screen I get when I try to generate script. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/F5-FlLXgFoUJ. To post to this group, send email to e-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 liwenna at gmail.com Sun Jul 15 12:44:49 2012 From: liwenna at gmail.com (Anne-Wil) Date: Sun, 15 Jul 2012 05:44:49 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide In-Reply-To: <5de99a2b-ab36-4f43-8449-9838c355f4ee@googlegroups.com> Message-ID: Hi David, In your code there seem to be some additions compared to the original dohittest provided by PST, which I do not think you need and may also form your problem. As for the error code: every IF THEN statement should be either placed on a single line or closed with and END IF statement and similarly for conditional statements like the DO UNTIL loop etc. The error occurs because there is an END statement misplaced or missing, cause the program to get 'lost'. As for your specific code: I think you added several lines that involve a do while statement and also have to do with the exact names of the buttons that were clicked on (or perhaps they came with the post that you copied the script from :) ). Neither of these, however, are needed for your purpose (if I understood you correctly: you have two boxes, only one needs to be clicked on and the name of that object needs to be logged or uses for accuracy logging - right?). For 'educational purposes' I'll post some remarks with the code that you posted and under that I'll post a new code suggestion. 'Designate "theState" as the Default Slide State, which is the 'current, ActiveState on the Slide object "Stimulus" Dim theState as SlideState Set theState = Slide5.States("Default") Dim next_mX as Long, next_mY as Long Dim strHit As String Dim theMouseResponseData As MouseResponseData Do until (strHit = "leftbutton" or strHit = "rightbutton") <= this line seems superfluous to me; in the next line (.count > 0) it is determined wheter a click is made, so there is no point in determining it also in the previous line, moreover, strhit does not yet have a value (was created only two lines above) and will also never get the value of the button that was clicked with and lastly a do until loop in this script is not needed. 'Was there a response? If Slide5.InputMasks.Responses. Count > 0 Then 'Get the mouse response Set theMouseResponseData = CMouseResponseData(Slide5.InputMasks.Responses(1)) 'Determine string name of Slide 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 = "leftbutton" or strHit = "rightbutton" Then GoTo begingame End if <^= with this IF THEN loop you tell the program to goto a label (I suppose? begingame?) IF strhit contains the value of either of your response buttons - but strhit will never holds that value, in the strHit= line four lines above it is given the value of *the name of the subobject that the mouseclick was made on* (I.e. textbox1 or image1 or whatever name you defined for this subobject). StrHit will remain empty ("") if the click was made anywhere else than on any subobject on the slide. Do Until (strHit = "leftbutton" or strHit = "rightbutton") ' 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 = "leftbutton" or strHit = "rightbutton" Then GoTo begingame End If Loop <^= similar to previous do until loop, this one is not useful and I actually do not quite understand what it does :s So... I think this more original code (which a slight addition) should actually work for your purpose: Set theState = Slide5.States("Default") 'Was there a response? If Slide5.InputMasks.Responses.Count > 0 Then 'Get the mouse response Set theMouseResponseData = CMouseResponseData(Slide5.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) 'if strhit is empty (""), which is the case when the click was made outside an slide subobject, the ' program is redirected to 'begingame' which is a label preceding the slide, so it will run again. ' if strhit has any other value (i.e. the name of a subject that was clicked on), this value is logged under "response" If strHit = ("") Then Goto begingame Else c.SetAttrib "response", strHit End if Else End If Place this code in an inline following your slide. On the slide itself give names to each of the two subobjects that can be clicked on (or you can keep them with their generic names - but make sure you can afterwards figure out which object the response was made to). The above code does not compare or log the given answer to a 'correctanswer' but I gathered from your code that that is not needed - correct? If there are more subjects on your slide that just the two stimulus objects (i.e. a textbox giving directions?) than adjust the code so that a click on the non-stimulus subobject also leads to 'goto begingame'. Best, liw On Sunday, 15 July 2012 08:04:05 UTC+2, David Wang wrote: > > > > This is the error screen I get when I try to generate script. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/aAfgyZeHSGgJ. To post to this group, send email to e-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 lml1934 at gmail.com Sun Jul 15 17:32:59 2012 From: lml1934 at gmail.com (Lisa Levinson) Date: Sun, 15 Jul 2012 10:32:59 -0700 Subject: video and E Prime 2.0 Message-ID: Good to know that I am not alone in attempting to solve this problem but no solution as of yet. I came across a posting from 7/11/11 related to my movie clip problem which David Vinson responded to very thoroughly on 7/13 but while this information does shed some light on my situation it does not seem to completely address my predicament. For some reason the .avi video files I loaded to E Prime for an experiment are now not running properly after otherwise running without issue during two experimental runs. It seems that the pixelated image (a gray scale gradient that traverses left to right) separates horizontally as it runs for parts of the presentation. The image does not always become disrupted at the same point during the run nor does the image break in the same area. I think the issue may be due to the 100ms stimulus presentation but it is strange that it did at one time run correctly. A colleague and I attempted to find the change the format code from .avi to mpg but it will not run at all with any of the reformatted versions. I do not think we tried Xvid Codec which I see worked for someone else. That will be Monday's project. Again, not sure if my issue is one of formatting or one of presentation duration. It may be that with EPrime the 100ms run time and various inter-stimulus intervals (600ms-1000ms) makes loading the files in that time frame problematic. Of course, the fact that it worked and now doesn't is the true mystery. Anyone have thoughts???? Lisa -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/f2mtquXKySYJ. To post to this group, send email to e-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 nitz.david at gmail.com Sun Jul 15 17:43:10 2012 From: nitz.david at gmail.com (Dave) Date: Sun, 15 Jul 2012 10:43:10 -0700 Subject: video and E Prime 2.0 In-Reply-To: Message-ID: Sounds like classic "screen tearing" due to vsync being off. C.f. https://en.wikipedia.org/wiki/Screen_tearing. On Sunday, July 15, 2012 7:32:59 PM UTC+2, Lisa Levinson wrote: > > Good to know that I am not alone in attempting to solve this problem but > no solution as of yet. I came across a posting from 7/11/11 related to my > movie clip problem which David Vinson responded to very thoroughly on 7/13 > but while this information does shed some light on my situation it does not > seem to completely address my predicament. For some reason the .avi video > files I loaded to E Prime for an experiment are now not running properly > after otherwise running without issue during two experimental runs. It > seems that the pixelated image (a gray scale gradient that traverses left > to right) separates horizontally as it runs for parts of the presentation. > The image does not always become disrupted at the same point during the run > nor does the image break in the same area. I think the issue may be due to > the 100ms stimulus presentation but it is strange that it did at one time > run correctly. > > A colleague and I attempted to find the change the format code from .avi > to mpg but it will not run at all with any of the reformatted versions. I > do not think we tried Xvid Codec which I see worked for someone else. That > will be Monday's project. Again, not sure if my issue is one of formatting > or one of presentation duration. It may be that with EPrime the 100ms run > time and various inter-stimulus intervals (600ms-1000ms) makes loading the > files in that time frame problematic. Of course, the fact that it worked > and now doesn't is the true mystery. > > Anyone have thoughts???? > Lisa > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/65hBxtRbqAgJ. To post to this group, send email to e-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 pquain at une.edu.au Sun Jul 15 17:43:58 2012 From: pquain at une.edu.au (Peter Quain) Date: Mon, 16 Jul 2012 03:43:58 +1000 Subject: video and E Prime 2.0 In-Reply-To: Message-ID: No idea why it might be intermittent, but It could be tearing: http://en.wikipedia.org/wiki/Screen_tearing you could try updating video drivers. Also, try running paradigm on some different machines At 03:32 AM 16/07/2012, you wrote: >Good to know that I am not alone in attempting to solve this problem >but no solution as of yet. I came across a posting from 7/11/11 >related to my movie clip problem which David Vinson responded to >very thoroughly on 7/13 but while this information does shed some >light on my situation it does not seem to completely address my >predicament. For some reason the .avi video files I loaded to E >Prime for an experiment are now not running properly after otherwise >running without issue during two experimental runs. It seems that >the pixelated image (a gray scale gradient that traverses left to >right) separates horizontally as it runs for parts of the >presentation. The image does not always become disrupted at the same >point during the run nor does the image break in the same area. I >think the issue may be due to the 100ms stimulus presentation but it >is strange that it did at one time run correctly. > >A colleague and I attempted to find the change the format code from >.avi to mpg but it will not run at all with any of the reformatted >versions. I do not think we tried Xvid Codec which I see worked for >someone else. That will be Monday's project. Again, not sure if my >issue is one of formatting or one of presentation duration. It may >be that with EPrime the 100ms run time and various inter-stimulus >intervals (600ms-1000ms) makes loading the files in that time frame >problematic. Of course, the fact that it worked and now doesn't is >the true mystery. > >Anyone have thoughts???? >Lisa > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To view this discussion on the web visit >https://groups.google.com/d/msg/e-prime/-/f2mtquXKySYJ. >To post to this group, send email to e-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 jiaxiking at gmail.com Sun Jul 15 20:49:00 2012 From: jiaxiking at gmail.com (David Wang) Date: Sun, 15 Jul 2012 13:49:00 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide In-Reply-To: Message-ID: On Sunday, July 15, 2012 8:44:49 AM UTC-4, Anne-Wil wrote: > > Hi David, > > > In your code there seem to be some additions compared to the original > dohittest provided by PST, which I do not think you need and may also form > your problem. > > As for the error code: every IF THEN statement should be either placed on > a single line or closed with and END IF statement and similarly for > conditional statements like the DO UNTIL loop etc. The error occurs because > there is an END statement misplaced or missing, cause the program to get > 'lost'. > > As for your specific code: I think you added several lines that involve a > do while statement and also have to do with the exact names of the buttons > that were clicked on (or perhaps they came with the post that you copied > the script from :) ). Neither of these, however, are needed for your > purpose (if I understood you correctly: you have two boxes, only one needs > to be clicked on and the name of that object needs to be logged or uses for > accuracy logging - right?). > > For 'educational purposes' I'll post some remarks with the code that you > posted and under that I'll post a new code suggestion. > > 'Designate "theState" as the Default Slide State, which is the > 'current, ActiveState on the Slide object "Stimulus" > > Dim theState as SlideState > Set theState = Slide5.States("Default") > > Dim next_mX as Long, next_mY as Long > > Dim strHit As String > Dim theMouseResponseData As MouseResponseData > > Do until (strHit = "leftbutton" or strHit = "rightbutton") <= > this line seems superfluous to me; in the next line (.count > 0) it is > determined wheter a click is made, so there is no point in determining it > also in the previous line, moreover, strhit does not yet have a value (was > created only two lines above) and will also never get the value of the > button that was clicked with and lastly a do until loop in this script is > not needed. > 'Was there a response? > If Slide5.InputMasks.Responses. > Count > 0 Then > > 'Get the mouse response > Set theMouseResponseData = > CMouseResponseData(Slide5.InputMasks.Responses(1)) > > 'Determine string name of Slide 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 = "leftbutton" or strHit = "rightbutton" > Then > GoTo begingame > > End if <^= with this IF THEN loop you tell the > program to goto a label (I suppose? begingame?) IF strhit contains the > value of either of your response buttons - but strhit will never holds that > value, in the strHit= line four lines above it is given the value of *the > name of the subobject that the mouseclick was made on* (I.e. textbox1 or > image1 or whatever name you defined for this subobject). StrHit will remain > empty ("") if the click was made anywhere else than on any subobject on the > slide. > > Do Until (strHit = "leftbutton" or strHit = "rightbutton") > ' 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 = "leftbutton" or strHit = "rightbutton" > Then > GoTo begingame > End If > > Loop <^= similar to previous do until loop, this one is not useful > and I actually do not quite understand what it does :s > > So... I think this more original code (which a slight addition) should > actually work for your purpose: > > Set theState = Slide5.States("Default") > > 'Was there a response? > If Slide5.InputMasks.Responses.Count > 0 Then > > 'Get the mouse response > Set theMouseResponseData = CMouseResponseData(Slide5.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) > > 'if strhit is empty (""), which is the case when the click > was made outside an slide subobject, the > ' program is redirected to 'begingame' which is a label > preceding the slide, so it will run again. > ' if strhit has any other value (i.e. the name of a > subject that was clicked on), this value is logged under "response" > > If strHit = ("") Then > Goto begingame > Else > c.SetAttrib "response", strHit > > End if > > Else > > End If > > > Place this code in an inline following your slide. On the slide itself > give names to each of the two subobjects that can be clicked on (or you can > keep them with their generic names - but make sure you can afterwards > figure out which object the response was made to). The above code does not > compare or log the given answer to a 'correctanswer' but I gathered from > your code that that is not needed - correct? If there are more subjects on > your slide that just the two stimulus objects (i.e. a textbox giving > directions?) than adjust the code so that a click on the non-stimulus > subobject also leads to 'goto begingame'. > > > Best, > > > liw > > On Sunday, 15 July 2012 08:04:05 UTC+2, David Wang wrote: >> >> >> >> This is the error screen I get when I try to generate script. >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/vpI1Iduf-QIJ. To post to this group, send email to e-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 jiaxiking at gmail.com Sun Jul 15 21:20:37 2012 From: jiaxiking at gmail.com (David Wang) Date: Sun, 15 Jul 2012 14:20:37 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide In-Reply-To: Message-ID: Hi Anne! Thank you very much for the fast reply. You are awesome!!! For my experiment, I want to have the subjects only be able to click on the two buttons. So when they accidentally clicks something else (e.g. another image object or simply anywhere on the screen other than the two buttons), nothing would happen. Once they successfully clicks one of the two buttons, the game trial will then restart and go to begingame (a label in the beginning of the trialproc). So I used your code and edited it to make it work. Here are the working codes, maybe other new eprime users like me can benefit from this.. :D ================================================ 'Designate "theState" as the Default Slide State, which is the ' 'current, ActiveState on the Slide object "Stimulus" Dim theState as SlideState Set theState = Slide5.States("Default") Dim next_mX as Long, next_mY as Long Dim strHit As String Dim theMouseResponseData As MouseResponseData 'Was there a response? If Slide5.InputMasks.Responses.Count > 0 Then 'Get the mouse response Set theMouseResponseData = CMouseResponseData(Slide5.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) 'if strHit equals the two buttons, then strHit will be logged, game will move onto next trial. If strHit = ("leftbutton") or strHit = ("rightbutton") Then c.SetAttrib "response", strHit 'if click is off, then restart slide 5 so nothing changes on the screen. no data will be logged in this case. Else Goto restart End If End if -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/txb4WKMIdB0J. To post to this group, send email to e-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 jiaxiking at gmail.com Mon Jul 16 03:32:57 2012 From: jiaxiking at gmail.com (David Wang) Date: Sun, 15 Jul 2012 20:32:57 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide In-Reply-To: Message-ID: Now I have a new question. The two buttons I used are text boxes (light gray background, Bold black font). To make the buttons more realistic, I am trying to have the background color change when my mouse hovers over them. No clicking will happen, I simply want the program to monitor the location of the cursor; and when the cursor is over the buttons, the backcolor of the buttons can change. I am sorry to bother you again, but I do need help :( My thought is to dim leftbutton as rect (is this correct? leftbutton is the string name of a button on the slide.) Dim curPoint As Point 'mouse over Dim ETTime As Long ETTime = Clock.Read Dim ETTimeInterval As Long ETTimeInterval = 10 '---loop the positioning mechanism before a response is made Do While Slide5.InputMasks.Responses.Count = 0 '=== request eye or mouse data every ETTimeInterval ms If (Clock.Read > ETTime) Then 'Set the next log time ETTime = Clock.Read + ETTimeInterval '---- highlight AOI ( mouse over ) Mouse.GetCursorPos curPoint.x, curPoint.y If PointInRect(curPoint,leftbutton ) Then 'This I don't understand. Am i in the right path to make a textbox a rect in the inline, then use it in a pointinrect and color change command? leftbutton.BackColor = color.silver leftbutton.Draw Else leftbutton.BackColor = color.gray leftbutton.Draw End If end if loop -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/oCQYtMwJ3eAJ. To post to this group, send email to e-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 liwenna at gmail.com Mon Jul 16 07:20:50 2012 From: liwenna at gmail.com (Anne-Wil) Date: Mon, 16 Jul 2012 00:20:50 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide In-Reply-To: Message-ID: ... and the attachment... On Monday, 16 July 2012 09:19:39 UTC+2, Anne-Wil wrote: > > Hey David, > > I clearly misunderstood what you meant with leftbutton and rightbutton - > those are the names of the boxes, I realize now. > > Glad you got that part working. For the changing colors when mouse hoovers > over part: I don't think you can really help you with that one - as I never > did that myself. > > I do think you might want to use a different set-up in that case. The > script that is used to read out the mouseclicklocation is only accessed > after the termination of the slide - in order to have anything happening > (i.e. mouse location being read out and acted upon during the showing of > the slide) you'd need a script that is accessed before the slide and > continues during the slide (the do while type loops that you already tried > to implement). My gut feeling tells me that such a script might not work > with the ready made "buttons" (text/imageboxes), but perhaps it will if you > draw the buttons yourself (in that very same script preceding the slide) > using canvas drawing commands. > > Attached is a questionnaire script, which I believe evolved from the > ratingscale script provided by PST. In the inline preceding the > questionslide answerboxes are being drawn, then the slide is shown and then > in the inline following the slide, the mouseclick is assessed, the > buttoncolour changes and remains visible for a little bit longer, and the > response is logged and processed. Clicks outside the answerbuttons load to > a backbutton, similar to your set-up. > > What this program does not do is changing the colour of buttons while a > mouse hovers over. I think I tried to get it like that "back then" but > didn't manage to do so. I then concluded that the slide needs to be > terminated, altered and reshown for this to happen and that that simply > takes a bit too long to give a natural feeling to the participant operating > the mouse (as if the program stalls). However, back then I wasn't much > aware of do-while loops, perhaps those may make it possible. Anyone else's > input could be useful on that one? :) > > > Good luck and please let us know if it works out! :) > > Best, > > Anne-Wil > On Monday, 16 July 2012 05:32:57 UTC+2, David Wang wrote: >> >> Now I have a new question. The two buttons I used are text boxes (light >> gray background, Bold black font). >> >> To make the buttons more realistic, I am trying to have the background >> color change when my mouse hovers over them. >> >> No clicking will happen, I simply want the program to monitor the >> location of the cursor; and when the cursor is over the buttons, the >> backcolor of the buttons can change. >> >> I am sorry to bother you again, but I do need help :( >> >> My thought is to >> >> >> >> dim leftbutton as rect >> (is this correct? leftbutton is the string name of a button on the slide.) >> >> Dim curPoint As Point 'mouse over >> Dim ETTime As Long >> ETTime = Clock.Read >> Dim ETTimeInterval As Long >> ETTimeInterval = 10 >> >> >> '---loop the positioning mechanism before a response is made >> Do While Slide5.InputMasks.Responses.Count = 0 >> >> '=== request eye or mouse data every ETTimeInterval ms >> If (Clock.Read > ETTime) Then >> >> 'Set the next log time >> ETTime = Clock.Read + ETTimeInterval >> >> >> >> >> '---- highlight AOI ( mouse over ) >> Mouse.GetCursorPos curPoint.x, curPoint.y >> >> >> >> If PointInRect(curPoint,leftbutton ) Then 'This I >> don't understand. Am i in the right path to make a textbox a rect in the >> inline, then use it in a pointinrect and color change command? >> leftbutton.BackColor = color.silver >> leftbutton.Draw >> Else >> leftbutton.BackColor = color.gray >> leftbutton.Draw >> End If >> >> >> >> end if >> loop >> >> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/rADC-C69IBEJ. To post to this group, send email to e-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: -------------- next part -------------- A non-text attachment was scrubbed... Name: panas.es2 Type: application/octet-stream Size: 93120 bytes Desc: not available URL: From liwenna at gmail.com Mon Jul 16 07:19:39 2012 From: liwenna at gmail.com (Anne-Wil) Date: Mon, 16 Jul 2012 00:19:39 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide In-Reply-To: Message-ID: Hey David, I clearly misunderstood what you meant with leftbutton and rightbutton - those are the names of the boxes, I realize now. Glad you got that part working. For the changing colors when mouse hoovers over part: I don't think you can really help you with that one - as I never did that myself. I do think you might want to use a different set-up in that case. The script that is used to read out the mouseclicklocation is only accessed after the termination of the slide - in order to have anything happening (i.e. mouse location being read out and acted upon during the showing of the slide) you'd need a script that is accessed before the slide and continues during the slide (the do while type loops that you already tried to implement). My gut feeling tells me that such a script might not work with the ready made "buttons" (text/imageboxes), but perhaps it will if you draw the buttons yourself (in that very same script preceding the slide) using canvas drawing commands. Attached is a questionnaire script, which I believe evolved from the ratingscale script provided by PST. In the inline preceding the questionslide answerboxes are being drawn, then the slide is shown and then in the inline following the slide, the mouseclick is assessed, the buttoncolour changes and remains visible for a little bit longer, and the response is logged and processed. Clicks outside the answerbuttons load to a backbutton, similar to your set-up. What this program does not do is changing the colour of buttons while a mouse hovers over. I think I tried to get it like that "back then" but didn't manage to do so. I then concluded that the slide needs to be terminated, altered and reshown for this to happen and that that simply takes a bit too long to give a natural feeling to the participant operating the mouse (as if the program stalls). However, back then I wasn't much aware of do-while loops, perhaps those may make it possible. Anyone else's input could be useful on that one? :) Good luck and please let us know if it works out! :) Best, Anne-Wil On Monday, 16 July 2012 05:32:57 UTC+2, David Wang wrote: > > Now I have a new question. The two buttons I used are text boxes (light > gray background, Bold black font). > > To make the buttons more realistic, I am trying to have the background > color change when my mouse hovers over them. > > No clicking will happen, I simply want the program to monitor the location > of the cursor; and when the cursor is over the buttons, the backcolor of > the buttons can change. > > I am sorry to bother you again, but I do need help :( > > My thought is to > > > > dim leftbutton as rect > (is this correct? leftbutton is the string name of a button on the slide.) > > Dim curPoint As Point 'mouse over > Dim ETTime As Long > ETTime = Clock.Read > Dim ETTimeInterval As Long > ETTimeInterval = 10 > > > '---loop the positioning mechanism before a response is made > Do While Slide5.InputMasks.Responses.Count = 0 > > '=== request eye or mouse data every ETTimeInterval ms > If (Clock.Read > ETTime) Then > > 'Set the next log time > ETTime = Clock.Read + ETTimeInterval > > > > > '---- highlight AOI ( mouse over ) > Mouse.GetCursorPos curPoint.x, curPoint.y > > > > If PointInRect(curPoint,leftbutton ) Then 'This I > don't understand. Am i in the right path to make a textbox a rect in the > inline, then use it in a pointinrect and color change command? > leftbutton.BackColor = color.silver > leftbutton.Draw > Else > leftbutton.BackColor = color.gray > leftbutton.Draw > End If > > > > end if > loop > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/5Z3nPWevjLsJ. To post to this group, send email to e-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 scruffybumblebee at gmail.com Mon Jul 16 18:41:02 2012 From: scruffybumblebee at gmail.com (Becks) Date: Mon, 16 Jul 2012 11:41:02 -0700 Subject: Play slide object after n-trials using inline Message-ID: Hi all, I currently have 3 different eprime paradigms which play tones for use with EEG recording equipment, all of which function perfectly. However, I have just been asked to add continuous background white noise to each one, to last for half of each paradigm. I can’t simply play a slide with a soundout object (whitenoise) and set the properties to “stop after = no” and the “stop offset” to a value that would stop the soundout object after half of the particular paradigm I am running, as the white noise needs to be counterbalanced across participants for first half of paradigm white noise/ second half of paradigm white noise. For the white noise during second half of paradigm condition, I am therefore trying to play an unreferenced slide with white noise soundout object after n-trials. I am able to count the trials using the following inline: Dim g_nTotalTrial as Integer ‘in user tab g_nTotalTrial = 0 ‘top level inline g_nTotalTrial = g_nTotalTrial+1 ‘inline at start of trialproc And I am able to play an unreferenced slide (called whitenoise) using the following inline: whitenoise.run I am struggling to link the two together, to play the slide after n-trials. I have tried using the following inline with no success: c.SetAttrib "TrialCount", g_nTotalTrial If TrialCount = 6 Then whitenoise.run I would be incredibly grateful if anyone can point me to any relevant literature or forum posts that I have missed, as I have scoured the user manuals and internet with no success. Or, if this is not as simple a problem as I suspect, does anyone have any ideas about how to get around it? Many thanks for any help you can offer. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/zN5MtwYMshsJ. To post to this group, send email to e-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 Mon Jul 16 19:46:48 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 16 Jul 2012 15:46:48 -0400 Subject: Play slide object after n-trials using inline In-Reply-To: Message-ID: I think you need to use the Slide.Play method instead of Slide.Run -- see that topic in the E-Basic Help facility. If your trials are not self-paced and all last for a known duration, then I have an alternative simple-minded idea. Make two noise files for the entire duration of the run, one with white noise for the first half and silence for the second, and the other vice-versa. Then just start the chosen white-noise file playing at the start of each run. For more technical details on using Slide, SoundOut, and SoundBuffer objects, try asking 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 E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) At 7/16/2012 02:41 PM Monday, Becks wrote: >Hi all, > > > >I currently have 3 different eprime paradigms which play tones for >use with EEG recording equipment, all of which function perfectly. >However, I have just been asked to add continuous background white >noise to each one, to last for half of each paradigm. > > > >I can't simply play a slide with a soundout object (whitenoise) and >set the properties to "stop after = no" and the "stop offset" to a >value that would stop the soundout object after half of the >particular paradigm I am running, as the white noise needs to be >counterbalanced across participants for first half of paradigm white >noise/ second half of paradigm white noise. > > > >For the white noise during second half of paradigm condition, I am >therefore trying to play an unreferenced slide with white noise >soundout object after n-trials. I am able to count the trials using >the following inline: > > > >Dim g_nTotalTrial as Integer 'in user tab > > > >g_nTotalTrial = 0 'top level inline > > > >g_nTotalTrial = g_nTotalTrial+1 'inline at start of trialproc > > > > > >And I am able to play an unreferenced slide (called whitenoise) >using the following inline: > > > >whitenoise.run > > > >I am struggling to link the two together, to play the slide after >n-trials. I have tried using the following inline with no success: > > > >c.SetAttrib "TrialCount", g_nTotalTrial > > > >If TrialCount = 6 Then whitenoise.run > > > > > >I would be incredibly grateful if anyone can point me to any >relevant literature or forum posts that I have missed, as I have >scoured the user manuals and internet with no success. Or, if this >is not as simple a problem as I suspect, does anyone have any ideas >about how to get around it? > > > >Many thanks for any help you can offer. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 Jul 16 19:52:09 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 16 Jul 2012 15:52:09 -0400 Subject: Logging Voice Onset Latency In-Reply-To: <39ed2caa-a3ed-410b-bfb2-50149ffc5b8f@googlegroups.com> Message-ID: Joanna, It sounds to me like you want to both record the voice RT, and the voice response. This has been discussed, see https://groups.google.com/forum/?fromgroups#!topic/e-prime/DcKdgNJKAlM , and more recently, http://pstnet.com/forum/Topic6026-23-1.aspx . ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours -- this is pretty much their substitute for proper documentation, so make full use of it. 3) In addition, PST takes questions at their Facebook page (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 ), and offers several instructional videos there and on their YouTube channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, though). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 7/13/2012 05:14 PM Friday, Joanna wrote: >I am running a picture naming study in which I need to log how long >it takes a participant to respond (i.e., verbally name the picture) >after the image has appeared on the screen. I am using the Cedrus >SV-1 Key with E-Prime 2.0.10.242. The experiment runs smoothly and >separate .wav files are created for each trial. However, upon >opening the .edat file, response time is always logged as 0 ms. I >tried to find the logging property for the SoundIn sub-object, but >it is not listed among the other properties. > >Has anyone successfully been able to log naming onset time in a >similar design? > >All advice welcome. Many thanks. > >Joanna Bovee -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 Tue Jul 17 18:05:58 2012 From: tobias.fw at gmail.com (Tobias) Date: Tue, 17 Jul 2012 11:05:58 -0700 Subject: split up list in two sessions Message-ID: Hi, I have the following problem: I have a list of 960 trials (each weight 1). It turned out that the experiment ist too long for one session. This is why we want to do two sessions. How can I split up the list in two so that I have all 960 combinations randomly distributed among the two sessions? Is there any way of doing so? Best, TObias -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/xcDgPm3oAfEJ. To post to this group, send email to e-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 scruffybumblebee at gmail.com Tue Jul 17 17:47:14 2012 From: scruffybumblebee at gmail.com (Becks) Date: Tue, 17 Jul 2012 10:47:14 -0700 Subject: Play slide object after n-trials using inline In-Reply-To: <50046fba.a439320a.75bd.468aSMTPIN_ADDED@gmr-mx.google.com> Message-ID: Unfortunately the duration is dependant on participant response time, otherwise that would have been a much simpler option. Thanks for pointing me in the right direction David. Your help is much appreciated. On Monday, 16 July 2012 15:46:48 UTC-4, McFarlane, David wrote: > I think you need to use the Slide.Play method instead of Slide.Run -- > see that topic in the E-Basic Help facility. > > If your trials are not self-paced and all last for a known duration, > then I have an alternative simple-minded idea. Make two noise files > for the entire duration of the run, one with white noise for the > first half and silence for the second, and the other > vice-versa. Then just start the chosen white-noise file playing at > the start of each run. > > For more technical details on using Slide, SoundOut, and SoundBuffer > objects, try asking 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 > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) > > > At 7/16/2012 02:41 PM Monday, Becks wrote: > >Hi all, > > > > /> > > > >I currently have 3 different eprime paradigms which play tones for > >use with EEG recording equipment, all of which function perfectly. > >However, I have just been asked to add continuous background white > >noise to each one, to last for half of each paradigm. > > > > > > > >I can't simply play a slide with a soundout object (whitenoise) and > >set the properties to "stop after = no" and the "stop offset" to a > >value that would stop the soundout object after half of the > >particular paradigm I am running, as the white noise needs to be > >counterbalanced across participants for first half of paradigm white > >noise/ second half of paradigm white noise. > > > > > > > >For the white noise during second half of paradigm condition, I am > >therefore trying to play an unreferenced slide with white noise > >soundout object after n-trials. I am able to count the trials using > >the following inline: > > > > > > > >Dim g_nTotalTrial as Integer 'in user tab > > > > > > > >g_nTotalTrial = 0 'top level inline > > > > > > > >g_nTotalTrial = g_nTotalTrial+1 'inline at start of trialproc > > > > > > > > > > > >And I am able to play an unreferenced slide (called whitenoise) > >using the following inline: > > > > > > > >whitenoise.run > > > > > > > >I am struggling to link the two together, to play the slide after > >n-trials. I have tried using the following inline with no success: > > > > > > > >c.SetAttrib "TrialCount", g_nTotalTrial > > > > > > > >If TrialCount = 6 Then whitenoise.run > > > > > > > > > > > >I would be incredibly grateful if anyone can point me to any > >relevant literature or forum posts that I have missed, as I have > >scoured the user manuals and internet with no success. Or, if this > >is not as simple a problem as I suspect, does anyone have any ideas > >about how to get around it? > > > > > > > >Many thanks for any help you can offer. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/tJbTmaJ-Ai0J. To post to this group, send email to e-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 scruffybumblebee at gmail.com Tue Jul 17 19:15:38 2012 From: scruffybumblebee at gmail.com (Becks) Date: Tue, 17 Jul 2012 12:15:38 -0700 Subject: lower sound volume for two objects independently Message-ID: Hi all, I have two soundout objects in a trial proc, and want to lower the volume of one but not the other. Yet I can only work out how to alter the volume of both. I am sure I am missing something really obvious as there is so little about altering volume in the forums, and I cannot get the "volume control" option in soundout properties to work as all the literature tells me it should (i.e. enter any number between -10000 and -1 to lower the dB of the soundout object). I am currently data collecting abroad, so am waiting for an email giving me my home department's *pstnet.com* login in order to contact pst support. If anyone can point me in the correct direction in the meantime, I would be incredibly grateful. Many thanks for any help offered. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/JT_IxXt5f0gJ. To post to this group, send email to e-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 Tue Jul 17 19:41:42 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 17 Jul 2012 15:41:42 -0400 Subject: split up list in two sessions In-Reply-To: Message-ID: Tobias, Roughly speaking, I might first generate the full 960 trial List in the first session, output the second half of that List to a .txt file using Print#, etc., and then run the first half of the List. In the second session I would use the List File Load Method to read in the rest of the trials from the .txt file generated in the first session, and then run those. Good luck. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours -- this is pretty much their substitute for proper documentation, so make full use of it. 3) In addition, PST takes questions at their Facebook page (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 ), and offers several instructional videos there and on their YouTube channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, though). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 7/17/2012 02:05 PM Tuesday, you wrote: >I have the following problem: I have a list of 960 trials (each >weight 1). It turned out that the experiment ist too long for one >session. This is why we want to do two sessions. > >How can I split up the list in two so that I have all 960 >combinations randomly distributed among the two sessions? Is there >any way of doing so? > >Best, >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 mkclairhong at gmail.com Tue Jul 17 20:02:18 2012 From: mkclairhong at gmail.com (newbie) Date: Tue, 17 Jul 2012 13:02:18 -0700 Subject: Rondomized Responses Message-ID: Hi all,I'm currently working on a research about involuntary memory and we have been using Eprime to present picture-sound pairs. The participants are asked to look at the picture and hear the sound, and type a sentence that comes to their mind. They go through this process twice, and the order of picture-sound pairs are different in two lists, so that we can make sure the "memory" is not affected by the order. When they see and listen to the sound for the second time, they're asked to modify their sentences from the first round and we present the response from the first round as well (so that they can see what they typed initially and modify if they want) However, the problem is that the responses they typed for the first list appear in the same order in the next list while the picture-sound pairs are in a different order. So for example, if Participant A typed "dog" for his first answer during the first round, "dog" would appear as the previous answer for his first picture-sound pairing for the second round even if the picture-sound pair that's presented to him would be a different pair from the first experiment. The code for this is, * First list* IntegrationString = Integration.RESP IntegrationString = ReplaceString(IntegrationString, "{SPACE}", " ") IntegrationString = ReplaceString(IntegrationString, "{SHIFT}", "") IntegrationString = ReplaceString(IntegrationString, "{ENTER}", " ") IntegrationString = ReplaceString(IntegrationString, "{,}", ",") IntegrationString = ReplaceString(IntegrationString, "{.}", ".") IntegrationString = ReplaceString(IntegrationString, "{F1}", "") IntegrationString = ReplaceString(IntegrationString, "{!}", "") IntegrationString = ReplaceString(IntegrationString, "{'}", "") IntegrationString = ReplaceString(IntegrationString, "{(}", "") IntegrationString = ReplaceString(IntegrationString, "{)}", "") IntegrationString = ReplaceString(IntegrationString, "{/}", "") IntegrationString = ReplaceString(IntegrationString, "{?}", "") IntegrationString = ReplaceString(IntegrationString, "{:}", "") IntegrationString = ReplaceString(IntegrationString, "{;}", "") c.SetAttribAtSource "IntegrationResp", IntegrationString For i = 1 to Encoding1List.Size response = Encoding1List.GetAttrib(i, "IntegrationResp") Encoding2List.SetAttrib i, "IntegrationResp", response Next i *Second list* Integration2String = Integration2.RESP Integration2String = ReplaceString(Integration2String, "{SPACE}", " ") Integration2String = ReplaceString(Integration2String, "{SHIFT}", "") Integration2String = ReplaceString(Integration2String, "{ENTER}", " ") Integration2String = ReplaceString(Integration2String, "{,}", ",") Integration2String = ReplaceString(Integration2String, "{.}", ".") Integration2String = ReplaceString(Integration2String, "{F1}", "") Integration2String = ReplaceString(Integration2String, "{!}", "") Integration2String = ReplaceString(Integration2String, "{'}", "") Integration2String = ReplaceString(Integration2String, "{(}", "") Integration2String = ReplaceString(Integration2String, "{)}", "") Integration2String = ReplaceString(Integration2String, "{/}", "") Integration2String = ReplaceString(Integration2String, "{?}", "") Integration2String = ReplaceString(Integration2String, "{:}", "") Integration2String = ReplaceString(Integration2String, "{;}", "") c.SetAttribAtSource "Integration2Resp", Integration2String For i = 1 to Encoding2List.Size response = Encoding2List.GetAttrib(i, "IntegrationResp") Encoding3List.SetAttrib i, "IntegrationResp", response Next i I feel like the problem would be resolved if I correct my "i= _____" but I've been keep failing to make the right modification for the code. It will be great if you could let me know how I would be able to fix it! Thank you so much -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/bOmtBh8sSnUJ. To post to this group, send email to e-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 turquoised13 at gmail.com Tue Jul 17 21:21:56 2012 From: turquoised13 at gmail.com (Margot Elizabeth) Date: Tue, 17 Jul 2012 17:21:56 -0400 Subject: KeyLists Message-ID: hello e-primers, I am brand new to e-prime, so apologies in advance if this is very basic. I have a word priming experiment with a balanced list of primes and targets; 50% are meaningful and 50% are unrelated pairs. There are 3 different types of meaningful pairs, so as a group the unrelated pairs outnumber the other types. Because I am running an EEG experiment along with the priming, I need to pick a smaller subset of my unrelated pairs for Net Station to recognize and call for analysis. The KeyList seems like an obvious solution to this, but when I follow the instructions from E-Prime (EBANs), it doesn't work... E-prme will generate the script, but running it produces a "no such attribute" error. EBANS instructions say to name KeyList as the attribute in the InLine Send Trial Events, but then each of the actual attributes in the KeyList are being picked up as unknown. When I tell Send Trial Events about the individual attributes I get more errors. I have searched KeyLists and can't find examples or discussions of how to use this feature. Any help would be greatly appreciated. Margot Stothers Ph.D. (Candidate) Western University London, ON, Canada -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 liwenna at gmail.com Tue Jul 17 22:55:42 2012 From: liwenna at gmail.com (Anne-Wil) Date: Tue, 17 Jul 2012 15:55:42 -0700 Subject: Rondomized Responses In-Reply-To: <36fe52c8-6869-4da8-a708-544942a1237b@googlegroups.com> Message-ID: Hi Newbie, I believe the problem lies with this line: Encoding2List.SetAttrib i, "IntegrationResp", response You're very close when you suspect 'i'. Note the 'i' in the above mentioned line? What it does is write the response that is given (response) into the attribute "integrationResp" of the list called "Encoding2List" at the i'th level. So.... during trial1 of the EncodingList1 'i'= 1, and the response is therefore written to the first (ith) level of Encoding2List. Since Encodinglist is, at that point, already randomized, the response is coded into the same listlevel (= info for a single trial) as the randomly chosen stimulusword for the i'th trial of that second list. Therefore the responses appear in the same order as given in the first round, whereas the stimuluswords do not. If the first list is not in a random order, than you could set the secondlist to sequential order too and randomize it with an inline AFTER the responses in the first round have been coded into the attribute "integrationresp". However, it is unlikely that your first round is not randomized and if I understand your code correctly, there is even a third round. So... instead.... I think you could store the responses given into an array that consists of two columns and as many rows as you have trials in a round, but this requires a bit more code. I'll ramble something down that is NOT tested and might therefore not work at all (and will need some modifications from your side anyways - but I got this impression that you know your way around code and this might be just the push that gets you on track again). **** Dim StoreResponseArray (numberoftrials -1, 2) as string **** ^ that one defines the array as having a numberoftrials-1 number of levels and 2 (or 3... columns) and it should be on the usertab of the scriptwindow; the -1 thingy is because level 0 is also taken into account and you would then end up with an 'empty' trial later on. The 'bonus' 0-column won't pose a problem. Then, starting from the code you provided, I'd end up with: **** IntegrationString = Integration.RESP IntegrationString = ReplaceString(IntegrationString, "{SPACE}", " ") IntegrationString = ReplaceString(IntegrationString, "{SHIFT}", "") IntegrationString = ReplaceString(IntegrationString, "{ENTER}", " ") IntegrationString = ReplaceString(IntegrationString, "{,}", ",") IntegrationString = ReplaceString(IntegrationString, "{.}", ".") IntegrationString = ReplaceString(IntegrationString, "{F1}", "") IntegrationString = ReplaceString(IntegrationString, "{!}", "") IntegrationString = ReplaceString(IntegrationString, "{'}", "") IntegrationString = ReplaceString(IntegrationString, "{(}", "") IntegrationString = ReplaceString(IntegrationString, "{)}", "") IntegrationString = ReplaceString(IntegrationString, "{/}", "") IntegrationString = ReplaceString(IntegrationString, "{?}", "") IntegrationString = ReplaceString(IntegrationString, "{:}", "") IntegrationString = ReplaceString(IntegrationString, "{;}", "") c.SetAttribAtSource "IntegrationResp", IntegrationString For i = 1 to numberoftrials StoreResponseArray (i-1,2) = Encoding1List.GetAttrib(i, "IntegrationResp") StoreResponseArray (i-1,1) = Encoding1List.GetAttrib(i, "STIMULUSATTRIBUTE") Next i **** ^ this code goes after EncodingList1. Following this code, the StoreResponseArray contains all the stimuluswords in the 1th collumn (which might actually be the second because it starts counting at 0, but that on a side note) while the values of integrationresp are now stored in the second (third...) column. It has again a -1 construction; as opposed to the previous one (where you should just give in 49 if you have 50 trials etc) this "i-1" construction should be kept in the code (due to the i = 1 to numberoftrials thing). The array can than be randomized, which will result in the order of the levels getting randomized, but the pairs between the two columns remaining together, after which you can use the info to (re)fill the encoding2list, and after that randomize it's order: ********* RandomizeArray StoreResponseArray For i = 1 to numberoftrials Encoding2List.SetAttrib i, "STIMULUSWORDS", StoreResponseArray (i-1, 1) Encoding2List.SetAttrib i, "IntegrationResp", StoreResponseArray (i-1, 2) next i Encoding2List.random (<= pretty sure this is not the right command - but got no e-prime at hand to check what it should be, some line that tells e-prime to randomize that list) Encoding2List.reset *** I think that that should work.... now the previous given answer should be in the Encoding2List at the same level as the stimulus it was given to. Good luck! Please let me know if/when you got it to work (and also if not :) ). Best, liw On Tuesday, 17 July 2012 22:02:18 UTC+2, newbie wrote: > > Hi all,I'm currently working on a research about involuntary memory and we > have been using Eprime to present picture-sound pairs. > The participants are asked to look at the picture and hear the sound, and > type a sentence that comes to their mind. > They go through this process twice, and the order of picture-sound pairs > are different in two lists, so that we can make sure the "memory" is not > affected by the order. When they see and listen to the sound for the second > time, they're asked to modify their sentences from the first round and we > present the response from the first round as well (so that they can see > what they typed initially and modify if they want) > > However, the problem is that the responses they typed for the first list > appear in the same order in the next list while the picture-sound pairs are > in a different order. > So for example, if Participant A typed "dog" for his first answer during > the first round, "dog" would appear as the previous answer for his first > picture-sound pairing for the second round even if the picture-sound pair > that's presented to him would be a different pair from the first experiment. > > > > The code for this is, > * > First list* > > IntegrationString = Integration.RESP > IntegrationString = ReplaceString(IntegrationString, "{SPACE}", " ") > IntegrationString = ReplaceString(IntegrationString, "{SHIFT}", "") > IntegrationString = ReplaceString(IntegrationString, "{ENTER}", " ") > IntegrationString = ReplaceString(IntegrationString, "{,}", ",") > IntegrationString = ReplaceString(IntegrationString, "{.}", ".") > IntegrationString = ReplaceString(IntegrationString, "{F1}", "") > IntegrationString = ReplaceString(IntegrationString, "{!}", "") > IntegrationString = ReplaceString(IntegrationString, "{'}", "") > IntegrationString = ReplaceString(IntegrationString, "{(}", "") > IntegrationString = ReplaceString(IntegrationString, "{)}", "") > IntegrationString = ReplaceString(IntegrationString, "{/}", "") > IntegrationString = ReplaceString(IntegrationString, "{?}", "") > IntegrationString = ReplaceString(IntegrationString, "{:}", "") > IntegrationString = ReplaceString(IntegrationString, "{;}", "") > c.SetAttribAtSource "IntegrationResp", IntegrationString > > For i = 1 to Encoding1List.Size > response = Encoding1List.GetAttrib(i, "IntegrationResp") > Encoding2List.SetAttrib i, "IntegrationResp", response > Next i > > > *Second list* > > Integration2String = Integration2.RESP > Integration2String = ReplaceString(Integration2String, "{SPACE}", " ") > Integration2String = ReplaceString(Integration2String, "{SHIFT}", "") > Integration2String = ReplaceString(Integration2String, "{ENTER}", " ") > Integration2String = ReplaceString(Integration2String, "{,}", ",") > Integration2String = ReplaceString(Integration2String, "{.}", ".") > Integration2String = ReplaceString(Integration2String, "{F1}", "") > Integration2String = ReplaceString(Integration2String, "{!}", "") > Integration2String = ReplaceString(Integration2String, "{'}", "") > Integration2String = ReplaceString(Integration2String, "{(}", "") > Integration2String = ReplaceString(Integration2String, "{)}", "") > Integration2String = ReplaceString(Integration2String, "{/}", "") > Integration2String = ReplaceString(Integration2String, "{?}", "") > Integration2String = ReplaceString(Integration2String, "{:}", "") > Integration2String = ReplaceString(Integration2String, "{;}", "") > > c.SetAttribAtSource "Integration2Resp", Integration2String > > > For i = 1 to Encoding2List.Size > response = Encoding2List.GetAttrib(i, "IntegrationResp") > Encoding3List.SetAttrib i, "IntegrationResp", response > Next i > > > > > I feel like the problem would be resolved if I correct my "i= _____" but > I've been keep failing to make the right modification for the code. > It will be great if you could let me know how I would be able to fix it! > > Thank you so much > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/c-s6vRt5L0wJ. To post to this group, send email to e-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 tobias.fw at gmail.com Wed Jul 18 11:32:06 2012 From: tobias.fw at gmail.com (Tobias) Date: Wed, 18 Jul 2012 04:32:06 -0700 Subject: split up list in two sessions In-Reply-To: <5005c00a.8458320a.7102.ffffb3acSMTPIN_ADDED@gmr-mx.google.com> Message-ID: David, thanks for your advice. I am not sure what you mean by " generate the full 960 trial List ". I have the 960 trials in a list, if I set the list to "exit after 480 trials", how can I write the other half of the list, the unused trials, to a file? Tobias Am Dienstag, 17. Juli 2012 21:41:42 UTC+2 schrieb McFarlane, David: > > Tobias, > > Roughly speaking, I might first generate the full 960 trial List in > the first session, output the second half of that List to a .txt file > using Print#, etc., and then run the first half of the List. In the > second session I would use the List File Load Method to read in the > rest of the trials from the .txt file generated in the first session, > and then run those. > > Good luck. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) PST's trained staff > take any and all questions at > http://support.pstnet.com/e%2Dprime/support/login.asp , and they > strive to respond to all requests in 24-48 hours -- this is pretty > much their substitute for proper documentation, so make full use of > it. 3) In addition, PST takes questions at their Facebook page > (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 > ), and offers several instructional videos there and on their YouTube > channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, > though). 4) If you do get an answer from PST staff, please extend > the courtesy of posting their reply back here for the sake of others. > \---- > > > At 7/17/2012 02:05 PM Tuesday, you wrote: > >I have the following problem: I have a list of 960 trials (each > >weight 1). It turned out that the experiment ist too long for one > >session. This is why we want to do two sessions. > > > >How can I split up the list in two so that I have all 960 > >combinations randomly distributed among the two sessions? Is there > >any way of doing so? > > > >Best, > >TObias > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/rr7-Ylz2N8AJ. To post to this group, send email to e-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 Jul 19 16:19:00 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 19 Jul 2012 12:19:00 -0400 Subject: split up list in two sessions In-Reply-To: Message-ID: Tobias, Put your 960 stimuli in a nested StimList under your TrialList (which runs your TrialProc using those stimuli). Set TrialList to exit after 480 trials. That generates and runs the first 480 stimuli. Follow all that with another List that calls the same nested StimList for the remaining 480 virtual "trials". The Procedure in this List does nothing but build a .txt file with the remaining 480 stimuli (see "Print#" and related topics in the E-Basic Help facility), formatted so that it can later be loaded into a List using the "File" Load Method -- you do need to get the format exactly right for this (check around for documentation on that (e.g., https://groups.google.com/forum/?fromgroups#!topic/e-prime/eWplk1ghnjE ), or ask PST Web Support). Finally, a separate program for your second session will merely load its StimList from the .txt file generated in the first session, and Bob's your Uncle! You could, of course, invert the order of those two blocks in the fist session -- first write out the 480 trials to use next time, and *then* run the remaining 480 trial for the first session. Do as you like. That's enough from me, I leave you to do your own homework and work out the details for yourself. If you still need more help, contact PST Web Support at http://support.pstnet.com/e%2Dprime/support/login.asp , they should be happy to help. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) At 7/18/2012 07:32 AM Wednesday, you wrote: >David, > >thanks for your advice. I am not sure what you mean by " generate >the full 960 trial List ". > >I have the 960 trials in a list, if I set the list to "exit after >480 trials", how can I write the other half of the list, the unused >trials, to a file? > >Tobias > >Am Dienstag, 17. Juli 2012 21:41:42 UTC+2 schrieb McFarlane, David: >Tobias, > >Roughly speaking, I might first generate the full 960 trial List in >the first session, output the second half of that List to a .txt file >using Print#, etc., and then run the first half of the List. In the >second session I would use the List File Load Method to read in the >rest of the trials from the .txt file generated in the first session, >and then run those. > >Good luck. > >----- >David McFarlane >E-Prime training >online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx > >Twitter: @EPrimeMaster >(twitter.com/EPrimeMaster) > >/---- >Stock reminder: 1) I do not work for PST. 2) PST's trained staff >take any and all questions at >http://support.pstnet.com/e%2Dprime/support/login.asp >, and they >strive to respond to all requests in 24-48 hours -- this is pretty >much their substitute for proper documentation, so make full use of >it. 3) In addition, PST takes questions at their Facebook page >(http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 > >), and offers several instructional videos there and on their YouTube >channel >(http://www.youtube.com/user/PSTNET >) (no Twitter feed yet, >though). 4) If you do get an answer from PST staff, please extend >the courtesy of posting their reply back here for the sake of others. >\---- > > >At 7/17/2012 02:05 PM Tuesday, you wrote: > >I have the following problem: I have a list of 960 trials (each > >weight 1). It turned out that the experiment ist too long for one > >session. This is why we want to do two sessions. > > > >How can I split up the list in two so that I have all 960 > >combinations randomly distributed among the two sessions? Is there > >any way of doing so? > > > >Best, > >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 erin.siebert at gmail.com Fri Jul 20 21:54:59 2012 From: erin.siebert at gmail.com (Erin) Date: Fri, 20 Jul 2012 14:54:59 -0700 Subject: multiple correct responses for certain trials Message-ID: Hello. I have an image match to sample program used on a touchscreen. It's quite simple... my TrialList has a sample, match, and foil image column, along with a Correct Answer column. In the list, if I enter "1" in the correct answer column, the "match" column is counted as correct for that trial; if I enter "2", the "foil" is counted as correct. For some trials, I want both "match" and "foil" to show as the correct response when selected, and I am having trouble figuring out how to get my program to do this. Entering both 1 and 2 into the correct answer column doesn't seem to work. I am new to E-Prime and would appreciate any pointers. Thanks so much. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/tmcB069R9kAJ. To post to this group, send email to e-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 Mon Jul 23 20:45:02 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 23 Jul 2012 16:45:02 -0400 Subject: multiple correct responses for certain trials In-Reply-To: <11d8879f-c98c-4ef6-bbc4-f4041f71fb91@googlegroups.com> Message-ID: The production release of EP2 contains a raft of new features, including the ability to score multiple correct responses natively, so you might look into that. If you are stuck using an older version of E-Prime, you will have to resort to other means, see summary at https://groups.google.com/forum/?fromgroups#!topic/e-prime/iP9NFUwgWYY . ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours -- this is pretty much their substitute for proper documentation, so make full use of it. 3) In addition, PST takes questions at their Facebook page (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 ), and offers several instructional videos there and on their YouTube channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, though). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 7/20/2012 05:54 PM Friday, Erin wrote: >Hello. I have an image match to sample program used on a >touchscreen. It's quite simple... my TrialList has a sample, match, >and foil image column, along with a Correct Answer column. In the >list, if I enter "1" in the correct answer column, the "match" >column is counted as correct for that trial; if I enter "2", the >"foil" is counted as correct. For some trials, I want both "match" >and "foil" to show as the correct response when selected, and I am >having trouble figuring out how to get my program to do >this. Entering both 1 and 2 into the correct answer column doesn't >seem to work. I am new to E-Prime and would appreciate any >pointers. Thanks so much. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 jeremiahperkins3 at gmail.com Tue Jul 24 19:47:03 2012 From: jeremiahperkins3 at gmail.com (JP) Date: Tue, 24 Jul 2012 12:47:03 -0700 Subject: randomized LED lighting using DAQ Card in eprime In-Reply-To: Message-ID: Paul I want to thank you for replying to the post! The information has helped me out a lot! thank you again! On Thursday, June 28, 2012 6:32:26 AM UTC-4, Paul Groot wrote: > > jp, > > This would be easy if the device or driver supports memory mapped IO, just > like legacy parallel printer ports. Memory mapped IO can be programmed by > using the WritePort function or Onset/OffsetSignal* properties. The E-Basic > help documentation contains some printer-port based examples, which can be > used as a starting point if you know which address maps to the digital > output registers. > > However, many modern (USB) based devices use other mechanisms to > communicate with applications, so it depends on the available drivers which > options you have. Unfortunately memory mapped IO is often not supported > anymore. Most manufacturers provide visual basic or C-code examples that > can be used as as starting point. In most cases you will have to use > external function calls (typically DLL functions) using inline E-Basic > script. This is less trivial than the memory mapped IO method. > > best > Paul > > 2012/6/26 JP > >> I am currently assisting in creating an experimental design for a >> professor. The task that i have right now is to wire two LEDs to a DAQ card >> and make them light up independently and randomly using Eprime inline code. >> We also need to make it so we can track the lighting so we know which light >> the participants may be responding to. I have found dozens >> of references regarding DAQ card coding but it all seems to be acquiring >> data through the card and not not using it to control a component. >> >> I was wondering if anyone had an idea about what the coding might look >> like or how to accomplish this. >> >> >> Thank you in advance for the help!! >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/e-prime/-/Gp8hAVZSNCQJ. >> To post to this group, send email to e-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 view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/MZRYrPrEvI4J. To post to this group, send email to e-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 suprman34 at gmail.com Tue Jul 24 19:56:05 2012 From: suprman34 at gmail.com (Sean) Date: Tue, 24 Jul 2012 12:56:05 -0700 Subject: Recording the response time for two correct answers in the same trial Message-ID: Hi, I am in the process of creating an experiment that assesses sustained attention. One of my variables is whether the participant is taking the test alone or with another individual. Everything works smoothly in the alone condition, but it gest tricky when I have two people taking the test. The way the test is set up: There are 300 trials in random order that each contain a string of six digits. The participants' task is to respond correctly and as quickly as possible for each trial. If there is the number 4 in the sequence of numbers, they are asked to respond by pressing 1, and if the 4 is absent they are asked to press 2. Then the screen goes blank for about a half of a second and then shows the next sequence of numbers. Now I know that the response time is recorded for the individual responding with the 1 and 2, but I need to also be able to record the response time (and correctness) of another participant taking the same test on the same screen using the same keyboard. I got the program to accept 2 responses before moving on to the next sequence, but it only records the first response. For the second participant I asked that they use the keys Z and X the same way I explained for 1 and 2 (Z if there is a 4, X if there is not a 4). Is there a way that the program can log the response time and accuracy of both participants taking the test together? In other words, if one participants presses 1 and the other participant presses Z, how can I get the response time for both of the responses? Thanks in advance for any help -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/v_fwgExqF5wJ. To post to this group, send email to e-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 Tue Jul 24 20:20:42 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 24 Jul 2012 16:20:42 -0400 Subject: Recording the response time for two correct answers in the same trial In-Reply-To: <22ffe694-531d-4367-a385-6417d2587c2e@googlegroups.com> Message-ID: Take a look at the "Multiple Response Collection" example downloadable from PST. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours -- this is pretty much their substitute for proper documentation, so make full use of it. 3) In addition, PST takes questions at their Facebook page (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 ), and offers several instructional videos there and on their YouTube channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, though). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 7/24/2012 03:56 PM Tuesday, Sean wrote: >Hi, I am in the process of creating an experiment that assesses >sustained attention. One of my variables is whether the participant >is taking the test alone or with another individual. Everything >works smoothly in the alone condition, but it gest tricky when I >have two people taking the test. > >The way the test is set up: There are 300 trials in random order >that each contain a string of six digits. The participants' task is >to respond correctly and as quickly as possible for each trial. If >there is the number 4 in the sequence of numbers, they are asked to >respond by pressing 1, and if the 4 is absent they are asked to >press 2. Then the screen goes blank for about a half of a second and >then shows the next sequence of numbers. > >Now I know that the response time is recorded for the individual >responding with the 1 and 2, but I need to also be able to record >the response time (and correctness) of another participant taking >the same test on the same screen using the same keyboard. I got the >program to accept 2 responses before moving on to the next sequence, >but it only records the first response. For the second participant I >asked that they use the keys Z and X the same way I explained for 1 >and 2 (Z if there is a 4, X if there is not a 4). > >Is there a way that the program can log the response time and >accuracy of both participants taking the test together? In other >words, if one participants presses 1 and the other participant >presses Z, how can I get the response time for both of the responses? > >Thanks in advance for any help -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. From michael.steven.franklin at gmail.com Tue Jul 24 21:44:40 2012 From: michael.steven.franklin at gmail.com (michael franklin) Date: Tue, 24 Jul 2012 14:44:40 -0700 Subject: Question mark for procedure Message-ID: Hi All, I've been making a list in excel that I want to paste into E-prime. Should be pretty straightforward, but strangely, I'm finding that although the names of the procedures match those already created in E-Prime, instead of creating the procedure, there's the question mark with circle around it. I attached a pic to show what I mean (so you can see that they do in fact have the same name). any ideas? -mf -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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: QuestionMarkProcedure.JPG Type: image/jpeg Size: 8700 bytes Desc: not available URL: From mcfarla9 at msu.edu Tue Jul 24 21:59:23 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 24 Jul 2012 17:59:23 -0400 Subject: Question mark for procedure In-Reply-To: Message-ID: Hmm, your attached image did not work for me (probably not a good idea to attach files to this mailing list anyway). That said, offhand, I wonder if your Procedure names paste in with any trailing spaces. You would not see those, and they would completely and invisibly mess things up, it has happened to us when copying & pasting file names from various sources into EP Lists. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours -- this is pretty much their substitute for proper documentation, so make full use of it. 3) In addition, PST takes questions at their Facebook page (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 ), and offers several instructional videos there and on their YouTube channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, though). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 7/24/2012 05:44 PM Tuesday, michael franklin wrote: >Hi All, >I've been making a list in excel that I want to paste into E-prime. >Should be pretty straightforward, but strangely, I'm finding that >although the names of the procedures match those already created in >E-Prime, instead of creating the procedure, there's the question mark >with circle around it. > >I attached a pic to show what I mean (so you can see that they do in >fact have the same name). > >any ideas? > >-mf -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 michael.steven.franklin at gmail.com Tue Jul 24 22:24:29 2012 From: michael.steven.franklin at gmail.com (michael franklin) Date: Tue, 24 Jul 2012 15:24:29 -0700 Subject: Question mark for procedure In-Reply-To: <500f1ad4.e34d320a.148d.4046SMTPIN_ADDED@gmr-mx.google.com> Message-ID: fixed it! damn those trailing spaces... thanks for the quick response. -mf On 7/24/12, David McFarlane wrote: > Hmm, your attached image did not work for me (probably not a good > idea to attach files to this mailing list anyway). > > That said, offhand, I wonder if your Procedure names paste in with > any trailing spaces. You would not see those, and they would > completely and invisibly mess things up, it has happened to us when > copying & pasting file names from various sources into EP Lists. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) PST's trained staff > take any and all questions at > http://support.pstnet.com/e%2Dprime/support/login.asp , and they > strive to respond to all requests in 24-48 hours -- this is pretty > much their substitute for proper documentation, so make full use of > it. 3) In addition, PST takes questions at their Facebook page > (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 > ), and offers several instructional videos there and on their YouTube > channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, > though). 4) If you do get an answer from PST staff, please extend > the courtesy of posting their reply back here for the sake of others. > \---- > > > At 7/24/2012 05:44 PM Tuesday, michael franklin wrote: >>Hi All, >>I've been making a list in excel that I want to paste into E-prime. >>Should be pretty straightforward, but strangely, I'm finding that >>although the names of the procedures match those already created in >>E-Prime, instead of creating the procedure, there's the question mark >>with circle around it. >> >>I attached a pic to show what I mean (so you can see that they do in >>fact have the same name). >> >>any ideas? >> >>-mf > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To post to this group, send email to e-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 pauladonate at gmail.com Wed Jul 25 17:25:11 2012 From: pauladonate at gmail.com (Ana Paula Donate) Date: Wed, 25 Jul 2012 10:25:11 -0700 Subject: InLine: Image Message-ID: Hi for all, I've been add a inline before one slide because I want that the subject select a picture between two that she wants to do a question in another slide... But I don't know how I can make it. So, the idea is the subject choose one picture that will be a person who she will to do a question. the picture that the subject selected need to appear in the next slidedisplay with the five possible questions and, the next step, will be to chose one question. I tried to a Inline that when she press botton 1 or 2 need to appear the selected picture. How can I do it? I tried many things and is not working... Someone can help me? Thank you very much! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/a0fAlJH5N9QJ. To post to this group, send email to e-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 Jul 26 18:00:08 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 26 Jul 2012 14:00:08 -0400 Subject: Hello All Message-ID: OK, I have been rereading a bunch of old E-Prime Group messages, and I just want to get this off my chest. Many of these messages start off, "Hello All". Am I the only native English speaker who finds this jarring? -- David McFarlane -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 Thu Jul 26 22:33:53 2012 From: baltimore.ben at gmail.com (ben robinson) Date: Thu, 26 Jul 2012 18:33:53 -0400 Subject: Hello All In-Reply-To: <501185aa.a66a320a.7a85.57c3SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Yes? On Thu, Jul 26, 2012 at 2:00 PM, David McFarlane wrote: > OK, I have been rereading a bunch of old E-Prime Group messages, and I just > want to get this off my chest. Many of these messages start off, "Hello > All". Am I the only native English speaker who finds this jarring? > > -- David McFarlane > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To post to this group, send email to e-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 Jul 26 22:42:01 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 26 Jul 2012 18:42:01 -0400 Subject: Hello All In-Reply-To: Message-ID: Well, maybe it is just me. But I have been in a lot of places over a lot of time, and participated in many online discussion groups, and this is the only place where I have repeatedly encountered "Hello All" as a substitute for "Hello Everybody" or "Hello Everyone". Sorry to belabor this off-topic point. -- David McFarlane At 7/26/2012 06:33 PM Thursday, ben robinson wrote: >Yes? > >On Thu, Jul 26, 2012 at 2:00 PM, David McFarlane wrote: > > OK, I have been rereading a bunch of old E-Prime Group messages, and I just > > want to get this off my chest. Many of these messages start off, "Hello > > All". Am I the only native English speaker who finds this jarring? > > > > -- David McFarlane -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 yanhyu at gmail.com Thu Jul 26 23:45:41 2012 From: yanhyu at gmail.com (Yan Yu) Date: Thu, 26 Jul 2012 19:45:41 -0400 Subject: Hello All In-Reply-To: <5011c7bc.a66a320a.75ad.0ac0SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Thanks for bringing it up. Next time I will use "Hello Everyone". On Thu, Jul 26, 2012 at 6:42 PM, David McFarlane wrote: > Well, maybe it is just me. But I have been in a lot of places over a lot > of time, and participated in many online discussion groups, and this is the > only place where I have repeatedly encountered "Hello All" as a substitute > for "Hello Everybody" or "Hello Everyone". > > Sorry to belabor this off-topic point. > > -- David McFarlane > > > > At 7/26/2012 06:33 PM Thursday, ben robinson wrote: > >> Yes? >> >> On Thu, Jul 26, 2012 at 2:00 PM, David McFarlane >> wrote: >> > OK, I have been rereading a bunch of old E-Prime Group messages, and I >> just >> > want to get this off my chest. Many of these messages start off, "Hello >> > All". Am I the only native English speaker who finds this jarring? >> > >> > -- David McFarlane >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To post to this group, send email to e-prime at googlegroups.com. > To unsubscribe from this group, send email to e-prime+unsubscribe@** > googlegroups.com . > For more options, visit 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 scruffybumblebee at gmail.com Fri Jul 27 17:08:10 2012 From: scruffybumblebee at gmail.com (Becks) Date: Fri, 27 Jul 2012 10:08:10 -0700 Subject: Soundout, stop offset and buffers Message-ID: Hello everyone, I am trying to run a soundout object using a slide, to continue for around 510000ms after the slide (using "Stop After = No"). The soundfile is 1800000ms long, and I have set the stop offset at 510000ms. However, the sound stops after 140ms. I haven't found much information on using stop offset online/in manuals. Could the sound ending before the stop offset be due to the sound buffer? Any help would be much appreciated, many thanks. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/B6C_DWySoiAJ. To post to this group, send email to e-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 scruffybumblebee at gmail.com Fri Jul 27 18:18:22 2012 From: scruffybumblebee at gmail.com (Becks) Date: Fri, 27 Jul 2012 11:18:22 -0700 Subject: Soundout, stop offset and buffers In-Reply-To: Message-ID: Well, I've just realised that the soundfile will play for its entire duration if I don't specify a stop offset time, so will work around the problem by creating a soundfile of the exact length I need. However, this isn't very flexible and is very inelegant. Moreover, I'd like to know *why*the stop offset doesn't work as I expected, so I'd still be very grateful if anyone can shed some light on this! Many thanks On Friday, 27 July 2012 13:08:10 UTC-4, Becks wrote: > Hello everyone, > > I am trying to run a soundout object using a slide, to continue for around > 510000ms after the slide (using "Stop After = No"). The soundfile is > 1800000ms long, and I have set the stop offset at 510000ms. However, the > sound stops after 140ms. I haven't found much information on using stop > offset online/in manuals. Could the sound ending before the stop offset be > due to the sound buffer? > Any help would be much appreciated, many thanks. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/k4He4xRVIKwJ. To post to this group, send email to e-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 mkclairhong at gmail.com Fri Jul 27 18:41:31 2012 From: mkclairhong at gmail.com (newbie) Date: Fri, 27 Jul 2012 11:41:31 -0700 Subject: Rondomized Responses In-Reply-To: <35d2c667-863a-43d9-83c5-71b0f41ead49@googlegroups.com> Message-ID: Hi Anne-Will, Thank you so much for your detailed and kind response. I've been keep running into trouble with coding "numberoftrials" and I was wondering if there's any abbreviation for that when I write it on the script. If so, could you please let me know? I've been searching for the right way to code it for days but still can't quite figure it out :( Thank you so much again! On Tuesday, July 17, 2012 6:55:42 PM UTC-4, Anne-Wil wrote: > > Hi Newbie, > > I believe the problem lies with this line: Encoding2List.SetAttrib i, > "IntegrationResp", response > > You're very close when you suspect 'i'. Note the 'i' in the above > mentioned line? What it does is write the response that is given (response) > into the attribute "integrationResp" of the list called "Encoding2List" at > the i'th level. So.... during trial1 of the EncodingList1 'i'= 1, and the > response is therefore written to the first (ith) level of Encoding2List. > Since Encodinglist is, at that point, already randomized, the response is > coded into the same listlevel (= info for a single trial) as the randomly > chosen stimulusword for the i'th trial of that second list. Therefore the > responses appear in the same order as given in the first round, whereas the > stimuluswords do not. > > If the first list is not in a random order, than you could set the > secondlist to sequential order too and randomize it with an inline AFTER > the responses in the first round have been coded into the attribute > "integrationresp". However, it is unlikely that your first round is not > randomized and if I understand your code correctly, there is even a third > round. > > So... instead.... I think you could store the responses given into an > array that consists of two columns and as many rows as you have trials in a > round, but this requires a bit more code. I'll ramble something down that > is NOT tested and might therefore not work at all (and will need some > modifications from your side anyways - but I got this impression that you > know your way around code and this might be just the push that gets you on > track again). > > **** > Dim StoreResponseArray (numberoftrials -1, 2) as string > **** > ^ that one defines the array as having a numberoftrials-1 number of levels > and 2 (or 3... columns) and it should be on the usertab of the > scriptwindow; the -1 thingy is because level 0 is also taken into account > and you would then end up with an 'empty' trial later on. The 'bonus' > 0-column won't pose a problem. > > Then, starting from the code you provided, I'd end up with: > > **** > IntegrationString = Integration.RESP > IntegrationString = ReplaceString(IntegrationString, "{SPACE}", " ") > IntegrationString = ReplaceString(IntegrationString, "{SHIFT}", "") > IntegrationString = ReplaceString(IntegrationString, "{ENTER}", " ") > IntegrationString = ReplaceString(IntegrationString, "{,}", ",") > IntegrationString = ReplaceString(IntegrationString, "{.}", ".") > IntegrationString = ReplaceString(IntegrationString, "{F1}", "") > IntegrationString = ReplaceString(IntegrationString, "{!}", "") > IntegrationString = ReplaceString(IntegrationString, "{'}", "") > IntegrationString = ReplaceString(IntegrationString, "{(}", "") > IntegrationString = ReplaceString(IntegrationString, "{)}", "") > IntegrationString = ReplaceString(IntegrationString, "{/}", "") > IntegrationString = ReplaceString(IntegrationString, "{?}", "") > IntegrationString = ReplaceString(IntegrationString, "{:}", "") > IntegrationString = ReplaceString(IntegrationString, "{;}", "") > c.SetAttribAtSource "IntegrationResp", IntegrationString > > For i = 1 to numberoftrials > StoreResponseArray (i-1,2) = Encoding1List.GetAttrib(i, "IntegrationResp") > StoreResponseArray (i-1,1) = Encoding1List.GetAttrib(i, > "STIMULUSATTRIBUTE") > Next i > > **** > > ^ this code goes after EncodingList1. Following this code, the > StoreResponseArray contains all the stimuluswords in the 1th collumn (which > might actually be the second because it starts counting at 0, but that on a > side note) while the values of integrationresp are now stored in the second > (third...) column. It has again a -1 construction; as opposed to the > previous one (where you should just give in 49 if you have 50 trials etc) > this "i-1" construction should be kept in the code (due to the i = 1 to > numberoftrials thing). > > The array can than be randomized, which will result in the order of the > levels getting randomized, but the pairs between the two columns remaining > together, after which you can use the info to (re)fill the encoding2list, > and after that randomize it's order: > > ********* > RandomizeArray StoreResponseArray > > For i = 1 to numberoftrials > > Encoding2List.SetAttrib i, "STIMULUSWORDS", StoreResponseArray (i-1, 1) > > Encoding2List.SetAttrib i, "IntegrationResp", StoreResponseArray (i-1, 2) > > next i > > Encoding2List.random (<= pretty sure this is not the right command - but > got no e-prime at hand to check what it should be, some line that tells > e-prime to randomize that list) > > Encoding2List.reset > > *** > > I think that that should work.... now the previous given answer should be > in the Encoding2List at the same level as the stimulus it was given to. > > Good luck! Please let me know if/when you got it to work (and also if not > :) ). > > Best, > > liw > > On Tuesday, 17 July 2012 22:02:18 UTC+2, newbie wrote: >> >> Hi all,I'm currently working on a research about involuntary memory and >> we have been using Eprime to present picture-sound pairs. >> The participants are asked to look at the picture and hear the sound, and >> type a sentence that comes to their mind. >> They go through this process twice, and the order of picture-sound pairs >> are different in two lists, so that we can make sure the "memory" is not >> affected by the order. When they see and listen to the sound for the second >> time, they're asked to modify their sentences from the first round and we >> present the response from the first round as well (so that they can see >> what they typed initially and modify if they want) >> >> However, the problem is that the responses they typed for the first list >> appear in the same order in the next list while the picture-sound pairs are >> in a different order. >> So for example, if Participant A typed "dog" for his first answer during >> the first round, "dog" would appear as the previous answer for his first >> picture-sound pairing for the second round even if the picture-sound pair >> that's presented to him would be a different pair from the first experiment. >> >> >> >> The code for this is, >> * >> First list* >> >> IntegrationString = Integration.RESP >> IntegrationString = ReplaceString(IntegrationString, "{SPACE}", " ") >> IntegrationString = ReplaceString(IntegrationString, "{SHIFT}", "") >> IntegrationString = ReplaceString(IntegrationString, "{ENTER}", " ") >> IntegrationString = ReplaceString(IntegrationString, "{,}", ",") >> IntegrationString = ReplaceString(IntegrationString, "{.}", ".") >> IntegrationString = ReplaceString(IntegrationString, "{F1}", "") >> IntegrationString = ReplaceString(IntegrationString, "{!}", "") >> IntegrationString = ReplaceString(IntegrationString, "{'}", "") >> IntegrationString = ReplaceString(IntegrationString, "{(}", "") >> IntegrationString = ReplaceString(IntegrationString, "{)}", "") >> IntegrationString = ReplaceString(IntegrationString, "{/}", "") >> IntegrationString = ReplaceString(IntegrationString, "{?}", "") >> IntegrationString = ReplaceString(IntegrationString, "{:}", "") >> IntegrationString = ReplaceString(IntegrationString, "{;}", "") >> c.SetAttribAtSource "IntegrationResp", IntegrationString >> >> For i = 1 to Encoding1List.Size >> response = Encoding1List.GetAttrib(i, "IntegrationResp") >> Encoding2List.SetAttrib i, "IntegrationResp", response >> Next i >> >> >> *Second list* >> >> Integration2String = Integration2.RESP >> Integration2String = ReplaceString(Integration2String, "{SPACE}", " ") >> Integration2String = ReplaceString(Integration2String, "{SHIFT}", "") >> Integration2String = ReplaceString(Integration2String, "{ENTER}", " ") >> Integration2String = ReplaceString(Integration2String, "{,}", ",") >> Integration2String = ReplaceString(Integration2String, "{.}", ".") >> Integration2String = ReplaceString(Integration2String, "{F1}", "") >> Integration2String = ReplaceString(Integration2String, "{!}", "") >> Integration2String = ReplaceString(Integration2String, "{'}", "") >> Integration2String = ReplaceString(Integration2String, "{(}", "") >> Integration2String = ReplaceString(Integration2String, "{)}", "") >> Integration2String = ReplaceString(Integration2String, "{/}", "") >> Integration2String = ReplaceString(Integration2String, "{?}", "") >> Integration2String = ReplaceString(Integration2String, "{:}", "") >> Integration2String = ReplaceString(Integration2String, "{;}", "") >> >> c.SetAttribAtSource "Integration2Resp", Integration2String >> >> >> For i = 1 to Encoding2List.Size >> response = Encoding2List.GetAttrib(i, "IntegrationResp") >> Encoding3List.SetAttrib i, "IntegrationResp", response >> Next i >> >> >> >> >> I feel like the problem would be resolved if I correct my "i= _____" but >> I've been keep failing to make the right modification for the code. >> It will be great if you could let me know how I would be able to fix it! >> >> Thank you so much >> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/uLdZkJj_y_wJ. To post to this group, send email to e-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 liwenna at gmail.com Sat Jul 28 15:17:39 2012 From: liwenna at gmail.com (Anne-Wil) Date: Sat, 28 Jul 2012 08:17:39 -0700 Subject: Rondomized Responses In-Reply-To: <779d6933-42c0-42b7-bcec-ca0b8fff626d@googlegroups.com> Message-ID: Hi newbie, Just replace "numberoftrials" with the number of trials you have... I.e. if there are 20 trials per list: For i = 1 to numberoftrials becomes For i = 1 to 20 Best, AW -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/auWnPTvpcxYJ. To post to this group, send email to e-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 mtvinski at gmail.com Tue Jul 31 07:54:15 2012 From: mtvinski at gmail.com (mvinski) Date: Tue, 31 Jul 2012 00:54:15 -0700 Subject: A Previously Working Experiment Crashes When Starting Message-ID: Hello fellow Eprimers, My experiment was working just fine yesterday, but now whenever I try to start it the program crashes. Any thoughts? Thanks in advance, Melaina -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/xdRIj7Rhn-sJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladude626 at gmail.com Tue Jul 31 18:58:52 2012 From: ladude626 at gmail.com (Khu) Date: Tue, 31 Jul 2012 11:58:52 -0700 Subject: Dual Task (One is experimenter-paced, the other is participant-paced) Message-ID: Hi, I'm trying to program a dual task in which participants are presented with a series of pictures that appear for 3 seconds each. At the same time, they are completing a secondary letter detection task in which they hear different letters of the alphabet and must enter a corresponding key. I want this secondary task to be participant-paced meaning that the next letter is presented after they enter a response. Also, I want the program to exit as soon as 10 pictures appear whether or not the letter detection task is done. I've downloaded the dual task example on pstnet support but it does not appear to work the way I want it to. Specifically, the pictures change every time I enter a response for the secondary task rather than after every 3 seconds. I guess the difference between my experiment and the example is that both of the tasks in the example are experimenter-paced whereas in my experiment, one is experimenter-paced and one is participant-paced. Any help would be greatly appreciated! Thanks! Khuyen -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/5LqQJvDzvL0J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alphonse.stickle at gmail.com Sun Jul 1 12:55:25 2012 From: alphonse.stickle at gmail.com (Alphonse Stickle) Date: Sun, 1 Jul 2012 22:55:25 +1000 Subject: M'board with parallel port Message-ID: In case it may be useful to anybody, this new motherboard - Gigabyte GA-Z68AP-D3 - supporting Intel i7 etc. socket 1155, has a parallel port (very rare these days), and driver support for XP (as well as 7, of course). It is available in Australia, and Asia, probably elsewhere as well. Anyone who is thinking of future proofing a hardware setup where parallel port is used to send event markers might be well off with this affordable board. ~Alphonse http://hexus.net/tech/reviews/mainboard/35865-gigabyte-ga-z68ap-d3-motherboard/ -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 Mon Jul 2 20:57:18 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 2 Jul 2012 16:57:18 -0400 Subject: Traveling with the serial response button box In-Reply-To: <39ea85e5-4e61-44b2-baf9-644132e0d44c@googlegroups.com> Message-ID: Dan, Two thoughts: (1) Could you just get a 240V/50Hz to 120V/60Hz converter? (2) This sort of question about technical specifications would be best handled directly with PST Web Support at http://support.pstnet.com/e%2Dprime/support/login.asp . ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 6/29/2012 01:18 PM Friday, Dan Brenner wrote: >I'm leaving for New Zealand in a week for data collection, and >wondering about the power supply for the serial button box. The >model we have (200A, an older model) specifies 120V/60Hz AC power >in, while New Zealand's power grid is 240V/50Hz, so different >voltage, different alternating frequency. If I get a step-down >transformer in NZ, will the main frequency still fry the button box? >The current model button box features 100 - 240VAC in, but says >nothing about the main frequency. Is the new model likely to have >any better time with the different main frequency than the model we >have? Should I invest in the new model, or use a transformer with >the model we have? > >Much obliged for prompt responses. Sorry about the rush. I realized >far too late that this was an issue. > >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 dbrenner at email.arizona.edu Mon Jul 2 21:10:05 2012 From: dbrenner at email.arizona.edu (Dan Brenner) Date: Mon, 2 Jul 2012 14:10:05 -0700 Subject: Traveling with the serial response button box In-Reply-To: <4ff20b37.88db320a.7d62.7c93SMTPIN_ADDED@gmr-mx.google.com> Message-ID: I did post to PST support also, but if it turned out that I needed to buy a more recent button box, I needed to order it right away, so I posted on the users' group also, in case someone here had the answer sooner. For future reference, PST advised me to just buy a new power supply cable (the plug) in New Zealand at an electronics store. As long as it accepts NZ power, fits the power cord port at the back of the button box, and provides 12V DC (Note: more current button boxes take 15V), it should be fine. I'll repost here if anything goes awry with that plan. Thanks for the response, Dan On Mon, Jul 2, 2012 at 1:57 PM, David McFarlane wrote: > Dan, > > Two thoughts: > > (1) Could you just get a 240V/50Hz to 120V/60Hz converter? > > (2) This sort of question about technical specifications would be best > handled directly with PST Web Support at http://support.pstnet.com/e%** > 2Dprime/support/login.asp. > > ----- > David McFarlane > E-Prime training online: http://psychology.msu.edu/** > Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/**EPrimeMaster > ) > > > > At 6/29/2012 01:18 PM Friday, Dan Brenner wrote: > >> I'm leaving for New Zealand in a week for data collection, and wondering >> about the power supply for the serial button box. The model we have (200A, >> an older model) specifies 120V/60Hz AC power in, while New Zealand's power >> grid is 240V/50Hz, so different voltage, different alternating frequency. >> If I get a step-down transformer in NZ, will the main frequency still fry >> the button box? The current model button box features 100 - 240VAC in, but >> says nothing about the main frequency. Is the new model likely to have any >> better time with the different main frequency than the model we have? >> Should I invest in the new model, or use a transformer with the model we >> have? >> >> Much obliged for prompt responses. Sorry about the rush. I realized far >> too late that this was an issue. >> >> 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@** > googlegroups.com . > For more options, visit this group at http://groups.google.com/** > group/e-prime?hl=en . > > -- ~~~~~~~~~~~~~~~~~~~~ Dan Brenner Department of Linguistics University of Arizona dbrenner at email.arizona.edu http://www.u.arizona.edu/~dbrenner/ ~~~~~~~~~~~~~~~~~~~~ -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 eva.kelman at gmail.com Tue Jul 3 09:33:08 2012 From: eva.kelman at gmail.com (Eva Kelman) Date: Tue, 3 Jul 2012 12:33:08 +0300 Subject: non-English input Message-ID: Dear all, Does anybody know whether e-prime can comfortably handle non-English input? I found this topic: https://groups.google.com/forum/?fromgroups#!msg/e-prime/ZEO86BONuiA/PoMbI8WQj10J But was wondering whether something changed since then... Thank you! Eva -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 Tue Jul 3 14:13:14 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 3 Jul 2012 10:13:14 -0400 Subject: non-English input In-Reply-To: Message-ID: Eva, I don't know any more about that now than I did in the thread from two years ago. And as mentioned in that thread, PST Support might be the best source for answers on that issue. Please contact them 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. Or try them at their Facebook page -- http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 . And if you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) At 7/3/2012 05:33 AM Tuesday, you wrote: >Does anybody know whether e-prime can comfortably handle non-English input? > >I found this topic: >https://groups.google.com/forum/?fromgroups#!msg/e-prime/ZEO86BONuiA/PoMbI8WQj10J > > >But was wondering whether something changed since then... > >Thank you! >Eva -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 Jul 3 19:52:00 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 3 Jul 2012 15:52:00 -0400 Subject: joystick response & looming videos In-Reply-To: Message-ID: Terhi, Interesting problem. I do n0t see any way to change the ActiveState of a FeedbackDisplay object using inline code, FeedbackDisplay objects are not meant to do that. And if you look at the generated code, you will see why -- the FeedbackDisplay object always generates its own .ActiveState code just before it runs, based on the specified Input Object, and that code overrides any inline code that you place before it. If you want control of Slide States (FeedbackDisplay is a specialized Slide), then you should just use a multiple-state Slide object instead of a FeedbackDisplay, and then you could control the state of the Slide very nicely with an attribute reference in its ActiveState property. As for your second question about making looming videos by modifying the earlier instructions... Those instructions seem pretty clear to me, and it would be trivial to try that out with a video. So go try the exercise yourself and then report back here with the results. Thanks. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours -- this is pretty much their substitute for proper documentation, so make full use of it. 3) In addition, PST takes questions at their Facebook page (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 ), and offers several instructional videos there and on their YouTube channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, though). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 6/29/2012 08:01 AM Friday, terhi helminen wrote: >I am trying to create an experiment, where a subjects have to answer >to a movie stimuli by moving a joystick backward or forward. >According the subjects response, the video should loom bigger >(backward movement) or smaller (forward movement). > >I thought I could do this by using a feedback object: forward >movement could be coded as correct answer and backward movement as >wrong answer. And a feedback for correct answer could be a video >looming smaller and for incorrect answer there could be a video >looming bigger. > >I have already added a joystick device to the experimental design, >and using an inLine object I inserted a script to decode the >movement of the joystick as response, and that works alright. (I >found the script from this forum >https://groups.google.com/forum/#!searchin/e-prime/joystic/e-prime/cu8Fm6lbE_I/JcZaf_ORhk8J >... I even use the same joystick!) > >Dim nInitY As Integer >Dim nCurrentY As Integer >Dim nDiff As Integer > >nInitY = Joystick.CursorY > >Do > nCurrentY = Joystick.CursorY > nDiff = nInitY - nCurrentY > >Loop Until Abs(nDiff) > 50 > >Stimulus.RTTime = Clock.Read >Stimulus.RT = Stimulus.RTTime - Stimulus.OnsetTime > >If nDiff > 0 Then > Stimulus.RESP = "Forward" >Else > Stimulus.RESP = "Backward" >End If > >However, I don't know how to make the program to understand the >forward movement as "Correct" answer. I tried to write another >inLine script with my minor programming skills without success: > > If Stimulus.RESP = "Forward" Then > 'Set the ActiveState to Correct > Feedback.ActiveState = "Correct" > End If > > If Stimulus.RESP = "Backward" Then > 'Set the ActiveState to Incorrect > Feedback.ActiveState = "Incorrect" > > End If > >Could you help me with that? > >Another questions concerns the looming videos: I found that it would >be possible to create looming pictures with a script >(https://groups.google.com/forum/#!searchin/e-prime/joystick/e-prime/qD0NwsXD7i4/bk1hMejJ3u8J >), but do you know if that's possible with video stimuli? > >Thanks in advance, >Terhi -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. From eva.kelman at gmail.com Wed Jul 4 13:06:09 2012 From: eva.kelman at gmail.com (Eva Kelman) Date: Wed, 4 Jul 2012 16:06:09 +0300 Subject: non-English input Message-ID: Dear David, Thank you for your response! Eventually I used AskBox (that can receive a non-English input) and that was sufficient for my needs. I hope that this might be helpful for others as well. Eva > > > non-English input > > David McFarlane Jul 03 10:13AM -0400 > > Eva, > > I don't know any more about that now than I did in the thread from > two years ago. And as mentioned in that thread, PST Support might be > the best source for answers on that issue. Please contact them 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. Or try them at their Facebook page -- > > http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 > . And if you do get an answer from PST staff, please extend the > courtesy of posting their reply back here for the sake of others. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster) > > > At 7/3/2012 05:33 AM Tuesday, you wrote: > > > > You received this message because you are subscribed to the Google Group > e-prime. > You can post via email . > To unsubscribe from this group, sendan empty message. > For more options, visit this group. > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To post to this group, send email to e-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 alitstark at gmail.com Mon Jul 9 17:50:08 2012 From: alitstark at gmail.com (ASI) Date: Mon, 9 Jul 2012 10:50:08 -0700 Subject: Permutation object Message-ID: Hi All, I'm using a permutation to set the order of the stimuli in my task (selection -> order -> permutation). I have four types of stimuli {1, 2, 3, 4}. Each subject gets a different order of these four elements (1 out of 24 possibilities). I need to know the exact order presented to each subject. What is the rule eprime is using? Thanks, ASI -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/GokNMovAIncJ. To post to this group, send email to e-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 Mon Jul 9 18:05:21 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 9 Jul 2012 14:05:21 -0400 Subject: Permutation object In-Reply-To: <013e6c0c-54db-4720-8f6f-66ecf1ad6e4d@googlegroups.com> Message-ID: ASI, This is a question for PST Web Support (http://support.pstnet.com/e%2Dprime/support/login.asp ), so please ask them and then report back here with their response. Chances are that they use some variety of http://en.wikipedia.org/wiki/Permutation#Generation_in_lexicographic_order . But if you don't need to know until *after* each run, well then, the order used by each List is always explictly logged in the .edat file anyway, so you could just look at the results there without knowing the rule used. In addition, you could always make up a simple mock program with an appropriate List (don't even need to show stimuli) just to explore how E-Prime generates its List sequences. I do this sort of thing all the time, that's how I learned so much about EP Lists. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours -- this is pretty much their substitute for proper documentation, so make full use of it. 3) In addition, PST takes questions at their Facebook page (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 ), and offers several instructional videos there and on their YouTube channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, though). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 7/9/2012 01:50 PM Monday, ASI wrote: >Hi All, >I'm using a permutation to set the order of the stimuli in my task >(selection -> order -> permutation). >I have four types of stimuli {1, 2, 3, 4}. Each subject gets a >different order of these four elements (1 out of 24 possibilities). >I need to know the exact order presented to each subject. What is >the rule eprime is using? >Thanks, >ASI -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 amanda.green.99 at gmail.com Mon Jul 9 22:35:16 2012 From: amanda.green.99 at gmail.com (amanda) Date: Mon, 9 Jul 2012 15:35:16 -0700 Subject: E-Prime and Tobii eye tracking - multiple AOI within single stimulus Message-ID: Hi there, I'm hopeful someone may be able to assist. I'm currently involved in developing a research project using E-Prime and Tobii eye tracking. Part of the study would be useful to track multiple fixations within a particular AOI - in other words changes in fixation on a single stimulus. This does not exclude the fixations/switching between stimuli, which are already being tracked. Currently, we have only been able to track the fixations between stimuli (slides/images), but not multiple changes in fixations on a single slide/image, Q: Is there a particular script required to set this up? Or is the calculation done post-hoc by calculating from the X/Y coordinates and SaccadicAmplitude? Many thanks in advance Amanda -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/bxlxrEbxjPwJ. To post to this group, send email to e-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 chathach at gmail.com Tue Jul 10 10:57:23 2012 From: chathach at gmail.com (Chris) Date: Tue, 10 Jul 2012 03:57:23 -0700 Subject: Is there no min() function in ebasic? Message-ID: I realize I must be overlooking something, but I cannot find the minimum function. If I just want the smaller of two variables, do I really have to construct an if statement for that? I realize that I can also put them in a summation object and use summation.min; or I could put them in an array and sort it; but surely the min() function must exist, right? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/vVI7xbobw3YJ. To post to this group, send email to e-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 mspape at cognitology.eu Tue Jul 10 12:41:01 2012 From: mspape at cognitology.eu (Michiel Sovijarvi-Spape) Date: Tue, 10 Jul 2012 15:41:01 +0300 Subject: Is there no min() function in ebasic? In-Reply-To: <09fbe5b1-4e04-4d74-8c02-7161dc8c551a@googlegroups.com> Message-ID: Hi, Like you, I thought, that is pretty odd, but you seem correct anyway. Nonetheless, there's an argument to be made against packing all sorts of superfluous operations in a programming language (like VBA), if you're not using them and are easily able to add them yourself. So, just add to your user script: Function min(inx As Variant, iny As Variant) As Variant If inx < iny Then min = inx Else min = iny End Function Now, writing TextDisplay1.Text = min(5,3) for example, will show "3". Rock on, no? Best, Mich From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Chris Sent: 10 July 2012 13:57 To: e-prime at googlegroups.com Subject: Is there no min() function in ebasic? I realize I must be overlooking something, but I cannot find the minimum function. If I just want the smaller of two variables, do I really have to construct an if statement for that? I realize that I can also put them in a summation object and use summation.min; or I could put them in an array and sort it; but surely the min() function must exist, right? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/vVI7xbobw3YJ. To post to this group, send email to e-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 chathach at gmail.com Tue Jul 10 13:01:32 2012 From: chathach at gmail.com (Christopher Chatham) Date: Tue, 10 Jul 2012 09:01:32 -0400 Subject: Is there no min() function in ebasic? In-Reply-To: <001c01cd5e99$43d5ba60$cb812f20$@eu> Message-ID: Yes, rock on! I wasn't aware that we could implement functions of this kind. Thank you very much. -Chris On Tue, Jul 10, 2012 at 8:41 AM, Michiel Sovijarvi-Spape < mspape at cognitology.eu> wrote: > Hi,**** > > Like you, I thought, that is pretty odd, but you seem correct anyway. > Nonetheless, there's an argument to be made against packing all sorts of > superfluous operations in a programming language (like VBA), if you're not > using them and are easily able to add them yourself. So, just add to your > user script:**** > > ** ** > > Function min(inx As Variant, iny As Variant) As Variant**** > > If inx < iny Then min = inx Else min = iny **** > > End Function**** > > ** ** > > Now, writing **** > > TextDisplay1.Text = min(5,3) **** > > for example, will show "3". Rock on, no?**** > > Best,**** > > Mich**** > > ** ** > > ** ** > > ** ** > > *From:* e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] *On > Behalf Of *Chris > *Sent:* 10 July 2012 13:57 > *To:* e-prime at googlegroups.com > *Subject:* Is there no min() function in ebasic?**** > > ** ** > > I realize I must be overlooking something, but I cannot find the minimum > function. If I just want the smaller of two variables, do I really have to > construct an if statement for that? > > I realize that I can also put them in a summation object and use > summation.min; or I could put them in an array and sort it; but surely the > min() function must exist, right? **** > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/e-prime/-/vVI7xbobw3YJ. > To post to this group, send email to e-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. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 Tue Jul 10 14:09:25 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 10 Jul 2012 10:09:25 -0400 Subject: Is there no min() function in ebasic? In-Reply-To: Message-ID: And here is a variant using the under-appreciated IIf() function (see that topic in the E-Basic Help facility): Function min( inx As Variant, iny As Variant ) As Variant min = IIf( (inx < iny), inx, iny ) End Function ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) At 7/10/2012 09:01 AM Tuesday, Christopher Chatham wrote: >Yes, rock on! > >I wasn't aware that we could implement functions of this kind. Thank >you very much. >-Chris > >On Tue, Jul 10, 2012 at 8:41 AM, Michiel Sovijarvi-Spape ><mspape at cognitology.eu> wrote: >Hi, > >Like you, I thought, that is pretty odd, but you seem correct >anyway. Nonetheless, there's an argument to be made against packing >all sorts of superfluous operations in a programming language (like >VBA), if you're not using them and are easily able to add them >yourself. So, just add to your user script: > >Function min(inx As Variant, iny As Variant) As Variant > If inx < iny Then min = inx Else min = iny >End Function > >Now, writing >TextDisplay1.Text = min(5,3) >for example, will show "3". Rock on, no? >Best, >Mich > > >From: e-prime at googlegroups.com >[mailto:e-prime at googlegroups.com] On Behalf Of Chris >Sent: 10 July 2012 13:57 >To: e-prime at googlegroups.com >Subject: Is there no min() function in ebasic? > >I realize I must be overlooking something, but I cannot find the >minimum function. If I just want the smaller of two variables, do I >really have to construct an if statement for that? > >I realize that I can also put them in a summation object and use >summation.min; or I could put them in an array and sort it; but >surely the min() function must exist, right? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 mspape at cognitology.eu Tue Jul 10 14:23:40 2012 From: mspape at cognitology.eu (Michiel Sovijarvi-Spape) Date: Tue, 10 Jul 2012 17:23:40 +0300 Subject: Is there no min() function in ebasic? In-Reply-To: Message-ID: Hi, It can be really quite useful to clean up some code, especially if you write a lot of these long statements. I also use it a lot for the code-intensive parts i reuse between experiments, such as making random noise masks with some canvas-code because, quite often, I am really just too lazy to look up exactly how one goes about doing these things. Cheers, Mich From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Christopher Chatham Sent: 10 July 2012 16:02 To: e-prime at googlegroups.com Subject: Re: Is there no min() function in ebasic? Yes, rock on! I wasn't aware that we could implement functions of this kind. Thank you very much. -Chris On Tue, Jul 10, 2012 at 8:41 AM, Michiel Sovijarvi-Spape wrote: Hi, Like you, I thought, that is pretty odd, but you seem correct anyway. Nonetheless, there's an argument to be made against packing all sorts of superfluous operations in a programming language (like VBA), if you're not using them and are easily able to add them yourself. So, just add to your user script: Function min(inx As Variant, iny As Variant) As Variant If inx < iny Then min = inx Else min = iny End Function Now, writing TextDisplay1.Text = min(5,3) for example, will show "3". Rock on, no? Best, Mich From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Chris Sent: 10 July 2012 13:57 To: e-prime at googlegroups.com Subject: Is there no min() function in ebasic? I realize I must be overlooking something, but I cannot find the minimum function. If I just want the smaller of two variables, do I really have to construct an if statement for that? I realize that I can also put them in a summation object and use summation.min; or I could put them in an array and sort it; but surely the min() function must exist, right? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/vVI7xbobw3YJ. To post to this group, send email to e-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. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 mspape at cognitology.eu Tue Jul 10 14:55:42 2012 From: mspape at cognitology.eu (Michiel Sovijarvi-Spape) Date: Tue, 10 Jul 2012 17:55:42 +0300 Subject: Is there no min() function in ebasic? In-Reply-To: <4ffc37bf.8a05320a.6ce1.ffffa58aSMTPIN_ADDED@gmr-mx.google.com> Message-ID: Hi, Wow, almost brings a C elegance to VB :) I benchmarked the functions, yours is .3 microsecond shorter, though the difference is not statistically significant. Good to know, For Science. Best, Michiel -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of David McFarlane Sent: 10 July 2012 17:09 To: e-prime at googlegroups.com; e-prime at googlegroups.com Subject: Re: Is there no min() function in ebasic? And here is a variant using the under-appreciated IIf() function (see that topic in the E-Basic Help facility): Function min( inx As Variant, iny As Variant ) As Variant min = IIf( (inx < iny), inx, iny ) End Function ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) At 7/10/2012 09:01 AM Tuesday, Christopher Chatham wrote: >Yes, rock on! > >I wasn't aware that we could implement functions of this kind. Thank >you very much. >-Chris > >On Tue, Jul 10, 2012 at 8:41 AM, Michiel Sovijarvi-Spape ><mspape at cognitology.eu> wrote: >Hi, > >Like you, I thought, that is pretty odd, but you seem correct >anyway. Nonetheless, there's an argument to be made against packing >all sorts of superfluous operations in a programming language (like >VBA), if you're not using them and are easily able to add them >yourself. So, just add to your user script: > >Function min(inx As Variant, iny As Variant) As Variant > If inx < iny Then min = inx Else min = iny >End Function > >Now, writing >TextDisplay1.Text = min(5,3) >for example, will show "3". Rock on, no? >Best, >Mich > > >From: e-prime at googlegroups.com >[mailto:e-prime at googlegroups.com] On Behalf Of Chris >Sent: 10 July 2012 13:57 >To: e-prime at googlegroups.com >Subject: Is there no min() function in ebasic? > >I realize I must be overlooking something, but I cannot find the >minimum function. If I just want the smaller of two variables, do I >really have to construct an if statement for that? > >I realize that I can also put them in a summation object and use >summation.min; or I could put them in an array and sort it; but >surely the min() function must exist, right? -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 stevensonbaker at gmail.com Wed Jul 11 18:36:15 2012 From: stevensonbaker at gmail.com (Alevelwetsky) Date: Wed, 11 Jul 2012 11:36:15 -0700 Subject: delay discounting In-Reply-To: <8747542e-d1c5-4ecd-ac15-145ef2de3049@n16g2000prc.googlegroups.com> Message-ID: Hi Jessica, I'm also programming a delay discounting task in E-Prime. Any advice you can give me is appreciated. Thanks! On Tuesday, February 22, 2011 10:42:42 AM UTC-5, Jessica wrote: > > Thank you!! > > On Feb 17, 5:46 pm, David McFarlane wrote: > > In the broadest terms, this will require inline code, and global > > variables. See Chapter 4 of the User's Guide that came with > > E-Prime. Also, try a search of "delay discounting E-Prime" on the > > web, or in the appropriate message boards (e.g., here, or the PST > > Forum). And don't forget PST Web Support athttp:// > support.pstnet.com/e%2Dprime/support/login.asp. > > > > -- David McFarlane, Professional Faultfinder > > > > > > > > >I am trying to program a delay discounting task in the newest version > > >of e-prime and have been running against a particular difficulty that > > >I was wondering if others might have some insights into. > > > Has anyone programmed into a slide a box where monetary earnings are > > >accumulated and if so, how? I am thinking that this might require in- > > >line script but was unsure if there was a different way? > > > > >Thanks in advance and any help would be greatly appreciated!- Hide > quoted text - > > > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/mpSnx6hrYqkJ. To post to this group, send email to e-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 mspape at cognitology.eu Thu Jul 12 06:49:48 2012 From: mspape at cognitology.eu (Michiel Sovijarvi-Spape) Date: Thu, 12 Jul 2012 09:49:48 +0300 Subject: delay discounting In-Reply-To: <18455de7-d3ed-4fb0-805d-9e5011e6bdd4@googlegroups.com> Message-ID: Hi, More information would be appreciated. As per http://149.142.158.188/phenowiki/wiki/index.php/Delay_Discounting_Task_(DDT) , it seems to be a sort of delay of gratification task in which you ask people whether they want 40 pound now, or 100 pounds in a week - correct? Doesn't sound to me like the type of thing you'd normally use e-prime for, but anyway... what seems to be the problem? Are you also concerned about: "Has anyone programmed into a slide a box where monetary earnings are accumulated and if so, how?" Again, I'd really not use E-Prime for slides and anything pretty really - a slider is a pretty normal object, just drag and drop in java, .net, and so on, but makes little sense in E-Prime, where solid timing characteristics are the main focus. IF you must, and I understand some students do, use E-Prime (possibly for no other reason than that people have heard it's good practice for psychologists to do so), you could present them with two random choices [now] and [later] on a single textdisplay which says: "Press 1 if you would prefer [now] now or 2 if you would prefer [later] later?" and then add these as attributes to a list. "accumulated monetary earnings" can then be done as the sums of choices by adding an inline: if TextDisplay1.RESP = 1 then sumnow = sumnow + c.GetAttrib("now") if TextDisplay1.RESP = 2 then sumlater = sumlater = c.GetAttrib("later") c.SetAttrib "sumnow" = sumnow c.SetAttrib "sumlater" = sumlater (obviously, sumnow and sumlater are declared in the user script) Good luck. Best, Mich From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Alevelwetsky Sent: 11 July 2012 21:36 To: e-prime at googlegroups.com Subject: Re: delay discounting Hi Jessica, I'm also programming a delay discounting task in E-Prime. Any advice you can give me is appreciated. Thanks! On Tuesday, February 22, 2011 10:42:42 AM UTC-5, Jessica wrote: Thank you!! On Feb 17, 5:46 pm, David McFarlane wrote: > In the broadest terms, this will require inline code, and global > variables. See Chapter 4 of the User's Guide that came with > E-Prime. Also, try a search of "delay discounting E-Prime" on the > web, or in the appropriate message boards (e.g., here, or the PST > Forum). And don't forget PST Web Support athttp://support.pstnet.com/e%2Dprime/support/login.asp. > > -- David McFarlane, Professional Faultfinder > > > > >I am trying to program a delay discounting task in the newest version > >of e-prime and have been running against a particular difficulty that > >I was wondering if others might have some insights into. > > Has anyone programmed into a slide a box where monetary earnings are > >accumulated and if so, how? I am thinking that this might require in- > >line script but was unsure if there was a different way? > > >Thanks in advance and any help would be greatly appreciated!- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/mpSnx6hrYqkJ. To post to this group, send email to e-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 tobias.fw at gmail.com Thu Jul 12 13:45:56 2012 From: tobias.fw at gmail.com (Tobias) Date: Thu, 12 Jul 2012 06:45:56 -0700 Subject: add textdisplay to slide Message-ID: Hi, I want to run a slide called "SearchSlide". Within a trial, I want to add a textdisplay. I tried: set SearchContext set textACC = New TextDisplay textACC.X = "50%" textACC.Y = "2%" textACC.Width = "34%" textACC.Height = "3%" textACC.FontSize = "16" textACC.FontName = "Arial" textACC.backcolor = "128,128,128" textACC.text = "correct" however the "set" command needs an "=". How can I refer to an already existing slide? Thanks, Tobias -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/U0zDPFdZYJsJ. To post to this group, send email to e-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 tobias.fw at gmail.com Thu Jul 12 14:07:32 2012 From: tobias.fw at gmail.com (Tobias) Date: Thu, 12 Jul 2012 07:07:32 -0700 Subject: add textdisplay to slide In-Reply-To: Message-ID: To make this more clear: I want to add a slidetext on the already existing slide. Am Donnerstag, 12. Juli 2012 15:45:56 UTC+2 schrieb Tobias: > > Hi, > > I want to run a slide called "SearchSlide". > Within a trial, I want to add a textdisplay. > > I tried: > > set SearchContext > set textACC = New TextDisplay > > textACC.X = "50%" > textACC.Y = "2%" > textACC.Width = "34%" > textACC.Height = "3%" > textACC.FontSize = "16" > textACC.FontName = "Arial" > textACC.backcolor = "128,128,128" > textACC.text = "correct" > > however the "set" command needs an "=". How can I refer to an already > existing slide? > > Thanks, > Tobias > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/PxzS39ODvRAJ. To post to this group, send email to e-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 liwenna at gmail.com Fri Jul 13 11:37:12 2012 From: liwenna at gmail.com (Anne-Wil) Date: Fri, 13 Jul 2012 04:37:12 -0700 Subject: add textdisplay to slide In-Reply-To: <84dda756-278d-432d-a745-9a7d854076d9@googlegroups.com> Message-ID: Hi Tobias, With respect to the code that you presented now: to me it seems to define a textobject (= stand alone textbox), rather than a text-subobject to be placed within a slide-object. In order to define a textbox within a slide, I think that you need some code along the lines of: CSlideText(Slide1.States(Slide1.ActiveState).Objects("Text1")) to replace the textACC that you use now -> CSlideText(SLIDENAME.States(SLIDENAME.ActiveState).Objects("TEXTBOXNAME")).X = 50% etc. However: although I could imagine that it might be doable using a do-while construction, in my experience it is always way more easy to either use two separate consecutive slideobjects that are identical except the feature that you 'd like to change (i.e. the first without the textbox that is then replaced by a separate slideobject w?th the textbox -> the effect would be the same as having a textbox appear). Or, if you need more than a single change to happen (or a conditional change that you don't want to organise through slidestates on the second slide), you could opt for having a slideobject being terminated, than in an inline have it's properties changed and with a "goto label" construction go back on the procedure to before the slideobject and have the slideobject shown AGAIN (i.e. also in this case the slide is not technically altered while being shown, but altered and then shown again). I believe that 'an E-primer' (by Michiel Spape) contains some info on these types of set-ups ( step.psy.cmu.edu/materials/*EPrimer*.pdf ) and there are also examples around within this group, although perhaps not the exact same thing as you search for (see for instance the fading slides thread: https://groups.google.com/forum/?fromgroups#!topic/e-prime/rY2vTRap_4Q ) Best, AW On Thursday, 12 July 2012 16:07:32 UTC+2, Tobias wrote: > > To make this more clear: I want to add a slidetext on the already existing > slide. > > > Am Donnerstag, 12. Juli 2012 15:45:56 UTC+2 schrieb Tobias: >> >> Hi, >> >> I want to run a slide called "SearchSlide". >> Within a trial, I want to add a textdisplay. >> >> I tried: >> >> set SearchContext >> set textACC = New TextDisplay >> >> textACC.X = "50%" >> textACC.Y = "2%" >> textACC.Width = "34%" >> textACC.Height = "3%" >> textACC.FontSize = "16" >> textACC.FontName = "Arial" >> textACC.backcolor = "128,128,128" >> textACC.text = "correct" >> >> however the "set" command needs an "=". How can I refer to an already >> existing slide? >> >> Thanks, >> Tobias >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/PxiOtw83kOYJ. To post to this group, send email to e-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 boveejc at gmail.com Fri Jul 13 21:14:29 2012 From: boveejc at gmail.com (Joanna) Date: Fri, 13 Jul 2012 14:14:29 -0700 Subject: Logging Voice Onset Latency Message-ID: I am running a picture naming study in which I need to log how long it takes a participant to respond (i.e., verbally name the picture) after the image has appeared on the screen. I am using the Cedrus SV-1 Key with E-Prime 2.0.10.242. The experiment runs smoothly and separate .wav files are created for each trial. However, upon opening the .edat file, response time is always logged as 0 ms. I tried to find the logging property for the SoundIn sub-object, but it is not listed among the other properties. Has anyone successfully been able to log naming onset time in a similar design? All advice welcome. Many thanks. Joanna Bovee -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/0NrNnt4oAhMJ. To post to this group, send email to e-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 pure-n-true at hotmail.co.uk Sat Jul 14 18:57:10 2012 From: pure-n-true at hotmail.co.uk (pure-n-true at hotmail.co.uk) Date: Sat, 14 Jul 2012 11:57:10 -0700 Subject: Help Message-ID: Hi I am new to E-Prime and even though I have done lots of tutorials I cannot master the experiment I am supposed to design. For some reason It is not working and if it does work nothing shows up as my initial plan. My project is fairly simple and will use 2 types of load, question and set size, that will be done in 8 blocks with 40 trials in each block. This is easier said than done. I am using about 20 household items in black and white that I have transferred to bitmap and will be seen randomly throughout the experiment. High set size will be 6 and 8 items shown on screen at once and low set size will be 2-3 items. There will be 2 types of question, a high question load, where is X? which will require the participants to click the screen with a mouse to choose their location of the target shown in the first screen, and a low question load, was X here?, which will require the participants to select N for No and Y for Yes on the keyboard. The gap between each screen will be 200ms and the search screen will be presented for 250ms. There will be 4 types of blocks which will be presented twice to get the desired 8 blocks. Type 1 will be a high set size (6 and 8 items appear on screen at once) with a low question load (was X here?). Type 2 will be a low set size with a low question load. Type 3 will be a low set size with a high question load. Type 4 will be a high set size with a high question load. I have read through many questions and answers in this group but have found that they do not answer my experimental problems. I would like for your professional help on the design of this experiment and how it can be implemented as this is for a masters degree and I do not want to fail. Any help will be appreciated and I would like to thank you n advance for your time and response. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/E1_Q3YDr8CAJ. To post to this group, send email to e-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 jiaxiking at gmail.com Sun Jul 15 05:57:56 2012 From: jiaxiking at gmail.com (David Wang) Date: Sat, 14 Jul 2012 22:57:56 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide Message-ID: long story short, I am trying to have two response objects that can be clicked by mouse. My subjects will only be able to click one of them (as soon as that happens, the procedure will move forward). clicking elsewhere results in nothing. I have attached an Inline after that slide, however I can't seem to get the coding right. Can someone take a look and let me know what I am doing wrong. Thank you so much :) (by the way I copied this code from someone in this group, I can't remember her name though, but I love her for sharing this. Hopefully I can get it to work in my design). The slide I want to make this work is "slide5", the two buttons are named "leftbutton" and "right button". I will need to log which button my subjects will click for the purpose of my experiment. here are the codes: ============================================================================ 'Designate "theState" as the Default Slide State, which is the 'current, ActiveState on the Slide object "Stimulus" Dim theState as SlideState Set theState = Slide5.States("Default") Dim next_mX as Long, next_mY as Long Dim strHit As String Dim theMouseResponseData As MouseResponseData Do until (strHit = "leftbutton" or strHit = "rightbutton") 'Was there a response? If Slide5.InputMasks.Responses.Count > 0 Then 'Get the mouse response Set theMouseResponseData = CMouseResponseData(Slide5.InputMasks.Responses(1)) 'Determine string name of Slide 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 = "leftbutton" or strHit = "rightbutton" Then GoTo begingame End if Do Until (strHit = "leftbutton" or strHit = "rightbutton") ' 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 = "leftbutton" or strHit = "rightbutton" Then GoTo begingame End If Loop -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/W-8a1QqvHZgJ. To post to this group, send email to e-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 jiaxiking at gmail.com Sun Jul 15 06:04:05 2012 From: jiaxiking at gmail.com (David Wang) Date: Sat, 14 Jul 2012 23:04:05 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide In-Reply-To: <3b2f9aa5-c41d-4b8b-8e31-e8fa445f2209@googlegroups.com> Message-ID: This is the error screen I get when I try to generate script. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/TWdisNm73_AJ. To post to this group, send email to e-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 liwenna at gmail.com Sun Jul 15 11:54:20 2012 From: liwenna at gmail.com (Anne-Wil) Date: Sun, 15 Jul 2012 04:54:20 -0700 Subject: Help In-Reply-To: <555685d2-2ae9-446a-ac45-40c71532f8c0@googlegroups.com> Message-ID: Hi Pure, Sorry to disappoint you: we are not professionals but simply other e-prime users helping each other out. Personally, I make a bit of a point out of not performing students' work - after all they/you are supposed to learn from this. If you could ask more detailed questions on more specific parts of the design where you get stuck - I won't mind giving you pointers in order to get you on track again, but building an entire experiment for you is not really an option. Two pointers to getting started: - first aim to build a stripped version of the experiment that does not yet have all the different conditions etc. but consists of just a couple of trials and get those to work correctly. Once you got that you can expand it into the full version and figure out how to implement the randomizations etc. - check out the dohittest script that can be downloaded at the PST site or found copied at numerous places throughout this group -> you will need it to record your pp's answers: i.e. which of the images did they click on. best, AW On Saturday, 14 July 2012 20:57:10 UTC+2, pure-... at hotmail.co.uk wrote: > > Hi I am new to E-Prime and even though I have done lots of tutorials I > cannot master the experiment I am supposed to design. For some reason It is > not working and if it does work nothing shows up as my initial plan. > My project is fairly simple and will use 2 types of load, question and set > size, that will be done in 8 blocks with 40 trials in each block. This is > easier said than done. > I am using about 20 household items in black and white that I > have transferred to bitmap and will be seen randomly throughout the > experiment. High set size will be 6 and 8 items shown on screen at once and > low set size will be 2-3 items. There will be 2 types of question, a high > question load, where is X? which will require the participants to click the > screen with a mouse to choose their location of the target shown in the > first screen, and a low question load, was X here?, which will require the > participants to select N for No and Y for Yes on the keyboard. The gap > between each screen will be 200ms and the search screen will be presented > for 250ms. > > There will be 4 types of blocks which will be presented twice to get > the desired 8 blocks. > Type 1 will be a high set size (6 and 8 items appear on screen at once) > with a low question load (was X here?). > Type 2 will be a low set size with a low question load. > Type 3 will be a low set size with a high question load. > Type 4 will be a high set size with a high question load. > > > I have read through many questions and answers in this group but have > found that they do not answer my experimental problems. I would like for > your professional help on the design of this experiment and how it can be > implemented as this is for a masters degree and I do not want to fail. Any > help will be appreciated and I would like to thank you n advance for your > time and response. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/jg07EQPM2YYJ. To post to this group, send email to e-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 liwenna at gmail.com Sun Jul 15 12:34:32 2012 From: liwenna at gmail.com (Anne-Wil) Date: Sun, 15 Jul 2012 05:34:32 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide In-Reply-To: <5de99a2b-ab36-4f43-8449-9838c355f4ee@googlegroups.com> Message-ID: Hi David, In your code there seem to be some additions compared to the original dohittest provided by PST, which I do not think you need and may also form your problem. As for the error code: every IF THEN statement shoudl be either placed on a single line or closed with and END IF statement and similarly for conditional statements like the DO WHILE loop etc. The error occurs because there is an END statement misplaced or missing, cause the program to get 'lost'. As for your code: I think you added several lines that involve a do while statement and also have to do with the exact names of the buttons that were clicked on. Neither of these are needed for your purpose (if I understood you correctly: you have two boxes, only one needs to be clicked on and the name of that object needs to be logged or uses for accuracy logging - right?). 'Designate "theState" as the Default Slide State, which is the 'current, ActiveState on the Slide object "Stimulus" Dim theState as SlideState Set theState = Slide5.States("Default") Dim next_mX as Long, next_mY as Long Dim strHit As String Dim theMouseResponseData As MouseResponseData Do until (strHit = "leftbutton" or strHit = "rightbutton") <= this line seems superfluous to me; in the next line (.count > 0) it is determined wheter a click is made, so there is no point in determining it also in the previous line, moreover, strhit does not yet have a value (was created only two lines above) and will also never get the value of the button that was clicked with and lastly a do until loop in this script is not needed. 'Was there a response? If Slide5.InputMasks.Responses.Count > 0 Then 'Get the mouse response Set theMouseResponseData = CMouseResponseData(Slide5.InputMasks.Responses(1)) 'Determine string name of Slide 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 = "leftbutton" or strHit = "rightbutton" Then GoTo begingame End if <^= with this IF THEN loop you tell the program to goto a label (I suppose? begingame?) if strhit contains the value of either of your response buttons - but strhit will never holds that value, in the strHit= line four lines above it is given the value of name of the subobject that the mouseclick was made on (I.e. textbox1 or image1 or whatever name you defined for this subobject). StrHit will remain empty ("") if the click was made anywhere else than on a subobject on the slide. Do Until (strHit = "leftbutton" or strHit = "rightbutton") ' 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 = "leftbutton" or strHit = "rightbutton" Then GoTo begingame End If Loop <^= similar to previous do until loop, this one is not useful and I actually do not quite understand what it does :s So... I think this more original code (which a slight addition) should actually work for your purpose: Set theState = Slide5.States("Default") 'Was there a response? If Slide5.InputMasks.Responses.Count > 0 Then 'Get the mouse response Set theMouseResponseData = CMouseResponseData(Slide5.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) 'if strhit is empty (""), which is the case when the click was made outside an slide subobjct, the ' program is redirected to 'begingame' which is a label preceding the slide. If strHit = ("") Then Goto begingame Else c.SetAttrib "response", strHit End if Else End If Place this code in an inline following your slide. On the slide itself give names to each of the two subobjects that can be clicked on and also (if needed?) create an attribute in your list called CorrectAnswer, for which each cell holds the name of the subject that is the correct answer in that trial (if there is no correct anwer the lines from "If strhit =" to the next "End IF" can be removed. On Sunday, 15 July 2012 08:04:05 UTC+2, David Wang wrote: > > > > This is the error screen I get when I try to generate script. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/F5-FlLXgFoUJ. To post to this group, send email to e-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 liwenna at gmail.com Sun Jul 15 12:44:49 2012 From: liwenna at gmail.com (Anne-Wil) Date: Sun, 15 Jul 2012 05:44:49 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide In-Reply-To: <5de99a2b-ab36-4f43-8449-9838c355f4ee@googlegroups.com> Message-ID: Hi David, In your code there seem to be some additions compared to the original dohittest provided by PST, which I do not think you need and may also form your problem. As for the error code: every IF THEN statement should be either placed on a single line or closed with and END IF statement and similarly for conditional statements like the DO UNTIL loop etc. The error occurs because there is an END statement misplaced or missing, cause the program to get 'lost'. As for your specific code: I think you added several lines that involve a do while statement and also have to do with the exact names of the buttons that were clicked on (or perhaps they came with the post that you copied the script from :) ). Neither of these, however, are needed for your purpose (if I understood you correctly: you have two boxes, only one needs to be clicked on and the name of that object needs to be logged or uses for accuracy logging - right?). For 'educational purposes' I'll post some remarks with the code that you posted and under that I'll post a new code suggestion. 'Designate "theState" as the Default Slide State, which is the 'current, ActiveState on the Slide object "Stimulus" Dim theState as SlideState Set theState = Slide5.States("Default") Dim next_mX as Long, next_mY as Long Dim strHit As String Dim theMouseResponseData As MouseResponseData Do until (strHit = "leftbutton" or strHit = "rightbutton") <= this line seems superfluous to me; in the next line (.count > 0) it is determined wheter a click is made, so there is no point in determining it also in the previous line, moreover, strhit does not yet have a value (was created only two lines above) and will also never get the value of the button that was clicked with and lastly a do until loop in this script is not needed. 'Was there a response? If Slide5.InputMasks.Responses. Count > 0 Then 'Get the mouse response Set theMouseResponseData = CMouseResponseData(Slide5.InputMasks.Responses(1)) 'Determine string name of Slide 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 = "leftbutton" or strHit = "rightbutton" Then GoTo begingame End if <^= with this IF THEN loop you tell the program to goto a label (I suppose? begingame?) IF strhit contains the value of either of your response buttons - but strhit will never holds that value, in the strHit= line four lines above it is given the value of *the name of the subobject that the mouseclick was made on* (I.e. textbox1 or image1 or whatever name you defined for this subobject). StrHit will remain empty ("") if the click was made anywhere else than on any subobject on the slide. Do Until (strHit = "leftbutton" or strHit = "rightbutton") ' 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 = "leftbutton" or strHit = "rightbutton" Then GoTo begingame End If Loop <^= similar to previous do until loop, this one is not useful and I actually do not quite understand what it does :s So... I think this more original code (which a slight addition) should actually work for your purpose: Set theState = Slide5.States("Default") 'Was there a response? If Slide5.InputMasks.Responses.Count > 0 Then 'Get the mouse response Set theMouseResponseData = CMouseResponseData(Slide5.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) 'if strhit is empty (""), which is the case when the click was made outside an slide subobject, the ' program is redirected to 'begingame' which is a label preceding the slide, so it will run again. ' if strhit has any other value (i.e. the name of a subject that was clicked on), this value is logged under "response" If strHit = ("") Then Goto begingame Else c.SetAttrib "response", strHit End if Else End If Place this code in an inline following your slide. On the slide itself give names to each of the two subobjects that can be clicked on (or you can keep them with their generic names - but make sure you can afterwards figure out which object the response was made to). The above code does not compare or log the given answer to a 'correctanswer' but I gathered from your code that that is not needed - correct? If there are more subjects on your slide that just the two stimulus objects (i.e. a textbox giving directions?) than adjust the code so that a click on the non-stimulus subobject also leads to 'goto begingame'. Best, liw On Sunday, 15 July 2012 08:04:05 UTC+2, David Wang wrote: > > > > This is the error screen I get when I try to generate script. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/aAfgyZeHSGgJ. To post to this group, send email to e-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 lml1934 at gmail.com Sun Jul 15 17:32:59 2012 From: lml1934 at gmail.com (Lisa Levinson) Date: Sun, 15 Jul 2012 10:32:59 -0700 Subject: video and E Prime 2.0 Message-ID: Good to know that I am not alone in attempting to solve this problem but no solution as of yet. I came across a posting from 7/11/11 related to my movie clip problem which David Vinson responded to very thoroughly on 7/13 but while this information does shed some light on my situation it does not seem to completely address my predicament. For some reason the .avi video files I loaded to E Prime for an experiment are now not running properly after otherwise running without issue during two experimental runs. It seems that the pixelated image (a gray scale gradient that traverses left to right) separates horizontally as it runs for parts of the presentation. The image does not always become disrupted at the same point during the run nor does the image break in the same area. I think the issue may be due to the 100ms stimulus presentation but it is strange that it did at one time run correctly. A colleague and I attempted to find the change the format code from .avi to mpg but it will not run at all with any of the reformatted versions. I do not think we tried Xvid Codec which I see worked for someone else. That will be Monday's project. Again, not sure if my issue is one of formatting or one of presentation duration. It may be that with EPrime the 100ms run time and various inter-stimulus intervals (600ms-1000ms) makes loading the files in that time frame problematic. Of course, the fact that it worked and now doesn't is the true mystery. Anyone have thoughts???? Lisa -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/f2mtquXKySYJ. To post to this group, send email to e-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 nitz.david at gmail.com Sun Jul 15 17:43:10 2012 From: nitz.david at gmail.com (Dave) Date: Sun, 15 Jul 2012 10:43:10 -0700 Subject: video and E Prime 2.0 In-Reply-To: Message-ID: Sounds like classic "screen tearing" due to vsync being off. C.f. https://en.wikipedia.org/wiki/Screen_tearing. On Sunday, July 15, 2012 7:32:59 PM UTC+2, Lisa Levinson wrote: > > Good to know that I am not alone in attempting to solve this problem but > no solution as of yet. I came across a posting from 7/11/11 related to my > movie clip problem which David Vinson responded to very thoroughly on 7/13 > but while this information does shed some light on my situation it does not > seem to completely address my predicament. For some reason the .avi video > files I loaded to E Prime for an experiment are now not running properly > after otherwise running without issue during two experimental runs. It > seems that the pixelated image (a gray scale gradient that traverses left > to right) separates horizontally as it runs for parts of the presentation. > The image does not always become disrupted at the same point during the run > nor does the image break in the same area. I think the issue may be due to > the 100ms stimulus presentation but it is strange that it did at one time > run correctly. > > A colleague and I attempted to find the change the format code from .avi > to mpg but it will not run at all with any of the reformatted versions. I > do not think we tried Xvid Codec which I see worked for someone else. That > will be Monday's project. Again, not sure if my issue is one of formatting > or one of presentation duration. It may be that with EPrime the 100ms run > time and various inter-stimulus intervals (600ms-1000ms) makes loading the > files in that time frame problematic. Of course, the fact that it worked > and now doesn't is the true mystery. > > Anyone have thoughts???? > Lisa > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/65hBxtRbqAgJ. To post to this group, send email to e-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 pquain at une.edu.au Sun Jul 15 17:43:58 2012 From: pquain at une.edu.au (Peter Quain) Date: Mon, 16 Jul 2012 03:43:58 +1000 Subject: video and E Prime 2.0 In-Reply-To: Message-ID: No idea why it might be intermittent, but It could be tearing: http://en.wikipedia.org/wiki/Screen_tearing you could try updating video drivers. Also, try running paradigm on some different machines At 03:32 AM 16/07/2012, you wrote: >Good to know that I am not alone in attempting to solve this problem >but no solution as of yet. I came across a posting from 7/11/11 >related to my movie clip problem which David Vinson responded to >very thoroughly on 7/13 but while this information does shed some >light on my situation it does not seem to completely address my >predicament. For some reason the .avi video files I loaded to E >Prime for an experiment are now not running properly after otherwise >running without issue during two experimental runs. It seems that >the pixelated image (a gray scale gradient that traverses left to >right) separates horizontally as it runs for parts of the >presentation. The image does not always become disrupted at the same >point during the run nor does the image break in the same area. I >think the issue may be due to the 100ms stimulus presentation but it >is strange that it did at one time run correctly. > >A colleague and I attempted to find the change the format code from >.avi to mpg but it will not run at all with any of the reformatted >versions. I do not think we tried Xvid Codec which I see worked for >someone else. That will be Monday's project. Again, not sure if my >issue is one of formatting or one of presentation duration. It may >be that with EPrime the 100ms run time and various inter-stimulus >intervals (600ms-1000ms) makes loading the files in that time frame >problematic. Of course, the fact that it worked and now doesn't is >the true mystery. > >Anyone have thoughts???? >Lisa > >-- >You received this message because you are subscribed to the Google >Groups "E-Prime" group. >To view this discussion on the web visit >https://groups.google.com/d/msg/e-prime/-/f2mtquXKySYJ. >To post to this group, send email to e-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 jiaxiking at gmail.com Sun Jul 15 20:49:00 2012 From: jiaxiking at gmail.com (David Wang) Date: Sun, 15 Jul 2012 13:49:00 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide In-Reply-To: Message-ID: On Sunday, July 15, 2012 8:44:49 AM UTC-4, Anne-Wil wrote: > > Hi David, > > > In your code there seem to be some additions compared to the original > dohittest provided by PST, which I do not think you need and may also form > your problem. > > As for the error code: every IF THEN statement should be either placed on > a single line or closed with and END IF statement and similarly for > conditional statements like the DO UNTIL loop etc. The error occurs because > there is an END statement misplaced or missing, cause the program to get > 'lost'. > > As for your specific code: I think you added several lines that involve a > do while statement and also have to do with the exact names of the buttons > that were clicked on (or perhaps they came with the post that you copied > the script from :) ). Neither of these, however, are needed for your > purpose (if I understood you correctly: you have two boxes, only one needs > to be clicked on and the name of that object needs to be logged or uses for > accuracy logging - right?). > > For 'educational purposes' I'll post some remarks with the code that you > posted and under that I'll post a new code suggestion. > > 'Designate "theState" as the Default Slide State, which is the > 'current, ActiveState on the Slide object "Stimulus" > > Dim theState as SlideState > Set theState = Slide5.States("Default") > > Dim next_mX as Long, next_mY as Long > > Dim strHit As String > Dim theMouseResponseData As MouseResponseData > > Do until (strHit = "leftbutton" or strHit = "rightbutton") <= > this line seems superfluous to me; in the next line (.count > 0) it is > determined wheter a click is made, so there is no point in determining it > also in the previous line, moreover, strhit does not yet have a value (was > created only two lines above) and will also never get the value of the > button that was clicked with and lastly a do until loop in this script is > not needed. > 'Was there a response? > If Slide5.InputMasks.Responses. > Count > 0 Then > > 'Get the mouse response > Set theMouseResponseData = > CMouseResponseData(Slide5.InputMasks.Responses(1)) > > 'Determine string name of Slide 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 = "leftbutton" or strHit = "rightbutton" > Then > GoTo begingame > > End if <^= with this IF THEN loop you tell the > program to goto a label (I suppose? begingame?) IF strhit contains the > value of either of your response buttons - but strhit will never holds that > value, in the strHit= line four lines above it is given the value of *the > name of the subobject that the mouseclick was made on* (I.e. textbox1 or > image1 or whatever name you defined for this subobject). StrHit will remain > empty ("") if the click was made anywhere else than on any subobject on the > slide. > > Do Until (strHit = "leftbutton" or strHit = "rightbutton") > ' 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 = "leftbutton" or strHit = "rightbutton" > Then > GoTo begingame > End If > > Loop <^= similar to previous do until loop, this one is not useful > and I actually do not quite understand what it does :s > > So... I think this more original code (which a slight addition) should > actually work for your purpose: > > Set theState = Slide5.States("Default") > > 'Was there a response? > If Slide5.InputMasks.Responses.Count > 0 Then > > 'Get the mouse response > Set theMouseResponseData = CMouseResponseData(Slide5.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) > > 'if strhit is empty (""), which is the case when the click > was made outside an slide subobject, the > ' program is redirected to 'begingame' which is a label > preceding the slide, so it will run again. > ' if strhit has any other value (i.e. the name of a > subject that was clicked on), this value is logged under "response" > > If strHit = ("") Then > Goto begingame > Else > c.SetAttrib "response", strHit > > End if > > Else > > End If > > > Place this code in an inline following your slide. On the slide itself > give names to each of the two subobjects that can be clicked on (or you can > keep them with their generic names - but make sure you can afterwards > figure out which object the response was made to). The above code does not > compare or log the given answer to a 'correctanswer' but I gathered from > your code that that is not needed - correct? If there are more subjects on > your slide that just the two stimulus objects (i.e. a textbox giving > directions?) than adjust the code so that a click on the non-stimulus > subobject also leads to 'goto begingame'. > > > Best, > > > liw > > On Sunday, 15 July 2012 08:04:05 UTC+2, David Wang wrote: >> >> >> >> This is the error screen I get when I try to generate script. >> > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/vpI1Iduf-QIJ. To post to this group, send email to e-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 jiaxiking at gmail.com Sun Jul 15 21:20:37 2012 From: jiaxiking at gmail.com (David Wang) Date: Sun, 15 Jul 2012 14:20:37 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide In-Reply-To: Message-ID: Hi Anne! Thank you very much for the fast reply. You are awesome!!! For my experiment, I want to have the subjects only be able to click on the two buttons. So when they accidentally clicks something else (e.g. another image object or simply anywhere on the screen other than the two buttons), nothing would happen. Once they successfully clicks one of the two buttons, the game trial will then restart and go to begingame (a label in the beginning of the trialproc). So I used your code and edited it to make it work. Here are the working codes, maybe other new eprime users like me can benefit from this.. :D ================================================ 'Designate "theState" as the Default Slide State, which is the ' 'current, ActiveState on the Slide object "Stimulus" Dim theState as SlideState Set theState = Slide5.States("Default") Dim next_mX as Long, next_mY as Long Dim strHit As String Dim theMouseResponseData As MouseResponseData 'Was there a response? If Slide5.InputMasks.Responses.Count > 0 Then 'Get the mouse response Set theMouseResponseData = CMouseResponseData(Slide5.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) 'if strHit equals the two buttons, then strHit will be logged, game will move onto next trial. If strHit = ("leftbutton") or strHit = ("rightbutton") Then c.SetAttrib "response", strHit 'if click is off, then restart slide 5 so nothing changes on the screen. no data will be logged in this case. Else Goto restart End If End if -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/txb4WKMIdB0J. To post to this group, send email to e-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 jiaxiking at gmail.com Mon Jul 16 03:32:57 2012 From: jiaxiking at gmail.com (David Wang) Date: Sun, 15 Jul 2012 20:32:57 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide In-Reply-To: Message-ID: Now I have a new question. The two buttons I used are text boxes (light gray background, Bold black font). To make the buttons more realistic, I am trying to have the background color change when my mouse hovers over them. No clicking will happen, I simply want the program to monitor the location of the cursor; and when the cursor is over the buttons, the backcolor of the buttons can change. I am sorry to bother you again, but I do need help :( My thought is to dim leftbutton as rect (is this correct? leftbutton is the string name of a button on the slide.) Dim curPoint As Point 'mouse over Dim ETTime As Long ETTime = Clock.Read Dim ETTimeInterval As Long ETTimeInterval = 10 '---loop the positioning mechanism before a response is made Do While Slide5.InputMasks.Responses.Count = 0 '=== request eye or mouse data every ETTimeInterval ms If (Clock.Read > ETTime) Then 'Set the next log time ETTime = Clock.Read + ETTimeInterval '---- highlight AOI ( mouse over ) Mouse.GetCursorPos curPoint.x, curPoint.y If PointInRect(curPoint,leftbutton ) Then 'This I don't understand. Am i in the right path to make a textbox a rect in the inline, then use it in a pointinrect and color change command? leftbutton.BackColor = color.silver leftbutton.Draw Else leftbutton.BackColor = color.gray leftbutton.Draw End If end if loop -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/oCQYtMwJ3eAJ. To post to this group, send email to e-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 liwenna at gmail.com Mon Jul 16 07:20:50 2012 From: liwenna at gmail.com (Anne-Wil) Date: Mon, 16 Jul 2012 00:20:50 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide In-Reply-To: Message-ID: ... and the attachment... On Monday, 16 July 2012 09:19:39 UTC+2, Anne-Wil wrote: > > Hey David, > > I clearly misunderstood what you meant with leftbutton and rightbutton - > those are the names of the boxes, I realize now. > > Glad you got that part working. For the changing colors when mouse hoovers > over part: I don't think you can really help you with that one - as I never > did that myself. > > I do think you might want to use a different set-up in that case. The > script that is used to read out the mouseclicklocation is only accessed > after the termination of the slide - in order to have anything happening > (i.e. mouse location being read out and acted upon during the showing of > the slide) you'd need a script that is accessed before the slide and > continues during the slide (the do while type loops that you already tried > to implement). My gut feeling tells me that such a script might not work > with the ready made "buttons" (text/imageboxes), but perhaps it will if you > draw the buttons yourself (in that very same script preceding the slide) > using canvas drawing commands. > > Attached is a questionnaire script, which I believe evolved from the > ratingscale script provided by PST. In the inline preceding the > questionslide answerboxes are being drawn, then the slide is shown and then > in the inline following the slide, the mouseclick is assessed, the > buttoncolour changes and remains visible for a little bit longer, and the > response is logged and processed. Clicks outside the answerbuttons load to > a backbutton, similar to your set-up. > > What this program does not do is changing the colour of buttons while a > mouse hovers over. I think I tried to get it like that "back then" but > didn't manage to do so. I then concluded that the slide needs to be > terminated, altered and reshown for this to happen and that that simply > takes a bit too long to give a natural feeling to the participant operating > the mouse (as if the program stalls). However, back then I wasn't much > aware of do-while loops, perhaps those may make it possible. Anyone else's > input could be useful on that one? :) > > > Good luck and please let us know if it works out! :) > > Best, > > Anne-Wil > On Monday, 16 July 2012 05:32:57 UTC+2, David Wang wrote: >> >> Now I have a new question. The two buttons I used are text boxes (light >> gray background, Bold black font). >> >> To make the buttons more realistic, I am trying to have the background >> color change when my mouse hovers over them. >> >> No clicking will happen, I simply want the program to monitor the >> location of the cursor; and when the cursor is over the buttons, the >> backcolor of the buttons can change. >> >> I am sorry to bother you again, but I do need help :( >> >> My thought is to >> >> >> >> dim leftbutton as rect >> (is this correct? leftbutton is the string name of a button on the slide.) >> >> Dim curPoint As Point 'mouse over >> Dim ETTime As Long >> ETTime = Clock.Read >> Dim ETTimeInterval As Long >> ETTimeInterval = 10 >> >> >> '---loop the positioning mechanism before a response is made >> Do While Slide5.InputMasks.Responses.Count = 0 >> >> '=== request eye or mouse data every ETTimeInterval ms >> If (Clock.Read > ETTime) Then >> >> 'Set the next log time >> ETTime = Clock.Read + ETTimeInterval >> >> >> >> >> '---- highlight AOI ( mouse over ) >> Mouse.GetCursorPos curPoint.x, curPoint.y >> >> >> >> If PointInRect(curPoint,leftbutton ) Then 'This I >> don't understand. Am i in the right path to make a textbox a rect in the >> inline, then use it in a pointinrect and color change command? >> leftbutton.BackColor = color.silver >> leftbutton.Draw >> Else >> leftbutton.BackColor = color.gray >> leftbutton.Draw >> End If >> >> >> >> end if >> loop >> >> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/rADC-C69IBEJ. To post to this group, send email to e-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: -------------- next part -------------- A non-text attachment was scrubbed... Name: panas.es2 Type: application/octet-stream Size: 93120 bytes Desc: not available URL: From liwenna at gmail.com Mon Jul 16 07:19:39 2012 From: liwenna at gmail.com (Anne-Wil) Date: Mon, 16 Jul 2012 00:19:39 -0700 Subject: need help with code, I am trying to have two clickable response buttons on a slide In-Reply-To: Message-ID: Hey David, I clearly misunderstood what you meant with leftbutton and rightbutton - those are the names of the boxes, I realize now. Glad you got that part working. For the changing colors when mouse hoovers over part: I don't think you can really help you with that one - as I never did that myself. I do think you might want to use a different set-up in that case. The script that is used to read out the mouseclicklocation is only accessed after the termination of the slide - in order to have anything happening (i.e. mouse location being read out and acted upon during the showing of the slide) you'd need a script that is accessed before the slide and continues during the slide (the do while type loops that you already tried to implement). My gut feeling tells me that such a script might not work with the ready made "buttons" (text/imageboxes), but perhaps it will if you draw the buttons yourself (in that very same script preceding the slide) using canvas drawing commands. Attached is a questionnaire script, which I believe evolved from the ratingscale script provided by PST. In the inline preceding the questionslide answerboxes are being drawn, then the slide is shown and then in the inline following the slide, the mouseclick is assessed, the buttoncolour changes and remains visible for a little bit longer, and the response is logged and processed. Clicks outside the answerbuttons load to a backbutton, similar to your set-up. What this program does not do is changing the colour of buttons while a mouse hovers over. I think I tried to get it like that "back then" but didn't manage to do so. I then concluded that the slide needs to be terminated, altered and reshown for this to happen and that that simply takes a bit too long to give a natural feeling to the participant operating the mouse (as if the program stalls). However, back then I wasn't much aware of do-while loops, perhaps those may make it possible. Anyone else's input could be useful on that one? :) Good luck and please let us know if it works out! :) Best, Anne-Wil On Monday, 16 July 2012 05:32:57 UTC+2, David Wang wrote: > > Now I have a new question. The two buttons I used are text boxes (light > gray background, Bold black font). > > To make the buttons more realistic, I am trying to have the background > color change when my mouse hovers over them. > > No clicking will happen, I simply want the program to monitor the location > of the cursor; and when the cursor is over the buttons, the backcolor of > the buttons can change. > > I am sorry to bother you again, but I do need help :( > > My thought is to > > > > dim leftbutton as rect > (is this correct? leftbutton is the string name of a button on the slide.) > > Dim curPoint As Point 'mouse over > Dim ETTime As Long > ETTime = Clock.Read > Dim ETTimeInterval As Long > ETTimeInterval = 10 > > > '---loop the positioning mechanism before a response is made > Do While Slide5.InputMasks.Responses.Count = 0 > > '=== request eye or mouse data every ETTimeInterval ms > If (Clock.Read > ETTime) Then > > 'Set the next log time > ETTime = Clock.Read + ETTimeInterval > > > > > '---- highlight AOI ( mouse over ) > Mouse.GetCursorPos curPoint.x, curPoint.y > > > > If PointInRect(curPoint,leftbutton ) Then 'This I > don't understand. Am i in the right path to make a textbox a rect in the > inline, then use it in a pointinrect and color change command? > leftbutton.BackColor = color.silver > leftbutton.Draw > Else > leftbutton.BackColor = color.gray > leftbutton.Draw > End If > > > > end if > loop > > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/5Z3nPWevjLsJ. To post to this group, send email to e-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 scruffybumblebee at gmail.com Mon Jul 16 18:41:02 2012 From: scruffybumblebee at gmail.com (Becks) Date: Mon, 16 Jul 2012 11:41:02 -0700 Subject: Play slide object after n-trials using inline Message-ID: Hi all, I currently have 3 different eprime paradigms which play tones for use with EEG recording equipment, all of which function perfectly. However, I have just been asked to add continuous background white noise to each one, to last for half of each paradigm. I can?t simply play a slide with a soundout object (whitenoise) and set the properties to ?stop after = no? and the ?stop offset? to a value that would stop the soundout object after half of the particular paradigm I am running, as the white noise needs to be counterbalanced across participants for first half of paradigm white noise/ second half of paradigm white noise. For the white noise during second half of paradigm condition, I am therefore trying to play an unreferenced slide with white noise soundout object after n-trials. I am able to count the trials using the following inline: Dim g_nTotalTrial as Integer ?in user tab g_nTotalTrial = 0 ?top level inline g_nTotalTrial = g_nTotalTrial+1 ?inline at start of trialproc And I am able to play an unreferenced slide (called whitenoise) using the following inline: whitenoise.run I am struggling to link the two together, to play the slide after n-trials. I have tried using the following inline with no success: c.SetAttrib "TrialCount", g_nTotalTrial If TrialCount = 6 Then whitenoise.run I would be incredibly grateful if anyone can point me to any relevant literature or forum posts that I have missed, as I have scoured the user manuals and internet with no success. Or, if this is not as simple a problem as I suspect, does anyone have any ideas about how to get around it? Many thanks for any help you can offer. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/zN5MtwYMshsJ. To post to this group, send email to e-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 Mon Jul 16 19:46:48 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 16 Jul 2012 15:46:48 -0400 Subject: Play slide object after n-trials using inline In-Reply-To: Message-ID: I think you need to use the Slide.Play method instead of Slide.Run -- see that topic in the E-Basic Help facility. If your trials are not self-paced and all last for a known duration, then I have an alternative simple-minded idea. Make two noise files for the entire duration of the run, one with white noise for the first half and silence for the second, and the other vice-versa. Then just start the chosen white-noise file playing at the start of each run. For more technical details on using Slide, SoundOut, and SoundBuffer objects, try asking 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 E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) At 7/16/2012 02:41 PM Monday, Becks wrote: >Hi all, > > > >I currently have 3 different eprime paradigms which play tones for >use with EEG recording equipment, all of which function perfectly. >However, I have just been asked to add continuous background white >noise to each one, to last for half of each paradigm. > > > >I can't simply play a slide with a soundout object (whitenoise) and >set the properties to "stop after = no" and the "stop offset" to a >value that would stop the soundout object after half of the >particular paradigm I am running, as the white noise needs to be >counterbalanced across participants for first half of paradigm white >noise/ second half of paradigm white noise. > > > >For the white noise during second half of paradigm condition, I am >therefore trying to play an unreferenced slide with white noise >soundout object after n-trials. I am able to count the trials using >the following inline: > > > >Dim g_nTotalTrial as Integer 'in user tab > > > >g_nTotalTrial = 0 'top level inline > > > >g_nTotalTrial = g_nTotalTrial+1 'inline at start of trialproc > > > > > >And I am able to play an unreferenced slide (called whitenoise) >using the following inline: > > > >whitenoise.run > > > >I am struggling to link the two together, to play the slide after >n-trials. I have tried using the following inline with no success: > > > >c.SetAttrib "TrialCount", g_nTotalTrial > > > >If TrialCount = 6 Then whitenoise.run > > > > > >I would be incredibly grateful if anyone can point me to any >relevant literature or forum posts that I have missed, as I have >scoured the user manuals and internet with no success. Or, if this >is not as simple a problem as I suspect, does anyone have any ideas >about how to get around it? > > > >Many thanks for any help you can offer. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 Jul 16 19:52:09 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 16 Jul 2012 15:52:09 -0400 Subject: Logging Voice Onset Latency In-Reply-To: <39ed2caa-a3ed-410b-bfb2-50149ffc5b8f@googlegroups.com> Message-ID: Joanna, It sounds to me like you want to both record the voice RT, and the voice response. This has been discussed, see https://groups.google.com/forum/?fromgroups#!topic/e-prime/DcKdgNJKAlM , and more recently, http://pstnet.com/forum/Topic6026-23-1.aspx . ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours -- this is pretty much their substitute for proper documentation, so make full use of it. 3) In addition, PST takes questions at their Facebook page (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 ), and offers several instructional videos there and on their YouTube channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, though). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 7/13/2012 05:14 PM Friday, Joanna wrote: >I am running a picture naming study in which I need to log how long >it takes a participant to respond (i.e., verbally name the picture) >after the image has appeared on the screen. I am using the Cedrus >SV-1 Key with E-Prime 2.0.10.242. The experiment runs smoothly and >separate .wav files are created for each trial. However, upon >opening the .edat file, response time is always logged as 0 ms. I >tried to find the logging property for the SoundIn sub-object, but >it is not listed among the other properties. > >Has anyone successfully been able to log naming onset time in a >similar design? > >All advice welcome. Many thanks. > >Joanna Bovee -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 Tue Jul 17 18:05:58 2012 From: tobias.fw at gmail.com (Tobias) Date: Tue, 17 Jul 2012 11:05:58 -0700 Subject: split up list in two sessions Message-ID: Hi, I have the following problem: I have a list of 960 trials (each weight 1). It turned out that the experiment ist too long for one session. This is why we want to do two sessions. How can I split up the list in two so that I have all 960 combinations randomly distributed among the two sessions? Is there any way of doing so? Best, TObias -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/xcDgPm3oAfEJ. To post to this group, send email to e-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 scruffybumblebee at gmail.com Tue Jul 17 17:47:14 2012 From: scruffybumblebee at gmail.com (Becks) Date: Tue, 17 Jul 2012 10:47:14 -0700 Subject: Play slide object after n-trials using inline In-Reply-To: <50046fba.a439320a.75bd.468aSMTPIN_ADDED@gmr-mx.google.com> Message-ID: Unfortunately the duration is dependant on participant response time, otherwise that would have been a much simpler option. Thanks for pointing me in the right direction David. Your help is much appreciated. On Monday, 16 July 2012 15:46:48 UTC-4, McFarlane, David wrote: > I think you need to use the Slide.Play method instead of Slide.Run -- > see that topic in the E-Basic Help facility. > > If your trials are not self-paced and all last for a known duration, > then I have an alternative simple-minded idea. Make two noise files > for the entire duration of the run, one with white noise for the > first half and silence for the second, and the other > vice-versa. Then just start the chosen white-noise file playing at > the start of each run. > > For more technical details on using Slide, SoundOut, and SoundBuffer > objects, try asking 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 > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) > > > At 7/16/2012 02:41 PM Monday, Becks wrote: > >Hi all, > > > > /> > > > >I currently have 3 different eprime paradigms which play tones for > >use with EEG recording equipment, all of which function perfectly. > >However, I have just been asked to add continuous background white > >noise to each one, to last for half of each paradigm. > > > > > > > >I can't simply play a slide with a soundout object (whitenoise) and > >set the properties to "stop after = no" and the "stop offset" to a > >value that would stop the soundout object after half of the > >particular paradigm I am running, as the white noise needs to be > >counterbalanced across participants for first half of paradigm white > >noise/ second half of paradigm white noise. > > > > > > > >For the white noise during second half of paradigm condition, I am > >therefore trying to play an unreferenced slide with white noise > >soundout object after n-trials. I am able to count the trials using > >the following inline: > > > > > > > >Dim g_nTotalTrial as Integer 'in user tab > > > > > > > >g_nTotalTrial = 0 'top level inline > > > > > > > >g_nTotalTrial = g_nTotalTrial+1 'inline at start of trialproc > > > > > > > > > > > >And I am able to play an unreferenced slide (called whitenoise) > >using the following inline: > > > > > > > >whitenoise.run > > > > > > > >I am struggling to link the two together, to play the slide after > >n-trials. I have tried using the following inline with no success: > > > > > > > >c.SetAttrib "TrialCount", g_nTotalTrial > > > > > > > >If TrialCount = 6 Then whitenoise.run > > > > > > > > > > > >I would be incredibly grateful if anyone can point me to any > >relevant literature or forum posts that I have missed, as I have > >scoured the user manuals and internet with no success. Or, if this > >is not as simple a problem as I suspect, does anyone have any ideas > >about how to get around it? > > > > > > > >Many thanks for any help you can offer. > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/tJbTmaJ-Ai0J. To post to this group, send email to e-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 scruffybumblebee at gmail.com Tue Jul 17 19:15:38 2012 From: scruffybumblebee at gmail.com (Becks) Date: Tue, 17 Jul 2012 12:15:38 -0700 Subject: lower sound volume for two objects independently Message-ID: Hi all, I have two soundout objects in a trial proc, and want to lower the volume of one but not the other. Yet I can only work out how to alter the volume of both. I am sure I am missing something really obvious as there is so little about altering volume in the forums, and I cannot get the "volume control" option in soundout properties to work as all the literature tells me it should (i.e. enter any number between -10000 and -1 to lower the dB of the soundout object). I am currently data collecting abroad, so am waiting for an email giving me my home department's *pstnet.com* login in order to contact pst support. If anyone can point me in the correct direction in the meantime, I would be incredibly grateful. Many thanks for any help offered. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/JT_IxXt5f0gJ. To post to this group, send email to e-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 Tue Jul 17 19:41:42 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 17 Jul 2012 15:41:42 -0400 Subject: split up list in two sessions In-Reply-To: Message-ID: Tobias, Roughly speaking, I might first generate the full 960 trial List in the first session, output the second half of that List to a .txt file using Print#, etc., and then run the first half of the List. In the second session I would use the List File Load Method to read in the rest of the trials from the .txt file generated in the first session, and then run those. Good luck. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours -- this is pretty much their substitute for proper documentation, so make full use of it. 3) In addition, PST takes questions at their Facebook page (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 ), and offers several instructional videos there and on their YouTube channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, though). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 7/17/2012 02:05 PM Tuesday, you wrote: >I have the following problem: I have a list of 960 trials (each >weight 1). It turned out that the experiment ist too long for one >session. This is why we want to do two sessions. > >How can I split up the list in two so that I have all 960 >combinations randomly distributed among the two sessions? Is there >any way of doing so? > >Best, >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 mkclairhong at gmail.com Tue Jul 17 20:02:18 2012 From: mkclairhong at gmail.com (newbie) Date: Tue, 17 Jul 2012 13:02:18 -0700 Subject: Rondomized Responses Message-ID: Hi all,I'm currently working on a research about involuntary memory and we have been using Eprime to present picture-sound pairs. The participants are asked to look at the picture and hear the sound, and type a sentence that comes to their mind. They go through this process twice, and the order of picture-sound pairs are different in two lists, so that we can make sure the "memory" is not affected by the order. When they see and listen to the sound for the second time, they're asked to modify their sentences from the first round and we present the response from the first round as well (so that they can see what they typed initially and modify if they want) However, the problem is that the responses they typed for the first list appear in the same order in the next list while the picture-sound pairs are in a different order. So for example, if Participant A typed "dog" for his first answer during the first round, "dog" would appear as the previous answer for his first picture-sound pairing for the second round even if the picture-sound pair that's presented to him would be a different pair from the first experiment. The code for this is, * First list* IntegrationString = Integration.RESP IntegrationString = ReplaceString(IntegrationString, "{SPACE}", " ") IntegrationString = ReplaceString(IntegrationString, "{SHIFT}", "") IntegrationString = ReplaceString(IntegrationString, "{ENTER}", " ") IntegrationString = ReplaceString(IntegrationString, "{,}", ",") IntegrationString = ReplaceString(IntegrationString, "{.}", ".") IntegrationString = ReplaceString(IntegrationString, "{F1}", "") IntegrationString = ReplaceString(IntegrationString, "{!}", "") IntegrationString = ReplaceString(IntegrationString, "{'}", "") IntegrationString = ReplaceString(IntegrationString, "{(}", "") IntegrationString = ReplaceString(IntegrationString, "{)}", "") IntegrationString = ReplaceString(IntegrationString, "{/}", "") IntegrationString = ReplaceString(IntegrationString, "{?}", "") IntegrationString = ReplaceString(IntegrationString, "{:}", "") IntegrationString = ReplaceString(IntegrationString, "{;}", "") c.SetAttribAtSource "IntegrationResp", IntegrationString For i = 1 to Encoding1List.Size response = Encoding1List.GetAttrib(i, "IntegrationResp") Encoding2List.SetAttrib i, "IntegrationResp", response Next i *Second list* Integration2String = Integration2.RESP Integration2String = ReplaceString(Integration2String, "{SPACE}", " ") Integration2String = ReplaceString(Integration2String, "{SHIFT}", "") Integration2String = ReplaceString(Integration2String, "{ENTER}", " ") Integration2String = ReplaceString(Integration2String, "{,}", ",") Integration2String = ReplaceString(Integration2String, "{.}", ".") Integration2String = ReplaceString(Integration2String, "{F1}", "") Integration2String = ReplaceString(Integration2String, "{!}", "") Integration2String = ReplaceString(Integration2String, "{'}", "") Integration2String = ReplaceString(Integration2String, "{(}", "") Integration2String = ReplaceString(Integration2String, "{)}", "") Integration2String = ReplaceString(Integration2String, "{/}", "") Integration2String = ReplaceString(Integration2String, "{?}", "") Integration2String = ReplaceString(Integration2String, "{:}", "") Integration2String = ReplaceString(Integration2String, "{;}", "") c.SetAttribAtSource "Integration2Resp", Integration2String For i = 1 to Encoding2List.Size response = Encoding2List.GetAttrib(i, "IntegrationResp") Encoding3List.SetAttrib i, "IntegrationResp", response Next i I feel like the problem would be resolved if I correct my "i= _____" but I've been keep failing to make the right modification for the code. It will be great if you could let me know how I would be able to fix it! Thank you so much -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/bOmtBh8sSnUJ. To post to this group, send email to e-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 turquoised13 at gmail.com Tue Jul 17 21:21:56 2012 From: turquoised13 at gmail.com (Margot Elizabeth) Date: Tue, 17 Jul 2012 17:21:56 -0400 Subject: KeyLists Message-ID: hello e-primers, I am brand new to e-prime, so apologies in advance if this is very basic. I have a word priming experiment with a balanced list of primes and targets; 50% are meaningful and 50% are unrelated pairs. There are 3 different types of meaningful pairs, so as a group the unrelated pairs outnumber the other types. Because I am running an EEG experiment along with the priming, I need to pick a smaller subset of my unrelated pairs for Net Station to recognize and call for analysis. The KeyList seems like an obvious solution to this, but when I follow the instructions from E-Prime (EBANs), it doesn't work... E-prme will generate the script, but running it produces a "no such attribute" error. EBANS instructions say to name KeyList as the attribute in the InLine Send Trial Events, but then each of the actual attributes in the KeyList are being picked up as unknown. When I tell Send Trial Events about the individual attributes I get more errors. I have searched KeyLists and can't find examples or discussions of how to use this feature. Any help would be greatly appreciated. Margot Stothers Ph.D. (Candidate) Western University London, ON, Canada -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 liwenna at gmail.com Tue Jul 17 22:55:42 2012 From: liwenna at gmail.com (Anne-Wil) Date: Tue, 17 Jul 2012 15:55:42 -0700 Subject: Rondomized Responses In-Reply-To: <36fe52c8-6869-4da8-a708-544942a1237b@googlegroups.com> Message-ID: Hi Newbie, I believe the problem lies with this line: Encoding2List.SetAttrib i, "IntegrationResp", response You're very close when you suspect 'i'. Note the 'i' in the above mentioned line? What it does is write the response that is given (response) into the attribute "integrationResp" of the list called "Encoding2List" at the i'th level. So.... during trial1 of the EncodingList1 'i'= 1, and the response is therefore written to the first (ith) level of Encoding2List. Since Encodinglist is, at that point, already randomized, the response is coded into the same listlevel (= info for a single trial) as the randomly chosen stimulusword for the i'th trial of that second list. Therefore the responses appear in the same order as given in the first round, whereas the stimuluswords do not. If the first list is not in a random order, than you could set the secondlist to sequential order too and randomize it with an inline AFTER the responses in the first round have been coded into the attribute "integrationresp". However, it is unlikely that your first round is not randomized and if I understand your code correctly, there is even a third round. So... instead.... I think you could store the responses given into an array that consists of two columns and as many rows as you have trials in a round, but this requires a bit more code. I'll ramble something down that is NOT tested and might therefore not work at all (and will need some modifications from your side anyways - but I got this impression that you know your way around code and this might be just the push that gets you on track again). **** Dim StoreResponseArray (numberoftrials -1, 2) as string **** ^ that one defines the array as having a numberoftrials-1 number of levels and 2 (or 3... columns) and it should be on the usertab of the scriptwindow; the -1 thingy is because level 0 is also taken into account and you would then end up with an 'empty' trial later on. The 'bonus' 0-column won't pose a problem. Then, starting from the code you provided, I'd end up with: **** IntegrationString = Integration.RESP IntegrationString = ReplaceString(IntegrationString, "{SPACE}", " ") IntegrationString = ReplaceString(IntegrationString, "{SHIFT}", "") IntegrationString = ReplaceString(IntegrationString, "{ENTER}", " ") IntegrationString = ReplaceString(IntegrationString, "{,}", ",") IntegrationString = ReplaceString(IntegrationString, "{.}", ".") IntegrationString = ReplaceString(IntegrationString, "{F1}", "") IntegrationString = ReplaceString(IntegrationString, "{!}", "") IntegrationString = ReplaceString(IntegrationString, "{'}", "") IntegrationString = ReplaceString(IntegrationString, "{(}", "") IntegrationString = ReplaceString(IntegrationString, "{)}", "") IntegrationString = ReplaceString(IntegrationString, "{/}", "") IntegrationString = ReplaceString(IntegrationString, "{?}", "") IntegrationString = ReplaceString(IntegrationString, "{:}", "") IntegrationString = ReplaceString(IntegrationString, "{;}", "") c.SetAttribAtSource "IntegrationResp", IntegrationString For i = 1 to numberoftrials StoreResponseArray (i-1,2) = Encoding1List.GetAttrib(i, "IntegrationResp") StoreResponseArray (i-1,1) = Encoding1List.GetAttrib(i, "STIMULUSATTRIBUTE") Next i **** ^ this code goes after EncodingList1. Following this code, the StoreResponseArray contains all the stimuluswords in the 1th collumn (which might actually be the second because it starts counting at 0, but that on a side note) while the values of integrationresp are now stored in the second (third...) column. It has again a -1 construction; as opposed to the previous one (where you should just give in 49 if you have 50 trials etc) this "i-1" construction should be kept in the code (due to the i = 1 to numberoftrials thing). The array can than be randomized, which will result in the order of the levels getting randomized, but the pairs between the two columns remaining together, after which you can use the info to (re)fill the encoding2list, and after that randomize it's order: ********* RandomizeArray StoreResponseArray For i = 1 to numberoftrials Encoding2List.SetAttrib i, "STIMULUSWORDS", StoreResponseArray (i-1, 1) Encoding2List.SetAttrib i, "IntegrationResp", StoreResponseArray (i-1, 2) next i Encoding2List.random (<= pretty sure this is not the right command - but got no e-prime at hand to check what it should be, some line that tells e-prime to randomize that list) Encoding2List.reset *** I think that that should work.... now the previous given answer should be in the Encoding2List at the same level as the stimulus it was given to. Good luck! Please let me know if/when you got it to work (and also if not :) ). Best, liw On Tuesday, 17 July 2012 22:02:18 UTC+2, newbie wrote: > > Hi all,I'm currently working on a research about involuntary memory and we > have been using Eprime to present picture-sound pairs. > The participants are asked to look at the picture and hear the sound, and > type a sentence that comes to their mind. > They go through this process twice, and the order of picture-sound pairs > are different in two lists, so that we can make sure the "memory" is not > affected by the order. When they see and listen to the sound for the second > time, they're asked to modify their sentences from the first round and we > present the response from the first round as well (so that they can see > what they typed initially and modify if they want) > > However, the problem is that the responses they typed for the first list > appear in the same order in the next list while the picture-sound pairs are > in a different order. > So for example, if Participant A typed "dog" for his first answer during > the first round, "dog" would appear as the previous answer for his first > picture-sound pairing for the second round even if the picture-sound pair > that's presented to him would be a different pair from the first experiment. > > > > The code for this is, > * > First list* > > IntegrationString = Integration.RESP > IntegrationString = ReplaceString(IntegrationString, "{SPACE}", " ") > IntegrationString = ReplaceString(IntegrationString, "{SHIFT}", "") > IntegrationString = ReplaceString(IntegrationString, "{ENTER}", " ") > IntegrationString = ReplaceString(IntegrationString, "{,}", ",") > IntegrationString = ReplaceString(IntegrationString, "{.}", ".") > IntegrationString = ReplaceString(IntegrationString, "{F1}", "") > IntegrationString = ReplaceString(IntegrationString, "{!}", "") > IntegrationString = ReplaceString(IntegrationString, "{'}", "") > IntegrationString = ReplaceString(IntegrationString, "{(}", "") > IntegrationString = ReplaceString(IntegrationString, "{)}", "") > IntegrationString = ReplaceString(IntegrationString, "{/}", "") > IntegrationString = ReplaceString(IntegrationString, "{?}", "") > IntegrationString = ReplaceString(IntegrationString, "{:}", "") > IntegrationString = ReplaceString(IntegrationString, "{;}", "") > c.SetAttribAtSource "IntegrationResp", IntegrationString > > For i = 1 to Encoding1List.Size > response = Encoding1List.GetAttrib(i, "IntegrationResp") > Encoding2List.SetAttrib i, "IntegrationResp", response > Next i > > > *Second list* > > Integration2String = Integration2.RESP > Integration2String = ReplaceString(Integration2String, "{SPACE}", " ") > Integration2String = ReplaceString(Integration2String, "{SHIFT}", "") > Integration2String = ReplaceString(Integration2String, "{ENTER}", " ") > Integration2String = ReplaceString(Integration2String, "{,}", ",") > Integration2String = ReplaceString(Integration2String, "{.}", ".") > Integration2String = ReplaceString(Integration2String, "{F1}", "") > Integration2String = ReplaceString(Integration2String, "{!}", "") > Integration2String = ReplaceString(Integration2String, "{'}", "") > Integration2String = ReplaceString(Integration2String, "{(}", "") > Integration2String = ReplaceString(Integration2String, "{)}", "") > Integration2String = ReplaceString(Integration2String, "{/}", "") > Integration2String = ReplaceString(Integration2String, "{?}", "") > Integration2String = ReplaceString(Integration2String, "{:}", "") > Integration2String = ReplaceString(Integration2String, "{;}", "") > > c.SetAttribAtSource "Integration2Resp", Integration2String > > > For i = 1 to Encoding2List.Size > response = Encoding2List.GetAttrib(i, "IntegrationResp") > Encoding3List.SetAttrib i, "IntegrationResp", response > Next i > > > > > I feel like the problem would be resolved if I correct my "i= _____" but > I've been keep failing to make the right modification for the code. > It will be great if you could let me know how I would be able to fix it! > > Thank you so much > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/c-s6vRt5L0wJ. To post to this group, send email to e-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 tobias.fw at gmail.com Wed Jul 18 11:32:06 2012 From: tobias.fw at gmail.com (Tobias) Date: Wed, 18 Jul 2012 04:32:06 -0700 Subject: split up list in two sessions In-Reply-To: <5005c00a.8458320a.7102.ffffb3acSMTPIN_ADDED@gmr-mx.google.com> Message-ID: David, thanks for your advice. I am not sure what you mean by " generate the full 960 trial List ". I have the 960 trials in a list, if I set the list to "exit after 480 trials", how can I write the other half of the list, the unused trials, to a file? Tobias Am Dienstag, 17. Juli 2012 21:41:42 UTC+2 schrieb McFarlane, David: > > Tobias, > > Roughly speaking, I might first generate the full 960 trial List in > the first session, output the second half of that List to a .txt file > using Print#, etc., and then run the first half of the List. In the > second session I would use the List File Load Method to read in the > rest of the trials from the .txt file generated in the first session, > and then run those. > > Good luck. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) PST's trained staff > take any and all questions at > http://support.pstnet.com/e%2Dprime/support/login.asp , and they > strive to respond to all requests in 24-48 hours -- this is pretty > much their substitute for proper documentation, so make full use of > it. 3) In addition, PST takes questions at their Facebook page > (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 > ), and offers several instructional videos there and on their YouTube > channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, > though). 4) If you do get an answer from PST staff, please extend > the courtesy of posting their reply back here for the sake of others. > \---- > > > At 7/17/2012 02:05 PM Tuesday, you wrote: > >I have the following problem: I have a list of 960 trials (each > >weight 1). It turned out that the experiment ist too long for one > >session. This is why we want to do two sessions. > > > >How can I split up the list in two so that I have all 960 > >combinations randomly distributed among the two sessions? Is there > >any way of doing so? > > > >Best, > >TObias > > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/rr7-Ylz2N8AJ. To post to this group, send email to e-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 Jul 19 16:19:00 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 19 Jul 2012 12:19:00 -0400 Subject: split up list in two sessions In-Reply-To: Message-ID: Tobias, Put your 960 stimuli in a nested StimList under your TrialList (which runs your TrialProc using those stimuli). Set TrialList to exit after 480 trials. That generates and runs the first 480 stimuli. Follow all that with another List that calls the same nested StimList for the remaining 480 virtual "trials". The Procedure in this List does nothing but build a .txt file with the remaining 480 stimuli (see "Print#" and related topics in the E-Basic Help facility), formatted so that it can later be loaded into a List using the "File" Load Method -- you do need to get the format exactly right for this (check around for documentation on that (e.g., https://groups.google.com/forum/?fromgroups#!topic/e-prime/eWplk1ghnjE ), or ask PST Web Support). Finally, a separate program for your second session will merely load its StimList from the .txt file generated in the first session, and Bob's your Uncle! You could, of course, invert the order of those two blocks in the fist session -- first write out the 480 trials to use next time, and *then* run the remaining 480 trial for the first session. Do as you like. That's enough from me, I leave you to do your own homework and work out the details for yourself. If you still need more help, contact PST Web Support at http://support.pstnet.com/e%2Dprime/support/login.asp , they should be happy to help. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) At 7/18/2012 07:32 AM Wednesday, you wrote: >David, > >thanks for your advice. I am not sure what you mean by " generate >the full 960 trial List ". > >I have the 960 trials in a list, if I set the list to "exit after >480 trials", how can I write the other half of the list, the unused >trials, to a file? > >Tobias > >Am Dienstag, 17. Juli 2012 21:41:42 UTC+2 schrieb McFarlane, David: >Tobias, > >Roughly speaking, I might first generate the full 960 trial List in >the first session, output the second half of that List to a .txt file >using Print#, etc., and then run the first half of the List. In the >second session I would use the List File Load Method to read in the >rest of the trials from the .txt file generated in the first session, >and then run those. > >Good luck. > >----- >David McFarlane >E-Prime training >online: >http://psychology.msu.edu/Workshops_Courses/eprime.aspx > >Twitter: @EPrimeMaster >(twitter.com/EPrimeMaster) > >/---- >Stock reminder: 1) I do not work for PST. 2) PST's trained staff >take any and all questions at >http://support.pstnet.com/e%2Dprime/support/login.asp >, and they >strive to respond to all requests in 24-48 hours -- this is pretty >much their substitute for proper documentation, so make full use of >it. 3) In addition, PST takes questions at their Facebook page >(http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 > >), and offers several instructional videos there and on their YouTube >channel >(http://www.youtube.com/user/PSTNET >) (no Twitter feed yet, >though). 4) If you do get an answer from PST staff, please extend >the courtesy of posting their reply back here for the sake of others. >\---- > > >At 7/17/2012 02:05 PM Tuesday, you wrote: > >I have the following problem: I have a list of 960 trials (each > >weight 1). It turned out that the experiment ist too long for one > >session. This is why we want to do two sessions. > > > >How can I split up the list in two so that I have all 960 > >combinations randomly distributed among the two sessions? Is there > >any way of doing so? > > > >Best, > >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 erin.siebert at gmail.com Fri Jul 20 21:54:59 2012 From: erin.siebert at gmail.com (Erin) Date: Fri, 20 Jul 2012 14:54:59 -0700 Subject: multiple correct responses for certain trials Message-ID: Hello. I have an image match to sample program used on a touchscreen. It's quite simple... my TrialList has a sample, match, and foil image column, along with a Correct Answer column. In the list, if I enter "1" in the correct answer column, the "match" column is counted as correct for that trial; if I enter "2", the "foil" is counted as correct. For some trials, I want both "match" and "foil" to show as the correct response when selected, and I am having trouble figuring out how to get my program to do this. Entering both 1 and 2 into the correct answer column doesn't seem to work. I am new to E-Prime and would appreciate any pointers. Thanks so much. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/tmcB069R9kAJ. To post to this group, send email to e-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 Mon Jul 23 20:45:02 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Mon, 23 Jul 2012 16:45:02 -0400 Subject: multiple correct responses for certain trials In-Reply-To: <11d8879f-c98c-4ef6-bbc4-f4041f71fb91@googlegroups.com> Message-ID: The production release of EP2 contains a raft of new features, including the ability to score multiple correct responses natively, so you might look into that. If you are stuck using an older version of E-Prime, you will have to resort to other means, see summary at https://groups.google.com/forum/?fromgroups#!topic/e-prime/iP9NFUwgWYY . ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours -- this is pretty much their substitute for proper documentation, so make full use of it. 3) In addition, PST takes questions at their Facebook page (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 ), and offers several instructional videos there and on their YouTube channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, though). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 7/20/2012 05:54 PM Friday, Erin wrote: >Hello. I have an image match to sample program used on a >touchscreen. It's quite simple... my TrialList has a sample, match, >and foil image column, along with a Correct Answer column. In the >list, if I enter "1" in the correct answer column, the "match" >column is counted as correct for that trial; if I enter "2", the >"foil" is counted as correct. For some trials, I want both "match" >and "foil" to show as the correct response when selected, and I am >having trouble figuring out how to get my program to do >this. Entering both 1 and 2 into the correct answer column doesn't >seem to work. I am new to E-Prime and would appreciate any >pointers. Thanks so much. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 jeremiahperkins3 at gmail.com Tue Jul 24 19:47:03 2012 From: jeremiahperkins3 at gmail.com (JP) Date: Tue, 24 Jul 2012 12:47:03 -0700 Subject: randomized LED lighting using DAQ Card in eprime In-Reply-To: Message-ID: Paul I want to thank you for replying to the post! The information has helped me out a lot! thank you again! On Thursday, June 28, 2012 6:32:26 AM UTC-4, Paul Groot wrote: > > jp, > > This would be easy if the device or driver supports memory mapped IO, just > like legacy parallel printer ports. Memory mapped IO can be programmed by > using the WritePort function or Onset/OffsetSignal* properties. The E-Basic > help documentation contains some printer-port based examples, which can be > used as a starting point if you know which address maps to the digital > output registers. > > However, many modern (USB) based devices use other mechanisms to > communicate with applications, so it depends on the available drivers which > options you have. Unfortunately memory mapped IO is often not supported > anymore. Most manufacturers provide visual basic or C-code examples that > can be used as as starting point. In most cases you will have to use > external function calls (typically DLL functions) using inline E-Basic > script. This is less trivial than the memory mapped IO method. > > best > Paul > > 2012/6/26 JP > >> I am currently assisting in creating an experimental design for a >> professor. The task that i have right now is to wire two LEDs to a DAQ card >> and make them light up independently and randomly using Eprime inline code. >> We also need to make it so we can track the lighting so we know which light >> the participants may be responding to. I have found dozens >> of references regarding DAQ card coding but it all seems to be acquiring >> data through the card and not not using it to control a component. >> >> I was wondering if anyone had an idea about what the coding might look >> like or how to accomplish this. >> >> >> Thank you in advance for the help!! >> >> -- >> You received this message because you are subscribed to the Google Groups >> "E-Prime" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/e-prime/-/Gp8hAVZSNCQJ. >> To post to this group, send email to e-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 view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/MZRYrPrEvI4J. To post to this group, send email to e-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 suprman34 at gmail.com Tue Jul 24 19:56:05 2012 From: suprman34 at gmail.com (Sean) Date: Tue, 24 Jul 2012 12:56:05 -0700 Subject: Recording the response time for two correct answers in the same trial Message-ID: Hi, I am in the process of creating an experiment that assesses sustained attention. One of my variables is whether the participant is taking the test alone or with another individual. Everything works smoothly in the alone condition, but it gest tricky when I have two people taking the test. The way the test is set up: There are 300 trials in random order that each contain a string of six digits. The participants' task is to respond correctly and as quickly as possible for each trial. If there is the number 4 in the sequence of numbers, they are asked to respond by pressing 1, and if the 4 is absent they are asked to press 2. Then the screen goes blank for about a half of a second and then shows the next sequence of numbers. Now I know that the response time is recorded for the individual responding with the 1 and 2, but I need to also be able to record the response time (and correctness) of another participant taking the same test on the same screen using the same keyboard. I got the program to accept 2 responses before moving on to the next sequence, but it only records the first response. For the second participant I asked that they use the keys Z and X the same way I explained for 1 and 2 (Z if there is a 4, X if there is not a 4). Is there a way that the program can log the response time and accuracy of both participants taking the test together? In other words, if one participants presses 1 and the other participant presses Z, how can I get the response time for both of the responses? Thanks in advance for any help -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/v_fwgExqF5wJ. To post to this group, send email to e-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 Tue Jul 24 20:20:42 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 24 Jul 2012 16:20:42 -0400 Subject: Recording the response time for two correct answers in the same trial In-Reply-To: <22ffe694-531d-4367-a385-6417d2587c2e@googlegroups.com> Message-ID: Take a look at the "Multiple Response Collection" example downloadable from PST. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours -- this is pretty much their substitute for proper documentation, so make full use of it. 3) In addition, PST takes questions at their Facebook page (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 ), and offers several instructional videos there and on their YouTube channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, though). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 7/24/2012 03:56 PM Tuesday, Sean wrote: >Hi, I am in the process of creating an experiment that assesses >sustained attention. One of my variables is whether the participant >is taking the test alone or with another individual. Everything >works smoothly in the alone condition, but it gest tricky when I >have two people taking the test. > >The way the test is set up: There are 300 trials in random order >that each contain a string of six digits. The participants' task is >to respond correctly and as quickly as possible for each trial. If >there is the number 4 in the sequence of numbers, they are asked to >respond by pressing 1, and if the 4 is absent they are asked to >press 2. Then the screen goes blank for about a half of a second and >then shows the next sequence of numbers. > >Now I know that the response time is recorded for the individual >responding with the 1 and 2, but I need to also be able to record >the response time (and correctness) of another participant taking >the same test on the same screen using the same keyboard. I got the >program to accept 2 responses before moving on to the next sequence, >but it only records the first response. For the second participant I >asked that they use the keys Z and X the same way I explained for 1 >and 2 (Z if there is a 4, X if there is not a 4). > >Is there a way that the program can log the response time and >accuracy of both participants taking the test together? In other >words, if one participants presses 1 and the other participant >presses Z, how can I get the response time for both of the responses? > >Thanks in advance for any help -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. For more options, visit this group at http://groups.google.com/group/e-prime?hl=en. From michael.steven.franklin at gmail.com Tue Jul 24 21:44:40 2012 From: michael.steven.franklin at gmail.com (michael franklin) Date: Tue, 24 Jul 2012 14:44:40 -0700 Subject: Question mark for procedure Message-ID: Hi All, I've been making a list in excel that I want to paste into E-prime. Should be pretty straightforward, but strangely, I'm finding that although the names of the procedures match those already created in E-Prime, instead of creating the procedure, there's the question mark with circle around it. I attached a pic to show what I mean (so you can see that they do in fact have the same name). any ideas? -mf -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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: QuestionMarkProcedure.JPG Type: image/jpeg Size: 8700 bytes Desc: not available URL: From mcfarla9 at msu.edu Tue Jul 24 21:59:23 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 24 Jul 2012 17:59:23 -0400 Subject: Question mark for procedure In-Reply-To: Message-ID: Hmm, your attached image did not work for me (probably not a good idea to attach files to this mailing list anyway). That said, offhand, I wonder if your Procedure names paste in with any trailing spaces. You would not see those, and they would completely and invisibly mess things up, it has happened to us when copying & pasting file names from various sources into EP Lists. ----- David McFarlane E-Prime training online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) /---- Stock reminder: 1) I do not work for PST. 2) PST's trained staff take any and all questions at http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive to respond to all requests in 24-48 hours -- this is pretty much their substitute for proper documentation, so make full use of it. 3) In addition, PST takes questions at their Facebook page (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 ), and offers several instructional videos there and on their YouTube channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, though). 4) If you do get an answer from PST staff, please extend the courtesy of posting their reply back here for the sake of others. \---- At 7/24/2012 05:44 PM Tuesday, michael franklin wrote: >Hi All, >I've been making a list in excel that I want to paste into E-prime. >Should be pretty straightforward, but strangely, I'm finding that >although the names of the procedures match those already created in >E-Prime, instead of creating the procedure, there's the question mark >with circle around it. > >I attached a pic to show what I mean (so you can see that they do in >fact have the same name). > >any ideas? > >-mf -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 michael.steven.franklin at gmail.com Tue Jul 24 22:24:29 2012 From: michael.steven.franklin at gmail.com (michael franklin) Date: Tue, 24 Jul 2012 15:24:29 -0700 Subject: Question mark for procedure In-Reply-To: <500f1ad4.e34d320a.148d.4046SMTPIN_ADDED@gmr-mx.google.com> Message-ID: fixed it! damn those trailing spaces... thanks for the quick response. -mf On 7/24/12, David McFarlane wrote: > Hmm, your attached image did not work for me (probably not a good > idea to attach files to this mailing list anyway). > > That said, offhand, I wonder if your Procedure names paste in with > any trailing spaces. You would not see those, and they would > completely and invisibly mess things up, it has happened to us when > copying & pasting file names from various sources into EP Lists. > > ----- > David McFarlane > E-Prime training > online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx > Twitter: @EPrimeMaster (twitter.com/EPrimeMaster) > > /---- > Stock reminder: 1) I do not work for PST. 2) PST's trained staff > take any and all questions at > http://support.pstnet.com/e%2Dprime/support/login.asp , and they > strive to respond to all requests in 24-48 hours -- this is pretty > much their substitute for proper documentation, so make full use of > it. 3) In addition, PST takes questions at their Facebook page > (http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683 > ), and offers several instructional videos there and on their YouTube > channel (http://www.youtube.com/user/PSTNET ) (no Twitter feed yet, > though). 4) If you do get an answer from PST staff, please extend > the courtesy of posting their reply back here for the sake of others. > \---- > > > At 7/24/2012 05:44 PM Tuesday, michael franklin wrote: >>Hi All, >>I've been making a list in excel that I want to paste into E-prime. >>Should be pretty straightforward, but strangely, I'm finding that >>although the names of the procedures match those already created in >>E-Prime, instead of creating the procedure, there's the question mark >>with circle around it. >> >>I attached a pic to show what I mean (so you can see that they do in >>fact have the same name). >> >>any ideas? >> >>-mf > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To post to this group, send email to e-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 pauladonate at gmail.com Wed Jul 25 17:25:11 2012 From: pauladonate at gmail.com (Ana Paula Donate) Date: Wed, 25 Jul 2012 10:25:11 -0700 Subject: InLine: Image Message-ID: Hi for all, I've been add a inline before one slide because I want that the subject select a picture between two that she wants to do a question in another slide... But I don't know how I can make it. So, the idea is the subject choose one picture that will be a person who she will to do a question. the picture that the subject selected need to appear in the next slidedisplay with the five possible questions and, the next step, will be to chose one question. I tried to a Inline that when she press botton 1 or 2 need to appear the selected picture. How can I do it? I tried many things and is not working... Someone can help me? Thank you very much! -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/a0fAlJH5N9QJ. To post to this group, send email to e-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 Jul 26 18:00:08 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 26 Jul 2012 14:00:08 -0400 Subject: Hello All Message-ID: OK, I have been rereading a bunch of old E-Prime Group messages, and I just want to get this off my chest. Many of these messages start off, "Hello All". Am I the only native English speaker who finds this jarring? -- David McFarlane -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 Thu Jul 26 22:33:53 2012 From: baltimore.ben at gmail.com (ben robinson) Date: Thu, 26 Jul 2012 18:33:53 -0400 Subject: Hello All In-Reply-To: <501185aa.a66a320a.7a85.57c3SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Yes? On Thu, Jul 26, 2012 at 2:00 PM, David McFarlane wrote: > OK, I have been rereading a bunch of old E-Prime Group messages, and I just > want to get this off my chest. Many of these messages start off, "Hello > All". Am I the only native English speaker who finds this jarring? > > -- David McFarlane > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To post to this group, send email to e-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 Jul 26 22:42:01 2012 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 26 Jul 2012 18:42:01 -0400 Subject: Hello All In-Reply-To: Message-ID: Well, maybe it is just me. But I have been in a lot of places over a lot of time, and participated in many online discussion groups, and this is the only place where I have repeatedly encountered "Hello All" as a substitute for "Hello Everybody" or "Hello Everyone". Sorry to belabor this off-topic point. -- David McFarlane At 7/26/2012 06:33 PM Thursday, ben robinson wrote: >Yes? > >On Thu, Jul 26, 2012 at 2:00 PM, David McFarlane wrote: > > OK, I have been rereading a bunch of old E-Prime Group messages, and I just > > want to get this off my chest. Many of these messages start off, "Hello > > All". Am I the only native English speaker who finds this jarring? > > > > -- David McFarlane -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-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 yanhyu at gmail.com Thu Jul 26 23:45:41 2012 From: yanhyu at gmail.com (Yan Yu) Date: Thu, 26 Jul 2012 19:45:41 -0400 Subject: Hello All In-Reply-To: <5011c7bc.a66a320a.75ad.0ac0SMTPIN_ADDED@gmr-mx.google.com> Message-ID: Thanks for bringing it up. Next time I will use "Hello Everyone". On Thu, Jul 26, 2012 at 6:42 PM, David McFarlane wrote: > Well, maybe it is just me. But I have been in a lot of places over a lot > of time, and participated in many online discussion groups, and this is the > only place where I have repeatedly encountered "Hello All" as a substitute > for "Hello Everybody" or "Hello Everyone". > > Sorry to belabor this off-topic point. > > -- David McFarlane > > > > At 7/26/2012 06:33 PM Thursday, ben robinson wrote: > >> Yes? >> >> On Thu, Jul 26, 2012 at 2:00 PM, David McFarlane >> wrote: >> > OK, I have been rereading a bunch of old E-Prime Group messages, and I >> just >> > want to get this off my chest. Many of these messages start off, "Hello >> > All". Am I the only native English speaker who finds this jarring? >> > >> > -- David McFarlane >> > > -- > You received this message because you are subscribed to the Google Groups > "E-Prime" group. > To post to this group, send email to e-prime at googlegroups.com. > To unsubscribe from this group, send email to e-prime+unsubscribe@** > googlegroups.com . > For more options, visit 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 scruffybumblebee at gmail.com Fri Jul 27 17:08:10 2012 From: scruffybumblebee at gmail.com (Becks) Date: Fri, 27 Jul 2012 10:08:10 -0700 Subject: Soundout, stop offset and buffers Message-ID: Hello everyone, I am trying to run a soundout object using a slide, to continue for around 510000ms after the slide (using "Stop After = No"). The soundfile is 1800000ms long, and I have set the stop offset at 510000ms. However, the sound stops after 140ms. I haven't found much information on using stop offset online/in manuals. Could the sound ending before the stop offset be due to the sound buffer? Any help would be much appreciated, many thanks. -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/B6C_DWySoiAJ. To post to this group, send email to e-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 scruffybumblebee at gmail.com Fri Jul 27 18:18:22 2012 From: scruffybumblebee at gmail.com (Becks) Date: Fri, 27 Jul 2012 11:18:22 -0700 Subject: Soundout, stop offset and buffers In-Reply-To: Message-ID: Well, I've just realised that the soundfile will play for its entire duration if I don't specify a stop offset time, so will work around the problem by creating a soundfile of the exact length I need. However, this isn't very flexible and is very inelegant. Moreover, I'd like to know *why*the stop offset doesn't work as I expected, so I'd still be very grateful if anyone can shed some light on this! Many thanks On Friday, 27 July 2012 13:08:10 UTC-4, Becks wrote: > Hello everyone, > > I am trying to run a soundout object using a slide, to continue for around > 510000ms after the slide (using "Stop After = No"). The soundfile is > 1800000ms long, and I have set the stop offset at 510000ms. However, the > sound stops after 140ms. I haven't found much information on using stop > offset online/in manuals. Could the sound ending before the stop offset be > due to the sound buffer? > Any help would be much appreciated, many thanks. > -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/k4He4xRVIKwJ. To post to this group, send email to e-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 mkclairhong at gmail.com Fri Jul 27 18:41:31 2012 From: mkclairhong at gmail.com (newbie) Date: Fri, 27 Jul 2012 11:41:31 -0700 Subject: Rondomized Responses In-Reply-To: <35d2c667-863a-43d9-83c5-71b0f41ead49@googlegroups.com> Message-ID: Hi Anne-Will, Thank you so much for your detailed and kind response. I've been keep running into trouble with coding "numberoftrials" and I was wondering if there's any abbreviation for that when I write it on the script. If so, could you please let me know? I've been searching for the right way to code it for days but still can't quite figure it out :( Thank you so much again! On Tuesday, July 17, 2012 6:55:42 PM UTC-4, Anne-Wil wrote: > > Hi Newbie, > > I believe the problem lies with this line: Encoding2List.SetAttrib i, > "IntegrationResp", response > > You're very close when you suspect 'i'. Note the 'i' in the above > mentioned line? What it does is write the response that is given (response) > into the attribute "integrationResp" of the list called "Encoding2List" at > the i'th level. So.... during trial1 of the EncodingList1 'i'= 1, and the > response is therefore written to the first (ith) level of Encoding2List. > Since Encodinglist is, at that point, already randomized, the response is > coded into the same listlevel (= info for a single trial) as the randomly > chosen stimulusword for the i'th trial of that second list. Therefore the > responses appear in the same order as given in the first round, whereas the > stimuluswords do not. > > If the first list is not in a random order, than you could set the > secondlist to sequential order too and randomize it with an inline AFTER > the responses in the first round have been coded into the attribute > "integrationresp". However, it is unlikely that your first round is not > randomized and if I understand your code correctly, there is even a third > round. > > So... instead.... I think you could store the responses given into an > array that consists of two columns and as many rows as you have trials in a > round, but this requires a bit more code. I'll ramble something down that > is NOT tested and might therefore not work at all (and will need some > modifications from your side anyways - but I got this impression that you > know your way around code and this might be just the push that gets you on > track again). > > **** > Dim StoreResponseArray (numberoftrials -1, 2) as string > **** > ^ that one defines the array as having a numberoftrials-1 number of levels > and 2 (or 3... columns) and it should be on the usertab of the > scriptwindow; the -1 thingy is because level 0 is also taken into account > and you would then end up with an 'empty' trial later on. The 'bonus' > 0-column won't pose a problem. > > Then, starting from the code you provided, I'd end up with: > > **** > IntegrationString = Integration.RESP > IntegrationString = ReplaceString(IntegrationString, "{SPACE}", " ") > IntegrationString = ReplaceString(IntegrationString, "{SHIFT}", "") > IntegrationString = ReplaceString(IntegrationString, "{ENTER}", " ") > IntegrationString = ReplaceString(IntegrationString, "{,}", ",") > IntegrationString = ReplaceString(IntegrationString, "{.}", ".") > IntegrationString = ReplaceString(IntegrationString, "{F1}", "") > IntegrationString = ReplaceString(IntegrationString, "{!}", "") > IntegrationString = ReplaceString(IntegrationString, "{'}", "") > IntegrationString = ReplaceString(IntegrationString, "{(}", "") > IntegrationString = ReplaceString(IntegrationString, "{)}", "") > IntegrationString = ReplaceString(IntegrationString, "{/}", "") > IntegrationString = ReplaceString(IntegrationString, "{?}", "") > IntegrationString = ReplaceString(IntegrationString, "{:}", "") > IntegrationString = ReplaceString(IntegrationString, "{;}", "") > c.SetAttribAtSource "IntegrationResp", IntegrationString > > For i = 1 to numberoftrials > StoreResponseArray (i-1,2) = Encoding1List.GetAttrib(i, "IntegrationResp") > StoreResponseArray (i-1,1) = Encoding1List.GetAttrib(i, > "STIMULUSATTRIBUTE") > Next i > > **** > > ^ this code goes after EncodingList1. Following this code, the > StoreResponseArray contains all the stimuluswords in the 1th collumn (which > might actually be the second because it starts counting at 0, but that on a > side note) while the values of integrationresp are now stored in the second > (third...) column. It has again a -1 construction; as opposed to the > previous one (where you should just give in 49 if you have 50 trials etc) > this "i-1" construction should be kept in the code (due to the i = 1 to > numberoftrials thing). > > The array can than be randomized, which will result in the order of the > levels getting randomized, but the pairs between the two columns remaining > together, after which you can use the info to (re)fill the encoding2list, > and after that randomize it's order: > > ********* > RandomizeArray StoreResponseArray > > For i = 1 to numberoftrials > > Encoding2List.SetAttrib i, "STIMULUSWORDS", StoreResponseArray (i-1, 1) > > Encoding2List.SetAttrib i, "IntegrationResp", StoreResponseArray (i-1, 2) > > next i > > Encoding2List.random (<= pretty sure this is not the right command - but > got no e-prime at hand to check what it should be, some line that tells > e-prime to randomize that list) > > Encoding2List.reset > > *** > > I think that that should work.... now the previous given answer should be > in the Encoding2List at the same level as the stimulus it was given to. > > Good luck! Please let me know if/when you got it to work (and also if not > :) ). > > Best, > > liw > > On Tuesday, 17 July 2012 22:02:18 UTC+2, newbie wrote: >> >> Hi all,I'm currently working on a research about involuntary memory and >> we have been using Eprime to present picture-sound pairs. >> The participants are asked to look at the picture and hear the sound, and >> type a sentence that comes to their mind. >> They go through this process twice, and the order of picture-sound pairs >> are different in two lists, so that we can make sure the "memory" is not >> affected by the order. When they see and listen to the sound for the second >> time, they're asked to modify their sentences from the first round and we >> present the response from the first round as well (so that they can see >> what they typed initially and modify if they want) >> >> However, the problem is that the responses they typed for the first list >> appear in the same order in the next list while the picture-sound pairs are >> in a different order. >> So for example, if Participant A typed "dog" for his first answer during >> the first round, "dog" would appear as the previous answer for his first >> picture-sound pairing for the second round even if the picture-sound pair >> that's presented to him would be a different pair from the first experiment. >> >> >> >> The code for this is, >> * >> First list* >> >> IntegrationString = Integration.RESP >> IntegrationString = ReplaceString(IntegrationString, "{SPACE}", " ") >> IntegrationString = ReplaceString(IntegrationString, "{SHIFT}", "") >> IntegrationString = ReplaceString(IntegrationString, "{ENTER}", " ") >> IntegrationString = ReplaceString(IntegrationString, "{,}", ",") >> IntegrationString = ReplaceString(IntegrationString, "{.}", ".") >> IntegrationString = ReplaceString(IntegrationString, "{F1}", "") >> IntegrationString = ReplaceString(IntegrationString, "{!}", "") >> IntegrationString = ReplaceString(IntegrationString, "{'}", "") >> IntegrationString = ReplaceString(IntegrationString, "{(}", "") >> IntegrationString = ReplaceString(IntegrationString, "{)}", "") >> IntegrationString = ReplaceString(IntegrationString, "{/}", "") >> IntegrationString = ReplaceString(IntegrationString, "{?}", "") >> IntegrationString = ReplaceString(IntegrationString, "{:}", "") >> IntegrationString = ReplaceString(IntegrationString, "{;}", "") >> c.SetAttribAtSource "IntegrationResp", IntegrationString >> >> For i = 1 to Encoding1List.Size >> response = Encoding1List.GetAttrib(i, "IntegrationResp") >> Encoding2List.SetAttrib i, "IntegrationResp", response >> Next i >> >> >> *Second list* >> >> Integration2String = Integration2.RESP >> Integration2String = ReplaceString(Integration2String, "{SPACE}", " ") >> Integration2String = ReplaceString(Integration2String, "{SHIFT}", "") >> Integration2String = ReplaceString(Integration2String, "{ENTER}", " ") >> Integration2String = ReplaceString(Integration2String, "{,}", ",") >> Integration2String = ReplaceString(Integration2String, "{.}", ".") >> Integration2String = ReplaceString(Integration2String, "{F1}", "") >> Integration2String = ReplaceString(Integration2String, "{!}", "") >> Integration2String = ReplaceString(Integration2String, "{'}", "") >> Integration2String = ReplaceString(Integration2String, "{(}", "") >> Integration2String = ReplaceString(Integration2String, "{)}", "") >> Integration2String = ReplaceString(Integration2String, "{/}", "") >> Integration2String = ReplaceString(Integration2String, "{?}", "") >> Integration2String = ReplaceString(Integration2String, "{:}", "") >> Integration2String = ReplaceString(Integration2String, "{;}", "") >> >> c.SetAttribAtSource "Integration2Resp", Integration2String >> >> >> For i = 1 to Encoding2List.Size >> response = Encoding2List.GetAttrib(i, "IntegrationResp") >> Encoding3List.SetAttrib i, "IntegrationResp", response >> Next i >> >> >> >> >> I feel like the problem would be resolved if I correct my "i= _____" but >> I've been keep failing to make the right modification for the code. >> It will be great if you could let me know how I would be able to fix it! >> >> Thank you so much >> >> -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/uLdZkJj_y_wJ. To post to this group, send email to e-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 liwenna at gmail.com Sat Jul 28 15:17:39 2012 From: liwenna at gmail.com (Anne-Wil) Date: Sat, 28 Jul 2012 08:17:39 -0700 Subject: Rondomized Responses In-Reply-To: <779d6933-42c0-42b7-bcec-ca0b8fff626d@googlegroups.com> Message-ID: Hi newbie, Just replace "numberoftrials" with the number of trials you have... I.e. if there are 20 trials per list: For i = 1 to numberoftrials becomes For i = 1 to 20 Best, AW -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/auWnPTvpcxYJ. To post to this group, send email to e-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 mtvinski at gmail.com Tue Jul 31 07:54:15 2012 From: mtvinski at gmail.com (mvinski) Date: Tue, 31 Jul 2012 00:54:15 -0700 Subject: A Previously Working Experiment Crashes When Starting Message-ID: Hello fellow Eprimers, My experiment was working just fine yesterday, but now whenever I try to start it the program crashes. Any thoughts? Thanks in advance, Melaina -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/xdRIj7Rhn-sJ. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladude626 at gmail.com Tue Jul 31 18:58:52 2012 From: ladude626 at gmail.com (Khu) Date: Tue, 31 Jul 2012 11:58:52 -0700 Subject: Dual Task (One is experimenter-paced, the other is participant-paced) Message-ID: Hi, I'm trying to program a dual task in which participants are presented with a series of pictures that appear for 3 seconds each. At the same time, they are completing a secondary letter detection task in which they hear different letters of the alphabet and must enter a corresponding key. I want this secondary task to be participant-paced meaning that the next letter is presented after they enter a response. Also, I want the program to exit as soon as 10 pictures appear whether or not the letter detection task is done. I've downloaded the dual task example on pstnet support but it does not appear to work the way I want it to. Specifically, the pictures change every time I enter a response for the secondary task rather than after every 3 seconds. I guess the difference between my experiment and the example is that both of the tasks in the example are experimenter-paced whereas in my experiment, one is experimenter-paced and one is participant-paced. Any help would be greatly appreciated! Thanks! Khuyen -- You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com. To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/5LqQJvDzvL0J. For more options, visit https://groups.google.com/groups/opt_out. -------------- next part -------------- An HTML attachment was scrubbed... URL: