Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
total_control_app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Martin Drechsler
total_control_app
Commits
670e11b2
Commit
670e11b2
authored
Oct 20, 2018
by
Martin Drechsler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
just added a warning if daq not found, instead of jus printing
parent
dcc94a7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ADoutputs.py
ADoutputs.py
+3
-2
No files found.
ADoutputs.py
View file @
670e11b2
...
...
@@ -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
#%%
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment