Go to Post I think it's important to keep FIRST's most important award as the top point getter [in Fantasy FIRST]. It's help reinforce that the Chairman's award, Engineering Inspiration and Woodie Flowers award are actually important and FIRST is about more than just the robots. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-03-2009, 23:25
duane's Avatar
duane duane is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Vacaville
Posts: 98
duane is an unknown quantity at this point
Send a message via AIM to duane
LabView Intermittent No Code

We've been having trouble with the Driver Station status indicating "No Code" intermittently. We've done a lot of trouble shooting and we are starting to get some idea what is going on, but we are looking for ideas about what would cause "No code" on the cRio.

We narrowed down a few things:
1. The "No Code" situation most often occurs when we switch between autonomous and tele-operated modes.

2. When switching, the dashboard error log displays seemingly inconsistent messages about PWM channels not being allocated or encoders not be set properly. Systems that would work in Teleop mode, would then stop working entirely after going through autonomous mode. (We are using Autonomous Independent (in the Advanced framework)).

3. We have added "Robot Data" as a global variable.

Our current thinking is that some parts of the system are accessing the Robot Data global information (references) before they are initialized. We have taken to putting many pieces of code in separate parallel VIs to encourage the system to use more independent threads.

However, we can't see where this would happen, all of the VIs are connected to "Begin" where all of the data is initialized. After Begin, all of the threads branch and run independently, including driving, various on-robot controls, and camera vision and tracking.

Could we be corrupting the references somehow? I expect the references to be mostly "read-only" during operational mode. Is there something about global data that we are missing?

Thank you for any ideas as we head off into competition tomorrow.

...Duane
__________________
Duane Murphy
Mentor - Software
Vanden Vikings FIRST Team 701
http://www.vandenrobotics.com
  #2   Spotlight this post!  
Unread 28-03-2011, 16:45
Greg Shaw's Avatar
Greg Shaw Greg Shaw is offline
Registered User
FRC #3601
 
Join Date: Mar 2011
Location: Webberville
Posts: 35
Greg Shaw is a jewel in the roughGreg Shaw is a jewel in the roughGreg Shaw is a jewel in the rough
Re: LabView Intermittent No Code

Our team was curious if you have had any luck with any of those problems? We have been having the same thing happening to us and we do not know what is going on either.
  #3   Spotlight this post!  
Unread 28-03-2011, 16:57
chemipanda chemipanda is offline
Budha
FRC #0240 (TEMPEST)
Team Role: Mechanical
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Newport, Mi
Posts: 38
chemipanda is an unknown quantity at this point
Re: LabView Intermittent No Code

We have had this problem when we would deploy a updated with more items code but when we would deploy the old one it would work perfectly fine.
  #4   Spotlight this post!  
Unread 28-03-2011, 16:59
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,795
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: LabView Intermittent No Code

If you zip and post the code we will identify the problem spots for you.
That usually takes us (the collective mentors on CD) only a few moments.
Or we could just toss out random unrelated possibilities...

There are lots of potential reasons, from closing devices inappropriately, to misnaming things, to overloading your cRIO.

Once you get used to what to look for, it becomes much easier for you.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 28-03-2011 at 17:02.
Closed Thread


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
custom C/C++ code in LabView? Pneumaticsman NI LabVIEW 5 14-01-2009 23:05
help me in LabView code mahmosh National Instruments LabVIEW and Data Acquisition 3 11-01-2009 00:18
Troubleshooting problems with intermittent robot operation Ted-Werd Electrical 10 15-02-2007 19:06
Intermittent CODE ERROR, followed by uncommanded relay switching tcj103 Programming 4 22-01-2007 02:59
Intermittent Code Error Plloyd Programming 9 09-04-2005 21:37


All times are GMT -5. The time now is 11:53.

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