Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Can't communicate with cRIO (http://www.chiefdelphi.com/forums/showthread.php?t=89074)

Greg McKaskle 23-01-2011 20:21

Re: Can't communicate with cRIO
 
In most configurations, all of the IP addresses are manually assigned. You could configure a router to assign some programming laptops to be on the same subnet, but starting above the manual ones, but my impression is that most teams statically assign all IPs.

If you can ping the cRIO, but it doesn't respond to the protocols, check the version of the SW on it. It should be v25.

Greg McKaskle

bodoggy 23-01-2011 21:39

Re: Can't communicate with cRIO
 
Greg, I can't get any other read on the cRio-FRC cRio Imaging can't find the device. How do I check fo rthe software version?

bodoggy 23-01-2011 22:27

Re: Can't communicate with cRIO
 
A related issue may be the status light. It is continuously flashes two times and repeats. The instructions in the cRios Operating instructions says on page 15:
2 The chassis has detected an error in its software. This usually occurs
when an attempt to upgrade the software is interrupted. Reinstall
software on the chassis. Refer to the Measurement & Automation
Explorer Help for information about installing software on the chassis.

Has anyone done this that can shed some light on the procedure? Sounds like a major pain.

Greg McKaskle 24-01-2011 07:55

Re: Can't communicate with cRIO
 
Not major. Using a programming computer, open up the cRIO imaging tool. It should locate the cRIO and list it in the window. update the checkbox about which language and be sure to say that you really want it to be formatted.

Due to the complexity of the imaging steps, the tool sometimes works better on a simple network. If it fails and gives you error messages, simplify the network, read threads about formatting the cRIO, and give it another try.

I suspect that once the controller is updated, you are on your way.

Greg McKaskle

bodoggy 24-01-2011 10:18

Re: Can't communicate with cRIO
 
That's the whole problem, the imaging tool cannot find the cRio. The only other options are to rescan or exit.

Robototes2412 24-01-2011 11:52

Re: Can't communicate with cRIO
 
i really don't trust the d-link now, i'll stick to the gaming adapters for the time being

Alan Anderson 24-01-2011 13:21

Re: Can't communicate with cRIO
 
Quote:

Originally Posted by Robototes2412 (Post 1007168)
i really don't trust the d-link now, i'll stick to the gaming adapters for the time being

Sorry, but that's not a valid option. If you intend to compete at an FRC event, a D-Link DAP-1522 (either the one provided in the 2011 Kit of Parts or an exact replacement) is the only permitted wireless connection to the robot.

Robototes2412 24-01-2011 13:23

Re: Can't communicate with cRIO
 
Quote:

Sorry, but that's not a valid option. If you intend to compete at an FRC event, a D-Link DAP-1522 (either the one provided in the 2011 Kit of Parts or an exact replacement) is the only permitted wireless connection to the robot.
I meant for testing

Greg McKaskle 24-01-2011 20:39

Re: Can't communicate with cRIO
 
When you are ready to update the cRIO, plug the laptop and the cRIO into the dlink. Turn off the wifi of the laptop, turn off the firewall, then launch the formatter and see how that works.

Greg McKaskle

bodoggy 25-01-2011 08:44

Re: Can't communicate with cRIO
 
I understand that I need to use the imaging tool. But at the start of the imaging tool it scans for the cRio and it comes up with the message, "No ConpactRio devices were found. Verify the network connections" Rescan? Exit? are the only choices.
I can ping the cRio with 10.16.35.2 and my laptop is setup to 10.16.35.6. So the network connections check out. Also, the Robot light is green in the DS diagnostics screen. the cRio is flashing it's Status light sequence 2 indicating corrupt software.
So what would my next step be to setting it up properly? This cRio was used in last year's competition.

Chris Nellis 25-01-2011 09:08

Re: Can't communicate with cRIO
 
I had a similar problem with our cRio from last year. I could ping it and the cRio would flash when it was on. However, the connection was spotty. We found that the cRio had a bad power connection to the power distribution board. Once we fixed that, it worked fine. Just double check the wiring.

Alan Anderson 25-01-2011 09:42

Re: Can't communicate with cRIO
 
Quote:

Originally Posted by bodoggy (Post 1007876)
I understand that I need to use the imaging tool. But at the start of the imaging tool it scans for the cRio and it comes up with the message, "No ConpactRio devices were found. Verify the network connections" Rescan? Exit? are the only choices.
I can ping the cRio with 10.16.35.2 and my laptop is setup to 10.16.35.6. So the network connections check out. Also, the Robot light is green in the DS diagnostics screen. the cRio is flashing it's Status light sequence 2 indicating corrupt software.
So what would my next step be to setting it up properly? This cRio was used in last year's competition.

Remove all other network connections on your laptop. That includes any FireWire or VPNs that might be active. If you have more than one network interface enabled, the cRIO scanning process might be looking in the wrong place.

bodoggy 25-01-2011 10:15

Re: Can't communicate with cRIO
 
Quote:

Originally Posted by Alan Anderson (Post 1007903)
Remove all other network connections on your laptop. That includes any FireWire or VPNs that might be active. If you have more than one network interface enabled, the cRIO scanning process might be looking in the wrong place.

Alan, that sounds like a good thing to try. I'll post tonight when I get to the school and see what happens. I am also working on connecting to the serial port. Have you had experience with that?

rsisk 25-01-2011 10:29

Re: Can't communicate with cRIO
 
Quote:

Originally Posted by Greg McKaskle (Post 1007528)
When you are ready to update the cRIO, plug the laptop and the cRIO into the dlink. Turn off the wifi of the laptop, turn off the firewall, then launch the formatter and see how that works.

Greg McKaskle

Isn't it better to connect the Classmate directly to port 1 of the cRIO using the crossover cable provided in the KOP?

Using the D-LINK is certainly an option if the crossover cable is not available.

Alan Anderson 25-01-2011 10:55

Re: Can't communicate with cRIO
 
Quote:

Originally Posted by rsisk (Post 1007947)
Isn't it better to connect the Classmate directly to port 1 of the cRIO using the crossover cable provided in the KOP?

When reimaging a cRIO, a direct connection between cRIO and Classmate is something to be avoided. The process involves disabling and reenabling the cRIO's Ethernet port, and the Classmate takes a long time to recover from what it sees as a physical disconnection. The imaging program doesn't want to wait that long, and times out with an error before everything is done. Some other computers also exhibit this problem; others work okay.

With a switch or hub or router in the middle, the Classmate never sees its Ethernet "signal" go away and things work better.


All times are GMT -5. The time now is 23:44.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi