LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XNET order of frames

Hi,

I have some problems with the XNET Write CAN Block. I use a loop for reading Data from CAN via XNET, doing some calculations and lateron sending those via XNET to CAN. I would like to send data at the end of every loop that is why I chose event in the DBC for a trigger. The data is sent to the write block as an array (Signal Input Single Point). Now when I check the order of frames on the CAN-Bus via additional tools (CANALYZER by Vector), the messages come out in random order. The message identifier seems not to have any effect on the order.

 

I tried the same setup with cyclic trigger. In this case the order of frames answers to the frame id. But this would lead to timing delay if CAN and my loop don't run synchronous (Windows...).

 

Any suggestions? Is this behaviour normal? I thought that the frame id would handle the order if event is triggered for all frames at the same time...

 

Thx Jan

0 Kudos
Message 1 of 2
(2,374 Views)

Hello!

 

Could you please supply your .vi, or even better, break it down to a minimal example in which I can easily see what you are doing?

 

Regards, RomBe

0 Kudos
Message 2 of 2
(2,342 Views)