Go to Post Successful teams - in almost any aspect of life (i.e. not just robotics) - don't make excuses and assign blame when something goes wrong. They improvise. They adapt. They overcome. They correct the problem and move on. - dlavery [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 29-01-2007, 19:41
iwdu15 iwdu15 is offline
Registered User
FRC #0811
 
Join Date: Feb 2006
Location: NH
Posts: 10
iwdu15 is an unknown quantity at this point
GTS strange behavior

Hi, im working on the GTS code for our teams robot and ive hit a roadblock of sorts. I have tried using the 2007 default code for the GTS and put printf statements in the encoder initialization function, yet nothing is ever printed. the interrupt handler is also never executed. there is no "Phase B" code and the encoder is wired into the Digital Input 1 input. The Initialize code for the encoders is in the User_Initialization function:

printf("Initializing Encoders......\r\n");
Initialize_Encoders();

printf("Encoders init done!");

both printf statements are executed, however the InitializeEncoders function is not executed:

//first few lines

void Initialize_Encoders(void)
{

printf("initializing encoder 1 \r\n");
//rest of init code here...


whats going on? Thanks

--iwdu15
--Team 811
 


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
How the GTS works? Bomberofdoom Programming 6 25-01-2007 21:46
GTS Counting gnirts Programming 13 21-04-2006 21:15
GTS code Problems caderader Programming 8 13-02-2006 19:23
Strange Behavior Gary Bonner Control System 17 09-11-2005 19:01


All times are GMT -5. The time now is 04:16.

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