Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   I can run the Labview code, but it doesnt do anything (http://www.chiefdelphi.com/forums/showthread.php?t=91704)

Team2191 13-02-2011 12:08

I can run the Labview code, but it doesnt do anything
 
So yesterday after updating my team's c-RIO to the newest firmware (v27), I went to run the code that I'd written over the past week. There were no errors with the code, or with communication with the robot, but when I enabled the robot and started messing with the controller, nothing happened. The driver station repeatedly gave me an error along the lines of 'RobotDrive function not running fast enough....,' 'CAN error 44087,' and the status light on the c-RIO was blinking fast. here are some details:

My code is not long at all, I cut it down to simply the holonomic drive function with necessary pieces (using labview), in addition to a number of case structures and a separate vi i created.

I am running the newest labview update (3.1 i believe)

The cRIO ip address is configured correctly (10.21.91.2), imaged for 2CAN communication with the jaguars. I am able to both ftp the crio files, as well as go to the 2CAN webpage and view the jaguar statuses

I also had the same code running perfectly fine Friday afternoon.

Does anyone have any idea what the problem could be?

Trevor1743 13-02-2011 13:03

Re: I can run the Labview code, but it doesnt do anything
 
It sounds like your code is missing something, I would try to rerun the code that worked the other day.

Team#2057-Vegas 13-02-2011 14:07

Re: I can run the Labview code, but it doesnt do anything
 
do what the person above me said, make sure your code isn't missing anything. we had the same problem and it ended up being we didnt do all the finishes of the variables and the safety configs of each variable in the begin area

best of luck.

2057

Team2191 14-02-2011 19:03

Re: I can run the Labview code, but it doesnt do anything
 
just figured out the problem! turns out the v27 image on the crio was bad. doesnt match up with pre-3.1 labview firmware. go figure. uploaded v28 that i got from FIRST Forge (http://firstforge.wpi.edu/sf/sfmain/...ectedTab=files) and everything works fine now

Loremispum 15-02-2011 15:32

Re: I can run the Labview code, but it doesnt do anything
 
Quote:

Originally Posted by Team2191 (Post 1023008)
just figured out the problem! turns out the v27 image on the crio was bad. doesnt match up with pre-3.1 labview firmware. go figure. uploaded v28 that i got from FIRST Forge (http://firstforge.wpi.edu/sf/sfmain/...ectedTab=files) and everything works fine now

:yikes: :mad: :cool: ::rtm:: ::ouch::


All times are GMT -5. The time now is 11:53.

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