Go to Post There is a fine line between genius and insanity, watch your step! - Al Skierkiewicz [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 01-27-2010, 11:58 PM
joshholat joshholat is offline
Registered User
FRC #0930
 
Join Date: Jan 2010
Location: Mukwonago
Posts: 24
joshholat is an unknown quantity at this point
Dashboard alteration in Java and setting start up programs

My question is twofold when it comes to using the Java development system as my team is.

1) How do you burn a Java program to the cRIO as the startup program? My team hasn't been able to figure this out. Can you even do that yet? Is it as simple as building a project in a certain way and importing it into LabView somehow to use with the NI burning tool?

2) I know the Dashboard VI can be altered to make it fit your teams needs more. However, I also know that the Dashboard is heavily based on LabView. When using Java, is it possible to alter the Dashboard VI and have a way in the Java API to send data to the LabView API to output in real time vs having to use println statements? I know the DashboardLCD class can be used to output text to the Dashboard, but we want to be able to use controls, etc.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-28-2010, 12:21 AM
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
Re: Dashboard alteration in Java and setting start up programs

1) Any time you do a "Run" of your robot program from netbeans you are "burning the code" to the cRIO. Once you have the cRIO imaged with the current version (currently v19), you don't need to use any labview tools to develop/deploy Java robot apps.

2) The short answer is "yes". Check out the sample apps in File/New Project under "Samples"/FRC Sample. Then check the docs and forums for additional info.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-28-2010, 12:48 AM
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: Dashboard alteration in Java and setting start up programs

1) So once I deploy code, it's on there. Therefore, the latest code should just start going if I log on to the Driver account on the Classmate and connect to the robot at any point in time? Awesome!

2) Create a new project in LabView or in NetBeans? I know the Dashboard class for Java can put text on the Dashboard VI, but does it also interact with the GUI stuff?
Reply With Quote
  #4   Spotlight this post!  
Unread 01-28-2010, 10:21 AM
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
Re: Dashboard alteration in Java and setting start up programs

>>> 2) Create a new project in LabView or in NetBeans?

In NetBeans. Good luck!
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
Setting up your new Classmate for Java technology Techwiz Java 2 01-10-2010 11:46 PM
**FIRST EMAIL**/Java and Orbit Balls *****JAVA DISCUSSION*** Pjohn1959 Programming 37 08-31-2009 03:55 PM
Setting Dashboard UserBytes bobpskier Programming 2 02-05-2007 09:36 PM
Dashboard Programs? EHaskins Programming 5 01-31-2006 02:01 PM
Dashboard programs and the char variable Ian W. Programming 13 06-26-2002 02:07 AM


All times are GMT -5. The time now is 07:36 AM.

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