Commit 670e11b2 authored by Martin Drechsler's avatar Martin Drechsler

just added a warning if daq not found, instead of jus printing

parent dcc94a7b
......@@ -5,7 +5,8 @@ Created on Wed May 30 15:27:17 2018
@author: martindrech
"""
from __future__ import absolute_import, division, print_function
#from __future__ import absolute_import, division, print_function
import warnings
daqfound = True
......@@ -20,7 +21,7 @@ try:
ao_range = ULRange.BIP10VOLTS
except:
print('import error: mcculw not installed. In linux this might not be available. ')
warnings.warn('Warning: either the daq was not found, or there was some error with the mcculw drivers. ')
daqfound = False
#%%
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment