Go to Post "I need the adjustable hammer" "You mean that wren-" "No, it's a hammer" - Karibou [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 15-09-2011, 18:30
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Watchdog problem - please help me diagnose and fix

The "Watchdog Expiration: System 1, User 0" error is common when the robot changes modes (i.e. from autonomous to teleop). Don't worry too much about those unless you get a lot. It might be a problem with the communication between the driverstation and robot. Try connecting the driverstation over ethernet and try a different computer running the driverstation application. This can help solve the problem because the teleop loop is affected by incoming packets from the driverstation, so if you have a bad network connection, the watchpuppies will trip (which would cause the "Right and Left motors" not running fast enough error you experienced).

On a semi-unrelated note, I would guess that watchdog errors were not the cause of your robot not running for a match last season. When a watchpuppy is tripped, your robot will only stop for 1(?) second or so and then function again (or until the next watchdog error). Disclaimer: not so sure on that last point...


EDIT: some other threads regarding watchdog errors. Maybe you'll find something else helpful there:
http://www.chiefdelphi.com/forums/showthread.php?t=92090
https://decibel.ni.com/content/thread/9070
https://decibel.ni.com/content/thread/5752
https://decibel.ni.com/content/thread/5951
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android

Last edited by plnyyanks : 15-09-2011 at 18:34. Reason: links!
Reply With Quote
  #2   Spotlight this post!  
Unread 17-09-2011, 10:47
NeatNit's Avatar
NeatNit NeatNit is offline
Alumni Programmer
FRC #1577 (Steampunk)
Team Role: Teacher
 
Join Date: Sep 2011
Rookie Year: 2011
Location: Israel
Posts: 60
NeatNit is an unknown quantity at this point
Re: Watchdog problem - please help me diagnose and fix

Thanks, I'll stop worrying about the watchdog expiration notice.

There's still a problem though. Our network looks like this: We have our D-Link DAP 1522 configured as an Access Point according to these instructions with no security. We have our cRIO connected by ethernet to port 1 of that, and our computer connected to some other port using an Ethernet cable. During testing we usually use a wired connection to eliminate network problems, unless this interferes with what we're trying to do.

I'm sorry, still no copy-paste of the error log - I forgot to post in this thread when we tested it yesterday and I'm back at home again.


Some questions I'd like answered just to calm my mind:
1. In what position should the physical switches on the cRIO be?

2. Is there a place where I can download LabView and all the FRC tools and updates? I have the serial of course, and the CD as well, but for some reason I don't trust it... Call it paranoia.

3. What is the proper way to transfer the program from the computer to the robot?
a. For one-time testing (ie run it once, and when we stop it it's gone from the cRIO)
b. For permenant instllation until replacement (ie for competition) (you can't probe this, right?)
Of course, we know how to do this as well, but again I don't trust that we've been doing it the right way all this time...

Thanks!
If there's a document by FIRST and/or NI that you can point me to that explains some or all of these stuff, please do so

Last edited by NeatNit : 17-09-2011 at 10:52.
Reply With Quote
  #3   Spotlight this post!  
Unread 17-09-2011, 13:01
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Watchdog problem - please help me diagnose and fix

Quote:
Originally Posted by NeatNit View Post
1. In what position should the physical switches on the cRIO be?
All six DIP switches should be in the OFF position for normal operation. At times, you may want the Console Out switch to be on for debugging purposes. Look here for information on the cRIO-FRC (It goes into detail on DIP switches starting on page 12).


Quote:
Originally Posted by NeatNit View Post
2. Is there a place where I can download LabView and all the FRC tools and updates? I have the serial of course, and the CD as well, but for some reason I don't trust it... Call it paranoia.
2011 software updates can be found here.


Quote:
Originally Posted by NeatNit View Post
3. What is the proper way to transfer the program from the computer to the robot?
a. For one-time testing (ie run it once, and when we stop it it's gone from the cRIO)
b. For permenant instllation until replacement (ie for competition) (you can't probe this, right?)
Of course, we know how to do this as well, but again I don't trust that we've been doing it the right way all this time...
I'll answer this assuming you're using LabVIEW; if you're not, I'm not really helpful. For one time testing, you can run your program on the cRIO without loading it on the memory. From your Robot Main.vi, you can click the 'Run' arrow on the top left of the toolbar to run your code via your programming computer. To load the program onto the cRIO's memory, expand the Build Specifications menu and right click on FRC Bootup Deployment and select build. Wait for that to finish, and then repeat that process and click Run As Startup. The follow the prompts.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #4   Spotlight this post!  
Unread 17-09-2011, 13:12
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: Watchdog problem - please help me diagnose and fix

Here is a great reference link from Team 358 http://www.team358.org/files/program...olSystem2009-/

To answer your questions:

1. All the dip switches should be in the same configuration (off). Here is a link to the NI documentations: https://decibel.ni.com/content/docs/DOC-2632
2. Here are the latest Labview update links:
http://joule.ni.com/nidu/cds/view/p/id/2261/lang/en
http://joule.ni.com/nidu/cds/view/p/id/2262/lang/en
http://joule.ni.com/nidu/cds/view/p/id/2263/lang/en
3. To do one-time testing, simply click on the 'Run' icon
To have the program run from boot-up, you must build and deploy your project.

Hope this helps! Have a great Off-season!
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
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 20:39.

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