-
Notifications
You must be signed in to change notification settings - Fork 0
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
Synchrotron: Add linking device logic #22
Comments
As stated in issue #3 , the goal was a minimum working device. It would be ideal to now have the device behave slighlty more naturally and implement the topup gating behaviour of the records Required:
|
For testing Artemis it would be useful to have a backdoor for this (DiamondLightSource/tickit#83 is the best way to do this but in the meantime we can just have a PV that we can write to from ophyd) |
That is the easiest way for now, having a writable PV is a one line addition in the epics adapter. (See the femto device in the tickit repo for PV's that are |
Something else that would be nice for this ticket : Changing the PV names to all be prefixed with |
I think the machine PVs within 'synchrotron' should stay as close to the 'real' PVs as possible, but with some kind of designation of simulation in there. eg SR-CS-FILL-01:ENDCOUNTDN could become SR-SIM-FILL-01:ENDCOUNTDN, and CS-CS-MSTAT-01:MODE could become CS-SIM-MSTAT-01:MODE |
Simulated the current loss and current gain of the synchrotron storage ring. The current loss and gain increment are calculated so they will take 10 minutes and 15 seconds respectively. The countdown is also simulated: based on the change of the current (this will only really work as a method if the rate of change is constant). Also wrote tests.
Simulated the synchrotron topup PVs and had them "link" #22
@evalott100 is this finished? Please may you check over it and close it if so. |
As stated in the README, the Synchrotron device is just a collection of unconnected simualted iocs. The topup, currrent, countdowns etc all have behavior that can be simulated and linked with the inputs & output busses.
The text was updated successfully, but these errors were encountered: