Go to Post A well-designed shifting transmission, controlled by an experienced driver (or a clever bit of software), is an advantage. - Alan Anderson [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 16-02-2013, 23:19
cjl2625's Avatar
cjl2625 cjl2625 is offline
apel py
AKA: Cory Lynch
FRC #2067 (Apple Pi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Guilford, CT
Posts: 412
cjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to behold
Exclamation Code not deploying

At the Suffield Shakedown today, we were unable to deploy code to the robot from LabView. When I try to deploy code, I just get a message that says 'waiting for cRIO to respond.' I know the robot is connected; we could drive it with the code that we loaded onto it the night before and it could function during the competition. I don't know why LabView can't connect to the robot correctly; everything else works, but deploying code just doesn't work.

Last edited by cjl2625 : 16-02-2013 at 23:21.
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2013, 01:16
Garten Haeska's Avatar
Garten Haeska Garten Haeska is offline
Registered User
AKA: Garty
FRC #2861 (Infinity's End)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Lake City, MN
Posts: 219
Garten Haeska has a spectacular aura aboutGarten Haeska has a spectacular aura about
Re: Code not deploying

are you trying to deploy your code with the dashboard open, i know we could deploy with it open for the longest of time.
__________________
"Sometimes the questions are

complicated but the answers are simple."

- Dr. Seuss
Reply With Quote
  #3   Spotlight this post!  
Unread 17-02-2013, 01:24
josneville's Avatar
josneville josneville is offline
The Chosen One
FRC #0540 (Talon 540)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: GHS Talon 540 Team
Posts: 15
josneville is on a distinguished road
Re: Code not deploying

If you have permanent code on the robot, it won't allow you to put temporary code unless you format the CRIO. That might be it.
__________________
-Success is the Key to Life. I have no life. Hmmm......
Reply With Quote
  #4   Spotlight this post!  
Unread 17-02-2013, 01:27
Garten Haeska's Avatar
Garten Haeska Garten Haeska is offline
Registered User
AKA: Garty
FRC #2861 (Infinity's End)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Lake City, MN
Posts: 219
Garten Haeska has a spectacular aura aboutGarten Haeska has a spectacular aura about
Re: Code not deploying

Quote:
Originally Posted by josneville View Post
If you have permanent code on the robot, it won't allow you to put temporary code unless you format the CRIO. That might be it.
We can still deploy code onto our robot while we have our start up code deployed onto the crio. So I think you are wrong about this one.
__________________
"Sometimes the questions are

complicated but the answers are simple."

- Dr. Seuss
Reply With Quote
  #5   Spotlight this post!  
Unread 17-02-2013, 01:37
josneville's Avatar
josneville josneville is offline
The Chosen One
FRC #0540 (Talon 540)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: GHS Talon 540 Team
Posts: 15
josneville is on a distinguished road
Re: Code not deploying

Then I guess our robot has something wrong then.
__________________
-Success is the Key to Life. I have no life. Hmmm......
Reply With Quote
  #6   Spotlight this post!  
Unread 17-02-2013, 08:25
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,748
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: Code not deploying

The LabVIEW code that shipped at the start of the season handled SmartDashboard connections in a way that the cRIO couldn't abort. This meant that with permanently deployed code and a SmartDashboard client connected, a new connection or deployment would fail to complete.

This was corrected in update 5.1 and there should be no need to reformat the controller for this.

Other things to check are the IP of the computer and even the CPU usage of the cRIO during the deploy.

Greg McKaskle
Reply With Quote
  #7   Spotlight this post!  
Unread 17-02-2013, 21:56
Jimmyk Jimmyk is offline
Time Lord
FRC #2521
Team Role: Electrical
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Eugene OR
Posts: 4
Jimmyk is an unknown quantity at this point
Re: Code not deploying

We are also getting repeated failures to deploy, again. We tried reinstalling the 5.1 Update, but it said the update was already installed.

While trying to deploy we get the dreaded "Cannot connect to real time target" etc. We often see this once, but sometimes it shows up a second time, then we know we're dead.

On at least one occasion closing the Driver's Station helped, but other times it hasn't. This is not the best time of the year for this to happen.

Any help would be much appreciated.
Reply With Quote
  #8   Spotlight this post!  
Unread 17-02-2013, 23:05
BenGrapevine's Avatar
BenGrapevine BenGrapevine is offline
Head Programmer
AKA: Tony Simmering
FRC #2549 (Millerbots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Minneapolis, Minnesota
Posts: 46
BenGrapevine is an unknown quantity at this point
Re: Code not deploying

I just have it drilled into my head to not deploy code unless the driver station is closed. That was what caused connection problems for the first week of our season.
__________________
Millerbots Team 2549
orange and blue
Reply With Quote
  #9   Spotlight this post!  
Unread 18-02-2013, 10:59
kenavt's Avatar
kenavt kenavt is offline
Registered User
AKA: Colin S
no team
Team Role: Alumni
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Ann Arbor
Posts: 253
kenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond reputekenavt has a reputation beyond repute
Re: Code not deploying

We are also having this problem with the 5.1 update installed and code permanently deployed. We tried temporarily deploying the robot code without the Dashboard or Driver Station running, without success. Flipping the "No App" switch via the cRIO Imaging Utility and letting the cRIO reboot resulted in temporary deployment success.
__________________
University of Michigan Computer Engineering '17

FRC 2337 student alumni (2010-2013)
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:58.

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