mirror of https://github.com/m-labs/artiq.git
pxi6733: replace print by logger.debug
This commit is contained in:
parent
7dfd11e2f0
commit
63d4907c65
|
@ -53,7 +53,7 @@ class DAQmx:
|
||||||
data_len = 128
|
data_len = 128
|
||||||
data = create_string_buffer(data_len)
|
data = create_string_buffer(data_len)
|
||||||
self.daq.DAQmxGetSysDevNames(data, data_len)
|
self.daq.DAQmxGetSysDevNames(data, data_len)
|
||||||
print("data == {}".format(data.value))
|
logger.debug("Device names: %s", data.value)
|
||||||
except:
|
except:
|
||||||
return False
|
return False
|
||||||
return data.value != ""
|
return data.value != ""
|
||||||
|
|
Loading…
Reference in New Issue