Format page for printing
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, with some instructions: https://github.com/lerwys/edm_autoconvert_issue I'm using Phoebus 4.7.3-SNAPSHOT, build "master 2023-07-25 14:51" Has anybody encountered a similar issue? Thanks, Lucas
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,
with some instructions: https://github.com/lerwys/edm_autoconvert_issue
I'm using Phoebus 4.7.3-SNAPSHOT, build "master 2023-07-25 14:51"
Has anybody encountered a similar issue?
Thanks,
Lucas