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

CANape 15 #5

Open
tmheath opened this issue Jan 17, 2024 · 6 comments
Open

CANape 15 #5

tmheath opened this issue Jan 17, 2024 · 6 comments

Comments

@tmheath
Copy link

tmheath commented Jan 17, 2024

I'm trying to use the CANape api to talk to CANape version 15. I've noticed that you do not support 15, is this because it's just not a target or because something is different about the dll? I've tried windll and WinDLL (as used in this project). Initially I was going to use this library but found that CANape 15 was unsupported.

Thanks for any information

@zariiii9003
Copy link
Owner

I cannot test with CANape 15, but it might work. I'd say just try and report back.

@tmheath
Copy link
Author

tmheath commented Jan 21, 2024

Thanks, I'll test it on current python with CANape15 monday, I don't have the software at home.
I'm currently writing a python lib in rust for this but if I'd just be replicating work then I'll scrap it in a heartbeat.
We use a handful of different CANape versions at work with more to come, and other tools. I was
going to make a universal multipurpose library, been having trouble with python and the dll but rust is working (I don't like the borrow checker, I like that the package manager and the build system are built in and tied together so there aren't issues handling libraries).

@tmheath
Copy link
Author

tmheath commented Jan 22, 2024

@zariiii9003 It appears that canape 15 is at least trying to work with errors about functions not being found.
image
Running more tests, will confirm

@tmheath
Copy link
Author

tmheath commented Jan 22, 2024

Yeah, I think this is working but I'm going to have a couple pull requests from going over the initial documentation, thinking about adding enter and exit so that canape can just be called as a context manager so you don't have to worry about whether exit is called. I'll also submit a pr with canape15 to add to the documentation if this ends up fully working

@tmheath
Copy link
Author

tmheath commented Jan 22, 2024

Also if you don't mind, I'd like to add a pdf target for the documentation so I can just download that instead of having use a web browser.

@zariiii9003
Copy link
Owner

Sounds good 👍

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