tests/python/plc.xml
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Wed, 20 Apr 2016 17:30:16 +0300
changeset 1490 f03bc6c9c146
parent 1457 ff7cfce737ca
child 1541 9be98ccfed97
permissions -rw-r--r--
make About and Find dialogs have the same icon as main Beremiz window

all child windows will take the parent's icon, if no other is specified.
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">
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
     3
  <fileHeader companyName="" productName="Beremiz" productVersion="0.0" creationDateTime="2008-12-14T16:21:19"/>
1457
ff7cfce737ca Added PLCID variable accessible from C side, set with binarie's MD5. Added retain init and cleanup calls. Extended tests/python to test PLCID
Edouard Tisserant
parents: 1452
diff changeset
     4
  <contentHeader name="Beremiz Python Support Tests" modificationDateTime="2015-03-13T22:06:10">
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>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    57
            <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
    58
              <type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    59
                <string/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    60
              </type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    61
            </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
    62
            <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
    63
              <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
    64
                <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
    65
              </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
    66
            </variable>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    67
            <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
    68
              <type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    69
                <BOOL/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    70
              </type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    71
            </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    72
            <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
    73
              <type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    74
                <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
    75
              </type>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
    76
            </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
    77
            <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
    78
              <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
    79
                <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
    80
              </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
    81
            </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
    82
            <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
    83
              <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
    84
                <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
    85
              </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
    86
            </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
    87
            <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
    88
              <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
    89
                <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
    90
              </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
    91
            </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
    92
            <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
    93
              <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
    94
                <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
    95
              </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
    96
            </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
    97
            <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
    98
              <type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
    99
                <SINT/>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   100
              </type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   101
            </variable>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   102
            <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
   103
              <type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   104
                <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
   105
              </type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   106
            </variable>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   107
          </localVars>
1099
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   108
          <externalVars>
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   109
            <variable name="TestInput">
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   110
              <type>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   111
                <SINT/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   112
              </type>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   113
            </variable>
1099
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   114
            <variable name="TestOutput">
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   115
              <type>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   116
                <SINT/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   117
              </type>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   118
            </variable>
1099
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   119
          </externalVars>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   120
          <localVars>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   121
            <variable name="FromInput">
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   122
              <type>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   123
                <SINT/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   124
              </type>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   125
            </variable>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   126
            <variable name="Test_BCD">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   127
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   128
                <WORD/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   129
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   130
              <initialValue>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   131
                <simpleValue value="300"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   132
              </initialValue>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   133
            </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   134
            <variable name="Test_BCD_RESULT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   135
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   136
                <UINT/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   137
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   138
            </variable>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   139
            <variable name="Test_BCD_ENO">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   140
              <type>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   141
                <BOOL/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   142
              </type>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   143
            </variable>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   144
            <variable name="Test_DT">
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
                <DT/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   147
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   148
              <initialValue>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   149
                <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
   150
              </initialValue>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   151
            </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   152
            <variable name="Test_TOD">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   153
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   154
                <TOD/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   155
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   156
            </variable>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   157
            <variable name="Test_TOD_STRING">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   158
              <type>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   159
                <string/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   160
              </type>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   161
            </variable>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   162
            <variable name="Test_Date">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   163
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   164
                <DATE/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   165
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   166
            </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   167
            <variable name="Test_String">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   168
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   169
                <string/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   170
              </type>
918
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
   171
              <initialValue>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
   172
                <simpleValue value="test"/>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
   173
              </initialValue>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   174
            </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   175
            <variable name="Test_Bool">
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
                <BOOL/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   178
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   179
            </variable>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   180
          </localVars>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   181
          <externalVars>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   182
            <variable name="Global_RS">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   183
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   184
                <derived name="RS"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   185
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   186
            </variable>
1013
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   187
            <variable name="TUTU">
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   188
              <type>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   189
                <INT/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   190
              </type>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   191
            </variable>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   192
            <variable name="TOTO">
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   193
              <type>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   194
                <INT/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   195
              </type>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
   196
            </variable>
1145
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   197
            <variable name="Test_Python_Var">
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   198
              <type>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   199
                <INT/>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   200
              </type>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   201
            </variable>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   202
            <variable name="Second_Python_Var">
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   203
              <type>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   204
                <INT/>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   205
              </type>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   206
            </variable>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   207
          </externalVars>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   208
        </interface>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   209
        <body>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   210
          <FBD>
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
   211
            <inVariable localId="4" height="30" width="160">
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   212
              <position x="295" y="230"/>
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
   213
              <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
   214
                <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
   215
              </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
   216
              <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
   217
            </inVariable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   218
            <block localId="5" width="125" height="80" typeName="python_eval" instanceName="py1">
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   219
              <position x="650" y="180"/>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   220
              <inputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   221
                <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
   222
                  <connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   223
                    <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
   224
                    <connection refLocalId="7" formalParameter="OUT">
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   225
                      <position x="650" y="215"/>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   226
                      <position x="285" y="215"/>
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
   227
                      <position x="285" y="260"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   228
                      <position x="250" y="260"/>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   229
                    </connection>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   230
                  </connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   231
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   232
                <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
   233
                  <connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   234
                    <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
   235
                    <connection refLocalId="4">
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   236
                      <position x="650" y="245"/>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   237
                      <position x="455" y="245"/>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   238
                    </connection>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   239
                  </connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   240
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   241
              </inputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   242
              <inOutVariables/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   243
              <outputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   244
                <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
   245
                  <connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   246
                    <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
   247
                  </connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   248
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   249
                <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
   250
                  <connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   251
                    <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
   252
                  </connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   253
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   254
              </outputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   255
            </block>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   256
            <block localId="7" width="70" height="45" typeName="NOT">
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
   257
              <position x="180" y="230"/>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   258
              <inputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   259
                <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
   260
                  <connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   261
                    <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
   262
                    <connection refLocalId="3">
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
   263
                      <position x="180" y="260"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   264
                      <position x="155" y="260"/>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   265
                    </connection>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   266
                  </connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   267
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   268
              </inputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   269
              <inOutVariables/>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   270
              <outputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   271
                <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
   272
                  <connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   273
                    <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
   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
                </variable>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   276
              </outputVariables>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   277
            </block>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   278
            <inOutVariable localId="3" height="30" width="120">
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
   279
              <position x="35" y="245"/>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   280
              <connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   281
                <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
   282
                <connection refLocalId="7" formalParameter="OUT">
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
   283
                  <position x="35" y="260"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   284
                  <position x="25" y="260"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   285
                  <position x="25" y="220"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   286
                  <position x="270" y="220"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   287
                  <position x="270" y="260"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   288
                  <position x="250" y="260"/>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   289
                </connection>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   290
              </connectionPointIn>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   291
              <connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   292
                <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
   293
              </connectionPointOut>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
   294
              <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
   295
            </inOutVariable>
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
   296
            <block localId="8" width="125" height="80" typeName="python_eval" instanceName="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
   297
              <position x="650" y="295"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   298
              <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
   299
                <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
   300
                  <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
   301
                    <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
   302
                    <connection refLocalId="7" formalParameter="OUT">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   303
                      <position x="650" y="330"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   304
                      <position x="285" y="330"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   305
                      <position x="285" y="260"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   306
                      <position x="250" y="260"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   307
                    </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
   308
                  </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
   309
                </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
   310
                <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
   311
                  <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
   312
                    <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
   313
                    <connection refLocalId="9">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   314
                      <position x="650" y="360"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   315
                      <position x="585" y="360"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   316
                    </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
   317
                  </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
   318
                </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
   319
              </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
   320
              <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
   321
              <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
   322
                <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
   323
                  <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
   324
                    <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
   325
                  </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
   326
                </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
   327
                <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
   328
                  <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
   329
                    <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
   330
                  </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
   331
                </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
   332
              </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
   333
            </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
   334
            <inVariable localId="9" height="30" width="290">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   335
              <position x="295" y="345"/>
2221e99d2f8f fixed plc_python.c to 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
              <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
   337
                <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
   338
              </connectionPointOut>
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   339
              <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
   340
            </inVariable>
2221e99d2f8f fixed plc_python.c to 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
            <inVariable localId="11" height="30" width="290">
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   342
              <position x="295" y="465"/>
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
   343
              <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
   344
                <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
   345
              </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
   346
              <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
   347
            </inVariable>
2221e99d2f8f fixed plc_python.c to 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
            <block localId="12" width="125" height="80" typeName="python_eval" instanceName="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
   349
              <position x="650" y="417"/>
2221e99d2f8f fixed plc_python.c to 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
              <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
   351
                <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
   352
                  <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
   353
                    <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
   354
                    <connection refLocalId="7" formalParameter="OUT">
2221e99d2f8f fixed plc_python.c to 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
                      <position x="650" y="450"/>
2221e99d2f8f fixed plc_python.c to 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
                      <position x="285" y="450"/>
2221e99d2f8f fixed plc_python.c to 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
                      <position x="285" y="260"/>
2221e99d2f8f fixed plc_python.c to 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
                      <position x="250" y="260"/>
2221e99d2f8f fixed plc_python.c to 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
                    </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
   360
                  </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
   361
                </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
   362
                <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
   363
                  <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
   364
                    <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
   365
                    <connection refLocalId="11">
2221e99d2f8f fixed plc_python.c to 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
                      <position x="650" y="480"/>
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   367
                      <position x="585" y="480"/>
282
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   368
                    </connection>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   369
                  </connectionPointIn>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   370
                </variable>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   371
              </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
   372
              <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
   373
              <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
   374
                <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
   375
                  <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
   376
                    <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
   377
                  </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
   378
                </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
   379
                <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
   380
                  <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
   381
                    <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
   382
                  </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
   383
                </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
   384
              </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
   385
            </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
   386
            <inVariable localId="14" height="30" width="290">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   387
              <position x="290" y="590"/>
2221e99d2f8f fixed plc_python.c to 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
              <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
   389
                <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
   390
              </connectionPointOut>
734
5c42cafaee15 Moved LPC sources to a separate project
Edouard Tisserant
parents: 729
diff changeset
   391
              <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
   392
            </inVariable>
2221e99d2f8f fixed plc_python.c to 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
            <block localId="15" width="125" height="80" typeName="python_eval" instanceName="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
   394
              <position x="650" y="542"/>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   395
              <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
   396
                <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
   397
                  <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
   398
                    <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
   399
                    <connection refLocalId="7" formalParameter="OUT">
2221e99d2f8f fixed plc_python.c to 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
                      <position x="650" y="575"/>
2221e99d2f8f fixed plc_python.c to 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
                      <position x="285" y="575"/>
2221e99d2f8f fixed plc_python.c to 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
                      <position x="285" y="260"/>
2221e99d2f8f fixed plc_python.c to 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
                      <position x="250" y="260"/>
2221e99d2f8f fixed plc_python.c to 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
                    </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
   405
                  </connectionPointIn>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   406
                </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
   407
                <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
   408
                  <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
   409
                    <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
   410
                    <connection refLocalId="14">
2221e99d2f8f fixed plc_python.c to 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
                      <position x="650" y="605"/>
2221e99d2f8f fixed plc_python.c to 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
                      <position x="580" y="605"/>
2221e99d2f8f fixed plc_python.c to 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
                    </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
   414
                  </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
   415
                </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
   416
              </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
   417
              <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
   418
              <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
   419
                <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
   420
                  <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
   421
                    <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
   422
                  </connectionPointOut>
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   423
                </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
   424
                <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
   425
                  <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
   426
                    <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
   427
                  </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
   428
                </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
   429
              </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
   430
            </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
   431
            <comment localId="16" height="90" width="680">
2221e99d2f8f fixed plc_python.c to assure data coherancy from the PLC point of view. Also fix non work multiple python_eval FB instance case.
etisserant
parents: 280
diff changeset
   432
              <position x="50" y="25"/>
2221e99d2f8f fixed plc_python.c to 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
              <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
   434
                <xhtml:p><![CDATA[This 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
   435
              </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
   436
            </comment>
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
   437
            <block localId="17" width="80" height="120" typeName="MUX">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   438
              <position x="1065" y="495"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   439
              <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
   440
                <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
   441
                  <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
   442
                    <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
   443
                    <connection refLocalId="18">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   444
                      <position x="1065" y="525"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   445
                      <position x="1030" y="525"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   446
                    </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
   447
                  </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
   448
                </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
   449
                <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
   450
                  <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
   451
                    <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
   452
                    <connection refLocalId="5" formalParameter="RESULT">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   453
                      <position x="1065" y="545"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   454
                      <position x="905" y="545"/>
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   455
                      <position x="905" y="245"/>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   456
                      <position x="775" y="245"/>
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
   457
                    </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
   458
                  </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
   459
                </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
   460
                <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
   461
                  <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
   462
                    <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
   463
                    <connection refLocalId="8" formalParameter="RESULT">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   464
                      <position x="1065" y="565"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   465
                      <position x="890" y="565"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   466
                      <position x="890" y="360"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   467
                      <position x="775" y="360"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_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
                    </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
   469
                  </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
   470
                </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
   471
                <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
   472
                  <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
   473
                    <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
   474
                    <connection refLocalId="12" formalParameter="RESULT">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   475
                      <position x="1065" y="585"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   476
                      <position x="875" y="585"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_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
                      <position x="875" y="480"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_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
                      <position x="775" y="480"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_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
                    </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
   480
                  </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
   481
                </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
   482
                <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
   483
                  <connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   484
                    <relPosition x="0" y="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
   485
                    <connection refLocalId="15" formalParameter="RESULT">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   486
                      <position x="1065" y="605"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   487
                      <position x="775" y="605"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_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
              </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
   492
              <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
   493
              <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
   494
                <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
   495
                  <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
   496
                    <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
   497
                  </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
   498
                </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
   499
              </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
   500
            </block>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_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
            <inVariable localId="18" height="30" width="20">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_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
              <position x="1010" y="510"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_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
              <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
   504
                <relPosition x="20" 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
   505
              </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
   506
              <expression>3</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
   507
            </inVariable>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   508
            <outVariable localId="19" height="35" width="125">
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   509
              <position x="1185" y="510"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   510
              <connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   511
                <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
   512
                <connection refLocalId="17" 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
   513
                  <position x="1185" y="525"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_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
                  <position x="1145" y="525"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   515
                </connection>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   516
              </connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   517
              <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
   518
            </outVariable>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_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
            <block localId="21" width="80" height="120" typeName="MUX">
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   520
              <position x="985" y="165"/>
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
   521
              <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
   522
                <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
   523
                  <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
   524
                    <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
   525
                    <connection refLocalId="22">
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   526
                      <position x="985" y="195"/>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   527
                      <position x="950" y="195"/>
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
   528
                    </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
   529
                  </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
   530
                </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
   531
                <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
   532
                  <connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   533
                    <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
   534
                    <connection refLocalId="5" formalParameter="ACK">
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   535
                      <position x="985" y="215"/>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   536
                      <position x="775" y="215"/>
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
   537
                    </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
   538
                  </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
   539
                </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
   540
                <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
   541
                  <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
   542
                    <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
   543
                    <connection refLocalId="8" formalParameter="ACK">
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   544
                      <position x="985" y="235"/>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   545
                      <position x="805" y="235"/>
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
   546
                      <position x="805" y="330"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_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
                      <position x="775" y="330"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   548
                    </connection>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_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
                  </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
   550
                </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
   551
                <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
   552
                  <connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   553
                    <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
   554
                    <connection refLocalId="12" formalParameter="ACK">
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   555
                      <position x="985" y="255"/>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   556
                      <position x="820" y="255"/>
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
   557
                      <position x="820" y="450"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_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
                      <position x="775" y="450"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_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
                    </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
   560
                  </connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   561
                </variable>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   562
                <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
   563
                  <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
   564
                    <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
   565
                    <connection refLocalId="15" formalParameter="ACK">
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   566
                      <position x="985" y="275"/>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   567
                      <position x="835" y="275"/>
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
   568
                      <position x="835" y="575"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_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
                      <position x="775" y="575"/>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   570
                    </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
   571
                  </connectionPointIn>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   572
                </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
   573
              </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
   574
              <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
   575
              <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
   576
                <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
   577
                  <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
   578
                    <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
   579
                  </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
   580
                </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
   581
              </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
   582
            </block>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_eval FBs requests. Added small python editor taken from wxPython demo, and appropriate icon and button to launch it.
etisserant
parents: 282
diff changeset
   583
            <inVariable localId="22" height="30" width="20">
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   584
              <position x="930" y="180"/>
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
              <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
   586
                <relPosition x="20" 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
   587
              </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
   588
              <expression>3</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
   589
            </inVariable>
d0e6fc0701fb Added "runtime.py", a file that is executed in python thread in runtime, before handling python_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
            <outVariable localId="23" height="35" width="125">
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   591
              <position x="1150" y="180"/>
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
   592
              <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
   593
                <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
   594
                <connection refLocalId="21" formalParameter="OUT">
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   595
                  <position x="1150" y="195"/>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   596
                  <position x="1065" y="195"/>
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
   597
                </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
   598
              </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
   599
              <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
   600
            </outVariable>
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   601
            <outVariable localId="25" height="30" width="60">
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   602
              <position x="520" y="655"/>
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   603
              <connectionPointIn>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   604
                <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
   605
                <connection refLocalId="26" formalParameter="OUT">
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   606
                  <position x="520" y="670"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   607
                  <position x="465" y="670"/>
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   608
                </connection>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   609
              </connectionPointIn>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   610
              <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
   611
            </outVariable>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   612
            <inVariable localId="1" height="30" width="30">
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   613
              <position x="305" y="655"/>
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   614
              <connectionPointOut>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   615
                <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
   616
              </connectionPointOut>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   617
              <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
   618
            </inVariable>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   619
            <block localId="26" width="80" height="45" typeName="C_Pragma" instanceName="C_Pragma0">
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   620
              <position x="385" y="640"/>
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   621
              <inputVariables>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   622
                <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
   623
                  <connectionPointIn>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   624
                    <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
   625
                    <connection refLocalId="1">
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   626
                      <position x="385" y="670"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   627
                      <position x="335" y="670"/>
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   628
                    </connection>
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
                </variable>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   631
              </inputVariables>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   632
              <inOutVariables/>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   633
              <outputVariables>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   634
                <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
   635
                  <connectionPointOut>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   636
                    <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
   637
                  </connectionPointOut>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   638
                </variable>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   639
              </outputVariables>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
   640
            </block>
1099
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   641
            <inVariable localId="27" height="30" width="90">
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   642
              <position x="300" y="770"/>
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   643
              <connectionPointOut>
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   644
                <relPosition x="90" y="15"/>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   645
              </connectionPointOut>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   646
              <expression>TestInput</expression>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   647
            </inVariable>
1099
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   648
            <outVariable localId="28" height="30" width="105">
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   649
              <position x="395" y="705"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   650
              <connectionPointIn>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   651
                <relPosition x="0" y="15"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   652
                <connection refLocalId="2">
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   653
                  <position x="395" y="720"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   654
                  <position x="340" y="720"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   655
                </connection>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   656
              </connectionPointIn>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   657
              <expression>TestOutput</expression>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   658
            </outVariable>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   659
            <outVariable localId="29" height="30" width="85">
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   660
              <position x="415" y="770"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   661
              <connectionPointIn>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   662
                <relPosition x="0" y="15"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   663
                <connection refLocalId="27">
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   664
                  <position x="415" y="785"/>
1099
d9c28879e55b Updated python test
Laurent Bessard
parents: 1086
diff changeset
   665
                  <position x="390" y="785"/>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   666
                </connection>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   667
              </connectionPointIn>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   668
              <expression>FromInput</expression>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   669
            </outVariable>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   670
            <inVariable localId="2" height="30" width="30">
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   671
              <position x="310" y="705"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   672
              <connectionPointOut>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   673
                <relPosition x="30" y="15"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   674
              </connectionPointOut>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   675
              <expression>10</expression>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   676
            </inVariable>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   677
            <comment localId="30" height="90" width="405">
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   678
              <position x="245" y="825"/>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   679
              <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
   680
                <xhtml:p><![CDATA[You will be ready to use beremiz with C and Python when you will understand why "FromInput" is equal  to 75.
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
   681
Enjoy. ]]></xhtml:p>
860
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   682
              </content>
8a51046010d7 Even more pedagogical tests/python. Renaming will not help
Edouard Tisserant
parents: 859
diff changeset
   683
            </comment>
862
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   684
            <comment localId="31" height="60" width="345">
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   685
              <position x="295" y="265"/>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   686
              <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
   687
                <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
   688
              </content>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   689
            </comment>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   690
            <comment localId="6" height="60" width="345">
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   691
              <position x="295" y="380"/>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   692
              <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
   693
                <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
   694
              </content>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   695
            </comment>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   696
            <comment localId="10" height="60" width="345">
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   697
              <position x="295" y="500"/>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   698
              <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
   699
                <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
   700
              </content>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   701
            </comment>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   702
            <comment localId="32" height="105" width="235">
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   703
              <position x="25" y="285"/>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   704
              <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
   705
                <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
   706
              </content>
bb59865db6e6 Introduced FBID in tests/python example. Fixed type error leading to segfault
Edouard Tisserant
parents: 861
diff changeset
   707
            </comment>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   708
            <outVariable localId="33" height="30" width="130">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   709
              <position x="1060" y="740"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   710
              <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   711
                <relPosition x="0" y="15"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   712
                <connection refLocalId="35" formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   713
                  <position x="1060" y="755"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   714
                  <position x="1005" y="755"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   715
                </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   716
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   717
              <expression>Test_BCD_RESULT</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   718
            </outVariable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   719
            <inVariable localId="34" height="30" width="75">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   720
              <position x="785" y="740"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   721
              <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   722
                <relPosition x="75" y="15"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   723
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   724
              <expression>Test_BCD</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   725
            </inVariable>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   726
            <block localId="35" width="105" height="60" typeName="BCD_TO_UINT">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   727
              <position x="900" y="705"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   728
              <inputVariables>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   729
                <variable formalParameter="EN">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   730
                  <connectionPointIn>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   731
                    <relPosition x="0" y="30"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   732
                  </connectionPointIn>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   733
                </variable>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   734
                <variable formalParameter="IN">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   735
                  <connectionPointIn>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   736
                    <relPosition x="0" y="50"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   737
                    <connection refLocalId="34">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   738
                      <position x="900" y="755"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   739
                      <position x="860" y="755"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   740
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   741
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   742
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   743
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   744
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   745
              <outputVariables>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   746
                <variable formalParameter="ENO">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   747
                  <connectionPointOut>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   748
                    <relPosition x="105" y="30"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   749
                  </connectionPointOut>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   750
                </variable>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   751
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   752
                  <connectionPointOut>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
   753
                    <relPosition x="105" y="50"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   754
                  </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   755
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   756
              </outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   757
            </block>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   758
            <inVariable localId="36" height="30" width="65">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   759
              <position x="790" y="815"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   760
              <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   761
                <relPosition x="65" y="15"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   762
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   763
              <expression>Test_DT</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   764
            </inVariable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   765
            <block localId="37" width="255" height="45" typeName="DATE_AND_TIME_TO_TIME_OF_DAY">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   766
              <position x="900" y="800"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   767
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   768
                <variable formalParameter="IN">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   769
                  <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   770
                    <relPosition x="0" y="30"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   771
                    <connection refLocalId="36">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   772
                      <position x="900" y="830"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   773
                      <position x="855" y="830"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   774
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   775
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   776
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   777
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   778
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   779
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   780
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   781
                  <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   782
                    <relPosition x="255" y="30"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   783
                  </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   784
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   785
              </outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   786
            </block>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   787
            <block localId="38" width="195" height="45" typeName="DATE_AND_TIME_TO_DATE">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   788
              <position x="900" y="875"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   789
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   790
                <variable formalParameter="IN">
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
                    <relPosition x="0" y="30"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   793
                    <connection refLocalId="36">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   794
                      <position x="900" y="905"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   795
                      <position x="877" y="905"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   796
                      <position x="877" y="830"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   797
                      <position x="855" y="830"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   798
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   799
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   800
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   801
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   802
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   803
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   804
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   805
                  <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   806
                    <relPosition x="195" y="30"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   807
                  </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   808
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   809
              </outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   810
            </block>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   811
            <outVariable localId="40" height="30" width="80">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   812
              <position x="1215" y="890"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   813
              <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   814
                <relPosition x="0" y="15"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   815
                <connection refLocalId="38" formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   816
                  <position x="1215" y="905"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   817
                  <position x="1095" y="905"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   818
                </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   819
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   820
              <expression>Test_Date</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   821
            </outVariable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   822
            <outVariable localId="42" height="30" width="90">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   823
              <position x="1100" y="985"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   824
              <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   825
                <relPosition x="0" y="15"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   826
                <connection refLocalId="46" formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   827
                  <position x="1100" y="1000"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   828
                  <position x="1030" y="1000"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   829
                </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   830
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   831
              <expression>Test_String</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   832
            </outVariable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   833
            <outVariable localId="43" height="30" width="80">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   834
              <position x="1100" y="1055"/>
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
                <relPosition x="0" y="15"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   837
                <connection refLocalId="44" formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   838
                  <position x="1100" y="1070"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   839
                  <position x="1035" y="1070"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   840
                </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   841
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   842
              <expression>Test_Bool</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   843
            </outVariable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   844
            <block localId="44" width="135" height="45" typeName="STRING_TO_BOOL">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   845
              <position x="900" y="1040"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   846
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   847
                <variable formalParameter="IN">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   848
                  <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   849
                    <relPosition x="0" y="30"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   850
                    <connection refLocalId="45">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   851
                      <position x="900" y="1070"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   852
                      <position x="850" y="1070"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   853
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   854
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   855
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   856
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   857
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   858
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   859
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   860
                  <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   861
                    <relPosition x="135" y="30"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   862
                  </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   863
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   864
              </outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   865
            </block>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   866
            <inVariable localId="45" height="30" width="55">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   867
              <position x="795" y="1055"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   868
              <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   869
                <relPosition x="55" y="15"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   870
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   871
              <expression>'True'</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   872
            </inVariable>
1145
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   873
            <block localId="46" width="130" height="45" typeName="INT_TO_STRING">
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   874
              <position x="900" y="970"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   875
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   876
                <variable formalParameter="IN">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   877
                  <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   878
                    <relPosition x="0" y="30"/>
1145
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   879
                    <connection refLocalId="58">
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   880
                      <position x="900" y="1000"/>
1145
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
   881
                      <position x="840" y="1000"/>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   882
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   883
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   884
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   885
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   886
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   887
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   888
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   889
                  <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   890
                    <relPosition x="130" y="30"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   891
                  </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   892
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   893
              </outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   894
            </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
   895
            <inVariable localId="50" height="30" width="105" executionOrderId="0" negated="false">
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   896
              <position x="200" y="1085"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   897
              <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   898
                <relPosition x="105" y="15"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   899
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   900
              <expression>Global_RS.Q1</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   901
            </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
   902
            <block localId="51" width="70" height="85" typeName="AND" executionOrderId="0">
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   903
              <position x="365" y="1065"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   904
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   905
                <variable formalParameter="IN1" negated="true">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   906
                  <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   907
                    <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
   908
                    <connection refLocalId="50">
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
   909
                      <position x="365" y="1100"/>
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
   910
                      <position x="305" y="1100"/>
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
   911
                    </connection>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   912
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   913
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   914
                <variable formalParameter="IN2">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   915
                  <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   916
                    <relPosition x="0" y="70"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   917
                    <connection refLocalId="52">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   918
                      <position x="365" y="1135"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   919
                      <position x="305" y="1135"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   920
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   921
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   922
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   923
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   924
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   925
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   926
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   927
                  <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   928
                    <relPosition x="70" y="35"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   929
                  </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   930
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   931
              </outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   932
            </block>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   933
            <inVariable localId="52" height="30" width="95">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   934
              <position x="210" y="1120"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   935
              <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   936
                <relPosition x="95" y="15"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   937
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   938
              <expression>BOOL#TRUE</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   939
            </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
   940
            <outVariable localId="13" height="30" width="105" executionOrderId="0" negated="false">
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   941
              <position x="510" y="1085"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   942
              <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   943
                <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
   944
                <connection refLocalId="51" 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
   945
                  <position x="510" y="1100"/>
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
   946
                  <position x="435" y="1100"/>
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
   947
                </connection>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   948
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   949
              <expression>Global_RS.S</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   950
            </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
   951
            <outVariable localId="20" height="30" width="105" executionOrderId="0" negated="false">
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   952
              <position x="510" y="1200"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   953
              <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   954
                <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
   955
                <connection refLocalId="41" 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
   956
                  <position x="510" y="1215"/>
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
   957
                  <position x="435" y="1215"/>
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
   958
                </connection>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   959
              </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   960
              <expression>Global_RS.R1</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   961
            </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
   962
            <inVariable localId="24" height="30" width="105" executionOrderId="0" negated="false">
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   963
              <position x="200" y="1200"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   964
              <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   965
                <relPosition x="105" y="15"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   966
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   967
              <expression>Global_RS.Q1</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   968
            </inVariable>
1401
611fded24ce4 Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python
Edouard Tisserant
parents: 1145
diff changeset
   969
            <block localId="41" width="70" height="85" typeName="OR" executionOrderId="0">
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   970
              <position x="365" y="1180"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   971
              <inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   972
                <variable formalParameter="IN1">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   973
                  <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   974
                    <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
   975
                    <connection refLocalId="24">
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
   976
                      <position x="365" y="1215"/>
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
   977
                      <position x="305" y="1215"/>
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
   978
                    </connection>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   979
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   980
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   981
                <variable formalParameter="IN2">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   982
                  <connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   983
                    <relPosition x="0" y="70"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   984
                    <connection refLocalId="48">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   985
                      <position x="365" y="1250"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   986
                      <position x="305" y="1250"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   987
                    </connection>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   988
                  </connectionPointIn>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   989
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   990
              </inputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   991
              <inOutVariables/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   992
              <outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   993
                <variable formalParameter="OUT">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   994
                  <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   995
                    <relPosition x="70" y="35"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   996
                  </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   997
                </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   998
              </outputVariables>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
   999
            </block>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1000
            <inVariable localId="48" height="30" width="100">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1001
              <position x="205" y="1235"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1002
              <connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1003
                <relPosition x="100" y="15"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1004
              </connectionPointOut>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1005
              <expression>BOOL#FALSE</expression>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1006
            </inVariable>
941
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1007
            <outVariable localId="53" height="30" width="115">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1008
              <position x="1060" y="700"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1009
              <connectionPointIn>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1010
                <relPosition x="0" y="15"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1011
                <connection refLocalId="35" formalParameter="ENO">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1012
                  <position x="1060" y="715"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1013
                  <position x="1032" y="715"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1014
                  <position x="1032" y="735"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1015
                  <position x="1005" y="735"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1016
                </connection>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1017
              </connectionPointIn>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1018
              <expression>Test_BCD_ENO</expression>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1019
            </outVariable>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1020
            <outVariable localId="54" height="30" width="135">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1021
              <position x="1565" y="815"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1022
              <connectionPointIn>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1023
                <relPosition x="0" y="15"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1024
                <connection refLocalId="55" formalParameter="OUT">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1025
                  <position x="1565" y="830"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1026
                  <position x="1490" y="830"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1027
                </connection>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1028
              </connectionPointIn>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1029
              <expression>Test_TOD_STRING</expression>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1030
            </outVariable>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1031
            <block localId="55" width="125" height="45" typeName="TOD_TO_STRING">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1032
              <position x="1365" y="800"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1033
              <inputVariables>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1034
                <variable formalParameter="IN">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1035
                  <connectionPointIn>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1036
                    <relPosition x="0" y="30"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1037
                    <connection refLocalId="39">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1038
                      <position x="1365" y="830"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1039
                      <position x="1290" y="830"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1040
                    </connection>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1041
                  </connectionPointIn>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1042
                </variable>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1043
              </inputVariables>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1044
              <inOutVariables/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1045
              <outputVariables>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1046
                <variable formalParameter="OUT">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1047
                  <connectionPointOut>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1048
                    <relPosition x="125" y="30"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1049
                  </connectionPointOut>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1050
                </variable>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1051
              </outputVariables>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1052
            </block>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1053
            <inOutVariable localId="39" height="30" width="75">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1054
              <position x="1215" y="815"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1055
              <connectionPointIn>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1056
                <relPosition x="0" y="15"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1057
                <connection refLocalId="37" formalParameter="OUT">
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1058
                  <position x="1215" y="830"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1059
                  <position x="1155" y="830"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1060
                </connection>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1061
              </connectionPointIn>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1062
              <connectionPointOut>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1063
                <relPosition x="75" y="15"/>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1064
              </connectionPointOut>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1065
              <expression>Test_TOD</expression>
b6e93549de2e Fixed bug ForceVariableDialog when forcing DATETIME variables
Laurent Bessard
parents: 918
diff changeset
  1066
            </inOutVariable>
1013
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1067
            <inVariable localId="49" height="30" width="30">
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1068
              <position x="765" y="1200"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1069
              <connectionPointOut>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1070
                <relPosition x="30" y="15"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1071
              </connectionPointOut>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1072
              <expression>42</expression>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1073
            </inVariable>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1074
            <outVariable localId="57" height="30" width="50">
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1075
              <position x="845" y="1200"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1076
              <connectionPointIn>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1077
                <relPosition x="0" y="15"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1078
                <connection refLocalId="49">
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1079
                  <position x="845" y="1215"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1080
                  <position x="795" y="1215"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1081
                </connection>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1082
              </connectionPointIn>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1083
              <expression>TOTO</expression>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1084
            </outVariable>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1085
            <outVariable localId="56" height="30" width="50">
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1086
              <position x="845" y="1240"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1087
              <connectionPointIn>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1088
                <relPosition x="0" y="15"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1089
                <connection refLocalId="49">
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1090
                  <position x="845" y="1255"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1091
                  <position x="820" y="1255"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1092
                  <position x="820" y="1215"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1093
                  <position x="795" y="1215"/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1094
                </connection>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1095
              </connectionPointIn>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1096
              <expression>TUTU</expression>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1097
            </outVariable>
1145
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1098
            <inVariable localId="58" height="30" width="145">
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1099
              <position x="715" y="985"/>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1100
              <connectionPointOut>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1101
                <relPosition x="145" y="15"/>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1102
              </connectionPointOut>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1103
              <expression>Second_Python_Var</expression>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1104
            </inVariable>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1105
            <outVariable localId="47" height="30" width="125">
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1106
              <position x="400" y="975"/>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1107
              <connectionPointIn>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1108
                <relPosition x="0" y="15"/>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1109
                <connection refLocalId="59">
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1110
                  <position x="400" y="990"/>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1111
                  <position x="330" y="990"/>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1112
                </connection>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1113
              </connectionPointIn>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1114
              <expression>Test_Python_Var</expression>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1115
            </outVariable>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1116
            <inVariable localId="59" height="30" width="30">
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1117
              <position x="300" y="975"/>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1118
              <connectionPointOut>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1119
                <relPosition x="30" y="15"/>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1120
              </connectionPointOut>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1121
              <expression>23</expression>
203f4eff3313 Fixed PLC global var access from python. Added test in tests/python
Edouard Tisserant
parents: 1099
diff changeset
  1122
            </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
  1123
            <block localId="61" typeName="function0" executionOrderId="0" height="45" width="110">
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
  1124
              <position x="1680" y="255"/>
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
  1125
              <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
  1126
                <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
  1127
                  <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
  1128
                    <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
  1129
                    <connection refLocalId="62">
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
                      <position x="1680" y="285"/>
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
                      <position x="1640" y="285"/>
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>
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
  1133
                  </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
  1134
                </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
  1135
              </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
  1136
              <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
  1137
              <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
  1138
                <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
  1139
                  <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
  1140
                    <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
  1141
                  </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
  1142
                </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
  1143
              </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
  1144
            </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
  1145
            <inVariable localId="62" executionOrderId="0" height="30" width="55" negated="false">
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
              <position x="1585" y="270"/>
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
              <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
  1148
                <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
  1149
              </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
  1150
              <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
  1151
            </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
  1152
            <outVariable localId="63" executionOrderId="0" height="30" width="55" negated="false">
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
              <position x="1825" y="270"/>
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
              <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
  1155
                <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
  1156
                <connection refLocalId="61" 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
  1157
                  <position x="1825" y="285"/>
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
                  <position x="1790" y="285"/>
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>
d6adca8b6697 Updated tests/python : added derivated return type function declaration+call and re-enabled refrences to global FB interfaces
Edouard Tisserant
parents: 1401
diff changeset
  1160
              </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
  1161
              <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
  1162
            </outVariable>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1163
          </FBD>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1164
        </body>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1165
      </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
  1166
      <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
  1167
        <interface>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1168
          <outputVars>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1169
            <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
  1170
              <type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1171
                <SINT/>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1172
              </type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1173
            </variable>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1174
          </outputVars>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1175
          <inputVars>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1176
            <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
  1177
              <type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1178
                <SINT/>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1179
              </type>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1180
            </variable>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1181
          </inputVars>
861
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1182
          <localVars>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1183
            <variable name="COORDS">
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1184
              <type>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1185
                <array>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1186
                  <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
  1187
                  <baseType>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1188
                    <SINT/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1189
                  </baseType>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1190
                </array>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1191
              </type>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1192
              <initialValue>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1193
                <arrayValue>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1194
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1195
                    <simpleValue value="54"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1196
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1197
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1198
                    <simpleValue value="55"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1199
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1200
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1201
                    <simpleValue value="56"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1202
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1203
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1204
                    <simpleValue value="57"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1205
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1206
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1207
                    <simpleValue value="58"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1208
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1209
                  <value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1210
                    <simpleValue value="59"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1211
                  </value>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1212
                </arrayValue>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1213
              </initialValue>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1214
            </variable>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1215
            <variable name="SMURF">
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1216
              <type>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1217
                <derived name="CPLX_TYPE"/>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1218
              </type>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1219
            </variable>
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1220
          </localVars>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1221
          <externalVars>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1222
            <variable name="Global_RS">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1223
              <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1224
                <derived name="RS"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1225
              </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1226
            </variable>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1227
          </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
  1228
        </interface>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1229
        <body>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1230
          <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
  1231
            <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
  1232
{{
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1233
  char toPLC;
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1234
  char fromPLC = GetFbVar(IN);
1086
b566ab5556ab Fixed warnings in python test
Laurent Bessard
parents: 1067
diff changeset
  1235
  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
  1236
  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
  1237
    SetFbVar(OUT, toPLC);
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1238
  }
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1239
  if(0){
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1240
    /* 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
  1241
    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
  1242
    SetFbVar(SMURF, somebyte, .FIRSTBYTE);
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1243
    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
  1244
  }
980800a5aad0 Now test/python also demonstrate large C pragmas in ST, accessing complex types
Edouard Tisserant
parents: 860
diff changeset
  1245
}}
859
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1246
(* If you do not use __GET_VAR and _SET_VAR macro, expect unexpected *)
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1247
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
  1248
]]></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
  1249
          </ST>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1250
        </body>
dbf82971f09d More pedagogical tests/python. Should be renamed python_ctypes_and_C_pragmas_in_ST or something
Edouard Tisserant
parents: 763
diff changeset
  1251
      </pou>
918
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1252
      <pou name="norm" pouType="function">
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1253
        <interface>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1254
          <returnType>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1255
            <REAL/>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1256
          </returnType>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1257
          <inputVars>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1258
            <variable name="IN1">
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1259
              <type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1260
                <REAL/>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1261
              </type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1262
            </variable>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1263
            <variable name="IN2">
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1264
              <type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1265
                <REAL/>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1266
              </type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1267
            </variable>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1268
          </inputVars>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1269
        </interface>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1270
        <body>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1271
          <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
  1272
            <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
  1273
          </ST>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1274
        </body>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1275
      </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
  1276
      <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
  1277
        <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
  1278
          <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
  1279
            <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
  1280
          </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
  1281
          <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
  1282
            <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
  1283
              <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
  1284
                <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
  1285
              </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
  1286
            </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
  1287
          </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
  1288
        </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
  1289
        <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
  1290
          <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
  1291
            <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
  1292
]]></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
  1293
          </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
  1294
        </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
  1295
      </pou>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1296
    </pous>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1297
  </types>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1298
  <instances>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1299
    <configurations>
1452
7a2b344de8cf Fixed build of tests/python.
Edouard Tisserant
parents: 1436
diff changeset
  1300
      <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
  1301
        <resource name="res_pytest">
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1302
          <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
  1303
          <globalVars>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1304
            <variable name="TOTO">
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1305
              <type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1306
                <INT/>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1307
              </type>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1308
            </variable>
aa136ef12506 Fix bug with refresh PLC status tool bar
Laurent Bessard
parents: 881
diff changeset
  1309
          </globalVars>
366
cd90e4c10261 Move python evaluator to create a python plugin containing any related python module
laurent
parents: 283
diff changeset
  1310
          <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
  1311
        </resource>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1312
        <globalVars>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1313
          <variable name="Global_RS">
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1314
            <type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1315
              <derived name="RS"/>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1316
            </type>
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1317
          </variable>
1013
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1318
          <variable name="TUTU">
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1319
            <type>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1320
              <INT/>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1321
            </type>
d54ca1ec9090 More VAR_GLOBAL related tests in tests/python
Edouard Tisserant
parents: 941
diff changeset
  1322
          </variable>
881
68ac754a5a72 Fix bug with concurrent access to LastRefreshTimer in LogPseudoFile for Log Console
Laurent Bessard
parents: 862
diff changeset
  1323
        </globalVars>
280
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1324
      </configuration>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1325
    </configurations>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1326
  </instances>
f2ef79f3dba0 Added native (not a plugin) asynchronous python eval function block - Beta. Code cleanup in C code templates.
etisserant
parents:
diff changeset
  1327
</project>