Go to Post Yeah refs are trained to not have a sense of humor about things like that. - Koko Ed [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 12-01-2015, 19:40
tmk tmk is offline
Registered User
FRC #0876
 
Join Date: Jan 2015
Location: Northwood ND
Posts: 11
tmk is an unknown quantity at this point
Exclamation Code Deployment Error


We get this error when trying to deploy code to the roboRIO. It is a communications error, we have have tried deployment of code via Ethernet and USB. We have tried deploying default code. The roboRIO is running the 2015v23 image. I am out of ideas, thanks for any help in advance.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-01-2015, 19:55
Skyehawk's Avatar
Skyehawk Skyehawk is offline
Nuts N' Bolts
AKA: Skye Leake
FRC #0876 (Thunder Robotics)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2011
Location: Northwood, ND
Posts: 252
Skyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to all
Re: Code Deployment Error

- And we are able to ping the roboRIO at 172.22.11.2 and roboRIO-876.local
Reply With Quote
  #3   Spotlight this post!  
Unread 12-01-2015, 20:33
tmk tmk is offline
Registered User
FRC #0876
 
Join Date: Jan 2015
Location: Northwood ND
Posts: 11
tmk is an unknown quantity at this point
Re: Code Deployment Error

Never mind, we fixed the problem. Changed target IP of the roboRIO to 172.22.11.2 in the labview explorer.
Reply With Quote
  #4   Spotlight this post!  
Unread 12-01-2015, 20:33
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: Code Deployment Error

What is the value in parentheses after the Real-time target line in the project? It should match the roboRIO-876.local name.
Reply With Quote
  #5   Spotlight this post!  
Unread 12-01-2015, 22:55
tmk tmk is offline
Registered User
FRC #0876
 
Join Date: Jan 2015
Location: Northwood ND
Posts: 11
tmk is an unknown quantity at this point
Re: Code Deployment Error

That's the target IP and we hadn't remembered before that the roboRIO was given a new IP when we imaged it. The target IP has to match the set IP, and that's what we finally figured out. Thanks!
Reply With Quote
  #6   Spotlight this post!  
Unread 13-01-2015, 06: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,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: Code Deployment Error

The target IP can be either a resolved IP such as 172.22.11.2, or it can be a DNS name that resolves to that same IP. What Alan was saying is that you really want it to be based on the team number so that it will work over ethernet and especially wifi. The project setting you have now will work on USB, but will fail to work over the others.

Greg McKaskle
Reply With Quote
  #7   Spotlight this post!  
Unread 13-01-2015, 09:33
Skyehawk's Avatar
Skyehawk Skyehawk is offline
Nuts N' Bolts
AKA: Skye Leake
FRC #0876 (Thunder Robotics)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2011
Location: Northwood, ND
Posts: 252
Skyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to all
Re: Code Deployment Error

I'm a college student so I can't go test stuff. But I can see the concern, and why we need to fix this asap. When we first created a testbed project we just switched it to tank drive, and added a 2 solenoid pneumatics system. T
That is the extent of this little program.
The next thing we did was tether via USB, then build and deploy the project. any project that we would build and deploy would return the error from the first post. The IP being: roboRIO-876.local. This is the IP that it should be responding to correct?
I'm just confused, because in years past when the cRIO was 10.xx.yy.2, this is what I expected this year.
Reply With Quote
  #8   Spotlight this post!  
Unread 13-01-2015, 09:47
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,833
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: Code Deployment Error

Does this help your understanding of the new networking?
RoboRIO Networking

The use of mDNS makes networking easier, because DHCP can be used, which is what people normally use on their laptops.
But there is a curve to unlearning some of what we used to have to do for the old system.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 13-01-2015 at 09:50.
Reply With Quote
  #9   Spotlight this post!  
Unread 13-01-2015, 10:10
TylerStaudigel's Avatar
TylerStaudigel TylerStaudigel is offline
Registered User
FRC #0144 (R.O.C.K)
Team Role: Programmer
 
Join Date: Dec 2013
Rookie Year: 2014
Location: United States
Posts: 39
TylerStaudigel is an unknown quantity at this point
Re: Code Deployment Error

Quote:
Originally Posted by Skyehawk View Post
I'm a college student so I can't go test stuff. But I can see the concern, and why we need to fix this asap. When we first created a testbed project we just switched it to tank drive, and added a 2 solenoid pneumatics system. T
That is the extent of this little program.
The next thing we did was tether via USB, then build and deploy the project. any project that we would build and deploy would return the error from the first post. The IP being: roboRIO-876.local. This is the IP that it should be responding to correct?
I'm just confused, because in years past when the cRIO was 10.xx.yy.2, this is what I expected this year.
Last night we had connection issues and found that for some reason the roborio can be reached via the long 172 ip or the 10.xx.yy.20. I'm confused on how we would be able to use two different IP's for the same roborio. All of a sudden the 172 one just stoped working and it changed itself to the 10.xx.yy.20 one. How can this be?
Reply With Quote
  #10   Spotlight this post!  
Unread 13-01-2015, 10:23
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,833
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: Code Deployment Error

The mDNS address for both the Ethernet and USB network connections to the roboRIO is:
  • roboRIO-144.local
Using this address allows the network to automatically connect to whichever wire you happen to have plugged in-USB or Ethernet. It also automatically recovers and switches paths if one of the cables becomes unplugged, but the other is still available.


The fixed static IP address for the roboRIO via just the USB port is:
  • 172.22.11.2
It will stop working when the USB cable is disconnected. So this won't work via the Ethernet port, e.g., wirelessly.

The roboRIO Ethernet port IP is dynamically assigned by DHCP and can change based on what other IP devices are also requesting DHCP assigned address.
So it doesn't have a fixed IP address from session to session, so don't depend on the IP currently assigned. It may change the next time you boot and have added an IP camera or have a programming laptop connect before the roboRIO does.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 13-01-2015 at 10:28.
Reply With Quote
  #11   Spotlight this post!  
Unread 13-01-2015, 19:52
tmk tmk is offline
Registered User
FRC #0876
 
Join Date: Jan 2015
Location: Northwood ND
Posts: 11
tmk is an unknown quantity at this point
Exclamation Re: Code Deployment Error

I changed the target DNS address to roboRio-144.local in the Project Explorer, but now I am unable to communicate with the roboRIO with either USB or Ethernet.
Reply With Quote
  #12   Spotlight this post!  
Unread 13-01-2015, 20:16
tmk tmk is offline
Registered User
FRC #0876
 
Join Date: Jan 2015
Location: Northwood ND
Posts: 11
tmk is an unknown quantity at this point
Re: Code Deployment Error

Never mind, we fixed it. The mDNS address we should use is not roboRIO-144.local, it is roboRIO-876.local
We're supposed to use our team number in place of 144.
Reply With Quote
  #13   Spotlight this post!  
Unread 13-01-2015, 20:46
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,833
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: Code Deployment Error

Sorry about that.
I was addressing the poster before mine who is team number 144.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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:07.

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