etherlab/extension.py
author Laurent Bessard
Mon, 24 Jun 2013 21:03:22 +0200
changeset 2154 6bbe93799956
parent 2111 f2cffda17d00
permissions -rw-r--r--
Replaced location for axis ref from %IW(location).0 to %IW(location).402. Added location for network position at %IW(location).
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))