Go to Post When I first read this comic, I thought "Awww, how cute!". But then, thoughts of Karthik singing J. Lo's "Love Don't Cost a Thing" started running around through my head, and everything changed. - Travis Hoffman [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 16-11-2012, 17:36
Priyesh69 Priyesh69 is offline
Registered User
FRC #3988
 
Join Date: Nov 2012
Location: montreal
Posts: 46
Priyesh69 is an unknown quantity at this point
Deploying code probleme

Hi we just created our new mecanum wheel programme and when we deploy it it does work all the ip and electric connection are right. The error that appears is that some vi are missing while the deployment sequence but all are vi are there.
Also we have a start-up programme in our crio. Is this the cause of error. Please help.
  #2   Spotlight this post!  
Unread 17-11-2012, 00:16
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
Re: Deploying code probleme

Hi,
You just haven't posted enough info to help you yet. Firstly,
  1. Have you run other programs (non-mecanum) successfully?
  2. What programming language are you using?
  3. Can you post the error messages?
After these answers, then we can start narrowing things down.
__________________
Mike B
  #3   Spotlight this post!  
Unread 17-11-2012, 07:14
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,751
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: Deploying code probleme

This sometimes happens when you have VIs like autonomous which are in a broken state. RobotMain doesn't directly call it, so RobotMain isn't broken, but during the build or debug/deploy, it is discovered.

Greg McKaskle
  #4   Spotlight this post!  
Unread 17-11-2012, 09:08
JCharlton's Avatar
JCharlton JCharlton is offline
Registered User
AKA: JC
no team
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Montreal
Posts: 123
JCharlton is a splendid one to beholdJCharlton is a splendid one to beholdJCharlton is a splendid one to beholdJCharlton is a splendid one to beholdJCharlton is a splendid one to beholdJCharlton is a splendid one to beholdJCharlton is a splendid one to behold
Re: Deploying code probleme

I'm just guessing here, but this may cause your error or something like it. Is your copy of LabView registered?

Also, as the previous poster said, is your 'run' arrow white, or is it broken (which means there's a problem with one of the vi's)

One more question: Are you able to download a fresh copy of the default code? This won't make your mechanum run, but it will test your ability to download code.
__________________
"There is no problem so bad that you can’t make it worse." - via Chris Hadfield
  #5   Spotlight this post!  
Unread 17-11-2012, 10:13
Priyesh69 Priyesh69 is offline
Registered User
FRC #3988
 
Join Date: Nov 2012
Location: montreal
Posts: 46
Priyesh69 is an unknown quantity at this point
Re: Deploying code probleme

Quote:
Originally Posted by SuperS_5 View Post
Hi,
You just haven't posted enough info to help you yet. Firstly,
  1. Have you run other programs (non-mecanum) successfully?
  2. What programming language are you using?
  3. Can you post the error messages?
After these answers, then we can start narrowing things down.
1) Yes we do run other programme successfully (we just tried the one in the start-up)
2) Labview
3) When deploying there a message that appears that say some vi are in conflits and need the be not run for the code to execute.
  #6   Spotlight this post!  
Unread 17-11-2012, 15:37
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: Deploying code probleme

Quote:
Originally Posted by Priyesh69 View Post
3) When deploying there a message that appears that say some vi are in conflits and need the be not run for the code to execute.
If that's the message I think it is, then it's not an error. It's just letting you know that there's already a program running on the robot, and if you continue to deploy the new program you'll replace the old program. Since that's exactly what you want to do, just tell it to continue.
  #7   Spotlight this post!  
Unread 18-11-2012, 19:01
Priyesh69 Priyesh69 is offline
Registered User
FRC #3988
 
Join Date: Nov 2012
Location: montreal
Posts: 46
Priyesh69 is an unknown quantity at this point
Re: Deploying code probleme

Quote:
Originally Posted by Alan Anderson View Post
If that's the message I think it is, then it's not an error. It's just letting you know that there's already a program running on the robot, and if you continue to deploy the new program you'll replace the old program. Since that's exactly what you want to do, just tell it to continue.
Yes that what we did but the programme that we overwrite does work so how to delete or take out the programme that is already running(that programme is in start-up mode) Thank for the help
  #8   Spotlight this post!  
Unread 19-11-2012, 12:04
JCharlton's Avatar
JCharlton JCharlton is offline
Registered User
AKA: JC
no team
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Montreal
Posts: 123
JCharlton is a splendid one to beholdJCharlton is a splendid one to beholdJCharlton is a splendid one to beholdJCharlton is a splendid one to beholdJCharlton is a splendid one to beholdJCharlton is a splendid one to beholdJCharlton is a splendid one to behold
Re: Deploying code probleme

Quote:
Originally Posted by Priyesh69 View Post
3) When deploying there a message that appears that say some vi are in conflits and need the be not run for the code to execute.
Can you give us the EXACT error or a screenshot?
__________________
"There is no problem so bad that you can’t make it worse." - via Chris Hadfield
  #9   Spotlight this post!  
Unread 19-11-2012, 12:47
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,749
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: Deploying code probleme

Quote:
Originally Posted by Priyesh69 View Post
Yes that what we did but the programme that we overwrite does work so how to delete or take out the programme that is already running(that programme is in start-up mode) Thank for the help
Do you BUILD the program, then select RUN AS STARTUP to load the code to the cRIO?
__________________
Quote:
The views expressed are mine and should not be construed to represent the views of anyone else.
  #10   Spotlight this post!  
Unread 19-11-2012, 23:12
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
Re: Deploying code probleme

A program that is set to run at start-up is separate from code deployed by clicking on the "run" button. The built code is loaded from Flash memory on every boot and executed immediately after booting completes. When you click the "run" arrow, it terminates and overwrites any code currently executing, with your new code. So any time you have code that you don't like, you can simply overwrite it with new and hopefully improved code. It doesn't however, do anything with your "start-up" program on the on board Flash. You can overwrite that code on the Flash memory by setting any new code to "run as start-up".

There is usually not much need to actually delete, without overwriting, the start-up code. You can disable it from running by using the dip switches on the older cRIO, or the configuration utility for the newer cRIO II. I would only use that option if mis-written is causing problems with the cRIO. Generally overwriting the start-up program is the best solution, even if that is only using the default code. (Or your last backup known to work.)
__________________
Mike B
  #11   Spotlight this post!  
Unread 20-11-2012, 18:35
Priyesh69 Priyesh69 is offline
Registered User
FRC #3988
 
Join Date: Nov 2012
Location: montreal
Posts: 46
Priyesh69 is an unknown quantity at this point
Re: Deploying code probleme

Every thing is now working. We need to open the dashboard then it will run the startup programme, then we run the new programme and then it work. Before when we deploy a new programme theres no dashboard that appears. But there the fact that we manualy need to open a dashboard and the startup programme deploys everytime we open it. We also check the crio imaging tool we had console out check, is that normal?
  #12   Spotlight this post!  
Unread 20-11-2012, 23:26
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: Deploying code probleme

Your terminology seems a bit confused. To help me understand what you are describing, can you tell me what the "dashboard" you're talking about looks like? What exactly do you mean by "the startup programme deploys"?
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


All times are GMT -5. The time now is 02:09.

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