After using the new version of bci2000, this warning appears in bci2000.
Application warning, ***Task: ***Task::Process: Execution required more than a sample block duration.
Does it matter?
Application warning:Execution required more than a sample block duration
-
lijing
- Posts: 8
- Joined: 08 Apr 2021, 22:28
-
mellinger
- Posts: 1341
- Joined: 12 Feb 2003, 11:06
Re: Application warning:Execution required more than a sample block duration
It matters if it keeps repeating constantly. If it appears only intermittently, e.g. at start/resume, it is a hint that you should look at how your application module spends time in StartRun(). Make sure that any CPU intensive initialization is done during your application's Initialize() function rather than StartRun(), if possible.
-
lijing
- Posts: 8
- Joined: 08 Apr 2021, 22:28
Re: Application warning:Execution required more than a sample block duration
Thank you for your reply. It only appears once at the beginning of running, and we have put the CPU intensive initialization code into the initialize() function.
Who is online
Users browsing this forum: No registered users and 0 guests
