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

Using the scope with multiple PVs #3

Open
agaget opened this issue Aug 1, 2024 · 4 comments
Open

Using the scope with multiple PVs #3

agaget opened this issue Aug 1, 2024 · 4 comments

Comments

@agaget
Copy link

agaget commented Aug 1, 2024

Hello,
Not really an issue, but more a question or a request for an eventual feature
I tested recently your scope, it works very well and with a lot of great functionnalities.
If I understand correctly the scope, it uses PVA with a structure allowing to get more than 1 waveform.

The problem we have, is that we are migrating slowly from CA to PVA, so the QSRV server allowing to get CA and PVA at the same time only produce 1 structure PV = 1 waveform, so in the Channel Field i only get value, and can only display one waveform at the same time.

image

Is it possible to get more than 1 PV to be able to display them ?

Remark, how do you group your waveform in one structure if the waveforms are the results of different application all along the accelerator ?

Thanks

@echandler-anl
Copy link
Collaborator

echandler-anl commented Aug 1, 2024

We support plotting multiple scalar PVs using striptool, but not for plotting multiple waveform PVs. In your case, are the waveforms the same length and do they tend to update the same time or at different times? If they tend to be different lengths or update a different rates, then what would be the best way to plot them together. One idea is to sample them at the same rate so at least the updates will be insync.

For our usecase, an IOC is publishing many waveforms in a single PVA channel. The waveforms are always the same length, so they always would be aligned on the x-axis when they are plot together. We have an aggregator service that collect the waveforms across the storage ring and publishes a PVA channel that can be plot with c2dv.

@agaget
Copy link
Author

agaget commented Aug 2, 2024

For our usecase, an IOC is publishing many waveforms in a single PVA channel. The waveforms are always the same length, so they always would be aligned on the x-axis when they are plot together. We have an aggregator service that collect the waveforms across the storage ring and publishes a PVA channel that can be plot with c2dv.

Hello,
I think we have the same usecase as you, we have lot of waveforms all along the accelerator, synchronized and same length and users need to see them and would like to build their own scope to compare one or another together.

Therefore I'm quite interested in your aggregator service :) is it accessible somewhere ?

Thanks in advance

@echandler-anl
Copy link
Collaborator

echandler-anl commented Aug 19, 2024

It's not accessible right now, but I can look into putting it up on github. I'll need to remove the APS specific library dependencies, but I don't think that will be much effort.

@agaget
Copy link
Author

agaget commented Sep 2, 2024

It's not accessible right now, but I can look into putting it up on github. I'll need to remove the APS specific library dependencies, but I don't think that will be much effort.

Thanks a lot, it would be great

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

No branches or pull requests

2 participants