etherlab/CommonEtherCATFunction.py
changeset 2370 e40f3914e55f
parent 2367 0fb54172a18b
child 2373 73d35ba8f982
equal deleted inserted replaced
2369:24db1e592e20 2370:e40f3914e55f
    47     return default
    47     return default
    48 
    48 
    49 # --------------------------------------------------
    49 # --------------------------------------------------
    50 #         Remote Exec Etherlab Commands
    50 #         Remote Exec Etherlab Commands
    51 # --------------------------------------------------
    51 # --------------------------------------------------
       
    52 
    52 
    53 
    53 # --------------------- for master ---------------------------
    54 # --------------------- for master ---------------------------
    54 MASTER_STATE = """
    55 MASTER_STATE = """
    55 import commands
    56 import commands
    56 result = commands.getoutput("ethercat master")
    57 result = commands.getoutput("ethercat master")