Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   No Robot Code (http://www.chiefdelphi.com/forums/showthread.php?t=82777)

SidneySalvo 15-02-2010 21:00

No Robot Code
 
So the problem is that no matter what i try, whenever i go into the driver station to try and run the code i sent to the cRIO, it shows up as "No Robot Code"

1:yes i have installed all of the current updates for both driver station (1.1) Labview (2.1), and i have the most current cRIO image that i know of (v20)

2: I followed all the steps to make the project as outlined in the FRC programming guide, in the manuals section of the Labview program files.

3: i first build the program and then click run as startup under the build specification.

4: I am using the Classmate and to enter the driverstation i hit (windows key+L) to quickly switch users. I do this because whenever i attempt to pull up the DS on the developer account it always says there is no communication to the robot.

Even with all of that i'm still getting the "No Robot Code". In the diagnostics tab i have the error message "No change to Network Configuration: "Local Area Connection""

Can Someone please help me!! we are running out of time!

Alan Anderson 15-02-2010 23:52

Re: No Robot Code
 
The Diagnostics tab has a bunch of communication tests with red or green lights next to them. Is the "Robot" light green?

SidneySalvo 15-02-2010 23:55

Re: No Robot Code
 
Yes it is

Mark McLeod 15-02-2010 23:55

Re: No Robot Code
 
Have you set your team number in the Setup tab?

Exit the Driver account and start the Driver Station application in the Developer account anyway.
When it's running go look at the IP address under Network Connections through the Windows Start menu. See if your IP has been set to 10.16.91.5

SidneySalvo 16-02-2010 00:00

Re: No Robot Code
 
Our number is actually 1691. I will check the IP tomorrow when i get the chance, however when i run the DS on the developer account, it not only says "No Robot Code" but also "No Communication" ><

Mark McLeod 16-02-2010 00:09

Re: No Robot Code
 
How is the Classmate connected, communications-wise, to the cRIO-wireless, direct Ethernet cable?

Try turning off the wireless and direct connecting for now if you aren't already.

The communication problem could be contributing to your Robot Code issue.
There really shouldn't be any difference between accounts, so that bears investigating.

SidneySalvo 16-02-2010 00:11

Re: No Robot Code
 
ok i will see if that works. i think i have tried it once before but after the updates something may have changed...anyother suggestions?

Mark McLeod 16-02-2010 00:14

Re: No Robot Code
 
Have you made any changes to the Classmate setup?
Installed any non-FIRST code?

Swapped out cables?
Tried it on a different PC?

SidneySalvo 16-02-2010 00:24

Re: No Robot Code
 
Quote:

Originally Posted by Mark McLeod (Post 921058)
Have you made any changes to the Classmate setup?
Installed any non-FIRST code?

Swapped out cables?
Tried it on a different PC?

No changes that i know up, we had to reformat it using the flash drive just before i got started. (we now keep a password on it...stupid freshmen)

as too non-FIRST code, i do not beilieve so but i was following the instructions to create the FRC project, and that is what i've been trying to download to the cRIO. i didn't read that there were any changes that had to be made so i haven't made any.

we are using all of the ethernet cables we have currentally.

one other thing that could be the problem...could the cRIO not be running the code because we don't have the correct moduals inserted in it in the right places

Alan Anderson 16-02-2010 01:05

Re: No Robot Code
 
Quote:

Originally Posted by SidneySalvo (Post 921066)
No changes that i know up, we had to reformat it using the flash drive just before i got started.

You must apply the LabVIEW and Driver Station updates before communication will work properly. See http://www.usfirst.org/frccontrolsystem for links.

Mark McLeod 16-02-2010 08:56

Re: No Robot Code
 
Quote:

Originally Posted by SidneySalvo (Post 921066)
One other thing that could be the problem...could the cRIO not be running the code because we don't have the correct modules inserted in it in the right places

Your code would still run, it just wouldn't work right if the modules weren't where they are supposed to be.

SidneySalvo 16-02-2010 13:55

Re: No Robot Code
 
I have applied those two updates and also re imaged the cRIO afterwards. i don't have a clue what else to try!

After forming the project are there any changes that need to be applied to make it work?

can someone send a decent quality pic of their cRIO?

SidneySalvo 16-02-2010 18:35

Re: No Robot Code
 
Very Sorry to double post, but i wanted to get this back to the top so it won't just dissappear because our problem still isn't fixed but i have learned more.

So two things have changed:

1:I can now run the DS on the developer account and the "Communications" light is now green when i do that.

2: I tried to simply run the Robot Main.vi on the cRIO and that gave me the green light on the "Robot Code" light and allows me to run the motors using the joysticks. However, when i click run as startup it still tells me that "No Robot Code"

SchrödingersCat 18-02-2010 08:10

Re: No Robot Code
 
Our team is having the same problem. We installed LabVIEW update 2.1 and Driver-station update 1.1 on the Classmate, updated the cRIO image to v20. We can only connect with the driver station while LabVIEW is not loaded (we cannot run the code in a real time connection). It still displays "No Robot Code". :(

Any ideas would be lovely. :D

Mark McLeod 18-02-2010 10:28

Re: No Robot Code
 
Quote:

Originally Posted by SidneySalvo (Post 921506)
However, when i click run as startup it still tells me that "No Robot Code"

The part that stumps me is there are no error messages, either on the build or on the "Run as startup"

At the conclusion of "Run as startup" it asks you to reboot the cRIO, correct? The permanent code won't take effect until the cRIO is rebooted, while the temporary "Run" is the opposite and takes effect immediately, but goes away when the robot is rebooted.


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

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