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

DBUS/Python support? #222

Open
KhazAkar opened this issue May 7, 2021 · 2 comments
Open

DBUS/Python support? #222

KhazAkar opened this issue May 7, 2021 · 2 comments

Comments

@KhazAkar
Copy link

KhazAkar commented May 7, 2021

Hi!
Is there any plan to roll-out support for D-bus interface to be able to more easily communicate with CANdevStudio instance, in a similar way that's made between CANoe and Python, using COM objects on Windows? It would help with automation of some tests using CANdevStudio

@rkollataj
Copy link
Member

Hi @KhazAkar,
For scripting inside of CANdevStudio I was thinking about JavaScript language as QML that is in-built in Qt is based on it. The work on that is almost completed in #216. I was experimenting with embedding Python inside CANdevStudio, but there were certain limitations on this (e.g. one interpreter per whole application).

As I understand you would like to go one step further and communicate with CANdevStudio from the outside. There is a possibility to create component that runs D-BUS service inside of CANdevStudio and communicates with internal components. It's not on my roadmap though. I don't have enough time to work on it sorry. I can support if someone wants to do this.

@rkollataj
Copy link
Member

If you would like to write some scripts for testing purposes in Python you may also consider using https://python-can.readthedocs.io. It seems to support wide range of different hardware interfaces.

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