Go to Post No. This is CD, take the threads and their topics seriously. - pwnageNick [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 02-02-2010, 20:02
Lividtex Lividtex is offline
Registered User
FRC #2909 (Zebra Bots)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Indiana
Posts: 1
Lividtex is an unknown quantity at this point
Failure connecting to Real-Time Target

We are continually getting this error when trying to deploy the code to the robot. First we build the code, then we run as startup. When running as startup, it seems that the computer cannot connect to the robot? I'm not sure what the issue is. The computer is connected to the cRIO via ethernet port 1. The ip is set to 10.xx.xx.6 because we are not using the classmate to code but rather a seperate computer. Any help would be beneficial.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-02-2010, 22:09
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,112
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: Failure connecting to Real-Time Target

My experience is that the Driver Station application must run on a computer having IP address 10.x.y.5 in order for the cRIO to establish communication with it.
Reply With Quote
  #3   Spotlight this post!  
Unread 02-02-2010, 22:38
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,563
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Failure connecting to Real-Time Target

Quote:
Originally Posted by Alan Anderson View Post
My experience is that the Driver Station application must run on a computer having IP address 10.x.y.5 in order for the cRIO to establish communication with it.
I have not had that experience. I was running it the other day from 10.x.y.30. You do have to power cycle the cRIO before it will connect to a driver station on a different IP address.
Reply With Quote
  #4   Spotlight this post!  
Unread 03-02-2010, 00:25
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
Re: Failure connecting to Real-Time Target

In my recent experience, when we DEPLOY, it seems to come up OK ... after a small wait.

... but when we BUILD and RUN AS STARTUP, I've found that after a successful download, a 'bot power-cycle is required for it to reliably get that green-light for "valid code" to light-up on the DS.

... and watch your build error messages ... I've Built/Deployed twice in a row without changing anything; the first time, errors, 2nd time no errors at all. That's when I power-cycle the 'bot and wait for that virtual green LED to light-up.

Worked like a charm a half-dozen times tonight.

[edit] ... if you're not even getting the connection light after a power cycle, then you might be experiencing the race-condition bootup of the cRIO and the BridgeAdapter. Fixed with an "arp" command and/or a paper-clip RESET to the cRIO after everything is all powered up. There's an NI forum thread as well as a couple here at CD.
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics

Last edited by Ziaholic : 03-02-2010 at 00:30. Reason: oh yea ...
Reply With Quote
  #5   Spotlight this post!  
Unread 03-02-2010, 12:03
M-Ross M-Ross is offline
Registered User
FRC #2909
 
Join Date: Feb 2010
Location: Rochester, IN
Posts: 7
M-Ross is an unknown quantity at this point
Re: Failure connecting to Real-Time Target

This may sound stupid, as this is my first year programming and I have roughly no idea of what I'm doing, but... How exactly does one power-cycle the robot?
Reply With Quote
  #6   Spotlight this post!  
Unread 03-02-2010, 12:11
vhcook's Avatar
vhcook vhcook is online now
Reader of Things
AKA: Victoria
FRC #1939 (Kuh-nig-its)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Kansas City, MO
Posts: 546
vhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond repute
Re: Failure connecting to Real-Time Target

We were all new once, and we remember what it was like.

If you are wired up per the electrical system rules, you can power cycle the cRIO (and the rest of the robot) by pushing the red button to open the 120A breaker, waiting a couple of seconds, and then closing the breaker again.
__________________


Reply With Quote
  #7   Spotlight this post!  
Unread 03-02-2010, 12:14
M-Ross M-Ross is offline
Registered User
FRC #2909
 
Join Date: Feb 2010
Location: Rochester, IN
Posts: 7
M-Ross is an unknown quantity at this point
Re: Failure connecting to Real-Time Target

I'll be sure to give that a try. Thanks for understanding!
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Crio: failed to conect to real time target DJ KELLEY Programming 2 27-01-2010 21:43
Real-time scoring suggestions kapolavery General Forum 1 10-05-2009 23:32
Cannot connect to the Real-time target Mr. E FRC Control System 13 02-02-2009 20:47
Real Time Scoring archiver 2000 2 24-06-2002 00:09
real time chat SharkBite CD Forum Support 4 07-02-2002 21:22


All times are GMT -5. The time now is 11:52.

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