05-17-2019 01:55 PM
Hello,
I am working on implementing LIN 2.1 protocol on existing RS232 hardware using LabVIEW VISA. Does anyone have experience with this?
I am just implementing unconditional frames, so it should be pretty straightforward once I have the timings right. But that is the part where I am getting stuck. The protocol uses a 13-bit break with a delimeter to signal start of frame header. I am currently using VISA Serial Break.vi with a break time of 1ms to achieve this. One doubt I have is that my application runs at 19.2k baud, therefore a 13-bit break only translates to roughly 2/3 of a millisecond. The closest timing I can get is the 1ms floor of the VISA Serial Break.vi
Then I am sending 0x55 through a VISA write and then writing the ID of the frame. The program gives me an I/O error everytime I try to run this.
How can I fix this? does someone here have experience implementing LIN using VISA?
Any help would be much appreciated!!
Thanks very much
05-20-2019 10:34 AM
Hello js7041,
I believe you will have better traction if you post on our Automotive and Embedded Networks discussion forum as that is where most LIN questions are.
Here is a link to help you get started.
https://forums.ni.com/t5/Automotive-and-Embedded-Networks/bd-p/30?profile.language=en
05-20-2019 10:36 AM
Done, Thanks.