Go to Post No, nothing secret unless you include the following: will it work?, can it be driven and will it release the balls. - twolf [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 31-12-2008, 10:21
finman's Avatar
finman finman is offline
Programmer
AKA: Chris Finley
FRC #0888 (Robotiators)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Glenelg, MD
Posts: 16
finman is an unknown quantity at this point
No response from speed controllers

after installing all the updates and putting the newest cRIO image on the cRIO, our test robot works perfectly. as soon as i download the default labview code, i get no response from the speed controllers. where should i look to fix this?
__________________


"Red goes to black, right guys?" ~Mike Mascaro: Our Fearless Leader
  #2   Spotlight this post!  
Unread 31-12-2008, 10:45
keehun's Avatar
keehun keehun is offline
Team Captain
AKA: Keehun Nam
FRC #2502 (EP Robotics)
Team Role: Leadership
 
Join Date: May 2008
Rookie Year: 2008
Location: Eden Priaire
Posts: 474
keehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond repute
Send a message via AIM to keehun
Re: No response from speed controllers

You should check all the settings in the Basic Robot Main.vi (if you are using the basic setup). Maybe the USB ports are off, or perhaps it's not talking to the correct jaguar, etc.

Good luck,
keehun
  #3   Spotlight this post!  
Unread 31-12-2008, 11:03
finman's Avatar
finman finman is offline
Programmer
AKA: Chris Finley
FRC #0888 (Robotiators)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Glenelg, MD
Posts: 16
finman is an unknown quantity at this point
Re: No response from speed controllers

i believe that the problem is that we are not successfully deploying the code; it works while we have the program running on the computer, but as soon as the computer is disconnected, it won't run.
__________________


"Red goes to black, right guys?" ~Mike Mascaro: Our Fearless Leader
  #4   Spotlight this post!  
Unread 31-12-2008, 12:28
keehun's Avatar
keehun keehun is offline
Team Captain
AKA: Keehun Nam
FRC #2502 (EP Robotics)
Team Role: Leadership
 
Join Date: May 2008
Rookie Year: 2008
Location: Eden Priaire
Posts: 474
keehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond repute
Send a message via AIM to keehun
Re: No response from speed controllers

Quote:
Originally Posted by finman View Post
i believe that the problem is that we are not successfully deploying the code; it works while we have the program running on the computer, but as soon as the computer is disconnected, it won't run.
You can not disconnect the computer to the robot if you want the cRio program to run. I'm not sure what the cause is and I don't know how it'll be at the competition.
  #5   Spotlight this post!  
Unread 31-12-2008, 12:58
Tanner's Avatar
Tanner Tanner is offline
Registered User
FRC #1261 (Roblions)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Suwanee, GA
Posts: 311
Tanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to behold
Re: No response from speed controllers

Are you actually deploying the code to the cRIO (burning the image to the system and telling it to run on startup) or are you just flashing it to the cRIO (what happens by default)?

One will work with the computer (flashing) and one will run without any knowledge of a computer (burning/deploying).

-Tanner
  #6   Spotlight this post!  
Unread 31-12-2008, 16:16
Vikesrock's Avatar
Happy Birthday! Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: No response from speed controllers

Quote:
Originally Posted by keehun View Post
You can not disconnect the computer to the robot if you want the cRio program to run. I'm not sure what the cause is and I don't know how it'll be at the competition.
There are two main ways to get your code on the cRIO using Labview. One way loads the program into the cRio's RAM and requires a connection be maintained with the host computer. The other way deploys the program into the cRio's flash memory and does not allow for a computer connection for front-panel debugging (the computer can still be connected for the dashboard).

To read more about these two methods and how to perform each see Chapter 5 of the FRC Programming Guide specifically pages 5-6 and 5-7.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
  #7   Spotlight this post!  
Unread 31-12-2008, 11:41
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,356
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: No response from speed controllers

Quote:
Originally Posted by finman View Post
after installing all the updates and putting the newest cRIO image on the cRIO, our test robot works perfectly. as soon as i download the default labview code, i get no response from the speed controllers. where should i look to fix this?
I had the exact same problem. The root cause it that the correct DIO is not assigned by default.

Open the "Drive Open 2 motor" VI on the left side of the motion loop. Switch to the block diagram and add the slot number of the DIO you are using to the two "Motor Open Jaguar" vi's, the default would be "Slot 4".
__________________
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
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Speed controllers.... Denman Technical Discussion 14 07-10-2004 15:19
speed controllers archiver 2000 5 24-06-2002 00:19
Speed Controllers archiver 2000 2 24-06-2002 00:08
Speed Controllers archiver 2000 1 23-06-2002 23:01
Speed Controllers... Tom Schindler Technical Discussion 4 13-12-2001 17:26


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

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