Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   team 3080 problem help (http://www.chiefdelphi.com/forums/showthread.php?t=83121)

executionR 19-02-2010 19:51

team 3080 problem help
 
We use labview after setting up Crio and deploying code the robot still maintains no communication...no battery reading... we used the standard frc templates for programming

apalrd 19-02-2010 20:11

Re: team 3080 problem help
 
Do you have your slot1 Analog module plugged in, with the jumper in the correct place, and power?

Do you have your slot4 digital module plugged in, connected to the DSC, and is the DSC powered?

Did you reboot after deploying code?

Did you test with an Ethernet tether (no radios)?

In the future, please post questions in a single forum, not multiple places.

executionR 19-02-2010 20:42

Re: team 3080 problem help
 
no it doesnt even have communication with the cord directly connected to it

apalrd 19-02-2010 20:58

Re: team 3080 problem help
 
No comms......

What is the IP of the cRio? Did you image it when you set it up?

what is the IP of the Classmate? It should be 10.xx.yy.5, for you that should be 10.30.80.5

Did you reboot after deploying code? How are you deploying code? If you are just pressing the "Play" button, that dosen't permanently save the code, you must right-click on the FRC Robot Boot-up deployment under Build Specifications and press "Run as Startup". It might ask you to Build, so right-click on Boot-up deployment and click "Build" then when it is done go and Run As Startup.

executionR 19-02-2010 21:05

Re: team 3080 problem help
 
this is exactly what I am doing tell me if it is wrong...I format the crio with the image...then when it says successful I go to labview and build a new project after that I press build ...after it finishes building I go to main ...then press deploy when it is done...I turn off the robot start it back up and go to the driver station and try to connect but it does not work....I am using the corrent IP addresses ... can you help anyhelp is appriciated...

apalrd 19-02-2010 21:09

Re: team 3080 problem help
 
Here is your problem. The "Deploy" (play) button in Main dosen't actually save the code, it just places it in RAM and executes it. Thus, it will go away when you reboot. That is designed to test code, not permanently store it. In order to store it, right-click on "FRC Boot-up Deployment" under Build Specifications, and press "Run As Startup". It will deploy the code to flash, so it will stay when you reboot. If you just want to test the code, then you can go into Robot Main and press the play button, it's faster.

executionR 19-02-2010 21:11

Re: team 3080 problem help
 
okay let me try it really fast and I will get to you...thanks a lot still

executionR 20-02-2010 11:41

Re: team 3080 problem help
 
I followed the steps and it still didnt work...the robot doesnt even get communication...can you help....do you know anyone that can help us

Alan Anderson 20-02-2010 23:05

Re: team 3080 problem help
 
Quote:

Originally Posted by executionR (Post 924227)
this is exactly what I am doing tell me if it is wrong...I format the crio with the image...

You only needed to do that once after running the LabVIEW update. Do you remember which version of the cRIO image you loaded? As of February 20, the current version is v20.

Quote:

then when it says successful I go to labview and build a new project after that I press build ...after it finishes building I go to main ...then press deploy when it is done...
What do you mean by "press deploy"? If you're clicking the "run" arrow at the top of the Robot Main vi, that just puts the code in the cRIO's RAM and runs it. If you're choosing "Deploy" from the "FRC Robot Boot-up Deployment" popup menu, that does write it to the cRIO filesystem.

Quote:

I turn off the robot start it back up
When you turn off the robot, it naturally stops running the program you were running. Unless you have done a "Run as startup", the cRIO isn't going to run any user code when it turns on.

Quote:

and go to the driver station and try to connect but it does not work....I am using the corrent IP addresses ... can you help anyhelp is appriciated...
You should have the Driver Station running throughout the entire process. Its Diagnostic tab will give information about what might not be connected properly. What does it tell you?


All times are GMT -5. The time now is 03:36.

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