Go to Post Upon entering FIRST you immediately apply Murphy's Laws. - A_Reed [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 23-01-2010, 15:04
joshholat joshholat is offline
Registered User
FRC #0930
 
Join Date: Jan 2010
Location: Mukwonago
Posts: 24
joshholat is an unknown quantity at this point
"Waiting for Prompt" in Netbeans from cRIO

It appears as if every time we try to deploy code to our cRIO through this years Classmate or any other computer we have, it will end up displaying:

"Waiting for Prompt"

over and over again in the deploying lines that appear on the bottom and show the steps of the compile. The only way we've found to fix this is reimage the cRIO with v19 in safe mode from our classmate pc which is a pain because it takes like 10 minutes.

Is there some setting we have wrong or something that could be causing this to happen?
Reply With Quote
  #2   Spotlight this post!  
Unread 23-01-2010, 21:15
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: "Waiting for Prompt" in Netbeans from cRIO

Does this happen with a cable or just with wireless? If it is just wireless, there could be a marginal wifi connection due to mounting or other factors.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2010, 11:15
joshholat joshholat is offline
Registered User
FRC #0930
 
Join Date: Jan 2010
Location: Mukwonago
Posts: 24
joshholat is an unknown quantity at this point
Re: "Waiting for Prompt" in Netbeans from cRIO

Both. We thought wired may fix it to, so we tried it that way and got the same error.
Reply With Quote
  #4   Spotlight this post!  
Unread 24-01-2010, 11:44
Michael DiRamio Michael DiRamio is offline
Registered User
FRC #1114 (Simbotics)
Team Role: Teacher
 
Join Date: Jan 2006
Rookie Year: 2006
Location: St. Catharines, Ontario, Canada
Posts: 39
Michael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond repute
Re: "Waiting for Prompt" in Netbeans from cRIO

Do you have any System.out.println's?

It's unable to get a prompt while output is going to the console. I removed all output from my disabled loop so I just had to disable the robot to load code (which is probably a good idea anyways...)

Another thing that seems to work is to close down the Driver Station program, then it's able to get the prompt.
Reply With Quote
  #5   Spotlight this post!  
Unread 25-01-2010, 10:30
joshholat joshholat is offline
Registered User
FRC #0930
 
Join Date: Jan 2010
Location: Mukwonago
Posts: 24
joshholat is an unknown quantity at this point
Re: "Waiting for Prompt" in Netbeans from cRIO

Yes, we use System.out.println's to see feedback from out robot in order to debug, etc. You're saying that these could be causing our issues and that we shouldn't be using them? Or are you saying that we must make sure the robot is disabled if we have these?

Also, when you say close the driver station, do you mean log out of the Driver account on the Classmate PC, or do you mean close it in the developer account when you are deploying and then reopen it once the robot has the code deployed successfully?

thanks for your help!
Reply With Quote
  #6   Spotlight this post!  
Unread 26-01-2010, 09:15
rhoads2234's Avatar
rhoads2234 rhoads2234 is offline
Registered User
AKA: Erin
FRC #2234
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: PA
Posts: 80
rhoads2234 will become famous soon enough
Re: "Waiting for Prompt" in Netbeans from cRIO

We have the same problem. Using the driverstation to reboot the cRIO often temporarily fixes it, but we have not yet found a fix either.
__________________
ALWAYS a mechanical problem!
Reply With Quote
  #7   Spotlight this post!  
Unread 26-01-2010, 10:33
Michael DiRamio Michael DiRamio is offline
Registered User
FRC #1114 (Simbotics)
Team Role: Teacher
 
Join Date: Jan 2006
Rookie Year: 2006
Location: St. Catharines, Ontario, Canada
Posts: 39
Michael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond reputeMichael DiRamio has a reputation beyond repute
Re: "Waiting for Prompt" in Netbeans from cRIO

Netbeans is unable to get a prompt to reboot the cRIO when there is output going to the console.

One solution would be to remove all println's from the program.

The other is to close the Driver Station (either by logging out of the Driver account on the Classmate or closing the program if you are running the Driver Station from another computer). This stops the output and allows Netbeans to grab a prompt to reboot.
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
Best way for "servo" from motor & potentiometer? NinJA999 Java 4 18-01-2010 16:14
cRio losing connection when "run as startup" mgurgol Programming 2 12-01-2009 12:18
"Battery: No Code" after uploading .out file to cRIO knine143 FRC Control System 1 20-12-2008 22:14
Waiting for Leo's official word on "Call For Help" JoeXIII'007 Chit-Chat 1 19-08-2005 23:10
"waiting for bump switch to be hit"???? Punjabguy87 Programming 10 19-02-2005 12:18


All times are GMT -5. The time now is 22:05.

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