Hi,

Are you talking about relative timestamps (ticks of the the 32.768 kHz
clock on the shimmer), or real world timestamps (i.e. wall time).

If the former, you need to take a look at some of the other example
applications that do this and see how it is handled (as a specific example
look at how the "LocalTime" interface is used in BoilerPlate). Then you
will need to write this value to the file with the gsr data every sample
period.

If the latter, you will need to bootstrap the shimmer with the real world
time. The HostTimeLogging application has one example of how to do this
(take a look at the README for an explanation of how this works). Then you
will need to grab this time and write it to file.

Alternatively, presumably you know the sampling rate, so once you know the
start time you can easily figure out the time each subsequent sample was
taken, within the tolerances of the crystals on the device.

Mike

On Tue, Aug 14, 2012 at 11:11 PM, Fola Alamudun <[email protected]>wrote:

> I've been able to get GSR data by modifying JustFatLogging (with A LOT of
> help).
> My question is how this can be modified to store/extract timestamp values
> as well?
> Does it need modification in order to achieve this? if this is the case,
> how do i calculate the timestamps from the stored data.
>
> thanks.
>
> *"Nothing will benefit human health and increase chances for survival of
> life on Earth as much as the evolution to a vegetarian diet." ~ Albert
> Einstein (1879 - 1955).
>
> Fola Alamudun
> Computer Engineering
> Texas A&M University
> mobile: 469-995-4088 | email: [email protected]*
>
> _______________________________________________
> Shimmer-users mailing list
> [email protected]
> https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users
>
>
_______________________________________________
Shimmer-users mailing list
[email protected]
https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users

Reply via email to