Hello,
Timestamp from Received CAN frame is simply get as...
NCTYPE_CAN_STRUCT *RxFrame
... RxFrame->Timestamp ...
For Transmitted frame I use:
ncGetAttribute(hCan, NC_ATTR_ABS_TIME, 8, &TxTime);
ncWrite(hCan, sizeof(Transmit), &Transmit);
But sometimes timestamp of Rx frame is BEFORE Tx timestamp ?!?!?!
Is there any other way to get real Tx frame timestamp - not by ncGetAttribute(...) ?
Thank you in advance
Petko G.