01-07-2015 12:39 AM
We have been trying to get last years cRIO robot to work with the 2015 software but were unsuccessful.
Here is a list of what we accomplished
1. Installed the 2015 NI Software for FRC and Update Suite on 2 Laptop computers
2. Connected to the new roboRIO via Ethernet cable
3. Successfully created and ran the default LabVIEW project
1. Connected the cRIO and Computer via Ethernet cable
2. Reformatted last year’s cRIO using the “cRIO Imaging Tool 2015”
3. Set the computer IP address to 10.xx.yy.11 (xxyy= team number)
4. Successfully sent a ping command using the Windows command prompt
5. 2015 Driver station Communication LED turned Green indicating the cRIO was connected
6. Joystick LED turned green after plugging a joystick
7. Opened the FRC Robotics\cRIO\Robot and Motor\cRIO Motor Control.lvproj
8. Changed the IP address of the RT CompactRIO target to 10.xx.yy.2
9. Right clicked on the Target icon and selected Connect
10. cRIO connected and the LED on the target icon turned green
11. Opened the Motor Contro.vi
12. Set the PWM channel
13. Clicked on the white arrow to run the program
14. Program deployed and the run arrow turned black as expected.
15. Driver station Robot Code LED stayed RED
16. Tried to stop the program by clicking on the Motor Control.vi “STOP” button
17. STOP Button depressed but program did not stop
18. Had to click on the abort button to stop the program.
19. Attempted the same procedure with the second laptop with the same results.
20. Opened the example FRC Robotics\roboRIO\Robot and Motor\Motor Control.lvproj
21. Repeated steps 8 through 14
22. Driver station Robot Code LED Stayed RED
23. Clicked on “STOP” button and program stopped
24. Created a new roboRIO project
25. Entered team number and Selected “Arcade Drive Robot –cRIO”
26. Tried to run the Robot Main.vi and it deployed and the run arrow turned black as expected
27. Driver Station Robot Code LED stayed RED
28. Created a build spec for Robot Main
29. Built an rtexe and deployed it to the cRIO
30. Set the exe to run at startup
31. Rebooted the cRIO
32. Robot code did not run as the robot indicator light stayed on continuously.
Are we forgetting to do something?
Is there documentation showing how to get the cRIOs to work with the new software?
01-07-2015 08:33 AM
Your best bet for developming on a cRIO is to use last year's LabVIEW for FRC 2014 on a separate computer. Your license for that software will not expire.
While the 2015 software should work, we did minimal testing with just the basic project. At best what would work is a subset of what exists for the roboRIO. By that I mean we removed cRIO features that were not needed for the roboRIO, and features added for the roboRIO were not added for the cRIO.
01-07-2015 10:02 AM
Doug,
We are also only trying to run the basic program and only want to use the cRIOs to support prototyping for the mechanical team.
The problem is it is unclear what steps need to be taken to allow the cRIOs to work.
In our current situation we have more controllers than development and drivers stations and have converted all of them to the 2015 software.
Can you give us more information on how the cRIO was tested when it worked.
What driver station was used?
What were the IP settings (Did it find the IP automatically or do we use the static 10.xxyy.2)
Are there specific settings for the driver station, imaging tool or other that we need to be aware of?
Were the vis ran through the dev environment or did you test only deployed code?
Any documentation on how the cRIOs were tested would be helpful.
Thanks
Mark
01-08-2015 04:27 PM
Hi Mark,
A cRIO was tested briefly here with the default roboRIO project provided in FRC 2015 software, and it worked. But that is about it. No other changes or settings were looked at.
As Doug mentioned, a computer dedicated to having the old (2014) software is goign to be the best way to utilize the cRIO.
-Ryan
01-09-2015 07:53 AM
Hi Mark,
I tested this again this morning. Here is what I did.
I think this procedure answers all your questions.
Cheers,
Doug
01-09-2015 10:38 AM
Doug:
Thank you very much for this through description and successful outcome to running the legacy 4 slot cRIO's with this season's (2015) LV code.
01-09-2015 11:03 AM
I did a bit more testing and saw the same problem you saw with the cRIO Motor Control example. And this will be an issue for most cRIO examples. Here are two problems with workarounds:
It is worth noting that if you edit shipping examples or WPI VIs, they may get overwritten if we have an FRC update. The key words here are may and if - our goal is to not have an update, but if we do we may or may not fix this.
01-09-2015 11:25 AM
Thanks Doug, This is very helpful
01-10-2015 05:43 PM
Will updating to firmware v57 work for the 8 slot cRio? Would you have some time to test this for the community?
01-12-2015 07:20 AM
The 8-slot cRIO is not supported at all for FRC 2015. You will need to use FRC 2014 for the 8-slot.