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  <20222023  2024  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Phoebus MBBO labels
From: "Smith, William via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 27 Jun 2022 07:03:17 +0000

Hi,

 

I have a number of mbbo records which have 16 possible values. Each value is named with a string. I would like to be able to enable or disable each bit of the mbbo. I have seen in the examples that the “slide button” widget is most appropriate for this. I would like the label of the slide widget to be the name from the field of the record.

 

I show one of the records below. I would like to take the enumerated values as use them as labels of the widget. This seems to be possible with a “radio button” but not with “slide button”. Is there a macro I can use like “$(pv_name)”? What’s the best way to achieve what I am aiming for?

 

Best,

 

Will

 

(bluesky) emil@sissy-serv-02:~$ caget -d31 MY-DEVICE-PREFIX:MBBO0

MY-DEVICE-PREFIX:MBBO0

    Native data type: DBF_ENUM

    Request type:     DBR_CTRL_ENUM

    Element count:    1

    Value:            det1

    Status:           NO_ALARM

    Severity:         NO_ALARM

    Enums:            (15)

                      [ 0] ab_det

                      [ 1] bool_sig

                      [ 2] custom_test_device

                      [ 3] custom_test_flyer

                      [ 4] custom_test_signal

                      [ 5] det

                      [ 6] det1

                      [ 7] det2

                      [ 8] det3

                      [ 9] det4

                      [10] det5

                      [11] det_with_conf

                      [12] det_with_count_time

                      [13] direct_img

                      [14] direct_img_list




Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
14109 Berlin
Deutschland

Replies:
Re: Phoebus MBBO labels Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: RE: Problem with huge waveforms in EPICS 7 Mark Rivers via Tech-talk
Next: Re: EPICS Collaboration Meeting September 2022 in Ljubljana Minca Čufer 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  <20222023  2024 
Navigate by Thread:
Prev: RE: Problem with huge waveforms in EPICS 7 Mark Rivers via Tech-talk
Next: Re: Phoebus MBBO labels Kasemir, Kay 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  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·