Go to Post I remember eating dinner once. Long before Build season. Now, we only eat aluminum swarf and disappointment. - BeardyMentor [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-02-2011, 12:08
Team2191 Team2191 is offline
Registered User
FRC #2191 (Fluxcore)
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Nottingham High School
Posts: 14
Team2191 is an unknown quantity at this point
Exclamation 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?
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2011, 13:03
Trevor1743 Trevor1743 is offline
Registered User
FRC #1743
 
Join Date: Jan 2011
Location: pittsburgh
Posts: 22
Trevor1743 is an unknown quantity at this point
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2011, 14:07
Team#2057-Vegas's Avatar
Team#2057-Vegas Team#2057-Vegas is offline
Team2057LasVegas
AKA: Justin Major
FRC #2057 (AV CyberBulls)
Team Role: Leadership
 
Join Date: Mar 2010
Rookie Year: 2008
Location: Las Vegas
Posts: 113
Team#2057-Vegas can only hope to improve
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
__________________
Justin Major
2057 Team Leader

"We will kick you off our pasture" -- 2057 Motto
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2011, 19:03
Team2191 Team2191 is offline
Registered User
FRC #2191 (Fluxcore)
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Nottingham High School
Posts: 14
Team2191 is an unknown quantity at this point
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

Last edited by Team2191 : 14-02-2011 at 20:20.
Reply With Quote
  #5   Spotlight this post!  
Unread 15-02-2011, 15:32
Loremispum Loremispum is offline
Registered User
no team
 
Join Date: Feb 2011
Location: That one place
Posts: 13
Loremispum is infamous around these partsLoremispum is infamous around these partsLoremispum is infamous around these partsLoremispum is infamous around these partsLoremispum is infamous around these parts
Re: I can run the Labview code, but it doesnt do anything

Quote:
Originally Posted by Team2191 View Post
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
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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