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

Subject: Re: [EXTERNAL] Phoebus Radiobutton cannot set mbbi record
From: Florian Feldbauer via Tech-talk <tech-talk@aps.anl.gov>
To: "Kasemir, Kay" <kasemirk@ornl.gov>, "'tech-talk@aps.anl.gov'" <tech-talk@aps.anl.gov>
Date: Mon, 12 Aug 2019 14:57:55 +0200

Thanks for the answer,

this explains the behavior of the mbbi direct record, but for the bi record / checkbox I do not have set DTYP
and still it only works by using ".RVAL" in the record name.


Cheers,
Florian


On 8/12/19 2:31 PM, Kasemir, Kay wrote:

Hi:


It's about the DTYP. When I take the DTYP line out:

>   field( DTYP, "Raw Soft Channel")

.. it works OK.

When I add the Raw Soft Channel, it doesn't.

But then I cannot change it from a command line "caput ..ToT 1" either.

So this is unrelated to the CA client (command line caput, phoebus, ...) and instead a feature of the IOC database and the Raw Soft Channel support.

When you select Raw Soft Channel, you need to write the RVAL.

.. but then that's just a number, no longer an enum, so you cannot use "Items from PV" on the widget.

--> Remove the DTYP.


-Kay








From: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> on behalf of Florian Feldbauer via Tech-talk <tech-talk@aps.anl.gov>
Sent: Monday, August 12, 2019 2:40 AM
To: tech-talk@aps.anl.gov <tech-talk@aps.anl.gov>
Subject: [EXTERNAL] Phoebus Radiobutton cannot set mbbi record
 
Hey all,

in a test setup I'm currently using base 7.0.2.2 and Phoebus (commit
ff6d0dc4).

Now I have some bi and mbbi records like this:

> record( mbbi, "PANDA:LMD:MUPIX:TELESCOPE:L$(LAYER):ToT" ) {
>   field( DTYP, "Raw Soft Channel")
>   field( ZRST, "ToT" )
>   field( ONST, "2Thres" )
>   field( TWST, "Ramp")
>   field( ZRVL, "0" )
>   field( ONVL, "2" )
>   field( TWVL, "1" )
> }
> record( bi, "PANDA:LMD:MUPIX:TELESCOPE:L$(LAYER):bandgap1" ) {
>   field( ZNAM, "disabled" )
>   field( ONAM, "active" )
> }

For the mbbi record I'm using the Radiobutton widget and for the bi the
checkbox widget.
I tried CA as well as PVaccess (PV name "PANDA:..." and "pva://PANDA:...)

In both cases I cannot change the value of the records. The checkbox
only works if I explicitly append ".RVAL" to the
PV name. The Radiobutton does nothing. Is this behavior expected or am I
doing something wrong?

Best regards,
Florian

--
Dr. Florian Feldbauer

Ruhr-Universität Bochum
Experimentalphysik I AG
Universitätsstr. 150
Fach-Nr. 125
D-44801 Bochum

Office: NB 2/134
Phone:  (+49)234 / 32-23563
Fax:    (+49)234 / 32-14170
https://paluma.ruhr-uni-bochum.de

-- 
Dr. Florian Feldbauer

Ruhr-Universität Bochum
Experimentalphysik I AG
Universitätsstr. 150
Fach-Nr. 125
D-44801 Bochum

Office: NB 2/134
Phone:  (+49)234 / 32-23563
Fax:    (+49)234 / 32-14170
https://paluma.ruhr-uni-bochum.de

Replies:
Re: [EXTERNAL] Phoebus Radiobutton cannot set mbbi record Kasemir, Kay via Tech-talk
References:
Phoebus Radiobutton cannot set mbbi record Florian Feldbauer via Tech-talk
Re: [EXTERNAL] Phoebus Radiobutton cannot set mbbi record Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Re: [EXTERNAL] Phoebus Radiobutton cannot set mbbi record Kasemir, Kay via Tech-talk
Next: Re: [EXTERNAL] Phoebus Radiobutton cannot set mbbi record 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  <20192020 
Navigate by Thread:
Prev: Re: [EXTERNAL] Phoebus Radiobutton cannot set mbbi record Kasemir, Kay via Tech-talk
Next: Re: [EXTERNAL] Phoebus Radiobutton cannot set mbbi record 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  <20192020 
ANJ, 12 Aug 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·