Go to Post Every team should have a rule about not shouting "ROBOT!" when transporting a robot around the pits/arena. - frasnow [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 30-01-2010, 23:49
technowizard12's Avatar
technowizard12 technowizard12 is offline
Programmer
AKA: Simon Orr
FRC #1072
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: San Jose, CA
Posts: 3
technowizard12 is an unknown quantity at this point
Exclamation Output signal failing problem fixed!

My team's been trying to solve a problem with the output signals switching rapidly on and off many times per second. We tested every component that we thought could possibly be causing this problem, replacing some of it which was faulty. Even after replacing our faulty bridge with a new one (for testing, unless FIRST deigns to let us use it for competition), switching between wired and wireless connections, disabling most every bit of the code going on the robot (to make sure that the cRIO wasn't being overtaxed, and thereby freaking out), checking the priorities of the VIs we were running (to see if any of them were hogging the processor), making sure that the watchdog wasn't malfunctioning, and was being properly fed (assuming proper operation), and checking to make sure that the issue wasn't caused by power supply, our eyes landed on the one thing left which could have gone wrong: the Classmate PC. We think that the problem was (well, still is. it just happens less often) caused by the low amount of RAM on the Classmate PC. The signal to the outputs failing, henceforth known as "flickering", was caused by the Classmate PC having senior moments, not being able to keep up with the data stream, and therefore placing farting in our data. Occasionally we get an error about the watchdog not being fed, which is still caused by the same thing. Attached is a graph of the current going to a single spike's signal wire. You'll see that the current drops to about once every twenty seconds. usually, this only lasts a couple milliseconds, although one burst of three events lasted three seconds.
Attached Files
File Type: pdf Spike Signal Graph.pdf (57.2 KB, 42 views)
Reply With Quote
  #2   Spotlight this post!  
Unread 31-01-2010, 08:29
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,800
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Output signal failing problem fixed!

On the Driver Station Diagnostics tab error message screen, do you get Watchdog error messages that look like:
Watchdog Expiration: System 4, User 2
See if the count for System corresponds to your plotted spike dropouts. Reboot the cRIO to reset the counts.
Some of these Expiration messages are normal. You'll get them sometimes when you change states from Disabled to Enable or from Autonomous to Teleop or when a practice match comes to an end.

Are you able to replace the Classmate with a more powerful personal PC to test your theory?
The DS Update 1.0 will install everything you need to make any PC become the Driver Station.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 31-01-2010 at 11:15.
Reply With Quote
  #3   Spotlight this post!  
Unread 31-01-2010, 15:07
technowizard12's Avatar
technowizard12 technowizard12 is offline
Programmer
AKA: Simon Orr
FRC #1072
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: San Jose, CA
Posts: 3
technowizard12 is an unknown quantity at this point
Re: Output signal failing problem fixed!

The watchdog errors only occasionally correspond with the ceasing of the signal. We figured that the watchdog error when we first enable was normal, because it was easily explained. Thanks for the advice on installing the station on another computer, we'll try it.
Reply With Quote
  #4   Spotlight this post!  
Unread 31-01-2010, 15:39
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,800
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Output signal failing problem fixed!

We don't get messages for every System Watchdog dropout, so it's the System count that might or might not match up.

The count in the error message isn't always sequential, implying that it can't always communicate back to the DS to tell us about them when they occur.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 31-01-2010, 22:16
technowizard12's Avatar
technowizard12 technowizard12 is offline
Programmer
AKA: Simon Orr
FRC #1072
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: San Jose, CA
Posts: 3
technowizard12 is an unknown quantity at this point
Re: Output signal failing problem fixed!

I installed the driver's station on my 64 bit 5 gig ram Windows Vista computer and ran the robot from it while we were graphing. We discovered that the flickering has nothing to do with the computer. There's something going on with the cRIO, or something else electronic, that we can't fix. We hooked up our E-Box to a robot today and ran it. We tested it before this, and the flickering was clearly there, but it didn't effect or make itself evident in the robot's driving. It's a problem without a fix which doesn't effect the robot noticeably.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
cRIO output problem alex42 FRC Control System 1 27-01-2010 22:28
Problem receiving console output from cRIO Arborama Programming 7 15-02-2009 03:30
I fixed the Codec problem BuddyB309 3D Animation and Competition 1 09-02-2006 00:12
May have fixed the problem with blueprints... EVERYONE READ! archiver 2001 1 23-06-2002 23:01
Forum Problem [fixed] archiver 2000 0 23-06-2002 22:54


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

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