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)
def populateDevices(self): self.deviceCombo.clear() system = daq.System() devices = system.findDevices() for dev in devices: self.deviceCombo.addItem(dev)