John,

The TimeStamp() function in PEBL will spit out a time/date string that
you can add to the output. It will look like this:

Sat May 30 02:41:17 2015

  You might want to save this on each trial of the data file, say in
the second column of the raw data file. To do this, first change the
column headers like this (around line 81) from:


   gFileOut <-
GetNewDataFile(gSubNum,gWin,"bart","csv","subnum,trial,type,life,pumps,
total,collected,burst,time")

to:
   gFileOut <-
GetNewDataFile(gSubNum,gWin,"bart","csv","subnum,timestamp,trial,type,l
ife,pumps,total,collected,burst,time")
 
 
Then, change the logging line around line 121 from:

   FilePrint_(gFileOut,gSubNum+","+trial+","+Third(i)+",")
    
to:

FilePrint_(gFileOut,gSubNum+","+TimeStamp()+","+trial+","+Third(i)+",")

   

Every line will have a different time (a few seconds apart), but the
date should be recorded on each line.


Also, if you have data you recorded in the past that you are trying to
figure out their order, there is a log file saved in pebl
-exp.0.14\PEBLLaunch-log.txt that will give a timestamp of each time a
task or experiment chain was run, along with settings/subject
codes/parameters.  This might be helpful tracking down multi-session
studies or times when subject codes were mis-coded or something.

Shane


On Tue, 2016-03-29 at 13:58 +0000, Simon, John wrote:
> Hello,
>  
> Is there a way to add the current date to the output for the BART
> task?
>  
> Thank you,
>  
> John
> John Simon, M.A.
> Clinical Research Coordinator  III
> Center for ADHD
> Division of Behavioral Medicine and Clinical Psychology
> Cincinnati Children's Hospital Medical Center
> [email protected]
>  
>  
> ---------------------------------------------------------------------
> ---------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
> _______________________________________________
> Pebl-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pebl-list

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Pebl-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pebl-list

Reply via email to