Monthly Archives: February 2009

How to install Tracegraph in Linux (Fedora 9)

To Install Tracegraph in Fedora Linux (I used Fedora Core 9) Step download the Tracegraph software from this link Select Linux Version and download two files, mglinstaller.gz and tracegraph202.tar.gz copy the files under /home/pradeep/ (in my case it is /home/pradeep/) … Continue reading

Posted in Linux, Network Simulator 2 | Tagged , | 15 Comments

Runtime Error (Exception) Handling

ADA handles programmer defined exceptions and system defined exceptions Some of the system defined exceptions are like  NUMERIC_ERROR – raised whenever the abnormal precision in the program like divide by zero  STORAGE-ERROR – raised whenever the program runs out of … Continue reading

Posted in ADA, RealTimeSystems | Tagged , | Leave a comment

Packages in ADA

Benefits of Packages Packages can be compiled, debugged independently software maintenance is very easier Once package is developed, they can be made accessible to everyone who has access to it. packages provide more security             … Continue reading

Posted in ADA, RealTimeSystems | Tagged , | Leave a comment

Blocks and Procedures in ADA

Blocks A Block in ADA contains two parts specification and a body. The specification specifies the variable used inside the block and the body executes the statement for the block syntax block begin — — end The main purpose of blocks are … Continue reading

Posted in ADA, RealTimeSystems | Tagged , | Leave a comment

SunSPOT(Sun Small Programmable Object Technology)

SunSPOTs are embedded hardware modules that are equipped with a 180 MHz CPU, 512 KB RAM, 4MB flash memory, three on-board sensors (temperature, light and three-axis accelerometer), hardware interfaces for the integration of arbitrary external sensors, and the IEEE 802.15.4 … Continue reading

Posted in Java technology | Tagged | Leave a comment

ADA – Control Structures

if-then-else if yx:=4;elseif a=0 thenx:=6;elsed:=9;end if for …. do for i in 0..10 loopx(i) := i * j;end loop; while while x x:=x+i;end loop;case case x is when 1 => y:=x;when 2 => y:=0;when others => y:=-1;end case

Posted in ADA, RealTimeSystems | Tagged , | Leave a comment

ADA – Data types

Simple Data types//creates three variables for TEMPERATURE which is of type floattype TEMPERATURE is new float; ta, tb, tc: TEMPERATURE; //creates three variables for PRESSURE which is of type floattype PRESSURE is new float; pa, pb, pc: PRESSURE;ta=pa is illegal … Continue reading

Posted in ADA, RealTimeSystems | Tagged , | Leave a comment

ADA – programming language Features

Object oriented programming Strong typing Generic programming/templates Exception handling Facilities for modular organization of code Standard libraries for I/O, string handling, numeric computing Systems programming Concurrent programming Real-time programming Helps for periodic and event driven tasks Avoids unbounded priority inversion … Continue reading

Posted in ADA, RealTimeSystems | Tagged , | Leave a comment

Strongly Typed Language

What is a strongly typed language? Each variable must be declared with its own data type each data type should be associated with a value and operation (which operates on those values) implicit type conversions are not allowed explicit type … Continue reading

Posted in RealTimeSystems | Tagged | Leave a comment

Myopic Offline Scheduling Algorithm

Myopic Offline Scheduling is a multiprocessor Scheduling Algorithm This algorithm is meant for non preemptive tasks Since it is an offline scheduling algorithm, release time, deadline and execution time are known apriori. It proceeds like building up a schedule tree … Continue reading

Posted in RealTimeSystems | Tagged | 2 Comments