03-20-2014 09:32 PM
I want to read the LIN LDF file using Labview. Is there a specific toolbox I need to download or whats the best way to do this?
03-20-2014 10:15 PM - last edited on 03-01-2024 08:45 AM by migration-bot
Hi,
What is the version of your LDF file? I have an example found in this forum link: https://decibel.ni.com/content/docs/DOC-5135
Please note that according to the contributor, it works for LDF version 2.0 and below. You'll also need to take note of the required software/toolkits you need to install.
Here's the link for LDF Starter Kit for LIN: http://www.ni.com/download/ldf-starter-kit-for-lin-1.0.1/665/en/
Not sure if it works if you're using Windows 7 but it's worth a try.
Warmest regards,
Lennard. C
03-21-2014 09:23 AM - last edited on 03-01-2024 08:47 AM by migration-bot
@Lennard.C wrote:
Here's the link for LDF Starter Kit for LIN: http://www.ni.com/download/ldf-starter-kit-for-lin-1.0.1/665/en/
Yeah I wouldn't recommend using that. It hasn't been updated in 7 years. Use the XNET library:
https://www.ni.com/en/support/downloads/drivers/download.ni-xnet.html
You don't need XNET hardware to use the database functionality. It supports 2.1 with diagnostic tables. It isn't as straight forward to use because it supports tons more functionality but it's all there.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
03-21-2014 12:42 PM
Thanks for the reply!!!
Is there a forum that i can read on how to use the xnet for LDF read?
03-21-2014 12:44 PM
I'm guessing the help documentation that comes with XNET will give you the most information, along with any LIN related examples in the example finder.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
03-23-2014 10:21 AM
Hi Hooovahh,
Well, yeah I would recommend XNET library. Which is why I ask earlier, what is the version the user "gyg" is using. If he's using version 2.0 and below, he can use the starter else XNET library.
Warmest regards,
Lennard.C
03-24-2014 12:50 AM - last edited on 03-01-2024 08:47 AM by migration-bot
I wrote my own ldf parser in LabVIEW before there was a decent one.
I use it with Vector hardware (I.e. not NI XNET).
You can find it attached to this document here: https://forums.ni.com/t5/Example-Code/Vector-XL-Driver-LabVIEW-wrappers/ta-p/3524976
Let me know if you find it useful.
03-24-2014 12:23 PM
Thanks for the reply everyone!!
I am using LIN version 2.1
also, I am not using NI LIN card.
Sorry for my lack of understanding, but it looks like i can use XNET only if i am using LIN NI hardware.
I have my own hardware for LIN communications, I am looking into something to extract the LDF information only.
Is it still possible with the XNET?
Thanks for your help and reply
03-24-2014 12:46 PM
@gyg wrote:
Sorry for my lack of understanding, but it looks like i can use XNET only if i am using LIN NI hardware.
I'm not sure what gave you that idea I specifically said earlier you don't need XNET hardware to use the conversion library that it comes with.
You don't need XNET hardware to use the database functionality. It supports 2.1 with diagnostic tables.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord