|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Java to CRIO connection problems
We have been trying to upload the code to the CRIO for 3 days now. We keep getting errors. We have already tried reimaging the CRIO but still getting the error.
We are using direct connection between the CRIO and the laptop. The laptop's ip: 10.10.9.6 subnet: 255.0.0.0 Gateway: 10.10.9.4 This is the error we keep getting: Host OS: Windows 7 6.1, 6.1 Host JVM: Java HotSpot(TM) 64-Bit Server VM 22.0-b10 Target IP: 10.10.9.2 Network interfaces on host: Intel(R) 82579LM Gigabit Network Connection: address: 10.10.9.6 netmask: 255.0.0.0 <--- on robot's subnet 1x1 11b/g/n Wireless LAN PCI Express Half Mini Card Adapter: address: 192.168.2.7 netmask: 255.255.255.254 Connecting FTP @10.10.9.2 C:\Users\Karan Thukral\sunspotfrcsdk\build.xml:96: The following error occurred while executing this line: C:\Users\Karan Thukral\sunspotfrcsdk\ant\upgrade.xml:40: java.net.SocketException: Software caused connection abort: recv failed Someone please help. |
|
#2
|
|||
|
|||
|
Re: Java to CRIO connection problems
This seems like an issue with communicating with the cRIO.
Troubleshooting steps I would take: 1. Turn off the firewall, all of them. 2. ping 10.10.9.2 3. ftp 10.10.9.2 4. Reinstall the Netbeans plugins (completely remove and reinstall) or upgrade them. It might be the case that the cRio is updated and the plugins are old. Or maybe the plugins are updated and the cRio is old. Make 100% sure that both of them are updated to the newest version. (You'd be surprised how many people with problems will tell you that everything's updated and they're not.) If all this fails, then I would suggest trying to isolate the cause of the problem by putting the code on another computer and trying to upload from there OR to upload onto another cRio (if you have one). |
|
#3
|
|||
|
|||
|
Re: Java to CRIO connection problems
Try changing your netmask to 255.255.255.0.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|