-
Notifications
You must be signed in to change notification settings - Fork 77
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
PyDMImageView not updating with images during scan #463
Comments
@mdwyman this is a bug that was fixed by another issue. Would you mind to give it a try with the code available at |
I just saw that the fix was added into |
I updated to the current version (1.6.5) using "conda update -c pydm-tag pydm" and the error went away as predicted. I still don't see an image though (no errors new or old in the terminal window during the scan). An odd side effect of the update is that when I open up the UI in designer (via "Open in Designer" in the PyDM file menu) the PyDM plugins don't show up. |
@mdwyman that is probably related to this issue in here: AnacondaRecipes/pyqt-feedstock#1 The one provided by the default channel does not offer the pyqtplugin as described in the issue that I linked here. I am trying to ask for the folks at Continuum to fix the issue with the recipe but it is taking some time. Do you mind to past here the output of your Do you mind to try this at the same terminal:
Also, please try the following in a python or ipython session: import epics
pv = epics.PV('PelmeniNDSA:image1:ArrayData')
print(len(pv.get()) I will try to start an IOC in here and test it as well. |
Here's the "Show connections" output: As for EPICS_CA_MAX_ARRAY_BYTES, I had set it 10000000 (the images are typically around 5M), but it appears that I had set it after starting pydm. Pydm would give the following error: In summary, I believe my original issue is solved, but now I have the problem of the pydm tools not showing up in Designer. If I understand, I simply need to use the conda-forge version of pyqt and not the main repo version, correct? Thanks for all the help. |
Unfortunately that is correct. You will need the conda-forge version. |
I modified the tutorial ui (main.ui) to view the output from a simulated area detector during a 1-d scan (21 points in the scan). In doing a scan, at each scan point, I get the following error in the terminal window from which pydm is launched (so it shows up 21 times for the example scan I've been running):
I do not get any image in the view window. Other PVs in the window update properly (motor position, scan status). I'm not sure if this is a bug or I've simply missed a step.
My Platform
OS: RHEL7.6
Python 3.6.7
PyDM 1.6.2
I've attached the ui files:
betaScan.zip
The text was updated successfully, but these errors were encountered: