Hello,
I would like to ask you, is it somehow possible to get the same Timestamp using SocketCAN API as from PCAN Basic API?
Thank you.
Ales
SocketCAN PCAN getting PCAN Timestamp
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: SocketCAN PCAN getting PCAN Timestamp
Hello Ales,
Both SocketCAN and PCANBasic provide timestamping, although not the same mechanism is behind both APIs.
In short: Yes, both APIs will provide timestamps but they are handled
differently by both APIs.
Best Regards
Marvin
Both SocketCAN and PCANBasic provide timestamping, although not the same mechanism is behind both APIs.
In short: Yes, both APIs will provide timestamps but they are handled
differently by both APIs.
Best Regards
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: SocketCAN PCAN getting PCAN Timestamp
Hello Marvin,
thank you for information.
Can you tell me please, how to get Timestamp from SocketCAN API?
Thank you.
Ales
thank you for information.
Can you tell me please, how to get Timestamp from SocketCAN API?
Thank you.
Ales
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: SocketCAN PCAN getting PCAN Timestamp
Hello Ales,
You should take a look at the source for the can-util "candump" to see how timestamps are handled in SocketCAN.
https://github.com/linux-can/can-utils/ ... /candump.c
Beyond that you can ask the SocketCAN community for help regarding this. We do not maintain SocketCAN, we can only provide limited support for application related questions regarding SocketCAN.
Best Regards
Marvin
You should take a look at the source for the can-util "candump" to see how timestamps are handled in SocketCAN.
https://github.com/linux-can/can-utils/ ... /candump.c
Beyond that you can ask the SocketCAN community for help regarding this. We do not maintain SocketCAN, we can only provide limited support for application related questions regarding SocketCAN.
Best Regards
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: SocketCAN PCAN getting PCAN Timestamp
Thank you Marvin, this is exactly what I looked for.
Ales
Ales