Go to Post Of course even though its less than a week until kickoff, dave can still change the rules to make bearhugging me in automode a bonus - Mike Schroeder [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-02-2012, 00:23
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: List priority?

This is the extent of our Teleop code. Still getting Watchdog errors.
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	27
Size:	59.6 KB
ID:	11829  
Reply With Quote
  #2   Spotlight this post!  
Unread 10-02-2012, 08:29
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: List priority?

The support folder in the project contains a VI called Elapsed Times. If you drop that subVI into the major portions of your code such as Teleop, Vision loop, and any Periodic loops that are used, you can then run your code and open the Elapsed Times VI. The array on the panel will show you the time between subsequent calls. You may find that some loops are running much faster than you intended and stealing CPU from the ones you care about. You may also find that the watchdogs correspond to a specific action of the driver that calls into code that competes or delays the normally scheduled code.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 12-02-2012, 23:18
baronep's Avatar
baronep baronep is offline
Student President
FRC #2848 (Jesuit All-Sparks)
Team Role: Leadership
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Dallas TX
Posts: 167
baronep is on a distinguished road
Re: List priority?

Additionally, we have experienced watchdog errors when our wireless router was dealing with too much interference. Try moving the router away from large pieces of metal or electromechanical devices. You could also download a tool like "inSSIDer" to determine if you are having interference because of multiple networks on the same channel.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:10.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi