Go to Post Maybe FIRST made these bumper rules so IRI would have something to blow off come July. - Koko Ed [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 02-02-2010, 14:47
Team1824 Team1824 is offline
Registered User
FRC #1824
 
Join Date: Oct 2008
Location: Peterborough
Posts: 14
Team1824 is an unknown quantity at this point
error in Autonomous independent when using "run as startup"

Every time our team tries to deploy the labview code to the cRIO via "run as startup" I get an error saying that several VIs are part of a Real-Time Startup application and all VIs on the target will be closed if we continue. Autonomous independent is one of these. If I just hit okay the code will deploy and run as it should, but the autonomous independent does not work.

What should I do???
__________________
Team 1824
Reply With Quote
  #2   Spotlight this post!  
Unread 02-02-2010, 14:55
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: error in Autonomous independent when using "run as startup"

Hit "OK". This is just telling you that you already have code running on the CRIO - it's the code you deployed last time around. This is a bit like the Windows warning - "Do you want to overwrite this file".

It's technical and scary looking, but harmless since you already know you want your new code on the Crio and not your old code.
Reply With Quote
  #3   Spotlight this post!  
Unread 02-02-2010, 15:07
Team1824 Team1824 is offline
Registered User
FRC #1824
 
Join Date: Oct 2008
Location: Peterborough
Posts: 14
Team1824 is an unknown quantity at this point
Re: error in Autonomous independent when using "run as startup"

So this is definitely not the reason my code is not working? it seems that the code is set up properly but nothing happens when I tell the driver station to use the Autonomous code.
__________________
Team 1824
Reply With Quote
  #4   Spotlight this post!  
Unread 02-02-2010, 15:39
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: error in Autonomous independent when using "run as startup"

What you described in the first post is not an error message. It's a warning that you're about to halt the program that is presently running in the cRIO so that you can replace it with a new program.

If you want help in understanding why your Autonomous code isn't working, show us what you have.
Reply With Quote
  #5   Spotlight this post!  
Unread 02-02-2010, 15:52
Team1824 Team1824 is offline
Registered User
FRC #1824
 
Join Date: Oct 2008
Location: Peterborough
Posts: 14
Team1824 is an unknown quantity at this point
Re: error in Autonomous independent when using "run as startup"

okay here is the autonomous code.
Attached Thumbnails
Click image for larger version

Name:	aut1.JPG
Views:	44
Size:	122.4 KB
ID:	8472  Click image for larger version

Name:	aut2.JPG
Views:	38
Size:	142.0 KB
ID:	8473  
__________________
Team 1824
Reply With Quote
  #6   Spotlight this post!  
Unread 02-02-2010, 19:40
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,833
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: error in Autonomous independent when using "run as startup"

Have you checked that Robot Main.vi actually calls Autonomous Independent.vi?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 03-02-2010, 09:02
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: error in Autonomous independent when using "run as startup"

Check Begin.vi to see if the enumeration selector is set to run the Autonomous Independent or simply the iterative.

Also, leave the Auto Independent window open and run your code from the project by pressing the run button on Robot Main. You should see the Autonomous VI called, see the run arrow on the autonomous Independent window fill in, you could set a break point, add probes, etc.

Determine whether the Auto is being called, but isn't behaving properly, or is not being called.

Greg McKaskle
Reply With Quote
  #8   Spotlight this post!  
Unread 03-02-2010, 09:13
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: error in Autonomous independent when using "run as startup"

What do you expect Autonomous independent to do?
Reply With Quote
  #9   Spotlight this post!  
Unread 03-02-2010, 12:52
hamosad1657 hamosad1657 is offline
Registered User
FRC #1657
 
Join Date: Jan 2010
Rookie Year: 2005
Location: Israel
Posts: 23
hamosad1657 is an unknown quantity at this point
Re: error in Autonomous independent when using "run as startup"

When you finished the code building, did you saw a "Building is complete" message?
When my team was beta tester, we met a problem with the Autonomous independent during the code building, and we solved it successfully. So give more details about the error

Good night from Israel
Reply With Quote
  #10   Spotlight this post!  
Unread 04-02-2010, 16:02
Team1824 Team1824 is offline
Registered User
FRC #1824
 
Join Date: Oct 2008
Location: Peterborough
Posts: 14
Team1824 is an unknown quantity at this point
Re: error in Autonomous independent when using "run as startup"

Yes the autonomous independent is being called in the begin.vi. What the code is supposed to do is use the default auto independent code to center the target and then move forward. However the camera is not hooked up so is that the problem? I was assuming that it would simply skip the camera code and go right to the movement code but I guess that might not be the case...?
__________________
Team 1824
Reply With Quote
  #11   Spotlight this post!  
Unread 04-02-2010, 17:24
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: error in Autonomous independent when using "run as startup"

Quote:
Originally Posted by Team1824 View Post
Yes the autonomous independent is being called in the begin.vi. What the code is supposed to do is use the default auto independent code to center the target and then move forward. However the camera is not hooked up so is that the problem? I was assuming that it would simply skip the camera code and go right to the movement code but I guess that might not be the case...?
It won't move unless it sees the target.
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
[FTC]: Autonomous Deployment Error "1003" neblixsaber FIRST Tech Challenge 2 28-12-2009 12:55
Using Sensors in Autonomous Independent Felipe Sagui NI LabVIEW 2 27-01-2009 17:25
cRio losing connection when "run as startup" mgurgol Programming 2 12-01-2009 12:18
Will 3ds Max 2009 run on "regular" Windows XP? Kevin Thorp 3D Animation and Competition 3 12-11-2008 22:07
how tall is the ramp when in "up" and "balanced" position??? archiver 2001 1 24-06-2002 00:54


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

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