|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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??? ![]() |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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.
|
|
#4
|
|||||
|
|||||
|
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. |
|
#5
|
|||
|
|||
|
Re: error in Autonomous independent when using "run as startup"
okay here is the autonomous code.
|
|
#6
|
|||||
|
|||||
|
Re: error in Autonomous independent when using "run as startup"
Have you checked that Robot Main.vi actually calls Autonomous Independent.vi?
|
|
#7
|
|||
|
|||
|
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 |
|
#8
|
||||||
|
||||||
|
Re: error in Autonomous independent when using "run as startup"
What do you expect Autonomous independent to do?
|
|
#9
|
|||
|
|||
|
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 ![]() |
|
#10
|
|||
|
|||
|
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...?
|
|
#11
|
||||||
|
||||||
|
Re: error in Autonomous independent when using "run as startup"
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |