LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Implement LIN protocol: USB-8476

Solved!
Go to solution

Hello,


I have a new project that is to communicate with a product incorporating the LIN bus. I have to create a program that sends data to the product and receives the response. I thought about using the USB LIN cable of NI (USB-8476) to perform such duties. I have not found a good explanation or examples on using this cable and the API that I have used. there is anyone who tested that kind of stuff ? Can you help me to clarify ideas(exemples, API, document).


Thanks 

Message 1 of 5
(4,418 Views)
Solution
Accepted by topic author fishingman

Hello fishingman.

 

For CVI examples that use LIN I would recommend browsing to C:\Users\Public\Documents\National Instruments\NI-CAN\Examples\Borland C\LIN examples.  Note that this the the location installed on my Windows 7 machine.  It may be in a different location on XP.

 

For documentation on the API and implementation for LIN I would recommend looking at the CAN user manual which you can access here.

 

David A

 

 

0 Kudos
Message 2 of 5
(4,404 Views)

Hello,
Thank you for your response. I want to buy the USB-LIN NI USB-8476. I found twomodels: A synchronous model and the other not. Can you clarify me the deferencebetween the two and its influence on my application.

Thanks

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

Synchronization allows you to synchronize the device with an external clock source.  This prevents the clocks among multiple devices from drifting apart.  Theres a brief description of the synchronization aspect in the product overview of the 8476s.

 

"Advanced Synchronization
The USB-8476s features a 3-pin COMBICON synchronization connector for synchronizing the internal hardware timebase with other devices, such as USB CAN and LIN interfaces, as well as NI data acquisition, motion, and vision devices, with 1 MHz, 10 MHz, or 20 MHz clocks. Synchronization eliminates clock drift between devices; you can trigger between devices for correlating CAN data with data from other devices. "

 

You can find additional information about syncronization of LIN devices in the section 3-29 of the CAN Manaul.

 

David A

0 Kudos
Message 4 of 5
(4,385 Views)

Thanks for your help

0 Kudos
Message 5 of 5
(4,376 Views)