![]() |
Problems Interfacing '10 Control System w/ Classmate
Hi all,
We set up the Classmate and installed fresh software from the '10 kit, as per instructions from FIRST. We re-imaged the cRIO from the Classmate, but it refuses to interface with our controls. It throws a "No Code" error, even with a fresh re-imaging, and also with unedited sample code from FIRST. Anyone else have this error? Anyone have a solution? |
Re: Problems Interfacing '10 Control System w/ Classmate
Write code and put it on the robot. It needs your code
|
Re: Problems Interfacing '10 Control System w/ Classmate
Is there a URL or other means to download the driver station application? I would like to run the application on a development system laptop instead of the Classmate for testing purposes.
Tim |
Re: Problems Interfacing '10 Control System w/ Classmate
Quote:
Quote:
|
Re: Problems Interfacing '10 Control System w/ Classmate
Quote:
It can be downloaded at http://joule.ni.com/nidu/cds/view/p/id/1535/lang/en |
Re: Problems Interfacing '10 Control System w/ Classmate
Quote:
The robot is still refusing to accept code. Quote:
Quote:
The Classmate indicates that it communicates with the robot alright and the stop button is in place, but it detects no code on the robot even though we downloaded it. |
Re: Problems Interfacing '10 Control System w/ Classmate
The driver station (DS) has high level diagnostics on the left that summarizes communications, code, and stop button. Additional information, especially about communications is provided on the Diagnostics tab. This pings each of the elements to help tell what is wrong with the comms or USB elements.
If No Code is the message on the DS, and everything else is fine, I'd probably use the development tool to run the code, perhaps look a the serial output, until you believe that your code is running that way. One possible issue with the code starting could be the language that the cRIO was formatted for. The language selection determines the libraries and some startup settings. The Diagnostics tab displays the cRIO language settings near the version string. The updated version of the DS does anyway. Once you have code running in the development environment, then you can focus on deployment. Greg McKaskle |
Re: Problems Interfacing '10 Control System w/ Classmate
We looked on the Diagnostics tab, and under the "Robot" and "E-net Link" there are no errors (all green). We could reboot the robot and have the two indicators respond accordingly.
What's the "developmental tool"? Do we use the remote console on WindRiver? Or something else? |
Re: Problems Interfacing '10 Control System w/ Classmate
The detail lights in the communications column don't really offer any additional info unless you have communication error. Otherwise they simply confirm which elements are present.
I'm not sure if you are using C++, LV, or Java, but by development tool, I mean the WindRiver C++ Eclipse environment, the Java Eclipse, or the LabVIEW editor. Work through the getting started directions if needed, and execute a sample program, an example, or your own simple program. The No Code message means that no code on the robot is interacting with the communication task. Note that code stuck at a breakpoint looks similar to this depending on the development tool. The serial output may offer some hints as to why code isn't starting, especially for C++ and Java. Note that this year, there is a tool for sending the serial over enet and straight to a message window. On the diagnostics tab, have you verified that the cRIO is formatted for the language you've selected? Greg McKaskle |
Re: Problems Interfacing '10 Control System w/ Classmate
1 Attachment(s)
We formatted the CRio to work in C/C++. When we tried to connect to the cRio using the real time target server in Windriver, here is the error:
Code:
Sun Jan 10 17:25:24 2010 |
Re: Problems Interfacing '10 Control System w/ Classmate
Hi Bharat,
From looking at your console capture, I can see that you are loading the FRC 2009 image file onto your cRIO (or that you never reimaged it). The errors you are getting (which prevent your code from running) indicate that it is expecting symbols from the 2010 image. This tells me that you have successfully updated the WPILib, but not the image on the cRIO. Go to www.usfirst.org/frccontrolsystem and click on Mandatory LabVIEW Update. In the description on that page, you'll see that this update is needed for all development languages since it contains the latest imaging tool and image for the cRIO. After installing this update, run the imaging tool to image your cRIO with FRC_2010_v19.zip. You should then be able to deploy or run your 2010 code and control it with the classmate driver station. Cheers! -Joe |
Re: Problems Interfacing '10 Control System w/ Classmate
YES! It works, that update did the trick. I guess we overlooked it because it had Labview in the file name.
Well, lesson learned. Install any and all updates. |
Re: Problems Interfacing '10 Control System w/ Classmate
I did the updates and now the Classmate can't find nicyapi.dll. I used the DS on the programming laptop instead and I could see that the downloaded program worked on the DS executables on the laptop. Will there be an update with the proper files soon so we can get the Classmates running?
|
Re: Problems Interfacing '10 Control System w/ Classmate
|
Re: Problems Interfacing '10 Control System w/ Classmate
Quote:
Thank you! |
| All times are GMT -5. The time now is 05:19. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi