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