Go to Post A year where the students learn a lot and win nothing is more rewarding than a year where the team does well and doesn't learn much. - Molten [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 22-01-2012, 13:06
Chris_Elston's Avatar
Chris_Elston Chris_Elston is offline
Controls Engineer
AKA: chakorules
FRC #1501 (Team THRUST)
Team Role: Engineer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Huntington, Indiana
Posts: 746
Chris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond repute
Build, then Run as Startup results in Conflict?

Everytime we build, then run as startup, we notice we always get presented with this screen shot below. But we click "OK" and the code deploys and runs.

Is this NORMAL?

Why is it doing this? Anyone know?
Attached Thumbnails
Click image for larger version

Name:	Capture444.JPG
Views:	34
Size:	63.4 KB
ID:	11509  
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here:Repository

Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369
Reply With Quote
  #2   Spotlight this post!  
Unread 22-01-2012, 14:12
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,557
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: Build, then Run as Startup results in Conflict?

Yes it's normal. It's just a (very scary) way of telling you that you are overwriting already running code.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-01-2012, 14:21
Chris_Elston's Avatar
Chris_Elston Chris_Elston is offline
Controls Engineer
AKA: chakorules
FRC #1501 (Team THRUST)
Team Role: Engineer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Huntington, Indiana
Posts: 746
Chris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond repute
Re: Build, then Run as Startup results in Conflict?

Should we be cleaning? Or undeploy first? If so, what's the best way to clean the CRIO or initialize it to get it ready for new code? Is that a more recommended way? If so, the 2012 software documentation did not indicate this but makes sense maybe it should be done.
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here:Repository

Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369
Reply With Quote
  #4   Spotlight this post!  
Unread 22-01-2012, 17:11
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,112
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: Build, then Run as Startup results in Conflict?

It's not an error, just a warning. If you're trying to put a new program on the cRIO, you want to terminate the currently running program. Just click OK like you have been doing.
Reply With Quote
  #5   Spotlight this post!  
Unread 22-01-2012, 18:28
scubaboop scubaboop is offline
school advisor
FRC #3993 (Hart Super Heroes)
Team Role: Teacher
 
Join Date: Apr 2011
Rookie Year: 2010
Location: Stevenson Ranch, CA
Posts: 2
scubaboop is an unknown quantity at this point
Re: Build, then Run as Startup results in Conflict?

We have the same problem, but it won't run at all. We get no robot code.
Reply With Quote
  #6   Spotlight this post!  
Unread 22-01-2012, 22:02
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,112
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: Build, then Run as Startup results in Conflict?

Quote:
Originally Posted by scubaboop View Post
We have the same problem, but it won't run at all. We get no robot code.
What are you trying to run, and how are you trying to run it? If you Build the project and then Run as Startup, it should work. If you're just trying to Run a VI using the run arrow on the toolbar, only the Robot Main.vi will properly start the code running to establish communication with the Driver Station.
Reply With Quote
  #7   Spotlight this post!  
Unread 04-02-2012, 13:39
BrandonAbe BrandonAbe is offline
Registered User
FRC #1025
 
Join Date: Feb 2012
Location: Michigan
Posts: 10
BrandonAbe is an unknown quantity at this point
Re: Build, then Run as Startup results in Conflict?

Summary of what everyone said:
First, you must build the code. then you must deploy the code, and then run at startup. This error will occur when you are deploying the code, just because it is telling you that the robot is on. Just click okay, and then run on startup. When it then asks to reset the cRIO, click no, and manually turn your robot off and on. When you turn it back on, it should have the new code.
Reply With Quote
  #8   Spotlight this post!  
Unread 04-02-2012, 18:46
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,112
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: Build, then Run as Startup results in Conflict?

Quote:
Originally Posted by BrandonAbe View Post
First, you must build the code. then you must deploy the code, and then run at startup.
The "deploy" step is both unnecessary and unhelpful. It will just take more time. All you need to do is "Build" and "Run as startup".

Quote:
This error will occur when you are deploying the code, just because it is telling you that the robot is on. Just click okay, and then run on startup. When it then asks to reset the cRIO, click no, and manually turn your robot off and on. When you turn it back on, it should have the new code.
First, it's not an error. It's just an informative message telling you what will happen if you continue. Since what it says will happen is exactly what you want to happen, there's no problem.

Second, you should click Yes when it asks if you want to reboot the cRIO. That's how it starts running the newly loaded program. Removing power from the robot will make you need to wait for the DAP-1522 to boot and for the Driver Station to reconnect to it. That will take almost twice as long as just rebooting the cRIO from the prompt.
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


All times are GMT -5. The time now is 08:48.

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