author | Edouard Tisserant |
Mon, 04 Apr 2011 11:07:53 +0200 | |
changeset 595 | 6348c0110e0f |
parent 411 | 8261c8f1e365 |
permissions | -rw-r--r-- |
411
8261c8f1e365
Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff
changeset
|
1 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
8261c8f1e365
Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff
changeset
|
2 |
<Python xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="python_xsd.xsd"> |
8261c8f1e365
Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff
changeset
|
3 |
<![CDATA[import time,sys |
8261c8f1e365
Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff
changeset
|
4 |
def myprintfunc(arg): |
8261c8f1e365
Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff
changeset
|
5 |
print arg |
8261c8f1e365
Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff
changeset
|
6 |
sys.stdout.flush() |
8261c8f1e365
Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff
changeset
|
7 |
return arg]]> |
8261c8f1e365
Bug on Debug trying to start (and stop) before PLC started fixed.
laurent
parents:
diff
changeset
|
8 |
</Python> |