07-03-2006 07:50 AM
The checksum is the inverted modulo-256 sum
over all data bytes(Identifier+databytes). The sum is calculated by an 'add with carry' operation with the carry bit of
every addition being added to the LSB of the resulting sum.
07-03-2006 05:16 PM
Maybe this link will help.
http://forums.ni.com/ni/board/message?board.id=170&message.id=135591&requireLogin=False
07-04-2006 05:49 AM
Hello unclebump,
Thanks for the reply but i am not looking for any LIN interface i am just looking for a code in Labview which can calculate the checksum of the identifier an all databytes from the LIN protocole, it is in fact an inverted modulo-256, in assembler we do it as an add with carry.
07-04-2006 08:36 AM
07-13-2006 03:37 AM
HI JB,
I have used your via in the following way (see attached pic).
Thanks again