Skip to content
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

WISH ORC: Fix unit tests and tidy up logic #7202

Closed
rerpha opened this issue Jun 29, 2022 · 6 comments
Closed

WISH ORC: Fix unit tests and tidy up logic #7202

rerpha opened this issue Jun 29, 2022 · 6 comments

Comments

@rerpha
Copy link
Contributor

rerpha commented Jun 29, 2022

After coming back to the WISH ORC code while fixing the unit tests I realised that some logic was off (which was causing them to fail) - This logic isn't super important as it will still sweep at the correct velocity and give the steps readback meaning it's still collimating the beam correctly. The most important part of the WISH ORC is that it doesn't block the beam port - we fixed this after the uservar teething issues.

I also realised there were some variables which are actually mechanically bound to the WISH collimator such as radius etc. which we could bin off PVs for to simplify the code.

IMPORTANT: This needs to be tested on the device and verified against the Labview VI before it gets merged in, I don't want to break the collimator again....

@rerpha rerpha self-assigned this Jun 29, 2022
@rerpha
Copy link
Contributor Author

rerpha commented Jun 29, 2022

I have removed some unneeded PVs for things that are set as macros in OscillatingCollimator.cmd on db load as they will never change during operation of the ORC and even if they did it's just a case of changing them in the .cmd file.

This needs to be tested on our test Galil first before we even consider going near WISH with it.

@rerpha rerpha added the 3 label Jun 29, 2022
@rerpha rerpha added this to the Sprint_2022_06_16 milestone Jun 29, 2022
@rerpha
Copy link
Contributor Author

rerpha commented Jul 11, 2022

Numbers look correct now so think i just want to test on the testbed galil + the real thing (shutdown?) to make sure it definitely still moves etc.

@rerpha
Copy link
Contributor Author

rerpha commented Jul 22, 2022

Moving off project board as awaiting

@rerpha rerpha removed this from the SPRINT_2022_07_14 milestone Jul 25, 2022
@rerpha
Copy link
Contributor Author

rerpha commented Oct 17, 2022

let happy for me to test so pulling back in progress

@rerpha
Copy link
Contributor Author

rerpha commented Oct 19, 2022

tested on LET, all working, just waiting to hear back from WISH

@rerpha
Copy link
Contributor Author

rerpha commented Nov 2, 2022

Working on WISH as well. I am going to be a bit cheeky and merge this as the ioc tests cover the VI logic and the rest can only be (and has been) confimed on the real ORCs with a camera on a stick in the sample position

@rerpha rerpha closed this as completed Nov 2, 2022
@rerpha rerpha removed the in progress label Nov 2, 2022
@rerpha rerpha added this to Tasks Jun 10, 2024
@rerpha rerpha moved this to Done in Tasks Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants