Comments (14)
Detector PV did not connect. Macros?
from adl2pydm.
One problem: $()
should use curly braces: ${}
Not the real problem, though. The *PV
addresses are connected while the *CA
addresses are not. Unexpanded macros?
from adl2pydm.
Also expand macros in the yLabels (and xLabels)
from adl2pydm.
All channels connect, still no data:
from adl2pydm.
Of course! The data here are waveforms so we need to be using the PyDMWaveformPlot
widget instead.
How can a screen translator be smart enough to know this a priori? MEDM handles both scaler PVs and waveform PVs from the same cartesian plot widget.
@hhslepicka, @mattgibbs , @timmmooney: Any insight how a display screen translator can decide if given PVs come from a waveform PV (so need to use the PyDMScatterPlot
widget) or a scalar PV (need to use the PyDMScatterPlot
widget)?
from adl2pydm.
This would be easy if the translator had access to an IOC with those PVs available. Since the translators run in an automation (likely even in CI), can't count on an IOC to be available.
from adl2pydm.
@MarkRivers : Might you have some ideas how to resolve the problem here?
from adl2pydm.
MEDM handles both scaler PVs and waveform PVs from the same cartesian plot widget.
I think I've only used it with waveform PVs. How does it handle scaler PVs?
from adl2pydm.
from adl2pydm.
not a section, that's a table - very detailed explanation there
from adl2pydm.
I'm thinking that we'll probably need a new plotting widget in PyDM (for compatibility with MEDM screens) that provides this capability. Until then, the translator should default to PyDMWaveformPlot
instead of PyDMScatterPlot
.
from adl2pydm.
Switching (manual edit) to the PyDMWaveformPlot
widget, the plot data shows and is the same as MEDM
from adl2pydm.
Until then, the translator should default to PyDMWaveformPlot instead of PyDMScatterPlot.
I agree, I think the Cartesian plot is used much more with waveforms than scalers.
Since most windows have at most one plot window (or if there is more than one they are usually all the same type) then you could have a command line option for the translator that tells it to use PyDMScatterPlot rather than the default PyDMWaveformPlot.
from adl2pydm.
Good suggestion.
from adl2pydm.
Related Issues (20)
- Warnings while converting area detector screens HOT 10
- Warnings could indicate which screen file.
- utf8 codec error when reading textix HOT 2
- error processing display[0] HOT 1
- Can PyDM accept a PV to control the number of plot points? (for MEDM `cartesian plot` widget) HOT 1
- Can PyDM accept a float for precision? (MEDM `valuator` widget) HOT 2
- Should we request a `row column` stacking feature for PyDM?
- some screens showing rectangles visible by dynamic attribute HOT 3
- Publish new releases on conda-forge HOT 4
- (polygon widget): Point should be output as Python tuple(number, number) HOT 3
- Widgets do not stretch when screen is stretched HOT 5
- Use PyDMAbsoluteGeometry as top-level widget for screens HOT 1
- remove pyqtdesignerpath import test from conda-forge recipe HOT 2
- Add badges to repository README HOT 1
- MEDM composite widget
- prefer pathlib to os.path
- custom badge for ANL license HOT 2
- publish conda package HOT 2
- apply black code style in CI
- refactor packaging per PEP518
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adl2pydm.