tests/python/python@py_ext/py_ext.xml
author Laurent Bessard
Thu, 18 Oct 2012 01:22:52 +0200
changeset 855 b30421d07e8c
parent 734 5c42cafaee15
child 859 dbf82971f09d
permissions -rw-r--r--
Adding support for selecting variable type filtering in BrowseLocationsDialog and modify variable type when validated
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Python xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="py_ext_xsd.xsd">
<![CDATA[import time,sys

def MyPythonFunc(arg):
    print arg
    PLCBinary.Python_to_C_Call(arg)
    sys.stdout.flush()
    return arg
]]>
</Python>