Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

error 1074388480 - exceeded limit for total number of tasks

Does anybody know what error 1074388480 "Exceeded limit for total number of tasks" mean?
The error looks something like this:
"Exceeded limit for total number of tasks"
Solutions: "Reduce the number of tasks in your application. If you use multiple tasks for the same message, combine them in order to use one task per message".
 
How to increase the maximum number of tasks in application for the CAN?
Thank you
 
0 Kudos
Message 1 of 2
(3,421 Views)
Hi,

This can easily happen, if you (or your program) forgets to call CAN Clear for each task that was created using the CAN Init(Start) VI or CAN CreateMessage(Ex) VI. If the task is not closed (CAN Clear VI), the configuration for this task will stay in memory and use some space. At one point in time, the driver cannot create any new tasks as all space is used up by ‘old’ tasks.
Even if you provide a CAN Clear for each single task, you need to make sure that it is executed when the program/VI ends. For instance, every time you stop the VI by pressing the Abort button of the VI, LabVIEW terminates the execution of the VI and thus, even existing CAN Clear VIs are not executed.

-B2k
Message 2 of 2
(3,413 Views)