Go to Post The only fee our team charges is for your heart and soul. No refunds. - Koko Ed [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 11-10-2016, 16:16
mattoreo310 mattoreo310 is offline
Registered User
FRC #4012
 
Join Date: Feb 2015
Location: New York
Posts: 20
mattoreo310 is an unknown quantity at this point
cRio refuses to work with newest driver station

Hey,

Our old 4-slot cRio does not want to communicate with our 2015 driver station. The light however on the driver station is half red and half green, but the battery does not show its voltage for whatever reason despite switching the DS protocol to 2014. I've re-imaged the cRio to v52 (unable to find v57), loaded the program on with the netbeans IDE and plugins, changed the ip to .5, .6 and .8, tried an OLDER driver station and just about given up.

Does anybody perhaps have a v57 cRio image I could use, I think that will (hopefully fix the problem)


Thanks,
team 4012
Reply With Quote
  #2   Spotlight this post!  
Unread 11-10-2016, 16:40
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: cRio refuses to work with newest driver station

What Java version are you attempting to use on the old 4-slot cRIO?
The version used for the roboRIO is not compatible with the cRIO which used a different/older version.
I believe v52 is the correct FRC image for 2014.

You can use the cRIO if you still have an old original Java user program installed on it, but you won't be able to make modifications.
Or if you still have an installation of the older cRIO Java version on a PC that can be used.
Otherwise, LabVIEW is the only really supported cross-compatible language.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 11-10-2016 at 17:14.
Reply With Quote
  #3   Spotlight this post!  
Unread 11-10-2016, 17:26
mattoreo310 mattoreo310 is offline
Registered User
FRC #4012
 
Join Date: Feb 2015
Location: New York
Posts: 20
mattoreo310 is an unknown quantity at this point
Re: cRio refuses to work with newest driver station

Quote:
Originally Posted by Mark McLeod View Post
What Java version are you attempting to use on the old 4-slot cRIO?
The version used for the roboRIO is not compatible with the cRIO which used a different/older version.
I believe v52 is the correct FRC image for 2014.

You can use the cRIO if you still have an old original Java user program installed on it, but you won't be able to make modifications.
Or if you still have an installation of the older cRIO Java version on a PC that can be used.
Otherwise, LabVIEW is the only really supported cross-compatible language.
Well I'm not sure what java version the v52, I believe I'm using 6 to build the program though. Do I have no choice but to use labview if this is the case?
Reply With Quote
  #4   Spotlight this post!  
Unread 11-10-2016, 17:37
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: cRio refuses to work with newest driver station

Quote:
Originally Posted by mattoreo310 View Post
Well I'm not sure what java version the v52, I believe I'm using 6 to build the program though. Do I have no choice but to use labview if this is the case?
Java 6 is too modern for the cRIO version inplemented for FRC which utilized the Squawk VM.
It used Java 2, I think the cRIO used source level 1.3
You might be able to use a tool such as RetroTranslator to downgrade your code, but I haven't tried it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 11-10-2016 at 17:44.
Reply With Quote
  #5   Spotlight this post!  
Unread 12-10-2016, 01:23
Lireal Lireal is offline
Registered User
AKA: Alex Colello
FRC #2141 (Spartonics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Concord, California
Posts: 102
Lireal has a spectacular aura aboutLireal has a spectacular aura aboutLireal has a spectacular aura about
Re: cRio refuses to work with newest driver station

Quote:
Originally Posted by Mark McLeod View Post
You can use the cRIO if you still have an old original Java user program installed on it, but you won't be able to make modifications.
Or if you still have an installation of the older cRIO Java version on a PC that can be used.
Otherwise, LabVIEW is the only really supported cross-compatible language.
Is there somewhere to download the old software?
Reply With Quote
  #6   Spotlight this post!  
Unread 12-10-2016, 15:36
mattoreo310 mattoreo310 is offline
Registered User
FRC #4012
 
Join Date: Feb 2015
Location: New York
Posts: 20
mattoreo310 is an unknown quantity at this point
Re: cRio refuses to work with newest driver station

Quote:
Originally Posted by Mark McLeod View Post
Java 6 is too modern for the cRIO version inplemented for FRC which utilized the Squawk VM.
It used Java 2, I think the cRIO used source level 1.3
You might be able to use a tool such as RetroTranslator to downgrade your code, but I haven't tried it.
That's very odd, as the frc website said it used java 7. I seem to get compiler erros with the jdk 2 on netbeans, any advice
/
Reply With Quote
  #7   Spotlight this post!  
Unread 12-10-2016, 16:41
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: cRio refuses to work with newest driver station

Do you have the WPILibJ2014 version of the FRC Java libraries?
Make sure to use matching or compatible versions across the board.

Here, a friend just let me know that the original files are still posted here:
http://wpilib.screenstepslive.com/s/...elopment-tools
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 12-10-2016 at 17:31.
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


All times are GMT -5. The time now is 18:04.

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