Hi Chris,
We are planning to surgically implant one of the LED arrays on Wednesday and we will be lugging all the equipment into the OR and running it off a different laptop than my personal computer. I transferred all the testing code to the laptop and after running the LED driver I see this error show up in the console:
ERROR: Scheduled task (/Users/cstawarz/Documents/mworks_buildbot/slave/build_for_macos/build/plugins/core/BlackrockLEDDriver/BlackrockLEDDriver/BlackrockLEDDriverDevice.cpp:111) not on time (off by 15216; task = 0x604000369aa0; priority = 2)
Any advice on what this means?
Simon
Hi Simon,
It means that one of MWorks’ execution threads (in this case, one created by the LED driver interface) fell behind its desired schedule for one iteration. The most likely cause is CPU load. Maybe the laptop has fewer and/or slower cores or has more processes running on it than your personal computer? Whatever the cause, one instance of this error isn’t anything to worry about. If it happens frequently, then you may need to reduce the load on the machine or use more capable hardware.
In this specific case, all that thread does is periodically check whether the LED driver is currently running, so that MWorks can notify you when it stops via the running parameter. Even if it does get behind occasionally, it shouldn’t have any meaningful impact on your experiment.
Cheers,
Chris