Repository navigation
Conversation
In the controls system adapter retrieving all PVs is done before deciding which to skip. After, the persistent store should be added to those PVs that should not be excluded and thus need a persistent data storage.
|
What do you mean by skipped PVs? Are those the PVs handed to |
Yes I mean First the persistence is enabled - this happens before However in this PR I just implement the separation of getting all PVs and adding the persistent data storage. Like that I can add the persistent data storage later in the code. |
|
Does Btw: You have missed that |
In See also here. |
killenb
left a comment
There was a problem hiding this comment.
Technically the implementation is OK.
I don't fully like the names of the two steps (enable and set). Can we come up with better names?
|
I realized that the persistence can be enabled also after calling @killenb I left the name unchanged as it was there already before this PR. |
In the controls system adapter retrieving all PVs is done before deciding which to skip. After, the persistent store should be added to those PVs that should not be excluded and thus need a persistent data storage.
I don't know if other Control System Adapter also use the persistent data storage. If that is the case I could add a bool to
getAllProcessVariables()to decide if the previous behavior should be used and make it the default.