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

Created OPI for Wish Jaws but a couple of PVs are missing #1379

Merged
merged 4 commits into from
Dec 16, 2021

Conversation

daryakoskeroglu
Copy link
Contributor

Description of work

Created OPI for Wish Jaws but a couple of PVs are missing.

PVs that are connected are Vertical and Horizontal Gap and their setpoints.

The OPI is created based on the VI: (located here: C:\LabVIEW Modules\Instruments\WISH\WISH Jaws).)

WISH Front Panel

There is also a Setup Dialogue to set gaps which is written to the text file on LabVIEW. This gaps could be set via editing the text file directly which then can be seen in the Front Panel. However, WISH scientists do not use neither Setup Dialogue nor text file.

Also they added that:

"The jaws are jittering a bit and sometimes to get the right value you need to send a value that is a bit off and repeat the operation several times so actually we just set values in the VI and drive."

Things needs to be done

  1. Populate "Experiment Type" menu, possibly create an enum PV for this.
  2. Connect Resolution menu, Dead Band, Position error and Activity LEDs , and set and start/stop buttons.

Ticket

Link to Ticket

Code Review

  • Is the code of an acceptable quality?
  • Do the changes function as described and is it robust?
  • Is there associated PR for the release notes?

Final Steps

Copy link
Contributor

@JamesKingWork JamesKingWork left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The OPI is simple and matches the VI which is good. We have a nice more_detail_manager.opi which provides a graphical view and more control over the jaws, can we add a button that opens this more_details_manager with the wish jaws. An example of this is in the nimrod_manager.opi and gem_manager.opi with the button "Jaws Manager". It would probably be good to place this in the same grouping container where the gaps can be set as the information in the more_detail_manager.opi is most connected to those gaps.

@Adam-Szw
Copy link
Contributor

The OPI looks good and passes check_opi_format test. The Jaws Manager button from James' suggestion was added. Just a small change request:

  • Please add entry for the OPI to opi_info.xml so that this OPI can be selected from the client.
    I expect that functionality of the OPI and/or IOC will be reviewed here WISH: Connect PVs to WISH Jaws OPI IBEX#6917 so I'm leaving PV connectivity out here.

@daryakoskeroglu
Copy link
Contributor Author

The OPI looks good and passes check_opi_format test. The Jaws Manager button from James' suggestion was added. Just a small change request:

  • Please add entry for the OPI to opi_info.xml so that this OPI can be selected from the client.
    I expect that functionality of the OPI and/or IOC will be reviewed here WISH: Connect PVs to WISH Jaws OPI IBEX#6917 so I'm leaving PV connectivity out here.

Thanks for the review, I've updated opi_info.xml

<key>WISH Jaws</key>
<value>
<type>JAWS</type>
<path>jaws/jaws_managers/WISH_Jaws.opi</path>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was a typo here, I fixed it quickly

@Adam-Szw Adam-Szw dismissed JamesKingWork’s stale review December 16, 2021 12:08

I couldn't approve the changes for James

@Adam-Szw Adam-Szw merged commit e292ab7 into master Dec 16, 2021
@Adam-Szw Adam-Szw deleted the Ticket6033_create_opi_for_wish_jaws branch December 16, 2021 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants