A Simple example (adder) of the use of a predefined Graphical library.

This example is defined in the directory: /home/lbesnard/Polychrony/V4.19/Linux/Examples/usingGraphicalLibrary/Example1.

Algorithm

X:= A+B

with i/o done using a graphical user interface. This interface uses the predefined Signal Library called "libGraphis" (defined in the signal lib directory of Polychrony distribution).

Signal Programs

Compiling

Compile the program with the command:

          signal -tra -java ADDINT.SIG -par=ADDINT.PAR 

It produces in the ADDINT sub-directory, the files

Execution

Goto ADDINT sub-directory.

The data files for Graphical simulation are:

Compiling the Java code: the generated code must be modified.

Then

 All Files

Generated on Mon Jul 25 16:55:00 2011 for Polychrony, by  doxygen 1.6.1. This page has been designed by the Espresso team ( contact )