-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simulation Upgrade #35
Comments
I want to split out the separate changes into sections. Remove namespaces
Make some simulated values writeable
This could be achieved by having SimPv implement an Remove duplication when instantiating PVsThis could be achieved by using a switch (or more general switch) to find class to instantiate and then instantiate it with the same arguments. maintain its own values separately from the storeAs far as I can tell, this already happens. Delete Pv's on unsubscribeNon-features / delayed featuresbe initialised separately from the components rendered on screenI am not sure what value this provides. Is there a use case for this? |
I just had a talk to Tim. We could potentially have multiple |
I don't think there's any need to initialise PVs other than at the time they are requested. But it might be nice to close them when the last subscriber is removed, as for real PVs. |
I might vote for sims://limits#name so as to ape html; or perhaps sims://limits.name |
That's an interesting idea. |
The "initialise separately" part was looking towards initialising a simulated database from a JSON file or similar and then having the client connect to that. This would be useful because for defining multiple "meta" type PVs each with different limits. However, that in itself might not be that useful for demonstration and perhaps there are other ways to do this on the fly based on the PV name, the # idea seems interesting to me, how much information do you think could be squeezed into something like that? PV type, limits, readonly? |
I think that's just to be able to use different PVs with the same behaviour. So now you can use |
Moved to #66 (talwrii) talwrii: Playing with edits but this seems to create updates as other people elsewhere see #66. I don't really like this so won't do this stuff again |
Given that phoebus forces us to support things like One way to achieve limits would be to support formats like As an aside, this format is probably more readable than JSON though potentially:
I'm not really sure what the limits to storing information is. On one level, everything is bytes. We could also extend this pv name format to support embedded JSON. I guess some issues that come to mind are:
I can think of two use cases for this.
I have created a separate issue(#78) for this. |
If we want to provide parameterisation to However, we don't want to try and simulate a sophisticated control system. This is not the place for that. I'll close this ticket now. |
The simulation is reaching its limits with PVs that can be initialised and reinitialised, have limits and timestamps etc. There is also a need to add enums and arrays to the simulation.
In order to tie in with #34 it seems that an upgrade may be required. It would be nice to initialise a simulation environment of some kind from JSON which communicates through the middleware in the same was the Coniql client or other middleware.
Therefore, the simulation should:
In effect, we should aim to more fully simulate the environment we wish to use the application in.
The text was updated successfully, but these errors were encountered: