Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
RTOS TimeSlice Shell For ZX-xx Microcontrollers

 
Post new topic   Reply to topic    Forum Index -> Files
Author Message
zbasicandy



Joined: 26 Jan 2006
Posts: 193

Posted: 25 May 2006, 17:28 PM    Post subject: RTOS TimeSlice Shell For ZX-xx Microcontrollers Reply with quote

With the RTOS_Timeslice_R1.bas "locked timeslice" code you can do the following:

#1 Execute any number of tasks at regular locked intervals.(e.g. every 20 ms./100 ms./500 ms.)
Blocks of user code can executed in the non-interleaved multitasking interval mode.
#2 You can choose the frequency of executing each task by altering the Time_Class_x_Counter_Max.
#3 You can choose the order of execution by having the most important task first.
#4 You can have the slow, infrequent tasks run in the periodic background in the Sub "Main Do/Loop".
#5 PID can be easily implemented in this fixed non-interleaved interval multitasking routine.
Note: PID requires a fixed "non-interleaved" timeslice for the PID calculations and tuning.



RTOS_Timeslice_R1.bas
 Description:
RTOS TimeSlice Shell

Download
 Filename:  RTOS_Timeslice_R1.bas
 Filesize:  20.17 KB
 Downloaded:  3364 Time(s)

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> Files Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group