Logging Formats

Logging files will be written in Logging Blocks, exported from Analyze Blocks or can be a result of a file conversation. These logging files can then be read in Replay Blocks or as offline source files. 

loggingformat.png

CANoe and CANalyzer support two types of logging formats: message-based and signal-based.

Message-based
A message-based format will store the traffic of bus systems and additional information about the bus communication. In general all bus events (messages) will be logged together with other information like statistics or even disturbances of the bus traffic. These logging files can be easily used for offline analyze of network traffic or for replay on the bus with CANoe.  

Signal-based
A signal-based format will store signal values that were extracted from messages transferred over the network. All information about the message itself and additional information about the network and communication will be lost. To log a signal-based file a description (database) for decoding the signal values has to be provided. Signal-based files cannot be directly replayed on the bus but can be easily used for signal analyze in CANoe, CANape or third party tools. 

ASCII Logging Files (.ASC)

Note:

ASCII is not recommended at high data rates due to its poorer performance. BLF and MDF format are much better suited for this.

BLF Logging File (BLF)

MDF Logging files (MF4, MDF)

PCAP / PCAPNG Logging files

 
Note:
The 1:1 replaying of event based logging files (BLF/MF4/PCAP/PCAPNG) is technically possible, for instance by using a Replay Block in the Simulation Setup. However, in case of protected communication (SecOC, E2E) or client-server communication (Some/IP function calls), this replay might not be functional for restbus simulation purposes. I.e. if the logging file contains the return event for a function call this has to be sent when the client initiates the function call, not when the event is read from the logging file. And the SecOC and/or E2E data in the logging is not suitable for replay in a running simulation.



Article ID: 520
Last updated: 2019-05-20
Revision: 3
CANalyzer/CANoe -> Measurement -> Import/Export/Logging -> Logging Formats
https://kb.vector.com/entry/520/