
I also found that i need to make all the data size to be I16 in order not get a checksum error. But when i use two I8 with 1 and 0 hexa value, it generates an error. If i use I16 with hexa value 0100 then i have no problem. i have two data of 1 byte each, the value is 1 and 0 respectively. In message_A, i have no problem by setting all the 5 data to I16. But in message_B, there consists of data that are of 1 byte, 2 bytes and 8 bytes. I mentioned earlier that all the data in message_A are all 2 bytes constant data. However, i have two problems on the two messages that i need to send.
#Checksum error manual
I have checked thoroughly and found that the problem is due to a typo in the user manual of the device therefore resulting in the computation of the wrong checksum. Any help/suggestion/advise to check on my vi is very much appreciated. Please help if you understand what i mean and i can't disclosure what the device. When i send only message_A, the device indicates that message_B's checksum is incorrect = which means that in this particular case message_A's checksum is correct? If that is the case, when i add in message_B part (even if this part is incorrect), it shouldn't indicate that message_A's checksum is incorrect right? I am very confuse. Therefore now i wish to know if there is anyway that i can type out the string data (that constants and checksum were converted to before the TCP send) to see if the format is correct? Because i find it strange here. Then i added in the message_B part, which is too long and i did not attach here, and the error is now "message_A checksum is incorrect". When i purely this message_A to the device, the device showed this error "message_B checksum is incorrect" and i fully understand that there is a need to send the two messages all together for the device to work. The first four data are all constant and are a 2byte data.

A total of five data will be send here in this vi. I have attached the vi for message_A.Since labview don't automatically convert to little endian byte ordering, i did it manually. Similar, at the end of message_B, there will be a checksum too. At the end of the message_A, there will be a checksum.

There is a total of 2 sections of message.

I am trying to send some message to a device.
