|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi Everyone!
Im from team 3158, we'/re a rookie team, I wanted to ask you why when I run the Autonomous Independent mode I have a message on the DS, that says "Watchdog not Feed", I have tried the Autonomous Iterative mode and have the same problem. The thing is when I erase all of the pre-establish code it works. I also wanted to know why in the Independent code, there's a delay and Feed block and why in the Iterative code theres only a Feed Block? Thanks a lot!! Regards from Mexico!! ![]() |
|
#2
|
|||||
|
|||||
|
Re: Watchdog Problem
The Autonomous Independent code shuts itself down if it cannot see the target right away. When it shuts down you get the Watchdog msg.
Independent uses Delay & Feed, because once control enters the While loop it can stay there for awhile and the Wathchdog needs to be delayed so it doesn't expire and stop everything. Iterative only needs Feed, because it executes just once and then leaves. It gets called over and over again and will feed the Watchdog each time while Independent only gets called one time. |
|
#3
|
|||||
|
|||||
|
Re: Watchdog Problem
Quote:
Autonomous Iterative gets called 50 times a second. It should not include long-running loops or intentional delays. It should do its thing quickly and finish, ready to run again a moment later. In order to sequence actions with specific timing, you need something like a state machine and timers that can be started and tested to see when they elapse. |
|
#4
|
|||
|
|||
|
Re: Watchdog Problem
Thanks
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with System Watchdog | JSonntag | NI LabVIEW | 14 | 20-02-2010 11:31 |
| example project Autonomous mode Watchdog problem | qpang | NI LabVIEW | 0 | 08-02-2010 16:17 |
| Watchdog!?!?!?! | NC GEARS | General Forum | 38 | 23-01-2010 08:52 |
| Watchdog | darty | NI LabVIEW | 8 | 16-02-2009 09:11 |
| Watchdog | Barchechath | Programming | 6 | 10-02-2007 20:05 |