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: RE: CSS questions pertaining to combo box showing values after decimal point
From: "Wang, Andrew via Tech-talk" <tech-talk at aps.anl.gov>
To: "Kasemir, Kay" <kasemirk at ornl.gov>, EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Mon, 11 Jul 2022 13:12:32 +0000

That worked, thank you so much!

 

From: Kasemir, Kay <kasemirk at ornl.gov>
Sent: Monday, July 11, 2022 6:05 AM
To: EPICS tech-talk <tech-talk at aps.anl.gov>; Wang, Andrew <wang126 at llnl.gov>
Subject: Re: CSS questions pertaining to combo box showing values after decimal point

 

Have you tried adding

 

field(PREC, "1") ?

 

 


From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Wang, Andrew via Tech-talk <tech-talk at aps.anl.gov>
Sent: Monday, July 11, 2022 9:01 AM
To: EPICS tech-talk <tech-talk at aps.anl.gov>
Subject: [EXTERNAL] CSS questions pertaining to combo box showing values after decimal point

 

Hi all,

 

I have a simple ai record of the following.

 

record(ao, “sample”)

{

                field(SCAN, “passive”)

                field(DTYP, “stream”)

                field(OUT, …)

}

 

I have a combo box on the CSS GUI and I would like it to list the following values

 

0.1

0.2

1

 

When I select 1, the combo box properly shows that value. But when I select either 0.1 or 0.2, it shows 0. Is there a possible way to work around this? My current solution is to use a mbbo record, but was wondering if there are alternative options.

 

Thanks,

Andy

 

Purple ribbon awareness

 


References:
CSS questions pertaining to combo box showing values after decimal point Wang, Andrew via Tech-talk
Re: CSS questions pertaining to combo box showing values after decimal point Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Re: CSS questions pertaining to combo box showing values after decimal point Kasemir, Kay via Tech-talk
Next: Re: Substitution file, streamdevice Donny Domagoj Cosic 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: CSS questions pertaining to combo box showing values after decimal point Kasemir, Kay via Tech-talk
Next: Cloud Storage bob dalesio 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 ·