LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use NI Xnet CAN API achieve RBS Funcation only in labview and windows system

Solved!
Go to solution

_0-1672105499939.jpeglike this rollingcounter  frame.

 

0 Kudos
Message 1 of 4
(1,227 Views)
Solution
Accepted by topic author 忘川

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/...

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
Message 2 of 4
(1,175 Views)

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.

0 Kudos
Message 3 of 4
(1,150 Views)

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.

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 4 of 4
(1,122 Views)