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  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] Phoebus EDM autoconvert issue with a button widget
From: Lucas Russo via Tech-talk <tech-talk at aps.anl.gov>
To: "Kasemir, Kay" <kasemirk at ornl.gov>
Cc: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Fri, 29 Sep 2023 08:52:13 -0700
Hi Kay,

Interesting. Thanks for the fast response.

Lucas 

On Fri, Sep 29, 2023, 06:05 Kasemir, Kay <kasemirk at ornl.gov> wrote:

Hi:

 

In your example EDM files, the “activeButtonClass” objects contain “controlBitPos” values to select a bit.

The converter looks for “controlBitsPos”, https://github.com/ControlSystemStudio/phoebus/blob/d1183073c5929fbc454ef47dfcbdbce28cc7cd11/app/display/convert-edm/src/main/java/org/csstudio/display/converter/edm/widgets/Convert_activeButtonClass.java#L30

 

Looks like a typo that went unnoticed because nobody has tried to convert EDM files with bit-buttons before.

 

Check https://github.com/ControlSystemStudio/phoebus/issues/2832 for updates

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Lucas Russo via Tech-talk <tech-talk at aps.anl.gov>
Date: Thursday, September 28, 2023 at 7:16 PM
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Subject: [EXTERNAL] Phoebus EDM autoconvert issue with a button widget

Hi all,

 

I'm trying to autoconvert an EDM file (.edl) to Phoebus (.bob) using the

Phoebus autoconvert feature. 

 

It's mostly working, but the autoconverter doesn't seem to understand the 

EDM Button Widget "Bit" field, in which it lets you set a single bit in a PV. 

 

When I autoconvert this file, the generated .bob doesn't contain that information

and sets all buttons to the default bit "0".

 

I created a simple github repository with a minimal screen to reproduce the issue,

 

I'm using Phoebus 4.7.3-SNAPSHOT, build "master 2023-07-25 14:51"

 

Has anybody encountered a similar issue?

 

Thanks,

 

Lucas


References:
Phoebus EDM autoconvert issue with a button widget Lucas Russo via Tech-talk
Re: [EXTERNAL] Phoebus EDM autoconvert issue with a button widget Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Re: Sequencer handling of waveforms with dynamic size Johnson, Andrew N. via Tech-talk
Next: CAMAC module port to Linux Rute Mendes 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  <20232024 
Navigate by Thread:
Prev: Re: [EXTERNAL] Phoebus EDM autoconvert issue with a button widget Kasemir, Kay via Tech-talk
Next: Sequencer handling of waveforms with dynamic size Jure Varlec 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  <20232024 
ANJ, 30 Sep 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·