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

How to display, on one display, different parameters from different instances from the same yamcs server? #129

Open
haisamido opened this issue Feb 18, 2025 · 2 comments

Comments

@haisamido
Copy link

How does one display, in one display, different parameters from different instances that are coming from the same yamcs server?

It looks look yamcs-studio assumes that parameters are only from one server/instance at a time and one cannot mix and match! Why is that?

I know yamcs seems to have that limitation as questioned here yamcs/yamcs#1006 , but why would yamcs studio make that assumption, that parameters are only provided by one server/instance?

Perhaps I am not using yamcs studio correctly!

@haisamido haisamido changed the title How to display, in one Display, different parameters from different instances from the same yamcs server? How to display, on one display, different parameters from different instances from the same yamcs server? Feb 18, 2025
@lorenzo-gomez-windhover
Copy link
Contributor

lorenzo-gomez-windhover commented Feb 18, 2025

The lack of this feature was why my team decided to use and write something else as replacement for YAMCS Studio:https://github.com/WindhoverLabs/phoebus

Our version of Phoebus allows you to view PVs from different instances on the same Display.

Phoebus is literally the same as YAMCS Studio except it is the newer version of https://github.com/ControlSystemStudio/cs-studio and it is not based on Eclipse.

We took the original Phoebus and wrote YAMCS plugins so it can understand YAMCS.

The way this works in Phoebus is that we have the concept of "Connections". Each connection is a YAMCS server and each server of course has instances. In your display you can specify multiple PVS from different instances like this:

  • Take for example the "cascading" that comes with the YAMCS repo that has an "upstream" instance and a "downstream" instance. And then you create a connection called "localhost" on Phoebus, you would specify your PVs like this on your Display:
    /localhost:downstream/YSS/SIMULATOR/Phi
    /localhost:upstream/YSS/SIMULATOR/CAS

The format "localhost:downstream" tells Phoebus I want a PV from connection "localhost", instance "downstream".

You can get a nightly build here:https://github.com/WindhoverLabs/phoebus/releases/tag/Commander-nightly-build-d053631d8ebbf7daf05ac267fc9a3b79f36ffcfc

Don't hesitate to post in the issues if you have questions since we lack documentation unfortunately at the moment.

@fqqb
Copy link
Member

fqqb commented Feb 19, 2025

Sorry that's not possible with Yamcs Studio.
Would be a nice addition, but its unlikely this will be implemented without a sponsor.

With the yamcs-grafana plugin you can make multiple data sources (one per instance), so it's possible in that environment.

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

No branches or pull requests

3 participants