A user is requesting the option to visualize alarm limits in a data browser plot. Reason is simplicity (easier than switching to Probe), but also to visualize potential changes in the limits.
Further, the option would be added as a checkbox column in the traces tab. To avoid visual clutter, only one trace at a time would be able to be amended with a visualization of alarm limits. Also, since alarm limits are provided only for a raw request, user would need to actively select that first.
Now the RTPlot APIs (e.g. PlotDataItem) are agnostic to the underlying data providers, it's a bit of a challenge to plot alarm limits originating in PVSamples. So question is if these APIs should be extended to accommodate alarm limits as well. To be noted, a PlotDataItem supports stddev, which may not make sense to all types of data.
Alternatively one could maybe consider a subclass of TracePainterImpl or a data browser specific TracePainter.
Thoughts, anyone?
A user is requesting the option to visualize alarm limits in a data browser plot. Reason is simplicity (easier than switching to Probe), but also to visualize potential changes in the limits.
Further, the option would be added as a checkbox column in the traces tab. To avoid visual clutter, only one trace at a time would be able to be amended with a visualization of alarm limits. Also, since alarm limits are provided only for a raw request, user would need to actively select that first.
Now the RTPlot APIs (e.g. PlotDataItem) are agnostic to the underlying data providers, it's a bit of a challenge to plot alarm limits originating in PVSamples. So question is if these APIs should be extended to accommodate alarm limits as well. To be noted, a PlotDataItem supports stddev, which may not make sense to all types of data.
Alternatively one could maybe consider a subclass of TracePainterImpl or a data browser specific TracePainter.
Thoughts, anyone?