Go to Post We started FIRST to achieve a common goal and not only will we leave with more knowledge and wisdom, we will leave as friends and thats what really counts if you ask me. :cool: - Hick18 [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 23-01-2010, 14:54
Matt2081's Avatar
Matt2081 Matt2081 is offline
Software Mentor, Alumn
AKA: Matt Birkel
FRC #2081 (Icarus)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2005
Location: Peoria, IL
Posts: 27
Matt2081 is on a distinguished road
Deployed code not responding

We set up our control system on a board just like it says in chapter 2 of the control system manual. We set up our classmate, and logged into the driver account. After turning on the board, the "communication" light on the classmate lit up, but the battery voltage area went from having several dashes to nothing at all. Since the "robot code" light was red, I thought we had to load some code in it first for the battery voltage to show up.

I logged into the developer and started a project. I downloaded the default project, but the joysticks did not respond. Confused, I created a new VI: a very basic one that simply opens a joystick, reads it in a loop and displays it with an indicator, and then closes the joystick after the loop (it also includes a start communications VI and a stop communications VI in the appropriate places). I deployed that, and none of the joysticks would read in any USB port.

I have been working with this for several days now, switching cables, re-imaging the cRIO, changing ports, etc. trying to get it to work. Does anyone know what I might be doing wrong? Has anyone else had this problem?
__________________

-------------------------------------------------------------------
2011 Boilermaker Regional Winner
2011 Boilermaker Motorola Quality Award Winner
2010 Boilermaker Regional Finalist
2009 Boilermaker General Motors Industrial Design Award Winner
2008 Boilermaker Engineering Inspiration Award Winner
2007 Boilermaker Rookie All-Star Award Winner
Reply With Quote
  #2   Spotlight this post!  
Unread 23-01-2010, 21:11
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Deployed code not responding

You don't mention enabling the robot on the driver station.

Once you have code running, you should run the driver station either on the development computer or on the classmate. If on the same computer, launch it from the Start menu. If using multiple computers, plug everything into the same switch.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 25-01-2010, 15:20
2544HCRC's Avatar
2544HCRC 2544HCRC is offline
Registered User
FRC #2544 (HCRC)
Team Role: Coach
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Harborcreek, PA
Posts: 56
2544HCRC has a spectacular aura about2544HCRC has a spectacular aura about2544HCRC has a spectacular aura about
Re: Deployed code not responding

Full disclamer: I am brand new to this and so am sharing my experiences. Take all of this with a grain of salt.

Make sure you have the code set to "run on startup" I know this was selected once before, but you seem to need to do this each time you load a program. Second, the classmate seems to need to be connected and you need to log in under drivers station in order to get things to work. I'm very new to this whole thing and am not sure what bit of magic is performed, but I do know the driver station is critical.

We found this out yesterday when trying to get the joystick input example to work. We had the whole thing working and then it wasn't again. Nothing would work until we plugged in the driver station. Then we could get everything to work. Make sure the driver station is set to the .5 address and the (seperate) developer station is .6

Good luck!
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
CRio Not Responding Shadow_Cat NI LabVIEW 7 13-02-2009 08:12
servos not responding to camera code windell747 Programming 10 01-02-2009 16:16
Motors not responding to joysticks indubitably FRC Control System 6 08-01-2009 16:14
Camera Not Responding To Code itzrobz Programming 2 05-02-2006 12:47
CMUcam default code not responding Kyveck Programming 29 26-01-2006 16:25


All times are GMT -5. The time now is 05:55.

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