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

Subject: Re: CS-Studio XY Graph problem with >2046 samples
From: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: "Heesterman, Peter" <Peter.Heesterman at capgemini.com>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, "rivers at cars.uchicago.edu" <rivers at cars.uchicago.edu>
Date: Wed, 8 Nov 2023 15:28:46 +0000

> EPICS_CA_MAX_ARRAY_BYTES set to 20000000.

 

That may be, but depending on the Eclipse-based version you need to set

org.csstudio.diirt.util.core.preferences/diirt.ca.max.array.size=20000000

or

org.csstudio.platform.libs.epics/max_array_bytes=20000000

or best both, see for example https://github.com/ControlSystemStudio/org.csstudio.sns/blob/master/plugins/org.csstudio.basic.epics.product/plugin_customization.ini

 

In phoebus, you either set what’s described in in https://control-system-studio.readthedocs.io/en/latest/preference_properties.html#pv-ca

or, I believe at APS you run with -Djca.use_env=true in which case it will use the > EPICS_CA_ .. environment vars.

 

 

 

 

From: Kasemir, Kay <kasemirk at ornl.gov>
Sent: 08 November 2023 15:07
To: Heesterman, Peter <Peter.Heesterman at capgemini.com>; tech-talk at aps.anl.gov
Subject: Re: CS-Studio XY Graph problem with >2046 samples

 

This mail has been sent from an external source. Do not reply to it, or open any links/attachments unless you are sure of the sender's identity.

 

You may run into the default setting for the EPICS_CA_MAX_ARRAY size of ~16k.

With “double” waveforms, 2046 samples * 8 bytes = 16k.

 

For phoebus the settings are described in https://control-system-studio.readthedocs.io/en/latest/preference_properties.html#pv-ca.

We set the default to  100000000, so that supports 2046 double samples.

For the Eclipse-based CSS, the way it’s configured has changed over time, you’ll have to see what applies to your version, to increase it from the default 16k.

 

-Kay

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Heesterman, Peter via Tech-talk <tech-talk at aps.anl.gov>
Date: Wednesday, November 8, 2023 at 9:51 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: [EXTERNAL] CS-Studio XY Graph problem with >2046 samples

Hi,

 

I’m using (Eclipse-based) CS-Studio 4.5.9 on Windows, and 4.8.1 within the ITER CS Red Hat installation.

 

I’m experiencing the same problem for both – when the number of samples in the waveform trace exceeds 2046, the OPI becomes very erratic and fails to display any further data.

Also, the IOC typically fails at the same time.

 

When this happens, CS-Studio repeatedly shows the error:

2023-11-08 14:01:51 ERROR: Error from pv connection layer:

java.lang.IllegalStateException: transport closed

 

If CS-Studio is not displaying the OPI, the IOC behaves perfectly for any number of samples.

 

I’ve also tested the behaviour when using Phoebus, instead of CS-Studio - both the OPI and the IOC then work perfectly.

 

Does anyone have suggestions as to how this problem might be resolved?

 

Many thanks,

 

Peter.

 

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


Replies:
RE: CS-Studio XY Graph problem with >2046 samples Heesterman, Peter via Tech-talk
References:
CS-Studio XY Graph problem with >2046 samples Heesterman, Peter via Tech-talk
Re: CS-Studio XY Graph problem with >2046 samples Kasemir, Kay via Tech-talk
RE: CS-Studio XY Graph problem with >2046 samples Heesterman, Peter via Tech-talk

Navigate by Date:
Prev: RE: CS-Studio XY Graph problem with >2046 samples Heesterman, Peter via Tech-talk
Next: Re: [EXTERNAL] CS-Studio XY Graph problem with >2046 samples Hartman, Steven 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  2022  <20232024 
Navigate by Thread:
Prev: RE: CS-Studio XY Graph problem with >2046 samples Heesterman, Peter via Tech-talk
Next: RE: CS-Studio XY Graph problem with >2046 samples Heesterman, Peter 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  2022  <20232024 
ANJ, 08 Nov 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·