tests/python/plc.xml
author Edouard Tisserant <edouard.tisserant@gmail.com>
Thu, 10 Dec 2020 11:37:27 +0100
changeset 2697 93333d206198
parent 2692 d4bede6cd3f1
permissions -rw-r--r--
Python Safe Globals now have more reliable triggering of OnChange call. Added "Onchange" object to accessible runtime variables that let user python code see count of changes and first and last values.
1401
611fded24ce4 Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python
Edouard Tisserant
parents: 1145
diff changeset
     1
<?xml version='1.0' encoding='utf-8'?>
611fded24ce4 Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python
Edouard Tisserant
parents: 1145
diff changeset
     2
<project xmlns="http://www.plcopen.org/xml/tc6_0201" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xhtml="http://www.w3.org/1999/xhtml" xsi:schemaLocation="http://www.plcopen.org/xml/tc6_0201">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
     3
  <fileHeader companyName="" productName="Beremiz" productVersion="0.0" creationDateTime="2008-12-14T16:21:19" contentDescription="This example shows many features in Beremiz:&#10;&#10;   1. How to implement python extensions.&#10;   2. How to implement basic C extension.&#10;   3. How to use C code in IEC POUs.&#10;   4. How to call C functions from python code.&#10;   5. How to avoid race conditions between IEC, C and python code.&#10;   6. How to convert betweet different IEC types.&#10;"/>
2692
d4bede6cd3f1 PY_EXT: OnChange is now a coma separated list of callables. Updated tests/python accordingly.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 2680
diff changeset
     4
  <contentHeader name="Beremiz Python Support Tests" modificationDateTime="2020-10-19T23:53:08">
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
     5
    <coordinateInfo>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
     6
      <pageSize x="1024" y="1024"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
     7
      <fbd>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
     8
        <scaling x="5" y="5"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
     9
      </fbd>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    10
      <ld>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    11
        <scaling x="5" y="5"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    12
      </ld>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    13
      <sfc>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    14
        <scaling x="5" y="5"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    15
      </sfc>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    16
    </coordinateInfo>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    17
  </contentHeader>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    18
  <types>
861
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    19
    <dataTypes>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    20
      <dataType name="CPLX_TYPE">
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    21
        <baseType>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    22
          <struct>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    23
            <variable name="FIRSTBYTE">
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    24
              <type>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    25
                <SINT/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    26
              </type>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    27
            </variable>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    28
            <variable name="SECONDBYTE">
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    29
              <type>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    30
                <SINT/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    31
              </type>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    32
            </variable>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    33
          </struct>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    34
        </baseType>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    35
      </dataType>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
    36
      <dataType name="StateMachine">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
    37
        <baseType>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
    38
          <enum>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
    39
            <values>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
    40
              <value name="STANDBY"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
    41
              <value name="START"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
    42
              <value name="STOP"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
    43
            </values>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
    44
          </enum>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
    45
        </baseType>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
    46
      </dataType>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
    47
      <dataType name="datatype0">
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
    48
        <baseType>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
    49
          <BOOL/>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
    50
        </baseType>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
    51
      </dataType>
2626
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
    52
      <dataType name="blups">
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
    53
        <baseType>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
    54
          <array>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
    55
            <dimension lower="0" upper="31"/>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
    56
            <baseType>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
    57
              <derived name="CPLX_TYPE"/>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
    58
            </baseType>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
    59
          </array>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
    60
        </baseType>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
    61
      </dataType>
861
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
    62
    </dataTypes>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    63
    <pous>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    64
      <pou name="main_pytest" pouType="program">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    65
        <interface>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    66
          <localVars>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
    67
            <variable name="mux1_sel">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
    68
              <type>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
    69
                <INT/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
    70
              </type>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
    71
              <initialValue>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
    72
                <simpleValue value="3"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
    73
              </initialValue>
2626
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
    74
              <documentation>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
    75
                <xhtml:p><![CDATA[blah]]></xhtml:p>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
    76
              </documentation>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
    77
            </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
    78
            <variable name="mux2_sel">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
    79
              <type>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
    80
                <INT/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
    81
              </type>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
    82
              <initialValue>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
    83
                <simpleValue value="3"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
    84
              </initialValue>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
    85
            </variable>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    86
            <variable name="pytest_var1">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    87
              <type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    88
                <string/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    89
              </type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    90
            </variable>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
    91
            <variable name="fefvsd">
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
    92
              <type>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
    93
                <derived name="datatype0"/>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
    94
              </type>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
    95
            </variable>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    96
            <variable name="pytest_var2">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    97
              <type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    98
                <BOOL/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    99
              </type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   100
            </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   101
            <variable name="py1">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   102
              <type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   103
                <derived name="python_eval"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   104
              </type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   105
            </variable>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   106
            <variable name="Block1">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   107
              <type>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   108
                <derived name="python_eval"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   109
              </type>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   110
            </variable>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   111
            <variable name="Block2">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   112
              <type>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   113
                <derived name="python_eval"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   114
              </type>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   115
            </variable>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   116
            <variable name="Block3">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   117
              <type>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   118
                <derived name="python_eval"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   119
              </type>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   120
            </variable>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   121
            <variable name="pytest_var3">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   122
              <type>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   123
                <BOOL/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   124
              </type>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   125
            </variable>
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   126
            <variable name="FromC">
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   127
              <type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   128
                <SINT/>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   129
              </type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   130
            </variable>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   131
            <variable name="C_Pragma0">
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   132
              <type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   133
                <derived name="C_Pragma"/>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   134
              </type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   135
            </variable>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   136
          </localVars>
1099
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   137
          <externalVars>
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   138
            <variable name="TestInput">
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   139
              <type>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   140
                <SINT/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   141
              </type>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   142
            </variable>
1099
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   143
            <variable name="TestOutput">
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   144
              <type>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   145
                <SINT/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   146
              </type>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   147
            </variable>
1099
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   148
          </externalVars>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   149
          <localVars>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   150
            <variable name="FromInput">
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   151
              <type>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   152
                <SINT/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   153
              </type>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   154
            </variable>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   155
            <variable name="Test_BCD">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   156
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   157
                <WORD/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   158
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   159
              <initialValue>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   160
                <simpleValue value="151"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   161
              </initialValue>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   162
            </variable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   163
            <variable name="Test_BCD_WRONG">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   164
              <type>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   165
                <WORD/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   166
              </type>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   167
              <initialValue>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   168
                <simpleValue value="154"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   169
              </initialValue>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   170
            </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   171
            <variable name="Test_BCD_CONVERTED">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   172
              <type>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   173
                <BOOL/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   174
              </type>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   175
            </variable>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   176
            <variable name="Test_BCD_RESULT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   177
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   178
                <UINT/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   179
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   180
            </variable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   181
            <variable name="Test_BCD_WRONG_RESULT">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   182
              <type>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   183
                <UINT/>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   184
              </type>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   185
            </variable>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   186
            <variable name="Test_DT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   187
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   188
                <DT/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   189
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   190
              <initialValue>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   191
                <simpleValue value="DT#2013-02-23-22:35:46"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   192
              </initialValue>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   193
            </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   194
            <variable name="Test_TOD">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   195
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   196
                <TOD/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   197
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   198
            </variable>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   199
            <variable name="Test_TOD_STRING">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   200
              <type>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   201
                <string/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   202
              </type>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   203
            </variable>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   204
            <variable name="Test_Date">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   205
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   206
                <DATE/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   207
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   208
            </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   209
            <variable name="Test_String">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   210
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   211
                <string/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   212
              </type>
918
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
   213
              <initialValue>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
   214
                <simpleValue value="test"/>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
   215
              </initialValue>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   216
            </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   217
            <variable name="Test_Bool">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   218
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   219
                <BOOL/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   220
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   221
            </variable>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   222
          </localVars>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   223
          <externalVars>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   224
            <variable name="Global_RS">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   225
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   226
                <derived name="RS"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   227
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   228
            </variable>
1013
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   229
            <variable name="TUTU">
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   230
              <type>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   231
                <INT/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   232
              </type>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   233
            </variable>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   234
            <variable name="TOTO">
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   235
              <type>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   236
                <INT/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   237
              </type>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   238
            </variable>
1145
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   239
            <variable name="Test_Python_Var">
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   240
              <type>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   241
                <INT/>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   242
              </type>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   243
            </variable>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   244
            <variable name="Second_Python_Var">
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   245
              <type>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   246
                <INT/>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   247
              </type>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   248
            </variable>
2680
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   249
            <variable name="Grumpf">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   250
              <type>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   251
                <string/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   252
              </type>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   253
            </variable>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   254
          </externalVars>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   255
          <localVars>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   256
            <variable name="RTC0">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   257
              <type>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   258
                <derived name="RTC"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   259
              </type>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   260
            </variable>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   261
          </localVars>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   262
          <externalVars>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   263
            <variable name="SomeVarName">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   264
              <type>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   265
                <DINT/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   266
              </type>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   267
            </variable>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   268
          </externalVars>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   269
        </interface>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   270
        <body>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   271
          <FBD>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   272
            <inVariable localId="4" height="30" width="160" executionOrderId="0" negated="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   273
              <position x="295" y="450"/>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   274
              <connectionPointOut>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   275
                <relPosition x="160" y="15"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   276
              </connectionPointOut>
2680
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
   277
              <expression>'666'</expression>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   278
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   279
            <block localId="5" width="125" height="80" typeName="python_eval" instanceName="py1" executionOrderId="0">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   280
              <position x="686" y="400"/>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   281
              <inputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   282
                <variable formalParameter="TRIG">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   283
                  <connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   284
                    <relPosition x="0" y="35"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   285
                    <connection refLocalId="7" formalParameter="OUT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   286
                      <position x="686" y="435"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   287
                      <position x="285" y="435"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   288
                      <position x="285" y="480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   289
                      <position x="250" y="480"/>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   290
                    </connection>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   291
                  </connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   292
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   293
                <variable formalParameter="CODE">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   294
                  <connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   295
                    <relPosition x="0" y="65"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   296
                    <connection refLocalId="4">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   297
                      <position x="686" y="465"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   298
                      <position x="455" y="465"/>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   299
                    </connection>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   300
                  </connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   301
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   302
              </inputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   303
              <inOutVariables/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   304
              <outputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   305
                <variable formalParameter="ACK">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   306
                  <connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   307
                    <relPosition x="125" y="35"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   308
                  </connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   309
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   310
                <variable formalParameter="RESULT">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   311
                  <connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   312
                    <relPosition x="125" y="65"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   313
                  </connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   314
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   315
              </outputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   316
            </block>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   317
            <block localId="7" width="70" height="45" typeName="NOT" executionOrderId="0">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   318
              <position x="180" y="450"/>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   319
              <inputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   320
                <variable formalParameter="IN">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   321
                  <connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   322
                    <relPosition x="0" y="30"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   323
                    <connection refLocalId="3">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   324
                      <position x="180" y="480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   325
                      <position x="155" y="480"/>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   326
                    </connection>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   327
                  </connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   328
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   329
              </inputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   330
              <inOutVariables/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   331
              <outputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   332
                <variable formalParameter="OUT">
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   333
                  <connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   334
                    <relPosition x="70" y="30"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   335
                  </connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   336
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   337
              </outputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   338
            </block>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   339
            <inOutVariable localId="3" height="30" width="120" executionOrderId="0" negatedOut="false" negatedIn="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   340
              <position x="35" y="465"/>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   341
              <connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   342
                <relPosition x="0" y="15"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   343
                <connection refLocalId="7" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   344
                  <position x="35" y="480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   345
                  <position x="25" y="480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   346
                  <position x="25" y="440"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   347
                  <position x="270" y="440"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   348
                  <position x="270" y="480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   349
                  <position x="250" y="480"/>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   350
                </connection>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   351
              </connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   352
              <connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   353
                <relPosition x="120" y="15"/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   354
              </connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   355
              <expression>pytest_var2</expression>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   356
            </inOutVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   357
            <block localId="8" width="125" height="80" typeName="python_eval" instanceName="Block1" executionOrderId="0">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   358
              <position x="686" y="545"/>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   359
              <inputVariables>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   360
                <variable formalParameter="TRIG">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   361
                  <connectionPointIn>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   362
                    <relPosition x="0" y="35"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   363
                    <connection refLocalId="7" formalParameter="OUT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   364
                      <position x="686" y="580"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   365
                      <position x="285" y="580"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   366
                      <position x="285" y="480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   367
                      <position x="250" y="480"/>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   368
                    </connection>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   369
                  </connectionPointIn>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   370
                </variable>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   371
                <variable formalParameter="CODE">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   372
                  <connectionPointIn>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   373
                    <relPosition x="0" y="65"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   374
                    <connection refLocalId="9">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   375
                      <position x="686" y="610"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   376
                      <position x="665" y="610"/>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   377
                    </connection>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   378
                  </connectionPointIn>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   379
                </variable>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   380
              </inputVariables>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   381
              <inOutVariables/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   382
              <outputVariables>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   383
                <variable formalParameter="ACK">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   384
                  <connectionPointOut>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   385
                    <relPosition x="125" y="35"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   386
                  </connectionPointOut>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   387
                </variable>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   388
                <variable formalParameter="RESULT">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   389
                  <connectionPointOut>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   390
                    <relPosition x="125" y="65"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   391
                  </connectionPointOut>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   392
                </variable>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   393
              </outputVariables>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   394
            </block>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   395
            <inVariable localId="9" height="30" width="370" executionOrderId="0" negated="false">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   396
              <position x="295" y="595"/>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   397
              <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   398
                <relPosition x="370" y="15"/>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   399
              </connectionPointOut>
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   400
              <expression>'sys.stdout.write("FBID :"+str(FBID)+"\n")'</expression>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   401
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   402
            <inVariable localId="11" height="30" width="290" executionOrderId="0" negated="false">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   403
              <position x="295" y="735"/>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   404
              <connectionPointOut>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   405
                <relPosition x="290" y="15"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   406
              </connectionPointOut>
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   407
              <expression>'PLCBinary.Simple_C_Call(5678)'</expression>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   408
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   409
            <block localId="12" width="125" height="80" typeName="python_eval" instanceName="Block2" executionOrderId="0">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   410
              <position x="686" y="687"/>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   411
              <inputVariables>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   412
                <variable formalParameter="TRIG">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   413
                  <connectionPointIn>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   414
                    <relPosition x="0" y="33"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   415
                    <connection refLocalId="7" formalParameter="OUT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   416
                      <position x="686" y="720"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   417
                      <position x="285" y="720"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   418
                      <position x="285" y="480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   419
                      <position x="250" y="480"/>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   420
                    </connection>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   421
                  </connectionPointIn>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   422
                </variable>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   423
                <variable formalParameter="CODE">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   424
                  <connectionPointIn>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   425
                    <relPosition x="0" y="63"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   426
                    <connection refLocalId="11">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   427
                      <position x="686" y="750"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   428
                      <position x="585" y="750"/>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   429
                    </connection>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   430
                  </connectionPointIn>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   431
                </variable>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   432
              </inputVariables>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   433
              <inOutVariables/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   434
              <outputVariables>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   435
                <variable formalParameter="ACK">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   436
                  <connectionPointOut>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   437
                    <relPosition x="125" y="33"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   438
                  </connectionPointOut>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   439
                </variable>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   440
                <variable formalParameter="RESULT">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   441
                  <connectionPointOut>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   442
                    <relPosition x="125" y="63"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   443
                  </connectionPointOut>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   444
                </variable>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   445
              </outputVariables>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   446
            </block>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   447
            <inVariable localId="14" height="30" width="290" executionOrderId="0" negated="false">
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   448
              <position x="290" y="885"/>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   449
              <connectionPointOut>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   450
                <relPosition x="290" y="15"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   451
              </connectionPointOut>
734
5c42cafaee15 Moved LPC sources to a separate project
Edouard Tisserant
parents: 729
diff changeset
   452
              <expression>'MyPythonFunc(42)'</expression>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   453
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   454
            <block localId="15" width="125" height="80" typeName="python_eval" instanceName="Block3" executionOrderId="0">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   455
              <position x="686" y="837"/>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   456
              <inputVariables>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   457
                <variable formalParameter="TRIG">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   458
                  <connectionPointIn>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   459
                    <relPosition x="0" y="33"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   460
                    <connection refLocalId="7" formalParameter="OUT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   461
                      <position x="686" y="870"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   462
                      <position x="285" y="870"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   463
                      <position x="285" y="480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   464
                      <position x="250" y="480"/>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   465
                    </connection>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   466
                  </connectionPointIn>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   467
                </variable>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   468
                <variable formalParameter="CODE">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   469
                  <connectionPointIn>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   470
                    <relPosition x="0" y="63"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   471
                    <connection refLocalId="14">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   472
                      <position x="686" y="900"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   473
                      <position x="580" y="900"/>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   474
                    </connection>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   475
                  </connectionPointIn>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   476
                </variable>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   477
              </inputVariables>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   478
              <inOutVariables/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   479
              <outputVariables>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   480
                <variable formalParameter="ACK">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   481
                  <connectionPointOut>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   482
                    <relPosition x="125" y="33"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   483
                  </connectionPointOut>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   484
                </variable>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   485
                <variable formalParameter="RESULT">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   486
                  <connectionPointOut>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   487
                    <relPosition x="125" y="63"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   488
                  </connectionPointOut>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   489
                </variable>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   490
              </outputVariables>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   491
            </block>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   492
            <comment localId="16" height="90" width="680">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   493
              <position x="35" y="275"/>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   494
              <content>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   495
                <xhtml:p><![CDATA[This part of the example test that, despite of 2T period clock stimulating TRIG pin of pyth_eval blocks, blocks keep executing one after the other, in respect of execution order.]]></xhtml:p>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   496
              </content>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   497
            </comment>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   498
            <block localId="17" width="80" height="120" typeName="MUX" executionOrderId="0">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   499
              <position x="1101" y="790"/>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   500
              <inputVariables>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   501
                <variable formalParameter="K">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   502
                  <connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   503
                    <relPosition x="0" y="30"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   504
                    <connection refLocalId="18">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   505
                      <position x="1101" y="820"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   506
                      <position x="1076" y="820"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   507
                      <position x="1076" y="810"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   508
                      <position x="1060" y="810"/>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   509
                    </connection>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   510
                  </connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   511
                </variable>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   512
                <variable formalParameter="IN0">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   513
                  <connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   514
                    <relPosition x="0" y="50"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   515
                    <connection refLocalId="5" formalParameter="RESULT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   516
                      <position x="1101" y="840"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   517
                      <position x="941" y="840"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   518
                      <position x="941" y="465"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   519
                      <position x="811" y="465"/>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   520
                    </connection>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   521
                  </connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   522
                </variable>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   523
                <variable formalParameter="IN1">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   524
                  <connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   525
                    <relPosition x="0" y="70"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   526
                    <connection refLocalId="8" formalParameter="RESULT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   527
                      <position x="1101" y="860"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   528
                      <position x="926" y="860"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   529
                      <position x="926" y="610"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   530
                      <position x="811" y="610"/>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   531
                    </connection>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   532
                  </connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   533
                </variable>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   534
                <variable formalParameter="IN2">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   535
                  <connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   536
                    <relPosition x="0" y="90"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   537
                    <connection refLocalId="12" formalParameter="RESULT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   538
                      <position x="1101" y="880"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   539
                      <position x="911" y="880"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   540
                      <position x="911" y="750"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   541
                      <position x="811" y="750"/>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   542
                    </connection>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   543
                  </connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   544
                </variable>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   545
                <variable formalParameter="IN3">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   546
                  <connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   547
                    <relPosition x="0" y="110"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   548
                    <connection refLocalId="15" formalParameter="RESULT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   549
                      <position x="1101" y="900"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   550
                      <position x="811" y="900"/>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   551
                    </connection>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   552
                  </connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   553
                </variable>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   554
              </inputVariables>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   555
              <inOutVariables/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   556
              <outputVariables>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   557
                <variable formalParameter="OUT">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   558
                  <connectionPointOut>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   559
                    <relPosition x="80" y="30"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   560
                  </connectionPointOut>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   561
                </variable>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   562
              </outputVariables>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   563
            </block>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   564
            <outVariable localId="19" height="35" width="125" executionOrderId="0" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   565
              <position x="1271" y="805"/>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   566
              <connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   567
                <relPosition x="0" y="15"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   568
                <connection refLocalId="17" formalParameter="OUT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   569
                  <position x="1271" y="820"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   570
                  <position x="1181" y="820"/>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   571
                </connection>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   572
              </connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   573
              <expression>pytest_var1</expression>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   574
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   575
            <block localId="21" width="80" height="120" typeName="MUX" executionOrderId="0">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   576
              <position x="1106" y="385"/>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   577
              <inputVariables>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   578
                <variable formalParameter="K">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   579
                  <connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   580
                    <relPosition x="0" y="30"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   581
                    <connection refLocalId="22">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   582
                      <position x="1106" y="415"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   583
                      <position x="1076" y="415"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   584
                      <position x="1076" y="405"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   585
                      <position x="1055" y="405"/>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   586
                    </connection>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   587
                  </connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   588
                </variable>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   589
                <variable formalParameter="IN0">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   590
                  <connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   591
                    <relPosition x="0" y="50"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   592
                    <connection refLocalId="5" formalParameter="ACK">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   593
                      <position x="1106" y="435"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   594
                      <position x="811" y="435"/>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   595
                    </connection>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   596
                  </connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   597
                </variable>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   598
                <variable formalParameter="IN1">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   599
                  <connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   600
                    <relPosition x="0" y="70"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   601
                    <connection refLocalId="8" formalParameter="ACK">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   602
                      <position x="1106" y="455"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   603
                      <position x="841" y="455"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   604
                      <position x="841" y="580"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   605
                      <position x="811" y="580"/>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   606
                    </connection>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   607
                  </connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   608
                </variable>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   609
                <variable formalParameter="IN2">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   610
                  <connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   611
                    <relPosition x="0" y="90"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   612
                    <connection refLocalId="12" formalParameter="ACK">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   613
                      <position x="1106" y="475"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   614
                      <position x="856" y="475"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   615
                      <position x="856" y="720"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   616
                      <position x="811" y="720"/>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   617
                    </connection>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   618
                  </connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   619
                </variable>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   620
                <variable formalParameter="IN3">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   621
                  <connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   622
                    <relPosition x="0" y="110"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   623
                    <connection refLocalId="15" formalParameter="ACK">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   624
                      <position x="1106" y="495"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   625
                      <position x="871" y="495"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   626
                      <position x="871" y="870"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   627
                      <position x="811" y="870"/>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   628
                    </connection>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   629
                  </connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   630
                </variable>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   631
              </inputVariables>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   632
              <inOutVariables/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   633
              <outputVariables>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   634
                <variable formalParameter="OUT">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   635
                  <connectionPointOut>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   636
                    <relPosition x="80" y="30"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   637
                  </connectionPointOut>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   638
                </variable>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   639
              </outputVariables>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   640
            </block>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   641
            <inVariable localId="22" height="30" width="74" executionOrderId="0" negated="false">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   642
              <position x="981" y="390"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   643
              <connectionPointOut>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   644
                <relPosition x="74" y="15"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   645
              </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   646
              <expression>mux1_sel</expression>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   647
            </inVariable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   648
            <outVariable localId="23" height="35" width="125" executionOrderId="0" negated="false">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   649
              <position x="1271" y="400"/>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   650
              <connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   651
                <relPosition x="0" y="15"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   652
                <connection refLocalId="21" formalParameter="OUT">
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   653
                  <position x="1271" y="415"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   654
                  <position x="1186" y="415"/>
283
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   655
                </connection>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   656
              </connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   657
              <expression>pytest_var3</expression>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   658
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   659
            <outVariable localId="25" height="30" width="60" executionOrderId="0" negated="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   660
              <position x="320" y="1075"/>
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   661
              <connectionPointIn>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   662
                <relPosition x="0" y="15"/>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   663
                <connection refLocalId="26" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   664
                  <position x="320" y="1090"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   665
                  <position x="265" y="1090"/>
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   666
                </connection>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   667
              </connectionPointIn>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   668
              <expression>FromC</expression>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   669
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   670
            <inVariable localId="1" height="30" width="30" executionOrderId="0" negated="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   671
              <position x="105" y="1075"/>
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   672
              <connectionPointOut>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   673
                <relPosition x="30" y="15"/>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   674
              </connectionPointOut>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   675
              <expression>23</expression>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   676
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   677
            <block localId="26" width="80" height="45" typeName="C_Pragma" instanceName="C_Pragma0" executionOrderId="0">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   678
              <position x="185" y="1060"/>
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   679
              <inputVariables>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   680
                <variable formalParameter="IN">
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   681
                  <connectionPointIn>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   682
                    <relPosition x="0" y="30"/>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   683
                    <connection refLocalId="1">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   684
                      <position x="185" y="1090"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   685
                      <position x="135" y="1090"/>
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   686
                    </connection>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   687
                  </connectionPointIn>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   688
                </variable>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   689
              </inputVariables>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   690
              <inOutVariables/>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   691
              <outputVariables>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   692
                <variable formalParameter="OUT">
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   693
                  <connectionPointOut>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   694
                    <relPosition x="80" y="30"/>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   695
                  </connectionPointOut>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   696
                </variable>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   697
              </outputVariables>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   698
            </block>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   699
            <inVariable localId="27" height="30" width="90" executionOrderId="0" negated="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   700
              <position x="100" y="1190"/>
1099
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   701
              <connectionPointOut>
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   702
                <relPosition x="90" y="15"/>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   703
              </connectionPointOut>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   704
              <expression>TestInput</expression>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   705
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   706
            <outVariable localId="28" height="30" width="105" executionOrderId="0" negated="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   707
              <position x="195" y="1125"/>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   708
              <connectionPointIn>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   709
                <relPosition x="0" y="15"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   710
                <connection refLocalId="2">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   711
                  <position x="195" y="1140"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   712
                  <position x="140" y="1140"/>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   713
                </connection>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   714
              </connectionPointIn>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   715
              <expression>TestOutput</expression>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   716
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   717
            <outVariable localId="29" height="30" width="85" executionOrderId="0" negated="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   718
              <position x="215" y="1190"/>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   719
              <connectionPointIn>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   720
                <relPosition x="0" y="15"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   721
                <connection refLocalId="27">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   722
                  <position x="215" y="1205"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   723
                  <position x="190" y="1205"/>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   724
                </connection>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   725
              </connectionPointIn>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   726
              <expression>FromInput</expression>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   727
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   728
            <inVariable localId="2" height="30" width="30" executionOrderId="0" negated="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   729
              <position x="110" y="1125"/>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   730
              <connectionPointOut>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   731
                <relPosition x="30" y="15"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   732
              </connectionPointOut>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   733
              <expression>10</expression>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   734
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   735
            <comment localId="30" height="105" width="465">
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   736
              <position x="50" y="925"/>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   737
              <content>
1401
611fded24ce4 Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python
Edouard Tisserant
parents: 1145
diff changeset
   738
                <xhtml:p><![CDATA[You will be ready to use beremiz with C and Python when you will understand why "FromInput" is equal  to 75.
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   739
Happy hacking! ]]></xhtml:p>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   740
              </content>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   741
            </comment>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   742
            <comment localId="31" height="90" width="345">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   743
              <position x="295" y="485"/>
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   744
              <content>
1401
611fded24ce4 Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python
Edouard Tisserant
parents: 1145
diff changeset
   745
                <xhtml:p><![CDATA[Sleep here is bad. It blocks other py_eval instances. Whith a wxGlade GUI, GUI freeze for a second.]]></xhtml:p>
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   746
              </content>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   747
            </comment>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   748
            <comment localId="6" height="80" width="345">
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   749
              <position x="295" y="630"/>
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   750
              <content>
1401
611fded24ce4 Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python
Edouard Tisserant
parents: 1145
diff changeset
   751
                <xhtml:p><![CDATA[Prints FBID to stdout of PLC runtime. FBID is a unique reference to py_eval instance.]]></xhtml:p>
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   752
              </content>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   753
            </comment>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   754
            <comment localId="10" height="85" width="345">
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   755
              <position x="295" y="770"/>
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   756
              <content>
1401
611fded24ce4 Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python
Edouard Tisserant
parents: 1145
diff changeset
   757
                <xhtml:p><![CDATA[Simple_C_Call is declared in C_File "1.x:c_code". See python ctypes manual for details on typing.]]></xhtml:p>
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   758
              </content>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   759
            </comment>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   760
            <comment localId="32" height="145" width="235">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   761
              <position x="25" y="505"/>
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   762
              <content>
1401
611fded24ce4 Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python
Edouard Tisserant
parents: 1145
diff changeset
   763
                <xhtml:p><![CDATA[Fast clock, at least faster that sleep(1). See what happens when python takes time to answer : PLC continues.]]></xhtml:p>
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   764
              </content>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   765
            </comment>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   766
            <outVariable localId="33" height="30" width="133" executionOrderId="0" negated="false">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   767
              <position x="580" y="1564"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   768
              <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   769
                <relPosition x="0" y="16"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   770
                <connection refLocalId="35" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   771
                  <position x="580" y="1580"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   772
                  <position x="371" y="1580"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   773
                </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   774
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   775
              <expression>Test_BCD_RESULT</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   776
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   777
            <inVariable localId="34" height="30" width="75" executionOrderId="0" negated="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   778
              <position x="60" y="1564"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   779
              <connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   780
                <relPosition x="75" y="16"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   781
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   782
              <expression>Test_BCD</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   783
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   784
            <block localId="35" width="106" height="60" typeName="BCD_TO_UINT" executionOrderId="0">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   785
              <position x="265" y="1539"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   786
              <inputVariables>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   787
                <variable formalParameter="IN">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   788
                  <connectionPointIn>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   789
                    <relPosition x="0" y="41"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   790
                    <connection refLocalId="34">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   791
                      <position x="265" y="1580"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   792
                      <position x="135" y="1580"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   793
                    </connection>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   794
                  </connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   795
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   796
              </inputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   797
              <inOutVariables/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   798
              <outputVariables>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   799
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   800
                  <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
   801
                    <relPosition x="106" y="41"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   802
                  </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   803
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   804
              </outputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   805
            </block>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   806
            <inVariable localId="36" height="30" width="66" executionOrderId="0" negated="false">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   807
              <position x="60" y="1774"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   808
              <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   809
                <relPosition x="66" y="16"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   810
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   811
              <expression>Test_DT</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   812
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   813
            <block localId="37" width="255" height="45" typeName="DATE_AND_TIME_TO_TIME_OF_DAY" executionOrderId="0">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   814
              <position x="265" y="1759"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   815
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   816
                <variable formalParameter="IN">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   817
                  <connectionPointIn>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   818
                    <relPosition x="0" y="31"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   819
                    <connection refLocalId="36">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   820
                      <position x="265" y="1790"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   821
                      <position x="125" y="1790"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   822
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   823
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   824
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   825
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   826
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   827
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   828
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   829
                  <connectionPointOut>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   830
                    <relPosition x="255" y="31"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   831
                  </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   832
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   833
              </outputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   834
            </block>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   835
            <block localId="38" width="195" height="45" typeName="DATE_AND_TIME_TO_DATE" executionOrderId="0">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   836
              <position x="265" y="1834"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   837
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   838
                <variable formalParameter="IN">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   839
                  <connectionPointIn>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   840
                    <relPosition x="0" y="31"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   841
                    <connection refLocalId="36">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   842
                      <position x="265" y="1865"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   843
                      <position x="242" y="1865"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   844
                      <position x="242" y="1790"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   845
                      <position x="125" y="1790"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   846
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   847
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   848
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   849
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   850
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   851
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   852
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   853
                  <connectionPointOut>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   854
                    <relPosition x="195" y="31"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   855
                  </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   856
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   857
              </outputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   858
            </block>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   859
            <outVariable localId="40" height="30" width="82" executionOrderId="0" negated="false">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   860
              <position x="580" y="1849"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   861
              <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   862
                <relPosition x="0" y="16"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   863
                <connection refLocalId="38" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   864
                  <position x="580" y="1865"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   865
                  <position x="460" y="1865"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   866
                </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   867
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   868
              <expression>Test_Date</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   869
            </outVariable>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   870
            <outVariable localId="42" height="30" width="98" executionOrderId="0" negated="false">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   871
              <position x="465" y="1944"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   872
              <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   873
                <relPosition x="0" y="16"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   874
                <connection refLocalId="46" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   875
                  <position x="465" y="1960"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   876
                  <position x="395" y="1960"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   877
                </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   878
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   879
              <expression>Test_String</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   880
            </outVariable>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   881
            <outVariable localId="43" height="30" width="82" executionOrderId="0" negated="false">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   882
              <position x="465" y="2014"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   883
              <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   884
                <relPosition x="0" y="16"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   885
                <connection refLocalId="44" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   886
                  <position x="465" y="2030"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   887
                  <position x="400" y="2030"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   888
                </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   889
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   890
              <expression>Test_Bool</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   891
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   892
            <block localId="44" width="135" height="45" typeName="STRING_TO_BOOL" executionOrderId="0">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   893
              <position x="265" y="1999"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   894
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   895
                <variable formalParameter="IN">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   896
                  <connectionPointIn>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   897
                    <relPosition x="0" y="31"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   898
                    <connection refLocalId="45">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   899
                      <position x="265" y="2030"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   900
                      <position x="115" y="2030"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   901
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   902
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   903
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   904
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   905
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   906
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   907
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   908
                  <connectionPointOut>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   909
                    <relPosition x="135" y="31"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   910
                  </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   911
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   912
              </outputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   913
            </block>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   914
            <inVariable localId="45" height="30" width="58" executionOrderId="0" negated="false">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   915
              <position x="60" y="2014"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   916
              <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   917
                <relPosition x="58" y="16"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   918
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   919
              <expression>'True'</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   920
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   921
            <block localId="46" width="130" height="45" typeName="INT_TO_STRING" executionOrderId="0">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   922
              <position x="265" y="1929"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   923
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   924
                <variable formalParameter="IN">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   925
                  <connectionPointIn>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   926
                    <relPosition x="0" y="31"/>
1145
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   927
                    <connection refLocalId="58">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   928
                      <position x="265" y="1960"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   929
                      <position x="205" y="1960"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   930
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   931
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   932
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   933
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   934
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   935
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   936
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   937
                  <connectionPointOut>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   938
                    <relPosition x="130" y="31"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   939
                  </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   940
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   941
              </outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   942
            </block>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   943
            <inVariable localId="50" height="30" width="106" executionOrderId="0" negated="false">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   944
              <position x="75" y="2275"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   945
              <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   946
                <relPosition x="106" y="15"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   947
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   948
              <expression>Global_RS.Q1</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   949
            </inVariable>
1401
611fded24ce4 Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python
Edouard Tisserant
parents: 1145
diff changeset
   950
            <block localId="51" width="70" height="85" typeName="AND" executionOrderId="0">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   951
              <position x="240" y="2255"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   952
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   953
                <variable formalParameter="IN1" negated="true">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   954
                  <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   955
                    <relPosition x="0" y="35"/>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
   956
                    <connection refLocalId="50">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   957
                      <position x="240" y="2290"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   958
                      <position x="180" y="2290"/>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
   959
                    </connection>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   960
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   961
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   962
                <variable formalParameter="IN2">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   963
                  <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   964
                    <relPosition x="0" y="70"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   965
                    <connection refLocalId="52">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   966
                      <position x="240" y="2325"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   967
                      <position x="180" y="2325"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   968
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   969
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   970
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   971
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   972
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   973
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   974
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   975
                  <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   976
                    <relPosition x="70" y="35"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   977
                  </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   978
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   979
              </outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   980
            </block>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   981
            <inVariable localId="52" height="30" width="105" executionOrderId="0" negated="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   982
              <position x="75" y="2310"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   983
              <connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   984
                <relPosition x="105" y="15"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   985
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   986
              <expression>BOOL#TRUE</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   987
            </inVariable>
1401
611fded24ce4 Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python
Edouard Tisserant
parents: 1145
diff changeset
   988
            <outVariable localId="13" height="30" width="105" executionOrderId="0" negated="false">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   989
              <position x="385" y="2275"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   990
              <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   991
                <relPosition x="0" y="15"/>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
   992
                <connection refLocalId="51" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   993
                  <position x="385" y="2290"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   994
                  <position x="310" y="2290"/>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
   995
                </connection>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   996
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   997
              <expression>Global_RS.S</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   998
            </outVariable>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
   999
            <outVariable localId="20" height="30" width="106" executionOrderId="0" negated="false">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1000
              <position x="385" y="2390"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1001
              <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1002
                <relPosition x="0" y="15"/>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1003
                <connection refLocalId="41" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1004
                  <position x="385" y="2405"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1005
                  <position x="310" y="2405"/>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1006
                </connection>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1007
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1008
              <expression>Global_RS.R1</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1009
            </outVariable>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1010
            <inVariable localId="24" height="30" width="106" executionOrderId="0" negated="false">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1011
              <position x="75" y="2390"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1012
              <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1013
                <relPosition x="106" y="15"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1014
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1015
              <expression>Global_RS.Q1</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1016
            </inVariable>
1401
611fded24ce4 Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python
Edouard Tisserant
parents: 1145
diff changeset
  1017
            <block localId="41" width="70" height="85" typeName="OR" executionOrderId="0">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1018
              <position x="240" y="2370"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1019
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1020
                <variable formalParameter="IN1">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1021
                  <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1022
                    <relPosition x="0" y="35"/>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1023
                    <connection refLocalId="24">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1024
                      <position x="240" y="2405"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1025
                      <position x="180" y="2405"/>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1026
                    </connection>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1027
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1028
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1029
                <variable formalParameter="IN2">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1030
                  <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1031
                    <relPosition x="0" y="70"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1032
                    <connection refLocalId="48">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1033
                      <position x="240" y="2440"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1034
                      <position x="180" y="2440"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1035
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1036
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1037
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1038
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1039
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1040
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1041
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1042
                  <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1043
                    <relPosition x="70" y="35"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1044
                  </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1045
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1046
              </outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1047
            </block>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1048
            <inVariable localId="48" height="30" width="105" executionOrderId="0" negated="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1049
              <position x="75" y="2425"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1050
              <connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1051
                <relPosition x="105" y="15"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1052
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1053
              <expression>BOOL#FALSE</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1054
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1055
            <outVariable localId="54" height="30" width="135" executionOrderId="0" negated="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1056
              <position x="930" y="1774"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1057
              <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1058
                <relPosition x="0" y="16"/>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1059
                <connection refLocalId="55" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1060
                  <position x="930" y="1790"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1061
                  <position x="855" y="1790"/>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1062
                </connection>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1063
              </connectionPointIn>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1064
              <expression>Test_TOD_STRING</expression>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1065
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1066
            <block localId="55" width="125" height="45" typeName="TOD_TO_STRING" executionOrderId="0">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1067
              <position x="730" y="1759"/>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1068
              <inputVariables>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1069
                <variable formalParameter="IN">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1070
                  <connectionPointIn>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1071
                    <relPosition x="0" y="31"/>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1072
                    <connection refLocalId="39">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1073
                      <position x="730" y="1790"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1074
                      <position x="655" y="1790"/>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1075
                    </connection>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1076
                  </connectionPointIn>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1077
                </variable>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1078
              </inputVariables>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1079
              <inOutVariables/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1080
              <outputVariables>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1081
                <variable formalParameter="OUT">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1082
                  <connectionPointOut>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1083
                    <relPosition x="125" y="31"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1084
                  </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1085
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1086
              </outputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1087
            </block>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1088
            <inOutVariable localId="39" height="30" width="75" executionOrderId="0" negatedOut="false" negatedIn="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1089
              <position x="580" y="1774"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1090
              <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1091
                <relPosition x="0" y="16"/>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1092
                <connection refLocalId="37" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1093
                  <position x="580" y="1790"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1094
                  <position x="520" y="1790"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1095
                </connection>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1096
              </connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1097
              <connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1098
                <relPosition x="75" y="16"/>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1099
              </connectionPointOut>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1100
              <expression>Test_TOD</expression>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1101
            </inOutVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1102
            <inVariable localId="49" height="30" width="30" executionOrderId="0" negated="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1103
              <position x="160" y="2510"/>
1013
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1104
              <connectionPointOut>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1105
                <relPosition x="30" y="15"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1106
              </connectionPointOut>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1107
              <expression>42</expression>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1108
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1109
            <outVariable localId="57" height="30" width="50" executionOrderId="0" negated="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1110
              <position x="240" y="2510"/>
1013
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1111
              <connectionPointIn>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1112
                <relPosition x="0" y="15"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1113
                <connection refLocalId="49">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1114
                  <position x="240" y="2525"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1115
                  <position x="190" y="2525"/>
1013
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1116
                </connection>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1117
              </connectionPointIn>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1118
              <expression>TOTO</expression>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1119
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1120
            <outVariable localId="56" height="30" width="50" executionOrderId="0" negated="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1121
              <position x="240" y="2550"/>
1013
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1122
              <connectionPointIn>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1123
                <relPosition x="0" y="15"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1124
                <connection refLocalId="49">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1125
                  <position x="240" y="2565"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1126
                  <position x="215" y="2565"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1127
                  <position x="215" y="2525"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1128
                  <position x="190" y="2525"/>
1013
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1129
                </connection>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1130
              </connectionPointIn>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1131
              <expression>TUTU</expression>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1132
            </outVariable>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1133
            <inVariable localId="58" height="30" width="146" executionOrderId="0" negated="false">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1134
              <position x="60" y="1944"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1135
              <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1136
                <relPosition x="146" y="16"/>
1145
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1137
              </connectionPointOut>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1138
              <expression>Second_Python_Var</expression>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1139
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1140
            <inVariable localId="59" height="30" width="30" executionOrderId="0" negated="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1141
              <position x="100" y="1385"/>
1145
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1142
              <connectionPointOut>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1143
                <relPosition x="30" y="15"/>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1144
              </connectionPointOut>
2680
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1145
              <expression>1</expression>
1145
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1146
            </inVariable>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1147
            <block localId="61" typeName="function0" executionOrderId="0" height="45" width="111">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1148
              <position x="760" y="1170"/>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1149
              <inputVariables>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1150
                <variable formalParameter="LocalVar0">
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1151
                  <connectionPointIn>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1152
                    <relPosition x="0" y="30"/>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1153
                    <connection refLocalId="62">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1154
                      <position x="760" y="1200"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1155
                      <position x="723" y="1200"/>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1156
                    </connection>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1157
                  </connectionPointIn>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1158
                </variable>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1159
              </inputVariables>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1160
              <inOutVariables/>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1161
              <outputVariables>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1162
                <variable formalParameter="OUT">
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1163
                  <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1164
                    <relPosition x="111" y="30"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1165
                  </connectionPointOut>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1166
                </variable>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1167
              </outputVariables>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1168
            </block>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1169
            <inVariable localId="62" executionOrderId="0" height="30" width="58" negated="false">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1170
              <position x="665" y="1185"/>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1171
              <connectionPointOut>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1172
                <relPosition x="58" y="15"/>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1173
              </connectionPointOut>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1174
              <expression>fefvsd</expression>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1175
            </inVariable>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1176
            <outVariable localId="63" executionOrderId="0" height="30" width="58" negated="false">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1177
              <position x="905" y="1185"/>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1178
              <connectionPointIn>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1179
                <relPosition x="0" y="15"/>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1180
                <connection refLocalId="61" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1181
                  <position x="905" y="1200"/>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1182
                  <position x="871" y="1200"/>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1183
                </connection>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1184
              </connectionPointIn>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1185
              <expression>fefvsd</expression>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1186
            </outVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
  1187
            <comment localId="53" height="80" width="420">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1188
              <position x="75" y="2160"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1189
              <content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1190
                <xhtml:p><![CDATA[Shows global variables access from resource configuration (res_pytest) and from project's configuration.]]></xhtml:p>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1191
              </content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1192
            </comment>
2346
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1193
            <inVariable localId="18" height="30" width="74" executionOrderId="0" negated="false">
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1194
              <position x="986" y="795"/>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1195
              <connectionPointOut>
ac16bad593cf Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 2296
diff changeset
  1196
                <relPosition x="74" y="15"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1197
              </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1198
              <expression>mux2_sel</expression>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1199
            </inVariable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1200
            <comment localId="60" height="45" width="930">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1201
              <position x="60" y="1480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1202
              <content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1203
                <xhtml:p><![CDATA[Here is shown how to convert values between different types (BCD, DT, TOD, STRING and others) using standard functions.]]></xhtml:p>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1204
              </content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1205
            </comment>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1206
            <comment localId="64" height="55" width="300">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1207
              <position x="665" y="1095"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1208
              <content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1209
                <xhtml:p><![CDATA[Example of usage of user-defined function.]]></xhtml:p>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1210
              </content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1211
            </comment>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1212
            <comment localId="65" height="45" width="410">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1213
              <position x="55" y="1315"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1214
              <content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1215
                <xhtml:p><![CDATA[Shows access variable defined in python extension. ]]></xhtml:p>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1216
              </content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1217
            </comment>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
  1218
            <inVariable localId="66" height="30" width="137" executionOrderId="0" negated="false">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1219
              <position x="60" y="1685"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1220
              <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
  1221
                <relPosition x="137" y="15"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1222
              </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1223
              <expression>Test_BCD_WRONG</expression>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1224
            </inVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
  1225
            <block localId="67" width="106" height="100" typeName="BCD_TO_UINT" executionOrderId="0">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1226
              <position x="265" y="1620"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1227
              <inputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1228
                <variable formalParameter="EN">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1229
                  <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1230
                    <relPosition x="0" y="40"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1231
                  </connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1232
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1233
                <variable formalParameter="IN">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1234
                  <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1235
                    <relPosition x="0" y="80"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1236
                    <connection refLocalId="66">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1237
                      <position x="265" y="1700"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1238
                      <position x="255" y="1700"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1239
                      <position x="255" y="1700"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1240
                      <position x="345" y="1700"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1241
                      <position x="345" y="1700"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
  1242
                      <position x="197" y="1700"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1243
                    </connection>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1244
                  </connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1245
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1246
              </inputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1247
              <inOutVariables/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1248
              <outputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1249
                <variable formalParameter="ENO">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1250
                  <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
  1251
                    <relPosition x="106" y="40"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1252
                  </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1253
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1254
                <variable formalParameter="OUT">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1255
                  <connectionPointOut>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
  1256
                    <relPosition x="106" y="80"/>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
  1257
                  </connectionPointOut>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
  1258
                </variable>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
  1259
              </outputVariables>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
  1260
            </block>
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
  1261
            <outVariable localId="68" height="30" width="196" executionOrderId="0" negated="false">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1262
              <position x="580" y="1685"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1263
              <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1264
                <relPosition x="0" y="15"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1265
                <connection refLocalId="67" formalParameter="OUT">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1266
                  <position x="580" y="1700"/>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
  1267
                  <position x="371" y="1700"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1268
                </connection>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1269
              </connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1270
              <expression>Test_BCD_WRONG_RESULT</expression>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1271
            </outVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
  1272
            <comment localId="69" height="165" width="375">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1273
              <position x="795" y="1590"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1274
              <content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1275
                <xhtml:p><![CDATA[Incorrect BCD number is not converted to UINT.
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1276
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1277
151 (16#97) is good BCD number , but 
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1278
154 (16#9A) is not.  
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1279
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1280
Try this out and look at value of  Test_BCD_CONVERTED variable.
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1281
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1282
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1283
]]></xhtml:p>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1284
              </content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1285
            </comment>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1286
            <outVariable localId="70" height="30" width="185" executionOrderId="0" negated="false">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1287
              <position x="580" y="1645"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1288
              <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1289
                <relPosition x="0" y="15"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1290
                <connection refLocalId="67" formalParameter="ENO">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1291
                  <position x="580" y="1660"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1292
                  <position x="370" y="1660"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1293
                </connection>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1294
              </connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1295
              <expression>Test_BCD_CONVERTED</expression>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1296
            </outVariable>
2296
a2ab363f9e90 Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1541
diff changeset
  1297
            <comment localId="71" height="215" width="680">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1298
              <position x="35" y="30"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1299
              <content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1300
                <xhtml:p><![CDATA[This example shows many features in Beremiz:
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1301
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1302
   1. How to implement python extensions.
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1303
   2. How to implement basic C extension.
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1304
   3. How to use C code in IEC POUs.
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1305
   4. How to call C functions from python code.
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1306
   5. How to avoid race conditions between IEC, C and python code.
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1307
   6. How to convert betweet different IEC types.
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1308
]]></xhtml:p>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1309
              </content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1310
            </comment>
2680
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1311
            <outVariable localId="72" executionOrderId="0" height="30" width="60" negated="false">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1312
              <position x="1065" y="1970"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1313
              <connectionPointIn>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1314
                <relPosition x="0" y="15"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1315
                <connection refLocalId="76" formalParameter="OUT">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1316
                  <position x="1065" y="1985"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1317
                  <position x="1025" y="1985"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1318
                  <position x="1025" y="1995"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1319
                  <position x="985" y="1995"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1320
                </connection>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1321
              </connectionPointIn>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1322
              <expression>Grumpf</expression>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1323
            </outVariable>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1324
            <inVariable localId="73" executionOrderId="0" height="30" width="85" negated="false">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1325
              <position x="625" y="1940"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1326
              <connectionPointOut>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1327
                <relPosition x="85" y="15"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1328
              </connectionPointOut>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1329
              <expression>BOOL#TRUE</expression>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1330
            </inVariable>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1331
            <inVariable localId="74" executionOrderId="0" height="30" width="70" negated="false">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1332
              <position x="625" y="1975"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1333
              <connectionPointOut>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1334
                <relPosition x="70" y="15"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1335
              </connectionPointOut>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1336
              <expression>Test_DT</expression>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1337
            </inVariable>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1338
            <block localId="75" typeName="RTC" instanceName="RTC0" executionOrderId="0" height="90" width="65">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1339
              <position x="760" y="1925"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1340
              <inputVariables>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1341
                <variable formalParameter="IN">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1342
                  <connectionPointIn>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1343
                    <relPosition x="0" y="35"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1344
                    <connection refLocalId="73">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1345
                      <position x="760" y="1960"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1346
                      <position x="735" y="1960"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1347
                      <position x="735" y="1955"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1348
                      <position x="710" y="1955"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1349
                    </connection>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1350
                  </connectionPointIn>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1351
                </variable>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1352
                <variable formalParameter="PDT">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1353
                  <connectionPointIn>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1354
                    <relPosition x="0" y="70"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1355
                    <connection refLocalId="74">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1356
                      <position x="760" y="1995"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1357
                      <position x="727" y="1995"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1358
                      <position x="727" y="1990"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1359
                      <position x="695" y="1990"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1360
                    </connection>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1361
                  </connectionPointIn>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1362
                </variable>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1363
              </inputVariables>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1364
              <inOutVariables/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1365
              <outputVariables>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1366
                <variable formalParameter="Q">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1367
                  <connectionPointOut>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1368
                    <relPosition x="65" y="35"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1369
                  </connectionPointOut>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1370
                </variable>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1371
                <variable formalParameter="CDT">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1372
                  <connectionPointOut>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1373
                    <relPosition x="65" y="70"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1374
                  </connectionPointOut>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1375
                </variable>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1376
              </outputVariables>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1377
            </block>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1378
            <block localId="76" typeName="DT_TO_STRING" executionOrderId="0" height="40" width="110">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1379
              <position x="875" y="1965"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1380
              <inputVariables>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1381
                <variable formalParameter="IN">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1382
                  <connectionPointIn>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1383
                    <relPosition x="0" y="30"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1384
                    <connection refLocalId="75" formalParameter="CDT">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1385
                      <position x="875" y="1995"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1386
                      <position x="825" y="1995"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1387
                    </connection>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1388
                  </connectionPointIn>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1389
                </variable>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1390
              </inputVariables>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1391
              <inOutVariables/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1392
              <outputVariables>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1393
                <variable formalParameter="OUT">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1394
                  <connectionPointOut>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1395
                    <relPosition x="110" y="30"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1396
                  </connectionPointOut>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1397
                </variable>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1398
              </outputVariables>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1399
            </block>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1400
            <block localId="77" typeName="ADD" executionOrderId="0" height="60" width="65">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1401
              <position x="170" y="1370"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1402
              <inputVariables>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1403
                <variable formalParameter="IN1">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1404
                  <connectionPointIn>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1405
                    <relPosition x="0" y="30"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1406
                    <connection refLocalId="59">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1407
                      <position x="170" y="1400"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1408
                      <position x="130" y="1400"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1409
                    </connection>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1410
                  </connectionPointIn>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1411
                </variable>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1412
                <variable formalParameter="IN2">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1413
                  <connectionPointIn>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1414
                    <relPosition x="0" y="50"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1415
                    <connection refLocalId="78">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1416
                      <position x="170" y="1420"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1417
                      <position x="160" y="1420"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1418
                      <position x="160" y="1450"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1419
                      <position x="390" y="1450"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1420
                      <position x="390" y="1400"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1421
                      <position x="380" y="1400"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1422
                    </connection>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1423
                  </connectionPointIn>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1424
                </variable>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1425
              </inputVariables>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1426
              <inOutVariables/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1427
              <outputVariables>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1428
                <variable formalParameter="OUT">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1429
                  <connectionPointOut>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1430
                    <relPosition x="65" y="30"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1431
                  </connectionPointOut>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1432
                </variable>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1433
              </outputVariables>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1434
            </block>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1435
            <outVariable localId="47" executionOrderId="0" height="30" width="130" negated="false">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1436
              <position x="625" y="1335"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1437
              <connectionPointIn>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1438
                <relPosition x="0" y="15"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1439
                <connection refLocalId="79">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1440
                  <position x="625" y="1350"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1441
                  <position x="590" y="1350"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1442
                </connection>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1443
              </connectionPointIn>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1444
              <expression>Test_Python_Var</expression>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1445
            </outVariable>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1446
            <inVariable localId="79" executionOrderId="0" height="25" width="30" negated="false">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1447
              <position x="560" y="1340"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1448
              <connectionPointOut>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1449
                <relPosition x="30" y="10"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1450
              </connectionPointOut>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1451
              <expression>23</expression>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1452
            </inVariable>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1453
            <inOutVariable localId="78" executionOrderId="0" height="30" width="100" negatedOut="false" negatedIn="false">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1454
              <position x="280" y="1385"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1455
              <connectionPointIn>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1456
                <relPosition x="0" y="15"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1457
                <connection refLocalId="77" formalParameter="OUT">
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1458
                  <position x="280" y="1400"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1459
                  <position x="235" y="1400"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1460
                </connection>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1461
              </connectionPointIn>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1462
              <connectionPointOut>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1463
                <relPosition x="100" y="15"/>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1464
              </connectionPointOut>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1465
              <expression>SomeVarName</expression>
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1466
            </inOutVariable>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1467
          </FBD>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1468
        </body>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1469
      </pou>
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1470
      <pou name="C_Pragma" pouType="functionBlock">
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1471
        <interface>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1472
          <outputVars>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1473
            <variable name="OUT">
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1474
              <type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1475
                <SINT/>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1476
              </type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1477
            </variable>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1478
          </outputVars>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1479
          <inputVars>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1480
            <variable name="IN">
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1481
              <type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1482
                <SINT/>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1483
              </type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1484
            </variable>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1485
          </inputVars>
861
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1486
          <localVars>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1487
            <variable name="COORDS">
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1488
              <type>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1489
                <array>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1490
                  <dimension lower="0" upper="5"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1491
                  <baseType>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1492
                    <SINT/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1493
                  </baseType>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1494
                </array>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1495
              </type>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1496
              <initialValue>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1497
                <arrayValue>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1498
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1499
                    <simpleValue value="54"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1500
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1501
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1502
                    <simpleValue value="55"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1503
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1504
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1505
                    <simpleValue value="56"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1506
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1507
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1508
                    <simpleValue value="57"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1509
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1510
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1511
                    <simpleValue value="58"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1512
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1513
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1514
                    <simpleValue value="59"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1515
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1516
                </arrayValue>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1517
              </initialValue>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1518
            </variable>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1519
            <variable name="SMURF">
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1520
              <type>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1521
                <derived name="CPLX_TYPE"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1522
              </type>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1523
            </variable>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1524
          </localVars>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1525
          <externalVars>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1526
            <variable name="Global_RS">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1527
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1528
                <derived name="RS"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1529
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1530
            </variable>
2626
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1531
            <variable name="Dudiduda">
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1532
              <type>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1533
                <derived name="blups"/>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1534
              </type>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1535
            </variable>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1536
          </externalVars>
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1537
        </interface>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1538
        <body>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1539
          <ST>
1401
611fded24ce4 Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python
Edouard Tisserant
parents: 1145
diff changeset
  1540
            <xhtml:p><![CDATA[(* hereafter is a C pragma accessing FB interface in a clean way *)
861
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1541
{{
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1542
  char toPLC;
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1543
  char fromPLC = GetFbVar(IN);
1086
b566ab5556ab Fixed warnings in python test
Laurent Bessard
parents: 1067
diff changeset
  1544
  extern int PLC_C_Call(char, char *);
861
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1545
  if(PLC_C_Call(fromPLC, &toPLC)){
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1546
    SetFbVar(OUT, toPLC);
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1547
  }
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1548
  if(0){
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1549
    /* that code demonstrate C access to complex types */
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1550
    char somebyte = GetFbVar(COORDS, .table[3]);
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1551
    SetFbVar(SMURF, somebyte, .FIRSTBYTE);
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1552
    SetFbVar(COORDS, somebyte, .table[4]);
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1553
  }
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1554
}}
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1555
(* If you do not use GetFbVar and SetFbVar macros, expect unexpected behaviour*)
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1556
Global_RS();
2626
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1557
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1558
(* testing access to global struct array *)
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1559
Dudiduda[2].FIRSTBYTE := 0;
1401
611fded24ce4 Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python
Edouard Tisserant
parents: 1145
diff changeset
  1560
]]></xhtml:p>
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1561
          </ST>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1562
        </body>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1563
      </pou>
918
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1564
      <pou name="norm" pouType="function">
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1565
        <interface>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1566
          <returnType>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1567
            <REAL/>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1568
          </returnType>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1569
          <inputVars>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1570
            <variable name="IN1">
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1571
              <type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1572
                <REAL/>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1573
              </type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1574
            </variable>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1575
            <variable name="IN2">
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1576
              <type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1577
                <REAL/>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1578
              </type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1579
            </variable>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1580
          </inputVars>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1581
        </interface>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1582
        <body>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1583
          <ST>
1401
611fded24ce4 Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python
Edouard Tisserant
parents: 1145
diff changeset
  1584
            <xhtml:p><![CDATA[NORM := SQRT(IN1 * IN1 + IN2 * IN2);]]></xhtml:p>
918
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1585
          </ST>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1586
        </body>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1587
      </pou>
1419
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1588
      <pou name="function0" pouType="function">
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1589
        <interface>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1590
          <returnType>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1591
            <derived name="datatype0"/>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1592
          </returnType>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1593
          <inputVars>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1594
            <variable name="LocalVar0">
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1595
              <type>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1596
                <derived name="datatype0"/>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1597
              </type>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1598
            </variable>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1599
          </inputVars>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1600
        </interface>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1601
        <body>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1602
          <ST>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1603
            <xhtml:p><![CDATA[function0 := LocalVar0;
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1604
]]></xhtml:p>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1605
          </ST>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1606
        </body>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1607
      </pou>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1608
    </pous>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1609
  </types>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1610
  <instances>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1611
    <configurations>
1452
7a2b344de8cf Fixed build of tests/python.
Edouard Tisserant
parents: 1436
diff changeset
  1612
      <configuration name="config">
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1613
        <resource name="res_pytest">
2680
6bfed6757495 tests/python : add some STRING PLC Python globals with OnChange.
Edouard Tisserant
parents: 2626
diff changeset
  1614
          <task name="pytest_task" priority="0" interval="T#500ms"/>
918
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1615
          <globalVars>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1616
            <variable name="TOTO">
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1617
              <type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1618
                <INT/>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1619
              </type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1620
            </variable>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1621
          </globalVars>
366
cd90e4c10261 Move python evaluator to create a python plugin containing any related python module
laurent
parents: 283
diff changeset
  1622
          <pouInstance name="pytest_instance" typeName="main_pytest"/>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1623
        </resource>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1624
        <globalVars>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1625
          <variable name="Global_RS">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1626
            <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1627
              <derived name="RS"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1628
            </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1629
          </variable>
2626
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1630
          <variable name="Dudiduda">
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1631
            <type>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1632
              <derived name="blups"/>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1633
            </type>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1634
          </variable>
1013
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1635
          <variable name="TUTU">
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1636
            <type>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1637
              <INT/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1638
            </type>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1639
          </variable>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1640
        </globalVars>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1641
      </configuration>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1642
    </configurations>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1643
  </instances>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1644
</project>