***
Wartungsfenster jeden ersten Mittwoch vormittag im Monat
***
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
leolab_devices
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Quantuminfo
Experiment Control
labscript-suite
leolab_devices
Commits
6902e8b6
Commit
6902e8b6
authored
1 year ago
by
Schabbauer, Johannes
Browse files
Options
Downloads
Patches
Plain Diff
TimeBase: Hide warning when wrong remote values were receiced
parent
981a3e79
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
TimeBaseAOMDriver/blacs_tabs.py
+10
-0
10 additions, 0 deletions
TimeBaseAOMDriver/blacs_tabs.py
with
10 additions
and
0 deletions
TimeBaseAOMDriver/blacs_tabs.py
+
10
−
0
View file @
6902e8b6
...
...
@@ -87,3 +87,13 @@ class TimeBaseTab(DeviceTab):
else
:
self
.
_last_programmed_values
=
self
.
get_front_panel_values
()
@define_state
(
MODE_MANUAL
,
True
)
def
check_remote_values
(
self
):
# For the TimeBase AOM Driver sometimes when the values are read,
# it happens that one number is wrong (maybe some bitnoise in the communication?)
# If the nex function call returns again the right values, there is still the warning
# message visible in BLACS. I added here and additional "hide" command, such that the
# warning dissapears completely in that case, when there was once an error in reading
# the remote values.
self
.
_changed_widget
.
hide
()
return
super
().
check_remote_values
()
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