Timestamps?

125 views
Skip to first unread message

Duncan A

unread,
Feb 4, 2014, 4:59:16 PM2/4/14
to e-p...@googlegroups.com
Hi all,

Is it possible to record the computer/system time (hour:minutes:seconds.milliseconds) at each stimulus presentation in addition to time in milliseconds (e.g. RT-time)?

I want to use this to match up E-Prime's output with output from an eyetracker. Because the device starts recording before our E-Prime program runs, using time from the start of the program doesn't allow us to match up timestamps.

I'm still very new to using E-Prime, so I hope this question makes sense.

Thanks,
DA

David McFarlane

unread,
Feb 4, 2014, 5:15:58 PM2/4/14
to e-p...@googlegroups.com
DA,

Look at the "Time, Time$ (functions)" and "Now (function)" topics in
the E-Basic Help facility. If you use EP2.0.10, then you may also
want to consider using the E-Prime SNTP Realtime Clock facility
(Experiment Object Properties, Timing tab) -- you may have to look at
the Knowledge Base or the New Features Guide for documentation on that.

If it were me, I would find some way to establish communication
directly between the eyetracker system and E-Prime for the purpose of
recording solid synchronization signals. And depending on the
eyetracker system, PST can supply E-Prime "Package Files" for working
directly with the eyetracker, which might simplify a lot of this.

-----
David McFarlane
E-Prime training
online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster )

/----
Stock reminder: 1) I do not work for PST. 2) PST's trained staff
take any and all questions at https://support.pstnet.com , and they
strive to respond to all requests in 24-48 hours, so make full use of
it. 3) In addition, PST offers several instructional videos on their
YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do
get an answer from PST staff, please extend the courtesy of posting
their reply back here for the sake of others.
\----

Duncan A

unread,
Feb 5, 2014, 5:56:40 PM2/5/14
to e-p...@googlegroups.com
Thanks so much, David! The "Time$" function is exactly what I was looking for.

I do have one more question. I looked through the other time-related topics in E-basic Help, all of them seem to leave milliseconds off of the system time. Is there any way to return the system time with hours, minutes, seconds, and milliseconds?

Thanks in advance,
DA

David McFarlane

unread,
Feb 6, 2014, 12:08:03 PM2/6/14
to e-p...@googlegroups.com
DA,

AFAIK, no. But I do not work for PST, so you might want to ask PST
Support directly. And then please write back here with their response.

Thanks,
-- David McFarlane


At 2/5/2014 05:56 PM Wednesday, Duncan A wrote:
>Thanks so much, David! The "Time$" function is exactly what I was looking for.
>
>I do have one more question. I looked through the other time-related
>topics in E-basic Help, all of them seem to leave milliseconds off
>of the system time. Is there any way to return the system time with
>hours, minutes, seconds, and milliseconds?
>
>Thanks in advance,
>DA
>
>On Tuesday, February 4, 2014 4:15:58 PM UTC-6, McFarlane, David wrote:
>DA,
>
>Look at the "Time, Time$ (functions)" and "Now (function)" topics in
>the E-Basic Help facility. If you use EP2.0.10, then you may also
>want to consider using the E-Prime SNTP Realtime Clock facility
>(Experiment Object Properties, Timing tab) -- you may have to look at
>the Knowledge Base or the New Features Guide for documentation on that.
>
>If it were me, I would find some way to establish communication
>directly between the eyetracker system and E-Prime for the purpose of
>recording solid synchronization signals. And depending on the
>eyetracker system, PST can supply E-Prime "Package Files" for working
>directly with the eyetracker, which might simplify a lot of this.
>
>-----
>David McFarlane
>E-Prime training
>online:
><http://psychology.msu.edu/Workshops_Courses/eprime.aspx>http://psychology.msu.edu/Workshops_Courses/eprime.aspx
>
>Twitter: @EPrimeMaster
>(<https://twitter.com/EPrimeMaster>https://twitter.com/EPrimeMaster )
>
>/----
>Stock reminder: 1) I do not work for PST. 2) PST's trained staff
>take any and all questions at
><https://support.pstnet.com>https://support.pstnet.com , and they
>strive to respond to all requests in 24-48 hours, so make full use of
>it. 3) In addition, PST offers several instructional videos on their
>YouTube channel
>(<http://www.youtube.com/user/PSTNET>http://www.youtube.com/user/PSTNET
Reply all
Reply to author
Forward
0 new messages