Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

plot graph of an array of timestamps vs an array of temperature values

Hi,

 

I'm trying to plot a graph which consists of timestamps and temperature. I initially polled the information from my gsm modem as sms text message and extracted the temperature values as numeric and timestamps as a string but to plot temperature against time i would need to have them both as numerical values and my time stamp is a string value i.e. 14:59:32. Ive tried changing the timestamp value to a numerical value but it rounds it up to 15 which isnt helpful as i have 3 15 values in now for different times 😞 . Any help would be much appreciated?

 

Thanks,

 

Hamid.

0 Kudos
Message 1 of 2
(5,926 Views)

Hi Hamid,

 

I have put together the code below which seems to convert a timestamp to a numeric data type.

 

Convert Timestamp to Numeric.png

 

I hope this helps!

 

Best Regards,

 

Christian Hartshorne

NI|UK

0 Kudos
Message 2 of 2
(5,905 Views)