def getDiamondDeviceSet():
    '''return list of devices filtered according to diamondFilter'''
    if doFilter:
        return ethercat.filteredDescriptions(ethercat.getAllDevices())
    else:
        return ethercat.getAllDevices()
示例#2
0
def getDiamondDeviceSet():
    '''return list of devices filtered according to diamondFilter'''
    if doFilter:
        return ethercat.filteredDescriptions(ethercat.getAllDevices())
    else:
        return ethercat.getAllDevices()
示例#3
0
文件: test.py 项目: klauer/ethercat
 def testContents(self):
     self.assertTrue( len(ethercat.getAllDevices()) > 0 )