tests/python/plc.xml
author Edouard Tisserant
Tue, 16 Jun 2020 10:12:21 +0200
changeset 2675 3ca5611d6308
parent 2626 39d78c530cbb
child 2680 6bfed6757495
permissions -rw-r--r--
Modbus: Delete stored configuration when identical to default configuration.
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;"/>
2626
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
     4
  <contentHeader name="Beremiz Python Support Tests" modificationDateTime="2019-09-24T11:49:14">
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>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   249
          </externalVars>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   250
        </interface>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   251
        <body>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   252
          <FBD>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   253
            <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
   254
              <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
   255
              <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
   256
                <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
   257
              </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
   258
              <expression>'time.sleep(1)'</expression>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   259
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   260
            <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
   261
              <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
   262
              <inputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   263
                <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
   264
                  <connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   265
                    <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
   266
                    <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
   267
                      <position x="686" y="435"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   268
                      <position x="285" y="435"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   269
                      <position x="285" y="480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   270
                      <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
   271
                    </connection>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   272
                  </connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   273
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   274
                <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
   275
                  <connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   276
                    <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
   277
                    <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
   278
                      <position x="686" y="465"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   279
                      <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
   280
                    </connection>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   281
                  </connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   282
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   283
              </inputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   284
              <inOutVariables/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   285
              <outputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   286
                <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
   287
                  <connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   288
                    <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
   289
                  </connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   290
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   291
                <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
   292
                  <connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   293
                    <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
   294
                  </connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   295
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   296
              </outputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   297
            </block>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   298
            <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
   299
              <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
   300
              <inputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   301
                <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
   302
                  <connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   303
                    <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
   304
                    <connection refLocalId="3">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   305
                      <position x="180" y="480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   306
                      <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
   307
                    </connection>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   308
                  </connectionPointIn>
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
              </inputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   311
              <inOutVariables/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   312
              <outputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   313
                <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
   314
                  <connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   315
                    <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
   316
                  </connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   317
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   318
              </outputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   319
            </block>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   320
            <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
   321
              <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
   322
              <connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   323
                <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
   324
                <connection refLocalId="7" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   325
                  <position x="35" y="480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   326
                  <position x="25" y="480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   327
                  <position x="25" y="440"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   328
                  <position x="270" y="440"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   329
                  <position x="270" y="480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   330
                  <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
   331
                </connection>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   332
              </connectionPointIn>
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="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
   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
              <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
   337
            </inOutVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   338
            <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
   339
              <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
   340
              <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
   341
                <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
   342
                  <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
   343
                    <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
   344
                    <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
   345
                      <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
   346
                      <position x="285" y="580"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   347
                      <position x="285" y="480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   348
                      <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
   349
                    </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
   350
                  </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
   351
                </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
   352
                <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
   353
                  <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
   354
                    <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
   355
                    <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
   356
                      <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
   357
                      <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
   358
                    </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
   359
                  </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
   360
                </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
   361
              </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
   362
              <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
   363
              <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
   364
                <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
   365
                  <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
   366
                    <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
   367
                  </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
   368
                </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
   369
                <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
   370
                  <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
   371
                    <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
   372
                  </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
   373
                </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
   374
              </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
   375
            </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
   376
            <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
   377
              <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
   378
              <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
   379
                <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
   380
              </connectionPointOut>
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   381
              <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
   382
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   383
            <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
   384
              <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
   385
              <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
   386
                <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
   387
              </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
   388
              <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
   389
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   390
            <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
   391
              <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
   392
              <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
   393
                <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
   394
                  <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
   395
                    <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
   396
                    <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
   397
                      <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
   398
                      <position x="285" y="720"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   399
                      <position x="285" y="480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   400
                      <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
   401
                    </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
   402
                  </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
   403
                </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
   404
                <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
   405
                  <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
   406
                    <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
   407
                    <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
   408
                      <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
   409
                      <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
   410
                    </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
   411
                  </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
   412
                </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
   413
              </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
   414
              <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
   415
              <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
   416
                <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
   417
                  <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
   418
                    <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
   419
                  </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
   420
                </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
   421
                <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
   422
                  <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
   423
                    <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
   424
                  </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
   425
                </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
   426
              </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
   427
            </block>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   428
            <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
   429
              <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
   430
              <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
   431
                <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
   432
              </connectionPointOut>
734
5c42cafaee15 Moved LPC sources to a separate project
Edouard Tisserant
parents: 729
diff changeset
   433
              <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
   434
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   435
            <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
   436
              <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
   437
              <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
   438
                <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
   439
                  <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
   440
                    <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
   441
                    <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
   442
                      <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
   443
                      <position x="285" y="870"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   444
                      <position x="285" y="480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   445
                      <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
   446
                    </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
   447
                  </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
   448
                </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
   449
                <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
   450
                  <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
   451
                    <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
   452
                    <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
   453
                      <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
   454
                      <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
   455
                    </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
   456
                  </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
   457
                </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
   458
              </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
   459
              <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
   460
              <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
   461
                <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
   462
                  <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
   463
                    <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
   464
                  </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
   465
                </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
   466
                <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
   467
                  <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
   468
                    <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
   469
                  </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
   470
                </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
   471
              </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
   472
            </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
   473
            <comment localId="16" height="90" width="680">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   474
              <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
   475
              <content>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   476
                <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
   477
              </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
   478
            </comment>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   479
            <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
   480
              <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
   481
              <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
   482
                <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
   483
                  <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
   484
                    <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
   485
                    <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
   486
                      <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
   487
                      <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
   488
                      <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
   489
                      <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
   490
                    </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
   491
                  </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
   492
                </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
   493
                <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
   494
                  <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
   495
                    <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
   496
                    <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
   497
                      <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
   498
                      <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
   499
                      <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
   500
                      <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
   501
                    </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
   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
                </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
   504
                <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
   505
                  <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
   506
                    <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
   507
                    <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
   508
                      <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
   509
                      <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
   510
                      <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
   511
                      <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
   512
                    </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
   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
                </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
   515
                <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
   516
                  <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
   517
                    <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
   518
                    <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
   519
                      <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
   520
                      <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
   521
                      <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
   522
                      <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
   523
                    </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
   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
                </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
   526
                <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
   527
                  <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
   528
                    <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
   529
                    <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
   530
                      <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
   531
                      <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
   532
                    </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
   533
                  </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
   534
                </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
   535
              </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
   536
              <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
   537
              <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
   538
                <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
   539
                  <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
   540
                    <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
   541
                  </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
   542
                </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
   543
              </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
   544
            </block>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   545
            <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
   546
              <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
   547
              <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
   548
                <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
   549
                <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
   550
                  <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
   551
                  <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
   552
                </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
   553
              </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
   554
              <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
   555
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   556
            <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
   557
              <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
   558
              <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
   559
                <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
   560
                  <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
   561
                    <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
   562
                    <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
   563
                      <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
   564
                      <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
   565
                      <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
   566
                      <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
   567
                    </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
   568
                  </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
   569
                </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
   570
                <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
   571
                  <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
   572
                    <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
   573
                    <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
   574
                      <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
   575
                      <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
   576
                    </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
   577
                  </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
   578
                </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
   579
                <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
   580
                  <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
   581
                    <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
   582
                    <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
   583
                      <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
   584
                      <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
   585
                      <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
   586
                      <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
   587
                    </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
   588
                  </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
   589
                </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
   590
                <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
   591
                  <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
   592
                    <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
   593
                    <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
   594
                      <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
   595
                      <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
   596
                      <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
   597
                      <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
   598
                    </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
   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
                </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
   601
                <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
   602
                  <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
   603
                    <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
   604
                    <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
   605
                      <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
   606
                      <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
   607
                      <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
   608
                      <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
   609
                    </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
   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
                </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
   612
              </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
   613
              <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
   614
              <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
   615
                <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
   616
                  <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
   617
                    <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
   618
                  </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
   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
              </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
   621
            </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
   622
            <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
   623
              <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
   624
              <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
   625
                <relPosition x="74" y="15"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   626
              </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   627
              <expression>mux1_sel</expression>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   628
            </inVariable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   629
            <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
   630
              <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
   631
              <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
   632
                <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
   633
                <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
   634
                  <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
   635
                  <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
   636
                </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
   637
              </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
   638
              <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
   639
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   640
            <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
   641
              <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
   642
              <connectionPointIn>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   643
                <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
   644
                <connection refLocalId="26" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   645
                  <position x="320" y="1090"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   646
                  <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
   647
                </connection>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   648
              </connectionPointIn>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   649
              <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
   650
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   651
            <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
   652
              <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
   653
              <connectionPointOut>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   654
                <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
   655
              </connectionPointOut>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   656
              <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
   657
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   658
            <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
   659
              <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
   660
              <inputVariables>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   661
                <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
   662
                  <connectionPointIn>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   663
                    <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
   664
                    <connection refLocalId="1">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   665
                      <position x="185" y="1090"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   666
                      <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
   667
                    </connection>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   668
                  </connectionPointIn>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   669
                </variable>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   670
              </inputVariables>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   671
              <inOutVariables/>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   672
              <outputVariables>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   673
                <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
   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
                    <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
   676
                  </connectionPointOut>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   677
                </variable>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   678
              </outputVariables>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   679
            </block>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   680
            <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
   681
              <position x="100" y="1190"/>
1099
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   682
              <connectionPointOut>
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   683
                <relPosition x="90" y="15"/>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   684
              </connectionPointOut>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   685
              <expression>TestInput</expression>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   686
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   687
            <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
   688
              <position x="195" y="1125"/>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   689
              <connectionPointIn>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   690
                <relPosition x="0" y="15"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   691
                <connection refLocalId="2">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   692
                  <position x="195" y="1140"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   693
                  <position x="140" y="1140"/>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   694
                </connection>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   695
              </connectionPointIn>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   696
              <expression>TestOutput</expression>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   697
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   698
            <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
   699
              <position x="215" y="1190"/>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   700
              <connectionPointIn>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   701
                <relPosition x="0" y="15"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   702
                <connection refLocalId="27">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   703
                  <position x="215" y="1205"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   704
                  <position x="190" y="1205"/>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   705
                </connection>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   706
              </connectionPointIn>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   707
              <expression>FromInput</expression>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   708
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   709
            <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
   710
              <position x="110" y="1125"/>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   711
              <connectionPointOut>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   712
                <relPosition x="30" y="15"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   713
              </connectionPointOut>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   714
              <expression>10</expression>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   715
            </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
   716
            <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
   717
              <position x="50" y="925"/>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   718
              <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
   719
                <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
   720
Happy hacking! ]]></xhtml:p>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   721
              </content>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   722
            </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
   723
            <comment localId="31" height="90" width="345">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   724
              <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
   725
              <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
   726
                <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
   727
              </content>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   728
            </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
   729
            <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
   730
              <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
   731
              <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
   732
                <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
   733
              </content>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   734
            </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
   735
            <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
   736
              <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
   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[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
   739
              </content>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   740
            </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
   741
            <comment localId="32" height="145" width="235">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   742
              <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
   743
              <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
   744
                <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
   745
              </content>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   746
            </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
   747
            <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
   748
              <position x="580" y="1564"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   749
              <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   750
                <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
   751
                <connection refLocalId="35" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   752
                  <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
   753
                  <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
   754
                </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   755
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   756
              <expression>Test_BCD_RESULT</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   757
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   758
            <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
   759
              <position x="60" y="1564"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   760
              <connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   761
                <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
   762
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   763
              <expression>Test_BCD</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   764
            </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
   765
            <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
   766
              <position x="265" y="1539"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   767
              <inputVariables>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   768
                <variable formalParameter="IN">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   769
                  <connectionPointIn>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   770
                    <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
   771
                    <connection refLocalId="34">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   772
                      <position x="265" y="1580"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   773
                      <position x="135" y="1580"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   774
                    </connection>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   775
                  </connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   776
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   777
              </inputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   778
              <inOutVariables/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   779
              <outputVariables>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   780
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   781
                  <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
   782
                    <relPosition x="106" y="41"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   783
                  </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   784
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   785
              </outputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   786
            </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
   787
            <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
   788
              <position x="60" y="1774"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   789
              <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
   790
                <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
   791
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   792
              <expression>Test_DT</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   793
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   794
            <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
   795
              <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
   796
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   797
                <variable formalParameter="IN">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   798
                  <connectionPointIn>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   799
                    <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
   800
                    <connection refLocalId="36">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   801
                      <position x="265" y="1790"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   802
                      <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
   803
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   804
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   805
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   806
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   807
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   808
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   809
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   810
                  <connectionPointOut>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   811
                    <relPosition x="255" y="31"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   812
                  </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   813
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   814
              </outputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   815
            </block>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   816
            <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
   817
              <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
   818
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   819
                <variable formalParameter="IN">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   820
                  <connectionPointIn>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   821
                    <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
   822
                    <connection refLocalId="36">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   823
                      <position x="265" y="1865"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   824
                      <position x="242" y="1865"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   825
                      <position x="242" y="1790"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   826
                      <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
   827
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   828
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   829
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   830
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   831
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   832
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   833
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   834
                  <connectionPointOut>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   835
                    <relPosition x="195" y="31"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   836
                  </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   837
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   838
              </outputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   839
            </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
   840
            <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
   841
              <position x="580" y="1849"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   842
              <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   843
                <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
   844
                <connection refLocalId="38" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   845
                  <position x="580" y="1865"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   846
                  <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
   847
                </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   848
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   849
              <expression>Test_Date</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   850
            </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
   851
            <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
   852
              <position x="465" y="1944"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   853
              <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   854
                <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
   855
                <connection refLocalId="46" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   856
                  <position x="465" y="1960"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   857
                  <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
   858
                </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   859
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   860
              <expression>Test_String</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   861
            </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
   862
            <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
   863
              <position x="465" y="2014"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   864
              <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   865
                <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
   866
                <connection refLocalId="44" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   867
                  <position x="465" y="2030"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   868
                  <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
   869
                </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   870
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   871
              <expression>Test_Bool</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   872
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   873
            <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
   874
              <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
   875
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   876
                <variable formalParameter="IN">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   877
                  <connectionPointIn>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   878
                    <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
   879
                    <connection refLocalId="45">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   880
                      <position x="265" y="2030"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   881
                      <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
   882
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   883
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   884
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   885
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   886
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   887
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   888
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   889
                  <connectionPointOut>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   890
                    <relPosition x="135" y="31"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   891
                  </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   892
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   893
              </outputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   894
            </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
   895
            <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
   896
              <position x="60" y="2014"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   897
              <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
   898
                <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
   899
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   900
              <expression>'True'</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   901
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   902
            <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
   903
              <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
   904
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   905
                <variable formalParameter="IN">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   906
                  <connectionPointIn>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   907
                    <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
   908
                    <connection refLocalId="58">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   909
                      <position x="265" y="1960"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   910
                      <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
   911
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   912
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   913
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   914
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   915
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   916
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   917
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   918
                  <connectionPointOut>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   919
                    <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
   920
                  </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   921
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   922
              </outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   923
            </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
   924
            <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
   925
              <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
   926
              <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
   927
                <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
   928
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   929
              <expression>Global_RS.Q1</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   930
            </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
   931
            <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
   932
              <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
   933
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   934
                <variable formalParameter="IN1" negated="true">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   935
                  <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   936
                    <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
   937
                    <connection refLocalId="50">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   938
                      <position x="240" y="2290"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   939
                      <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
   940
                    </connection>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   941
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   942
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   943
                <variable formalParameter="IN2">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   944
                  <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   945
                    <relPosition x="0" y="70"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   946
                    <connection refLocalId="52">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   947
                      <position x="240" y="2325"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   948
                      <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
   949
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   950
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   951
                </variable>
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
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   954
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   955
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   956
                  <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   957
                    <relPosition x="70" y="35"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   958
                  </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   959
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   960
              </outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   961
            </block>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   962
            <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
   963
              <position x="75" y="2310"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   964
              <connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   965
                <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
   966
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   967
              <expression>BOOL#TRUE</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   968
            </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
   969
            <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
   970
              <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
   971
              <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   972
                <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
   973
                <connection refLocalId="51" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   974
                  <position x="385" y="2290"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   975
                  <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
   976
                </connection>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   977
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   978
              <expression>Global_RS.S</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   979
            </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
   980
            <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
   981
              <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
   982
              <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   983
                <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
   984
                <connection refLocalId="41" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   985
                  <position x="385" y="2405"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
   986
                  <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
   987
                </connection>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   988
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   989
              <expression>Global_RS.R1</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   990
            </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
   991
            <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
   992
              <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
   993
              <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
   994
                <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
   995
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   996
              <expression>Global_RS.Q1</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   997
            </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
   998
            <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
   999
              <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
  1000
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1001
                <variable formalParameter="IN1">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1002
                  <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1003
                    <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
  1004
                    <connection refLocalId="24">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1005
                      <position x="240" y="2405"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1006
                      <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
  1007
                    </connection>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1008
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1009
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1010
                <variable formalParameter="IN2">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1011
                  <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1012
                    <relPosition x="0" y="70"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1013
                    <connection refLocalId="48">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1014
                      <position x="240" y="2440"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1015
                      <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
  1016
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1017
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1018
                </variable>
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
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1021
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1022
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1023
                  <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1024
                    <relPosition x="70" y="35"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1025
                  </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1026
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1027
              </outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1028
            </block>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1029
            <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
  1030
              <position x="75" y="2425"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1031
              <connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1032
                <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
  1033
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1034
              <expression>BOOL#FALSE</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1035
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1036
            <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
  1037
              <position x="930" y="1774"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1038
              <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1039
                <relPosition x="0" y="16"/>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1040
                <connection refLocalId="55" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1041
                  <position x="930" y="1790"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1042
                  <position x="855" y="1790"/>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1043
                </connection>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1044
              </connectionPointIn>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1045
              <expression>Test_TOD_STRING</expression>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1046
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1047
            <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
  1048
              <position x="730" y="1759"/>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1049
              <inputVariables>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1050
                <variable formalParameter="IN">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1051
                  <connectionPointIn>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1052
                    <relPosition x="0" y="31"/>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1053
                    <connection refLocalId="39">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1054
                      <position x="730" y="1790"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1055
                      <position x="655" y="1790"/>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1056
                    </connection>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1057
                  </connectionPointIn>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1058
                </variable>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1059
              </inputVariables>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1060
              <inOutVariables/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1061
              <outputVariables>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1062
                <variable formalParameter="OUT">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1063
                  <connectionPointOut>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1064
                    <relPosition x="125" y="31"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1065
                  </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1066
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1067
              </outputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1068
            </block>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1069
            <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
  1070
              <position x="580" y="1774"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1071
              <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1072
                <relPosition x="0" y="16"/>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1073
                <connection refLocalId="37" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1074
                  <position x="580" y="1790"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1075
                  <position x="520" y="1790"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1076
                </connection>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1077
              </connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1078
              <connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1079
                <relPosition x="75" y="16"/>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1080
              </connectionPointOut>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1081
              <expression>Test_TOD</expression>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1082
            </inOutVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1083
            <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
  1084
              <position x="160" y="2510"/>
1013
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1085
              <connectionPointOut>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1086
                <relPosition x="30" y="15"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1087
              </connectionPointOut>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1088
              <expression>42</expression>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1089
            </inVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1090
            <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
  1091
              <position x="240" y="2510"/>
1013
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1092
              <connectionPointIn>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1093
                <relPosition x="0" y="15"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1094
                <connection refLocalId="49">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1095
                  <position x="240" y="2525"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1096
                  <position x="190" y="2525"/>
1013
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1097
                </connection>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1098
              </connectionPointIn>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1099
              <expression>TOTO</expression>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1100
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1101
            <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
  1102
              <position x="240" y="2550"/>
1013
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1103
              <connectionPointIn>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1104
                <relPosition x="0" y="15"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1105
                <connection refLocalId="49">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1106
                  <position x="240" y="2565"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1107
                  <position x="215" y="2565"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1108
                  <position x="215" y="2525"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1109
                  <position x="190" y="2525"/>
1013
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1110
                </connection>
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
              <expression>TUTU</expression>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1113
            </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
  1114
            <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
  1115
              <position x="60" y="1944"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1116
              <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
  1117
                <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
  1118
              </connectionPointOut>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1119
              <expression>Second_Python_Var</expression>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1120
            </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
  1121
            <outVariable localId="47" height="30" width="130" executionOrderId="0" negated="false">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1122
              <position x="200" y="1385"/>
1145
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1123
              <connectionPointIn>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1124
                <relPosition x="0" y="15"/>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1125
                <connection refLocalId="59">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1126
                  <position x="200" y="1400"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1127
                  <position x="130" y="1400"/>
1145
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1128
                </connection>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1129
              </connectionPointIn>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1130
              <expression>Test_Python_Var</expression>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1131
            </outVariable>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1132
            <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
  1133
              <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
  1134
              <connectionPointOut>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1135
                <relPosition x="30" y="15"/>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1136
              </connectionPointOut>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1137
              <expression>23</expression>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1138
            </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
  1139
            <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
  1140
              <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
  1141
              <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
  1142
                <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
  1143
                  <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
  1144
                    <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
  1145
                    <connection refLocalId="62">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1146
                      <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
  1147
                      <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
  1148
                    </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
  1149
                  </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
  1150
                </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
  1151
              </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
  1152
              <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
  1153
              <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
  1154
                <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
  1155
                  <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
  1156
                    <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
  1157
                  </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
  1158
                </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
  1159
              </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
  1160
            </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
  1161
            <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
  1162
              <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
  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="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
  1165
              </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
  1166
              <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
  1167
            </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
  1168
            <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
  1169
              <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
  1170
              <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
  1171
                <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
  1172
                <connection refLocalId="61" formalParameter="OUT">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1173
                  <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
  1174
                  <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
  1175
                </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
  1176
              </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
  1177
              <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
  1178
            </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
  1179
            <comment localId="53" height="80" width="420">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1180
              <position x="75" y="2160"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1181
              <content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1182
                <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
  1183
              </content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1184
            </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
  1185
            <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
  1186
              <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
  1187
              <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
  1188
                <relPosition x="74" y="15"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1189
              </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1190
              <expression>mux2_sel</expression>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1191
            </inVariable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1192
            <comment localId="60" height="45" width="930">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1193
              <position x="60" y="1480"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1194
              <content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1195
                <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
  1196
              </content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1197
            </comment>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1198
            <comment localId="64" height="55" width="300">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1199
              <position x="665" y="1095"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1200
              <content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1201
                <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
  1202
              </content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1203
            </comment>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1204
            <comment localId="65" height="45" width="410">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1205
              <position x="55" y="1315"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1206
              <content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1207
                <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
  1208
              </content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1209
            </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
  1210
            <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
  1211
              <position x="60" y="1685"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1212
              <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
  1213
                <relPosition x="137" y="15"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1214
              </connectionPointOut>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1215
              <expression>Test_BCD_WRONG</expression>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1216
            </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
  1217
            <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
  1218
              <position x="265" y="1620"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1219
              <inputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1220
                <variable formalParameter="EN">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1221
                  <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1222
                    <relPosition x="0" y="40"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1223
                  </connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1224
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1225
                <variable formalParameter="IN">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1226
                  <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1227
                    <relPosition x="0" y="80"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1228
                    <connection refLocalId="66">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1229
                      <position x="265" y="1700"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1230
                      <position x="255" y="1700"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1231
                      <position x="255" y="1700"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1232
                      <position x="345" y="1700"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1233
                      <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
  1234
                      <position x="197" y="1700"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1235
                    </connection>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1236
                  </connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1237
                </variable>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1238
              </inputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1239
              <inOutVariables/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1240
              <outputVariables>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1241
                <variable formalParameter="ENO">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1242
                  <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
  1243
                    <relPosition x="106" y="40"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1244
                  </connectionPointOut>
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
                <variable formalParameter="OUT">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1247
                  <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
  1248
                    <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
  1249
                  </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
  1250
                </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
  1251
              </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
  1252
            </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
  1253
            <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
  1254
              <position x="580" y="1685"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1255
              <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1256
                <relPosition x="0" y="15"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1257
                <connection refLocalId="67" formalParameter="OUT">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1258
                  <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
  1259
                  <position x="371" y="1700"/>
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1260
                </connection>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1261
              </connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1262
              <expression>Test_BCD_WRONG_RESULT</expression>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1263
            </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
  1264
            <comment localId="69" height="165" width="375">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1265
              <position x="795" y="1590"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1266
              <content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1267
                <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
  1268
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1269
151 (16#97) is good BCD number , but 
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1270
154 (16#9A) is not.  
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1271
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1272
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
  1273
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1274
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1275
]]></xhtml:p>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1276
              </content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1277
            </comment>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1278
            <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
  1279
              <position x="580" y="1645"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1280
              <connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1281
                <relPosition x="0" y="15"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1282
                <connection refLocalId="67" formalParameter="ENO">
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1283
                  <position x="580" y="1660"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1284
                  <position x="370" y="1660"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1285
                </connection>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1286
              </connectionPointIn>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1287
              <expression>Test_BCD_CONVERTED</expression>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1288
            </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
  1289
            <comment localId="71" height="215" width="680">
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1290
              <position x="35" y="30"/>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1291
              <content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1292
                <xhtml:p><![CDATA[This example shows many features in Beremiz:
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1293
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1294
   1. How to implement python extensions.
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1295
   2. How to implement basic C extension.
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1296
   3. How to use C code in IEC POUs.
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1297
   4. How to call C functions from python code.
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1298
   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
  1299
   6. How to convert betweet different IEC types.
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1300
]]></xhtml:p>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1301
              </content>
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1302
            </comment>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1303
          </FBD>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1304
        </body>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1305
      </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
  1306
      <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
  1307
        <interface>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1308
          <outputVars>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1309
            <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
  1310
              <type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1311
                <SINT/>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1312
              </type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1313
            </variable>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1314
          </outputVars>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1315
          <inputVars>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1316
            <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
  1317
              <type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1318
                <SINT/>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1319
              </type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1320
            </variable>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1321
          </inputVars>
861
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1322
          <localVars>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1323
            <variable name="COORDS">
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1324
              <type>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1325
                <array>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1326
                  <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
  1327
                  <baseType>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1328
                    <SINT/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1329
                  </baseType>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1330
                </array>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1331
              </type>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1332
              <initialValue>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1333
                <arrayValue>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1334
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1335
                    <simpleValue value="54"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1336
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1337
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1338
                    <simpleValue value="55"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1339
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1340
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1341
                    <simpleValue value="56"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1342
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1343
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1344
                    <simpleValue value="57"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1345
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1346
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1347
                    <simpleValue value="58"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1348
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1349
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1350
                    <simpleValue value="59"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1351
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1352
                </arrayValue>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1353
              </initialValue>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1354
            </variable>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1355
            <variable name="SMURF">
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1356
              <type>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1357
                <derived name="CPLX_TYPE"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1358
              </type>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1359
            </variable>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1360
          </localVars>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1361
          <externalVars>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1362
            <variable name="Global_RS">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1363
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1364
                <derived name="RS"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1365
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1366
            </variable>
2626
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1367
            <variable name="Dudiduda">
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1368
              <type>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1369
                <derived name="blups"/>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1370
              </type>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1371
            </variable>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1372
          </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
  1373
        </interface>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1374
        <body>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1375
          <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
  1376
            <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
  1377
{{
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1378
  char toPLC;
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1379
  char fromPLC = GetFbVar(IN);
1086
b566ab5556ab Fixed warnings in python test
Laurent Bessard
parents: 1067
diff changeset
  1380
  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
  1381
  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
  1382
    SetFbVar(OUT, toPLC);
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1383
  }
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1384
  if(0){
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1385
    /* 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
  1386
    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
  1387
    SetFbVar(SMURF, somebyte, .FIRSTBYTE);
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1388
    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
  1389
  }
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1390
}}
1541
9be98ccfed97 cleanup python example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1457
diff changeset
  1391
(* 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
  1392
Global_RS();
2626
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1393
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1394
(* testing access to global struct array *)
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1395
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
  1396
]]></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
  1397
          </ST>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1398
        </body>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1399
      </pou>
918
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1400
      <pou name="norm" pouType="function">
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1401
        <interface>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1402
          <returnType>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1403
            <REAL/>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1404
          </returnType>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1405
          <inputVars>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1406
            <variable name="IN1">
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1407
              <type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1408
                <REAL/>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1409
              </type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1410
            </variable>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1411
            <variable name="IN2">
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1412
              <type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1413
                <REAL/>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1414
              </type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1415
            </variable>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1416
          </inputVars>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1417
        </interface>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1418
        <body>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1419
          <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
  1420
            <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
  1421
          </ST>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1422
        </body>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1423
      </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
  1424
      <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
  1425
        <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
  1426
          <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
  1427
            <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
  1428
          </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
  1429
          <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
  1430
            <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
  1431
              <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
  1432
                <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
  1433
              </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
  1434
            </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
  1435
          </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
  1436
        </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
  1437
        <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
  1438
          <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
  1439
            <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
  1440
]]></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
  1441
          </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
  1442
        </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
  1443
      </pou>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1444
    </pous>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1445
  </types>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1446
  <instances>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1447
    <configurations>
1452
7a2b344de8cf Fixed build of tests/python.
Edouard Tisserant
parents: 1436
diff changeset
  1448
      <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
  1449
        <resource name="res_pytest">
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1450
          <task name="pytest_task" interval="T#1ms" priority="0"/>
918
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1451
          <globalVars>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1452
            <variable name="TOTO">
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1453
              <type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1454
                <INT/>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1455
              </type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1456
            </variable>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1457
          </globalVars>
366
cd90e4c10261 Move python evaluator to create a python plugin containing any related python module
laurent
parents: 283
diff changeset
  1458
          <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
  1459
        </resource>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1460
        <globalVars>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1461
          <variable name="Global_RS">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1462
            <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1463
              <derived name="RS"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1464
            </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1465
          </variable>
2626
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1466
          <variable name="Dudiduda">
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1467
            <type>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1468
              <derived name="blups"/>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1469
            </type>
39d78c530cbb Fixed unitialized parameter in instances_path stylesheet, leading to
Edouard Tisserant
parents: 2346
diff changeset
  1470
          </variable>
1013
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1471
          <variable name="TUTU">
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1472
            <type>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1473
              <INT/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1474
            </type>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1475
          </variable>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1476
        </globalVars>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1477
      </configuration>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1478
    </configurations>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1479
  </instances>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1480
</project>