Purpose

Gets timestamp information about the first/last send/received frame of the ISO TP for CAN and LIN. Format

Input

diag ref in specifies the diagnostic session handle, obtained from Open Diagnostic on CAN FD.vi or Open Diagnostic on LIN.vi and wired through subsequent diagnostic VIs. Normally, it is not necessary to manually manipulate the elements of this cluster.
error in is a cluster that describes error conditions occurring before the VI executes. It is copied unchanged to error out and has no other effect on the VI. It is provided for sequencing purposes only.

Output

Time Stamp write first contains the timestamp of the first write frame. This is usually the FF or SF of the ISO TP.
diag ref out is a copy of diag ref in. You can wire it to subsequent diagnostic VIs.
Time Stamp write last contains the timestamp of the last write frame. This is usually the last CF or SF of the ISO TP.
Time Stamp read first contains the timestamp of the first read frame. This is usually the FF or SF of the ISO TP.
Time Stamp read last contains the timestamp of the last read frame. This is usually the CF or SF of the ISO TP.
error out describes error conditions. It is copied unchanged from the error in cluster. It is provided for sequencing purposes only.

Description

Get Time Stamp.vi gets the first and last write CAN or LIN frame and the first and last read CAN or LIN frame if the ISO TP transport protocol is used. For all other transport protocols, the timestamps are always 0.
Note   The write timestamps are the approximate times of enqueuing the frame, not the times when the frame goes out on the bus.

The UDS Read ECU Information example includes an example for getting the timestamp.