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

PyEpics extension: PVImage object #25

Open
1 task
vstadnytskyi opened this issue Jan 11, 2022 · 1 comment
Open
1 task

PyEpics extension: PVImage object #25

vstadnytskyi opened this issue Jan 11, 2022 · 1 comment

Comments

@vstadnytskyi
Copy link
Owner

vstadnytskyi commented Jan 11, 2022

PVImage object is a dynamically changing bitmap based on the value of the corresponding PV. The PV is transmitted as a 1-D array and needs to be reconstructed to a bitmap. Currently, the size of the image has to be hard coded.

  • update the code to include an auxiliary size PV that tells the size of the bitmap so the PVImage can reshape the bitmap represented as 1-D array into whatever shape needed.
@vstadnytskyi
Copy link
Owner Author

vstadnytskyi commented Jan 13, 2022

Look at icarus_nmr.pyepics.PVToogleButton or pyepics.wx.PVButton class in pyepics to learn how to pass 2 or more PVs into each GUI object. This could be quite useful in constructing complex graphical objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant