Example #1
0
 def populateDaqCombos(self):
     system = daq.System()
     devices = system.findDevices()
     for devName in devices:
         dev = daq.Device(devName)
         if len(dev.findAiChannels()):
             self.aiDeviceCombo.addItem(devName)
         if len(dev.findAoChannels()):
             self.aoDeviceCombo.addItem(devName)
Example #2
0
 def populateDevices(self):
     self.deviceCombo.clear()
     system = daq.System()
     devices = system.findDevices()
     for dev in devices:
         self.deviceCombo.addItem(dev)