07-17-2019 07:06 AM
Hi,
I have a simple CAN Read Node in a RT Loop which runs on an sbRIO.
The CPU Load is at about 5-10%.
When I stop the VI and start it again, it sometimes goes up to 90% on one core.
Has anyone ever had such a problem?
07-19-2019 02:04 AM
Hi,
you have to put a sleep (with for example 250ms) somewhere into the while loop, please take a look into the attached image.
07-19-2019 10:54 AM
Hi Kevin,
This is a Timed Loop. The delay is set in the loop Settings.
07-24-2019 02:04 AM
Although this is a timed loop, I think you need to sleep for a while.
I can't explain why, but for me it mostly fixes this problem
07-31-2019 02:04 AM
Hi nicolaus33,
are you still struggling with this issue?
If so, could you please write a little bit more about your project or perhaps share it? What is the part number of your sbRIO? Why are you using 1 MHz timed loop to read data from CAN? What does your application in general and what does this loop do in the context of whole project?
09-04-2019 09:18 AM
Hi Agnes,
I get CAN Messages down to every 8ms and because you can only read one message at a time with the sbRIO CAN function, I need to use this fast cycle time.