LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any opportunity to interpret CAN-ID HEX-Data from a extern logfile like CANoe.log by using routines of NI-CAN-Driver ? Or has everybody already programmed an interpreter of this ASCII-Files.

Is there any opportunity to interpret CAN-ID HEX-Data from a extern logfile like CANoe.log by using routines of NI-CAN-Driver ? Or has everybody already programmed an interpreter of this ASCII-Files.
 
I have the problem to synchronize external logfiles from CANoe with measured files logged by Labview and written in Diadem format.
 
Therefore i had to interpret CAN-Datas and convert it to an Labview-Wave like NICAN in Channelmode it does.
 
Content of CANoe-Logile:
TimeStamp       CAN-ID                 Databytes
247800.8930 1  353             Rx   d 8 00 11 86 01 73 00 BC 00
247800.8932 1  354             Rx   d 8 02 00 03 01 05 03 00 01
247800.8934 1  700             Rx   d 8 C7 01 06 04 FF D8 04 E7
247800.8937 1  701             Rx   d 8 57 08 57 20 57 C8 57 A8
0 Kudos
Message 1 of 2
(2,508 Views)
The NI-CAn Driver can only access hardware, it can´t import these messanges from a file. So the only way to do what you want to do is read in the file with normal File I/O VIs and use the String-VIs to parse the string into LabView data.
0 Kudos
Message 2 of 2
(2,498 Views)