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