Go to Post Dave's grammar is broken. - Madison [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 19-01-2010, 10:58
dflaws dflaws is offline
Registered User
FRC #2425 (Hydra)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Tampa, FL
Posts: 6
dflaws is on a distinguished road
Viewing Program Output

How do you view text coming out of Java programs on the Classmate PC driver interface? The "System.out.println();" command doesn't show up on the "User Messages" box in the "Operation" tab. Help is appreciated!
Reply With Quote
  #2   Spotlight this post!  
Unread 19-01-2010, 11:24
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: Viewing Program Output

Use the DriverStationLCD class.
Reply With Quote
  #3   Spotlight this post!  
Unread 19-01-2010, 11:37
James Dempsey James Dempsey is offline
Overtired Programmer
AKA: Rooster Cogburn
FRC #1559 (Devil Tech)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Victor, NY
Posts: 11
James Dempsey is an unknown quantity at this point
Re: Viewing Program Output

If you have a separate development computer from which you are deploying your code, the output should appear in the console. Or you could reroute your data to be displayed by sending packets to the dashboard.

-
James D
Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2010, 16:00
a kenny03 a kenny03 is offline
Robotics for life(stupid classmate)
AKA: PICKELL!!!
FRC #0219 (Team Impact)
Team Role: Leadership
 
Join Date: Oct 2009
Rookie Year: 2008
Location: New Jersey
Posts: 65
a kenny03 is an unknown quantity at this point
Send a message via AIM to a kenny03
Re: Viewing Program Output

where and what is the DriverStationLCD class???
Reply With Quote
  #5   Spotlight this post!  
Unread 01-02-2010, 17:35
Web Wolf Web Wolf is offline
Registered User
FRC #3012
 
Join Date: Jan 2010
Location: Houston
Posts: 1
Web Wolf is an unknown quantity at this point
Re: Viewing Program Output

I am running into a related issue. While trying to set up the camera I want it to display immages on the classmate and print out on a development laptop via serial cable, but System.out.println only sends the message to the NetBeans terminal. Is there a seprate command for sending messages via the serial port?

Last edited by Web Wolf : 01-02-2010 at 17:53.
Reply With Quote
  #6   Spotlight this post!  
Unread 02-02-2010, 18:17
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Viewing Program Output

Quote:
Originally Posted by Web Wolf View Post
I am running into a related issue. While trying to set up the camera I want it to display immages on the classmate and print out on a development laptop via serial cable, but System.out.println only sends the message to the NetBeans terminal. Is there a seprate command for sending messages via the serial port?
If you want to print to the serial port, you need to remove "NetConsole.out" from the ni-rt.ini file on the cRIO's FTP server. You will also need to turn the console out dip switch on. The serial console runs at 9600 baud.
Reply With Quote
  #7   Spotlight this post!  
Unread 02-02-2010, 20:01
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: Viewing Program Output

There is a super easy way to do this, run the NetConsole program. I believe it is on the classmate. I dont have one and dont know.

The NetConsole from LabView will work just fine.
Reply With Quote
  #8   Spotlight this post!  
Unread 03-02-2010, 00:30
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Viewing Program Output

Quote:
Originally Posted by ericarseneau View Post
There is a super easy way to do this, run the NetConsole program. I believe it is on the classmate. I dont have one and dont know.

The NetConsole from LabView will work just fine.
That's true...if you use the NetConsole client application, you can see the console output on both the NetBeans console and the NetConsole client.
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
pic: VIP Viewing Lounge Ken Platteschor Extra Discussion 16 01-05-2009 23:50
Controller Viewing help? GrammarNazi Rules/Strategy 2 13-02-2008 18:09
CMUcam Viewing neutrino15 Programming 5 16-12-2007 01:34
Viewing Angle of Camera Joe Johnson Technical Discussion 10 14-01-2005 14:11


All times are GMT -5. The time now is 11:13.

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