Skip to content
New issue

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

Interpreting values as their definitions in the DBC #1046

Open
wakey1991 opened this issue Jun 29, 2024 · 9 comments
Open

Interpreting values as their definitions in the DBC #1046

wakey1991 opened this issue Jun 29, 2024 · 9 comments

Comments

@wakey1991
Copy link

I am logging a series of signals, some of which show a number value like ambient air temperature and vehicle speed however i also have some that show multiple states such as 0 = inactive, 1 = active, 2 = error, 3 = not available. I cannot seem to find a way for ASAMMDF to show the signal as its interpretation in the DBC. ASAMMDF will just show the number.

Apologies if i am overlooking something obvious, i cannot find it in the help file.

@danielhrisca
Copy link
Owner

Are you decoding a raw CAN bus logging mf4 file using a DBC?

@wakey1991
Copy link
Author

Yes MF4 and then extract bus signals using a DBC file built in KVASER database editor

@danielhrisca
Copy link
Owner

Perhaps you should try the development branch code

@wakey1991
Copy link
Author

I am not familiar with that, is there not a simple setting i can change to support this?

@danielhrisca
Copy link
Owner

@wakey1991
Copy link
Author

I have downloaded this but even following the readme it isnt clear what i do with these files in order to make my request work?

My skill is in CAN but not so good with computer programming.

@wakey1991
Copy link
Author

wakey1991 commented Jul 18, 2024

Pip install https://github.com/danielhrisca/asammdf/archive/development.zip

@danielhrisca ive done some research and i assume from this i need to install python? I have no experience with this at all

Is it something you could advise with, will this be a simple installation?

I just would like my CAN signals to have definitions.

Any help would be greatly appreciated

@danielhrisca
Copy link
Owner

you can try the bundled build found here https://github.com/danielhrisca/asammdf/actions/runs/10143948078 (dist archive)

@wakey1991
Copy link
Author

Hi, i downloaded and extracted but the program does not run.

I get the following errors
Screenshot 2024-07-30 212332
2024-07-30, 21:23:22

<class 'AttributeError'>
partially initialized module 'fsspec' has no attribute 'utils' (most likely due to a circular import)

File "asammdf\gui\asammdfgui.py", line 50, in
File "asammdf\gui\asammdfgui.py", line 43, in main
File "asammdf\gui\widgets\main.py", line 47, in init
File "asammdf\gui\widgets\batch.py", line 121, in init
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "fastparquet_init
.py", line 4, in
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "fastparquet\writer.py", line 12, in
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "fastparquet\util.py", line 16, in
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "fsspec_init
.py", line 6, in
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "fsspec\compression.py", line 68, in
File "fsspec\compression.py", line 46, in register_compression

Screenshot 2024-07-30 212439

I am not a programmer so this doesn't mean anything to me, is it something my end that is wrong or could i have installed it incorrectly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants