Go to Post What we may be looking at is a confusing situation and that can be confusing. - JaneYoung [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 09-02-2016, 13:31
RadhikaTheFish's Avatar
RadhikaTheFish RadhikaTheFish is offline
Registered User
FRC #3815
 
Join Date: Jan 2016
Location: Georgia
Posts: 26
RadhikaTheFish is an unknown quantity at this point
Connection Failed Deploying Labview

We have tried deploying our program and after we built it and start to deploy it this message comes up:"Connection failed. The network address might be invalid or the target is not responding. " Anybody know?
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2016, 13:42
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 271
Bpk9p4 is on a distinguished road
Re: Connection Failed Deploying Labview

were you doing this over USB or wifi?
__________________
2015 Midwest Regional Finalist
2015 Central Illinois Regional Winner
2015 Newton Division Finalist
2015 Newton Quality Award
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2016, 13:44
RadhikaTheFish's Avatar
RadhikaTheFish RadhikaTheFish is offline
Registered User
FRC #3815
 
Join Date: Jan 2016
Location: Georgia
Posts: 26
RadhikaTheFish is an unknown quantity at this point
Re: Connection Failed Deploying Labview

Through Ethernet,
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2016, 14:19
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 271
Bpk9p4 is on a distinguished road
Re: Connection Failed Deploying Labview

Have you updated your router software?

i would first try to deploy code while connected with USB. If that works i would then try it though Ethernet and watch on the driver station to see if you are loosing packets.
__________________
2015 Midwest Regional Finalist
2015 Central Illinois Regional Winner
2015 Newton Division Finalist
2015 Newton Quality Award
Reply With Quote
  #5   Spotlight this post!  
Unread 09-02-2016, 14:54
hardcopi hardcopi is offline
Registered User
AKA: Rich Lester
FRC #2959 (The Robotarians)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Coloma, MI
Posts: 271
hardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud of
Re: Connection Failed Deploying Labview

We have not had a lot of luck with the Roborio and ethernet as far as programming it. Wifi and USB deploy just fine though.
Reply With Quote
  #6   Spotlight this post!  
Unread 09-02-2016, 16:52
JeffB JeffB is offline
Registered User
FRC #5052 (RoboLobos)
Team Role: Mentor
 
Join Date: Apr 2015
Rookie Year: 2014
Location: Austin
Posts: 48
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: Connection Failed Deploying Labview

If you're successful with WiFi and USB, I'd expect the problem with the connection is related to the network settings on the PC for the LAN adapter.

It's likely you're pulling an IP address that matches the router when you connect by WiFi. USB always pulls 172.22.11.2 and creates a virtual network interface. Ethernet requires your PC to be setup to talk to the roboRIO. For this, modify the settings in Windows to make the computer's IP 10.TE.AM.# and subnet 255.255.0.0 and you should be able to communicate directly by Ethernet to the roboRIO.
Reply With Quote
  #7   Spotlight this post!  
Unread 10-02-2016, 07:11
sraque's Avatar
sraque sraque is offline
Registered User
AKA: Steve Raque
FRC #2614 (MARS)
Team Role: Mentor
 
Join Date: Jun 2012
Rookie Year: 2009
Location: Morgantown, WV
Posts: 79
sraque is on a distinguished road
Re: Connection Failed Deploying Labview

Quote:
Originally Posted by RadhikaTheFish View Post
Through Ethernet,
If ethernet, it must be to the radio, not to the Roborio directly.
Reply With Quote
  #8   Spotlight this post!  
Unread 10-02-2016, 07:44
phurley67 phurley67 is offline
Programming Mentor
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 63
phurley67 is an unknown quantity at this point
In our experience the network ports on laptops are a common failure point after a season or two of frc use. Additionally we do communication errors from labview that are often resolved by just trying again.
Reply With Quote
  #9   Spotlight this post!  
Unread 10-02-2016, 11:08
RadhikaTheFish's Avatar
RadhikaTheFish RadhikaTheFish is offline
Registered User
FRC #3815
 
Join Date: Jan 2016
Location: Georgia
Posts: 26
RadhikaTheFish is an unknown quantity at this point
Re: Connection Failed Deploying Labview

Okay thanks guys, I'll try it out and tell you how it goes.
Reply With Quote
  #10   Spotlight this post!  
Unread 10-02-2016, 11:54
BSV BSV is offline
FTC / FRC mentor
AKA: Travis
FRC #2723
 
Join Date: May 2013
Rookie Year: 2011
Location: Oklahoma City
Posts: 138
BSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud ofBSV has much to be proud of
Re: Connection Failed Deploying Labview

We tried deploying via USB and get the same error.

Unfortunately we have only novice programmers and none of the mentors who are able to show up the next two weeks know anything about Labview.

Anything we should be trying?
Reply With Quote
  #11   Spotlight this post!  
Unread 10-02-2016, 14:14
G_rupp's Avatar
G_rupp G_rupp is offline
Registered User
FRC #1108
 
Join Date: Jan 2011
Location: Paola, KS
Posts: 42
G_rupp is an unknown quantity at this point
Re: Connection Failed Deploying Labview

Can you turn off the WIFI adapter? A lot of times, the computer will attempt to use the wifi connection instead of the wired or USB connection.
Reply With Quote
  #12   Spotlight this post!  
Unread 10-02-2016, 16:41
RadhikaTheFish's Avatar
RadhikaTheFish RadhikaTheFish is offline
Registered User
FRC #3815
 
Join Date: Jan 2016
Location: Georgia
Posts: 26
RadhikaTheFish is an unknown quantity at this point
Re: Connection Failed Deploying Labview

I've been having the same problems with USB much like @BSV
Reply With Quote
  #13   Spotlight this post!  
Unread 10-02-2016, 17:08
RadhikaTheFish's Avatar
RadhikaTheFish RadhikaTheFish is offline
Registered User
FRC #3815
 
Join Date: Jan 2016
Location: Georgia
Posts: 26
RadhikaTheFish is an unknown quantity at this point
Re: Connection Failed Deploying Labview

Does the radio need to be hooked up to deploy?
Reply With Quote
  #14   Spotlight this post!  
Unread 11-02-2016, 07:59
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,713
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: Connection Failed Deploying Labview

You don't need the radio if you use USB for Run as startup . It's not in the path and doesn't give out the IP addresses used by the roboRIO or PC over USB.

If you are using Ethernet, then through the radio is easiest. The radio is assigning compatible IP addresses to both the roboRIO and PC.
The radio is necessary for downloading code over wireless, of course.

You can use Ethernet without the radio there to serve IP addresses, either connecting through a bridge or directly between the roboRIO and PC. In fact that's essentially how it will work in the pits at competition. At competition the robot's OpenMesh radio will be setup as a bridge and won't be serving DHCP addresses, which is the playing field AP's job. So, in the pits the PC and roboRIO will both resort to compatible default IP addresses in the 169. range.
The trick is that the roboRIO will take it's default address as soon as it boots and doesn't find a DHCP server. The PC needs to timeout it's IP assignment if it's been connected to a DHCP server in the recent past. Some PC's are quick to reassign when the DHCP server disappears, while others are slower.
Just be aware that it's going to be smoother if you avoid unnecessarily switching back and forth between connecting to the radio and connecting directly to the roboRIO via Ethernet.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 11-02-2016 at 22:47.
Reply With Quote
  #15   Spotlight this post!  
Unread 11-02-2016, 16:58
RadhikaTheFish's Avatar
RadhikaTheFish RadhikaTheFish is offline
Registered User
FRC #3815
 
Join Date: Jan 2016
Location: Georgia
Posts: 26
RadhikaTheFish is an unknown quantity at this point
Radio Issues

USB Didn't work so we are attempting to configure the radio, we've changed the IP Address in the control panel network ethernet check on Version 4. I changed it to 10.38.15.1 and when we try configuring it says our IP Address has not been changed, and when we check back on the ethernet control panel, it changed our IP Address to 192.168.1.51

Last edited by RadhikaTheFish : 11-02-2016 at 16:59. Reason: Dis scrub behind me made me do it :(
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:09.

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