Main Content

Generated Code Interfacing

Tune parameters and measure signal data by using ASAP2 and C API interfaces and view generated code metadata

Some applications must exchange data between generated code and external application code. Use the ASAP2 and CDF interface to establish a communication channel between development and target computers, export an ASAP2 file containing description format of the internal ECU variables, or export a Calibration Data Format (CDF) file containing the information about parameters in a machine-readable format. Use the C API to exchange data between generated code and external code. To obtain meta information about the generated code, use the code descriptor programming interface.


coder.codedescriptor.CodeDescriptorReturn information about generated code
coder.descriptor.DataInterfaceReturn information about different types of data interfaces
coder.descriptor.FunctionInterfaceReturn information about entry-point functions
coder.descriptor.LookupTableDataInterfaceReturn information about Lookup Table blocks that have tunable parameters
coder.descriptor.BreakpointDataInterfaceReturn information about tunable breakpoint set data for a lookup table that has tunable parameters


expand all

coder.asap2.exportGenerate ASAP2 (A2L) file according to ASAM MCD-2 MC standards
coder.cdf.exportGenerate CDF (Calibration Data Format) file according to ASAM AE CDF standards
getCodeDescriptorCreate coder.codedescriptor.CodeDescriptor object for model


ASAP2 and CDF Interface

C API Interface

Code Descriptor Interface