Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

New To LIN

Hello,

 

I am new to LIN. I am currently working on a project where my electronic components are required to be controlled by LIN Bus. I got the NCF file from the Electronic Supplier.  Can you please guide me how to make LIN Description File.

Also I need guidance in making the set up, so would be able to  tell me what hardware and software should I be procuring ?

0 Kudos
Message 1 of 5
(4,626 Views)

Typically customers will use a higher level System Definition tool to combine and convert NCF files into the system level LDF file. 

 

Currently, the XNET API doesn't have the capability to natively convert a NCF file to LDF. Other vendors may offer free utilities or trials of software that can do this for you. If you are familiar with the contents of a NCF file, implementing this conversion on your own should also possible, but outside of my expertise to offer guidance on how.

 

For general purpose work around a desktop/development I can recommend the USB-8506 for ease of use. For more specialized needs, end of line testing, and embedded systems we have other form factors including C-Series and PXI/PCI.

Jeff L
National Instruments
0 Kudos
Message 2 of 5
(4,539 Views)

Hello,

I also have the same query related to LIN. I am using NI USB-8476 device and I have LDF database.

LIN communication is new to me and for my team. The current scenario is, we are able to communicate with this LIN module and for testing we have used NI-XNET 15.0 APIs.

 

We started with sending one frame present in LDF file. This frame consists of 6 signals and for every signal the schedule time (As per Schedule table in NI-XNET database editor) is 10ms. We are getting response from device. But we are not sure whether each signal is trasmitted with exact 10ms time interval.

 

My question is how to design an architecture in LabVIEW which will make sure every frame is tramitted at specific time interval as per schedule table? We are still working on choosing right architecture for handling time critical data. 

Can we achieve this using Timed Loop Structures in LabVIEW? My thought...

 

Any suggestions from community are most welcome.

0 Kudos
Message 3 of 5
(4,257 Views)

This must be defined in the LDF.

as far as precision to the 10ms multiple..

that is an inescapable hardware issue depending on the timing of other messages on your LIN bus, and the XNET Transceiver.

If it is defined as such in the LDF, it will transmit as close as possible to the 10ms multiple.

If you need more precision, consider switching to a higher baud rate, or maybe switch completely over to CAN for even faster transmission times.

Dan Haugen
Certified LabVIEW Developer
CLD Instructor
0 Kudos
Message 4 of 5
(4,214 Views)

Hi...

Can you help me out with how to configure the LDF file in LabVIEW as I did but there is no Response from the ECU. and my requirement is that we have to do Tx and Rx in the same LIN port. 

 

Thanks .....

0 Kudos
Message 5 of 5
(3,549 Views)