Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   cRio refuses to work with newest driver station (http://www.chiefdelphi.com/forums/showthread.php?t=151841)

mattoreo310 11-10-2016 16:16

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

Mark McLeod 11-10-2016 16:40

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.

mattoreo310 11-10-2016 17:26

Re: cRio refuses to work with newest driver station
 
Quote:

Originally Posted by Mark McLeod (Post 1611345)
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?

Mark McLeod 11-10-2016 17:37

Re: cRio refuses to work with newest driver station
 
Quote:

Originally Posted by mattoreo310 (Post 1611355)
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.

Lireal 12-10-2016 01:23

Re: cRio refuses to work with newest driver station
 
Quote:

Originally Posted by Mark McLeod (Post 1611345)
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?

mattoreo310 12-10-2016 15:36

Re: cRio refuses to work with newest driver station
 
Quote:

Originally Posted by Mark McLeod (Post 1611357)
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
/

Mark McLeod 12-10-2016 16:41

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


All times are GMT -5. The time now is 17:46.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi