05-30-2024 02:00 AM
Thank you very much, thats a good idea. I have never worked with CAN. So maybe that is exactly what I have to do. Very good idea and thank you.
05-30-2024 11:29 AM
Yes I highly recommend checking out my CAN blog if you are new to CAN. Additionally Peak CAN has a few drivers floating around some are free some are paid. Here is an older set of drivers on LAVA that I think should give a basic understanding of how it works. It uses the PCAN DLL so it might only work in LabVIEW 32 bit unless you can find the equivalent 64 bit DLLs.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-30-2024 11:40 AM
can you send me the link to your blog
05-30-2024 11:42 AM
It's already been posted in this thread, and it is in my signature.
https://hooovahh.blogspot.com/2017/03/can-blog-introduction-and-downloads.html
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-30-2024 12:08 PM
@govindsankar wrote:
Oh ok, thank you for that info. So we can only program via CAN only if we use NI devices.
Is your goal to learn CAN, or to learn NI-XNET?
You can learn CAN just fine with any hardware. Also, LabVIEW can work with it with just about any hardware, you just may need to use the C interface rather than one provided by NI. I have done plenty of CAN work with LabVIEW, almost exclusively with PCAN-USB adapters.
There is a paid driver out there, but honestly I think aside from maybe having a couple VERY basic example VIs and a few documentation tweaks, it's pretty much just what the Import Shared Library wizard spits out repackaged.
Steps to get started if you still want to use this device:
Honestly, it has been a couple years... I don't think much, if any, tweaking was required to get the imported libraries working, but I could be misremembering.
05-31-2024 05:22 AM
Actually both. But more specifically NI XNET, because when the hardware for the project is ready I will need to use NI XNET to program, so i need to know that more but still it will be important to know what I am programming and how to communicate etc. Thats why I need to understand CAN.