Go to Post Baker, you certainly are a trouble maker. :) - Rich Kressly [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 07-01-2013, 16:57
ctccromer's Avatar
ctccromer ctccromer is offline
Animus
AKA: Tucker Campbell
FRC #3753 (Bulah Bots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Baton Rouge, Louisiana
Posts: 190
ctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to all
How to connect to the cRIO

So this is my first year programming on the team and last year's programmer didn't really teach me what he did, so I'm trying to learn it all right now.

I finally got LabVIEW (with the FRC updates) good to go on my laptop and found all the Example codes. I disconnected everything from the cRIO we used last year and plugged it all into another cRIO (the new one is blank and never used). When I opened the cRIO imaging program though, it didn't find any cRIO attached to the computer.
It has an ethernet connection and I tried turning the robot on (saw the lights on areas on so I know it isn't a power issue). So why won't my computer pick up the cRIO?
__________________
Team 3753 BulahBots
  #2   Spotlight this post!  
Unread 07-01-2013, 16:59
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: How to connect to the cRIO

The first thing I'd do is to turn off the firewall settings. Once it sees the cRIO, be sure to change the computer IP so that you are on the same subnet as the cRIO before you begin imaging.

Greg McKaskle
  #3   Spotlight this post!  
Unread 07-01-2013, 17:12
Tommy F.'s Avatar
Tommy F. Tommy F. is offline
Yeah! Collages!
AKA: 7h0m45
FRC #1985 (Robohawks)
Team Role: Alumni
 
Join Date: Mar 2011
Rookie Year: 2010
Location: St. Louis, MO
Posts: 188
Tommy F. is just really niceTommy F. is just really niceTommy F. is just really niceTommy F. is just really nice
Re: How to connect to the cRIO

Perhaps these links could help solve your problem:

http://wpilib.screenstepslive.com/s/...ging-your-crio

http://wpilib.screenstepslive.com/s/...abview-program
__________________

FTC 289, 290 & 291 :: FRC 1985

2013 St. Louis Regional Semi-Finalist (with 3411 and 4330), Industrial Design Award
2013 Queen City Regional Winner (with 379 and 447)

  #4   Spotlight this post!  
Unread 07-01-2013, 17:14
ctccromer's Avatar
ctccromer ctccromer is offline
Animus
AKA: Tucker Campbell
FRC #3753 (Bulah Bots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Baton Rouge, Louisiana
Posts: 190
ctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to all
Re: How to connect to the cRIO

firewall is already off, but can't change the computer's IP address. My teacher just informed me that you have to make a separate network system that you set the cRIO to and temporarily move your laptop to, rather than staying on the normal wifi network.

So now I'm trying to find how to set up the D-Link router and make our network system for this year (currently looking around on the NI.com/first site)

EDIT:
Quote:
Originally Posted by 7h0m54 View Post
VERY HELPFUL! Thank you following this right now

Following this link (http://wpilib.screenstepslive.com/s/...ging-your-crio) I'm still having the same issue. I have the cRIO attached to my laptop with an ethernet cable and changed the IP address on my computer to 10.37.53.5 and 255.255.255.0 but it still can't detect the cRIO.
__________________
Team 3753 BulahBots

Last edited by ctccromer : 07-01-2013 at 17:21.
  #5   Spotlight this post!  
Unread 07-01-2013, 17:48
ctccromer's Avatar
ctccromer ctccromer is offline
Animus
AKA: Tucker Campbell
FRC #3753 (Bulah Bots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Baton Rouge, Louisiana
Posts: 190
ctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to all
Re: How to connect to the cRIO

Im STILL having the issue on my laptop, however I plugged the ethernet cable into our white laptop and it worked perfectly fine. We're not using it for competition because the screen is broken (connected to a separate monitor atm). I checked the ethernet properties and the IP address is:
10 . 37 . 53 . 5
and the Subnet mask is:
255 . 0 . 0 . 0

I set these exact settings on the same part of the wired internet settings on MY laptop (the one we're using for competition) and it doesn't connect.
I then tried changing the IP address on my laptop to
10 . 37 . 53 . 6
since the how-to says to change the last digit to 6. It gave me a pop-up asking if i wanted to allow or deny sharing with the newly found network! ...and then still doesn't find the cRIO.

What am I doing wrong???
__________________
Team 3753 BulahBots
  #6   Spotlight this post!  
Unread 07-01-2013, 20:10
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: How to connect to the cRIO

If you haven't done it already, turn off or disable the wifi and any other NICs except the one that the cRIO is on.

Greg McKaskle
  #7   Spotlight this post!  
Unread 07-01-2013, 20:18
ctccromer's Avatar
ctccromer ctccromer is offline
Animus
AKA: Tucker Campbell
FRC #3753 (Bulah Bots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Baton Rouge, Louisiana
Posts: 190
ctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to all
Re: How to connect to the cRIO

Quote:
Originally Posted by Greg McKaskle View Post
If you haven't done it already, turn off or disable the wifi and any other NICs except the one that the cRIO is on.

Greg McKaskle
I tried that but still couldn't connect. However on the white laptop I could connect wired-ly to the cRIO even with the wifi still connected to the school network
__________________
Team 3753 BulahBots
  #8   Spotlight this post!  
Unread 07-01-2013, 20:43
jp1247's Avatar
jp1247 jp1247 is offline
No the cRio does not like aluminum!
FRC #1247 (ROK BOT)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: New Hampshire
Posts: 60
jp1247 is an unknown quantity at this point
Re: How to connect to the cRIO

Are you using a patch Ethernet or a crossover Ethernet? I had problems re-imaging the cRIO to come to the conclusion I had patch and needed crossover, worked fine after i swapped cables.
__________________
"No, you can't use the Kinect to do pelvic thrusts."
  #9   Spotlight this post!  
Unread 07-01-2013, 21:16
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: How to connect to the cRIO

Most modern computers have auto sense, so there shouldn't be a need to use a cross-over cable. On the other hand, if it has auto sense, both the cross-over and patch cable will work.

I was searching the NI forums, and there is a thread that indicates they saw this on certain computers and they are trying to identify common elements and a more reliable procedure.

The thread is here ... https://decibel.ni.com/content/message/30557#30557

If that doesn't seem to be the same as you are seeing, it may be good to start a report there.


Greg McKaskle
  #10   Spotlight this post!  
Unread 07-01-2013, 22:40
Kevin Fort Kevin Fort is offline
Registered User
no team (Team NI)
 
Join Date: Dec 2012
Rookie Year: 2002
Location: Cleveland OH
Posts: 21
Kevin Fort is an unknown quantity at this point
Re: How to connect to the cRIO

When you have the cRIO plugged into the computer that is working correctly can you tell what the IP address of the cRIO is? The imaging tool is probably the easiest way to tell what it is. When it is plugged in to the computer that doesn't work are you able to ping the cRIO at the IP address you found it at on the computer that works?

I definitely try with a cross over cable (as was mentioned above).

The NI thread Greg mentioned was an issue we had early last season and was fixed in an update mid-season. I wouldn't expect it to be an issue again this year.

If you don't get it up and running by tomorrow give us a call at 866-511-6285 from 1-7pm CST
  #11   Spotlight this post!  
Unread 08-01-2013, 08:35
ctccromer's Avatar
ctccromer ctccromer is offline
Animus
AKA: Tucker Campbell
FRC #3753 (Bulah Bots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Baton Rouge, Louisiana
Posts: 190
ctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to all
Re: How to connect to the cRIO

Tried a crossover converter and it didn't change anything

Quote:
Originally Posted by Kevin Fort View Post
When you have the cRIO plugged into the computer that is working correctly can you tell what the IP address of the cRIO is? The imaging tool is probably the easiest way to tell what it is. When it is plugged in to the computer that doesn't work are you able to ping the cRIO at the IP address you found it at on the computer that works?
Just did this and found out the cRIO's IP Address is "10.37.53.2". When I pinged it on my laptop, I saw the attached results. So I CAN ping it. My laptop DOES see it. Why can't the cRIO imaging program find it then?

A helpful friend from team 23 told me that the last digit of the IP address (the 2 bolded above) doesn't really matter on my laptop as long as it isnt taken by something else, and to use the mask/subnet "255.0.0.0" so that and "10.37.53.5" are what I'm trying to connect with

Quote:
Originally Posted by Kevin Fort View Post
If you don't get it up and running by tomorrow give us a call at 866-511-6285 from 1-7pm CST
If this isn't solved by the end of school today I'll definitely call (and post solutions here), thanks

EDIT: Also, the USER1 light is staying on too. Not entirely sure what that means but there's more details
Attached Thumbnails
Click image for larger version

Name:	ping.jpg
Views:	24
Size:	68.3 KB
ID:	13418  
__________________
Team 3753 BulahBots

Last edited by ctccromer : 08-01-2013 at 08:44.
  #12   Spotlight this post!  
Unread 08-01-2013, 11:31
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
Re: How to connect to the cRIO

If it's any help, you don't need to reimage the cRio often (once is enough), after that deploying your code is all you need to do. (This is true for C++, I'm not sure about labview though)

As long as you have some way to reimage, and you know how to do it again if needed, you should be fine.

For a point of clarification, reimaging the crio is essentially wiping the flash storage completely, and reinstalling the OS. When you are programming, you copy your program onto the crio and it gets executed by the OS from the image you put on, you can replace your program all season without reimaging; the only reason to reimage is if you suspect corruption, or an updated image is released.

Last edited by DjScribbles : 08-01-2013 at 11:32. Reason: grammers
  #13   Spotlight this post!  
Unread 08-01-2013, 12:05
ctccromer's Avatar
ctccromer ctccromer is offline
Animus
AKA: Tucker Campbell
FRC #3753 (Bulah Bots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Baton Rouge, Louisiana
Posts: 190
ctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to all
Re: How to connect to the cRIO

Quote:
Originally Posted by DjScribbles View Post
For a point of clarification, reimaging the crio is essentially wiping the flash storage completely, and reinstalling the OS. When you are programming, you copy your program onto the crio and it gets executed by the OS from the image you put on, you can replace your program all season without reimaging; the only reason to reimage is if you suspect corruption, or an updated image is released.
Did not know this! That's much better actually So then I just need to reimage it this one time and I should be fine

Now to look up how to change the code without reimaging the cRIO
__________________
Team 3753 BulahBots
  #14   Spotlight this post!  
Unread 08-01-2013, 12:17
cgodzyk's Avatar
cgodzyk cgodzyk is offline
Registered User
FRC #0078
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Rhode Island
Posts: 9
cgodzyk is a splendid one to beholdcgodzyk is a splendid one to beholdcgodzyk is a splendid one to beholdcgodzyk is a splendid one to beholdcgodzyk is a splendid one to beholdcgodzyk is a splendid one to behold
Re: How to connect to the cRIO

Quote:
Originally Posted by ctccromer View Post
Did not know this! That's much better actually So then I just need to reimage it this one time and I should be fine

Now to look up how to change the code without reimaging the cRIO
All you need to change the code is to hit the run/deploy button on labview
  #15   Spotlight this post!  
Unread 08-01-2013, 13:03
ctccromer's Avatar
ctccromer ctccromer is offline
Animus
AKA: Tucker Campbell
FRC #3753 (Bulah Bots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Baton Rouge, Louisiana
Posts: 190
ctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to all
Re: How to connect to the cRIO

Quote:
Originally Posted by cgodzyk View Post
All you need to change the code is to hit the run/deploy button on labview
Awesome, that's much better of a situation

So now I just need to figure out why my laptop can PING the cRIO but not find it when I try to image it. I'll test if LabVIEW can see it after school

as for the cRIO:
Quote:
Originally Posted by ctccromer View Post
Just did this and found out the cRIO's IP Address is "10.37.53.2". When I pinged it on my laptop, I saw these results. So I CAN ping it. My laptop DOES see it. Why can't the cRIO imaging program find it then?

A helpful friend from team 23 told me that the last digit of the IP address (the 2 bolded above) doesn't really matter on my laptop as long as it isnt taken by something else, and to use the mask/subnet "255.0.0.0" so that and "10.37.53.5" are what I'm trying to connect with
__________________
Team 3753 BulahBots

Last edited by ctccromer : 08-01-2013 at 13:25.
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:25.

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