Author Topic: time stamp format for data log  (Read 1334 times)

needhmi

  • Newbie
  • *
  • Posts: 27
    • View Profile
time stamp format for data log
« 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. 

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5323
    • View Profile
    • AdvancedHMI
Re: time stamp format for data log
« Reply #1 on: April 27, 2017, 02:26:19 PM »
Try fff instead of ms

needhmi

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: time stamp format for data log
« Reply #2 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().