tests/python/python@py_ext/pyfile.xml
changeset 2680 6bfed6757495
parent 1401 611fded24ce4
equal deleted inserted replaced
2679:2783906d5792 2680:6bfed6757495
    18         print "toC:", arg, "from C:", res, "FBID:", FBID
    18         print "toC:", arg, "from C:", res, "FBID:", FBID
    19     else:
    19     else:
    20         print "Failed Python_to_C_Call failed"
    20         print "Failed Python_to_C_Call failed"
    21         res = None
    21         res = None
    22     print "Python read PLC global :",PLCGlobals.Test_Python_Var
    22     print "Python read PLC global :",PLCGlobals.Test_Python_Var
       
    23     print "Python read PLC global Grumpf :",PLCGlobals.Grumpf
    23     PLCGlobals.Second_Python_Var = 789
    24     PLCGlobals.Second_Python_Var = 789
    24     sys.stdout.flush()
    25     sys.stdout.flush()
    25     return res
    26     return res
    26 
    27 
    27 async_error_test_code = """
    28 async_error_test_code = """