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

Subindex written decimal instead of heyadecimal #51

Closed
trojanobelix opened this issue Jan 31, 2017 · 2 comments
Closed

Subindex written decimal instead of heyadecimal #51

trojanobelix opened this issue Jan 31, 2017 · 2 comments

Comments

@trojanobelix
Copy link
Contributor

The tenth subindex is written as 10 instead of 0x0A and therefore the "10" it is interpreted as 0x10 if checked with CANesdCheck. This results in an error because the number of subindexes (sub0) does not fit the highest subindex

eg:

should:

[6401sub9]
ParameterName=Input
ObjectType=0x7
DataType=0x0003
AccessType=ro
DefaultValue=0
PDOMapping=1
;StorageLocation=RAM

[6401subA]
ParameterName=Input
ObjectType=0x7
DataType=0x0003
AccessType=ro
DefaultValue=0
PDOMapping=1
;StorageLocation=RAM

is:

[6401sub9]
ParameterName=Input
ObjectType=0x7
;StorageLocation=RAM
DataType=0x0003
AccessType=ro
DefaultValue=0
PDOMapping=1

[6401sub10]
ParameterName=Input
ObjectType=0x7
;StorageLocation=RAM
DataType=0x0003
AccessType=ro
DefaultValue=0
PDOMapping=1

@robincornelius
Copy link
Owner

Looks like a duplicate of #44 . This is fixed in git but the not in the last v0.4-beta release.

There are a number of small issues being worked through then i'll do a 0.5 release

@trojanobelix
Copy link
Contributor Author

Ah. Yes it is. Sorry, I just tested the 0.4 beta.

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