From: yaakov t. <yaa...@gm...> - 2016-03-07 11:15:38
|
Hello Shane. Thank you so much for your help. sadly, after two weeks of tryouts , you are now my only hope. It doesn't seem to work. A. it doesn't do anything when timeis up. B. for some reasons changing the property to 0, for using the keyboard instead of the mouse, doesn't seems to work either. Sorry for the trouble, but, Do you think you could help me? The adjusted file is attached here. Thanks again, Yaakov. On Fri, Feb 26, 2016 at 12:08 AM Shane Mueller <smu...@ob...> wrote: > This would be fairly easy, except for all of the scoring involved. The > original versions in wide use don't permit non-responses, and the > scoring routines are quite complex for these, so I can't guarantee that > the will provide reasonable output or even not crash if you make > changes. The basic advice would be: > > . Edit the .pbl file using notepad++ or another similar progammer's > text editor. look for line 313: > > (Assuming you are using the mouse selection) > > resp <- WaitForClickOnTarget([comp1,comp2,comp3,comp4], > ["1","2","3","4"]) > > > This needs to be replaced by > > resp <- > WaitForClickOnTargetWithTimeout(([comp1,comp2,comp3,comp4], > ["1","2","3","4"]) > > > > > If no response is made in time, the string "<timeout>" is returned. > You will need to handle all of the times when resp is used and expects > a a value like "1". The first thing would be to recode resp to be > something like "5" when it is a timeout: > > if(resp=="<timeout>") > { > resp <- "5" > } > > > > Then, you need to handle cases where resp is "5". One of the things > that happens is that it uses the response to look up the feature along > different dimensions. These are stored in three global variables > around line 130 > > > gColors <- ["Red", "Green","Yellow","Blue"] > gShapes <- ["Triangle","Star","Cross","Circle"] > gNumbers <- ["1","2","3","4"] > > > > Add a fifth element to each that indicates timeout > gColors <- ["Red", "Green","Yellow","Blue","TIMEOUT"] > gShapes <- > ["Triangle","Star","Cross","Circle","TIMEOUT"] > gNumbers <- > ["1","2","3","4","TIMEOUT"] > > > This will probably get you most of the way there, but you will need to > check carefully that the data are being recorded correctly. If you get > this far and have problems, send me your edited .pbl script and I'll > see what I can do. > > Shane > > > On Thu, 2016-02-25 at 10:55 +0000, yaakov tayeb wrote: > > Hi and let me thank you for your great work! > > > > I need help, please. Even tough I know a bit about programming I > > couldn't handle it myself. > > > > I want to use a speeded version of the task, meaning, if the subject > > didn't respond in 3 sec, the next trial is presented, and we have a > > "time error". > > > > Can you help me modifying the script? > > > > Thanks a lot! > > > > Yaakov. > > > > > > -- > > Yaakov Tayeb, Phd Student > > Department of Psychology, Bar Ilan University > > The Gonda Multidisciplinary Brain Research Center > > Bar Ilan University > > Ramat Gan 52900 Israel > > Sent from Mobile > > --------------------------------------------------------------------- > > --------- > > Site24x7 APM Insight: Get Deep Visibility into Application > > Performance > > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > Monitor end-to-end web transactions and take corrective actions now > > Troubleshoot faster and improve end-user experience. Signup Now! > > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > > _______________________________________________ > > Pebl-list mailing list > > Peb...@li... > > https://lists.sourceforge.net/lists/listinfo/pebl-list > -- Yaakov Tayeb, Phd Student Department of Psychology, Bar Ilan University The Gonda Multidisciplinary Brain Research Center Bar Ilan University Ramat Gan 52900 Israel Sent from Mobile |