Converting Vector ASCII Logfiles

DIAdem 2011 Help

Edition Date: July 2011

Part Number: 370859J-01

»View Product Info
Download Help (Windows Only)

You can import logfiles that are in Vector ASCII format into DIAdem with the CAN Converter. The following section provides information on the structure and the import of the logfiles supported by DIAdem:

Header

The header can contain the following keywords:

  • Date
  • Base
  • Timestamp
  • Internal events
  • No internal events

The CAN Converter saves these keywords with the associated values as root properties.

Comment Lines

The header is followed by any number of comment lines that either contain a colon or start with the // sign. The CAN Converter uses the value on the left of a colon to create a root property. The value on the right of the colon is the value of this property. The CAN Converter combines comments that start with the // sign in the root propertyComment. The CAN Converter separates the values of this property with semicolons.

Data

The data that the CAN Converter supports are records and structured as follows:

Time stamp Bus number CANId RxTx d Number of Bytes Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8
0.014532
1
18AC
Rx
d
8
79
02
2F
0B
F3
03
00
07

The individual elements of a record have the following meaning:

  • Time stamp is a double value in absolute or relative time with a point as decimal sign.
  • Bus number is an integer value with the value range of 0 to 256.
  • CANId is a hexadecimal number. If the hexadecimal number is an ExtendedId, the number ends with the value x. The CANId might also be plaintext and must be found in the DBC file. The formats might also be mixed.
  • Rx or Tx are texts that the CAN Converter ignores and does not convert. Rx means Receive, Tx means Transmit.
  • d is a text that the CAN Converter ignores and does not convert.
  • Number of bytes is an integer value in the value range 1 to 8.
  • Byte is a decimal or hexadecimal number. The CAN Converter merges the single bytes in the conversion. Use blanks or tabs as seperators.

Miscellaneous

If a logfile contains other information, for example a time stamp with a subsequent comment, the CAN Converter ignores this information.

WAS THIS ARTICLE HELPFUL?

Not Helpful