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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: CA environment variables not being set?
From: Shawn Smith <[email protected]>
To: [email protected]
Date: Wed, 1 Jul 2009 17:04:39 -0600
Hello everyone,
I'm pretty new to EPICS and I cannot find answers within the
documentation, so hopefully someone can help me understand the problem
I am having.

It appears that my CA is only using the default values from the
CONFIG_ENV file, no matter what I have set the system variables to.
The order of ops is as follows:
  setenv() to establish the env list EPICS_CA_ADDR_LIST,
AUTO_ADDR_LIST, ... MAX_ARRAY_BYTES
  iocsh(0x0)
  ( I have tried using epicsEnvSet() on all the variables here, but it
makes no difference )
  dbLoadDatabase()
  dbLoadTemplate()
  iocInit()

Any epicsEnvShow() calls after the iocInit() come back with the
correct values from either setenv() or epicsEnvSet().
I try to set EPICS_CA_MAX_ARRAY_BYTES to higher than the default 16384
to accommodate a NELM of 4000 points, size DOUBLE, but CA calls to the
pv come back with
"Read operation timed out: some PV data was not read. ... The
requested data transfer is greater than available memory or
EPICS_CA_MAX_ARRAY_BYTES"
I don't believe that I am out of memory because the ADDR_LIST
variables are not functioning properly either.

Is there any way to read back these values with Channel Access calls?
I am not sure where the problem might be, in the configure files or a
missing startup call?
This is version EPICS v3.14.9
Thanks for any help.
--
Shawn Smith
Jr. Software Engineer
ZTEC Instruments, Inc.
505-342-0132 x104
[email protected]

Replies:
RE: CA environment variables not being set? Mark Rivers

Navigate by Date:
Prev: Re: Prodex MAXv command responses (RA, QA, EA, RL) for different versions of firmware Ron Sluiter
Next: RE: CA environment variables not being set? Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: medmCAExceptionHandlerCb: Channel Access Exception message Eric Norum
Next: RE: CA environment variables not being set? Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·