g+
g+ Communities
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  <20122013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: Re: [CA][waveform]max array bytes on IOC
From: Pavel Masloff <pavel.masloff@gmail.com>
To: Mark Rivers <rivers@cars.uchicago.edu>
Cc: EPICS Tech Talk <tech-talk@aps.anl.gov>
Date: Sat, 19 May 2012 17:29:04 +0400
I didn't mention it but I did set the EPICS_CA_MAX_ARRAY_BYTES variable both on server and client, and yes I use the root account. Moreover, when I set the variable in /root/.bashrc, before running the IOC, I double check by issuing the command:

echo $EPICS_CA_MAX_ARRAY_BYTES

And it prints it as expected. However, in the client application (either CSS or caget) it either flashes red (PV disconnected) or in case of caget says something like:

CA error The requested data transfer is greater than available memory or EPICS_CA_MAX_ARRAY_BYTES

When I delete the EPICS_CA_MAX_ARRAY_BYTES variable declaration from /root/.bashrc and explicitly set it in the same terminal window following running the IOC, then everything works fine.

Very strange.
And the machine is SL 5.5, if it's the case.



On Fri, May 18, 2012 at 6:35 PM, Mark Rivers <rivers@cars.uchicago.edu> wrote:

At the IOC prompt type the command

 

epicsPrtEnvParams

 

That will tell you what all of the EPICS environment variables are actually set to for the IOC.

 

Mark

 

 

 

From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Pavel Masloff
Sent: Friday, May 18, 2012 8:52 AM
To: EPICS Tech Talk
Subject: [CA][waveform]max array bytes on IOC

 

It is very strange when I manually export the EPICS_CA_MAX_ARRAY_BYTES environmental variable on the IOC (export VAR=wahteverval), my waveforms on the client are connected.
When I put this line to /root/.bashrc the client doesn't want to connect my waveform PVs....

What's wrong?


--
Best regards,


Pavel Maslov, MS
Controls Engineer at Pulsed power Lab
Efremov Institute for Electro-Physical Apparatus
St. Petersburg, Russia

Mobile: +7 (951) 672 22 19
Landline: +7 (812) 461 01 01




--
Best regards,


Pavel Maslov, MS
Controls Engineer at Pulsed power Lab
Efremov Institute for Electro-Physical Apparatus
St. Petersburg, Russia

Mobile: +7 (951) 672 22 19
Landline: +7 (812) 461 01 01


References:
[CA][waveform]max array bytes on IOC Pavel Masloff
RE: [CA][waveform]max array bytes on IOC Mark Rivers

Navigate by Date:
Prev: [edm] error Pavel Masloff
Next: [CSS] commas in TextUpdate Pavel Masloff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
Navigate by Thread:
Prev: RE: [CA][waveform]max array bytes on IOC Mark Rivers
Next: Re: [CA][waveform]max array bytes on IOC Pavel Masloff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·