Go to Post its pretty great when non FIRST friends go into your purse for chapstick or something and find a spike... - anna~marie [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 30-01-2009, 00:17
pyr0b0y pyr0b0y is offline
Programmer/Electrical
AKA: Josh
FRC #0253 (Mills Robotics Team)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2004
Location: Millbrae
Posts: 78
pyr0b0y is an unknown quantity at this point
Send a message via AIM to pyr0b0y
Removing Code

ok so i download some code to the crio and it worked fine with the joysticks. i am now trying to take the code off of the crio completely...what is the best way to erase it from the crio???
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2009, 11:54
BLAQmx's Avatar
BLAQmx BLAQmx is offline
Software Engineer
no team (National Instruments)
Team Role: Engineer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 100
BLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of light
Re: Removing Code

You shouldn't need to manually remove code from the cRIO. Whenever you deploy something new to it the old code will automatically be removed and replaced with the new code.
__________________
NI FIRST Community: Where to go for LabVIEW, Wind River, cRIO-FRC, and NXT support.
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2009, 13:23
Boydean's Avatar
Boydean Boydean is offline
The Blue Alliance
no team
Team Role: Alumni
 
Join Date: Apr 2007
Rookie Year: 2003
Location: SC
Posts: 319
Boydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant future
Send a message via AIM to Boydean
Re: Removing Code

Also, if you just click run in Labview it sends the program to RAM. Therefor when to cRIO restart it won't be there anymore. This is assuming that you didn't deploy it to flash which is a different process.
__________________

Last edited by Boydean : 30-01-2009 at 13:27.
Reply With Quote
  #4   Spotlight this post!  
Unread 01-02-2009, 23:24
pyr0b0y pyr0b0y is offline
Programmer/Electrical
AKA: Josh
FRC #0253 (Mills Robotics Team)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2004
Location: Millbrae
Posts: 78
pyr0b0y is an unknown quantity at this point
Send a message via AIM to pyr0b0y
Re: Removing Code

well i was just trying to run 1 motor at first. so i deployed it and it worked fine, but i updated the code, and have been trying for 5 days and have not been successful in getting a motor to run again. btw this is only for teleoperated, i uploaded auto code and itll just go in to auto mode, even if i manually switch it to tele from the driver station....whats going on?

i have tried also uploading the whole project, but that doesnt do anything either
Reply With Quote
  #5   Spotlight this post!  
Unread 02-02-2009, 09:00
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: Removing Code

If you have a motor that isn't moving, and it is a SW issue, you are probably getting an error. You should always probe or look at panels or run the dashboard to see what they are and let them help with the debugging.

Greg McKaksle
Reply With Quote
  #6   Spotlight this post!  
Unread 02-02-2009, 09:56
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,795
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: Removing Code

I've found this not to be true after Update 3.0a.
If I don't remove the default code (added to the cRIO by Imaging with the latest update) then it will be running at the same time as my newly downloaded LabVIEW code.

You can easily test for this by booting the cRIO while the DS is set to autonomous mode. You'll see the chase lights on the solenoid module until the larger LabVIEW program has time to finish loading and take over.

Quote:
Originally Posted by BLAQmx View Post
You shouldn't need to manually remove code from the cRIO. Whenever you deploy something new to it the old code will automatically be removed and replaced with the new code.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 02-02-2009 at 10:03.
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
Removing game pieces from Trailers PhilBot Rules/Strategy 51 06-01-2009 17:19
removing trackball from overpass Tyler Grooms Rules/Strategy 4 15-01-2008 12:39
Removing Bumpers for Ramp Gabe Technical Discussion 8 21-02-2007 10:28
RE:Removing Tetras matt111 Rules/Strategy 40 12-01-2005 12:48
Removing Drill pinion Rickertsen2 Technical Discussion 14 18-02-2004 13:41


All times are GMT -5. The time now is 10:03.

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