PCANBasic, timestamp
Posted: Sun 18. Aug 2019, 00:50
In reference to below snippet code in C# demo for PCAN-USB device. I understood there no timestamp for write message so I have to create one.
Can you hint or provide C# code that provide mSec and uSec so I can insert timestamp into my log message when TX happen (PCANBasic.Write(...)).
What .Net framework to provide same format, are they reference to UDT1970 epouch or Window or what?. The documentation does not reference which timestamp it reference to.
Thanks.
Code: Select all
TPCANTimestamp CANTimeStamp;
stsResult = PCANBasic.Read(m_PcanHandle, out CANMsg, out CANTimeStamp);
What .Net framework to provide same format, are they reference to UDT1970 epouch or Window or what?. The documentation does not reference which timestamp it reference to.
Thanks.