Go to Post NO MORE "COTTON EYE JOE"!!!! - hipsterjr [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 24-01-2015, 12:17
awehunter awehunter is offline
Registered User
FRC #3350
 
Join Date: Jan 2014
Location: Texarkana Texas
Posts: 10
awehunter is an unknown quantity at this point
Cannot Connect to Target while deploying.

Hey guys, we can't for the life of us figure out why LabView keeps giving us an error every time we try to run as startup or deploy. It tells us that it failed to connect to the target. We've tried wiring straight into the rio via Ethernet and going through the d-link. We've formatted the rio successfully. Can someone help shed some light on this?
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2015, 14:39
icq10 icq10 is offline
Registered User
no team
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Unknown
Posts: 24
icq10 is an unknown quantity at this point
Re: Cannot Connect to Target while deploying.

It is hard to know what the problem could be with your robot. But if you are connected via wifi or ethernet with the robot does not automatically mean that you can deploy code on it. Be sure to set the ip of the target right. In our case the problem was that the target was not selected right.

Go to your project explorer, right click on Target and select properties, then type in the right DNS that you set up on the roborio. in most cases it should be roboRIO-0000.local but your team number instead of 0000. This helped us.
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2015, 20:11
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: Cannot Connect to Target while deploying.

Can you view the http://roboRIO-3350.local web dashboard?

Do things work as they should if you connect to the roboRIO via USB?
Reply With Quote
  #4   Spotlight this post!  
Unread 21-02-2016, 17:40
priderobotics priderobotics is offline
Registered User
FRC #5141 (PRIDE Robotics)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: North Kansas City
Posts: 8
priderobotics is an unknown quantity at this point
Re: Cannot Connect to Target while deploying.

(Since the OP stopped posting, I'm hijacking this thread.)

I'm having this same issue, whether I connect directly via ethernet, USB, or via wifi. I can pull up the web dashboard with Internet Explorer (with Silverlight), and it confirms that we are using current firmware (3.0.0f0) and image (2016v19). DS gives me a green light for communication, but LabView can't deploy any code, because it reports "Failed to connect to target".

Any help would be appreciated. If we don't figure this out, we have to use last year's RIO, and we will have no working sister bot to work with after bag and tag. Thanks.
Reply With Quote
  #5   Spotlight this post!  
Unread 21-02-2016, 19:08
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: Cannot Connect to Target while deploying.

Double check your target name is roboRIO-5141-FRC.local
Attached Thumbnails
Click image for larger version

Name:	LV target.jpg
Views:	20
Size:	21.3 KB
ID:	20140  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 22-02-2016, 11:02
priderobotics priderobotics is offline
Registered User
FRC #5141 (PRIDE Robotics)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: North Kansas City
Posts: 8
priderobotics is an unknown quantity at this point
Re: Cannot Connect to Target while deploying.

Thanks for the reply! I will check that this afternoon.

I'm doubtful that it's pointing to the wrong target, because we're able to deploy onto the old RIO just fine, and it has the same firmware and image. I don't see why the target would be different on the new RIO....

I'll check it though. Thanks again.
Reply With Quote
  #7   Spotlight this post!  
Unread 22-02-2016, 11:29
JeffB JeffB is offline
Registered User
FRC #5052 (RoboLobos)
Team Role: Mentor
 
Join Date: Apr 2015
Rookie Year: 2014
Location: Austin
Posts: 58
JeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to beholdJeffB is a splendid one to behold
Re: Cannot Connect to Target while deploying.

Following the other advice, can you use IE to see the roboRIO browsing to roborio-TEAM-FRC.local ? If so, navigate to the network adapter page and see what IP is on the roboRIO you're having issues with.

Are you connected by USB or Ethernet/WiFi?
Reply With Quote
  #8   Spotlight this post!  
Unread 23-02-2016, 07:31
priderobotics priderobotics is offline
Registered User
FRC #5141 (PRIDE Robotics)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: North Kansas City
Posts: 8
priderobotics is an unknown quantity at this point
Re: Cannot Connect to Target while deploying.

Thanks, Mark. Thanks, Jeff. That worked! We had the target set for the wrong IP. It's working now!

Today we'll try changing the IP on the old roboRIO to roborio-5141-FRC.local so that we know it's following protocol for the competition. (I'm not sure if there's a rule about this or not.)
Reply With Quote
  #9   Spotlight this post!  
Unread 20-01-2017, 20: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: Cannot Connect to Target while deploying.

We're having trouble deploying code to the roboRIO--we've tried reimaging, we've made sure the firmware is current, and it still gives the "connection failed" error every time we try to Run As Startup.

We've tried using four different cables, two different computers, two different robot programs, and two different roboRIOs.

I've double- and triple-checked to makes sure that our target is roboRIO-876-FRC.local. Are there any other potential solutions? Has the correct formatting for target names changed with Labview 2017, maybe?
Reply With Quote
  #10   Spotlight this post!  
Unread 24-01-2017, 08:51
Jonathan L. Jonathan L. is offline
Programmer alumnus, mentor, and CSA
FRC #1094 (Channel Cats)
 
Join Date: Jan 2013
Rookie Year: 2011
Location: St. Louis MO
Posts: 78
Jonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the rough
Re: Cannot Connect to Target while deploying.

Assuming you are using ethernet or wifi the address of the roboRIO is still roboRIO-TEAM-FRC.local

Have you tried going to http://roboRIO-876-FRC.local using internet explorer (chrome may not work as this site requires Microsoft Silverlight)?

Can the Driver Station connect from your programming computer? To do this all other Driver Stations connected to the robot network should be off.



If the Driver Station program connects to the roboRIO and you can see the Web Dashboard of the roboRIO using internet explorer, the below items will probably not help.

Have you tried disabling all your network connections except for the one you are using? By this I mean right clicking the network connections you are not using in control panel and selecting Disable.

Your computer should use an automatic IP address since 2015.

If you are connecting though the radio, the radio should be updated with this year's firmware and configured.

Try pressing the Reset button on the roboRIO to reboot it once everything else is on.
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:14.

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