This example is defined in the directory: /home/lbesnard/Polychrony/V4.19/Linux/Examples/oscillo.
- OSCILLO.gpk Graphical Signal program
- OSCILLO.SIG Textual Signal program
- DISPLAY.SIG Signal library
This program receives a signal Y (-1<Y<+1) (by external function yonly) that must be displayed by package of N and one package (received in the same time as the first package of Y) which is always displayed (X-axis, reference curve,... by YREF).
- OSCILLO.gpk source using a library called DISPLAY. The display represents the outdistance between these 2 curves (YREF-YONLY).
- OSCILLO.PAR file of parameters (for both programs):
- N size of the package
- v0 initial factor of deceleration (1 the fastest)
- WIDTH screen width in pixels
- HEIGHT screen height, the negative numbers are displayed in the inferior part
External modules/files (DON'T DELETE THEM)
- GRAPHICAL INTERFACE (sub-directory OSCILLO):
- appli_decl.h, graphical_const.h,
- MOSCILLO.c mkwindows.c EOSCILLO.c pacemakerd.c
- yonly.c
- demownet.par: parameters loaded by yonly.c module.
- data: RYREF.dat reference curve
signal -tra -c OSCILLO.SIG -par=OSCILLO.PAR
then, in sub-directory OSCILLO
Restriction (for simulation): Graphical simulation on Unix only