Go to Post All a team needs is someone to believe in them. - JohnBoucher [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-01-2010, 23:27
batmankiller batmankiller is offline
Registered User
None #2601
 
Join Date: Jan 2010
Location: New York City
Posts: 15
batmankiller is an unknown quantity at this point
Dual languages possible on cRio?

I am new to robotics and our programming committee isn't that advanced as we had only one programmer last year and only starting to stock up and expand our school's resources this year. As usual we have disputes on whether to stick with Labview or use Java. My question is can the cRio compile and run both labview and java? say java for auto and labview for teleoperator? I'm thinking this wouldn't be possible since it would have to be in the same language to tell cRio when to switch to teleoperator, but if this is possible, please enlighten me.
  #2   Spotlight this post!  
Unread 11-01-2010, 23:58
imac256 imac256 is offline
Registered User
AKA: Ian McInerney
FRC #2022 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2009
Rookie Year: 2009
Location: Aurora, IL
Posts: 30
imac256 is a glorious beacon of lightimac256 is a glorious beacon of lightimac256 is a glorious beacon of lightimac256 is a glorious beacon of lightimac256 is a glorious beacon of light
Re: Dual languages possible on cRio?

In short, no this is not possible.

The cRIO's image is language specific because it has to load different libraries based upon each language, for instance the LabView libraries are different then the C++ libraries. This is why you have to choose a specific language to format your cRIO with when you image it.
  #3   Spotlight this post!  
Unread 12-01-2010, 00:20
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Dual languages possible on cRio?

However, if you wanted to try it, LabVIEW has something called a Code Interface Node, which allows you to call compiled code.
If you wanted to use compiled code for one of your modes, and LabVIEW for the hardware interface sections, you could.
The difficulty with Java is that it is also interpreted. (though it may be fully compiled for the cRIO, I don't know)
__________________
-- Marshal Horn
  #4   Spotlight this post!  
Unread 12-01-2010, 07:37
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,756
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: Dual languages possible on cRio?

The Java for cRIO is not compiled. And unless your already know how to program the robot very well in both environments, I would not even try using the CLF node. It is a very advanced capability, and you are far better sticking with one tool until you really know what you are doing.

Greg McKaskle
Closed Thread


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: 716 Dual Motor/Dual Speed CD47-Bot Robot Showcase 18 23-04-2004 01:51
White Paper Discuss: Dual-motor, dual-speed gearbox CD47-Bot Extra Discussion 8 05-04-2004 19:24
White Paper Discuss: Dual-motor, dual-speed drive transmission design CD47-Bot Extra Discussion 9 03-09-2003 10:40
Other languages tchescow Website Design/Showcase 2 25-02-2003 11:28
Programming Languages Hailfire Programming 7 29-01-2003 21:10


All times are GMT -5. The time now is 01:59.

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