EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
<== Date ==> <== Thread ==>

Subject: Phoebus Question
From: Rebecca Harding - STFC UKRI via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 25 Mar 2025 15:27:11 +0000

Hello TechTalk,

 

There’s something I’d like to do with EPICS and Phoebus, and I don’t know of a good way to do it, so I thought I’d ask here.

 

I’m writing an IOC for a capacitor bank system. I have a simple ao record that represents the target voltage, and I have another record that represents the charging voltage, which is waveform record.

 

I want the target voltage to be displayed as a line on a graph, next to the charging voltage, so the user can compare their target voltage and charging voltage. See attached image for what I’d like the result to look like.

 

[Note that I’m just running a very basic simulation of the capacitor bank at the moment, so that’s why my charging voltage is linear instead of logarithmic.]

 

A diagram of a charge voltage

AI-generated content may be incorrect.

 

Anyway, at the moment, I’ve got an XY Plot for charging voltage and got a Data Browser looking at target voltage (occupying the same space so that it looks like one graph). This is not ideal because I don’t care about any previous values of target voltage – I don’t really want to see the value over time, I just want the present value plotted as a line. Second image shows the problem.

 

A diagram of a charge voltage

AI-generated content may be incorrect.

There is another workaround I thought of, which is to just create another waveform record and fill up all its elements with the present target voltage value. That way, I’d then be able to show that as a second trace on my XY Plot. But this solution isn’t ideal either as I feel I shouldn’t have to add another record to my database in order to do what I want in the UI.

 

So, I wanted to ask, has anyone else ever had the desired to show a single scalar value as a line on a graph, and if so, how did you achieve this?

 

Kind regards,

 

Rebecca Harding (she/her)

Controls Software Engineer

Central Laser Facility

Science and Technology Facilities Council

rebecca.harding at stfc.ac.uk

 


Navigate by Date:
Prev: RE: Using Streamdevice to run SQL Query ? Freddie Akeroyd - STFC UKRI via Tech-talk
Next: Help needed with E3 Jörn Dreyer via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
Navigate by Thread:
Prev: RE: Using Streamdevice to run SQL Query ? Freddie Akeroyd - STFC UKRI via Tech-talk
Next: Help needed with E3 Jörn Dreyer via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
ANJ, 26 Mar 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·