NativeLib.py
author Edouard Tisserant
Fri, 30 Jan 2015 20:42:24 +0100
changeset 1434 6e0cd0ceabb7
parent 944 52a17be9c4d1
child 1511 91538d0c242c
permissions -rw-r--r--
Added runtime side trace buffer, handled in a separate thread, limited to 1MB, and dropped after 3 seconds if not used by IDE. GetTraceVariables is not anymore blocking on next PLC cycle
import os
from POULibrary import POULibrary

class NativeLibrary(POULibrary):
    def GetLibraryPath(self):
        return os.path.join(os.path.split(__file__)[0], "NativeLib.xml")