{"id":10045,"date":"2020-08-06T20:48:55","date_gmt":"2020-08-06T20:48:55","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/?page_id=10045"},"modified":"2025-11-05T13:25:31","modified_gmt":"2025-11-05T18:25:31","slug":"parse_a2l","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/17-ecm-communication\/parse_a2l\/","title":{"rendered":"parse_a2l"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Parse an A2L file to retrieve required data and generate a .DBC file for CAN DBC and a daq.txt file for CCP DAQ protocol.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>parse_a2l &lt;<\/strong>a2l=a2l_file&gt; &lt;var=variable_file&gt; [id=CAN_ID] [daq=daq.txt] [dbc=can.dbc_file] [-dd]<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table style=\"width: 83.48%;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/><\/colgroup>\n<tbody>\n<tr>\n<td style=\"width: 4.16%;\">a2l<\/td>\n<td style=\"width: 120.99%;\">Specify the path and name of the a2l file to parse.<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 4.16%;\">var<\/td>\n<td style=\"width: 120.99%;\">Specify the path and name of the file that contains the list of variables.<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 4.16%;\">id<\/td>\n<td style=\"width: 120.99%;\">Optional. Specify the HEX value of the CAN_ID_FIXED parameter. The default is: 7D8<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 4.16%;\">daq<\/td>\n<td style=\"width: 120.99%;\">Optional. Specify the path and name of the daq.txt file to write. The default is \/specs\/parse_daq.txt.<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 4.16%;\">dbc<\/td>\n<td style=\"width: 120.99%;\">Optional. Specify the path and name of the can.dbc file to write. The default is \/specs\/parse_can.dbc.<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 4.16%;\">-dd<\/td>\n<td style=\"width: 120.99%;\">Optional. Specify -dd to enable debug mode.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>\u00a0parse_a2l<\/strong> a2l=\/specs\/MT88_PSI_Bi_Fuel_17p11p10NS7.a2l\u00a0var=\/specs\/a2l.lst id=7D8 daq=\/tmp\/daq.txt<\/p>\n<p>The preceding reads the \/specs\/a2l.lst file and keeps track of all of\u00a0desired\u00a0variables. Then it reads the\u00a0\/specs\/MT88_PSI_Bi_Fuel_17p11p10NS7.a2l file and parses all of the\u00a0information pertaining to the variable list from the variable file.\u00a0Once it extracts all of that data, it writes 2 files, the\u00a0\/tmp\/daq.txt file and the \/specs\/parse_can.dbc files for CanDbc\u00a0to use ccp daq protocol.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>\u00a0Arguments can be in any order<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/cyflex.com\/index.php\/usage-help-manual\/14-i-o-systems\/https-cyflex-com-usage-help-manual-17-ecm-communication-candbc_daq\/\">candbc_daq<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Parse an A2L file to retrieve required data and generate a .DBC file for CAN DBC and a daq.txt file for CCP DAQ protocol. Enter: parse_a2l &lt;a2l=a2l_file&gt; &lt;var=variable_file&gt; [id=CAN_ID] [daq=daq.txt] [dbc=can.dbc_file] [-dd] Where: a2l Specify the path and name of the a2l file to parse. var Specify the path and name of the file [&hellip;]<\/p>\n","protected":false},"author":35,"featured_media":0,"parent":1956,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-10045","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/10045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=10045"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/10045\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1956"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=10045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}