tests/linux/wxGlade/runtime.py
author greg
Thu, 28 May 2009 13:40:29 +0200
changeset 350 a3a5561bde1d
parent 315 408dd4b44ec8
permissions -rw-r--r--
- now call load, start, free PLC from the python Thread

- add a wx timer (500ms) that pull the plc state to refresh Beremiz icons
(fix problem when command PLC with the TaskBar icon)
import time,sys
def myprintfunc(arg):
    print arg
    sys.stdout.flush()
    return arg