Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
redpitaya-MCPHA
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Günter Quast
redpitaya-MCPHA
Commits
2b3179e5
Commit
2b3179e5
authored
9 months ago
by
Günter Quast
Browse files
Options
Downloads
Patches
Plain Diff
fixed probem with dark style inherited from mimoCoRB
parent
aee174a7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
redPoscdaq.py
+8
-1
8 additions, 1 deletion
redPoscdaq.py
with
8 additions
and
1 deletion
redPoscdaq.py
+
8
−
1
View file @
2b3179e5
...
...
@@ -51,6 +51,8 @@ from multiprocessing import Event
from
npy_append_array
import
NpyAppendArray
from
mimocorb.buffer_control
import
rbPut
from
matplotlib.backends.backend_qt5agg
import
FigureCanvasQTAgg
as
FigureCanvas
from
matplotlib.backends.backend_qt5agg
import
NavigationToolbar2QT
as
NavigationToolbar
...
...
@@ -69,6 +71,12 @@ else:
from
PySide2.QtWidgets
import
QWidget
,
QLabel
,
QCheckBox
,
QComboBox
from
PySide2.QtNetwork
import
QAbstractSocket
,
QTcpSocket
# define global graphics style
import
matplotlib.pyplot
as
plt
pref_style
=
"
default
"
_style
=
pref_style
if
pref_style
in
plt
.
style
.
available
else
"
default
"
plt
.
style
.
use
(
_style
)
Ui_MCPHA
,
QMainWindow
=
loadUiType
(
"
rpControl.ui
"
)
Ui_LogDisplay
,
QWidget
=
loadUiType
(
"
mcpha_log.ui
"
)
Ui_OscDisplay
,
QWidget
=
loadUiType
(
"
mcpha_daq.ui
"
)
...
...
@@ -844,7 +852,6 @@ class redP_consumer():
status_txt
=
"
active: {:.1f}s trigger rate: {:.2f} Hz, data rate: {:.4g} MB/s
"
.
format
(
T_active
,
r
,
r
*
l_tot
*
4e-6
)
print
(
status_txt
,
end
=
'
\r
'
)
from
mimocorb.buffer_control
import
rbPut
class
redP_mimocorb
():
def
__init__
(
self
,
source_list
=
None
,
sink_list
=
None
,
observe_list
=
None
,
config_dict
=
None
,
**
rb_info
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment