ASAP2 LibFunction Library for Reading and Writing A2L Files
ASAP2 Lib – Function Library for Reading and Writing A2L Files
ASAP2 Lib is a powerful and easy-to-use function library, which you can use for reading and writing standardized ECU description files in ASAP2 format for your own applications.
All versions of the ASAP2 standard (ASAM MCD-2 MC) released by ASAM are supported for reading, including the current version 1.7.1. Both fixed parts of the ASAP2 specification and variable parts that are defined by the ASAP2 meta language can be read in.
The library offers a convenient C interface so that the description data in an A2L file can be accessed easily.
- Easy-to-use function library for reading in and generating A2L files
- Version-independent access to all ASAP2 formats
- Quick and memory-optimized reading in of multiple A2L files
- Convenient access to supplemental IF_DATA information
- Use of a tested and practice-proven standard component reduces cost and effort for training, development, testing and maintenance
Highlights Version 4.5
Support for the new ASAP2 version 1.7.1: You will benefit from new features like the higher permissible string length (raised from 255 to 1024 characters) and the extended syntax in the formula text of dependent parameters. In addition, it’s now possible to read in half-precision floating-point (Float16) signal data.
- Callback methods can be used to read in relevant sub-objects according to the desired information
- Simple structural layout of the interface lets users quickly understand the available functionality and apply it intuitively
- A sample project with documented source code helps users to learn to use the product quickly without detailed knowledge of the ASAP2 format
- Objects are generated "on demand" which enables efficient implementation
- Any error or warning messages can be logged via separate callback methods
- A generously configurable error tolerance makes it possible to read syntactically incorrect A2L files
- All library calls are thread-safe. This now lets users reading multiple A2L files in parallel.
- The function library provides a method for each object type to output the ASAP2 objects to an A2L file
ASAP2 Database Contents
An A2L description file contains all information on relevant data objects in the ECU, such as characteristic values (parameters, curves, maps), real and virtual measurement variables and variant dependencies.
Each object is described by information, such as memory address, storage structure, data type, and conversion rules for converting to physical units. The objects are hierarchically assigned to function groups.
The following system requirements must be fulfilled to use the ASAP2 Lib:
- Operating system: Windows 10 / 8.1 / 8 / 7
- Microsoft Visual C++ Version 6.0 or higher