Go to Post Wait, I thought 2009 started on January 3rd... - ComradeNikolai [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-11-2011, 19:09
Ivan913's Avatar
Ivan913 Ivan913 is offline
Registered User
FRC #3560
 
Join Date: May 2011
Location: Brampton ON, Canada
Posts: 4
Ivan913 is an unknown quantity at this point
Can't deploy from netbeans or eclipse

My team is switching to java this year and after a long period of doing nothing, we're trying to get it working with our last year's robot. After re-imaging the cRIO and installing the plugins to both netbean and eclipse (We have both because we don't know which one we'll like more so we're trying them both out), the code (on both IDEs) refuses to deploy. Eclipse just straight up crashes while netbeans gives a long error message (I can't remember it right now). What I can't tell is whether its a connection issue or a software issue. I have the latest version of netbeans using the version 4.14 of the plugins. The cRIO is using v28. I have the classmate running the driver station with the ip set at 10.35.60.5, while the laptop I'm using to program and deploy with is using the ip 10.35.60.6. The router has been configured properly and both laptops have no problem connecting to the cRIO.
Any advice?
Reply With Quote
  #2   Spotlight this post!  
Unread 29-11-2011, 09:51
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Re: Can't deploy from netbeans or eclipse

Try eliminating as many network devices / complication as possible between the computer you are trying to deploy from to the cRIO. I would recommend either a crossover from the cRIO to the laptop or a single normal switch between the two, with straight cables to the switch from each. Also, see if you can ftp manually to the cRIO from one of the connected computers with the IP Address 10.xx.yy.2, with xx being the first two digits of your team number and yy being the last two digits, so for my team, its 10.37.80.2, and the username anonymous, no password. If that doesn't work could you post the actual error that netbeans spits out?

Oliver

Last edited by linuxboy : 29-11-2011 at 13:01. Reason: Forgot 37.80 != xx.yy in all cases :P
Reply With Quote
  #3   Spotlight this post!  
Unread 29-11-2011, 11:58
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Can't deploy from netbeans or eclipse

Did you set the team number in netbeans?
Reply With Quote
  #4   Spotlight this post!  
Unread 29-11-2011, 12:03
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Can't deploy from netbeans or eclipse

Quote:
Originally Posted by linuxboy View Post
... connected computers with the IP Address 10.37.80.2 ...
Actually, .2 is the IP for the cRIO, not a computer, and remember to change the IP scheme to reflect your team number (10.xx.yy.zz, where xxyy is your team number). Your computer would need to be: 10.35.60.7 (or something greater than .5), and your cRIO needs to be 10.35.60.2.

For a nice diagram/table of the proper IP addresses, look here (note: it's an old document, from 2009. but the IPs haven't changed). Look at Section 5.2/Page 6.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #5   Spotlight this post!  
Unread 29-11-2011, 13:03
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Re: Can't deploy from netbeans or eclipse

Quote:
Originally Posted by plnyyanks View Post
Actually, .2 is the IP for the cRIO, not a computer, and remember to change the IP scheme to reflect your team number (10.xx.yy.zz, where xxyy is your team number). Your computer would need to be: 10.35.60.7 (or something greater than .5), and your cRIO needs to be 10.35.60.2.

For a nice diagram/table of the proper IP addresses, look here (note: it's an old document, from 2009. but the IPs haven't changed). Look at Section 5.2/Page 6.
Right, by connect with, I meant use that IP to connect to cRIO.

Oliver

Last edited by linuxboy : 29-11-2011 at 13:03. Reason: For some reason I am not typing clearly today
Reply With Quote
Reply


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 13:31.

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