Go to Post Thanks, that clears things up a lot, and should probably have been obvious. - Branden Ghena [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 15-01-2010, 19:01
ellisk ellisk is offline
Registered User
FRC #1540
 
Join Date: Dec 2008
Location: Vancouver, WA
Posts: 41
ellisk is on a distinguished road
Downloading code: Netbeans does not reset cRIO

When downloading code, Netbeans stops at "Setting up for RUN". When I reset the cRIO, the code then runs. In the past (before the official Java release, using Beta Java) Netbeans reset the cRIO for me. Additionally, I do not get a console to see the System.out.println's of my program, as I did in the past, when Netbeans reset the cRIO and stayed attached to the connection.

Both my computer and the cRIO have been updated (cRIO is at v19 and the computer has had the latest "Labview" update). Does anyone know how to fix this so that downloading and viewing println output work correctly?

Thanks.
Reply With Quote
  #2   Spotlight this post!  
Unread 16-01-2010, 16:06
StevenB StevenB is offline
is having FRC withdrawal symptoms.
AKA: Steven Bell
no team
Team Role: College Student
 
Join Date: May 2005
Rookie Year: 2005
Location: Stanford, CA
Posts: 416
StevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond reputeStevenB has a reputation beyond repute
Re: Downloading code: Netbeans does not reset cRIO

I've got the same problem on my personal laptop, although it works fine on the Classmate.
My laptop is running Ubuntu; I installed NetBeans and then used the plugin installer to get the FRC stuff. I also used the plugin installer to update NetBeans on the Classmate.
__________________
Need a physics refresher? Want to know if that motor is big enough for your arm? A FIRST Encounter with Physics

2005-2007: Student | Team #1519, Mechanical Mayhem | Milford, NH
2008-2011: Mentor | Team #2359, RoboLobos | Edmond, OK
2014-??: Mentor | Looking for a team...

Last edited by StevenB : 16-01-2010 at 16:12.
Reply With Quote
  #3   Spotlight this post!  
Unread 16-01-2010, 22:23
Patrickwhite's Avatar
Patrickwhite Patrickwhite is offline
May the North be with you
FRC #0610 (The Coyotes)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Toronto
Posts: 88
Patrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of light
Re: Downloading code: Netbeans does not reset cRIO

I was having the same problem. What worked here was to go to Network Connections and use the default computer IP (10.6.10.6 in my case, 10.15.40.6 in yours) to connect. After that try running the program again.

Hope this helps!
Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2010, 22:37
ericarseneau ericarseneau is offline
Registered User
no team
 
Join Date: Jan 2010
Location: San Diego
Posts: 30
ericarseneau is an unknown quantity at this point
Re: Downloading code: Netbeans does not reset cRIO

Can you ping the cRIO?

The issue may be that the broadcast UDP packet info may not be making it to your machine. If your on Windows, then try running the NetConsole for LabView. If it does not work, then neither will ours.
Reply With Quote
  #5   Spotlight this post!  
Unread 19-01-2010, 11:37
cal3d cal3d is offline
Registered User
FRC #0467 (Shrewsbury Colonials)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Shrewsbury, MA
Posts: 8
cal3d is an unknown quantity at this point
Re: Downloading code: Netbeans does not reset cRIO

Make sure that your netmask is set correctly. We had this problem also, changing the netmask to the correct 255.0.0.0 fixed it.
Reply With Quote
  #6   Spotlight this post!  
Unread 20-01-2010, 17:13
FRC4ME FRC4ME is offline
Registered User
FRC #0339
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Fredericksburg, VA
Posts: 324
FRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant future
Re: Downloading code: Netbeans does not reset cRIO

Quote:
Originally Posted by cal3d View Post
Make sure that your netmask is set correctly. We had this problem also, changing the netmask to the correct 255.0.0.0 fixed it.
Hmm...that might explain it. My team has found that any computer with a static IP will download, while a computer using DHCP will not. This doesn't make sense, unless you consider that the router suggests a subnet mask of 255.255.255.0 rather than 255.0.0.0.
__________________
Go directly to queue. Do not pass pit.
Reply With Quote
  #7   Spotlight this post!  
Unread 30-01-2010, 15:29
greekgod8591 greekgod8591 is offline
Registered User
FRC #2577
 
Join Date: Feb 2009
Location: New Jersey
Posts: 7
greekgod8591 is an unknown quantity at this point
Re: Downloading code: Netbeans does not reset cRIO

I have the same issue. When I hit the build and run button my output line hangs on "set up for Run" It works when I reboot via the cRIO but I still want debug code. Any other ideas other than resetting the IP and checking the subnet mask?
Reply With Quote
  #8   Spotlight this post!  
Unread 30-01-2010, 16:57
greekgod8591 greekgod8591 is offline
Registered User
FRC #2577
 
Join Date: Feb 2009
Location: New Jersey
Posts: 7
greekgod8591 is an unknown quantity at this point
Re: Downloading code: Netbeans does not reset cRIO

Okay, so after great searching of forums and googling, I have finally found one solution to the setting up for run issue. It turns out the windows firewall seems to have been blocking communication back from the cRIO resulting in the disruption. So, if you have this issue and setting a static IP didn't help, try turning off the windows firewall. It worked for us.
-2577
Reply With Quote
  #9   Spotlight this post!  
Unread 31-01-2010, 19:02
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Downloading code: Netbeans does not reset cRIO

We are also seeing this issue, and we had to run a cable from the laptop to the router. I never had a issue before this build of squawk.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code deploys but does not save to cRIO Bill Taylor NI LabVIEW 11 15-02-2012 20:30
Imaging Tool does not find cRIO aeasson FRC Control System 2 10-01-2010 20:39
0.00 Volts - Code Not Downloading - Randomly Works? R.C. Electrical 7 26-08-2009 13:52
downloading code to cRIO mint564 C/C++ 6 10-02-2009 19:30
Camera does not search in autonomous mode after reset Keith Watson Programming 17 07-03-2006 00:42


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

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