Recommended Posts

I have  serial data coming in from two sources. Two xbee radios transmit to one xbee connected to DAQ and the data is colliding which result in corrupt reading of the serial streams..

I want to add a checksum but cannot find any hints in DAQ forum or manual.

Can you get me pointed in the right direction.



Link to comment
Share on other sites

  • 4 weeks later...

You can implement a checksum however you like.  Checksum is kind of a generic term and can be implemented in many different ways.  That's why there is nothing in our manuals.  At its simplest, you can do a simple addition of bytes, possibly with rollover, but that one is easy to get false positives.  A CRC like what is implemented in ModbusRTU is probably better.  You can find details on that in any Modbus specification document.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.