Skip to content

when I use export_a2l to export a2l file, it occurs #85

Description

@2190881368

There are a lot of blank lines in the middle.
i guess that there are a lot of <% %> in "a2l.tmpl" , i don't understand why it lead to this issue.

Environment:

python version is 3.12
pya2ldb version is 0.17.2
Windows 10

Code:

from pya2l import DB, export_a2l
db = DB()
session = db.open_existing("ASAP2_Demo_V161")
export_a2l("ASAP2_Demo_V161", "exported.a2l")

Output:

/begin CHARACTERISTIC
                    tstCom_cal_impl.Analoginput_P11  /* name */
                    ""  /* longIdentifier */
                    VAL_BLK  /* type */
                    2357200  /* address */
                    Scalar_FLOAT64_IEEE  /* deposit */
                    0.0  /* maxDiff */
                    tstCom_CM_double  /* conversion */
                    -1.7e+308  /* lowerLimit */
                    1.7e+308  /* upperLimit */
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
 /end CHARACTERISTIC

Any guidance would be appreciated!
Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions