-
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
Add IBEX plotting callback #18
Conversation
28d0818
to
326ceac
Compare
326ceac
to
8683cfa
Compare
Looks good to me, plotting works as expected. One thing I have noticed though is that when you pause (Ctrl + C) a plan for the second time, in the pydev console, this causes an exception and I can't resume the plan again. Not sure if this is intentional or just on my machine? Also not sure how relevant this is to this ticket but think its worth saying. |
@jackbdoughty can you check you have a recent GUI build? Pull main and run |
It also might just be worth making it clearer to the user to do RE.resume() Resume the plan. |
Yeah that's a difference between I think the direction of travel is that IBEX will automatically create a So then at the user level they would have access to the RE, and would be executing plans with something like: RE(my_plan()) at the command-line (and not one of the "convenient" wrappers like It'll soon be time to remove |
Causes buggy behaviour with resume/pause sequences
#8
Docs
To test this in a standalone session:
ibex_bluesky_core
venv as per dev setup notes.python -m pip install -e .[dev]
to pick up matplotlib and qt dependenciespython src\ibex_bluesky_core\demo_plan.py
Qt
window should appear and be updated live during the plan.bps.sleep(999)
should be interruptible viactrl-c
.To test this within the IBEX gui:
genie_python
using the branch linked from Useepicscorelibs
for python modules IBEX#8453c:\instrument\apps\python3\python.exe -m pip install -e c:\instrument\dev\ibex_bluesky_core\
ibex_bluesky_core
into your genie_python environment (not a.venv
)bps.sleep(999)
should be interruptible viactrl-c
.