11-24-2020 07:22 AM
I would like to add the time elapsed to my measurements, so that the first sample I acquire would have a time of zero and then for the second sample the time elapsed should be calculated and so on. So far I could only add the time stamp which includes Hours,minutes,seconds and milliseconds but it's not convenient to be represented in a graph, that's why I would love to get the time elapsed in seconds or milliseconds and that should be my x-axis.
11-24-2020 08:20 AM
Elapsed time = Current timestamp - timestamp taken at first sample
11-24-2020 08:58 AM
That sounds simple, I was confused by all the posts I have seen about that topic and didn't think about the simple way of doing it.
I just need to think of a way of subtracting the intial time stamp of the rest of the other timestamps. I will think of a way and then come to that thread if I didn't reach a convenient solution.
11-24-2020 09:09 AM
Uhhh, the subtract function ????
11-24-2020 09:10 AM - edited 11-24-2020 09:12 AM
Well there's a couple ways to include elapsed time, after all it's just another timestamp...
11-24-2020 10:54 AM
Use the get date time in seconds vi, then you can wire "To dbl" function, and do the subtraction, the result will be in seconds...