Go to Post While in the Navy, we had an apparent leak in one of our systems and it took me 7 months to track it down. Just because you haven't found it, doesn't mean it doesn't exist. - TubaMorg [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 26-01-2013, 15:21
sarah_storer's Avatar
sarah_storer sarah_storer is offline
Georgia Tech RoboJackets Outreach
AKA: Sarah Storer
FRC #5332 (Toaster Tech)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Atlanta, GA
Posts: 147
sarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to behold
Connecting to cRIO...

our cRIO is plugged in via ethernet cable and we can ping it and get a response.
When we ran the driver station, the light by communication is green.

However, when we try to deploy code to the cRIO it says
"Failed to connect to Real-Time target"

Anything that helps is welcomed

Thanks in advance!
__________________

TEAM 3753 BULAH BOTS ALUMNI
2012-2015: Code, pneumatics, and electrical for BULAH BOTS Team 3753
2013: Bayou Regional 1st seed alliance captain and regional winners (With 118 and 4589)
2014, 2015: Bayou Regional semi-finalist
2016-?: Mentor for TOASTER TECH Team 5332
2016: Columbus District 3rd seed alliance captain, semi-finalist; Kennesaw District 3rd seed alliance 1st pick, semi-finalist; Peachtree District State Championship 4th seed alliance captain, quarter-finalist, Industrial Design Award, World Championship qualification
  #2   Spotlight this post!  
Unread 26-01-2013, 16:53
sarah_storer's Avatar
sarah_storer sarah_storer is offline
Georgia Tech RoboJackets Outreach
AKA: Sarah Storer
FRC #5332 (Toaster Tech)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Atlanta, GA
Posts: 147
sarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to behold
Re: Connecting to cRIO...

I tried again multiple times and fixed some wiring issues downstream but I still got the same error:/
__________________

TEAM 3753 BULAH BOTS ALUMNI
2012-2015: Code, pneumatics, and electrical for BULAH BOTS Team 3753
2013: Bayou Regional 1st seed alliance captain and regional winners (With 118 and 4589)
2014, 2015: Bayou Regional semi-finalist
2016-?: Mentor for TOASTER TECH Team 5332
2016: Columbus District 3rd seed alliance captain, semi-finalist; Kennesaw District 3rd seed alliance 1st pick, semi-finalist; Peachtree District State Championship 4th seed alliance captain, quarter-finalist, Industrial Design Award, World Championship qualification
  #3   Spotlight this post!  
Unread 26-01-2013, 18:15
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,756
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: Connecting to cRIO...

You don't mention what tool/language, but if using LabVIEW, make sure that the project tree item called RT compactRIO Target has the right IP address. It defaults to 10.xx.yy.02 and if you don't change it in the wizard, you will not connect. To change it, right click on the line and choose Properties and change the IP.

Greg McKaskle
  #4   Spotlight this post!  
Unread 26-01-2013, 21:13
Tem1514 Mentor's Avatar
Tem1514 Mentor Tem1514 Mentor is offline
Registered User
FRC #1514
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Toronto
Posts: 239
Tem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to behold
Re: Connecting to cRIO...

You also will need to set your TCP/iv4 on your computer to match your team number.
  #5   Spotlight this post!  
Unread 27-01-2013, 00:37
randalcr's Avatar
randalcr randalcr is offline
Programming Mentor
AKA: Chance Randall
FRC #0476 (Wildcats)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ponca City
Posts: 82
randalcr is an unknown quantity at this point
Re: Connecting to cRIO...

Our team has been having issues that sound similar to this, we make a change in code and then try to deploy the update but it seems to never be able to find the crio.

We managed to find a work-around by closing the driverstation and dashboard when making changes. it seems to work about 90% of the time.

someone correct me if i'm wrong but i think it's probably some issue in the way the driverstation and dashboard get data to and from the bot.
__________________
-Time is the best teacher...unfortunately it kills all of its students. --Robin Williams
  #6   Spotlight this post!  
Unread 27-01-2013, 11:39
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: Connecting to cRIO...

Quote:
Originally Posted by randalcr View Post
We managed to find a work-around by closing the driverstation and dashboard when making changes. it seems to work about 90% of the time.

someone correct me if i'm wrong but i think it's probably some issue in the way the driverstation and dashboard get data to and from the bot.
You're correct enough. It's only the Dashboard communication that's causing the trouble, and it'll be fixed with an update soon. For now, your workaround is the officially sanctioned way to deal with it. The Driver Station program doesn't need to be shut down; you only have to close the Dashboard (and any other programs using the SmartDashboard data). If you do that before you try to send code to the robot, it should work every time.
  #7   Spotlight this post!  
Unread 27-01-2013, 14:41
sarah_storer's Avatar
sarah_storer sarah_storer is offline
Georgia Tech RoboJackets Outreach
AKA: Sarah Storer
FRC #5332 (Toaster Tech)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Atlanta, GA
Posts: 147
sarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to behold
Re: Connecting to cRIO...

Quote:
Originally Posted by Greg McKaskle View Post
You don't mention what tool/language, but if using LabVIEW, make sure that the project tree item called RT compactRIO Target has the right IP address. It defaults to 10.xx.yy.02 and if you don't change it in the wizard, you will not connect. To change it, right click on the line and choose Properties and change the IP.

Greg McKaskle

Thank you so much!! That just might be our problem! I was trying to lauch some example code from LabVIEW and the example code didn't have our cRIO IP address

I'll fix it in the morning when we get back to school

Thanks Again!
__________________

TEAM 3753 BULAH BOTS ALUMNI
2012-2015: Code, pneumatics, and electrical for BULAH BOTS Team 3753
2013: Bayou Regional 1st seed alliance captain and regional winners (With 118 and 4589)
2014, 2015: Bayou Regional semi-finalist
2016-?: Mentor for TOASTER TECH Team 5332
2016: Columbus District 3rd seed alliance captain, semi-finalist; Kennesaw District 3rd seed alliance 1st pick, semi-finalist; Peachtree District State Championship 4th seed alliance captain, quarter-finalist, Industrial Design Award, World Championship qualification
  #8   Spotlight this post!  
Unread 28-01-2013, 18:13
sarah_storer's Avatar
sarah_storer sarah_storer is offline
Georgia Tech RoboJackets Outreach
AKA: Sarah Storer
FRC #5332 (Toaster Tech)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Atlanta, GA
Posts: 147
sarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to beholdsarah_storer is a splendid one to behold
Re: Connecting to cRIO...

Quote:
Originally Posted by Greg McKaskle View Post
You don't mention what tool/language, but if using LabVIEW, make sure that the project tree item called RT compactRIO Target has the right IP address. It defaults to 10.xx.yy.02 and if you don't change it in the wizard, you will not connect. To change it, right click on the line and choose Properties and change the IP.

Greg McKaskle

What line are you saying to click on?
__________________

TEAM 3753 BULAH BOTS ALUMNI
2012-2015: Code, pneumatics, and electrical for BULAH BOTS Team 3753
2013: Bayou Regional 1st seed alliance captain and regional winners (With 118 and 4589)
2014, 2015: Bayou Regional semi-finalist
2016-?: Mentor for TOASTER TECH Team 5332
2016: Columbus District 3rd seed alliance captain, semi-finalist; Kennesaw District 3rd seed alliance 1st pick, semi-finalist; Peachtree District State Championship 4th seed alliance captain, quarter-finalist, Industrial Design Award, World Championship qualification
  #9   Spotlight this post!  
Unread 28-01-2013, 21:31
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: Connecting to cRIO...

Quote:
Originally Posted by thetimemachine View Post
What line are you saying to click on?
Quote:
Originally Posted by Greg McKaskle View Post
...the project tree item called RT compactRIO Target...
It's the one with the IP address in parentheses after it.
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 02:23.

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