*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 6902e8b6 authored by Schabbauer, Johannes's avatar Schabbauer, Johannes
Browse files

TimeBase: Hide warning when wrong remote values were receiced

parent 981a3e79
No related branches found
No related tags found
No related merge requests found
......@@ -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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment