AdvancedHMI Software

General Category => Support Questions => Topic started by: needhmi on April 27, 2017, 02:11:54 PM

Title: time stamp format for data log
Post by: needhmi on April 27, 2017, 02:11:54 PM
Thanks for the great open source HMI solution and this forum!

Is it possible to get milliseconds in the BasicDataLogger21 TimeStampFormat?  I have tried HH:mm:ss.ms.  I am using a 40ms log interval - and the stamps happen at the correct rate, but the milliseconds show up duplicated instead of counting up, like:

HH:MM:SS.?

12:01:01.11
12:01:01.11 .... until the second changes, then
12:01:02.12

I'm assuming I just don't have the right value for milliseconds in my format. 
Title: Re: time stamp format for data log
Post by: Archie on April 27, 2017, 02:26:19 PM
Try fff instead of ms
Title: Re: time stamp format for data log
Post by: needhmi on April 27, 2017, 02:34:01 PM
Thank you, Thank you - that works great, and correcting that also solves an "Exception Unhandled" for the sw.Dispose().