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: RE: Text input to char waveform - bug?
From: "Summers, Tasha" <[email protected]>
To: Isabella Rey <[email protected]>, "[email protected]" <[email protected]>
Date: Thu, 26 Mar 2015 15:13:12 +0000
We had the same problem with 3.2 and 3.3 on Debian. We fixed it by adding {"longString":true} after the PV name.

Doesn't work:
    PV Name: message1
Works:
    PV Name: message1 {"longString":true}

Hope this helps in your case,
Tasha

From: [email protected] [[email protected]] on behalf of Isabella Rey [[email protected]]
Sent: Thursday, March 26, 2015 9:39 AM
To: [email protected]
Subject: Re: Text input to char waveform - bug?

Hi All,

Did anybody get the chance to check this bug in Windows CSS?
Looks like I'm not the only one to have this problem.

Cheers,
Isabella

On 18 March 2015 at 13:39, Hinko Kocevar <[email protected]> wrote:
Hi Isabella,

it does not work for me, too - but I’m using CSS 3.2.16 on Mac OS. Funny how it works for you on Linux..

What works for me is setting the PV text value using Probe View (not really a production solution).

Best regards,
Hinko

> On 18 Mar 2015, at 13:12, Isabella Rey <[email protected]> wrote:
>
> 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



References:
Text input to char waveform - bug? Isabella Rey
Re: Text input to char waveform - bug? Hinko Kocevar
Re: Text input to char waveform - bug? Isabella Rey

Navigate by Date:
Prev: Re: Record issue - to set aother record value Amien Crombie [TLABS]
Next: Re: Text input to char waveform - bug? - Maybe 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  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Text input to char waveform - bug? Isabella Rey
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  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 ·