From fahadahmad100 at gmail.com Sun Aug 3 16:43:59 2008 From: fahadahmad100 at gmail.com (Psychologue) Date: Sun, 3 Aug 2008 09:43:59 -0700 Subject: Stroop experiment, a number of issues to be resolved. In-Reply-To: <89e92559-6f5d-4a14-8bb2-b4014cc84b29@34g2000hsf.googlegroups.com> Message-ID: Hello Mr.Ben Meyers, Thank you for the help. The only problem I am still unable to solve is the bar graph. Can you be more "Explicit" in the solution you provide, since I am E-prime newbie and not an expert. I gather there are two ways to create a continous bar graph. Here's a response from Mr.McFarlane to Dina. Can you explain clearly how I could implement the bar graph continous feedback in the e-prime experiment using the slide or framesize method or the inline script canvas.rectangle method? 1.Using the slide method."To add a bar chart, you probably want to use slides. If you are very careful with frame sizes you might be able to add new screens without overwriting the bar graph, otherwise just add the bar graph as a slide element wherever you need it.Here is how I created a simple bar display for one program. On a SlideImage, I added an empty text sub-object. On that sub-object I made the BackColor something visible (e.g., red), gave it some constant width, then made the height an attribute reference (e.g., [BarHt]). Then I had to add some inline script using c.SetAttrib to set BarHt as appropriate each time. That made a variable height bar, but you will have to work out the math details yourself. To add a frame around the variable height bar, I added another empty text sub- object. I made it the same width as the bar, set its height to the maximum bar height, gave it a positive border width, and set its BackStyle to transparent. I superimposed it on the bar, and set its layer position to in front of the bar. Voila, a nice variable-height bar in a fixed frame. My Question: *2.However, In one condition(a seperate e-prime experiment) same setup in terms of training sessions and phases but with feedback(the Individualized and adaptive feedback condition). -"This condition has a bar graph that remains displayed throughout the entire training session and keeps track of current performance relative to the average of previous performance on the same type of trial (i.e. if the participant's reaction time on the third neutral trial is 1500ms and the average of the first two neutral trials is 900ms, the bar graph for neutral trials should increase in size and turn red)". How would I code this in E-Prime?* I could write the canvas.rectangle script in inline, but how would the rectangle be changed according to the reaction times of the participant? How would I do this using the frame size method? Thank you for your help again Fahad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 yellowistheone at hotmail.com Mon Aug 4 08:07:23 2008 From: yellowistheone at hotmail.com (yellow23) Date: Mon, 4 Aug 2008 01:07:23 -0700 Subject: Serious problem - ePrime crashes Message-ID: Hello. I have installed Version 2.0.8.22 of EPrime. As I start to work on ANY experiment, the program crashes. The message says: "A serious problem has been detected, EPrime needs to be shut down". Is there anything I can try ? I have re-de- and installed several version - same problem everywhere. First I thought this was a problem caused by copying and pasting text boxes out of other experiments, but it happens with new experiments, too. I am running Windows XP SP 3, the problem also occurs on another computer with SP 2. The program runs until I actively alter a slide or start to type something. However, the intervall between starting to work and the error message varies. Thanks for your help! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From ddiodati at gmail.com Tue Aug 5 15:02:41 2008 From: ddiodati at gmail.com (David) Date: Tue, 5 Aug 2008 08:02:41 -0700 Subject: Comparing Strings Message-ID: Hello, I am trying to compare two strings, and mark correct answers as 1 and incorrect as 0. This is my inline: If EmotionPerceived = c.GetAttrib("Emotion") Then NameEmotion.ACC = 1 Else NameEmotion.ACC = 0 End If I have a similar inline in a different eprime and it seems to work fine. It is almost like this one doesn't even register. It compiles fine, but does not change the NameEmotion.ACC value in the edat file. Any help is much appreciated, David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 hftibboel at gmail.com Tue Aug 5 15:24:55 2008 From: hftibboel at gmail.com (Helen Tibboel) Date: Tue, 5 Aug 2008 17:24:55 +0200 Subject: Comparing Strings In-Reply-To: Message-ID: Hello, Are you sure that both strings are actually read as strings? You can convert an expression using the "CStr" function. Kind regards, Helen On 8/5/08, David wrote: > > > Hello, > > I am trying to compare two strings, and mark correct answers as 1 and > incorrect as 0. This is my inline: > > If EmotionPerceived = c.GetAttrib("Emotion") Then > NameEmotion.ACC = 1 > > Else > NameEmotion.ACC = 0 > > End If > > I have a similar inline in a different eprime and it seems to work > fine. It is almost like this one doesn't even register. It compiles > fine, but does not change the NameEmotion.ACC value in the edat file. > > Any help is much appreciated, > > David > > > -- "I had a beautiful signature in those days, intricate, oriental, illegible, with a mighty slashing underscore, a signature more complex than that of the great Hackmuth." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 ddiodati at gmail.com Tue Aug 5 15:37:57 2008 From: ddiodati at gmail.com (David) Date: Tue, 5 Aug 2008 08:37:57 -0700 Subject: Comparing Strings In-Reply-To: Message-ID: Thank you for your response. I changed it to: If Cstr(EmotionPerceived) = Cstr(c.GetAttrib("Emotion")) Then NameEmotion.ACC = 1 Else NameEmotion.ACC = 0 End If And still no luck. If it helps, please see below for my complete inline: Thanks again, David Dim EmotionPerceived As String If NameEmotion.RESP = "p" Then Goto jump1 If c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If Cstr(EmotionPerceived) = Cstr(c.GetAttrib("Emotion")) Then NameEmotion.ACC = 1 Else NameEmotion.ACC = 0 End If On Aug 5, 11:24 am, "Helen Tibboel" wrote: > Hello, > Are you sure that both strings are actually read as strings? You can convert > an expression using the "CStr" function. > Kind regards, > Helen > > On 8/5/08, David wrote: > > > > > > > Hello, > > > I am trying to compare two strings, and mark correct answers as 1 and > > incorrect as 0. This is my inline: > > > If EmotionPerceived = c.GetAttrib("Emotion") Then > > NameEmotion.ACC = 1 > > > Else > > NameEmotion.ACC = 0 > > > End If > > > I have a similar inline in a different eprime and it seems to work > > fine. It is almost like this one doesn't even register. It compiles > > fine, but does not change the NameEmotion.ACC value in the edat file. > > > Any help is much appreciated, > > > David > > -- > "I had a beautiful signature in those days, intricate, oriental, illegible, > with a mighty slashing underscore, a signature more complex than that of the > great Hackmuth." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 ddiodati at gmail.com Tue Aug 5 16:09:36 2008 From: ddiodati at gmail.com (David) Date: Tue, 5 Aug 2008 09:09:36 -0700 Subject: Comparing Strings In-Reply-To: <6E3FDD28350CF344AC283906612E40C3018CFF26@ex2.casl.umd.edu> Message-ID: That did it! Thanks very much. On Aug 5, 11:53 am, "Susan G. Campbell" wrote: > Hi David, > > I think you'll want to use c.GetAttrib("EmotionPerceived") rather than > EmotionPerceived in your logical test there -- it looks like you're > setting an attribute in those earlier if statements, not assigning a > variable. > > HTH, > Susan > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On > > Behalf Of David > Sent: Tuesday, August 05, 2008 11:38 AM > To: E-Prime > Subject: Re: Comparing Strings > > Thank you for your response. I changed it to: > > If Cstr(EmotionPerceived) = Cstr(c.GetAttrib("Emotion")) Then > NameEmotion.ACC = 1 > > Else > NameEmotion.ACC = 0 > > End If > > And still no luck. If it helps, please see below for my complete > inline: > > Thanks again, > > David > > Dim EmotionPerceived As String > > If NameEmotion.RESP = "p" Then Goto jump1 > > If c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = > c.GetAttrib ("Text1") Then > c.SetAttrib "EmotionPerceived", "Anger" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") > = c.GetAttrib ("Text2") Then > c.SetAttrib "EmotionPerceived", "Sad" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") > = c.GetAttrib ("Text3") Then > c.SetAttrib "EmotionPerceived", "Surprise" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") > = c.GetAttrib ("Text4") Then > c.SetAttrib "EmotionPerceived", "Disgust" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") > = c.GetAttrib ("Text5") Then > c.SetAttrib "EmotionPerceived", "Neutral" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") > = c.GetAttrib ("Text6") Then > c.SetAttrib "EmotionPerceived", "Happy" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") > = c.GetAttrib ("Text7") Then > c.SetAttrib "EmotionPerceived", "Fear" > End If > > If c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = > c.GetAttrib ("Text1") Then > c.SetAttrib "EmotionPerceived", "Anger" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") > = c.GetAttrib ("Text2") Then > c.SetAttrib "EmotionPerceived", "Sad" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") > = c.GetAttrib ("Text3") Then > c.SetAttrib "EmotionPerceived", "Surprise" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") > = c.GetAttrib ("Text4") Then > c.SetAttrib "EmotionPerceived", "Disgust" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") > = c.GetAttrib ("Text5") Then > c.SetAttrib "EmotionPerceived", "Neutral" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") > = c.GetAttrib ("Text6") Then > c.SetAttrib "EmotionPerceived", "Happy" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") > = c.GetAttrib ("Text7") Then > c.SetAttrib "EmotionPerceived", "Fear" > End If > > If c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = > c.GetAttrib ("Text1") Then > c.SetAttrib "EmotionPerceived", "Anger" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") > = c.GetAttrib ("Text2") Then > c.SetAttrib "EmotionPerceived", "Sad" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") > = c.GetAttrib ("Text3") Then > c.SetAttrib "EmotionPerceived", "Surprise" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") > = c.GetAttrib ("Text4") Then > c.SetAttrib "EmotionPerceived", "Disgust" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") > = c.GetAttrib ("Text5") Then > c.SetAttrib "EmotionPerceived", "Neutral" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") > = c.GetAttrib ("Text6") Then > c.SetAttrib "EmotionPerceived", "Happy" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") > = c.GetAttrib ("Text7") Then > c.SetAttrib "EmotionPerceived", "Fear" > End If > > If c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = > c.GetAttrib ("Text1") Then > c.SetAttrib "EmotionPerceived", "Anger" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") > = c.GetAttrib ("Text2") Then > c.SetAttrib "EmotionPerceived", "Sad" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") > = c.GetAttrib ("Text3") Then > c.SetAttrib "EmotionPerceived", "Surprise" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") > = c.GetAttrib ("Text4") Then > c.SetAttrib "EmotionPerceived", "Disgust" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") > = c.GetAttrib ("Text5") Then > c.SetAttrib "EmotionPerceived", "Neutral" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") > = c.GetAttrib ("Text6") Then > c.SetAttrib "EmotionPerceived", "Happy" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") > = c.GetAttrib ("Text7") Then > c.SetAttrib "EmotionPerceived", "Fear" > End If > > If c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = > c.GetAttrib ("Text1") Then > c.SetAttrib "EmotionPerceived", "Anger" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") > = c.GetAttrib ("Text2") Then > c.SetAttrib "EmotionPerceived", "Sad" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") > = c.GetAttrib ("Text3") Then > c.SetAttrib "EmotionPerceived", "Surprise" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") > = c.GetAttrib ("Text4") Then > c.SetAttrib "EmotionPerceived", "Disgust" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") > = c.GetAttrib ("Text5") Then > c.SetAttrib "EmotionPerceived", "Neutral" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") > = c.GetAttrib ("Text6") Then > c.SetAttrib "EmotionPerceived", "Happy" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") > = c.GetAttrib ("Text7") Then > c.SetAttrib "EmotionPerceived", "Fear" > End If > > If c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = > c.GetAttrib ("Text1") Then > c.SetAttrib "EmotionPerceived", "Anger" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") > = c.GetAttrib ("Text2") Then > c.SetAttrib "EmotionPerceived", "Sad" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") > = c.GetAttrib ("Text3") Then > c.SetAttrib "EmotionPerceived", "Surprise" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") > = c.GetAttrib ("Text4") Then > c.SetAttrib "EmotionPerceived", "Disgust" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") > = c.GetAttrib ("Text5") Then > c.SetAttrib "EmotionPerceived", "Neutral" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") > = c.GetAttrib ("Text6") Then > c.SetAttrib "EmotionPerceived", "Happy" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") > = c.GetAttrib ("Text7") Then > c.SetAttrib "EmotionPerceived", "Fear" > End If > > If c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = > c.GetAttrib ("Text1") Then > c.SetAttrib "EmotionPerceived", "Anger" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") > = c.GetAttrib ("Text2") Then > c.SetAttrib "EmotionPerceived", "Sad" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") > = c.GetAttrib ("Text3") Then > c.SetAttrib "EmotionPerceived", "Surprise" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") > = c.GetAttrib ("Text4") Then > c.SetAttrib "EmotionPerceived", "Disgust" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") > = c.GetAttrib ("Text5") Then > c.SetAttrib "EmotionPerceived", "Neutral" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") > = c.GetAttrib ("Text6") Then > c.SetAttrib "EmotionPerceived", "Happy" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") > = c.GetAttrib ("Text7") Then > c.SetAttrib "EmotionPerceived", "Fear" > End If > > If Cstr(EmotionPerceived) = Cstr(c.GetAttrib("Emotion")) Then > NameEmotion.ACC = 1 > > Else > NameEmotion.ACC = 0 > > End If > > On Aug 5, 11:24 am, "Helen Tibboel" wrote: > > Hello, > > Are you sure that both strings are actually read as strings? You can > convert > > an expression using the "CStr" function. > > Kind regards, > > Helen > > > On 8/5/08, David wrote: > > > > Hello, > > > > I am trying to compare two strings, and mark correct answers as 1 > and > > > incorrect as 0. This is my inline: > > > > If EmotionPerceived = c.GetAttrib("Emotion") Then > > > NameEmotion.ACC = 1 > > > > Else > > > NameEmotion.ACC = 0 > > > > End If > > > > I have a similar inline in a different eprime and it seems to work > > > fine. It is almost like this one doesn't even register. It compiles > > > fine, but does not change the NameEmotion.ACC value in the edat > file. > > > > Any help is much appreciated, > > > > David > > > -- > > "I had a beautiful signature in those days, intricate, oriental, > illegible, > > with a mighty slashing underscore, a signature more complex than that > of the > > great Hackmuth." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 scampbell at casl.umd.edu Tue Aug 5 15:53:45 2008 From: scampbell at casl.umd.edu (Susan G. Campbell) Date: Tue, 5 Aug 2008 11:53:45 -0400 Subject: Comparing Strings In-Reply-To: Message-ID: Hi David, I think you'll want to use c.GetAttrib("EmotionPerceived") rather than EmotionPerceived in your logical test there -- it looks like you're setting an attribute in those earlier if statements, not assigning a variable. HTH, Susan -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of David Sent: Tuesday, August 05, 2008 11:38 AM To: E-Prime Subject: Re: Comparing Strings Thank you for your response. I changed it to: If Cstr(EmotionPerceived) = Cstr(c.GetAttrib("Emotion")) Then NameEmotion.ACC = 1 Else NameEmotion.ACC = 0 End If And still no luck. If it helps, please see below for my complete inline: Thanks again, David Dim EmotionPerceived As String If NameEmotion.RESP = "p" Then Goto jump1 If c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If Cstr(EmotionPerceived) = Cstr(c.GetAttrib("Emotion")) Then NameEmotion.ACC = 1 Else NameEmotion.ACC = 0 End If On Aug 5, 11:24 am, "Helen Tibboel" wrote: > Hello, > Are you sure that both strings are actually read as strings? You can convert > an expression using the "CStr" function. > Kind regards, > Helen > > On 8/5/08, David wrote: > > > > > > > Hello, > > > I am trying to compare two strings, and mark correct answers as 1 and > > incorrect as 0. This is my inline: > > > If EmotionPerceived = c.GetAttrib("Emotion") Then > > NameEmotion.ACC = 1 > > > Else > > NameEmotion.ACC = 0 > > > End If > > > I have a similar inline in a different eprime and it seems to work > > fine. It is almost like this one doesn't even register. It compiles > > fine, but does not change the NameEmotion.ACC value in the edat file. > > > Any help is much appreciated, > > > David > > -- > "I had a beautiful signature in those days, intricate, oriental, illegible, > with a mighty slashing underscore, a signature more complex than that of the > great Hackmuth." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 deedeevau at hotmail.com Wed Aug 6 16:31:30 2008 From: deedeevau at hotmail.com (Dina) Date: Wed, 6 Aug 2008 09:31:30 -0700 Subject: Re-run practice trials inline problem Message-ID: Dear E-primers, At the moment, I'm programming a task with a practice block at the start and which has to "re-run until all correct". My triallist consists of: 4 levels, each level has weight = 3, "CorrectAnswer" column and a "Correct" column containing 4 zero's. I used this in other tasks as well and it always worked well. However, in this task, the programme crashes after I do the whole practiceblock. On purpose I made mistakes and the programme should have let me proceed to a text-object stating I made a mistake and I have to try again and rerun the practiceblock. Instead, it crashes and displays the following error message: Run-time Error (Line 425) -999: Factor Error: Level specified is not valid My "Need-to-rerun" inline object looks like the following: (the error seems to be in the part stating: If TrialListPractice.GetAttrib(i, "Correct") = "0" Then TrialListPractice.SetWeight i, 1) ' Examine the "Correct" attribute for all levels ' If Correct = 1, it was correct, so set weight to 0 (don't rerun) ' If Correct = 0, it was incorrect, so set weight to 1 to rerun If g_nErrorCount > 0 Then Dim i As Integer For i = 1 to g_nTotalLevels If TrialListPractice.GetAttrib(i, "Correct") = "0" Then TrialListPractice.SetWeight i, 1 Else TrialListPractice.SetWeight i, 0 End If Next i 'Reset TrialList with new values TrialListPractice.Reset 'Reset g_nErrorCount to keep track of new errors g_nErrorCount = 0 Else 'No error trials to run GoTo EndofBlock End If Does anybody have an idea of how I can solve this problem? Many thanks! Dina --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 undressmerobot at gmail.com Wed Aug 6 20:59:52 2008 From: undressmerobot at gmail.com (Spencer S) Date: Wed, 6 Aug 2008 13:59:52 -0700 Subject: Storing randomly assigned values over multiple sessions Message-ID: I currently have a paradigm which presents 100 pairs of words for 10 rounds, and the user responds if the correct answer is Word 1 or Word 2. The correct answer is randomly assigned during the first round, and stored in E-Prime so that accuracy can be checked on the nine subsequent rounds. In other words, 50 pairs have Word 1 as the correct word, and 50 pairs have Word 2 as the correct word. This is unknown before the first round, but set in stone by the end of the first round (randomly assigned by E-Prime). So, Round 1: E-Prime sets the CorrectAnswer. Rounds 2-10: E-Prime checks user response against CorrectAnswer for accuracy. I am moving to 200 pairs, and will be splitting the experiment into two days. Is there a way to have E-Prime somehow store the correct answer information such that it can be read by the program on Day 2? Right now I am opening the Edat file and manually copying and pasting the CorrectAnswer column into a separate E-Prime file. My guess is that E-Prime would have to write the correct answers to an external file on Day 1, and read them from that file on Day 2. Is this or something like this possible, or should I just set the correct answers manually? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 j.browndyke at duke.edu Thu Aug 7 18:23:36 2008 From: j.browndyke at duke.edu (Jeff) Date: Thu, 7 Aug 2008 11:23:36 -0700 Subject: Scanner trigger - how to ignore? Message-ID: Hello, Glad to find this bulletin board. We have a task coded in E-prime 1.2 for use in our 3T magnet with a Neuroscan response box. I currently have the task set up to recognize SRBOX buttons 1 and 2 (4-button box) during the task, however our *.edat files have "5" logged for each response row with often negative reaction times. Apparently this is the scanner trigger code, which is intruding upon the task and not allowing the proper 1 and 2 SRBOX responses to be logged. Here's the response I got from our IT guys, who is not an E-prime user, but thought it might be helpful in ferreting out the problem: The 4 buttons send data codes 1,2,4,8 which ePrime recognizes as buttons 1-4. The scanner trigger pulse is (and I believe always has been) connected as button 5 and sends a 16 code every time the scanner pulses (1/TR). I believe that is the standard ePrime arrangement. You can set your input parameters to expect button 5 as a trigger start signal, and then only pay attention to buttons 1-4 for user responses. So, is there anyway to turn off the scanner trigger pulse in E-prime or just to ignore it. I'm not interested in e-Prime triggering, as its just as easy (if not easier) to have the tech hit a key on the scanner and a key to start the task at the same time. Please help. Thanks, Jeff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 nick.peatfield at gmail.com Mon Aug 11 15:46:08 2008 From: nick.peatfield at gmail.com (Nick) Date: Mon, 11 Aug 2008 08:46:08 -0700 Subject: Screen Capture Message-ID: Hi there, I am trying to capture my experiment into a movie, and for some odd reason it is unable to capture the screen. I don't just want screen shots, I want the ability to be able to record a 10 sec clip of my experiment. I have tried quite a few screen recording software, but each time I get a display drawing error. Added to this is messes around with the gamma of the screen. Hopefully I will find the solution but any help would be greatly appreciated. Nick PS. Using EPrime 1.2 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 hejibo at gmail.com Mon Aug 11 16:02:03 2008 From: hejibo at gmail.com (He Jibo) Date: Mon, 11 Aug 2008 11:02:03 -0500 Subject: Screen Capture In-Reply-To: <745a703f-8ba2-4a82-933f-7be52da81563@8g2000hse.googlegroups.com> Message-ID: Dear Nick, I have wrote a python script to do screen shots at fixed intervals. if you needed, please write to jibohe2 at uiuc.edu He Jibo hejibo at gmail.com jibohe2 at cyrus.psych.uiuc.edu --------------------------- He Jibo Department of Psychology, Beckman Institute for Advanced Science and Technology University of Illinois, Urbana Champaign, 603 East Daniel St., Champaign, IL 61820 Tel: 217-244-4461(office) 217-244-6763(lab) Email: hejibo at gmail.com Joan Crawford - "I, Joan Crawford, I believe in the dollar. Everything I earn, I spend." On Mon, Aug 11, 2008 at 10:46 AM, Nick wrote: > > Hi there, > > I am trying to capture my experiment into a movie, and for some odd > reason it is unable to capture the screen. I don't just want screen > shots, I want the ability to be able to record a 10 sec clip of my > experiment. I have tried quite a few screen recording software, but > each time I get a display drawing error. Added to this is messes > around with the gamma of the screen. > > Hopefully I will find the solution but any help would be greatly > appreciated. > > Nick > > PS. > > Using EPrime 1.2 > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 askaikai at gmail.com Mon Aug 11 16:05:00 2008 From: askaikai at gmail.com (akiko) Date: Mon, 11 Aug 2008 09:05:00 -0700 Subject: avoid repeating trial type? In-Reply-To: <745a703f-8ba2-4a82-933f-7be52da81563@8g2000hse.googlegroups.com> Message-ID: Hello, I'm new to E-prime and trying to run a visual search experiment. There are 12 possible locations that Target could appear, each target location happens 3 times in 1 run. I'd like to randomize trials, but target location should not repeat. Trials are listed in a List object ("trialList"), which has a Procedure called "search". My most recent effort is to write the following InLine script at the top of the "search" Procedure, but it doesn't work... If TrialNum > 1 Then If lastTarLoc = c.GetAttrib("tarLocation") Then trialList.Terminate End If End If where "lastTarloc" is the target location of the previous trial (made in the end of each trial) and "tarLocation" is the location of the current trial. I'm guessing I have to use InLine and/or Label to do this, but I don't know where to put it, and how it should be used. If anyone knows how to do this, or knows of any example available online, please let me know. Thanks in advance! Akiko --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 nick.peatfield at gmail.com Tue Aug 12 08:57:56 2008 From: nick.peatfield at gmail.com (Nick) Date: Tue, 12 Aug 2008 01:57:56 -0700 Subject: Screen Capture In-Reply-To: <1846b545-fa43-4145-adcf-628978b6a048@59g2000hsb.googlegroups.com> Message-ID: Sorry Askai but could you not edit the discussion subject. Instead make a new post!!! Cheers, Nick On Aug 11, 5:05 pm, akiko wrote: > Hello, > > I'm new to E-prime and trying to run a visual search experiment. > There are 12 possible locations that Target could appear, each target > location happens 3 times in 1 run. I'd like to randomize trials, but > target location should not repeat. Trials are listed in a List object > ("trialList"), which has a Procedure called "search". > > My most recent effort is to write the following InLine script at the > top of the "search" Procedure, but it doesn't work... > > If TrialNum > 1 Then > If lastTarLoc = c.GetAttrib("tarLocation") Then > trialList.Terminate > End If > End If > > where "lastTarloc" is the target location of the previous trial (made > in the end of each trial) and "tarLocation" is the location of the > current trial. I'm guessing I have to use InLine and/or Label to do > this, but I don't know where to put it, and how it should be used. > > If anyone knows how to do this, or knows of any example available > online, please let me know. > Thanks in advance! > Akiko --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 nick.peatfield at gmail.com Tue Aug 12 09:05:57 2008 From: nick.peatfield at gmail.com (Nick) Date: Tue, 12 Aug 2008 02:05:57 -0700 Subject: Screen Capture In-Reply-To: Message-ID: Thanks Jibo. I actually in the end managed to screen capture and make a movie. It was possible with SnagIt 9.0. Cheers, Nick On Aug 11, 5:02 pm, "He Jibo" wrote: > Dear Nick, > > I have wrote a python script to do screen shots at fixed intervals. if you > needed, please write to jibo... at uiuc.edu > > He Jibo > hej... at gmail.com > jibo... at cyrus.psych.uiuc.edu > > --------------------------- > He Jibo > Department of Psychology, > Beckman Institute for Advanced Science and Technology > University of Illinois, Urbana Champaign, > 603 East Daniel St., > Champaign, IL 61820 > Tel: 217-244-4461(office) > 217-244-6763(lab) > Email: hej... at gmail.com > Joan Crawford - "I, Joan Crawford, I believe in the dollar. Everything I > earn, I spend." > > On Mon, Aug 11, 2008 at 10:46 AM, Nick wrote: > > > Hi there, > > > I am trying to capture my experiment into a movie, and for some odd > > reason it is unable to capture the screen. I don't just want screen > > shots, I want the ability to be able to record a 10 sec clip of my > > experiment. I have tried quite a few screen recording software, but > > each time I get a display drawing error. Added to this is messes > > around with the gamma of the screen. > > > Hopefully I will find the solution but any help would be greatly > > appreciated. > > > Nick > > > PS. > > > Using EPrime 1.2 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 lennertz.t at gmail.com Tue Aug 12 16:19:53 2008 From: lennertz.t at gmail.com (Tracy) Date: Tue, 12 Aug 2008 09:19:53 -0700 Subject: Calling a second trial procedure within a procedure Message-ID: I'm trying to program a visual AX identity task, in which participants see a written stimuli (A, e.g., blow), a mask (e.g., XXXXXX), followed by a written stimulus (X, e.g., below) -- and are then asked to determine if A and X are identical (e.g., press 1 if identical, 2 if not). My experiment has 288 of these trials. I'd like to add a second trial procedure to my experiment, in which participants are presented A, mask, X (as usual) -- but instead of determining if the items are identical -- I'd like them to be prompted after the presentation of X to spell either A or X (the spelling directions will be explicit for each trial, as to whether A or X should be spelled). I'd like them to type their response using the keyboard. These spelling trials should occur randomly (about one in every six normal experimental trials) -- so participants cannot predict when exactly the next spelling trial would occur. I'm having difficulty implementing this design. Where do I place the spelling trial procedure in regard to the normal AX procedure? How can I ensure a spelling trial is chosen randomly about once in every six trials, such that the spelling trials are sampled without replacement? Thanks very much for your help, Tracy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 satrevik at gmail.com Thu Aug 14 07:51:34 2008 From: satrevik at gmail.com (=?ISO-8859-1?Q?Bj=F8rn_S=E6trevik?=) Date: Thu, 14 Aug 2008 00:51:34 -0700 Subject: Calling a second trial procedure within a procedure In-Reply-To: <97af26be-b9f8-4225-a788-5f8213bac0fb@t54g2000hsg.googlegroups.com> Message-ID: Hi Tracy, I would start out with one list (e.g. "TrialList") containing all your 288 trials (with one attribute for stimulus A and one attribute for stimulus X). Every level of "TrialList" should contain a procedure (e.g. "PresentStimulus") that presents A and the mask, and then runs a new list (e.g. "TaskList"). "TaskList" should run randomly, and have five levels that contains one procedure (e.g. "ComparisonTask"), and one level that runs a different procedure (e.g. "IdentificationTask"). "ComparisonTask" and "IdentificationTask" should contain different objects for instructions and responses. You could state the correct answer for each task in two different attributes on the "TrialList" level, and in the "TaskList" you could have an attribute that reference to the "TrialList" level attribute that should currently be used, and then have your response object refer to the "TaskList" level attribute as "Correct response". I hope this helps, Bjørn On Aug 12, 6:19 pm, Tracy wrote: > I'm trying to program a visual AX identity task, in which participants > see a written stimuli (A, e.g., blow), a mask (e.g., XXXXXX), followed > by a written stimulus (X, e.g., below) -- and are then asked to > determine if A and X are identical (e.g., press 1 if identical, 2 if > not). My experiment has 288 of these trials. > > I'd like to add a second trial procedure to my experiment, in which > participants are presented A, mask, X (as usual) -- but instead of > determining if the items are identical -- I'd like them to be prompted > after the presentation of X to spell either A or X (the spelling > directions will be explicit for each trial, as to whether A or X > should be spelled). I'd like them to type their response using the > keyboard. These spelling trials should occur randomly (about one in > every six normal experimental trials) -- so participants cannot > predict when exactly the next spelling trial would occur. > > I'm having difficulty implementing this design. Where do I place the > spelling trial procedure in regard to the normal AX procedure? > > How can I ensure a spelling trial is chosen randomly about once in > every six trials, such that the spelling trials are sampled without > replacement? > > Thanks very much for your help, > Tracy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 askaikai at gmail.com Mon Aug 18 16:41:39 2008 From: askaikai at gmail.com (akiko) Date: Mon, 18 Aug 2008 09:41:39 -0700 Subject: avoid repeating trial type? Message-ID: Hello, I'm new to E-prime and trying to run a visual search experiment. There are 12 possible locations that Target could appear, each target location happens 3 times in 1 run. Subjects make an eye movement to the target location (scored after the experiment). So, there is no input fro the subjects during the experiment. I'd like to randomize trials, but target location should not repeat. Trials are listed in a List object ("trialList"), which has a Procedure called "search". My most recent effort is to write the following InLine script at the top of the "search" Procedure, but it doesn't work... If TrialNum > 1 Then If lastTarLoc = c.GetAttrib("tarLocation") Then trialList.Terminate End If End If where "lastTarloc" is the target location of the previous trial (made in the end of each trial) and "tarLocation" is the location of the current trial. I'm guessing I have to use InLine and/or Label to do this, but I don't know where to put it, and how it should be used. If anyone knows how to do this, or knows of any example available online, please let me know. Thanks in advance! Akiko --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 ascott0704 at yahoo.com Mon Aug 18 21:01:18 2008 From: ascott0704 at yahoo.com (Speechy) Date: Mon, 18 Aug 2008 14:01:18 -0700 Subject: Range for Response Time??? Message-ID: I want to be able to determine quickly after the presentation of a treatment trial whether a person responds within a criterion response time (RT) range. I'm wondering whether E-prime could be programmed with that RT range, and to provide some sort of signal if a response was outside that range? Do you have any idea if/how I can accomplish this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 mary.koziura at gmail.com Mon Aug 18 21:28:45 2008 From: mary.koziura at gmail.com (Mary) Date: Mon, 18 Aug 2008 14:28:45 -0700 Subject: Radio Buttons in E-Prime Message-ID: Hello, I am trying to essentially use radio buttons as you would in Microsoft visual studio and/or other programs in E-Prime by inserting a script into an inline slide. I was wondering if this was even possible to use radio buttons in e-prime. And was wondering if anyone actually had a script that would work to achieve this desired design in the experiment. Thanks! -Mary --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 MsDanaSchneider at gmail.com Tue Aug 19 04:45:54 2008 From: MsDanaSchneider at gmail.com (MsDanaSchneider at gmail.com) Date: Mon, 18 Aug 2008 21:45:54 -0700 Subject: response dependence Message-ID: Hello. I am trying to work out how e-prime gives me a response dependent slide/stimuli/pic. Task: Descison making> Posner cueing task> correct or incorrect feedback slide. Any help would be highly appreciates. All the best Dana --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 Aug 19 16:05:58 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 19 Aug 2008 12:05:58 -0400 Subject: response dependence In-Reply-To: <541db5f7-d23b-4725-8382-820f3790e2fe@n38g2000prl.googlegro ups.com> Message-ID: Dana, >I am trying to work out how e-prime gives me a response dependent >slide/stimuli/pic. Here is what I would do. Start a new program in E-Studio. Add two objects to the SessionProc: TextDisplay1 and FeedbackDisplay1. On FeedbackDisplay1, set Input Object Name to TextDisplay1. Then generate the program, and look at the full script, in the "Implementation" section. Notice the long If ... Then ... Else ... statement, containing lines like FeedbackDisplay1.ActiveState = "Correct". See how E-Prime automatically makes code for response-dependent slides using FeedbackDisplays (which are really just specialized Slide objects) and then explore and adapt from there. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From lucia.pozzan at gmail.com Tue Aug 19 17:43:03 2008 From: lucia.pozzan at gmail.com (Lucia Pozzan) Date: Tue, 19 Aug 2008 13:43:03 -0400 Subject: error 91 Message-ID: Hello! I am using the advanced input mask with the echo client in order to have subjects type in their answers. I followed the instructions Matt gave ( http://support.pstnet.com/forum/Topic671-5-1.aspx#bm1292) and the experiment is working but I still have a problem: -if, on the keybord advanced options I leave blank the Termination Response, the subjects' responses do not get recorded. If I don't leave it blank, like Matt suggested (and hence use something like {ENTER} as a termination response), the program is terminated and I receive the message Error 91: object variable or with block response not set. Can anybody help? Thanks so much, Lucia Pozzan Language Acquisition Research Center 514 Thomas Hunter Hall Department of Psychology, Hunter College - CUNY 695 Park Avenue, New York, NY, 10065, USA little.linguist at hunter.cuny.edu www.hunter.cuny.edu/littlelinguist tel: (212) 772-5557; fax: (212) 650-3247 ------------------------------ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 pooja.k.agarwal at gmail.com Sun Aug 24 19:05:45 2008 From: pooja.k.agarwal at gmail.com (Pooja) Date: Sun, 24 Aug 2008 12:05:45 -0700 Subject: Scrolling in Eprime? Message-ID: I'd like to create an Eprime program, similar to those used in SAT and GRE practice tests, where I can show a long passage on the left (which requires the user to scroll down in order to view the entire passage) along with multiple choice questions on the right. I'd like the user to have access to the entire passage (e.g., if they scroll down, they can still scroll back up, and vice versa). It doesn't appear that a long text/image/slide automatically creates a scroll. Is there a way to program this manually? Thanks! (Cross posted on the PTS forum website) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 thenillebraun at yahoo.com.br Mon Aug 25 13:40:36 2008 From: thenillebraun at yahoo.com.br (thenillebraun) Date: Mon, 25 Aug 2008 06:40:36 -0700 Subject: experiment design Message-ID: Hello. I've been trying to desing an experiment in e-prime which participants would have to tap the fingger at the same time that visual stimuli flash in the center of the computer. This stimulus its like a point flashing in 800 msec, in a second trial the time is 400 msec, then 200 msec and so on. How can I desing this experiment with flashing stimuli? Any help would be highly appreciates. All the best Thenille Braun. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 lucia.pozzan at gmail.com Mon Aug 25 19:03:20 2008 From: lucia.pozzan at gmail.com (Lucia Pozzan) Date: Mon, 25 Aug 2008 15:03:20 -0400 Subject: Error 91 Message-ID: Hello again! I posted this a couple days ago but didn't get a response. Sorry to clog up the list but i thought there might be a chance someone would see it today who didn't before. This problem is driving me crazy ;-) I am using the advanced input mask with the echo client in order to have subjects type in their answers. I followed the instructions Matt gave ( http://support.pstnet.com/forum/Topic671-5-1.aspx#bm1292) and the experiment is working but I still have a problem: -If, on the keybord advanced options I leave blank the Termination Response, the subjects' responses do not get recorded. -If, on the other hand, I don't leave it blank and, like Matt suggested, I use {ENTER} (or {ESC}) as a termination response, the program gets immediately terminated and I receive the message "Error 91: object variable or with block response not set". Can anybody help? Thanks so much, ~~Lucia Pozzan Language Acquisition Research Center 514 Thomas Hunter Hall Department of Psychology, Hunter College - CUNY 695 Park Avenue, New York, NY, 10065, USA little.linguist at hunter.cuny.edu www.hunter.cuny.edu/littlelinguist tel: (212) 772-5557; fax: (212) 650-3247 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 mplenhart at gmail.com Tue Aug 26 15:07:59 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 26 Aug 2008 08:07:59 -0700 Subject: Error 91 In-Reply-To: Message-ID: Hi Lucia, I'd be happy to take a look at this and help you with troubleshooting. Attachments are a bit difficult in Google Groups, but please feel free to attach your experiment here or on the PST User Forum (in the thread that you linked to). If you would prefer to keep your experiment private, please create a support request on the PST Support Site and I will assign it to myself (http://www.pstnet.com/e-prime/support/). Thank you for your time. Matt Lenhart PST Technical Consultant http://www.pstnet.com On Aug 25, 3:03 pm, "Lucia Pozzan" wrote: > Hello again! > I posted this a couple days ago but didn't get a response. Sorry to clog up > the list but i thought there might be a chance someone would see it today > who didn't before. This problem is driving me crazy ;-) > > I am using the advanced input mask with the echo client in order to have > subjects type in their answers. > I followed the instructions Matt gave (http://support.pstnet.com/forum/Topic671-5-1.aspx#bm1292) > and the experiment is working but I still have a problem: > -If, on the keybord advanced options I leave blank the Termination Response, > the subjects' responses do not get recorded. > -If, on the other hand, I don't leave it blank and, like Matt suggested, I > use {ENTER} (or {ESC}) as a termination response, the program gets > immediately terminated and I receive the message "Error 91: object variable > or with block response not set". > > Can anybody help? > Thanks so much, > > ~~Lucia Pozzan > > Language Acquisition Research Center > 514 Thomas Hunter Hall > Department of Psychology, Hunter College - CUNY > 695 Park Avenue, New York, NY, 10065, USA > little.lingu... at hunter.cuny.eduwww.hunter.cuny.edu/littlelinguist > tel: (212) 772-5557; fax: (212) 650-3247 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 mplenhart at gmail.com Tue Aug 26 15:23:02 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 26 Aug 2008 08:23:02 -0700 Subject: experiment design In-Reply-To: Message-ID: Hi Thenille, The most common options for presenting flashing stimuli in E-Prime are: 1) If you are using E-Prime 2.0, create and present a movie file with the desired effect. 2) Use InLine script and the Canvas object to quickly present and remove images and/or text, creating a "flashing" effect. If you are unfamiliar with the use of the Canvas object, I would recommend taking a look at the Canvas topic in the E-Basic help (accessed via the Help menu in E-Studio). The basic functions of the Canvas object are presenting text, images, and shapes on the screen. The text, images, and shapes can be removed by "clearing" the Canvas (i.e., screen). 3) Use InLine script and a Slide object to present a "flashing" effect. Slide sub-objects can be accessed in InLine script and their properties can be changed in real time. This requires a very specific technique so that the Slide object can be presented on screen while InLine script is running. In the FIles section, take a look at the Process Responses Template sample for an example of how this is done. Essentially, the Slide object's Duration is set to 0, while the End Action is set to "none" and the Time Limit is set to however long you want to allow the subject to respond. Because of this, the object will be presented on screen and E-Prime will then immediately begin running InLine script. You should be able to adapt the sample directly to your purposes. The primary change would be that your experiment will alter the color of the Slide object at regular intervals, rather than waiting for a response from the subject. If you have any questions, please let me know. Matt PST Technical Consultant http://www.pstnet.com On Aug 25, 9:40 am, thenillebraun wrote: > Hello. > > I've been trying to desing an experiment in e-prime which participants > would have to tap the fingger at the same time that visual stimuli > flash in the center of the computer. This stimulus its like a point > flashing in 800 msec, in a second trial the time is 400 msec, then 200 > msec and so on. > > How can I desing this experiment with flashing stimuli? > Any help would be highly appreciates. > > All the best > Thenille Braun. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 mplenhart at gmail.com Tue Aug 26 16:29:20 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 26 Aug 2008 09:29:20 -0700 Subject: Scrolling in Eprime? In-Reply-To: Message-ID: Hello, It is possible to implement "scrolling" text in E-Prime. However, this must be done manually using InLine script. I have attached a very basic example of how this could be done in the Files section of this group (i.e., ScrollingText.es). Essentially, a SlideText sub-object is created and its proportions are configured to be larger than the screen (thus creating the need to scroll the text). Another SlideText sub-object is used to present instructions to the subject. The Slide object's Duration is set to 0, while its Time Limit is set to "infinite" and its End Action is set to "none". The only allowable responses are the down arrow, up arrow, and Enter keys. The Enter key is used as the termination response. The Max Count (i.e., maximum allowed responses) is set extremely high so that the subject can scroll freely. This configuration results in the Stimulus appearing on screen while the InLine script is running in the background. This script does nothing except monitor incoming responses and moving the SlideText sub- object presenting the target text. This results in a "scrolling" effect as the subject presses the down and up arrow keys. All that is occurring is that the script gains access to the SlideText sub-object and then moves the Y position of the SlideText up or down as necessary. A "ceiling" and "floor" for the Y position is implemented so that the text is never off-screen. The attributes in the TrialList are used to implement the "celing" and "floor" as well as to define the size and starting position of the text. This allows text of varying length to be presented. Please let me know if you have any questions about this sample. - Matt PST Technical Consultant http://pstnet.com On Aug 24, 3:05 pm, Pooja wrote: > I'd like to create an Eprime program, similar to those used in SAT and > GRE practice tests, where I can show a long passage on the left (which > requires the user to scroll down in order to view the entire passage) > along with multiple choice questions on the right. I'd like the user > to have access to the entire passage (e.g., if they scroll down, they > can still scroll back up, and vice versa). > > It doesn't appear that a long text/image/slide automatically creates a > scroll. Is there a way to program this manually? > > Thanks! > > (Cross posted on the PTS forum website) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 mplenhart at gmail.com Tue Aug 26 16:34:37 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 26 Aug 2008 09:34:37 -0700 Subject: Radio Buttons in E-Prime In-Reply-To: <2c4ba98c-ee6b-479a-9634-89ead7b84d49@x41g2000hsb.googlegroups.com> Message-ID: Hi Mary, While this is possible, it cannot be done directly through the E-Prime interface. What you would need to do is use two images - one would be an "empty" (not selected) radio button while the other would be a "full" (selected) radio button. You could then present these images as needed via a Slide object or the Canvas object. Script would be necessary in order to fill the radio button when it is clicked and/or empty the previously selected radio button should a new one be selected. I would recommend taking a look at the LoadImageUponMouseClick.zip sample experiment I have uploaded in the Files section. This example is very close to what you have described, except that you would replace the "checkbox" images with radio button images. Note that this example allows the subject to select multiple items. Typically, radio buttons allow for only one response, so additional script would be necessary to restrict the subject in this manner. Please let me know if you have any questions about the sample. - Matt PST Technical Consultant http://www.pstnet.com On Aug 18, 5:28 pm, Mary wrote: > Hello, > I am trying to essentially use radio buttons as you would in Microsoft > visual studio and/or > other programs in E-Prime by inserting a script into an inline slide. > I was wondering if this > was even possible to use radio buttons in e-prime. And was wondering > if anyone actually had a script that would work to achieve this > desired design in the experiment. Thanks! > -Mary --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 mplenhart at gmail.com Tue Aug 26 16:37:48 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 26 Aug 2008 09:37:48 -0700 Subject: Range for Response Time??? In-Reply-To: <0f3e1771-f854-4764-aa5f-d610c72f3fa3@i76g2000hsf.googlegroups.com> Message-ID: Hello, You should be able to handle this using a bit of InLine script following the object collecting the response. That is, if you want to determine whether the criterion was met immediately after each subject's response, you could use script similar to the following (assuming the response object's name is Stimulus): If Stimulus.RT < lowerBound Or Stimulus.RT > upperBound Then 'Insert script to handle a response time out of the specified range. End If You would simply replace lowerBound and upperBound with the values you want to specify for your range. The script inside the If...Then statement can be anything you like to signal that a response time outside the range was detected (e.g., playing a sound file, etc). Please let me know if you have any questions. - Matt PST Technical Consultant http://www.pstnet.com On Aug 18, 5:01 pm, Speechy wrote: > I want to be able to determine quickly after the presentation of a > treatment trial whether a person responds within a criterion response > time (RT) range. I'm wondering whether E-prime could be programmed > with that RT range, and to provide some sort of signal if a response > was outside that range? Do you have any idea if/how I can accomplish > this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 lucia.pozzan at gmail.com Tue Aug 26 18:34:30 2008 From: lucia.pozzan at gmail.com (Lucia Pozzan) Date: Tue, 26 Aug 2008 14:34:30 -0400 Subject: Error 91 In-Reply-To: Message-ID: Dear Matt, Thank you so much for getting back to me. We were finally able to solve the problem: it was due to an interference of the keyboard termination response with the fact we had already set a mouse termination response (by the subject having to click on a next-button). Thanks so much for your time, Lucia Pozzan Language Acquisition Research Center 514 Thomas Hunter Hall Department of Psychology, Hunter College - CUNY 695 Park Avenue, New York, NY, 10065, USA little.linguist at hunter.cuny.edu www.hunter.cuny.edu/littlelinguist tel: (212) 772-5557; fax: (212) 650-3247 On Tue, Aug 26, 2008 at 11:07 AM, Matt Lenhart wrote: > > Hi Lucia, > > I'd be happy to take a look at this and help you with troubleshooting. > Attachments are a bit difficult in Google Groups, but please feel free > to attach your experiment here or on the PST User Forum (in the thread > that you linked to). If you would prefer to keep your experiment > private, please create a support request on the PST Support Site and I > will assign it to myself (http://www.pstnet.com/e-prime/support/). > > Thank you for your time. > > Matt Lenhart > PST Technical Consultant > http://www.pstnet.com > > > On Aug 25, 3:03 pm, "Lucia Pozzan" wrote: > > Hello again! > > I posted this a couple days ago but didn't get a response. Sorry to clog > up > > the list but i thought there might be a chance someone would see it today > > who didn't before. This problem is driving me crazy ;-) > > > > I am using the advanced input mask with the echo client in order to have > > subjects type in their answers. > > I followed the instructions Matt gave ( > http://support.pstnet.com/forum/Topic671-5-1.aspx#bm1292< > https://webmail.hunter.cuny.edu/wm/mail/fetch.html?urlid=46729a94ca25...>) > > and the experiment is working but I still have a problem: > > -If, on the keybord advanced options I leave blank the Termination > Response, > > the subjects' responses do not get recorded. > > -If, on the other hand, I don't leave it blank and, like Matt suggested, > I > > use {ENTER} (or {ESC}) as a termination response, the program gets > > immediately terminated and I receive the message "Error 91: object > variable > > or with block response not set". > > > > Can anybody help? > > Thanks so much, > > > > ~~Lucia Pozzan > > > > Language Acquisition Research Center > > 514 Thomas Hunter Hall > > Department of Psychology, Hunter College - CUNY > > 695 Park Avenue, New York, NY, 10065, USA > > little.lingu... at hunter.cuny.eduwww.hunter.cuny.edu/littlelinguist > > tel: (212) 772-5557; fax: (212) 650-3247 > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 t1msky at yahoo.co.uk Wed Aug 27 12:09:50 2008 From: t1msky at yahoo.co.uk (Victor) Date: Wed, 27 Aug 2008 05:09:50 -0700 Subject: defining valid combinations Message-ID: Hi I am relatively new to eprime and trying to build an experiment where people are asked to try and find the correct combination to a lock. Participants are asked to input 4 numbers (1-4) and then press enter. Each number can only be used once in each entry, so there are 24 possible valid responses. The correct combination will be defined as the 5th distinct response that is entered and subsequently rewarded each time it is input over approx 100 trials. What i would like to know is how to define valid responses and return an error message if an invalid response is input? I would also like to know how to record correct responses based on the 5th distinct response input by the participant? Any help will be greatly appreciated. Many thanks Tim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 mplenhart at gmail.com Wed Aug 27 12:51:45 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Wed, 27 Aug 2008 05:51:45 -0700 Subject: defining valid combinations In-Reply-To: <4d7b66db-2e2e-4b81-a4d4-a9f099b56286@m45g2000hsb.googlegroups.com> Message-ID: Hi Tim, In general, your responses from the subject will follow the format of XXXX{ENTER} where the X's represent the numbers 1-4. At this point, there are two ways to determine if a valid response has been made. You can either parse through the response and check for repeated numbers, or you can compare the entire response to a list of valid responses. In cases where there are a very large number of responses, I would recommend the former. However, since you have only 24 valid responses, I would strongly recommend the latter, since it requires far less script, and the script it does require is far less complex. To start, you would need to create a global array that will hold the 24 valid responses. Global variables are those that are declared on the User tab of the Script window and retain their value throughout the course of the experiment. They can also be accessed from any level within the experiment. First, open the Script window via the View menu in E-Studio, or by pressing ALT+5. Then, click the User tab. You can declare your array as follows: Dim arrValid(24) As String This array is now ready for use within your experiment. Place an InLine at the start of the SessionProc and load each valid response into the array. To make things easier, include the {ENTER} special key in the valid response. For example: arrValid(1) = "1234{ENTER}" arrValid(2) = "1324{ENTER}" ... And so on. Then, you would place an InLine immediately following the object that collects the subjects response to check the validity. This would consist of using a loop to check the response against each value in the array. If a match is found, you could set a flag variable and exit the loop: Dim boolMatch As Boolean boolMatch = False Dim nCount As Integer For nCount = 1 To UBound(arrValid) If Stimulus.RESP = arrValid(nCount) Then boolMatch = True Exit For End If Next This script assumes that the object collecting the response is named Stimulus. After this loop has ended, you can then check the value of boolMatch to see if a match has been made, and then take the necessary action. If the response is not valid, you can jump back to the response object using a Label (e.g., place a Label object immediately before the response object, and then use a Goto command in your script to jump to the name of the Label - Goto Label1, etc). For the second part of your question, you would need to add a bit more script that uses the script you have already created to make decisions. If I understand your description correctly, the correct response would be defined as the 5th distinct response entered by the subject, regardless of what it is. If this is the case, then you will need to use another array to store the valid responses that have already been made. Now, you will not only be checking the subject's responses against the list of valid responses, but also against the list of responses that have already been made. Both of these conditions would need to be met in order to add it to the list of valid responses that have been made. You can then jump back to the response object if necessary until you have 5 valid responses. Once 5 valid responses have been made (i.e., the second array of 5 slots you have created is full - that is, none of the slots have "" as their value), the correct response has been entered (i.e., the value of the 5th slot in the array). You can then use this response on subsequent trials as necessary. If you need more information about the script necessary to do this, I would recommend taking a look at the Array topic in the E-Basic Help (accessed via the Help menu in E-Studio). You may also want to look at the For...Next topic. Please let me know if you have any quesitons. -Matt PST Technical Consultant http://www.pstnet.com/ On Aug 27, 8:09 am, Victor wrote: > Hi > > I am relatively new to eprime and trying to build an experiment where > people are asked to try and find the correct combination to a lock. > Participants are asked to input 4 numbers (1-4) and then press enter. > Each number can only be used once in each entry, so there are 24 > possible valid responses. The correct combination will be defined as > the 5th distinct response that is entered and subsequently rewarded > each time it is input over approx 100 trials. > > What i would like to know is how to define valid responses and return > an error message if an invalid response is input? > I would also like to know how to record correct responses based on the > 5th distinct response input by the participant? > > Any help will be greatly appreciated. > > Many thanks > > Tim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 thenillebraun at yahoo.com.br Wed Aug 27 13:17:17 2008 From: thenillebraun at yahoo.com.br (Thenille Braun) Date: Wed, 27 Aug 2008 06:17:17 -0700 Subject: Res: experiment design Message-ID: Hi Matt, thank you very much for your attention. I'll work on it. I've started to work with e prime 2 months ago, and I have a few problems to solve yet. The experiment I described in my last email would have two different stimuli - in 1 group the participants will have to tap their fingger with auditory stim. , and this experiment I was able to develop - I created the wave fills in Sound Forge. But the 2 group must to do the same thing with visual stim. (flashing) and this I am not able to design. I'm sending my filles to you. It would be great if you take a look and help me with this. And I'm working with e prime 1.0 Could you help me to write the InLine scripts? This will be wonderfull ... Thank you soo much! All the best! Thenille. ----- Mensagem original ---- De: Matt Lenhart Para: E-Prime Enviadas: Terça-feira, 26 de Agosto de 2008 12:23:02 Assunto: Re: experiment design Hi Thenille, The most common options for presenting flashing stimuli in E-Prime are: 1) If you are using E-Prime 2.0, create and present a movie file with the desired effect. 2) Use InLine script and the Canvas object to quickly present and remove images and/or text, creating a "flashing" effect. If you are unfamiliar with the use of the Canvas object, I would recommend taking a look at the Canvas topic in the E-Basic help (accessed via the Help menu in E-Studio). The basic functions of the Canvas object are presenting text, images, and shapes on the screen. The text, images, and shapes can be removed by "clearing" the Canvas (i.e., screen). 3) Use InLine script and a Slide object to present a "flashing" effect. Slide sub-objects can be accessed in InLine script and their properties can be changed in real time. This requires a very specific technique so that the Slide object can be presented on screen while InLine script is running. In the FIles section, take a look at the Process Responses Template sample for an example of how this is done. Essentially, the Slide object's Duration is set to 0, while the End Action is set to "none" and the Time Limit is set to however long you want to allow the subject to respond. Because of this, the object will be presented on screen and E-Prime will then immediately begin running InLine script. You should be able to adapt the sample directly to your purposes. The primary change would be that your experiment will alter the color of the Slide object at regular intervals, rather than waiting for a response from the subject. If you have any questions, please let me know. Matt PST Technical Consultant http://www.pstnet.com On Aug 25, 9:40 am, thenillebraun wrote: > Hello. > > I've been trying to desing an experiment in e-prime which participants > would have to tap the fingger at the same time that visual stimuli > flash in the center of the computer. This stimulus its like a point > flashing in 800 msec, in a second trial the time is 400 msec, then 200 > msec and so on. > > How can I desing this experiment with flashing stimuli? > Any help would be highly appreciates. > > All the best > Thenille Braun. Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com. http://br.new.mail.yahoo.com/addresses --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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: E Prime Thenille.zip Type: application/x-zip-compressed Size: 75040 bytes Desc: not available URL: From mplenhart at gmail.com Wed Aug 27 14:37:10 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Wed, 27 Aug 2008 07:37:10 -0700 Subject: Res: experiment design In-Reply-To: <305490.18399.qm@web34802.mail.mud.yahoo.com> Message-ID: Hi Thenille, You can take a look at the experiment "Process Responses Template Flash.es" that has been added to the Files section. This is a very basic experiment based off of Process Responses Template.es. This follows option 3 provided in my previous response. Essentially, a loop is used immediately following the response object (which has its Duration set to 0). This loop runs continuously until 10 seconds have passed (the Time Limit property of the response object has been set to 10000). The loop will change the background color of the SlideText sub- object every 100ms to present a flashing effect. The subject can respond multiple times during this time (the Max Count property of the response object has been set to 99999 and the End Action has been set to none). A response count is reported on the stimulus as a reference. The script gains access to the Slide object and changes the BackColor property every iteration through the loop. The Slide object is then redrawn. Though this may not be exactly what you will be presenting in your task, you should be able to use the methods demonstrated and apply them to your task (e.g., if you are presenting a flashing dot, you would change the Text property from blank to "." every 100ms, etc). Please let me know if you have any questions. - Matt PST Technical Consultant http://www.pstnet.com/ On Aug 27, 9:17 am, Thenille Braun wrote: > Hi Matt, > thank you very much for your attention. > I'll work on it. > I've started to work with e prime 2 months ago, and I have a few problems to solve yet. > The experiment I described in my last email would have two different stimuli - in 1 group the participants will have to tap their fingger with auditory stim. , and this experiment I was able to develop - I created the wave fills in Sound Forge. But the 2 group must to do the same thing with visual stim. (flashing) and this I am not able to design. > I'm sending my filles to you. It would be great if you take a look and help me with this. > And I'm working with e prime 1.0 > Could you help me to write the InLine scripts? This will be wonderfull ... > Thank you soo much! > All the best! > Thenille. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 mplenhart at gmail.com Wed Aug 27 14:40:12 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Wed, 27 Aug 2008 07:40:12 -0700 Subject: Res: experiment design In-Reply-To: <70fe8d4c-c11a-46ee-b2d9-2c921726dd64@k13g2000hse.googlegroups.com> Message-ID: Thenille, I apparently cannot upload any files at this time. I will e-mail the file to you. However, please post any responses to this thread. Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 jbpsy1 at gmail.com Wed Aug 27 15:24:31 2008 From: jbpsy1 at gmail.com (jbpsy1) Date: Wed, 27 Aug 2008 08:24:31 -0700 Subject: Color, Size, and Display Duration Randomization Message-ID: Hello, I have set up an experiment in which a series of objects (squares or x's), along with a tone, are presented quickly. We would like for the object's size (~5cm to 30cm screen image size, in 5cm intervals) and display duration (~75ms to 100ms in 5ms intervals) to be radomized between trials (1 trial= entire presentation of series), and the object's color (red, yellow, green, blue, orange) to be randomized within each trial. I've almost completely accomplished this task by creating extremely large lists that contain one instance of each parameter and randomizing selection within the list, but I know there has to be an easier way. Your help is greatly appreciated! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 flarn2008 at googlemail.com Wed Aug 27 17:31:19 2008 From: flarn2008 at googlemail.com (Anya) Date: Wed, 27 Aug 2008 10:31:19 -0700 Subject: can Eprime files created in Demo be converted to regular ones? Message-ID: Hello Please can anyone tell me how i can convert a bunch of files created in Demo to files under regular license? I now have the dongle and the serial number but my files were created in Demo. They are rather long and complex experiments and i really would not want to create them from scratch in the regular licensed version which i now have. Thanks very much! Anya --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 Wed Aug 27 17:36:29 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 27 Aug 2008 13:36:29 -0400 Subject: Color, Size, and Display Duration Randomization In-Reply-To: <221c94cf-d850-469f-8834-5bfde4260eb3@r66g2000hsg.googlegroups.com> Message-ID: jbpsy1, > I've almost completely accomplished this task by creating extremely > large lists that contain one instance of each parameter and > randomizing selection within the list, but I know there has to be an > easier way. Yes there is. Have you done the Nested Lists tutorial in the Getting Started Guide that came with E-Prime? Explore that and you should come up with a better solution. Cheers, -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From thenillebraun at yahoo.com.br Thu Aug 28 11:41:56 2008 From: thenillebraun at yahoo.com.br (Thenille Braun) Date: Thu, 28 Aug 2008 04:41:56 -0700 Subject: Res: Res: experiment design Message-ID: Hello Matt I appreciate your attention! Thank you soo much! I'm going to spand some time on this experiment. Thanks for sending me your fill. All the best. Thenille. ----- Mensagem original ---- De: Matt Lenhart Para: E-Prime Enviadas: Quarta-feira, 27 de Agosto de 2008 11:37:10 Assunto: Re: Res: experiment design Hi Thenille, You can take a look at the experiment "Process Responses Template Flash.es" that has been added to the Files section. This is a very basic experiment based off of Process Responses Template.es. This follows option 3 provided in my previous response. Essentially, a loop is used immediately following the response object (which has its Duration set to 0). This loop runs continuously until 10 seconds have passed (the Time Limit property of the response object has been set to 10000). The loop will change the background color of the SlideText sub- object every 100ms to present a flashing effect. The subject can respond multiple times during this time (the Max Count property of the response object has been set to 99999 and the End Action has been set to none). A response count is reported on the stimulus as a reference. The script gains access to the Slide object and changes the BackColor property every iteration through the loop. The Slide object is then redrawn. Though this may not be exactly what you will be presenting in your task, you should be able to use the methods demonstrated and apply them to your task (e.g., if you are presenting a flashing dot, you would change the Text property from blank to "." every 100ms, etc). Please let me know if you have any questions. - Matt PST Technical Consultant http://www.pstnet.com/ On Aug 27, 9:17 am, Thenille Braun wrote: > Hi Matt, > thank you very much for your attention. > I'll work on it. > I've started to work with e prime 2 months ago, and I have a few problems to solve yet. > The experiment I described in my last email would have two different stimuli - in 1 group the participants will have to tap their fingger with auditory stim. , and this experiment I was able to develop - I created the wave fills in Sound Forge. But the 2 group must to do the same thing with visual stim. (flashing) and this I am not able to design. > I'm sending my filles to you. It would be great if you take a look and help me with this. > And I'm working with e prime 1.0 > Could you help me to write the InLine scripts? This will be wonderfull ... > Thank you soo much! > All the best! > Thenille. Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com. http://br.new.mail.yahoo.com/addresses --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 t1msky at yahoo.co.uk Thu Aug 28 16:46:18 2008 From: t1msky at yahoo.co.uk (Victor) Date: Thu, 28 Aug 2008 09:46:18 -0700 Subject: defining valid combinations In-Reply-To: <45793a55-19a7-4e65-9648-d2189d3e4988@y21g2000hsf.googlegroups.com> Message-ID: Hi Matt Thanks for the response. I have completed the first part of the experiement but am all at sea with regards to the second. I have referred to the help section of E- studio but to no avail. I am unsure as to whether i should be setting up a dynamic or fixed array, nor how to fill it with responses input by participants. I have had many attempts and feel sure i am nowhere near to a solution :S Could you please provide further asisstance with regard to creating an array to select the 5th distinct valid combination as the correct response? Thanks again for your time and patience Regards Tim Matt Lenhart wrote: > Hi Tim, > > In general, your responses from the subject will follow the format of > XXXX{ENTER} where the X's represent the numbers 1-4. At this point, > there are two ways to determine if a valid response has been made. You > can either parse through the response and check for repeated numbers, > or you can compare the entire response to a list of valid responses. > In cases where there are a very large number of responses, I would > recommend the former. However, since you have only 24 valid responses, > I would strongly recommend the latter, since it requires far less > script, and the script it does require is far less complex. > > To start, you would need to create a global array that will hold the > 24 valid responses. Global variables are those that are declared on > the User tab of the Script window and retain their value throughout > the course of the experiment. They can also be accessed from any level > within the experiment. First, open the Script window via the View menu > in E-Studio, or by pressing ALT+5. Then, click the User tab. You can > declare your array as follows: > > Dim arrValid(24) As String > > This array is now ready for use within your experiment. Place an > InLine at the start of the SessionProc and load each valid response > into the array. To make things easier, include the {ENTER} special key > in the valid response. For example: > > arrValid(1) = "1234{ENTER}" > arrValid(2) = "1324{ENTER}" > ... > > And so on. Then, you would place an InLine immediately following the > object that collects the subjects response to check the validity. This > would consist of using a loop to check the response against each value > in the array. If a match is found, you could set a flag variable and > exit the loop: > > Dim boolMatch As Boolean > boolMatch = False > > Dim nCount As Integer > > For nCount = 1 To UBound(arrValid) > If Stimulus.RESP = arrValid(nCount) Then > boolMatch = True > Exit For > End If > Next > > This script assumes that the object collecting the response is named > Stimulus. After this loop has ended, you can then check the value of > boolMatch to see if a match has been made, and then take the necessary > action. If the response is not valid, you can jump back to the > response object using a Label (e.g., place a Label object immediately > before the response object, and then use a Goto command in your script > to jump to the name of the Label - Goto Label1, etc). > > For the second part of your question, you would need to add a bit more > script that uses the script you have already created to make > decisions. If I understand your description correctly, the correct > response would be defined as the 5th distinct response entered by the > subject, regardless of what it is. If this is the case, then you will > need to use another array to store the valid responses that have > already been made. Now, you will not only be checking the subject's > responses against the list of valid responses, but also against the > list of responses that have already been made. Both of these > conditions would need to be met in order to add it to the list of > valid responses that have been made. You can then jump back to the > response object if necessary until you have 5 valid responses. Once 5 > valid responses have been made (i.e., the second array of 5 slots you > have created is full - that is, none of the slots have "" as their > value), the correct response has been entered (i.e., the value of the > 5th slot in the array). You can then use this response on subsequent > trials as necessary. > > If you need more information about the script necessary to do this, I > would recommend taking a look at the Array topic in the E-Basic Help > (accessed via the Help menu in E-Studio). You may also want to look at > the For...Next topic. > > Please let me know if you have any quesitons. > > > -Matt > PST Technical Consultant > http://www.pstnet.com/ > > On Aug 27, 8:09�am, Victor wrote: > > Hi > > > > I am relatively new to eprime and trying to build an experiment where > > people are asked to try and find the correct combination to a lock. > > Participants are asked to input 4 numbers (1-4) and then press enter. > > Each number can only be used once in each entry, so there are 24 > > possible valid responses. The correct combination will be defined as > > the 5th distinct response that is entered and subsequently rewarded > > each time it is input over approx 100 trials. > > > > What i would like to know is how to define valid responses and return > > an error message if an invalid response is input? > > I would also like to know how to record correct responses based on the > > 5th distinct response input by the participant? > > > > Any help will be greatly appreciated. > > > > Many thanks > > > > Tim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 Aug 28 20:22:53 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 28 Aug 2008 16:22:53 -0400 Subject: defining valid combinations In-Reply-To: Message-ID: Tim, >I have referred to the help section of E-studio but to no avail. Just a general comment, that is the wrong help section if you want help with E-Basic constructs. For that you want to go to the E-Basic Help, i.e., Help > E-Basic Help (*not* Help Topics). -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From t1msky at yahoo.co.uk Fri Aug 29 10:15:08 2008 From: t1msky at yahoo.co.uk (Victor) Date: Fri, 29 Aug 2008 03:15:08 -0700 Subject: defining valid combinations In-Reply-To: <48b70922.8702be0a.398a.ffffa274SMTPIN_ADDED@mx.google.com> Message-ID: Hi David I have been using the E-basic Help. The problem that I have is not fully understanding VB. I have gotten away with bootstrapping until now by using other sample experiments. With the current problem, I can not find an example, nor am I sure if what I am writing is affecting the program in the way I intend, so I could be cose to a solution but I am probably more likely to be a million miles away. David McFarlane wrote: > Tim, > > >I have referred to the help section of E-studio but to no avail. > > Just a general comment, that is the wrong help section if you want > help with E-Basic constructs. For that you want to go to the E-Basic > Help, i.e., Help > E-Basic Help (*not* Help Topics). > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From olij85 at googlemail.com Sat Aug 30 11:42:23 2008 From: olij85 at googlemail.com (olij85 at googlemail.com) Date: Sat, 30 Aug 2008 04:42:23 -0700 Subject: Multiple response Timings in Eprime Message-ID: Hi there - I'm running an experiment where I am measuring response latencies (how long it takes for a patient to make their first response) and answer duration (the time between the stimuli onset and the last response) At the moment I am using visual wave software to measure each time by hand, which is a horrible process and wanted to do the remainder of the patients using eprime - but I can only time one response. Is there an easy way to make this happen - I've searched on google and there are only pages and pages of Ebasic code to sift through, and i'm sure it's only one or two lines that I need. Thanks very much Oli --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 fahadahmad100 at gmail.com Sun Aug 3 16:43:59 2008 From: fahadahmad100 at gmail.com (Psychologue) Date: Sun, 3 Aug 2008 09:43:59 -0700 Subject: Stroop experiment, a number of issues to be resolved. In-Reply-To: <89e92559-6f5d-4a14-8bb2-b4014cc84b29@34g2000hsf.googlegroups.com> Message-ID: Hello Mr.Ben Meyers, Thank you for the help. The only problem I am still unable to solve is the bar graph. Can you be more "Explicit" in the solution you provide, since I am E-prime newbie and not an expert. I gather there are two ways to create a continous bar graph. Here's a response from Mr.McFarlane to Dina. Can you explain clearly how I could implement the bar graph continous feedback in the e-prime experiment using the slide or framesize method or the inline script canvas.rectangle method? 1.Using the slide method."To add a bar chart, you probably want to use slides. If you are very careful with frame sizes you might be able to add new screens without overwriting the bar graph, otherwise just add the bar graph as a slide element wherever you need it.Here is how I created a simple bar display for one program. On a SlideImage, I added an empty text sub-object. On that sub-object I made the BackColor something visible (e.g., red), gave it some constant width, then made the height an attribute reference (e.g., [BarHt]). Then I had to add some inline script using c.SetAttrib to set BarHt as appropriate each time. That made a variable height bar, but you will have to work out the math details yourself. To add a frame around the variable height bar, I added another empty text sub- object. I made it the same width as the bar, set its height to the maximum bar height, gave it a positive border width, and set its BackStyle to transparent. I superimposed it on the bar, and set its layer position to in front of the bar. Voila, a nice variable-height bar in a fixed frame. My Question: *2.However, In one condition(a seperate e-prime experiment) same setup in terms of training sessions and phases but with feedback(the Individualized and adaptive feedback condition). -"This condition has a bar graph that remains displayed throughout the entire training session and keeps track of current performance relative to the average of previous performance on the same type of trial (i.e. if the participant's reaction time on the third neutral trial is 1500ms and the average of the first two neutral trials is 900ms, the bar graph for neutral trials should increase in size and turn red)". How would I code this in E-Prime?* I could write the canvas.rectangle script in inline, but how would the rectangle be changed according to the reaction times of the participant? How would I do this using the frame size method? Thank you for your help again Fahad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 yellowistheone at hotmail.com Mon Aug 4 08:07:23 2008 From: yellowistheone at hotmail.com (yellow23) Date: Mon, 4 Aug 2008 01:07:23 -0700 Subject: Serious problem - ePrime crashes Message-ID: Hello. I have installed Version 2.0.8.22 of EPrime. As I start to work on ANY experiment, the program crashes. The message says: "A serious problem has been detected, EPrime needs to be shut down". Is there anything I can try ? I have re-de- and installed several version - same problem everywhere. First I thought this was a problem caused by copying and pasting text boxes out of other experiments, but it happens with new experiments, too. I am running Windows XP SP 3, the problem also occurs on another computer with SP 2. The program runs until I actively alter a slide or start to type something. However, the intervall between starting to work and the error message varies. Thanks for your help! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From ddiodati at gmail.com Tue Aug 5 15:02:41 2008 From: ddiodati at gmail.com (David) Date: Tue, 5 Aug 2008 08:02:41 -0700 Subject: Comparing Strings Message-ID: Hello, I am trying to compare two strings, and mark correct answers as 1 and incorrect as 0. This is my inline: If EmotionPerceived = c.GetAttrib("Emotion") Then NameEmotion.ACC = 1 Else NameEmotion.ACC = 0 End If I have a similar inline in a different eprime and it seems to work fine. It is almost like this one doesn't even register. It compiles fine, but does not change the NameEmotion.ACC value in the edat file. Any help is much appreciated, David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 hftibboel at gmail.com Tue Aug 5 15:24:55 2008 From: hftibboel at gmail.com (Helen Tibboel) Date: Tue, 5 Aug 2008 17:24:55 +0200 Subject: Comparing Strings In-Reply-To: Message-ID: Hello, Are you sure that both strings are actually read as strings? You can convert an expression using the "CStr" function. Kind regards, Helen On 8/5/08, David wrote: > > > Hello, > > I am trying to compare two strings, and mark correct answers as 1 and > incorrect as 0. This is my inline: > > If EmotionPerceived = c.GetAttrib("Emotion") Then > NameEmotion.ACC = 1 > > Else > NameEmotion.ACC = 0 > > End If > > I have a similar inline in a different eprime and it seems to work > fine. It is almost like this one doesn't even register. It compiles > fine, but does not change the NameEmotion.ACC value in the edat file. > > Any help is much appreciated, > > David > > > -- "I had a beautiful signature in those days, intricate, oriental, illegible, with a mighty slashing underscore, a signature more complex than that of the great Hackmuth." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 ddiodati at gmail.com Tue Aug 5 15:37:57 2008 From: ddiodati at gmail.com (David) Date: Tue, 5 Aug 2008 08:37:57 -0700 Subject: Comparing Strings In-Reply-To: Message-ID: Thank you for your response. I changed it to: If Cstr(EmotionPerceived) = Cstr(c.GetAttrib("Emotion")) Then NameEmotion.ACC = 1 Else NameEmotion.ACC = 0 End If And still no luck. If it helps, please see below for my complete inline: Thanks again, David Dim EmotionPerceived As String If NameEmotion.RESP = "p" Then Goto jump1 If c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If Cstr(EmotionPerceived) = Cstr(c.GetAttrib("Emotion")) Then NameEmotion.ACC = 1 Else NameEmotion.ACC = 0 End If On Aug 5, 11:24 am, "Helen Tibboel" wrote: > Hello, > Are you sure that both strings are actually read as strings? You can convert > an expression using the "CStr" function. > Kind regards, > Helen > > On 8/5/08, David wrote: > > > > > > > Hello, > > > I am trying to compare two strings, and mark correct answers as 1 and > > incorrect as 0. This is my inline: > > > If EmotionPerceived = c.GetAttrib("Emotion") Then > > NameEmotion.ACC = 1 > > > Else > > NameEmotion.ACC = 0 > > > End If > > > I have a similar inline in a different eprime and it seems to work > > fine. It is almost like this one doesn't even register. It compiles > > fine, but does not change the NameEmotion.ACC value in the edat file. > > > Any help is much appreciated, > > > David > > -- > "I had a beautiful signature in those days, intricate, oriental, illegible, > with a mighty slashing underscore, a signature more complex than that of the > great Hackmuth." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 ddiodati at gmail.com Tue Aug 5 16:09:36 2008 From: ddiodati at gmail.com (David) Date: Tue, 5 Aug 2008 09:09:36 -0700 Subject: Comparing Strings In-Reply-To: <6E3FDD28350CF344AC283906612E40C3018CFF26@ex2.casl.umd.edu> Message-ID: That did it! Thanks very much. On Aug 5, 11:53 am, "Susan G. Campbell" wrote: > Hi David, > > I think you'll want to use c.GetAttrib("EmotionPerceived") rather than > EmotionPerceived in your logical test there -- it looks like you're > setting an attribute in those earlier if statements, not assigning a > variable. > > HTH, > Susan > > -----Original Message----- > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On > > Behalf Of David > Sent: Tuesday, August 05, 2008 11:38 AM > To: E-Prime > Subject: Re: Comparing Strings > > Thank you for your response. I changed it to: > > If Cstr(EmotionPerceived) = Cstr(c.GetAttrib("Emotion")) Then > NameEmotion.ACC = 1 > > Else > NameEmotion.ACC = 0 > > End If > > And still no luck. If it helps, please see below for my complete > inline: > > Thanks again, > > David > > Dim EmotionPerceived As String > > If NameEmotion.RESP = "p" Then Goto jump1 > > If c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = > c.GetAttrib ("Text1") Then > c.SetAttrib "EmotionPerceived", "Anger" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") > = c.GetAttrib ("Text2") Then > c.SetAttrib "EmotionPerceived", "Sad" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") > = c.GetAttrib ("Text3") Then > c.SetAttrib "EmotionPerceived", "Surprise" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") > = c.GetAttrib ("Text4") Then > c.SetAttrib "EmotionPerceived", "Disgust" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") > = c.GetAttrib ("Text5") Then > c.SetAttrib "EmotionPerceived", "Neutral" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") > = c.GetAttrib ("Text6") Then > c.SetAttrib "EmotionPerceived", "Happy" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") > = c.GetAttrib ("Text7") Then > c.SetAttrib "EmotionPerceived", "Fear" > End If > > If c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = > c.GetAttrib ("Text1") Then > c.SetAttrib "EmotionPerceived", "Anger" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") > = c.GetAttrib ("Text2") Then > c.SetAttrib "EmotionPerceived", "Sad" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") > = c.GetAttrib ("Text3") Then > c.SetAttrib "EmotionPerceived", "Surprise" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") > = c.GetAttrib ("Text4") Then > c.SetAttrib "EmotionPerceived", "Disgust" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") > = c.GetAttrib ("Text5") Then > c.SetAttrib "EmotionPerceived", "Neutral" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") > = c.GetAttrib ("Text6") Then > c.SetAttrib "EmotionPerceived", "Happy" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") > = c.GetAttrib ("Text7") Then > c.SetAttrib "EmotionPerceived", "Fear" > End If > > If c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = > c.GetAttrib ("Text1") Then > c.SetAttrib "EmotionPerceived", "Anger" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") > = c.GetAttrib ("Text2") Then > c.SetAttrib "EmotionPerceived", "Sad" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") > = c.GetAttrib ("Text3") Then > c.SetAttrib "EmotionPerceived", "Surprise" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") > = c.GetAttrib ("Text4") Then > c.SetAttrib "EmotionPerceived", "Disgust" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") > = c.GetAttrib ("Text5") Then > c.SetAttrib "EmotionPerceived", "Neutral" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") > = c.GetAttrib ("Text6") Then > c.SetAttrib "EmotionPerceived", "Happy" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") > = c.GetAttrib ("Text7") Then > c.SetAttrib "EmotionPerceived", "Fear" > End If > > If c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = > c.GetAttrib ("Text1") Then > c.SetAttrib "EmotionPerceived", "Anger" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") > = c.GetAttrib ("Text2") Then > c.SetAttrib "EmotionPerceived", "Sad" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") > = c.GetAttrib ("Text3") Then > c.SetAttrib "EmotionPerceived", "Surprise" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") > = c.GetAttrib ("Text4") Then > c.SetAttrib "EmotionPerceived", "Disgust" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") > = c.GetAttrib ("Text5") Then > c.SetAttrib "EmotionPerceived", "Neutral" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") > = c.GetAttrib ("Text6") Then > c.SetAttrib "EmotionPerceived", "Happy" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") > = c.GetAttrib ("Text7") Then > c.SetAttrib "EmotionPerceived", "Fear" > End If > > If c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = > c.GetAttrib ("Text1") Then > c.SetAttrib "EmotionPerceived", "Anger" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") > = c.GetAttrib ("Text2") Then > c.SetAttrib "EmotionPerceived", "Sad" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") > = c.GetAttrib ("Text3") Then > c.SetAttrib "EmotionPerceived", "Surprise" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") > = c.GetAttrib ("Text4") Then > c.SetAttrib "EmotionPerceived", "Disgust" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") > = c.GetAttrib ("Text5") Then > c.SetAttrib "EmotionPerceived", "Neutral" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") > = c.GetAttrib ("Text6") Then > c.SetAttrib "EmotionPerceived", "Happy" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") > = c.GetAttrib ("Text7") Then > c.SetAttrib "EmotionPerceived", "Fear" > End If > > If c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = > c.GetAttrib ("Text1") Then > c.SetAttrib "EmotionPerceived", "Anger" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") > = c.GetAttrib ("Text2") Then > c.SetAttrib "EmotionPerceived", "Sad" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") > = c.GetAttrib ("Text3") Then > c.SetAttrib "EmotionPerceived", "Surprise" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") > = c.GetAttrib ("Text4") Then > c.SetAttrib "EmotionPerceived", "Disgust" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") > = c.GetAttrib ("Text5") Then > c.SetAttrib "EmotionPerceived", "Neutral" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") > = c.GetAttrib ("Text6") Then > c.SetAttrib "EmotionPerceived", "Happy" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") > = c.GetAttrib ("Text7") Then > c.SetAttrib "EmotionPerceived", "Fear" > End If > > If c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = > c.GetAttrib ("Text1") Then > c.SetAttrib "EmotionPerceived", "Anger" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") > = c.GetAttrib ("Text2") Then > c.SetAttrib "EmotionPerceived", "Sad" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") > = c.GetAttrib ("Text3") Then > c.SetAttrib "EmotionPerceived", "Surprise" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") > = c.GetAttrib ("Text4") Then > c.SetAttrib "EmotionPerceived", "Disgust" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") > = c.GetAttrib ("Text5") Then > c.SetAttrib "EmotionPerceived", "Neutral" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") > = c.GetAttrib ("Text6") Then > c.SetAttrib "EmotionPerceived", "Happy" > ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") > = c.GetAttrib ("Text7") Then > c.SetAttrib "EmotionPerceived", "Fear" > End If > > If Cstr(EmotionPerceived) = Cstr(c.GetAttrib("Emotion")) Then > NameEmotion.ACC = 1 > > Else > NameEmotion.ACC = 0 > > End If > > On Aug 5, 11:24 am, "Helen Tibboel" wrote: > > Hello, > > Are you sure that both strings are actually read as strings? You can > convert > > an expression using the "CStr" function. > > Kind regards, > > Helen > > > On 8/5/08, David wrote: > > > > Hello, > > > > I am trying to compare two strings, and mark correct answers as 1 > and > > > incorrect as 0. This is my inline: > > > > If EmotionPerceived = c.GetAttrib("Emotion") Then > > > NameEmotion.ACC = 1 > > > > Else > > > NameEmotion.ACC = 0 > > > > End If > > > > I have a similar inline in a different eprime and it seems to work > > > fine. It is almost like this one doesn't even register. It compiles > > > fine, but does not change the NameEmotion.ACC value in the edat > file. > > > > Any help is much appreciated, > > > > David > > > -- > > "I had a beautiful signature in those days, intricate, oriental, > illegible, > > with a mighty slashing underscore, a signature more complex than that > of the > > great Hackmuth." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 scampbell at casl.umd.edu Tue Aug 5 15:53:45 2008 From: scampbell at casl.umd.edu (Susan G. Campbell) Date: Tue, 5 Aug 2008 11:53:45 -0400 Subject: Comparing Strings In-Reply-To: Message-ID: Hi David, I think you'll want to use c.GetAttrib("EmotionPerceived") rather than EmotionPerceived in your logical test there -- it looks like you're setting an attribute in those earlier if statements, not assigning a variable. HTH, Susan -----Original Message----- From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of David Sent: Tuesday, August 05, 2008 11:38 AM To: E-Prime Subject: Re: Comparing Strings Thank you for your response. I changed it to: If Cstr(EmotionPerceived) = Cstr(c.GetAttrib("Emotion")) Then NameEmotion.ACC = 1 Else NameEmotion.ACC = 0 End If And still no luck. If it helps, please see below for my complete inline: Thanks again, David Dim EmotionPerceived As String If NameEmotion.RESP = "p" Then Goto jump1 If c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 1 And c.GetAttrib ("Label1") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 2 And c.GetAttrib ("Label2") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 3 And c.GetAttrib ("Label3") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 4 And c.GetAttrib ("Label4") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 5 And c.GetAttrib ("Label5") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 6 And c.GetAttrib ("Label6") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text1") Then c.SetAttrib "EmotionPerceived", "Anger" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text2") Then c.SetAttrib "EmotionPerceived", "Sad" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text3") Then c.SetAttrib "EmotionPerceived", "Surprise" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text4") Then c.SetAttrib "EmotionPerceived", "Disgust" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text5") Then c.SetAttrib "EmotionPerceived", "Neutral" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text6") Then c.SetAttrib "EmotionPerceived", "Happy" ElseIf c.GetAttrib ("NameEmotion.Resp") = 7 And c.GetAttrib ("Label7") = c.GetAttrib ("Text7") Then c.SetAttrib "EmotionPerceived", "Fear" End If If Cstr(EmotionPerceived) = Cstr(c.GetAttrib("Emotion")) Then NameEmotion.ACC = 1 Else NameEmotion.ACC = 0 End If On Aug 5, 11:24 am, "Helen Tibboel" wrote: > Hello, > Are you sure that both strings are actually read as strings? You can convert > an expression using the "CStr" function. > Kind regards, > Helen > > On 8/5/08, David wrote: > > > > > > > Hello, > > > I am trying to compare two strings, and mark correct answers as 1 and > > incorrect as 0. This is my inline: > > > If EmotionPerceived = c.GetAttrib("Emotion") Then > > NameEmotion.ACC = 1 > > > Else > > NameEmotion.ACC = 0 > > > End If > > > I have a similar inline in a different eprime and it seems to work > > fine. It is almost like this one doesn't even register. It compiles > > fine, but does not change the NameEmotion.ACC value in the edat file. > > > Any help is much appreciated, > > > David > > -- > "I had a beautiful signature in those days, intricate, oriental, illegible, > with a mighty slashing underscore, a signature more complex than that of the > great Hackmuth." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 deedeevau at hotmail.com Wed Aug 6 16:31:30 2008 From: deedeevau at hotmail.com (Dina) Date: Wed, 6 Aug 2008 09:31:30 -0700 Subject: Re-run practice trials inline problem Message-ID: Dear E-primers, At the moment, I'm programming a task with a practice block at the start and which has to "re-run until all correct". My triallist consists of: 4 levels, each level has weight = 3, "CorrectAnswer" column and a "Correct" column containing 4 zero's. I used this in other tasks as well and it always worked well. However, in this task, the programme crashes after I do the whole practiceblock. On purpose I made mistakes and the programme should have let me proceed to a text-object stating I made a mistake and I have to try again and rerun the practiceblock. Instead, it crashes and displays the following error message: Run-time Error (Line 425) -999: Factor Error: Level specified is not valid My "Need-to-rerun" inline object looks like the following: (the error seems to be in the part stating: If TrialListPractice.GetAttrib(i, "Correct") = "0" Then TrialListPractice.SetWeight i, 1) ' Examine the "Correct" attribute for all levels ' If Correct = 1, it was correct, so set weight to 0 (don't rerun) ' If Correct = 0, it was incorrect, so set weight to 1 to rerun If g_nErrorCount > 0 Then Dim i As Integer For i = 1 to g_nTotalLevels If TrialListPractice.GetAttrib(i, "Correct") = "0" Then TrialListPractice.SetWeight i, 1 Else TrialListPractice.SetWeight i, 0 End If Next i 'Reset TrialList with new values TrialListPractice.Reset 'Reset g_nErrorCount to keep track of new errors g_nErrorCount = 0 Else 'No error trials to run GoTo EndofBlock End If Does anybody have an idea of how I can solve this problem? Many thanks! Dina --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 undressmerobot at gmail.com Wed Aug 6 20:59:52 2008 From: undressmerobot at gmail.com (Spencer S) Date: Wed, 6 Aug 2008 13:59:52 -0700 Subject: Storing randomly assigned values over multiple sessions Message-ID: I currently have a paradigm which presents 100 pairs of words for 10 rounds, and the user responds if the correct answer is Word 1 or Word 2. The correct answer is randomly assigned during the first round, and stored in E-Prime so that accuracy can be checked on the nine subsequent rounds. In other words, 50 pairs have Word 1 as the correct word, and 50 pairs have Word 2 as the correct word. This is unknown before the first round, but set in stone by the end of the first round (randomly assigned by E-Prime). So, Round 1: E-Prime sets the CorrectAnswer. Rounds 2-10: E-Prime checks user response against CorrectAnswer for accuracy. I am moving to 200 pairs, and will be splitting the experiment into two days. Is there a way to have E-Prime somehow store the correct answer information such that it can be read by the program on Day 2? Right now I am opening the Edat file and manually copying and pasting the CorrectAnswer column into a separate E-Prime file. My guess is that E-Prime would have to write the correct answers to an external file on Day 1, and read them from that file on Day 2. Is this or something like this possible, or should I just set the correct answers manually? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 j.browndyke at duke.edu Thu Aug 7 18:23:36 2008 From: j.browndyke at duke.edu (Jeff) Date: Thu, 7 Aug 2008 11:23:36 -0700 Subject: Scanner trigger - how to ignore? Message-ID: Hello, Glad to find this bulletin board. We have a task coded in E-prime 1.2 for use in our 3T magnet with a Neuroscan response box. I currently have the task set up to recognize SRBOX buttons 1 and 2 (4-button box) during the task, however our *.edat files have "5" logged for each response row with often negative reaction times. Apparently this is the scanner trigger code, which is intruding upon the task and not allowing the proper 1 and 2 SRBOX responses to be logged. Here's the response I got from our IT guys, who is not an E-prime user, but thought it might be helpful in ferreting out the problem: The 4 buttons send data codes 1,2,4,8 which ePrime recognizes as buttons 1-4. The scanner trigger pulse is (and I believe always has been) connected as button 5 and sends a 16 code every time the scanner pulses (1/TR). I believe that is the standard ePrime arrangement. You can set your input parameters to expect button 5 as a trigger start signal, and then only pay attention to buttons 1-4 for user responses. So, is there anyway to turn off the scanner trigger pulse in E-prime or just to ignore it. I'm not interested in e-Prime triggering, as its just as easy (if not easier) to have the tech hit a key on the scanner and a key to start the task at the same time. Please help. Thanks, Jeff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 nick.peatfield at gmail.com Mon Aug 11 15:46:08 2008 From: nick.peatfield at gmail.com (Nick) Date: Mon, 11 Aug 2008 08:46:08 -0700 Subject: Screen Capture Message-ID: Hi there, I am trying to capture my experiment into a movie, and for some odd reason it is unable to capture the screen. I don't just want screen shots, I want the ability to be able to record a 10 sec clip of my experiment. I have tried quite a few screen recording software, but each time I get a display drawing error. Added to this is messes around with the gamma of the screen. Hopefully I will find the solution but any help would be greatly appreciated. Nick PS. Using EPrime 1.2 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 hejibo at gmail.com Mon Aug 11 16:02:03 2008 From: hejibo at gmail.com (He Jibo) Date: Mon, 11 Aug 2008 11:02:03 -0500 Subject: Screen Capture In-Reply-To: <745a703f-8ba2-4a82-933f-7be52da81563@8g2000hse.googlegroups.com> Message-ID: Dear Nick, I have wrote a python script to do screen shots at fixed intervals. if you needed, please write to jibohe2 at uiuc.edu He Jibo hejibo at gmail.com jibohe2 at cyrus.psych.uiuc.edu --------------------------- He Jibo Department of Psychology, Beckman Institute for Advanced Science and Technology University of Illinois, Urbana Champaign, 603 East Daniel St., Champaign, IL 61820 Tel: 217-244-4461(office) 217-244-6763(lab) Email: hejibo at gmail.com Joan Crawford - "I, Joan Crawford, I believe in the dollar. Everything I earn, I spend." On Mon, Aug 11, 2008 at 10:46 AM, Nick wrote: > > Hi there, > > I am trying to capture my experiment into a movie, and for some odd > reason it is unable to capture the screen. I don't just want screen > shots, I want the ability to be able to record a 10 sec clip of my > experiment. I have tried quite a few screen recording software, but > each time I get a display drawing error. Added to this is messes > around with the gamma of the screen. > > Hopefully I will find the solution but any help would be greatly > appreciated. > > Nick > > PS. > > Using EPrime 1.2 > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 askaikai at gmail.com Mon Aug 11 16:05:00 2008 From: askaikai at gmail.com (akiko) Date: Mon, 11 Aug 2008 09:05:00 -0700 Subject: avoid repeating trial type? In-Reply-To: <745a703f-8ba2-4a82-933f-7be52da81563@8g2000hse.googlegroups.com> Message-ID: Hello, I'm new to E-prime and trying to run a visual search experiment. There are 12 possible locations that Target could appear, each target location happens 3 times in 1 run. I'd like to randomize trials, but target location should not repeat. Trials are listed in a List object ("trialList"), which has a Procedure called "search". My most recent effort is to write the following InLine script at the top of the "search" Procedure, but it doesn't work... If TrialNum > 1 Then If lastTarLoc = c.GetAttrib("tarLocation") Then trialList.Terminate End If End If where "lastTarloc" is the target location of the previous trial (made in the end of each trial) and "tarLocation" is the location of the current trial. I'm guessing I have to use InLine and/or Label to do this, but I don't know where to put it, and how it should be used. If anyone knows how to do this, or knows of any example available online, please let me know. Thanks in advance! Akiko --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 nick.peatfield at gmail.com Tue Aug 12 08:57:56 2008 From: nick.peatfield at gmail.com (Nick) Date: Tue, 12 Aug 2008 01:57:56 -0700 Subject: Screen Capture In-Reply-To: <1846b545-fa43-4145-adcf-628978b6a048@59g2000hsb.googlegroups.com> Message-ID: Sorry Askai but could you not edit the discussion subject. Instead make a new post!!! Cheers, Nick On Aug 11, 5:05 pm, akiko wrote: > Hello, > > I'm new to E-prime and trying to run a visual search experiment. > There are 12 possible locations that Target could appear, each target > location happens 3 times in 1 run. I'd like to randomize trials, but > target location should not repeat. Trials are listed in a List object > ("trialList"), which has a Procedure called "search". > > My most recent effort is to write the following InLine script at the > top of the "search" Procedure, but it doesn't work... > > If TrialNum > 1 Then > If lastTarLoc = c.GetAttrib("tarLocation") Then > trialList.Terminate > End If > End If > > where "lastTarloc" is the target location of the previous trial (made > in the end of each trial) and "tarLocation" is the location of the > current trial. I'm guessing I have to use InLine and/or Label to do > this, but I don't know where to put it, and how it should be used. > > If anyone knows how to do this, or knows of any example available > online, please let me know. > Thanks in advance! > Akiko --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 nick.peatfield at gmail.com Tue Aug 12 09:05:57 2008 From: nick.peatfield at gmail.com (Nick) Date: Tue, 12 Aug 2008 02:05:57 -0700 Subject: Screen Capture In-Reply-To: Message-ID: Thanks Jibo. I actually in the end managed to screen capture and make a movie. It was possible with SnagIt 9.0. Cheers, Nick On Aug 11, 5:02 pm, "He Jibo" wrote: > Dear Nick, > > I have wrote a python script to do screen shots at fixed intervals. if you > needed, please write to jibo... at uiuc.edu > > He Jibo > hej... at gmail.com > jibo... at cyrus.psych.uiuc.edu > > --------------------------- > He Jibo > Department of Psychology, > Beckman Institute for Advanced Science and Technology > University of Illinois, Urbana Champaign, > 603 East Daniel St., > Champaign, IL 61820 > Tel: 217-244-4461(office) > 217-244-6763(lab) > Email: hej... at gmail.com > Joan Crawford - "I, Joan Crawford, I believe in the dollar. Everything I > earn, I spend." > > On Mon, Aug 11, 2008 at 10:46 AM, Nick wrote: > > > Hi there, > > > I am trying to capture my experiment into a movie, and for some odd > > reason it is unable to capture the screen. I don't just want screen > > shots, I want the ability to be able to record a 10 sec clip of my > > experiment. I have tried quite a few screen recording software, but > > each time I get a display drawing error. Added to this is messes > > around with the gamma of the screen. > > > Hopefully I will find the solution but any help would be greatly > > appreciated. > > > Nick > > > PS. > > > Using EPrime 1.2 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 lennertz.t at gmail.com Tue Aug 12 16:19:53 2008 From: lennertz.t at gmail.com (Tracy) Date: Tue, 12 Aug 2008 09:19:53 -0700 Subject: Calling a second trial procedure within a procedure Message-ID: I'm trying to program a visual AX identity task, in which participants see a written stimuli (A, e.g., blow), a mask (e.g., XXXXXX), followed by a written stimulus (X, e.g., below) -- and are then asked to determine if A and X are identical (e.g., press 1 if identical, 2 if not). My experiment has 288 of these trials. I'd like to add a second trial procedure to my experiment, in which participants are presented A, mask, X (as usual) -- but instead of determining if the items are identical -- I'd like them to be prompted after the presentation of X to spell either A or X (the spelling directions will be explicit for each trial, as to whether A or X should be spelled). I'd like them to type their response using the keyboard. These spelling trials should occur randomly (about one in every six normal experimental trials) -- so participants cannot predict when exactly the next spelling trial would occur. I'm having difficulty implementing this design. Where do I place the spelling trial procedure in regard to the normal AX procedure? How can I ensure a spelling trial is chosen randomly about once in every six trials, such that the spelling trials are sampled without replacement? Thanks very much for your help, Tracy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 satrevik at gmail.com Thu Aug 14 07:51:34 2008 From: satrevik at gmail.com (=?ISO-8859-1?Q?Bj=F8rn_S=E6trevik?=) Date: Thu, 14 Aug 2008 00:51:34 -0700 Subject: Calling a second trial procedure within a procedure In-Reply-To: <97af26be-b9f8-4225-a788-5f8213bac0fb@t54g2000hsg.googlegroups.com> Message-ID: Hi Tracy, I would start out with one list (e.g. "TrialList") containing all your 288 trials (with one attribute for stimulus A and one attribute for stimulus X). Every level of "TrialList" should contain a procedure (e.g. "PresentStimulus") that presents A and the mask, and then runs a new list (e.g. "TaskList"). "TaskList" should run randomly, and have five levels that contains one procedure (e.g. "ComparisonTask"), and one level that runs a different procedure (e.g. "IdentificationTask"). "ComparisonTask" and "IdentificationTask" should contain different objects for instructions and responses. You could state the correct answer for each task in two different attributes on the "TrialList" level, and in the "TaskList" you could have an attribute that reference to the "TrialList" level attribute that should currently be used, and then have your response object refer to the "TaskList" level attribute as "Correct response". I hope this helps, Bj?rn On Aug 12, 6:19 pm, Tracy wrote: > I'm trying to program a visual AX identity task, in which participants > see a written stimuli (A, e.g., blow), a mask (e.g., XXXXXX), followed > by a written stimulus (X, e.g., below) -- and are then asked to > determine if A and X are identical (e.g., press 1 if identical, 2 if > not). My experiment has 288 of these trials. > > I'd like to add a second trial procedure to my experiment, in which > participants are presented A, mask, X (as usual) -- but instead of > determining if the items are identical -- I'd like them to be prompted > after the presentation of X to spell either A or X (the spelling > directions will be explicit for each trial, as to whether A or X > should be spelled). I'd like them to type their response using the > keyboard. These spelling trials should occur randomly (about one in > every six normal experimental trials) -- so participants cannot > predict when exactly the next spelling trial would occur. > > I'm having difficulty implementing this design. Where do I place the > spelling trial procedure in regard to the normal AX procedure? > > How can I ensure a spelling trial is chosen randomly about once in > every six trials, such that the spelling trials are sampled without > replacement? > > Thanks very much for your help, > Tracy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 askaikai at gmail.com Mon Aug 18 16:41:39 2008 From: askaikai at gmail.com (akiko) Date: Mon, 18 Aug 2008 09:41:39 -0700 Subject: avoid repeating trial type? Message-ID: Hello, I'm new to E-prime and trying to run a visual search experiment. There are 12 possible locations that Target could appear, each target location happens 3 times in 1 run. Subjects make an eye movement to the target location (scored after the experiment). So, there is no input fro the subjects during the experiment. I'd like to randomize trials, but target location should not repeat. Trials are listed in a List object ("trialList"), which has a Procedure called "search". My most recent effort is to write the following InLine script at the top of the "search" Procedure, but it doesn't work... If TrialNum > 1 Then If lastTarLoc = c.GetAttrib("tarLocation") Then trialList.Terminate End If End If where "lastTarloc" is the target location of the previous trial (made in the end of each trial) and "tarLocation" is the location of the current trial. I'm guessing I have to use InLine and/or Label to do this, but I don't know where to put it, and how it should be used. If anyone knows how to do this, or knows of any example available online, please let me know. Thanks in advance! Akiko --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 ascott0704 at yahoo.com Mon Aug 18 21:01:18 2008 From: ascott0704 at yahoo.com (Speechy) Date: Mon, 18 Aug 2008 14:01:18 -0700 Subject: Range for Response Time??? Message-ID: I want to be able to determine quickly after the presentation of a treatment trial whether a person responds within a criterion response time (RT) range. I'm wondering whether E-prime could be programmed with that RT range, and to provide some sort of signal if a response was outside that range? Do you have any idea if/how I can accomplish this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 mary.koziura at gmail.com Mon Aug 18 21:28:45 2008 From: mary.koziura at gmail.com (Mary) Date: Mon, 18 Aug 2008 14:28:45 -0700 Subject: Radio Buttons in E-Prime Message-ID: Hello, I am trying to essentially use radio buttons as you would in Microsoft visual studio and/or other programs in E-Prime by inserting a script into an inline slide. I was wondering if this was even possible to use radio buttons in e-prime. And was wondering if anyone actually had a script that would work to achieve this desired design in the experiment. Thanks! -Mary --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 MsDanaSchneider at gmail.com Tue Aug 19 04:45:54 2008 From: MsDanaSchneider at gmail.com (MsDanaSchneider at gmail.com) Date: Mon, 18 Aug 2008 21:45:54 -0700 Subject: response dependence Message-ID: Hello. I am trying to work out how e-prime gives me a response dependent slide/stimuli/pic. Task: Descison making> Posner cueing task> correct or incorrect feedback slide. Any help would be highly appreciates. All the best Dana --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 Aug 19 16:05:58 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Tue, 19 Aug 2008 12:05:58 -0400 Subject: response dependence In-Reply-To: <541db5f7-d23b-4725-8382-820f3790e2fe@n38g2000prl.googlegro ups.com> Message-ID: Dana, >I am trying to work out how e-prime gives me a response dependent >slide/stimuli/pic. Here is what I would do. Start a new program in E-Studio. Add two objects to the SessionProc: TextDisplay1 and FeedbackDisplay1. On FeedbackDisplay1, set Input Object Name to TextDisplay1. Then generate the program, and look at the full script, in the "Implementation" section. Notice the long If ... Then ... Else ... statement, containing lines like FeedbackDisplay1.ActiveState = "Correct". See how E-Prime automatically makes code for response-dependent slides using FeedbackDisplays (which are really just specialized Slide objects) and then explore and adapt from there. -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From lucia.pozzan at gmail.com Tue Aug 19 17:43:03 2008 From: lucia.pozzan at gmail.com (Lucia Pozzan) Date: Tue, 19 Aug 2008 13:43:03 -0400 Subject: error 91 Message-ID: Hello! I am using the advanced input mask with the echo client in order to have subjects type in their answers. I followed the instructions Matt gave ( http://support.pstnet.com/forum/Topic671-5-1.aspx#bm1292) and the experiment is working but I still have a problem: -if, on the keybord advanced options I leave blank the Termination Response, the subjects' responses do not get recorded. If I don't leave it blank, like Matt suggested (and hence use something like {ENTER} as a termination response), the program is terminated and I receive the message Error 91: object variable or with block response not set. Can anybody help? Thanks so much, Lucia Pozzan Language Acquisition Research Center 514 Thomas Hunter Hall Department of Psychology, Hunter College - CUNY 695 Park Avenue, New York, NY, 10065, USA little.linguist at hunter.cuny.edu www.hunter.cuny.edu/littlelinguist tel: (212) 772-5557; fax: (212) 650-3247 ------------------------------ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 pooja.k.agarwal at gmail.com Sun Aug 24 19:05:45 2008 From: pooja.k.agarwal at gmail.com (Pooja) Date: Sun, 24 Aug 2008 12:05:45 -0700 Subject: Scrolling in Eprime? Message-ID: I'd like to create an Eprime program, similar to those used in SAT and GRE practice tests, where I can show a long passage on the left (which requires the user to scroll down in order to view the entire passage) along with multiple choice questions on the right. I'd like the user to have access to the entire passage (e.g., if they scroll down, they can still scroll back up, and vice versa). It doesn't appear that a long text/image/slide automatically creates a scroll. Is there a way to program this manually? Thanks! (Cross posted on the PTS forum website) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 thenillebraun at yahoo.com.br Mon Aug 25 13:40:36 2008 From: thenillebraun at yahoo.com.br (thenillebraun) Date: Mon, 25 Aug 2008 06:40:36 -0700 Subject: experiment design Message-ID: Hello. I've been trying to desing an experiment in e-prime which participants would have to tap the fingger at the same time that visual stimuli flash in the center of the computer. This stimulus its like a point flashing in 800 msec, in a second trial the time is 400 msec, then 200 msec and so on. How can I desing this experiment with flashing stimuli? Any help would be highly appreciates. All the best Thenille Braun. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 lucia.pozzan at gmail.com Mon Aug 25 19:03:20 2008 From: lucia.pozzan at gmail.com (Lucia Pozzan) Date: Mon, 25 Aug 2008 15:03:20 -0400 Subject: Error 91 Message-ID: Hello again! I posted this a couple days ago but didn't get a response. Sorry to clog up the list but i thought there might be a chance someone would see it today who didn't before. This problem is driving me crazy ;-) I am using the advanced input mask with the echo client in order to have subjects type in their answers. I followed the instructions Matt gave ( http://support.pstnet.com/forum/Topic671-5-1.aspx#bm1292) and the experiment is working but I still have a problem: -If, on the keybord advanced options I leave blank the Termination Response, the subjects' responses do not get recorded. -If, on the other hand, I don't leave it blank and, like Matt suggested, I use {ENTER} (or {ESC}) as a termination response, the program gets immediately terminated and I receive the message "Error 91: object variable or with block response not set". Can anybody help? Thanks so much, ~~Lucia Pozzan Language Acquisition Research Center 514 Thomas Hunter Hall Department of Psychology, Hunter College - CUNY 695 Park Avenue, New York, NY, 10065, USA little.linguist at hunter.cuny.edu www.hunter.cuny.edu/littlelinguist tel: (212) 772-5557; fax: (212) 650-3247 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 mplenhart at gmail.com Tue Aug 26 15:07:59 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 26 Aug 2008 08:07:59 -0700 Subject: Error 91 In-Reply-To: Message-ID: Hi Lucia, I'd be happy to take a look at this and help you with troubleshooting. Attachments are a bit difficult in Google Groups, but please feel free to attach your experiment here or on the PST User Forum (in the thread that you linked to). If you would prefer to keep your experiment private, please create a support request on the PST Support Site and I will assign it to myself (http://www.pstnet.com/e-prime/support/). Thank you for your time. Matt Lenhart PST Technical Consultant http://www.pstnet.com On Aug 25, 3:03 pm, "Lucia Pozzan" wrote: > Hello again! > I posted this a couple days ago but didn't get a response. Sorry to clog up > the list but i thought there might be a chance someone would see it today > who didn't before. This problem is driving me crazy ;-) > > I am using the advanced input mask with the echo client in order to have > subjects type in their answers. > I followed the instructions Matt gave (http://support.pstnet.com/forum/Topic671-5-1.aspx#bm1292) > and the experiment is working but I still have a problem: > -If, on the keybord advanced options I leave blank the Termination Response, > the subjects' responses do not get recorded. > -If, on the other hand, I don't leave it blank and, like Matt suggested, I > use {ENTER} (or {ESC}) as a termination response, the program gets > immediately terminated and I receive the message "Error 91: object variable > or with block response not set". > > Can anybody help? > Thanks so much, > > ~~Lucia Pozzan > > Language Acquisition Research Center > 514 Thomas Hunter Hall > Department of Psychology, Hunter College - CUNY > 695 Park Avenue, New York, NY, 10065, USA > little.lingu... at hunter.cuny.eduwww.hunter.cuny.edu/littlelinguist > tel: (212) 772-5557; fax: (212) 650-3247 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 mplenhart at gmail.com Tue Aug 26 15:23:02 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 26 Aug 2008 08:23:02 -0700 Subject: experiment design In-Reply-To: Message-ID: Hi Thenille, The most common options for presenting flashing stimuli in E-Prime are: 1) If you are using E-Prime 2.0, create and present a movie file with the desired effect. 2) Use InLine script and the Canvas object to quickly present and remove images and/or text, creating a "flashing" effect. If you are unfamiliar with the use of the Canvas object, I would recommend taking a look at the Canvas topic in the E-Basic help (accessed via the Help menu in E-Studio). The basic functions of the Canvas object are presenting text, images, and shapes on the screen. The text, images, and shapes can be removed by "clearing" the Canvas (i.e., screen). 3) Use InLine script and a Slide object to present a "flashing" effect. Slide sub-objects can be accessed in InLine script and their properties can be changed in real time. This requires a very specific technique so that the Slide object can be presented on screen while InLine script is running. In the FIles section, take a look at the Process Responses Template sample for an example of how this is done. Essentially, the Slide object's Duration is set to 0, while the End Action is set to "none" and the Time Limit is set to however long you want to allow the subject to respond. Because of this, the object will be presented on screen and E-Prime will then immediately begin running InLine script. You should be able to adapt the sample directly to your purposes. The primary change would be that your experiment will alter the color of the Slide object at regular intervals, rather than waiting for a response from the subject. If you have any questions, please let me know. Matt PST Technical Consultant http://www.pstnet.com On Aug 25, 9:40 am, thenillebraun wrote: > Hello. > > I've been trying to desing an experiment in e-prime which participants > would have to tap the fingger at the same time that visual stimuli > flash in the center of the computer. This stimulus its like a point > flashing in 800 msec, in a second trial the time is 400 msec, then 200 > msec and so on. > > How can I desing this experiment with flashing stimuli? > Any help would be highly appreciates. > > All the best > Thenille Braun. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 mplenhart at gmail.com Tue Aug 26 16:29:20 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 26 Aug 2008 09:29:20 -0700 Subject: Scrolling in Eprime? In-Reply-To: Message-ID: Hello, It is possible to implement "scrolling" text in E-Prime. However, this must be done manually using InLine script. I have attached a very basic example of how this could be done in the Files section of this group (i.e., ScrollingText.es). Essentially, a SlideText sub-object is created and its proportions are configured to be larger than the screen (thus creating the need to scroll the text). Another SlideText sub-object is used to present instructions to the subject. The Slide object's Duration is set to 0, while its Time Limit is set to "infinite" and its End Action is set to "none". The only allowable responses are the down arrow, up arrow, and Enter keys. The Enter key is used as the termination response. The Max Count (i.e., maximum allowed responses) is set extremely high so that the subject can scroll freely. This configuration results in the Stimulus appearing on screen while the InLine script is running in the background. This script does nothing except monitor incoming responses and moving the SlideText sub- object presenting the target text. This results in a "scrolling" effect as the subject presses the down and up arrow keys. All that is occurring is that the script gains access to the SlideText sub-object and then moves the Y position of the SlideText up or down as necessary. A "ceiling" and "floor" for the Y position is implemented so that the text is never off-screen. The attributes in the TrialList are used to implement the "celing" and "floor" as well as to define the size and starting position of the text. This allows text of varying length to be presented. Please let me know if you have any questions about this sample. - Matt PST Technical Consultant http://pstnet.com On Aug 24, 3:05?pm, Pooja wrote: > I'd like to create an Eprime program, similar to those used in SAT and > GRE practice tests, where I can show a long passage on the left (which > requires the user to scroll down in order to view the entire passage) > along with multiple choice questions on the right. I'd like the user > to have access to the entire passage (e.g., if they scroll down, they > can still scroll back up, and vice versa). > > It doesn't appear that a long text/image/slide automatically creates a > scroll. Is there a way to program this manually? > > Thanks! > > (Cross posted on the PTS forum website) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 mplenhart at gmail.com Tue Aug 26 16:34:37 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 26 Aug 2008 09:34:37 -0700 Subject: Radio Buttons in E-Prime In-Reply-To: <2c4ba98c-ee6b-479a-9634-89ead7b84d49@x41g2000hsb.googlegroups.com> Message-ID: Hi Mary, While this is possible, it cannot be done directly through the E-Prime interface. What you would need to do is use two images - one would be an "empty" (not selected) radio button while the other would be a "full" (selected) radio button. You could then present these images as needed via a Slide object or the Canvas object. Script would be necessary in order to fill the radio button when it is clicked and/or empty the previously selected radio button should a new one be selected. I would recommend taking a look at the LoadImageUponMouseClick.zip sample experiment I have uploaded in the Files section. This example is very close to what you have described, except that you would replace the "checkbox" images with radio button images. Note that this example allows the subject to select multiple items. Typically, radio buttons allow for only one response, so additional script would be necessary to restrict the subject in this manner. Please let me know if you have any questions about the sample. - Matt PST Technical Consultant http://www.pstnet.com On Aug 18, 5:28?pm, Mary wrote: > Hello, > I am trying to essentially use radio buttons as you would in Microsoft > visual studio and/or > other programs in E-Prime by inserting a script into an inline slide. > I was wondering if this > was even possible to use radio buttons in e-prime. And was wondering > if anyone actually had a script that would work to achieve this > desired design in the experiment. Thanks! > -Mary --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 mplenhart at gmail.com Tue Aug 26 16:37:48 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Tue, 26 Aug 2008 09:37:48 -0700 Subject: Range for Response Time??? In-Reply-To: <0f3e1771-f854-4764-aa5f-d610c72f3fa3@i76g2000hsf.googlegroups.com> Message-ID: Hello, You should be able to handle this using a bit of InLine script following the object collecting the response. That is, if you want to determine whether the criterion was met immediately after each subject's response, you could use script similar to the following (assuming the response object's name is Stimulus): If Stimulus.RT < lowerBound Or Stimulus.RT > upperBound Then 'Insert script to handle a response time out of the specified range. End If You would simply replace lowerBound and upperBound with the values you want to specify for your range. The script inside the If...Then statement can be anything you like to signal that a response time outside the range was detected (e.g., playing a sound file, etc). Please let me know if you have any questions. - Matt PST Technical Consultant http://www.pstnet.com On Aug 18, 5:01?pm, Speechy wrote: > I want to be able to determine quickly after the presentation of a > treatment trial whether a person responds within a criterion response > time (RT) range. I'm wondering whether E-prime could be programmed > with that RT range, and to provide some sort of signal if a response > was outside that range? Do you have any idea if/how I can accomplish > this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 lucia.pozzan at gmail.com Tue Aug 26 18:34:30 2008 From: lucia.pozzan at gmail.com (Lucia Pozzan) Date: Tue, 26 Aug 2008 14:34:30 -0400 Subject: Error 91 In-Reply-To: Message-ID: Dear Matt, Thank you so much for getting back to me. We were finally able to solve the problem: it was due to an interference of the keyboard termination response with the fact we had already set a mouse termination response (by the subject having to click on a next-button). Thanks so much for your time, Lucia Pozzan Language Acquisition Research Center 514 Thomas Hunter Hall Department of Psychology, Hunter College - CUNY 695 Park Avenue, New York, NY, 10065, USA little.linguist at hunter.cuny.edu www.hunter.cuny.edu/littlelinguist tel: (212) 772-5557; fax: (212) 650-3247 On Tue, Aug 26, 2008 at 11:07 AM, Matt Lenhart wrote: > > Hi Lucia, > > I'd be happy to take a look at this and help you with troubleshooting. > Attachments are a bit difficult in Google Groups, but please feel free > to attach your experiment here or on the PST User Forum (in the thread > that you linked to). If you would prefer to keep your experiment > private, please create a support request on the PST Support Site and I > will assign it to myself (http://www.pstnet.com/e-prime/support/). > > Thank you for your time. > > Matt Lenhart > PST Technical Consultant > http://www.pstnet.com > > > On Aug 25, 3:03 pm, "Lucia Pozzan" wrote: > > Hello again! > > I posted this a couple days ago but didn't get a response. Sorry to clog > up > > the list but i thought there might be a chance someone would see it today > > who didn't before. This problem is driving me crazy ;-) > > > > I am using the advanced input mask with the echo client in order to have > > subjects type in their answers. > > I followed the instructions Matt gave ( > http://support.pstnet.com/forum/Topic671-5-1.aspx#bm1292< > https://webmail.hunter.cuny.edu/wm/mail/fetch.html?urlid=46729a94ca25...>) > > and the experiment is working but I still have a problem: > > -If, on the keybord advanced options I leave blank the Termination > Response, > > the subjects' responses do not get recorded. > > -If, on the other hand, I don't leave it blank and, like Matt suggested, > I > > use {ENTER} (or {ESC}) as a termination response, the program gets > > immediately terminated and I receive the message "Error 91: object > variable > > or with block response not set". > > > > Can anybody help? > > Thanks so much, > > > > ~~Lucia Pozzan > > > > Language Acquisition Research Center > > 514 Thomas Hunter Hall > > Department of Psychology, Hunter College - CUNY > > 695 Park Avenue, New York, NY, 10065, USA > > little.lingu... at hunter.cuny.eduwww.hunter.cuny.edu/littlelinguist > > tel: (212) 772-5557; fax: (212) 650-3247 > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 t1msky at yahoo.co.uk Wed Aug 27 12:09:50 2008 From: t1msky at yahoo.co.uk (Victor) Date: Wed, 27 Aug 2008 05:09:50 -0700 Subject: defining valid combinations Message-ID: Hi I am relatively new to eprime and trying to build an experiment where people are asked to try and find the correct combination to a lock. Participants are asked to input 4 numbers (1-4) and then press enter. Each number can only be used once in each entry, so there are 24 possible valid responses. The correct combination will be defined as the 5th distinct response that is entered and subsequently rewarded each time it is input over approx 100 trials. What i would like to know is how to define valid responses and return an error message if an invalid response is input? I would also like to know how to record correct responses based on the 5th distinct response input by the participant? Any help will be greatly appreciated. Many thanks Tim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 mplenhart at gmail.com Wed Aug 27 12:51:45 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Wed, 27 Aug 2008 05:51:45 -0700 Subject: defining valid combinations In-Reply-To: <4d7b66db-2e2e-4b81-a4d4-a9f099b56286@m45g2000hsb.googlegroups.com> Message-ID: Hi Tim, In general, your responses from the subject will follow the format of XXXX{ENTER} where the X's represent the numbers 1-4. At this point, there are two ways to determine if a valid response has been made. You can either parse through the response and check for repeated numbers, or you can compare the entire response to a list of valid responses. In cases where there are a very large number of responses, I would recommend the former. However, since you have only 24 valid responses, I would strongly recommend the latter, since it requires far less script, and the script it does require is far less complex. To start, you would need to create a global array that will hold the 24 valid responses. Global variables are those that are declared on the User tab of the Script window and retain their value throughout the course of the experiment. They can also be accessed from any level within the experiment. First, open the Script window via the View menu in E-Studio, or by pressing ALT+5. Then, click the User tab. You can declare your array as follows: Dim arrValid(24) As String This array is now ready for use within your experiment. Place an InLine at the start of the SessionProc and load each valid response into the array. To make things easier, include the {ENTER} special key in the valid response. For example: arrValid(1) = "1234{ENTER}" arrValid(2) = "1324{ENTER}" ... And so on. Then, you would place an InLine immediately following the object that collects the subjects response to check the validity. This would consist of using a loop to check the response against each value in the array. If a match is found, you could set a flag variable and exit the loop: Dim boolMatch As Boolean boolMatch = False Dim nCount As Integer For nCount = 1 To UBound(arrValid) If Stimulus.RESP = arrValid(nCount) Then boolMatch = True Exit For End If Next This script assumes that the object collecting the response is named Stimulus. After this loop has ended, you can then check the value of boolMatch to see if a match has been made, and then take the necessary action. If the response is not valid, you can jump back to the response object using a Label (e.g., place a Label object immediately before the response object, and then use a Goto command in your script to jump to the name of the Label - Goto Label1, etc). For the second part of your question, you would need to add a bit more script that uses the script you have already created to make decisions. If I understand your description correctly, the correct response would be defined as the 5th distinct response entered by the subject, regardless of what it is. If this is the case, then you will need to use another array to store the valid responses that have already been made. Now, you will not only be checking the subject's responses against the list of valid responses, but also against the list of responses that have already been made. Both of these conditions would need to be met in order to add it to the list of valid responses that have been made. You can then jump back to the response object if necessary until you have 5 valid responses. Once 5 valid responses have been made (i.e., the second array of 5 slots you have created is full - that is, none of the slots have "" as their value), the correct response has been entered (i.e., the value of the 5th slot in the array). You can then use this response on subsequent trials as necessary. If you need more information about the script necessary to do this, I would recommend taking a look at the Array topic in the E-Basic Help (accessed via the Help menu in E-Studio). You may also want to look at the For...Next topic. Please let me know if you have any quesitons. -Matt PST Technical Consultant http://www.pstnet.com/ On Aug 27, 8:09?am, Victor wrote: > Hi > > I am relatively new to eprime and trying to build an experiment where > people are asked to try and find the correct combination to a lock. > Participants are asked to input 4 numbers (1-4) and then press enter. > Each number can only be used once in each entry, so there are 24 > possible valid responses. The correct combination will be defined as > the 5th distinct response that is entered and subsequently rewarded > each time it is input over approx 100 trials. > > What i would like to know is how to define valid responses and return > an error message if an invalid response is input? > I would also like to know how to record correct responses based on the > 5th distinct response input by the participant? > > Any help will be greatly appreciated. > > Many thanks > > Tim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 thenillebraun at yahoo.com.br Wed Aug 27 13:17:17 2008 From: thenillebraun at yahoo.com.br (Thenille Braun) Date: Wed, 27 Aug 2008 06:17:17 -0700 Subject: Res: experiment design Message-ID: Hi Matt, thank you very much for your attention. I'll work on it. I've started to work with e prime 2 months ago, and I have a few problems to solve yet. The experiment I described in my last email would have two different stimuli - in 1 group the participants will have to tap their fingger with auditory stim. , and this experiment I was able to develop - I created the wave fills in Sound Forge. But the 2 group must to do?the same thing with visual stim. (flashing) and this I am not able to design. I'm sending my?filles to you. It would be great if you take a look and help me with this. And I'm working with e prime 1.0 Could you help me to write the InLine scripts? This will be wonderfull ... Thank you soo much! All the best! Thenille. ----- Mensagem original ---- De: Matt Lenhart Para: E-Prime Enviadas: Ter?a-feira, 26 de Agosto de 2008 12:23:02 Assunto: Re: experiment design Hi Thenille, The most common options for presenting flashing stimuli in E-Prime are: 1) If you are using E-Prime 2.0, create and present a movie file with the desired effect. 2) Use InLine script and the Canvas object to quickly present and remove images and/or text, creating a "flashing" effect. If you are unfamiliar with the use of the Canvas object, I would recommend taking a look at the Canvas topic in the E-Basic help (accessed via the Help menu in E-Studio). The basic functions of the Canvas object are presenting text, images, and shapes on the screen. The text, images, and shapes can be removed by "clearing" the Canvas (i.e., screen). 3) Use InLine script and a Slide object to present a "flashing" effect. Slide sub-objects can be accessed in InLine script and their properties can be changed in real time. This requires a very specific technique so that the Slide object can be presented on screen while InLine script is running. In the FIles section, take a look at the Process Responses Template sample for an example of how this is done. Essentially, the Slide object's Duration is set to 0, while the End Action is set to "none" and the Time Limit is set to however long you want to allow the subject to respond. Because of this, the object will be presented on screen and E-Prime will then immediately begin running InLine script. You should be able to adapt the sample directly to your purposes. The primary change would be that your experiment will alter the color of the Slide object at regular intervals, rather than waiting for a response from the subject. If you have any questions, please let me know. Matt PST Technical Consultant http://www.pstnet.com On Aug 25, 9:40 am, thenillebraun wrote: > Hello. > > I've been trying to desing an experiment in e-prime which participants > would have to tap the fingger at the same time that visual stimuli > flash in the center of the computer. This stimulus its like a point > flashing in 800 msec, in a second trial the time is 400 msec, then 200 > msec and so on. > > How can I desing this experiment with flashing stimuli? > Any help would be highly appreciates. > > All the best > Thenille Braun. Novos endere?os, o Yahoo! que voc? conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com. http://br.new.mail.yahoo.com/addresses --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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: E Prime Thenille.zip Type: application/x-zip-compressed Size: 75040 bytes Desc: not available URL: From mplenhart at gmail.com Wed Aug 27 14:37:10 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Wed, 27 Aug 2008 07:37:10 -0700 Subject: Res: experiment design In-Reply-To: <305490.18399.qm@web34802.mail.mud.yahoo.com> Message-ID: Hi Thenille, You can take a look at the experiment "Process Responses Template Flash.es" that has been added to the Files section. This is a very basic experiment based off of Process Responses Template.es. This follows option 3 provided in my previous response. Essentially, a loop is used immediately following the response object (which has its Duration set to 0). This loop runs continuously until 10 seconds have passed (the Time Limit property of the response object has been set to 10000). The loop will change the background color of the SlideText sub- object every 100ms to present a flashing effect. The subject can respond multiple times during this time (the Max Count property of the response object has been set to 99999 and the End Action has been set to none). A response count is reported on the stimulus as a reference. The script gains access to the Slide object and changes the BackColor property every iteration through the loop. The Slide object is then redrawn. Though this may not be exactly what you will be presenting in your task, you should be able to use the methods demonstrated and apply them to your task (e.g., if you are presenting a flashing dot, you would change the Text property from blank to "." every 100ms, etc). Please let me know if you have any questions. - Matt PST Technical Consultant http://www.pstnet.com/ On Aug 27, 9:17?am, Thenille Braun wrote: > Hi Matt, > thank you very much for your attention. > I'll work on it. > I've started to work with e prime 2 months ago, and I have a few problems to solve yet. > The experiment I described in my last email would have two different stimuli - in 1 group the participants will have to tap their fingger with auditory stim. , and this experiment I was able to develop - I created the wave fills in Sound Forge. But the 2 group must to do?the same thing with visual stim. (flashing) and this I am not able to design. > I'm sending my?filles to you. It would be great if you take a look and help me with this. > And I'm working with e prime 1.0 > Could you help me to write the InLine scripts? This will be wonderfull ... > Thank you soo much! > All the best! > Thenille. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 mplenhart at gmail.com Wed Aug 27 14:40:12 2008 From: mplenhart at gmail.com (Matt Lenhart) Date: Wed, 27 Aug 2008 07:40:12 -0700 Subject: Res: experiment design In-Reply-To: <70fe8d4c-c11a-46ee-b2d9-2c921726dd64@k13g2000hse.googlegroups.com> Message-ID: Thenille, I apparently cannot upload any files at this time. I will e-mail the file to you. However, please post any responses to this thread. Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 jbpsy1 at gmail.com Wed Aug 27 15:24:31 2008 From: jbpsy1 at gmail.com (jbpsy1) Date: Wed, 27 Aug 2008 08:24:31 -0700 Subject: Color, Size, and Display Duration Randomization Message-ID: Hello, I have set up an experiment in which a series of objects (squares or x's), along with a tone, are presented quickly. We would like for the object's size (~5cm to 30cm screen image size, in 5cm intervals) and display duration (~75ms to 100ms in 5ms intervals) to be radomized between trials (1 trial= entire presentation of series), and the object's color (red, yellow, green, blue, orange) to be randomized within each trial. I've almost completely accomplished this task by creating extremely large lists that contain one instance of each parameter and randomizing selection within the list, but I know there has to be an easier way. Your help is greatly appreciated! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 flarn2008 at googlemail.com Wed Aug 27 17:31:19 2008 From: flarn2008 at googlemail.com (Anya) Date: Wed, 27 Aug 2008 10:31:19 -0700 Subject: can Eprime files created in Demo be converted to regular ones? Message-ID: Hello Please can anyone tell me how i can convert a bunch of files created in Demo to files under regular license? I now have the dongle and the serial number but my files were created in Demo. They are rather long and complex experiments and i really would not want to create them from scratch in the regular licensed version which i now have. Thanks very much! Anya --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 Wed Aug 27 17:36:29 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Wed, 27 Aug 2008 13:36:29 -0400 Subject: Color, Size, and Display Duration Randomization In-Reply-To: <221c94cf-d850-469f-8834-5bfde4260eb3@r66g2000hsg.googlegroups.com> Message-ID: jbpsy1, > I've almost completely accomplished this task by creating extremely > large lists that contain one instance of each parameter and > randomizing selection within the list, but I know there has to be an > easier way. Yes there is. Have you done the Nested Lists tutorial in the Getting Started Guide that came with E-Prime? Explore that and you should come up with a better solution. Cheers, -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From thenillebraun at yahoo.com.br Thu Aug 28 11:41:56 2008 From: thenillebraun at yahoo.com.br (Thenille Braun) Date: Thu, 28 Aug 2008 04:41:56 -0700 Subject: Res: Res: experiment design Message-ID: Hello Matt I appreciate your attention! Thank you soo much! I'm going to spand some time on this experiment. Thanks for sending me your fill. All the best. Thenille. ----- Mensagem original ---- De: Matt Lenhart Para: E-Prime Enviadas: Quarta-feira, 27 de Agosto de 2008 11:37:10 Assunto: Re: Res: experiment design Hi Thenille, You can take a look at the experiment "Process Responses Template Flash.es" that has been added to the Files section. This is a very basic experiment based off of Process Responses Template.es. This follows option 3 provided in my previous response. Essentially, a loop is used immediately following the response object (which has its Duration set to 0). This loop runs continuously until 10 seconds have passed (the Time Limit property of the response object has been set to 10000). The loop will change the background color of the SlideText sub- object every 100ms to present a flashing effect. The subject can respond multiple times during this time (the Max Count property of the response object has been set to 99999 and the End Action has been set to none). A response count is reported on the stimulus as a reference. The script gains access to the Slide object and changes the BackColor property every iteration through the loop. The Slide object is then redrawn. Though this may not be exactly what you will be presenting in your task, you should be able to use the methods demonstrated and apply them to your task (e.g., if you are presenting a flashing dot, you would change the Text property from blank to "." every 100ms, etc). Please let me know if you have any questions. - Matt PST Technical Consultant http://www.pstnet.com/ On Aug 27, 9:17?am, Thenille Braun wrote: > Hi Matt, > thank you very much for your attention. > I'll work on it. > I've started to work with e prime 2 months ago, and I have a few problems to solve yet. > The experiment I described in my last email would have two different stimuli - in 1 group the participants will have to tap their fingger with auditory stim. , and this experiment I was able to develop - I created the wave fills in Sound Forge. But the 2 group must to do?the same thing with visual stim. (flashing) and this I am not able to design. > I'm sending my?filles to you. It would be great if you take a look and help me with this. > And I'm working with e prime 1.0 > Could you help me to write the InLine scripts? This will be wonderfull ... > Thank you soo much! > All the best! > Thenille. Novos endere?os, o Yahoo! que voc? conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com. http://br.new.mail.yahoo.com/addresses --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 t1msky at yahoo.co.uk Thu Aug 28 16:46:18 2008 From: t1msky at yahoo.co.uk (Victor) Date: Thu, 28 Aug 2008 09:46:18 -0700 Subject: defining valid combinations In-Reply-To: <45793a55-19a7-4e65-9648-d2189d3e4988@y21g2000hsf.googlegroups.com> Message-ID: Hi Matt Thanks for the response. I have completed the first part of the experiement but am all at sea with regards to the second. I have referred to the help section of E- studio but to no avail. I am unsure as to whether i should be setting up a dynamic or fixed array, nor how to fill it with responses input by participants. I have had many attempts and feel sure i am nowhere near to a solution :S Could you please provide further asisstance with regard to creating an array to select the 5th distinct valid combination as the correct response? Thanks again for your time and patience Regards Tim Matt Lenhart wrote: > Hi Tim, > > In general, your responses from the subject will follow the format of > XXXX{ENTER} where the X's represent the numbers 1-4. At this point, > there are two ways to determine if a valid response has been made. You > can either parse through the response and check for repeated numbers, > or you can compare the entire response to a list of valid responses. > In cases where there are a very large number of responses, I would > recommend the former. However, since you have only 24 valid responses, > I would strongly recommend the latter, since it requires far less > script, and the script it does require is far less complex. > > To start, you would need to create a global array that will hold the > 24 valid responses. Global variables are those that are declared on > the User tab of the Script window and retain their value throughout > the course of the experiment. They can also be accessed from any level > within the experiment. First, open the Script window via the View menu > in E-Studio, or by pressing ALT+5. Then, click the User tab. You can > declare your array as follows: > > Dim arrValid(24) As String > > This array is now ready for use within your experiment. Place an > InLine at the start of the SessionProc and load each valid response > into the array. To make things easier, include the {ENTER} special key > in the valid response. For example: > > arrValid(1) = "1234{ENTER}" > arrValid(2) = "1324{ENTER}" > ... > > And so on. Then, you would place an InLine immediately following the > object that collects the subjects response to check the validity. This > would consist of using a loop to check the response against each value > in the array. If a match is found, you could set a flag variable and > exit the loop: > > Dim boolMatch As Boolean > boolMatch = False > > Dim nCount As Integer > > For nCount = 1 To UBound(arrValid) > If Stimulus.RESP = arrValid(nCount) Then > boolMatch = True > Exit For > End If > Next > > This script assumes that the object collecting the response is named > Stimulus. After this loop has ended, you can then check the value of > boolMatch to see if a match has been made, and then take the necessary > action. If the response is not valid, you can jump back to the > response object using a Label (e.g., place a Label object immediately > before the response object, and then use a Goto command in your script > to jump to the name of the Label - Goto Label1, etc). > > For the second part of your question, you would need to add a bit more > script that uses the script you have already created to make > decisions. If I understand your description correctly, the correct > response would be defined as the 5th distinct response entered by the > subject, regardless of what it is. If this is the case, then you will > need to use another array to store the valid responses that have > already been made. Now, you will not only be checking the subject's > responses against the list of valid responses, but also against the > list of responses that have already been made. Both of these > conditions would need to be met in order to add it to the list of > valid responses that have been made. You can then jump back to the > response object if necessary until you have 5 valid responses. Once 5 > valid responses have been made (i.e., the second array of 5 slots you > have created is full - that is, none of the slots have "" as their > value), the correct response has been entered (i.e., the value of the > 5th slot in the array). You can then use this response on subsequent > trials as necessary. > > If you need more information about the script necessary to do this, I > would recommend taking a look at the Array topic in the E-Basic Help > (accessed via the Help menu in E-Studio). You may also want to look at > the For...Next topic. > > Please let me know if you have any quesitons. > > > -Matt > PST Technical Consultant > http://www.pstnet.com/ > > On Aug 27, 8:09?am, Victor wrote: > > Hi > > > > I am relatively new to eprime and trying to build an experiment where > > people are asked to try and find the correct combination to a lock. > > Participants are asked to input 4 numbers (1-4) and then press enter. > > Each number can only be used once in each entry, so there are 24 > > possible valid responses. The correct combination will be defined as > > the 5th distinct response that is entered and subsequently rewarded > > each time it is input over approx 100 trials. > > > > What i would like to know is how to define valid responses and return > > an error message if an invalid response is input? > > I would also like to know how to record correct responses based on the > > 5th distinct response input by the participant? > > > > Any help will be greatly appreciated. > > > > Many thanks > > > > Tim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send 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 Aug 28 20:22:53 2008 From: mcfarla9 at msu.edu (David McFarlane) Date: Thu, 28 Aug 2008 16:22:53 -0400 Subject: defining valid combinations In-Reply-To: Message-ID: Tim, >I have referred to the help section of E-studio but to no avail. Just a general comment, that is the wrong help section if you want help with E-Basic constructs. For that you want to go to the E-Basic Help, i.e., Help > E-Basic Help (*not* Help Topics). -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From t1msky at yahoo.co.uk Fri Aug 29 10:15:08 2008 From: t1msky at yahoo.co.uk (Victor) Date: Fri, 29 Aug 2008 03:15:08 -0700 Subject: defining valid combinations In-Reply-To: <48b70922.8702be0a.398a.ffffa274SMTPIN_ADDED@mx.google.com> Message-ID: Hi David I have been using the E-basic Help. The problem that I have is not fully understanding VB. I have gotten away with bootstrapping until now by using other sample experiments. With the current problem, I can not find an example, nor am I sure if what I am writing is affecting the program in the way I intend, so I could be cose to a solution but I am probably more likely to be a million miles away. David McFarlane wrote: > Tim, > > >I have referred to the help section of E-studio but to no avail. > > Just a general comment, that is the wrong help section if you want > help with E-Basic constructs. For that you want to go to the E-Basic > Help, i.e., Help > E-Basic Help (*not* Help Topics). > > -- David McFarlane, Professional Faultfinder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~--- From olij85 at googlemail.com Sat Aug 30 11:42:23 2008 From: olij85 at googlemail.com (olij85 at googlemail.com) Date: Sat, 30 Aug 2008 04:42:23 -0700 Subject: Multiple response Timings in Eprime Message-ID: Hi there - I'm running an experiment where I am measuring response latencies (how long it takes for a patient to make their first response) and answer duration (the time between the stimuli onset and the last response) At the moment I am using visual wave software to measure each time by hand, which is a horrible process and wanted to do the remainder of the patients using eprime - but I can only time one response. Is there an easy way to make this happen - I've searched on google and there are only pages and pages of Ebasic code to sift through, and i'm sure it's only one or two lines that I need. Thanks very much Oli --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "E-Prime" group. To post to this group, send email to e-prime at googlegroups.com To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com For more options, visit this group at http://groups.google.com/group/e-prime?hl=en -~----------~----~----~----~------~----~------~--~---