11-20-2018 01:13 PM
Hi,
When i tried to read on NI 9853 CAN 0 port, it will always reads the last message if there are no messages on CAN bus.
I have attached screenshot on my code.
In the code read counter is 0 unless i dont send any message on CAN, When i send single message on CAN(using other tool connected to same can bus), read counter gets incremented by 1 on every 10msec. I check all CAN message everything is same, Mod1/CAN0 somehow reads the same message every 10 msec ..
Attached CAN log also.
Thanks in advance.
Solved! Go to Solution.
11-20-2018 03:14 PM - edited 11-20-2018 03:15 PM
11-20-2018 05:16 PM
On the read side of the FIFO you need to act on the timeout. The FIFO returns the last valid data on a timeout. Maybe that is your problem.
01-03-2019 11:45 PM
hi GerdW,
I have a vi, which contentiously reading CAN message from NI-9853 Mod0 and writing it to ASCI file.
01-04-2019 12:05 AM
Hi Intaris,
Thanks for reply, I have specified timeout of 0, i will check with timed out? property and let you know.