Go to Post FIRST isn't only about winning, it is about making friends, gracious professionalism, and having fun. - lallamavolador [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-10-2012, 18:20
Jay1986's Avatar
Jay1986 Jay1986 is offline
Programmer and Driver
AKA: Jay Urban
FRC #1986 (Team Titanium)
Team Role: Alumni
 
Join Date: Mar 2011
Rookie Year: 2010
Location: Lees Summit
Posts: 67
Jay1986 is a jewel in the roughJay1986 is a jewel in the roughJay1986 is a jewel in the roughJay1986 is a jewel in the rough
Reviving our 2011 Robot

We are putting our 2011 robot back together as a project, and I am having a few problems. The crio is formated to the 2012 image while I deployed the 2011 code that is using the old Labview librarys to reference thier vi's. (The only thing hooked up electricaly is the full setup to auto run the compressor). So I get Com, and Robot Code but the Volts say 0.00. I enable the robot and nothing happens, the relay light that the compressor is plugged into has no value. My question is if the relation between the 2012 image and 2011 code is causing this or what else going on.

ps. I built the 2011 code on the 2012 Labview.

~Thanks,
Jay
__________________

2013 Oklahoma Regional (Regional Winner, Gracious Professionalism, [and judges voted me star of the day])
2013 KC Regional (Regional Winner, Woodie Flowers, Industrial Design)
2013 Hub City Regional (Regional Winner, Entrepreneurship, Quality, Dean's List)
  #2   Spotlight this post!  
Unread 13-10-2012, 19:23
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: Reviving our 2011 Robot

I'm not software so I may be wrong here, but first see the table on p12 of this: http://www.usfirst.org/sites/default...ystem_RevA.pdf

In 2011 you would have used the slot number, 2012 you would use the number of that module (i.e.DSC1 or DSC2) If this hasn't been changed then your code would be trying to address a fourth DSC, which doesn't exist.
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
  #3   Spotlight this post!  
Unread 13-10-2012, 21:43
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Reviving our 2011 Robot

Quote:
Originally Posted by Jay1986 View Post
We are putting our 2011 robot back together as a project, and I am having a few problems. The crio is formated to the 2012 image while I deployed the 2011 code that is using the old Labview librarys to reference thier vi's. (The only thing hooked up electricaly is the full setup to auto run the compressor). So I get Com, and Robot Code but the Volts say 0.00. I enable the robot and nothing happens, the relay light that the compressor is plugged into has no value. My question is if the relation between the 2012 image and 2011 code is causing this or what else going on.

ps. I built the 2011 code on the 2012 Labview.
Can you describe how you opened your code using the old libraries with the new LabVIEW version? Unless you did something special, when you opened the code in the 2012 version of LabVIEW, it would link to the 2012 libraries.

If that's the case, then you will have to update the compressor code, as you now have to call the compressor loop in the periodic tasks. You will also need to move the modules in the cRIO to the 2012 locations.

Your code will definitely not work with the 2012 image if you managed to link to the 2011 libraries, and I would expect lots of runtime errors in the diagnostics window of the driver station.
  #4   Spotlight this post!  
Unread 13-10-2012, 22:05
Tommy F.'s Avatar
Tommy F. Tommy F. is offline
Yeah! Collages!
AKA: 7h0m45
FRC #1985 (Robohawks)
Team Role: Alumni
 
Join Date: Mar 2011
Rookie Year: 2010
Location: St. Louis, MO
Posts: 188
Tommy F. is just really niceTommy F. is just really niceTommy F. is just really niceTommy F. is just really nice
Re: Reviving our 2011 Robot

I don't think the image is the problem. I upgraded the image on our 2011 a few weeks ago to take off the camera since we're using it on the 2012 robot.

One of the problems we did have was that the 2012 image has set the what modules should be plugged in to what. It's either the analog is plugged in to 1 and the digital is plugged in to 2, or the other away around. It will say so on the imaging tool. I think this may be your problem since you're not getting a voltage and your relays aren't showing any values.

Hope this helps.
__________________

FTC 289, 290 & 291 :: FRC 1985

2013 St. Louis Regional Semi-Finalist (with 3411 and 4330), Industrial Design Award
2013 Queen City Regional Winner (with 379 and 447)

Closed Thread


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:04.

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