10-09-2008 10:34 AM
Hello Dirk,
I have a new problem with LIN now. As I mentioned, I am acquiring data from a LIN 2.0 slave. As my luck would have it, I now have to send data to a LIN 1.3 slave in the same network using the same USB 8476 as master. I cannot change the checksum attribte at run time. Is there another way of doing this? Also, I am simply connecting the LIN pins of both slaves to the LIN pin of the 8476. Is this correct??
Regards,
Shailesh.
10-10-2008 10:51 AM
Figured it out too. I stop the CAN communication and set the Checksum attribute as necessary and rstart the communication. The loop seems to work fine and given the fact that I read 2 frames with 8 bytes each and write one with 4, the loop is still pretty fast and does it all in less than 30ms.
This seems to be a far easier approach as compared to using the LIN Starter Kit which worked fine for writing to a slave but I guess this combination of two slaves would have been merely impossibe to do with it. Also, debuggng is very easy. When i last tried t debug an application that used the LIN starter kit, it would open atleast 20 other VIs. Pheeeewwwww.
If someone is interested to collaborate, we could write another library with very basic functions for LIN communication. Of course, if the LSK is working well for others then it wont be necessary 🙂
Regards,
Shailesh.
02-11-2011 12:37 AM
Hello Friend,
I am having a similar problem which u have faced. Can you please help me in getting solved out my issue.
I am using USB 8476s LIN bus to communicate with slave(a switching device) using LIN Master send header frame respond and Recieve vi from the example one Using LabVIEV 7.1. i have to use 0x3C for request and 0x3D for respond.
To read data from memory i need to use the below format,
How did you achieved your problem? i feel my problem is very similar what u had.
Am at my client place and it will be very helpful if anybody comeup with solution at the earliest.
02-11-2011 07:27 AM
Well, if you just send the 3C full response and do nothing else, after 4 seconds you will see bus inactive. If you want to read from the client, you need to send the header for 3D to read. All communication is scheduled by the host for LIN, so if you wan to TX, you do it with the full frame, if you want to RX, you need to send the header and read the response.
02-11-2011 09:35 AM
Thank you for reply,
What you have mentioned is exactly matching with what i have got respond as bus inactive in 4 second. But i tried sending same frame with 3D instead 3C on both side.. but stil it doesnt respond to my query. can you please tel me like a exampl what should send in the frame by putting 3D? i meant what frame i need to send? and do i need to change 3C to 3D on both place?
Actually what i am expecting is, when i change the switch direction i should get proper response from the device but what m getting is just a bus inactive. so my doubt was whethr my slave is proper or not. thanks in advance
karkera.
10-25-2011 02:35 AM
I'm using 8516 to test LIN product, I want to slave node go to sleep mode , we need sent 0x3C (Diagnostic frames) sleepcommand, but How can we sent diagnostic frames, If we want sent id 0x3D frame?
10-25-2011 02:50 AM
Attached is my LDF file, I imported this file to labview, but belew schedule didn't display on listbox.
Sleepcommand
{
MasterReq delay 16 ms ;
}
slep
{
SlaveResp delay 16 ms;
}
11-07-2011 05:03 AM
hi,
Could not understand your requirement.
08-05-2016 01:50 AM
Hello.
Can you help me solve my problem.
I face this problem.
I am send LIN Frame using USB-8476s .I using LIN M aster send frame and data.vi
I can receive the salve data.but I can not control my slave ,
can your gave me some advice about setting the data
think you
04-25-2019 10:28 AM
Hello.
Can you show the VI to me "
I am send LIN Frame using USB-8476s .I using LIN M aster send frame and data.vi
I can receive the salve data.but I can not control my slave" now I can't receive the salve data,when I send frame I get the data is "LIN BUS Error