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

Novo Bus Analyzer #1305

Open
reymor opened this issue Dec 8, 2023 · 5 comments
Open

Novo Bus Analyzer #1305

reymor opened this issue Dec 8, 2023 · 5 comments

Comments

@reymor
Copy link

reymor commented Dec 8, 2023

Hi everyone,

I have forked the BUSMASTER project and I named Novo Bus Analyzer . I truly believe in open source and I think that BUSMASTER is a really good idea. There are not many options in this field and I think that it is worthwhile trying to keep a project like this.

The first thing that I did was to compile the documentation which I post here:

BUSMASTER documentation

The other thing that I did was to compile the project from source code, by now I think that I had the development environment.

I would like to say also that I am not a GUI developer. In addition, my area of expertise is not exactly these kind of programs. However, I would like to start this project and to see what happens.

Trying to compile the documentation and the project itself I had the opportunity to read some code and trying to understand the real state of the project. My initial thoughts is that BUSMASTER is not a easy project as maintainer. I face a problem with the compilation process and it was kind of difficult trying to figure out where was the problem.

As I said, I truly believe in the open source community. I think that the effort done in BUSMASTER was amazing and I would like to continue this with Novo Bus Analyzer. I have some ideas to improve and add new features, some of them are difficult like porting to Linux. However, I will start fixing some bugs that were reported and in that way trying to understand more the project. This will take me time. I will try to read all the issues that are open here and in some cases try to fix them. If there is somebody which would like to join me in this adventure I would appreciate that. Also, if you think that there is any feature which would be something interesting to add just open an issue and I would try to address the implementation.

Novo Bus Analyzer

Best regards,

@rusoku
Copy link

rusoku commented Dec 9, 2023

I spent a lot of time on the source code of this project. I developed several CAN and LIN drivers for the BUSMASTER program and TouCAN Rusoku adapters. And in my opinion it is better to make similar software again from zero but on more modern GUI framework base like Qt or similar.It also would work under windows, linux, macos.
IMHO

@reymor
Copy link
Author

reymor commented Dec 9, 2023

Hello @rusoku

Thanks for you feedback I really appreciate that. I saw that your post on these adapters. I would say that first I thought exactly the same. I mean I am not an expert on this things. However, I have spent time on really big projects like linux kernel, android source code, etc. When I saw the code and the dependencies I though maybe it is better to write this from scratch having in mind the cross-platform.

As I said this was my first idea and I was not really sure about that. So, I just decide to start this journey and to understand more the product.

I think that the one of the first thing is trying to change the build system from Visual Studio to some cross platform build system like cmake. There are modules that seems to have that support. In addition, there are modules which are written using Qt. However, there are more written using MFC.

The reason that I choose to migrate the project to some modern GUI instead of writing one from scratch is that this project seems to have some community. There are people that use this software like you point out that you add support for new hardware. With this in mind I thought that maybe makes sense trying to migrate the project but in the road we could try to fix some bugs and add new support for new hardware. The ideas behind the modular approach does not seem really odd and to me it seems that they started this migration. I saw this paper BUSMASTER – An Open Source Tool and it seems that there was progress in this direction of cross-platform, but it seems that they lost the support or maybe they conclude that it was better to write a new software from scratch and start selling it XD.

I'm with you when you said that it seems better to start a project from scratch. However, I saw that I could start the migration from MFC to Qt and in the mid-time they can live together as it is right now. Regarding this migration, I saw the roadmap as:

  • Migrate from Visual Studio to some cross plataform build system (e.g cmake)
  • Migration from MFC to Qt
  • Clean the project to be able to compile in Linux/Windows

These are really difficult tasks. These are not easy things. The idea in the middle is trying to fix and add support to new hardware. I'm not really sure about this, and maybe I lost my path in the middle it is something that I'm going to see. Also, that's the reason that the feedback that you tell me it is really important for me and I'm trying to keep everything in my mind.

If you are open to share your work, I will be happy to add and start creating the first realese of Novo BUSMASTER with the HW that you added support :). Also, you could open a merge request in Novo BUSMASTER

@gxurma
Copy link

gxurma commented Dec 11, 2023 via email

@rusoku
Copy link

rusoku commented Dec 11, 2023

BUSMASTER driver source code for Rusoku USB CAN adapters win32
https://github.com/rusoku/busmaster_rusoku_driver

Qt5.15.x SerialBus can plugin source code for Rusoku USB CAN adapters (WINDOWS x64, MacOS)
https://github.com/rusoku/QtSerialBus

Qt6.6.x SerialBus can plugin is in developing stage.It will works with a new CAN FD, LIN device series from RUSOKU (USB3.x ETH, WiFi7)

In fact, I have started to develop a similar open source program based on Qt6 and C++ and I would like to support more protocols like CANopen, VSCP, D-PDU etc...

@reymor reymor changed the title Novo BUSMASTER Novo Bus Analyzer Jan 8, 2024
@reymor
Copy link
Author

reymor commented Jan 18, 2024

Novo Bus Analyzer v0.0.1

  • This first version is based on BUSMASTER v3.2.2
  • Add cmake as build system - Tested project compilation with vs2013 or vs2019.
  • Add support for TouCAN - Not tested
  • Fix - Peak PLIN USB does not work (one channel)

Note

This release was done using cmake as build system generator for vs2013. I recommend using vs2019 as development.

Novo bus analyzer v0.0.1

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

3 participants