Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Speed of user_routines_fast.c (http://www.chiefdelphi.com/forums/showthread.php?t=34987)

JoeFryman 19-02-2005 18:42

Speed of user_routines_fast.c
 
How often does user_routines_fast.c execute (as in time)?? :confused:

colt527 19-02-2005 18:48

Re: Speed of user_routines_fast.c
 
Well, the autonomous section goes every 26.3ms i think.

Don Reid 20-02-2005 01:09

Re: Speed of user_routines_fast.c
 
In normal mode Process_Data_From_Local_IO() is called over and over as fast as it can be. How often it runs depends on what it does (how long that takes).
If you have access to an oscilloscope and want to measure how long your code takes, you can pulse or toggle a digital output each time through and measure it.

In autonomous mode, User_Autonomous_Code() is called once, but it has a
loop inside it which runs once every 26 ms. It exits when autonomous mode ends.

These are both called from main() in main.c.


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi