Tour systems » History » Version 3

Txinto Vaz, 12/19/2013 03:33 AM

1 1 Txinto Vaz
h1. Systems
2 1 Txinto Vaz
3 1 Txinto Vaz
We can see the system as a box with inputs and outputs.  The system is able to perform one, some of part of a function.  Internally, if the work to be done by the system is not trivial, it is divided into subsystems.  The system hierarchy is like an inverted tree where each node is a system, being more general and abstract on the top (root) and more concrete and specialized at the bottom (leafs).
4 1 Txinto Vaz
5 1 Txinto Vaz
We will visit some systems: the top most system of our tree (root) and one of the "leaf" nodes.
6 1 Txinto Vaz
7 1 Txinto Vaz
In the root node we can see a mechatronic module, with hardware and software functionalities (and thus, hardware and software inputs and outputs).  In the leaf one, pure software functionality and software inputs and outputs.
8 1 Txinto Vaz
9 1 Txinto Vaz
h2. The root system
10 1 Txinto Vaz
11 1 Txinto Vaz
Can be found at http://ucanca.gatatac.org/sub_systems/1-controlunit
12 1 Txinto Vaz
13 2 Txinto Vaz
{{iframe(http://ucanca.gatatac.org/sub_systems/1-controlunit,1200,400,yes)}}
14 1 Txinto Vaz
15 1 Txinto Vaz
We can see here these things:
16 1 Txinto Vaz
17 1 Txinto Vaz
* Left column:
18 1 Txinto Vaz
** System properties.
19 1 Txinto Vaz
** Connectors: J1, J2...
20 1 Txinto Vaz
*** Numbered pins with assigned flows.
21 1 Txinto Vaz
* Children view 
22 1 Txinto Vaz
** Tree view: we can see all the children subtree as a tree-view control, we can expand/collapse nodes, etc...  This view also includes connectors and flows.
23 1 Txinto Vaz
** First level children.
24 1 Txinto Vaz
* Function sub systems (or how the functions are "mapped" on this subsystem, to be described later).
25 1 Txinto Vaz
** We can see two behaviours satisfied by this system: CULowBeam and BCMParkLights.
26 3 Txinto Vaz
* Right column:
27 3 Txinto Vaz
** An automatically generated SVG diagram showing the box of this system, showing the connectors and the input/output flows.  This diagram is fully clickable to navigate directly to connectors or flows.  We can easily locate here the IN_BUT_IGNITION in the first pin of the J3 connector.  Note that a connector can have inputs and outputs, so it can be represented in left and right face of the box at once.
28 3 Txinto Vaz
** Automatic {{fn(code generation,in fact, in this root node the generated source code is useless, as this is a mechatronic hardware software module and will not be implemented in source code): we can see the declarations of the functions to call each of the included functions and the definition of shortcuts to access the DRE pool information from the source code of these functions.