|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: 6 hours, 4 mentors and 2 students couldnt figure out whats wrong with our relays
Well we found the underlying issue of that, too. The watchdog timed out - it was software.
We put the light on for the first time, the bracket just got it, and we noticed that the light turned off every time the compressor turned off. Then the diagnostics tab told us the rest of the story. So now, the new issue, WHY is our watchdog timing out? It was originally hard wired, and we thought maybe we might have more luck wireless. Same thing. We tried it with the default robot project, no changes at all, and we tried sevral examples. It always did the same thing. We thought maybe the program was timing out because we didn't have a camera on there and the request wasn't going through, but then we attached that and nothing changed at all. |
|
#2
|
|||
|
|||
|
Re: 6 hours, 4 mentors and 2 students couldnt figure out whats wrong with our relays
Make sure you have installed the latest driver station and labview updates from www.ni.com/first.
These updates have resolved some of the watchdog issues. Here is my very broad understanding of watchdog issues at the moment. Each time the watchdog encounters an error it pauses your code running on the crio (watchdogs want to stop the machine from hurting itself if there is an error). If you call something in teleop.vi that is not opened in Begin.vi the whole control system will "pulse" in between pauses for example. The update addressed this by making the watchdog ignore smaller errors. Ignore more small errors and you will have less watchdog errors. If you do something to cause a more "major" error you will still see watchdog timeouts. Again, people who really know what the watchdog does are likely to wince at my explaination but it boils down to -make sure the update is installed. -make sure you have error free vis. I think there was a "watchdog for beginners" explaination thread somewhere on the boards today ... |
|
#3
|
|||
|
|||
|
Re: 6 hours, 4 mentors and 2 students couldnt figure out whats wrong with our relays
Quote:
Everything was as fresh as possible. And we STILL couldn't get it working. We think it may be hardware, because with some testing, it seems we don't get watchdog errors when we unplug the digital sidecar. I got to the school at 10 am and I left at 7 with this issue still unresolved. |
|
#4
|
|||||
|
|||||
|
Re: 6 hours, 4 mentors and 2 students couldnt figure out whats wrong with our relays
Do you get Watchdog errors if you leave the DSC connected, but disconnect all your DIO, Relay, & I2C connections?
Possible bare wires shorting on the Wago connector? |
|
#5
|
|||
|
|||
|
Re: 6 hours, 4 mentors and 2 students couldnt figure out whats wrong with our relays
Quote:
We didn't try a new power cable, but I doubt that's the issue because we checked all the connections with a multimeter and it read the same as any other connection - the same exact voltage of the battery. And I don't think shorts can be that intermittent, while at semi-regular intervals... we'll try it tonight, anyways, though. |
|
#6
|
|||||
|
|||||
|
Re: 6 hours, 4 mentors and 2 students couldnt figure out whats wrong with our relays
Have you tried connecting one of your other DSCs to see if the problem follows the board or occurs with any DSC?
You can do replacement tests on the cRIO module and on the cRIO slot as well to eliminate each step in the electrical chain. |
|
#7
|
|||
|
|||
|
Re: 6 hours, 4 mentors and 2 students couldnt figure out whats wrong with our relays
Quote:
We also replaced the entire cRIO, using the modules from the old one. We then swapped slot #4 and #6, then took out #6 all together, then re-imaged in case anything was dependent on #6 |
|
#8
|
||||
|
||||
|
Re: 6 hours, 4 mentors and 2 students couldnt figure out whats wrong with our relays
I know this is a shot in the dark, but we are having very similar problems, so I thought I would throw in my $.02.
By any chance are you running your compressor code in the timed loop section, either 10ms or 100ms? If so, by any chance is the camera not currently hooked up? Here is why I ask. In the past we have had lots of trouble when our camera cable had come unplugged and we had a lot of robot code that was included in the same loop. The huge amount of load placed on the system with bad or no data from the camera prevented the rest of the code from completing. What I am wondering is if the same thing is happening now. We currently do not have our camera plugged in, but the code is still running. The vision code runs in the same "Frame" as the periodic loops. Could the camera errors be preventing the periodic loops from updating the output to the relay controlling the compressor? I will be investigating this around 4:30pm PST today. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Figure out what's wrong with the IR board | sparrowkc | Electrical | 5 | 17-02-2008 12:29 |
| All female team- students AND mentors | Marie | General Forum | 22 | 15-02-2008 13:06 |
| What's Wrong with our Gyro??? | manderson5192 | Programming | 4 | 08-02-2008 09:08 |
| For Students only: dealing with mentors | Cody Carey | General Forum | 1 | 09-02-2006 01:38 |
| Whats wrong with this code? | Morgoth | Programming | 4 | 19-01-2003 11:45 |