10-01-2014 09:30 AM - edited 10-01-2014 09:30 AM
Hello all,
I'm trying to communicate with a DUT using LIN Diagnostic mode.
I'm making use of the NI PCI-8516.
I had a look at the examples on the CD that came with the product.
There are VI and VS C examples.
With the VS examples, I saw that sending PDU packets with LIN isn't implemented.
With Flexray, it is.
I tried modifying the LIN VI examples to send PDU packets (see examples).
Everything is set on PDU and I also modified the LDF for diagnostic mode.
I tried to modify the Init LIN Frame array VI .
After running, following exeption is given:
[IMG]http://i57.tinypic.com/2due6bn.png[/IMG]
Someone experienced this error before?
Is it even possible to use LIN diagnostic mode with a VI using NI XNET?
Does anyone by chance ever created a driver (dll/ VS project) which can communicate over LIN diagnostic mode?
Thanks in advance!!
BR Jeroen
10-02-2014 12:33 PM
Why do you intend to use PDUs with LIN?
10-06-2014 09:51 AM - last edited on 01-29-2024 01:17 PM by migration-bot
btw the Automotive Diagnostic Command Set offers LIN Diagnostics at a high level
so may check if it offers what you are looking for as already build in feature:
https://www.ni.com/en-us/shop/product/automotive-diagnostic-command-set-toolkit.html
10-22-2014 06:45 AM
Hi Jeroen,
When it comes to you error: what do you select in "PDU List" (and PDU List 2)? Which version of NI XNET are you using? Can you try replacing it with the Generic instance of NI XNET Create Session?
Best,
Jos