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

Subject: Text input to char waveform - bug?
From: Isabella Rey <isa.hellen@gmail.com>
To: tech-talk@aps.anl.gov
Date: Wed, 18 Mar 2015 12:12:22 +0000
Hi All,

I'm running CSS 3.2.16 in Windows.

I have a BOY text input widget that I want to use to write to a waveform of char, called TEST.
The waveform is empty at startup.
If I type something in the text input, like "abc", I get the following error message in the BOY Console:

2015-03-18 12:04:37 ERROR: Failed to write value to PV TEST from widget Text Input_1.
Illegal input : abc 
java.lang.ArrayIndexOutOfBoundsException: 0

If the waveform is not empty, the string gets updated correctly and there is no error.

If I do the same in CSS in my Linux VM, all works fine, even at startup.

Is this a bug in the Windows version or am I missing something?

Thanks,
Isabella

Replies:
Re: Text input to char waveform - bug? Hinko Kocevar

Navigate by Date:
Prev: Re: related to PLC driver Mike Westfall
Next: Re: CSS - how to read waveform of CHARS (or STRINGS) in a script? - SOLVED Isabella Rey
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 
Navigate by Thread:
Prev: Re: related to PLC driver Mike Westfall
Next: Re: Text input to char waveform - bug? Hinko Kocevar
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 
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 ·