How do I log timing with e-basic ?
 
 
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



How do I log timing with e-basic ? Expand / Collapse
Author
Message
Posted 7/16/2007 12:01:36 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 7/30/2007 6:06:51 PM
Posts: 25, Visits: 36
Hello,

  I wish to log timing information in an e-basic..... how do I do it ? My guess is that I should do something like

 c.SetAttrib "Onset time", Clock.Read

 SlideDisplayStimuli.Run

However it seems very complicated and long to add up all the loggable information. Is there a simpler way to do it ?

Post #494
Posted 7/16/2007 5:24:00 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 7/30/2007 6:06:51 PM
Posts: 25, Visits: 36
Wait I think it is more like this right ? :

   c.SetAttrib "StartTime", SlideDisplayStimuli.StartTime
   c.SetAttrib "FinishTime", SlideDisplayStimuli.FinishTime
   c.SetAttrib "OnsetTime", SlideDisplayStimuli.OnsetTime

Post #500
Posted 7/17/2007 2:33:05 PM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVP

Group: Administrators
Last Login: Today @ 5:00:06 PM
Posts: 569, Visits: 1,238
The code you have in your 2nd reply is exactly what E-Prime generates when you tick each property of the Logging property page in the E-Studio GUI for the object.

If you are doing something custom, you would use use c.SetAttrib to assign the name/value of whatever entity you wanted log.

Clock.Read will provide the timestamp at that moment.

-Brandon

Post #504
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 6:35pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.094. 10 queries. Compression Disabled.