EPICS Home

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  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: CSS jython setvalue behaviour
From: Pilar via Tech-talk <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 11 Sep 2019 18:50:34 +0200

Hello everybody,

I'm dealing with following problem (CSS 4.5.0) when trying to set a 32bit value in a script.

I would like to know why I can use pvs[0].setValue( 1 ) or  pvs[0].setValue( -1 ), but if I want to set pvs[0].setValue( -2147483648 ) or pvs[0].setValue( 4294967295 ) it does not work.

It seems that setValue() has a strange behaviour when using the 32th bit of a value.

Can somebody explain me what is happening? Maybe I'm using the wrong function...

Thank you very much!

Pilar


 This e-mail and any materials attached hereto, including, without limitation, all content hereof and thereof are confidential and proprietary to Seven Solutions,S.L and/or its affiliates, and are *confidential*. Without the prior written consent of Seven Solutions, this content may not (i) be disclosed to any third party, (ii) be reproduced, modified or otherwise used by anyone other than current employees of Seven Solutions or its affiliates. If you are not the intended recipient or if this message has been received in error, please notify us immediately via e-mail and delete it.

Replies:
Re: [EXTERNAL] CSS jython setvalue behaviour Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Re: MouseListener and MouseEvent on Intensity Graph in CSS Kasemir, Kay via Tech-talk
Next: Re: [EXTERNAL] CSS jython setvalue behaviour 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  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: MouseListener and MouseEvent on Intensity Graph in CSS Kasemir, Kay via Tech-talk
Next: Re: [EXTERNAL] CSS jython setvalue behaviour 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  2021  2022  2023  2024