etherlab/extension.py
author Edouard Tisserant
Fri, 29 Mar 2013 14:25:10 +0900
changeset 2112 e88cd6ff885e
parent 2111 f2cffda17d00
permissions -rw-r--r--
Fixed linking with non RTDM etherlab lib. Now with rtdm...
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))