I have a problem with reading values from CAN0 on NI-9853 card. I am reciving proper values for few minutes, then reciving freezes for some time and then it starts to read again. The problem appears periodically every few minutes with same period. The question is if this is a problem from card side or from TCU that is transmitting values read by this card?
Used: cRIO-9049. Baud rate is 500 kpbs.
I am attaching screenshots with used code on RT and on FPGA.
I am trying to send values via NI-9853 card with 100Hz frequency. Values are sent properly except that period between each received sample is 0.3s while I expect 0.01s. I have checked timing and this send loop last around 140ms. I would like to know what is possible problem that creates this delay?
Baud rate on CAN1 is 500kpbs.
I guess both messages relate to the very same hardware and the very same software…
Why don't you attach your code (aka VI files, including the project file) instead of all those images?
Why don't you handle (or atleast) read errors in the FPGA?
The problem is that this VI is much bigger and whole project is rather big. And I can't upload everything. About reading FPGA errors it's simple - I forgot ^^ I have uploaded everything what is related to CAN. I did many mistakes on the begginig when I started creating this application and one of it is not to crate modules and main program is horribly big.
The problem is that this VI is much bigger and whole project is rather big. …
I did many mistakes on the begginig when I started creating this application and one of it is not to crate modules and main program is horribly big.
You pretty much wrote a conclusion on your own: the main VI is too big, because you did not create "modules".
I guess by cleaning up that mess several problems will be solved automatically!
I have uploaded everything what is related to CAN.
All we got are images.
We cannot debug images using LabVIEW…