orchestrator.pr 1.57 KB
Newer Older
Maxime Perrotin's avatar
Maxime Perrotin committed
1
2
3
4
5
6
7
8
9
10
/* CIF PROCESS (295, 56), (150, 75) */
PROCESS orchestrator
/* CIF COMMENT (405, 192), (71, 35) */
COMMENT 'Hello';
    /* CIF TEXT (0, 94), (398, 312) */
    dcl seq tastE_Peek_id_list := { 1,2,3,4,5};

dcl a myEnum;

dcl fixed fixedIntList := { 1,2,3};
11
12
13
14

dcl anInt T_UInt32 :=0;

timer myTimer;
Maxime Perrotin's avatar
Maxime Perrotin committed
15
    /* CIF ENDTEXT */
16
    /* CIF START (621, 150), (80, 36) */
Maxime Perrotin's avatar
Maxime Perrotin committed
17
    START;
18
        /* CIF NEXTSTATE (626, 201), (68, 34) */
Maxime Perrotin's avatar
Maxime Perrotin committed
19
        NEXTSTATE Wait;
20
    /* CIF STATE (826, 354), (70, 35) */
Maxime Perrotin's avatar
Maxime Perrotin committed
21
    STATE next;
22
        /* CIF INPUT (826, 409), (70, 35) */
Maxime Perrotin's avatar
Maxime Perrotin committed
23
        INPUT *;
24
            /* CIF NEXTSTATE (826, 459), (70, 35) */
Maxime Perrotin's avatar
Maxime Perrotin committed
25
26
            NEXTSTATE wait;
    ENDSTATE;
27
    /* CIF STATE (626, 201), (68, 34) */
Maxime Perrotin's avatar
Maxime Perrotin committed
28
    STATE Wait;
29
        /* CIF INPUT (461, 255), (87, 35) */
Maxime Perrotin's avatar
Maxime Perrotin committed
30
        INPUT pulse(a);
31
            /* CIF PROCEDURECALL (407, 305), (193, 35) */
32
            CALL externalProc(anint, anint);
33
            /* CIF OUTPUT (447, 355), (114, 35) */
Maxime Perrotin's avatar
Maxime Perrotin committed
34
            OUTPUT telemetry(a);
35
            /* CIF OUTPUT (442, 405), (123, 35) */
Maxime Perrotin's avatar
Maxime Perrotin committed
36
            OUTPUT peek_list(seq);
37
            /* CIF OUTPUT (431, 455), (145, 35) */
Maxime Perrotin's avatar
Maxime Perrotin committed
38
            OUTPUT peek_fixed(fixed);
39
            /* CIF NEXTSTATE (469, 505), (70, 35) */
Maxime Perrotin's avatar
Maxime Perrotin committed
40
            NEXTSTATE next;
41
42
43
44
45
46
47
48
        /* CIF INPUT (652, 255), (122, 35) */
        INPUT Paramless_TC;
            /* CIF PROCEDURECALL (610, 305), (205, 35) */
            CALL writeln('Got Paramless TC');
            /* CIF OUTPUT (650, 355), (125, 35) */
            OUTPUT Paramless_TM;
            /* CIF NEXTSTATE (678, 405), (70, 35) */
            NEXTSTATE wait;
Maxime Perrotin's avatar
Maxime Perrotin committed
49
50
    ENDSTATE;
ENDPROCESS orchestrator;