On 5/18/12 8:51 AM, Pavel Masloff wrote:
> 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?
Hi, Pavel.
You need to set EPICS_CA_MAX_ARRAY_BYTES for both the CA server
and the client. Did you do that?
Also, you're talking about setting EPICS_CA_MAX_ARRAY_BYTES in
/root/.bashrc. Does that mean you're running the client as
root? If yes, you need to ensure /root/.bashrc is being read by
bash. Set EPICS_CA_MAX_ARRAY_BYTES in /root/.bashrc, start a
new shell in the way you normally would, and then execute the
following:
# echo $EPICS_CA_MAX_ARRAY_BYTES
Does that print what you expect?
If you're not running the client as root, then /root/.bashrc is
not the right place to set EPICS_CA_MAX_ARRAY_BYTES. You either
need to do it for the user running the client, or you need to do
it in the system location (typically somewhere under /etc like
/etc/bashrc) for all users.
Also, for setting environment variables not specific to an
interactive shell, it's better to put that in the "profile" file
(e.g. ~/.bash_profile, ~/.profile, or /etc/profile) so that it's
available for non-interactive shells as well as interactive ones.
Lewis
- References:
- [CA][waveform]max array bytes on IOC Pavel Masloff
- Navigate by Date:
- Prev:
RE: [EDM] on windows? Steiner, Mathias
- Next:
RE: [CA][waveform]max array bytes on IOC Mark Rivers
- 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
2023
2024
- Navigate by Thread:
- Prev:
[CA][waveform]max array bytes on IOC Pavel Masloff
- Next:
RE: [CA][waveform]max array bytes on IOC Mark Rivers
- 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
2023
2024
|