etherlab/extension.py
author Laurent Bessard
Thu, 02 May 2013 13:40:35 +0200
changeset 2144 bbd78ac226d0
parent 2111 f2cffda17d00
permissions -rw-r--r--
Added error message when a device informations can't be found in ESI files
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))