Search found 2 matches

by redaNex
Fri 28. Sep 2018, 11:08
Forum: Linux
Topic: Linux timestamp
Replies: 3
Views: 3658

Re: Linux timestamp

Thank you for these valuable informations.

To go further, by posing some restrictions:
- Use only the PCIE driver, chardev version
- Use only the libpcan librarie
- Only use my app

Can I get a system date for the frame instead of a ms/us date by doing:
- modify the structure TPCANRdMsg (WORD wUsec ...
by redaNex
Thu 27. Sep 2018, 12:23
Forum: Linux
Topic: Linux timestamp
Replies: 3
Views: 3658

Linux timestamp

Hello,

I use 2 CAN-miniPCIe cards in a Linux system, for historical reasons I use the driver V7.10.

I need to get the absolute date of CAN frames: the Linux system date.
This poses several questions:

How to get the current date used for the time stamp (there is CAN_GetSystemTime, but how to do it ...