Quote:
Originally Posted by Greg McKaskle
I've marked my responses with **s.
1) What does the "execute" case of Teleop do if it overruns?
- ignore (drop) new DS packet and keep executing the current iteration?
** By default, this is the behavior. Once finished, it will wait for the next packet arrival.
Is an error message given?
** Not unless the code lasts long enough to get a watchdog error.
|
Ouch. Is there any way that the user could add their own code to check for overrun? eg does the code that decides to drop the packet reside in the LabVIEW framework somewhere (where the user could test for this occurrence), or is this buried in the RTOS (and the framework never sees it)? Alternatively, is there a system clock in the cRIO that could be read at the beginning and end of the user code in the Teleop execute case?
~