epics-extensions / c2dataviewer

Python GUI front-end for AreaDetector and similar
Other
6 stars 1 forks source link

Using the scope with multiple PVs #3

Open agaget opened 1 month ago

agaget commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 3 weeks ago

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 commented 1 week ago

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