Go to Post A Mentor is.. A person you can talk to anything about and trust them to not throw it back in your face in any way shape or form and who will help you as much as they can to deal with the problems and situations in life... - Elgin Clock [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 11-03-2010, 19:24
slicer800 slicer800 is offline
Registered User
FRC #0569
 
Join Date: Feb 2010
Location: USA
Posts: 4
slicer800 is an unknown quantity at this point
Deployment issues

Hi guys, when i try to build the program into my crio i click run as start up first and when it finishes it says completed with errors so i looked to see what was the problem it says that the FRC Deployment (failed to deploy) what could be causing this? and how can i fix? Also If we don't have the gaming adapter (black box) and we plug the labtop into the crio and then unplug the lab top connector and replug it into the blue box into ethernet 1 would this work to run the robot? ( I'm asking this because we left the gaming adapter on the robot when we shipped it out and we forgot to take it off.)

Thanks,
~ Team 569
  #2   Spotlight this post!  
Unread 11-03-2010, 19:58
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Deployment issues

A few points here - Open Robot Main.vi and look for a play button near the upper-left corner. If it is broken, you have a code error that would explain everything.

The gaming adapter makes no difference in code downloading. It's kinda hard to understand what you mean with your networking connections, but you should be able to connect the laptop directly to the cRio with a crossover cable and download. If you want to run the robot, you could go through the router. It makes no difference. The job of the networking, router, and gaming adapter is to route the data from the laptop to the cRio, so as long as the laptop can connect to the cRio it will work. If you have problems, then remove the wireless link and use a crossover cable.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #3   Spotlight this post!  
Unread 12-03-2010, 01:04
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
Re: Deployment issues

I was just about to post a BREAKTHROUGH thread about a magic trick I learned today because I was getting your exact same problem today at the Arizona Regionals.

... send $100 to my paypal account and I'll PM you ...










OK, here's the magic trick that NI's rep gave me today ... [I'll edit this post with with Kudos (and his correctly spelled name) after I see him tomorrow]


1) on the cRIO, set the No App dipswitch to TRUE (this prevents user code from running when the cRIO boots, regardless of the SW settings)

2) reset the cRIO and feel free to deploy/run/build/set-as-startup, whatever ... As long as that dip-switch is set, it'll never run the startup apps when it boots, and the deployents (or just hitting RUN in the RobotMain.VI) works every time.

3) when you are done debugging and/or troubleshooting and want to try it out in a "realistic" fashion, do a final build and Set as Startup.

4) when the upload to the cRIO is complete, there's a window to close and then it asks you to reboot the cRIO. Before you click the Reboot button, UNSET that dip-switch


He said that they are looking into why this is occurring, but apparently they've got a pretty good workaround until we get a patch.

After I learned this trick, I never saw those errors again, and we were slinging code onto our 'bot all day today (Practice day at the AZ regionals)

Hope this helps.
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deployment Communications Fail alex42 FRC Control System 7 22-02-2010 07:31
Deployment Time SpaceOsc NI LabVIEW 1 06-02-2009 13:18
Wireless Deployment / Ipconfig p00rleno NI LabVIEW 3 31-01-2009 12:28
Ramp deployment a hazard? marc Rules/Strategy 7 11-02-2007 10:54


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

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