Giter Club home page Giter Club logo

Comments (14)

prjemian avatar prjemian commented on August 22, 2024

Detector PV did not connect. Macros?
Clipboard01

from adl2pydm.

prjemian avatar prjemian commented on August 22, 2024

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.

prjemian avatar prjemian commented on August 22, 2024

Also expand macros in the yLabels (and xLabels)

from adl2pydm.

prjemian avatar prjemian commented on August 22, 2024

All channels connect, still no data:
Clipboard01

from adl2pydm.

prjemian avatar prjemian commented on August 22, 2024

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.

prjemian avatar prjemian commented on August 22, 2024

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.

prjemian avatar prjemian commented on August 22, 2024

@MarkRivers : Might you have some ideas how to resolve the problem here?

from adl2pydm.

MarkRivers avatar MarkRivers commented on August 22, 2024

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.

prjemian avatar prjemian commented on August 22, 2024

from adl2pydm.

prjemian avatar prjemian commented on August 22, 2024

not a section, that's a table - very detailed explanation there

from adl2pydm.

prjemian avatar prjemian commented on August 22, 2024

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.

prjemian avatar prjemian commented on August 22, 2024

Switching (manual edit) to the PyDMWaveformPlot widget, the plot data shows and is the same as MEDM
Clipboard01

from adl2pydm.

MarkRivers avatar MarkRivers commented on August 22, 2024

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.

prjemian avatar prjemian commented on August 22, 2024

Good suggestion.

from adl2pydm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.