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
d8be7aa8
Commit
d8be7aa8
authored
May 30, 2019
by
Martin Drechsler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
settings file included
parent
dca5cbb5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
3 deletions
+19
-3
appsettings.py
appsettings.py
+13
-0
main.py
main.py
+6
-3
No files found.
appsettings.py
0 → 100644
View file @
d8be7aa8
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: martindrech
File with some general settings:
WORKING_DIR: it is were the data will be stored.
CAMERA_TYPE: if dummy, then a dummy camera is loaded.
"""
WORKING_DIR
=
'/home/martindrech/Documents/total_control_app/resources/'
CAMERA_TYPE
=
{
'dummy'
:
True
}
main.py
View file @
d8be7aa8
from
PyQt5
import
QtGui
,
QtCore
from
drivers.andorzyla
import
AndorZyla
#from drivers.dummyAndor import AndorZyla
from
appsettings
import
CAMERA_TYPE
if
CAMERA_TYPE
[
'dummy'
]
==
True
:
from
drivers.dummyAndor
import
AndorZyla
else
:
from
drivers.andorzyla
import
AndorZyla
from
cameraGui
import
CameraGuiMainWindow
from
zylaCameraWorker
import
CameraWorker
...
...
@@ -9,6 +11,7 @@ from MCDAQcontrolsignals import anal_control_signal
from
MCDAQcontrolsignals
import
digital_control_signal
from
controlGui
import
ControlGui
from
PyQt5
import
QtGui
,
QtCore
import
logging
from
logging.handlers
import
SocketHandler
...
...
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