Author Topic: Kvaser or Peak CAN bus adapters for CAN Open.  (Read 1554 times)

0 Members and 1 Guest are viewing this topic.

Online SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18118
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Kvaser or Peak CAN bus adapters for CAN Open.
« on: January 22, 2024, 10:44:18 am »
I personally own a Kvaser CAN bus USB adapter but have also used PEK CAN bus adapters in a previous job. Right now I am looking to start using CAN open and my current employer does not own any adapters and will need to buy both adapters and software. Which one will be more suitable? from what I see so far Peak seems to be more common for compatibility with software.

Any suggestions on CAN open software? I'm looking to control CAN Open devices from a micro controller, later a single board computer will be on the network. I know it will help to have a PC connected to the network to see what goes on on the bus to diagnose problems or get diagnostic data.
 

Offline rvalente

  • Frequent Contributor
  • **
  • Posts: 736
  • Country: br
Re: Kvaser or Peak CAN bus adapters for CAN Open.
« Reply #1 on: January 22, 2024, 12:19:09 pm »
Kvaser has a large third party software vendors, call them, last time I've asked for their support was very good
 

Online Jeroen3

  • Super Contributor
  • ***
  • Posts: 4209
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: Kvaser or Peak CAN bus adapters for CAN Open.
« Reply #2 on: January 22, 2024, 12:41:14 pm »
If you're going to write your own software for it I can recommend kvaser.
We have many leaf lights, and they just always work.
In python, in c++. You can easily run multiple apps on one adapter, and they can actually do a full 1 Mbit bus of messages. (for bootloaders)
« Last Edit: January 22, 2024, 12:43:03 pm by Jeroen3 »
 

Online JPortici

  • Super Contributor
  • ***
  • Posts: 3573
  • Country: it
Re: Kvaser or Peak CAN bus adapters for CAN Open.
« Reply #3 on: January 22, 2024, 06:13:35 pm »
I only have experience with kvaser, and it was a very pleasant one. I write my own applications, under windows. Integrating kvaser with Qt was a breeze, added the dll to the project and the relative include file. It took little time to write a wrapper class with the functions i needed operating in its own thread.. It really "just works"

however some times i wish i had Peak/Vector because when i have to deal with other people's software i find that they rarely support kvaser, always PEAK or Vector
 

Offline fchk

  • Frequent Contributor
  • **
  • Posts: 279
  • Country: de
Re: Kvaser or Peak CAN bus adapters for CAN Open.
« Reply #4 on: January 22, 2024, 07:31:25 pm »
If you use Linux the hardware does not matter. Windows does not have a standard interface for CAN, Linux does. For Linux apps CAN interfaces are special network interfaces, and you use the standard socket api to talk to them. This is the same on PC (with every hardware supporting SocketCAN), NVidia Jetson, Raspberry PI or any other architecture. Even some RTOS implement SocketCan.

If you intend to use embedded controllers and single board computers you surely will use Linux on them. It makes sense to use Linux on PC hardware then to have the same platform and software.

There are Open Source CanOpen stacks.
https://github.com/CANopenNode/CANopenLinux
https://opensource.lely.com/canopen/

 

Online Siwastaja

  • Super Contributor
  • ***
  • Posts: 9338
  • Country: fi
Re: Kvaser or Peak CAN bus adapters for CAN Open.
« Reply #5 on: January 22, 2024, 07:57:19 pm »
Both are OK. In linux, there is standardized interface so that a revolutionary idea coined somewhere in 1980's (or even earlier), called "drivers", exists. Therefore, application does not need to know what hardware the user has - application is always the same, only correct driver is installed, and then the app works with any hardware.

Microsoft has not heard about this concept still in 2020's, so if you need to support Windows, then every CAN application has to separately support every CAN adapter in existence; the Kvaser and Peak are probably the two most common, so it makes sense to write code to support both of them, plus maybe any third one specifically requested by your customers. I have done that in my CAN projects and luckily their interfaces are both pretty simple so you can write your own wrapper layer in matter of hours.
 

Online SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18118
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Kvaser or Peak CAN bus adapters for CAN Open.
« Reply #6 on: January 22, 2024, 08:08:29 pm »
I'm not looking to write code for these adapters but recommend to my employer a CAN bus adapter and CAN Open network software for windows PC's.

Yes I will be developing applications on single board computers under linux but this is separate from the diagnostics setup. Yes I "could" use linux on a development computer but I will have to clear this with my employer. We have a laptop that is sort of spare for development, I could dual boot it.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf