Millisecond Forums

Real-Time Timestamps

https://forums.millisecond.com/Topic34863.aspx

By DominikVienna - 10/18/2022

Hi,
Does anyknow know of a way to record the Real Time Timestamps in the HH:MM:SS format? The timestamps property only produces the amount of milliseconds since the start of the experiment instead of the real time.

In adittion is there any way to receive the timestamp (in milliseconds) for every saved datapoint/row instead of only when the blocknumbers update?
As you can see in the screenshot attached to this post the timestamp only updated corresponding to blocknum/blockcode.

Thanks in advance!
By Dave - 10/18/2022

DominikVienna - 10/18/2022
Hi,
Does anyknow know of a way to record the Real Time Timestamps in the HH:MM:SS format? The timestamps property only produces the amount of milliseconds since the start of the experiment instead of the real time.

In adittion is there any way to receive the timestamp (in milliseconds) for every saved datapoint/row instead of only when the blocknumbers update?
As you can see in the screenshot attached to this post the timestamp only updated corresponding to blocknum/blockcode.

Thanks in advance!

> Does anyknow know of a way to record the Real Time Timestamps in the HH:MM:SS format?

script.currenttime returns the current time in HH:MM:SS. https://www.millisecond.com/support/docs/current/html/language/properties/currenttime.htm

> In adittion is there any way to receive the timestamp (in milliseconds) for every saved datapoint/row instead of only when the blocknumbers update?
As you can see in the screenshot attached to this post the timestamp only updated corresponding to blocknum/blockcode.

Since it's entirely unclear what timestamp(s) you're recording, it's not possible to answer your question.

By DominikVienna - 10/18/2022

Tha
Dave - 10/18/2022
DominikVienna - 10/18/2022
Hi,
Does anyknow know of a way to record the Real Time Timestamps in the HH:MM:SS format? The timestamps property only produces the amount of milliseconds since the start of the experiment instead of the real time.

In adittion is there any way to receive the timestamp (in milliseconds) for every saved datapoint/row instead of only when the blocknumbers update?
As you can see in the screenshot attached to this post the timestamp only updated corresponding to blocknum/blockcode.

Thanks in advance!

> Does anyknow know of a way to record the Real Time Timestamps in the HH:MM:SS format?

script.currenttime returns the current time in HH:MM:SS. https://www.millisecond.com/support/docs/current/html/language/properties/currenttime.htm

> In adittion is there any way to receive the timestamp (in milliseconds) for every saved datapoint/row instead of only when the blocknumbers update?
As you can see in the screenshot attached to this post the timestamp only updated corresponding to blocknum/blockcode.

Since it's entirely unclear what timestamp(s) you're recording, it's not possible to answer your question.


Thank you for the quick reply.
The first part fixed the issue altogether!