Chief Delphi

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

geomapguy 13-02-2013 22:42

Code messing up
 
So today we were trying to test some code.

We deployed it to the cRIO from LabView on our computer with no issues.

However we tried to control the robot was it had finished loading and we were getting a "No Robot Code" error.

Any ideas?

ProgrammerMatt 13-02-2013 23:10

Re: Code messing up
 
Im having issues like this, i can deploy code once then i can't redeploy again and the code is not functioning correctly

RyanN 14-02-2013 00:30

Re: Code messing up
 
Quote:

Originally Posted by geomapguy (Post 1233024)
So today we were trying to test some code.

We deployed it to the cRIO from LabView on our computer with no issues.

However we tried to control the robot was it had finished loading and we were getting a "No Robot Code" error.

Any ideas?

Are you building and running as startup, or just running the code temporarily from Robot Main?

I have a feeling you're crashing the cRIO. Try to run the code straight from Robot Main and see if it gives you an error of some kind.

RyanN 14-02-2013 00:31

Re: Code messing up
 
Quote:

Originally Posted by ProgrammerMatt (Post 1233041)
Im having issues like this, i can deploy code once then i can't redeploy again and the code is not functioning correctly

Have you been placing all of your hardware from the begin file in the finish file to close the references?

geomapguy 14-02-2013 01:22

Re: Code messing up
 
Quote:

Originally Posted by RyanN (Post 1233093)
Have you been placing all of your hardware from the begin file in the finish file to close the references?

Begin: We opened joysticks, drive motors, and a shooter motor.

Teleop: Tank Drive and a simple control for our shooter

Finish: Closing opened items

So we are deploying straight from robot main. We are direct connecting to the cRIO 8-Slot. Should we try going through the bridge?

RyanN 14-02-2013 08:31

Re: Code messing up
 
Quote:

Originally Posted by geomapguy (Post 1233107)
Begin: We opened joysticks, drive motors, and a shooter motor.

Teleop: Tank Drive and a simple control for our shooter

Finish: Closing opened items

So we are deploying straight from robot main. We are direct connecting to the cRIO 8-Slot. Should we try going through the bridge?

Can you answer my previous question? The message you replied to was for ProgrammerMatt.

geomapguy 14-02-2013 08:57

Re: Code messing up
 
Quote:

Originally Posted by RyanN (Post 1233156)
Can you answer my previous question? The message you replied to was for ProgrammerMatt.

Sorry bout that...

I'm running it from Robot Main and I'm opening everything.

Should I trying making a real-time app?

RyanN 14-02-2013 09:15

Re: Code messing up
 
Quote:

Originally Posted by geomapguy (Post 1233174)
Sorry bout that...

I'm running it from Robot Main and I'm opening everything.

Should I trying making a real-time app?

No. If it's dropping like that while running, then you must be doing something really wrong.

Are you referencing a second module of some sort without there being one? Such as Digital Module II? Have you tried reimaging it and formatting the controller?

geomapguy 14-02-2013 21:35

Re: Code messing up
 
Quote:

Originally Posted by RyanN (Post 1233181)
No. If it's dropping like that while running, then you must be doing something really wrong.

Are you referencing a second module of some sort without there being one? Such as Digital Module II? Have you tried reimaging it and formatting the controller?

So we built a an application and it worked. Thanks for the input.


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

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