03-14-2017, 10:26 AM
Dean, I am troubleshooting a driver that used to work in the past, but now with the daylight change noticed an event to not work correctly.
I traced back to the following in a CML driver:
This creates MsgText to be CFGTIME14895007530420000
instead of CFGTIMEyyyy,mm,dd,hh,mm
I am almost certain that this code worked in the past, not sure what changed, what I missed that the format is ignored.
Thanks, Lleo
I traced back to the following in a CML driver:
Code:
          m_Time.SetDefFmt("%(Y,4,0),%(M,2,0),%(D,2,0),%(H,2,0),%(u,2,0)");
          Stamp := m_Time.GetCurStamp();
           MsgText := "CFGTIME";
          MsgText.AppendFmt(Stamp);
instead of CFGTIMEyyyy,mm,dd,hh,mm
I am almost certain that this code worked in the past, not sure what changed, what I missed that the format is ignored.
Thanks, Lleo