01-12-2010 05:38 PM
Hi I'm using two LIN-8476 to simulate several devices in two separated LIN networks, all the devices are slaves. A CVI application is controlling both devices and updates continuosly the data for each of the simulated devices. My main problem is that application, requires a lot of syncronization and takes too long to update the values for the simulated devices when using the 8476 devices, I have tried several methods and I was capable to isolate to problem to the point at which I use the API function ncWrite. My application is capable to use a tool from other vendors and I have not seen the problem, everithing is the same except the API to access the HW.
Do you have any idea or clue to optimize my NI implementation?
02-03-2010 08:35 AM
I just tried to benchmark the time for ncWrite to update the LIN response of a slave and the time was almost too small for my OS to measure. How much time delay are you seeing?
Also, if you post your LIN code, we may be able to help further.
Have a great day.
02-03-2010 09:30 AM
I did not measure the delay from the function call to the update on the bus. This sounds a little more challenging, because you have to synchronize sending a header "right after" the function was called. Or I guess you can be sending headers continuously for the slave. What was your strategy here?
What value did you see for delays?
02-03-2010 09:44 AM
I have a Master device requesting to update data from my slaves simulated devices, what I'm seeing in the LIN BUS is that takes really long to update the data values in my simulated slave devices using the ncwrite function. My master device needs to receive the data syncronized, but I can adjust tolerances to receive the data with +- 100 ms differences. With the 8476 I cannot get this kind of "soft syncronization", and my feeling is that the LIN API takes to long to update the data for slave messages.
06-10-2012 05:19 AM
Did you fix your problem?
I am running into one problem about working in slave mode of USB-8476s.
Could you give me some helps?
This device how to work in slave mode,in LIN bus,how does it work?