Go to Post I used to be a FIRST Robotics mentor...then I took a Frisbee to the knee. - Travis Hoffman [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-02-2011, 15:56
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Exclamation Watchdog Not Fed

This is my code and driver station says Wathdog Not Fed when I run this code.


Here is my code if someone can tell me what to do I would be pleased.

Thanks in advance!!!




Uploaded with ImageShack.us




Uploaded with ImageShack.us





Uploaded with ImageShack.us





Uploaded with ImageShack.us
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2011, 16:25
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Watchdog Not Fed

There's something very strange about that code. You're apparently trying to read photosensor outputs using Solenoid Get? That won't work. The photosensor signals should go to Digital I/O pins on the Digital Sidecar, and you should read them using a DIO Get.
Reply With Quote
  #3   Spotlight this post!  
Unread 15-02-2011, 16:27
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Watchdog Not Fed

Quote:
Originally Posted by Alan Anderson View Post
What have you changed from the original Autonomous Independent?

Are the IR1, IR2 and IR3 digital inputs being opened in the Begin vi?
I have changed Digital Input to Solenoid because we wired our photosensor to Solenoid Breakout! But Is that for sure that our Watchdog will work. I think I have made some mistakes about Watchdog in Autonomous Independent.vi

Also I have added watchdog get reference and wired it to Watchdod Feed in Autonomous Independent.vi.

Last edited by cilginbilgin : 15-02-2011 at 16:31.
Reply With Quote
  #4   Spotlight this post!  
Unread 15-02-2011, 16:35
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Watchdog Not Fed

Quote:
Originally Posted by Alan Anderson View Post
There's something very strange about that code. You're apparently trying to read photosensor outputs using Solenoid Get? That won't work. The photosensor signals should go to Digital I/O pins on the Digital Sidecar, and you should read them using a DIO Get.
http://www.chiefdelphi.com/forums/sh... +photosensor

Here it says we can wire photosensor to Solenoid Breakout!
Reply With Quote
  #5   Spotlight this post!  
Unread 16-02-2011, 09:34
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Watchdog Not Fed

Quote:
Originally Posted by cilginbilgin View Post
http://www.chiefdelphi.com/forums/sh... +photosensor

Here it says we can wire photosensor to Solenoid Breakout!
You can wire the photosensor power wires (brown to plus, blue to common) to the output of a Solenoid Breakout connected to the 24 volt cRIO supply. If you do that, you will have to turn the solenoid output on in order to power the sensor.

The photosensor signal wires (black or white) still need to be read using a Digital Input.
Reply With Quote
  #6   Spotlight this post!  
Unread 16-02-2011, 10:58
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Question Re: Watchdog Not Fed

I was wondering will my watchdog code work?
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:36.

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