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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: [EXTERNAL] Phoebus Radiobutton cannot set mbbi record |
From: | "Kasemir, Kay via Tech-talk" <[email protected]> |
To: | Florian Feldbauer <[email protected]>, "'[email protected]'" <[email protected]> |
Date: | Mon, 12 Aug 2019 12:31:30 +0000 |
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: [email protected] <[email protected]> on behalf of Florian Feldbauer via Tech-talk <[email protected]>
Sent: Monday, August 12, 2019 2:40 AM To: [email protected] <[email protected]> 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 |