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  <20152016  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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: CSS Boy Unsigned Hex32 Issue
From: Benoit <[email protected]>
To: EPICS mailing list <[email protected]>
Cc: Benoit Rat <[email protected]>
Date: Mon, 20 Apr 2015 15:43:40 +0200
Hi everybody,

I have a strange problem with EPICS and CSS boy when I want to use an unsigned 32 bits mask.
I have the following PV:

record(longout, "$(user):FDLMaskSet")
{
field(DTYP ,"asynInt32")
field(OUT  ,"@asyn($(PORT),$(ADDR),$(TIMEOUT))FDL_mask")
field(VAL  ,0xFFFFFFFF)
info(autosaveFields, "VAL")
}

and then in CSS/BOY I am using a "Text Input" with Hex32 format.

This solutions works well with 0xFFFFFF but when I want to add 1bit by writing 0x1FFFFFF I obtain 0x2000000 (Same thing happens for all the values above 0xFFFFFF). 
Then, If I use directly in the epics consoles with dpbf FDLMaskSet 0x1FFFFFF it works well.

I did try with bo, ao and also using the RVAL long value instead, but I get the same problem.

Actually I am using 32 boolean buttons with different bit value, but It would be much simpler to change it using hexadecimal value.


--

 


Benoit RAT LAMY

fix. (+34) 958 285 024

cel. (+34) 617 989 123

e-mail: [email protected]

www.sevensols.com 



Navigate by Date:
Prev: Re: EDM properties dialog issue Mike Westfall
Next: Re: epicsQt and QWT6 John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: ChannelArchiver and EPICS4 Malitsky, Nikolay D
Next: macro value l123173
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·