Go to Post Dave was an evil genius in his previous life. - Koko Ed [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 18-01-2011, 15:09
CNettles11's Avatar
CNettles11 CNettles11 is offline
Registered User
AKA: Chris Nettles
FRC #3502 (Octo-Pi-Rates)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 122
CNettles11 is a jewel in the roughCNettles11 is a jewel in the roughCNettles11 is a jewel in the roughCNettles11 is a jewel in the rough
cRIO not letting me deploy code.

I'm trying to deploy code to my cRIO but i keep getting the error "Unable to resolve from current dialog"
I've tried connecting using patch cables, crossover cables and the router. Can anyone help? Thanks

Chris Nettles
Team 3556
  #2   Spotlight this post!  
Unread 18-01-2011, 15:22
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: cRIO not letting me deploy code.

Are you talking about the LabVIEW dialog that shows a bunch of running VIs on the cRIO? That's not an error. It's just an informative message, basically letting you know that it's going to have to stop those VIs in order to replace them with the copies you're trying to deploy, and giving you a chance to change your mind before continuing.

Just tell it everything is okay and it should work as you want.
  #3   Spotlight this post!  
Unread 18-01-2011, 21:01
CNettles11's Avatar
CNettles11 CNettles11 is offline
Registered User
AKA: Chris Nettles
FRC #3502 (Octo-Pi-Rates)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 122
CNettles11 is a jewel in the roughCNettles11 is a jewel in the roughCNettles11 is a jewel in the roughCNettles11 is a jewel in the rough
Re: cRIO not letting me deploy code.

no, our cRIO is band new and we formatted it to read our team number/IP address. When i build the Robot Deployment VI, it works fine but when i try to deploy code to the cRIO, it starts, then tells me "Unable to connect to the RT cRIO Device, Abort?" and when it does find it, it brings up the "Unable to resolve from current dialog error.
  #4   Spotlight this post!  
Unread 19-01-2011, 00:23
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: cRIO not letting me deploy code.

Quote:
Originally Posted by CNettles11 View Post
When i build the Robot Deployment VI,...
When you do what? That's not an action I recognize.

Your original description of the problem didn't say anything about the first error. I can't tell whether you're leaving out any other relevant information that might help us help you. What code are you trying to deploy? Could you describe exactly what steps you're doing, and what happens when you do it?
  #5   Spotlight this post!  
Unread 19-01-2011, 15:01
CNettles11's Avatar
CNettles11 CNettles11 is offline
Registered User
AKA: Chris Nettles
FRC #3502 (Octo-Pi-Rates)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 122
CNettles11 is a jewel in the roughCNettles11 is a jewel in the roughCNettles11 is a jewel in the roughCNettles11 is a jewel in the rough
Re: cRIO not letting me deploy code.

http://imgur.com/Cuc51
LabVIEW Startup screen
http://imgur.com/n8exY
The lvproj file

Selecting to build the VI

Successful build

Deploying VI files

LabVIEW asking to save changes. I saved the changes

Unsuccessful deploy

I'm limited to 5 images so you'll have to open the first 2 in your browser.
  #6   Spotlight this post!  
Unread 19-01-2011, 15:09
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: cRIO not letting me deploy code.

The deployment message is what is important: Failed to connect to real-time target.

Possible causes:
Robot is turned off
Radio(s) are turned off or improperly connected
Robot is still booting up
Robot has crashed (see the Driver Station, and look for the Communications light to go off. If only Robot Code goes off, you're fine).
Something is improperly configured (wrong IP address, other IP settings)
Computer has wrong IP address

Try:
ping the cRio. If it fails, then the problem is not in LabVIEW.

Connect directly to the cRio via a crossover cable and try again - If this works then the problem is in the radio(s), and they are not configured correctly.
__________________
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
  #7   Spotlight this post!  
Unread 19-01-2011, 16:01
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: cRIO not letting me deploy code.

Don't "Deploy" the code.

In the same menu containing the "Build" command, there is a "Run as Startup" command. That's the one you should be using to transfer the built program to the cRIO.
  #8   Spotlight this post!  
Unread 19-01-2011, 17:32
CNettles11's Avatar
CNettles11 CNettles11 is offline
Registered User
AKA: Chris Nettles
FRC #3502 (Octo-Pi-Rates)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 122
CNettles11 is a jewel in the roughCNettles11 is a jewel in the roughCNettles11 is a jewel in the roughCNettles11 is a jewel in the rough
Re: cRIO not letting me deploy code.

i clicked run as startup but i still get the same error. i CAN ping the cRIO.

Last edited by CNettles11 : 19-01-2011 at 17:38. Reason: i can't spell
  #9   Spotlight this post!  
Unread 19-01-2011, 21:21
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,753
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: cRIO not letting me deploy code.

Perhaps you should try formatting again, and make sure that the format checkbox is checked. The imaging tool can be used to simply change IP info to match the team, or it can change language or version of the image.

I suspect that the cRIO is not running v25.

Greg McKaskle
  #10   Spotlight this post!  
Unread 19-01-2011, 22:48
CNettles11's Avatar
CNettles11 CNettles11 is offline
Registered User
AKA: Chris Nettles
FRC #3502 (Octo-Pi-Rates)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 122
CNettles11 is a jewel in the roughCNettles11 is a jewel in the roughCNettles11 is a jewel in the roughCNettles11 is a jewel in the rough
Re: cRIO not letting me deploy code.

I suspect not having all of the labview updates could be hindering the process. it it doesn't work, i'll try to post tomorrow.
  #11   Spotlight this post!  
Unread 19-01-2011, 22:53
mattiej's Avatar
mattiej mattiej is offline
Programmer Guy
FRC #3413 (Mad Cows)
Team Role: Programmer
 
Join Date: Dec 2010
Rookie Year: 2009
Location: Coppell Texas
Posts: 54
mattiej is an unknown quantity at this point
Re: cRIO not letting me deploy code.

I'm not sure if it is different for you, but I don't run my robot code (in LabVIEW) through that VI. I open up the Robot Main VI and run that code (also build). Maybe that is your problem?
__________________


Man pretending to be interested: "So how does this robot of yours work?"
Me tired of man pretending to be interested: "Magic. And Purple Yetis."
  #12   Spotlight this post!  
Unread 19-01-2011, 23:04
CNettles11's Avatar
CNettles11 CNettles11 is offline
Registered User
AKA: Chris Nettles
FRC #3502 (Octo-Pi-Rates)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 122
CNettles11 is a jewel in the roughCNettles11 is a jewel in the roughCNettles11 is a jewel in the roughCNettles11 is a jewel in the rough
Re: cRIO not letting me deploy code.

ive tried both, to no avail.
  #13   Spotlight this post!  
Unread 20-01-2011, 07:45
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,753
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: cRIO not letting me deploy code.

When I looked at the screenshots above, I noticed that you were building the build spec at the bottom of the project window, but you were deploying at the top of the target.

Did you right click on the bottom element, the build spec, and set to run as startup?

If you still cannot deploy, please open up Robot Main and see that it is not broken. Also open up the Autonomous VI and see that it is not broken.

If that doesn't work, do you want to share your VIs so that we can determine what is causing the error?

Greg McKaskle
  #14   Spotlight this post!  
Unread 20-01-2011, 08:15
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,856
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: cRIO not letting me deploy code.

I ran into a similar problem at a rookie last night, but didn't have time to investigate. Too much training going on.
It could have been as simple as a cross-over cable, but I just didn't have the time or cause.

Their Classmate would fail on the "Run as startup," in the same way as yours, connecting to a traveling cRIO I use.
The cRIO works with our older team Classmate and other laptops without issue, and everything has been fully updated and operating for a week.
In that particular case, which may not be the same as yours, it makes me think the issue is with the classmate.

I have a different rookie visit today and I'll see if their Classmate demonstrates the same issue.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 20-01-2011 at 09:27.
  #15   Spotlight this post!  
Unread 20-01-2011, 10:51
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,753
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: cRIO not letting me deploy code.

Mark. Feel free to submit some code if you have it narrowed down. Doug has a variety of laptops to test with, but I don't believe we have seen this issue yet.

Greg McKaskle
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 23:36.

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