|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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? |
|
#2
|
|||
|
|||
|
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
|
||||
|
||||
|
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 |
|
#4
|
||||
|
||||
|
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:
following this right nowFollowing 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. Last edited by ctccromer : 07-01-2013 at 17:21. |
|
#5
|
||||
|
||||
|
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??? |
|
#6
|
|||
|
|||
|
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
|
||||
|
||||
|
Re: How to connect to the cRIO
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
|
|
#8
|
||||
|
||||
|
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.
|
|
#9
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
||||
|
||||
|
Re: How to connect to the cRIO
Tried a crossover converter and it didn't change anything
Quote:
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:
EDIT: Also, the USER1 light is staying on too. Not entirely sure what that means but there's more details Last edited by ctccromer : 08-01-2013 at 08:44. |
|
#12
|
|||
|
|||
|
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
|
||||
|
||||
|
Re: How to connect to the cRIO
Quote:
So then I just need to reimage it this one time and I should be fineNow to look up how to change the code without reimaging the cRIO |
|
#14
|
||||
|
||||
|
Re: How to connect to the cRIO
All you need to change the code is to hit the run/deploy button on labview
|
|
#15
|
||||
|
||||
|
Re: How to connect to the cRIO
Quote:
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:
Last edited by ctccromer : 08-01-2013 at 13:25. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|