Repository navigation
Conversation
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


This PR contains the changes required to detect disconnections in the archive appliance raw and optimizedWithLastSample data, which will subsequently be plotted in the data browser with vertical dashed line and a gap until the PV reconnects:

It follows the change made for CS-Studio: ControlSystemStudio/cs-studio#2713.
Note:
connectionChangeflag when there is a disconnect, but if a bin then has no events (due to the disconnect or because the PV was no changing) it will simply make a copy of the last bin with events and return that, meaning that there is no way to detect exactly when the disconnect occurred without some significant changes to the Optimized code in the AA.OptimizedWithLastSample is now the default PP in Phoebus and in general is just better representation of the data so should always be used, hence in most cases we will see the disconnects. If Optimized is used then nothing will break but it will just not be able plot the disconnects.
Checklist
Testing:
Documentation: