How to send sequence number
Posted: Fri 12. Dec 2014, 12:54
Hello,
I have a PCAN panel with various controls that are linked to a transmit message. The transmit message contains a sequence number. I would like to take the values from the panel and transmit them in the message but also automatically increment the sequence number with each transmitted message. As a further complication, there is a CRC in the message based upon the contents of the other fields.
I assume that macros are the way to go on this one but could you please provide some hints how to combine data from a panel with a sequence number and then combine these values to create a CRC that is also part of the same transmitted message?
Thanks,
Richard
I have a PCAN panel with various controls that are linked to a transmit message. The transmit message contains a sequence number. I would like to take the values from the panel and transmit them in the message but also automatically increment the sequence number with each transmitted message. As a further complication, there is a CRC in the message based upon the contents of the other fields.
I assume that macros are the way to go on this one but could you please provide some hints how to combine data from a panel with a sequence number and then combine these values to create a CRC that is also part of the same transmitted message?
Thanks,
Richard