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  2025  2026  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  2025  2026 
<== Date ==> <== Thread ==>

Subject: Re: CSS questions pertaining to combo box showing values after decimal point
From: "Kasemir, Kay via Tech-talk" <[email protected]>
To: EPICS tech-talk <[email protected]>, "Wang, Andrew" <[email protected]>
Date: Mon, 11 Jul 2022 13:05:14 +0000
Have you tried adding

field(PREC, "1") ?



From: Tech-talk <[email protected]> on behalf of Wang, Andrew via Tech-talk <[email protected]>
Sent: Monday, July 11, 2022 9:01 AM
To: EPICS tech-talk <[email protected]>
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

 


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

Navigate by Date:
Prev: CSS questions pertaining to combo box showing values after decimal point Wang, Andrew via Tech-talk
Next: RE: CSS questions pertaining to combo box showing values after decimal point Wang, Andrew 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  2025  2026 
Navigate by Thread:
Prev: CSS questions pertaining to combo box showing values after decimal point Wang, Andrew via Tech-talk
Next: RE: CSS questions pertaining to combo box showing values after decimal point Wang, Andrew 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  2025  2026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·