12-26-2022 07:47 PM
12-27-2022 06:41 PM
Hi,
This question is best to be posted at Automotive and Embedded Network board.
There is a similar discussion to this. See https://forums.ni.com/t5/Automotive-and-Embedded-Networks/Sending-counter-value-over-CAN-using-XNET/...
12-28-2022 10:02 PM
thanks very much,if I have many different ID frame data (it is rolling frame data),like picture (it is a arrary).i must a frame execute a whileloop? do you have some ideas or experience about this. i have do this classify ,10ms 20ms ,50ms,100ms,500ms.but sometimes it still have DTC. the writeFrame API can allow write in the different whileloop in the time.
12-29-2022 08:04 PM
You can run multiple sessions for a single interface. However, you will need multiple parallel sessions and while loops for different frame IDs of different transmit time.
An easy configuration-based solution would be using the Vehicle Communication Toolkit. You can configure the signals to be a rolling counter or checksum and the toolkit will handle the underlying payload modification for you. However, this toolkit is not free.