View Single Post
  #7   Spotlight this post!  
Unread 19-01-2004, 01:06
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
Re: Placement of Navigate ()

Quote:
Originally Posted by Adam Shapiro
I haven't worked too much with the new code as of yet as I've been doing electrical systems so far but from my understanding the Process_Data_From_Local_IO() function is called with every program loop. Is there any reason for putting your Navigate() function in this rather than the time-controlled process function?

Second, the Putdata() function is declared in the IFI_default.h file, making it global to all functions in files including this file. The function should be usable within your Navigate() function or any other function you declare.
Yeah, I was aware that you could call Putdata() anywhere, but I saw references to the fact that this code was used in the Kickoff demo, so I figured either I accidentally deleted something, or it did something I didn't understand.

I still don't see any reason for putting Navigate() in the user_routines_fast.c file though.
__________________
AIM --> Woloi
Email --> ian@woloschin.com