Write Confirmation With LIN-API

The free LIN software API (Application Programming Interface) for Windows® (only for usage with the PCAN-USB Pro CAN/LIN interface)
Post Reply
colnewman
Posts: 8
Joined: Fri 28. Oct 2016, 19:42

Write Confirmation With LIN-API

Post by colnewman » Fri 28. Oct 2016, 19:48

I am using .net to write a high level api for the PCAN-USB Pro FD for LIN. I would like to know if writes to a LIN slave are guaranteed or if I need to do a read afterward to confirm that the writes have been applied. I'm used to working with modbus where a read after write is needed.

K.Wagner
Software Development
Software Development
Posts: 732
Joined: Wed 22. Sep 2010, 13:36

Re: Write Confirmation With LIN-API

Post by K.Wagner » Mon 31. Oct 2016, 12:18

Hello

Note that API calls that return LIN_ERR_OK succeeded, for example, calling LIN_Write will return OK, if the message could be written on the LIN network.

Nevertheless, the API receives no feedback from any Slave about configuring it, so you have to check yourself if your slave could receive, understand and configure the information you have sent to it.
Best regards,
Keneth

colnewman
Posts: 8
Joined: Fri 28. Oct 2016, 19:42

Re: Write Confirmation With LIN-API

Post by colnewman » Mon 31. Oct 2016, 12:53

OK thank you

Post Reply