We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description I am using the example A2L file provided in this repository: example-a2l-file.a2l
When I parse the file using the following code, no MEASUREMENT entries are detected.
Code Snippet
from pya2l import DB from pya2l import model db = DB() session = db.open_create("ASAP2_Demo_V161") measurements = session.query(model.Measurement).order_by(model.Measurement.name).all() for m in measurements: print("{:48} {:12} 0x{:08x}".format(m.name, m.datatype, m.ecu_address.address)) # print(dir(m)) ifd = model.IfData() print(ifd) print(dir(ifd)) if not measurements: print("No valid measurements found in A2L file.") exit(1)
Output
IfData(sl = None, sc = None, el = None, ec = None, raw = None, parsed = None, rid = None) ['__abstract__', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', ...] No valid measurements found in A2L file.
Environment
Python 3.12 pyA2L (latest version from pip) OS: Windows 11
Am I missing a step, or is there an issue with how pya2l processes the provided example file? Any guidance would be appreciated!
Thank you!
The text was updated successfully, but these errors were encountered:
Did you fork the project and than run the build procedure pip install -e . ?
pip install -e .
Sorry, something went wrong.
No branches or pull requests
Description
I am using the example A2L file provided in this repository:
example-a2l-file.a2l
When I parse the file using the following code, no MEASUREMENT entries are detected.
Code Snippet
Output
Environment
Am I missing a step, or is there an issue with how pya2l processes the provided example file? Any guidance would be appreciated!
Thank you!
The text was updated successfully, but these errors were encountered: