Go to Post My mom's cousin heard from her friend who heard from her brother who heard from his barber who heard from his son that his teacher told him that his father's brother's sister's former roommate heard from Frank himself. - notmattlythgoe [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 21-02-2011, 09:20
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Exclamation Cant remove the code I had deployed

I deployed an autonomous code as a Robot Framework like 2 weeks ago and now I want to change this code to default code in Robot Framework with Game Code.

I build the Robot Framework with Game Code under Build Specifications and I run it as startup and finally I deploy all by right clicking to RT CompactRIO target (10.29.05.02) but our robot still works with the old autonomous code which ı deployed with Robot Framework.

Can someone help me to deploy my new autonomous code to Crio!!

Thanks for your help!!!
Reply With Quote
  #2   Spotlight this post!  
Unread 21-02-2011, 11:05
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Cant remove the code I had deployed

Actually the problem is when I run the code from my Robot Framework With Game code it does not run autonomous mode and it just runs the teleoperated.
How can I make Autonomous run or deploy?
Reply With Quote
  #3   Spotlight this post!  
Unread 21-02-2011, 11:14
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Cant remove the code I had deployed

Quote:
Originally Posted by cilginbilgin View Post
Actually the problem is when I run the code from my Robot Framework With Game code it does not run autonomous mode and it just runs the teleoperated.
How can I make Autonomous run or deploy?
There is a small column of buttons no the Driver Station labeled "Autonomous", "Teleoperated" and "Practice". Click on "Autonomous" with the robot disabled, then Enable the robot. That should run your autonomous code.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #4   Spotlight this post!  
Unread 21-02-2011, 11:19
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: Cant remove the code I had deployed

You're adding an extra step. You should just "Build" then "Run as startup". LabVIEW will ask if it's okay to reboot the cRIO. Say OK. If you haven't made any changes to the Build Specification, it should just work.
Reply With Quote
  #5   Spotlight this post!  
Unread 21-02-2011, 13:21
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Cant remove the code I had deployed

Quote:
Originally Posted by Alan Anderson View Post
You're adding an extra step. You should just "Build" then "Run as startup". LabVIEW will ask if it's okay to reboot the cRIO. Say OK. If you haven't made any changes to the Build Specification, it should just work.
I know how to do deploy a code but what the problem is that I wrote an autonomous code in autonomous.vi but my autonomous.vi code doesnt work when I build it and run it as startup. I know how to enable autonomous or teleoperated mode but when I enable autonomous mode my autonomous code in the project doesnt work and another autonomous code works which I had deployed two weeks ago as a Robot Framework.

PS: Teleop Mode works fine!

frcmastery.com 5th video - http://www.frcmastery.com/labview-fo...tonomous-mode/
Reply With Quote
  #6   Spotlight this post!  
Unread 21-02-2011, 20:22
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: Cant remove the code I had deployed

If you open RobotMain and double click on the Autonomous Independent refnum that is just to the left of the while loop. If RobotMain hasn't been modified, this will open the auto independent that the autonomous code will run. Is that your subVI? If not, you managed to save the new VI under a new name and not update the RobotMain.

You can either drag the new autonomous subVI from the project and drop it on the RobotMain refnum to the left of the loop and save RobotMain, or you can load the new one and Save it As the Autonomous Independent, over the old one.

If you have modified RobotMain already, post a screenshot for further help.

Greg McKaskle
Reply With Quote
  #7   Spotlight this post!  
Unread 21-02-2011, 20:33
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Smile Re: Cant remove the code I had deployed

Quote:
Originally Posted by Greg McKaskle View Post
If you open RobotMain and double click on the Autonomous Independent refnum that is just to the left of the while loop. If RobotMain hasn't been modified, this will open the auto independent that the autonomous code will run. Is that your subVI? If not, you managed to save the new VI under a new name and not update the RobotMain.

You can either drag the new autonomous subVI from the project and drop it on the RobotMain refnum to the left of the loop and save RobotMain, or you can load the new one and Save it As the Autonomous Independent, over the old one.

If you have modified RobotMain already, post a screenshot for further help.

Greg McKaskle

Thank you very much, Greg!
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 20:30.

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