08-02-2024 10:55 AM
Hello everyone,
I am trying to take a measurement of temperature using the CompactRIO Real-Time Scan Mode and write it to a TDMS file, which has worked successfully. What I still want to do is add a timestamp in the first column in Excel, beginning with zero, at which the data is acquired.
I can't add the timestamp directly to the array; I must first convert it to a double. When I did that, it looked like this(see foto). How can I add the time in the first column to correspond to the time when each measurement is read?
08-02-2024 01:34 PM
Hi ghaithha,
@ghaithha wrote:
What I still want to do is add a timestamp in the first column in Excel, beginning with zero, at which the data is acquired.
I can't add the timestamp directly to the array; I must first convert it to a double. When I did that, it looked like this(see foto). How can I add the time in the first column to correspond to the time when each measurement is read?
Why do you need to ReshapeArray?
08-02-2024 06:23 PM
I would recommend you to explore NI CompactRIO Waveform Reference Library
08-05-2024 09:55 AM
''simple difference of two timestamps''
I have a timestamp from the data buffer that indicates the time at which the data is acquired. Then I need to subtract this with the start time to get the timestamp beginning with zero. How can I get the start time?