ISSN: 2001-9211. Volume 1. Issue 4. september 2014
22 www.sjsr.se SOLVING COMPILATION PROBLEM WITH TRUETIME TOOLBOX AND WINDOWS ENVIRONMENT DIFFERENT PLATFORM (WIN XP & WIN7 /32BIT -64BIT) * Abdulmunem A. khudhir , ** Muthanna A.khudhair * M.Sc. Inst. Assistance, Dijlah University College Com!uter science De!t. ** M.Sc. Inst. Assistance, Dijlah University College Com!uter science De!t.
1. INTRODUCTION In simulation time may increase or falls short of real time, and therefore the TRUTI! mean simulation in e"act time e#ual to true. $e must distin%uish &etween the sense and meanin% of the Real time com'utin% is the com'uter o'erations in real time (as a tele'hone on the O'en )*N or 'lay %ames or any need to res'ond in real time and not &rea+ down com'uter o'eration. ,or e"am'le, while watchin% %ames on real time must not &e interru'ted for that 'art of the %ame would &e lost durin% &rea+s while watchin% the %ame re%istered will not &e affected &y the outa%e &ecause we can resume watchin% the moment of interru'tion. True Time is a !atla&-.imulin+/&ased simulator for real/time control systems. This tool&o" facilitates co/simulation of controller tas+ e"ecution in real/time +ernels, networ+ 011. It has &een de2elo'ed at 3und Uni2ersity since 1444 021. The simulator software consists of a .imulin+ &loc+ li&rary (,i%ure 15. This tool&o" 'ro2ides 'ossi&ility to write tas+s as !/files, C66 functions or call .imulin+ &loc+ dia%rams from within the code functions (,i%ure 25. True Time is &ased on .imulin+ the %ra'hical simulation en2ironment of !7T378, and consists of com'uter and networ+ &loc+s The True Time &loc+s are connected with ordinary .imulin+ &loc+s to form a real/time control system. The main feature of True Time is the 'ossi&ility of co/simulation of the interaction &etween the real/world continu/ ous dynamics and the com'uter architecture in the form of tas+ e"ecution and networ+ communication 091. Abstract This *a'er has disco2ered a way to sol2e com'ilation 'ro&lem of True time tool&o", a third/'arty tools inserts to !atla& for simulation 'ur'oses. Usin% the la&oratory matrices lan%ua%e (!atla&5 2ersion :.12, True time tool&o" 2.; 8eta, a 'ro&lem arises in the scientific la&oratories of Dijlah Uni2ersity Colle%e, where it is noted that com'uters runnin% under $indows <* with low re#uirement , within the normal installation of !atla& and 2isuals studio, shown to &e ineffecti2e due to the failure of com'ilation of files in the !atla& after added and tools file in the $indows, 'lus effectin% sto''in% of !i+ro'ic controller and shows some errors. *ro2en way 'ro2ed scala&ility tools to wor+ within hi%h 'erformance and all a''lications and 'ro%rams in the e"ist windows. "#$%&'DS( )'U# )IM#. DUC. C&M*I+A)I&, *'&-+#M. SIMU+A)I&,. MA)+A-.
The Swedish Journal of Scientific Research (sjsr) ISSN: 2001-9211. Volume 1. Issue 4. september 2014
29 www.sjsr.se True Time &loc+s include %enerally used networ+s as thernet, C7N, TD!7, ,D!7, Round Ro&in or .witched ther/ net5. It su''orts simulation of $ireless networ+s (=;2.11&-% $37N and =;2.1>.? @i%8ee5 and &attery/'owered de/ 2ices. In a &rief descri'tion we can say, that True Time is a small li&rary of simulation &loc+s which e"tends usa&ility of !atla&-.imulin+ to simulate discrete networ+ 'rocess control. True Time is a software com'osed of many files some were written in !atla& lan%ua%e (e"tension. m5 some were written in C66 (e"tension .c''5and some are .imulin+ file models ( e"tension .mdl5 true time software need to &e wor+s and used in the !atla& en2ironment. In this 'a'er we used 7 !7T378 'roduct 2ersion ( :.12 R2;11a5 $indows : A $indows <*(92-B?&it5. TRUTI! tool&o" 2.;/&eta: com'ati&le with windows. 7nd tested on the *CCs 378s of Dijlah Uni2ersity Colle%e its wor+in% without any 'ro&lems recorded. 2. .T7RTIND CO!*I37TION *7RT 1 IN TE !7T378 2.1 CON,I DUR TRU TI! <TN.I ON Install !atla& :.12.;.B9> (R2;11a5 or any !atla& 2ersion (R2;1; a5 or hi%her. Rune !atla& as an administrator. Co'y the Fernel and "am'les folders as shown in (,i%ure95 from inside (True time 2.;/&eta:5 folder then 'aste it in cur/ rent folder window in !7T378 (,i%ure ?5. Dou&le clic+ (Fernel5 folder in order to &e the current folder. Ty'e in the (Command window5 GGtrue time or dou&le clic+ on true time .mdl in the (current folderG +ernel folder5. In order to o'en true time e2en if you are in different directory, you ha2e to write a start/u' code. 2.2 .T7RT U* ,I3 Run !atla& as an administrator Then clic+ Gfile Gnew G scri't Co'y the code &elow and 'aste, correct the 'ath (CHI*ro%ram ,ilesI!7T378IR2;11aI+ernel5 accordin% to your e"/ act 'ath to sa2e the file to this 'ath 0?1. .eten2(JTTFRN3J, JCHI*ro%ram ,ilesI!7T378IR2;11aI+ernelJ5 K %eten2(JTTFRN3J5 7dd 'ath (%eten2 (JTTFRN3J55 7dd 'ath (strcat(%eten2(JTTFRN3J5, J-matla&-hel'J55 7dd 'ath (strcat(%eten2(JTTFRN3J5, J-matla&J55 .a2e as start/u' .m Ty'e in command window GGstart/u' Then ty'e GGtrue time It will o'en e2en if you are in different directory. 9. .T7RT CO!*I 37TION *7RT 2 IN $INDO$. Co'y true time folder to my Document in your com'uter Do to system 'ro'erties G7d2ance G n2ironment 2aria&les G .ystem 2aria&les G 'ath clic+ edit , Co'y the 'ath of FRN3 files in the windows then 'aste it in the system 2aria&les Gedit system 2aria&lesG *ath as shown in (,i%ure B5. The Swedish Journal of Scientific Research (sjsr) ISSN: 2001-9211. Volume 1. Issue 4. september 2014
2? www.sjsr.se 9.1 7DDI TI ON73 .O,T$7R 7dditional software is )isual studio 2;1;, .DF and NT ,ramewor+. 7fter installed )isual .tudio 2;1; or hi%her 2ersion and set the default com'iler C66 (,i%ure B5. Install !icrosoft $indows .DF, *latform .DF, and .NT ,ramewor+. !icrosoft $indows .DF, *latform .DF, and NT ,ramewor+ .DF are software de2elo'ment +its from !icrosoft that contain header files, li&raries, sam'les, documentation and tools re#uired to de2elo' a''lications for !icrosoft $indows and NT ,ramewor+ 0>1. 9.2 .T D,7U3T CO!*I 3R Do to command window in !atla&, and ty'eH GGme"/setu', you will see a messa%e to choose which com'iler, if there are more than one com'iler, to set C66 com'iler as default com'iler for TRUTI! tool&o" (,i%ure:5. GGma+e true time to com'ile +ernel files in !atla& and windows (,i%ure =5. ?. R.U3T. Chan%in% windows <* to windows : is not an o'tion, &ecause other 'ro%rammin% lan%ua%es (C66, tur&o *ascal5 &een teachin% in these 3a&oratories need windows <* to run in DO. en2ironment. $e installed additional software that ma+e all 'roducts wor+in% correctly without any errors in windows <* and windows :. >. CONC3U.ION. This 'a'er show a new a''roach of installin% tool&o" com'osed of many files, used additional software without re'lacin% com'uterCs system, this method is alternati2e way to installin% Ei%her lan%ua%es and tool&o" that re#uires system with hi%h 'ro'erties, on system with lower than their re#uired 'ro'erties. ,ree of errors ca'a&ilities to wor+ with other a''lications and 'ro%rams usin% same com'iler and resources. R,RNC. 1. T. Ch2oste+, 7. Frat+y, !. ,oltin L .I!U37TION O, NT$ORF U.IND TRUTI! TOO38O<L, Institute of Control and Industrial Informatics, ,aculty of Informatics and Information Technolo%ies, Il+o2iMo2a 9, =12 14 8ratisla2a, .lo2a+ Re'u&lic Institute of Control and Industrial Informatics, ,aculty of lectrical n%ineer/ in% and Information Technolo%y, Il+o2iMo2a 9, =12 14 8ratisla2a, .lo2a+ Re'u&lic. .N*RIN s.r.o., Oehrians+a 1;, =>1 ;: 8ratisla2a, .lo2a+ Re'u&lic 2. ,ar+as, P. EnQt R.I!U37TION O, NT$ORFD CONTRO3 .N.T!. U.IND TRUTI! R 9. !artin 7ndersson, Dan Eenri+sson, 7nton Cer2in and Farl/ri+ 7S rTeUn R.imulation of $ireless Networ+ed Control .ystemsL,De'artment of 7utomatic Control 3und Uni2ersity 8o" 11=, ./221 ;; 3und, .weden, ??th I Conference on Decision and Control, and the uro'ean Control Conference 2;;> .e2ille, .'ain, Decem&er 12/1>, 2;;>. ?. 7nton Cer2in, Dan Eenri+sson, !artin Ohlin RTRUTI! 2.;&etaVReference !anualL, De'artment of 7u/ tomatic Control 3und Uni2ersity Pune 2;1;. >. W$indows .DFH Download $indows .er2er 2;;= .DF and moreW. !icrosoft De2elo'er Networ+. !icrosoft Cor'oration. Retrie2ed B Decem&er 2;;4. The Swedish Journal of Scientific Research (sjsr) ISSN: 2001-9211. Volume 1. Issue 4. september 2014
2> www.sjsr.se
7**NDID.
,i%ure 1H TRUTI! 3i&rary
,i%ure 2H $ireless mode The Swedish Journal of Scientific Research (sjsr) ISSN: 2001-9211. Volume 1. Issue 4. september 2014
2B www.sjsr.se
,i%ure 9HTruetime folders
,i%ure ?H Current folder. The Swedish Journal of Scientific Research (sjsr) ISSN: 2001-9211. Volume 1. Issue 4. september 2014
2: www.sjsr.se
,i%ure >H 2isual studio 2;1;.
,i%ure BH 7d2ance system settin% The Swedish Journal of Scientific Research (sjsr) ISSN: 2001-9211. Volume 1. Issue 4. september 2014
2= www.sjsr.se
,i%ure :H Undefined com'iler
,i%ure =H Com'ilation &etween +ernelJs files in !atla& and windows The Swedish Journal of Scientific Research (sjsr) ISSN: 2001-9211. Volume 1. Issue 4. september 2014
24 www.sjsr.se
Address .or corres!ondence( Authors: 1. Abulmonem A.Khudhair , M.Sc. Inst. Assistance, Dijlah University College - Com- puter science Dept. E-mail: a&dulmunem.+hudhairXduc.edu.i# 2. Muthanna A.Khudhair , M.Sc. Inst. Assistance, Dijlah University College - Computer science Dept. E-mail: muthanna.+hudhairXduc.edu.i#
A Comparative Study For Reengineering Administrative Processes According To Educational Achievement in The Public Directorate of Sport Education, Ministry of Education - Iraq
The Swedish Journal of Scientific Research (SJSR) ISSN: 2001-9211