Sending RawCAN messages - persistance of _CANSEND values

5 years 11 months ago #29532959 by LROBBINS
Suppose I send a message containing two data bytes:
SetCommand (_CANSEND, 1, DigOut_ret)
SetCommand (_CANSEND, 3, SendData[0])
SetCommand (_CANSEND, 4, SendData[1])
SetCommand (_CANSEND, 2, 2)

If I now want to re-send the same message, can I just do:
SetCommand (_CANSEND, 2, 2)
or do I have to also repeat the other three lines?

Please Log in or Create an account to join the conversation.

5 years 11 months ago #29532960 by niko
Hello,

you do not have to repeat the other lines. The data from previous actions are preserved.

Please Log in or Create an account to join the conversation.

Time to create page: 0.048 seconds