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: Re: [EXTERNAL] Phoebus: How to populate table widget with waveform array
From: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: Simon Friederich <sifriede at uni-mainz.de>, "tech-talk at aps.anl.gov" <Tech-talk at aps.anl.gov>
Date: Tue, 6 May 2025 16:22:06 +0000

The formula

  =elementAt(`NameOfWaveformPV`, 2)

picks element 2 from the waveform.

 

With that, you can create a bunch of Labels and TextUpdate widgets to show your data like this:

 

Label with text “U0”, TextUpdate with PV “=elementAt(`NameOfWaveformPV`, 0)”

..

Label “I1”, TextUpdate  “=elementAt(`NameOfWaveformPV`, 3)”

 

Instead of manually creating 256 widgets like that, you could use https://github.com/als-epics/phoebusgen

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Simon Friederich via Tech-talk <tech-talk at aps.anl.gov>
Date: Tuesday, May 6, 2025 at 12:10
PM
To: tech-talk at aps.anl.gov <Tech-talk at aps.anl.gov>
Subject: [EXTERNAL] Phoebus: How to populate table widget with waveform array

Dear EPICS community, I have a waveform PV with 256 elements containing the following (see another topic in the tech talk from me): U0, I0, U1, I1, U2, I2, ... , U127, I127 i.e. the measured voltage and current of a 128 channel poweruppl

Dear EPICS community,

I have a waveform PV with 256 elements containing the following (see another topic in the tech talk from me):

U0, I0, U1, I1, U2, I2, ... , U127, I127

i.e. the measured voltage and current of a 128 channel power supply (updated every 10 seconds).

I want to display this and thought about the table widget (I've also tested the array widget, but here I'd need to be able to select even and odd numbers, which I don't know if that was possible; I don't want to place 256 text update fields).

Has anyone worked with the table widget in Phoebus before like this? I guess I'd have to work with a script here?

Best regards
Simon


References:
Phoebus: How to populate table widget with waveform array Simon Friederich via Tech-talk

Navigate by Date:
Prev: Phoebus: How to populate table widget with waveform array Simon Friederich via Tech-talk
Next: Re: EPICS app, Db Makefile, rule for python-generated Db file Johnson, Andrew N. 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: Phoebus: How to populate table widget with waveform array Simon Friederich via Tech-talk
Next: Checksum for StreamDevice input with regular expression Baker, Keith (DLSLtd, RAL, LSCI) 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, 08 May 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·