Millisecond Forums

Record time

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

By aarthiravi - 3/7/2022

Hi,

In the raw data file, the time column lets you know when the experiment started. But is there a way to know when the experiment ended?
By Dave - 3/7/2022

aarthiravi - 3/8/2022
Hi,

In the raw data file, the time column lets you know when the experiment started. But is there a way to know when the experiment ended?

You can log script.currenttime or rely on script.elapsedtime if you're interested in the duration (in ms).
https://www.millisecond.com/support/docs/v6/html/language/properties/currenttime.htm
https://www.millisecond.com/support/docs/v6/html/language/properties/elapsedtime.htm
By aarthiravi - 3/7/2022

Dave - 3/8/2022
aarthiravi - 3/8/2022
Hi,

In the raw data file, the time column lets you know when the experiment started. But is there a way to know when the experiment ended?

You can log script.currenttime or rely on script.elapsedtime if you're interested in the duration (in ms).
https://www.millisecond.com/support/docs/v6/html/language/properties/currenttime.htm
https://www.millisecond.com/support/docs/v6/html/language/properties/elapsedtime.htm

Alright! Thank you!