doc_logo.png

Device Toolbox ADTF DAT Tool Plugins

The ADTF Device Toolbox delivers *.adtffileplugins which can be used within the ADTF DAT Tool from ADTF (greater or equal 3.3.0).

The adtf_dattool offers in this way the export of different streams (CAN, CAN FD, FlexRay) from ADTF DAT files to supported file formats and import this streams from supported file formats to ADTF DAT files.

Supported file formats
Format Stream Importer(...->DAT) Exporter(DAT->...)
ASC CAN X X
CAN FD X X
FlexRay - X
MDF CAN - X
CAN FD - X
FlexRay - X

The delivered *.adtffileplugins are found and called in the folder:

Plugin Properties
Plugin Properties Default value
can_asc_processor.adtffileplugin
canfd_asc_processor.adtffileplugin
channel_mask 0xffff
set_negative_time_to_zero 1
sort_by_timestamp 0
skip_error_frames 1
skip_status_messages 1
flexray_asc_processor.adtffileplugin
adtf_dir path to ADTF
database_file_path path to your database file
can_mdf_processor.adtffileplugin
canfd_mdf_processor.adtffileplugin
channel_mask 0xffff
set_negative_time_to_zero 1
sort_by_timestamp 0
adtf_dir path to ADTF
database_file_path path to your database file
flexray_mdf_processor.adtffileplugin adtf_dir path to ADTF
database_file_path path to your database file

Example usage

This example covers an usage for the provided Demo CAN Config Decoder. You have to set DATTOOL_PATH, ADTF_DIR and ADTF_DEVICE_TOOLBOX_DIR manually.
        
echo off
set DATTOOL_PATH=<Path to the adtf_dattool.exe>
set ADTF_DIR=<Your ADTF-Installation-Path>
set ADTF_DEVICE_TOOLBOX_DIR=<Your DevTB-Installation-Path>

call %DATTOOL_PATH% ^
    --export example_can_random.adtfdat ^
    --plugin %ADTF_DEVICE_TOOLBOX_DIR%/bin/can_mdf_processor.adtffileplugin ^
    --stream output_can ^
    --processorid can_mdf ^
    --output random_can.mdf ^
    --property adtf_dir=%ADTF_DIR% ^
    --property database_file_path=example_can.dbc
        
    

Constraints

The CAN FD to ASC processors does not convert remote frames into the desired asc file.