LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading LIN LDF using Labview

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?

0 Kudos
Message 1 of 9
(1,670 Views)

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

Learning new things everyday...
0 Kudos
Message 2 of 9
(1,659 Views)

@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:

 

http://www.ni.com/download/ni-xnet-1.8/4166/en/

 

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.

0 Kudos
Message 3 of 9
(1,641 Views)

 

Thanks for the reply!!!

 

Is there a forum that i can read on how to use the xnet for LDF read?

0 Kudos
Message 4 of 9
(1,629 Views)

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.

0 Kudos
Message 5 of 9
(1,625 Views)

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 

Learning new things everyday...
0 Kudos
Message 6 of 9
(1,596 Views)

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://decibel.ni.com/content/docs/DOC-30180

 

Let me know if you find it useful.

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 7 of 9
(1,574 Views)

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

0 Kudos
Message 8 of 9
(1,559 Views)

@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.  


 

0 Kudos
Message 9 of 9
(1,552 Views)