2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

pxi6733: replace print by logger.debug

This commit is contained in:
Yann Sionneau 2015-09-05 01:21:55 +02:00
parent 7dfd11e2f0
commit 63d4907c65

View File

@ -53,7 +53,7 @@ class DAQmx:
data_len = 128
data = create_string_buffer(data_len)
self.daq.DAQmxGetSysDevNames(data, data_len)
print("data == {}".format(data.value))
logger.debug("Device names: %s", data.value)
except:
return False
return data.value != ""