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)

Mark McLeod 18-02-2010 10:29

Re: No Robot Code
 
What messages or response do you get when you push the "Run" button on Robot Main.vi?


Quote:

Originally Posted by SchrödingersCat (Post 922763)
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


SchrödingersCat 18-02-2010 10:47

Re: No Robot Code
 
Quote:

Originally Posted by Mark McLeod (Post 922871)
What messages or response do you get when you push the "Run" button on Robot Main.vi?

It seems to deploy correctly. I have a indicator on the Iteration Count within the while loop in Robot Main.vi, and it increments about once per second (as the driver station is not connected).

When I attempt to start the Driver Station, the connection between the cRIO and LabVIEW times out and stops entirely. Then the Driver Station connects, and still says, "No Robot Code".

Alan Anderson 18-02-2010 10:56

Re: No Robot Code
 
Quote:

Originally Posted by SchrödingersCat (Post 922892)
It seems to deploy correctly. I have a indicator on the Iteration Count within the while loop in Robot Main.vi, and it increments about once per second (as the driver station is not connected).

When I attempt to start the Driver Station, the connection between the cRIO and LabVIEW times out and stops entirely. Then the Driver Station connects, and still says, "No Robot Code".

Have the Driver Station application running before you try to run the robot code.

SchrödingersCat 18-02-2010 10:58

Re: No Robot Code
 
Quote:

Originally Posted by Alan Anderson (Post 922904)
Have the Driver Station application running before you try to run the robot code.

I can try this, but I believe LabVIEW wouldn't connect at all with the Driver Station already running (and connected).

Mark McLeod 18-02-2010 11:11

Re: No Robot Code
 
You have Exited the Driver Station in the Driver users account and are running it only in the Developer account aren't you?

Not switching back to the Driver account to run the Driver Station.

SchrödingersCat 18-02-2010 11:31

Re: No Robot Code
 
Quote:

Originally Posted by Mark McLeod (Post 922916)
You have Exited the Driver Station in the Driver users account and are running it only in the Developer account aren't you?

Not switching back to the Driver account to run the Driver Station.

Yes, I hold SHIFT while windows comes up so I login only the Developer account, and run the Driver Station while in Developer.

Mark McLeod 18-02-2010 12:43

Re: No Robot Code
 
Sounds weirdly like only one app can use the network connection at a time.
You can also try turning off the Classmate wireless while you are trying this, so we know it isn't port confusion.

Have you changed the Classmate much, if at all, from it's original condition by installing third-party software?

SchrödingersCat 18-02-2010 14:22

Re: No Robot Code
 
Quote:

Originally Posted by Mark McLeod (Post 922978)
Sounds weirdly like only one app can use the network connection at a time.
You can also try turning off the Classmate wireless while you are trying this, so we know it isn't port confusion.

Have you changed the Classmate much, if at all, from it's original condition by installing third-party software?

No, in fact, I just used the Restoration Key and installed all the updates.

SchrödingersCat 18-02-2010 17:04

Re: No Robot Code
 
Got it working. I created a new blank cRIO FRC Project with all the updates installed, and magically everything works. :D

Mark McLeod 18-02-2010 17:06

Re: No Robot Code
 
Might have been a mix of old version code then.

Good news.

SchrödingersCat 18-02-2010 17:09

Re: No Robot Code
 
Quote:

Originally Posted by Mark McLeod (Post 923220)
Might have been a mix of old version code then.

Good news.

Actually, the old code from before I re-imaged the Classmate worked perfectly now that everything was properly installed.


All times are GMT -5. The time now is 14:13.

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