etherlab/extension.py
author Edouard Tisserant
Fri, 05 Apr 2013 16:49:41 +0900
changeset 2116 2b1980a038b1
parent 2111 f2cffda17d00
permissions -rw-r--r--
Better logging, saffer failure at init (allows restart)
import features

def GetEtherLabLibClass():
    from EthercatMaster import EtherlabLibrary
    return EtherlabLibrary

features.libraries.append(
    ('Etherlab', GetEtherLabLibClass))

def GetEtherLabClass():
    from etherlab import RootClass
    return RootClass

features.catalog.append(
    ('etherlab', _('EtherCat Master'), _('Map located variables over EtherCat'), GetEtherLabClass))