02-07-2012 03:17 AM
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
Solved! Go to Solution.
02-08-2012 02:27 PM - edited 02-08-2012 02:33 PM
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
02-09-2012 09:45 AM
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
02-09-2012 10:38 AM
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
02-10-2012 02:01 AM
Thanks for your help