Go to Post "automated chaos" nuff said. - Jferrante [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 22-02-2011, 12:35
whcirobotics's Avatar
whcirobotics whcirobotics is offline
Registered User
FRC #1514 (Vikings)
 
Join Date: Nov 2008
Rookie Year: 2009
Location: WHCI
Posts: 174
whcirobotics is an unknown quantity at this point
Updated C-Rio and Labview now code doesnt do ANYTHING

Hi CD,
We just updated our labview to v3.2, and CRiO Image to v28. Before we updated the labview and the C-Rio the code worked fine, it drove and everything worked. But right now, today on the final day of the build season, we decided to pack it in and decided on updating it and ........ Now it does not work AT ALL! It does not read the joystick command, the compressor does not turn on. And we have a bit less than 7 hours to get it working and get it tested. I dont know what the update did to the software but it screwed us up BIG TIME. Please help us.

Thanks
__________________
"A team back in training !"

Last edited by whcirobotics : 22-02-2011 at 12:37.
Reply With Quote
  #2   Spotlight this post!  
Unread 22-02-2011, 12:49
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,372
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Updated C-Rio and Labview now code doesnt do ANYTHING

Quote:
Originally Posted by whcirobotics View Post
Hi CD,
We just updated our labview to v3.2, and CRiO Image to v28. Before we updated the labview and the C-Rio the code worked fine, it drove and everything worked. But right now, today on the final day of the build season, we decided to pack it in and decided on updating it and ........ Now it does not work AT ALL! It does not read the joystick command, the compressor does not turn on. And we have a bit less than 7 hours to get it working and get it tested. I dont know what the update did to the software but it screwed us up BIG TIME. Please help us.

Thanks
When you install the 3.2 LV update and then flash the cRio, you need to "Build" your code again and then do a "Run as Startup".
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #3   Spotlight this post!  
Unread 22-02-2011, 12:51
whcirobotics's Avatar
whcirobotics whcirobotics is offline
Registered User
FRC #1514 (Vikings)
 
Join Date: Nov 2008
Rookie Year: 2009
Location: WHCI
Posts: 174
whcirobotics is an unknown quantity at this point
Re: Updated C-Rio and Labview now code doesnt do ANYTHING

I did build and Run as startup, but it does nothing still. NOTHING. The motors dont even get any inputs, the lights on them are flashing.
__________________
"A team back in training !"
Reply With Quote
  #4   Spotlight this post!  
Unread 22-02-2011, 13:35
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Updated C-Rio and Labview now code doesnt do ANYTHING

I hate to be "that guy", but did you remember to ENABLE the robot from the Driver Station?

Does the Driver Station show green lights for Communication and Robot Code? What does it say at the bottom left of the screen?
Reply With Quote
  #5   Spotlight this post!  
Unread 22-02-2011, 13:40
whcirobotics's Avatar
whcirobotics whcirobotics is offline
Registered User
FRC #1514 (Vikings)
 
Join Date: Nov 2008
Rookie Year: 2009
Location: WHCI
Posts: 174
whcirobotics is an unknown quantity at this point
Re: Updated C-Rio and Labview now code doesnt do ANYTHING

Yes i Enabled the robot, At the bottom left of the screen it says "Teleop Enabled".
__________________
"A team back in training !"
Reply With Quote
  #6   Spotlight this post!  
Unread 22-02-2011, 14:07
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Updated C-Rio and Labview now code doesnt do ANYTHING

The Driver Station also reports the revision numbers for the cRIO image and for the Driver Station software itself. What are they?
Reply With Quote
  #7   Spotlight this post!  
Unread 22-02-2011, 14:32
Blackphantom91's Avatar
Blackphantom91 Blackphantom91 is offline
Mentor + 4 = Stuck For Life
AKA: Malcolm Stirckland
FRC #1986 (Team Titanium)
Team Role: Mentor
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Kansas City
Posts: 232
Blackphantom91 has a spectacular aura aboutBlackphantom91 has a spectacular aura aboutBlackphantom91 has a spectacular aura about
Re: Updated C-Rio and Labview now code doesnt do ANYTHING

There could be a conflict in code with this version that was just recently added. See if you can add a basic drive code to your system. We had to build our code completely over again just because we think their was compatibility issues with the new updates T_T. Its worth a try also you could go backwards to an old image but you have to go back to 28 when competition starts back up.
__________________
[img*]http://i.imgur.com/Os2oTET.jpg[/img*]
Reply With Quote
  #8   Spotlight this post!  
Unread 22-02-2011, 14:58
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Updated C-Rio and Labview now code doesnt do ANYTHING

So far it looks like the following have been deemed at least as (probably) not the problem:
-Communications: You were able to enable Teleop, which means that the Communications and Robot Code both show up on the DS.
-Independent of your Joysticks, as the Compressor is not starting.

What I would do:
-Make sure the DSC is connected: 37-pin cable on both ends, Digital Module. 12V,6V, 5V LED's should be on.
-Try running the Default Framework. If you can get Teleop Enabled and your Speed Controller's stop blinking (I don't know which ones are in the Default Framework, you will need to check that and make sure that they are Jaguar/Victor as appropriate) you should be good with your electrical connections, at least with those devices. More importantly that will show that your cRIO firmware image and DS Update are good.
__________________
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 20:33.

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