Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Watchdog Not Fed (http://www.chiefdelphi.com/forums/showthread.php?t=91911)

cilginbilgin 15-02-2011 15:56

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

Alan Anderson 15-02-2011 16:25

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.

cilginbilgin 15-02-2011 16:27

Re: Watchdog Not Fed
 
Quote:

Originally Posted by Alan Anderson (Post 1023721)
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.

cilginbilgin 15-02-2011 16:35

Re: Watchdog Not Fed
 
Quote:

Originally Posted by Alan Anderson (Post 1023723)
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!

Alan Anderson 16-02-2011 09:34

Re: Watchdog Not Fed
 
Quote:

Originally Posted by cilginbilgin (Post 1023730)
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.

cilginbilgin 16-02-2011 10:58

Re: Watchdog Not Fed
 
I was wondering will my watchdog code work?


All times are GMT -5. The time now is 09:21.

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